1916 lines
3.4 MiB
Generated
1916 lines
3.4 MiB
Generated
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-JOIXM2OF-BOgsd5OI.js","assets/graph-OaiGNqgf.js","assets/_baseUniq-DknB5v3H.js","assets/layout-B_oBip_m.js","assets/_basePickBy-UdMCOwSh.js","assets/clone-g5iXXiWA.js","assets/c4Diagram-6F6E4RAY-D__gcenR.js","assets/chunk-67H74DCK-BDUtSXeJ.js","assets/flowDiagram-KYDEHFYC-DqicljNB.js","assets/chunk-E2GYISFI-Csg-WUa_.js","assets/chunk-BFAMUDN2-DaWGHPR3.js","assets/chunk-SKB7J2MH-ty0WEC-6.js","assets/channel-oXqxytzI.js","assets/erDiagram-3M52JZNH-Df8Y6784.js","assets/gitGraphDiagram-GW3U2K7C-DZ0ieBSO.js","assets/chunk-353BL4L5-BJGenYOY.js","assets/chunk-AACKK3MU-Cz8YDG2R.js","assets/treemap-75Q7IDZK-DNUGBdnj.js","assets/ganttDiagram-EK5VF46D-DwLPqhwB.js","assets/linear-_bOHiOEq.js","assets/init-Gi6I4Gst.js","assets/defaultLocale-C4B-KCzX.js","assets/infoDiagram-LHK5PUON-D6tbt8Cv.js","assets/pieDiagram-NIOCPIFQ-DeTCpBAx.js","assets/arc-D-vjsldI.js","assets/ordinal-BENe2yWM.js","assets/quadrantDiagram-2OG54O6I-BoB9YrlU.js","assets/xychartDiagram-H2YORKM3-_2gNksZO.js","assets/requirementDiagram-QOLK2EJ7-DNTM2S8P.js","assets/sequenceDiagram-SKLFT4DO-D8kz91Ev.js","assets/classDiagram-M3E45YP4-CtKtKEN8.js","assets/chunk-SZ463SBG-3gzxcxJa.js","assets/classDiagram-v2-YAWTLIQI-CtKtKEN8.js","assets/stateDiagram-MI5ZYTHO-B_q7wnbg.js","assets/chunk-OW32GOEJ-BuH8nVF7.js","assets/stateDiagram-v2-5AN5P6BG-CLuyQWVD.js","assets/journeyDiagram-EWQZEKCU-BvwHSbzl.js","assets/timeline-definition-MYPXXCX6-DKrn60Fe.js","assets/mindmap-definition-6CBA2TL7-BAMs8lsW.js","assets/cytoscape.esm-CfBqOv7Q.js","assets/kanban-definition-ZSS6B67P-CkDtg-z1.js","assets/sankeyDiagram-4UZDY2LN-BdzX2574.js","assets/diagram-5UYTHUR4-drHgj1y7.js","assets/diagram-ZTM2IBQH-Fm-2H3OV.js","assets/blockDiagram-6J76NXCF-uKai_NGQ.js","assets/architectureDiagram-SUXI7LT5-CykL5gar.js","assets/diagram-VMROVX33-C95hc9hP.js"])))=>i.map(i=>d[i]);
|
||
var ehe=Object.defineProperty;var the=(e,t,r)=>t in e?ehe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gt=(e,t,r)=>the(e,typeof t!="symbol"?t+"":t,r);function rhe(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>n[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();var Pb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function On(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nhe(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var YE={exports:{}},gf={};/**
|
||
* @license React
|
||
* react-jsx-runtime.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var _8;function ahe(){if(_8)return gf;_8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,a,i){var o=null;if(i!==void 0&&(o=""+i),a.key!==void 0&&(o=""+a.key),"key"in a){i={};for(var s in a)s!=="key"&&(i[s]=a[s])}else i=a;return a=i.ref,{$$typeof:e,type:n,key:o,ref:a!==void 0?a:null,props:i}}return gf.Fragment=t,gf.jsx=r,gf.jsxs=r,gf}var D8;function ihe(){return D8||(D8=1,YE.exports=ahe()),YE.exports}var S=ihe(),XE={exports:{}},dr={};/**
|
||
* @license React
|
||
* react.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var R8;function ohe(){if(R8)return dr;R8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function f(P){return P===null||typeof P!="object"?null:(P=h&&P[h]||P["@@iterator"],typeof P=="function"?P:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,y={};function F(P,Z,K){this.props=P,this.context=Z,this.refs=y,this.updater=K||m}F.prototype.isReactComponent={},F.prototype.setState=function(P,Z){if(typeof P!="object"&&typeof P!="function"&&P!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,Z,"setState")},F.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function x(){}x.prototype=F.prototype;function E(P,Z,K){this.props=P,this.context=Z,this.refs=y,this.updater=K||m}var C=E.prototype=new x;C.constructor=E,b(C,F.prototype),C.isPureReactComponent=!0;var _=Array.isArray,D={H:null,A:null,T:null,S:null},w=Object.prototype.hasOwnProperty;function A(P,Z,K,G,ne,oe){return K=oe.ref,{$$typeof:e,type:P,key:Z,ref:K!==void 0?K:null,props:oe}}function I(P,Z){return A(P.type,Z,void 0,void 0,void 0,P.props)}function M(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function L(P){var Z={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(K){return Z[K]})}var U=/\/+/g;function j(P,Z){return typeof P=="object"&&P!==null&&P.key!=null?L(""+P.key):Z.toString(36)}function z(){}function V(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then(z,z):(P.status="pending",P.then(function(Z){P.status==="pending"&&(P.status="fulfilled",P.value=Z)},function(Z){P.status==="pending"&&(P.status="rejected",P.reason=Z)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function X(P,Z,K,G,ne){var oe=typeof P;(oe==="undefined"||oe==="boolean")&&(P=null);var de=!1;if(P===null)de=!0;else switch(oe){case"bigint":case"string":case"number":de=!0;break;case"object":switch(P.$$typeof){case e:case t:de=!0;break;case d:return de=P._init,X(de(P._payload),Z,K,G,ne)}}if(de)return ne=ne(P),de=G===""?"."+j(P,0):G,_(ne)?(K="",de!=null&&(K=de.replace(U,"$&/")+"/"),X(ne,Z,K,"",function(Ne){return Ne})):ne!=null&&(M(ne)&&(ne=I(ne,K+(ne.key==null||P&&P.key===ne.key?"":(""+ne.key).replace(U,"$&/")+"/")+de)),Z.push(ne)),1;de=0;var ie=G===""?".":G+":";if(_(P))for(var ue=0;ue<P.length;ue++)G=P[ue],oe=ie+j(G,ue),de+=X(G,Z,K,oe,ne);else if(ue=f(P),typeof ue=="function")for(P=ue.call(P),ue=0;!(G=P.next()).done;)G=G.value,oe=ie+j(G,ue++),de+=X(G,Z,K,oe,ne);else if(oe==="object"){if(typeof P.then=="function")return X(V(P),Z,K,G,ne);throw Z=String(P),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return de}function q(P,Z,K){if(P==null)return P;var G=[],ne=0;return X(P,G,"","",function(oe){return Z.call(K,oe,ne++)}),G}function W(P){if(P._status===-1){var Z=P._result;Z=Z(),Z.then(function(K){(P._status===0||P._status===-1)&&(P._status=1,P._result=K)},function(K){(P._status===0||P._status===-1)&&(P._status=2,P._result=K)}),P._status===-1&&(P._status=0,P._result=Z)}if(P._status===1)return P._result.default;throw P._result}var B=typeof reportError=="function"?reportError:function(P){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P=="object"&&P!==null&&typeof P.message=="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",P);return}console.error(P)};function te(){}return dr.Children={map:q,forEach:function(P,Z,K){q(P,function(){Z.apply(this,arguments)},K)},count:function(P){var Z=0;return q(P,function(){Z++}),Z},toArray:function(P){return q(P,function(Z){return Z})||[]},only:function(P){if(!M(P))throw Error("React.Children.only expected to receive a single React element child.");return P}},dr.Component=F,dr.Fragment=r,dr.Profiler=a,dr.PureComponent=E,dr.StrictMode=n,dr.Suspense=l,dr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,dr.act=function(){throw Error("act(...) is not supported in production builds of React.")},dr.cache=function(P){return function(){return P.apply(null,arguments)}},dr.cloneElement=function(P,Z,K){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var G=b({},P.props),ne=P.key,oe=void 0;if(Z!=null)for(de in Z.ref!==void 0&&(oe=void 0),Z.key!==void 0&&(ne=""+Z.key),Z)!w.call(Z,de)||de==="key"||de==="__self"||de==="__source"||de==="ref"&&Z.ref===void 0||(G[de]=Z[de]);var de=arguments.length-2;if(de===1)G.children=K;else if(1<de){for(var ie=Array(de),ue=0;ue<de;ue++)ie[ue]=arguments[ue+2];G.children=ie}return A(P.type,ne,void 0,void 0,oe,G)},dr.createContext=function(P){return P={$$typeof:o,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:i,_context:P},P},dr.createElement=function(P,Z,K){var G,ne={},oe=null;if(Z!=null)for(G in Z.key!==void 0&&(oe=""+Z.key),Z)w.call(Z,G)&&G!=="key"&&G!=="__self"&&G!=="__source"&&(ne[G]=Z[G]);var de=arguments.length-2;if(de===1)ne.children=K;else if(1<de){for(var ie=Array(de),ue=0;ue<de;ue++)ie[ue]=arguments[ue+2];ne.children=ie}if(P&&P.defaultProps)for(G in de=P.defaultProps,de)ne[G]===void 0&&(ne[G]=de[G]);return A(P,oe,void 0,void 0,null,ne)},dr.createRef=function(){return{current:null}},dr.forwardRef=function(P){return{$$typeof:s,render:P}},dr.isValidElement=M,dr.lazy=function(P){return{$$typeof:d,_payload:{_status:-1,_result:P},_init:W}},dr.memo=function(P,Z){return{$$typeof:u,type:P,compare:Z===void 0?null:Z}},dr.startTransition=function(P){var Z=D.T,K={};D.T=K;try{var G=P(),ne=D.S;ne!==null&&ne(K,G),typeof G=="object"&&G!==null&&typeof G.then=="function"&&G.then(te,B)}catch(oe){B(oe)}finally{D.T=Z}},dr.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},dr.use=function(P){return D.H.use(P)},dr.useActionState=function(P,Z,K){return D.H.useActionState(P,Z,K)},dr.useCallback=function(P,Z){return D.H.useCallback(P,Z)},dr.useContext=function(P){return D.H.useContext(P)},dr.useDebugValue=function(){},dr.useDeferredValue=function(P,Z){return D.H.useDeferredValue(P,Z)},dr.useEffect=function(P,Z){return D.H.useEffect(P,Z)},dr.useId=function(){return D.H.useId()},dr.useImperativeHandle=function(P,Z,K){return D.H.useImperativeHandle(P,Z,K)},dr.useInsertionEffect=function(P,Z){return D.H.useInsertionEffect(P,Z)},dr.useLayoutEffect=function(P,Z){return D.H.useLayoutEffect(P,Z)},dr.useMemo=function(P,Z){return D.H.useMemo(P,Z)},dr.useOptimistic=function(P,Z){return D.H.useOptimistic(P,Z)},dr.useReducer=function(P,Z,K){return D.H.useReducer(P,Z,K)},dr.useRef=function(P){return D.H.useRef(P)},dr.useState=function(P){return D.H.useState(P)},dr.useSyncExternalStore=function(P,Z,K){return D.H.useSyncExternalStore(P,Z,K)},dr.useTransition=function(){return D.H.useTransition()},dr.version="19.0.0",dr}var N8;function ov(){return N8||(N8=1,XE.exports=ohe()),XE.exports}var T=ov();const Ge=On(T),she=rhe({__proto__:null,default:Ge},[T]);var JE={exports:{}},bf={},ZE={exports:{}},QE={};/**
|
||
* @license React
|
||
* scheduler.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var L8;function lhe(){return L8||(L8=1,function(e){function t(q,W){var B=q.length;q.push(W);e:for(;0<B;){var te=B-1>>>1,P=q[te];if(0<a(P,W))q[te]=W,q[B]=P,B=te;else break e}}function r(q){return q.length===0?null:q[0]}function n(q){if(q.length===0)return null;var W=q[0],B=q.pop();if(B!==W){q[0]=B;e:for(var te=0,P=q.length,Z=P>>>1;te<Z;){var K=2*(te+1)-1,G=q[K],ne=K+1,oe=q[ne];if(0>a(G,B))ne<P&&0>a(oe,G)?(q[te]=oe,q[ne]=B,te=ne):(q[te]=G,q[K]=B,te=K);else if(ne<P&&0>a(oe,B))q[te]=oe,q[ne]=B,te=ne;else break e}}return W}function a(q,W){var B=q.sortIndex-W.sortIndex;return B!==0?B:q.id-W.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],d=1,h=null,f=3,m=!1,b=!1,y=!1,F=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;function C(q){for(var W=r(u);W!==null;){if(W.callback===null)n(u);else if(W.startTime<=q)n(u),W.sortIndex=W.expirationTime,t(l,W);else break;W=r(u)}}function _(q){if(y=!1,C(q),!b)if(r(l)!==null)b=!0,V();else{var W=r(u);W!==null&&X(_,W.startTime-q)}}var D=!1,w=-1,A=5,I=-1;function M(){return!(e.unstable_now()-I<A)}function L(){if(D){var q=e.unstable_now();I=q;var W=!0;try{e:{b=!1,y&&(y=!1,x(w),w=-1),m=!0;var B=f;try{t:{for(C(q),h=r(l);h!==null&&!(h.expirationTime>q&&M());){var te=h.callback;if(typeof te=="function"){h.callback=null,f=h.priorityLevel;var P=te(h.expirationTime<=q);if(q=e.unstable_now(),typeof P=="function"){h.callback=P,C(q),W=!0;break t}h===r(l)&&n(l),C(q)}else n(l);h=r(l)}if(h!==null)W=!0;else{var Z=r(u);Z!==null&&X(_,Z.startTime-q),W=!1}}break e}finally{h=null,f=B,m=!1}W=void 0}}finally{W?U():D=!1}}}var U;if(typeof E=="function")U=function(){E(L)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,z=j.port2;j.port1.onmessage=L,U=function(){z.postMessage(null)}}else U=function(){F(L,0)};function V(){D||(D=!0,U())}function X(q,W){w=F(function(){q(e.unstable_now())},W)}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(q){q.callback=null},e.unstable_continueExecution=function(){b||m||(b=!0,V())},e.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<q?Math.floor(1e3/q):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(q){switch(f){case 1:case 2:case 3:var W=3;break;default:W=f}var B=f;f=W;try{return q()}finally{f=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(q,W){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var B=f;f=q;try{return W()}finally{f=B}},e.unstable_scheduleCallback=function(q,W,B){var te=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?te+B:te):B=te,q){case 1:var P=-1;break;case 2:P=250;break;case 5:P=1073741823;break;case 4:P=1e4;break;default:P=5e3}return P=B+P,q={id:d++,callback:W,priorityLevel:q,startTime:B,expirationTime:P,sortIndex:-1},B>te?(q.sortIndex=B,t(u,q),r(l)===null&&q===r(u)&&(y?(x(w),w=-1):y=!0,X(_,B-te))):(q.sortIndex=P,t(l,q),b||m||(b=!0,V())),q},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(q){var W=f;return function(){var B=f;f=W;try{return q.apply(this,arguments)}finally{f=B}}}}(QE)),QE}var M8;function uhe(){return M8||(M8=1,ZE.exports=lhe()),ZE.exports}var eS={exports:{}},Fa={};/**
|
||
* @license React
|
||
* react-dom.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var I8;function che(){if(I8)return Fa;I8=1;var e=ov();function t(l){var u="https://react.dev/errors/"+l;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)u+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+l+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for("react.portal");function i(l,u,d){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:h==null?null:""+h,children:l,containerInfo:u,implementation:d}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(l,u){if(l==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}return Fa.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Fa.createPortal=function(l,u){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error(t(299));return i(l,u,null,d)},Fa.flushSync=function(l){var u=o.T,d=n.p;try{if(o.T=null,n.p=2,l)return l()}finally{o.T=u,n.p=d,n.d.f()}},Fa.preconnect=function(l,u){typeof l=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,n.d.C(l,u))},Fa.prefetchDNS=function(l){typeof l=="string"&&n.d.D(l)},Fa.preinit=function(l,u){if(typeof l=="string"&&u&&typeof u.as=="string"){var d=u.as,h=s(d,u.crossOrigin),f=typeof u.integrity=="string"?u.integrity:void 0,m=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;d==="style"?n.d.S(l,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:h,integrity:f,fetchPriority:m}):d==="script"&&n.d.X(l,{crossOrigin:h,integrity:f,fetchPriority:m,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},Fa.preinitModule=function(l,u){if(typeof l=="string")if(typeof u=="object"&&u!==null){if(u.as==null||u.as==="script"){var d=s(u.as,u.crossOrigin);n.d.M(l,{crossOrigin:d,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})}}else u==null&&n.d.M(l)},Fa.preload=function(l,u){if(typeof l=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){var d=u.as,h=s(d,u.crossOrigin);n.d.L(l,d,{crossOrigin:h,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},Fa.preloadModule=function(l,u){if(typeof l=="string")if(u){var d=s(u.as,u.crossOrigin);n.d.m(l,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:d,integrity:typeof u.integrity=="string"?u.integrity:void 0})}else n.d.m(l)},Fa.requestFormReset=function(l){n.d.r(l)},Fa.unstable_batchedUpdates=function(l,u){return l(u)},Fa.useFormState=function(l,u,d){return o.H.useFormState(l,u,d)},Fa.useFormStatus=function(){return o.H.useHostTransitionStatus()},Fa.version="19.0.0",Fa}var O8;function AV(){if(O8)return eS.exports;O8=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),eS.exports=che(),eS.exports}/**
|
||
* @license React
|
||
* react-dom-client.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var B8;function dhe(){if(B8)return bf;B8=1;var e=uhe(),t=ov(),r=AV();function n(c){var p="https://react.dev/errors/"+c;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+c+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(c){return!(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)}var i=Symbol.for("react.element"),o=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),f=Symbol.for("react.consumer"),m=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),_=Symbol.for("react.memo_cache_sentinel"),D=Symbol.iterator;function w(c){return c===null||typeof c!="object"?null:(c=D&&c[D]||c["@@iterator"],typeof c=="function"?c:null)}var A=Symbol.for("react.client.reference");function I(c){if(c==null)return null;if(typeof c=="function")return c.$$typeof===A?null:c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case l:return"Fragment";case s:return"Portal";case d:return"Profiler";case u:return"StrictMode";case y:return"Suspense";case F:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case m:return(c.displayName||"Context")+".Provider";case f:return(c._context.displayName||"Context")+".Consumer";case b:var p=c.render;return c=c.displayName,c||(c=p.displayName||p.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case x:return p=c.displayName||null,p!==null?p:I(c.type)||"Memo";case E:p=c._payload,c=c._init;try{return I(c(p))}catch{}}return null}var M=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=Object.assign,U,j;function z(c){if(U===void 0)try{throw Error()}catch(g){var p=g.stack.trim().match(/\n( *(at )?)/);U=p&&p[1]||"",j=-1<g.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<g.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+U+c+j}var V=!1;function X(c,p){if(!c||V)return"";V=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var v={DetermineComponentFrameRoot:function(){try{if(p){var We=function(){throw Error()};if(Object.defineProperty(We.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(We,[])}catch(Be){var De=Be}Reflect.construct(c,[],We)}else{try{We.call()}catch(Be){De=Be}c.call(We.prototype)}}else{try{throw Error()}catch(Be){De=Be}(We=c())&&typeof We.catch=="function"&&We.catch(function(){})}}catch(Be){if(Be&&De&&typeof Be.stack=="string")return[Be.stack,De.stack]}return[null,null]}};v.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var k=Object.getOwnPropertyDescriptor(v.DetermineComponentFrameRoot,"name");k&&k.configurable&&Object.defineProperty(v.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var R=v.DetermineComponentFrameRoot(),Y=R[0],ee=R[1];if(Y&&ee){var se=Y.split(`
|
||
`),ve=ee.split(`
|
||
`);for(k=v=0;v<se.length&&!se[v].includes("DetermineComponentFrameRoot");)v++;for(;k<ve.length&&!ve[k].includes("DetermineComponentFrameRoot");)k++;if(v===se.length||k===ve.length)for(v=se.length-1,k=ve.length-1;1<=v&&0<=k&&se[v]!==ve[k];)k--;for(;1<=v&&0<=k;v--,k--)if(se[v]!==ve[k]){if(v!==1||k!==1)do if(v--,k--,0>k||se[v]!==ve[k]){var ze=`
|
||
`+se[v].replace(" at new "," at ");return c.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",c.displayName)),ze}while(1<=v&&0<=k);break}}}finally{V=!1,Error.prepareStackTrace=g}return(g=c?c.displayName||c.name:"")?z(g):""}function q(c){switch(c.tag){case 26:case 27:case 5:return z(c.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 15:return c=X(c.type,!1),c;case 11:return c=X(c.type.render,!1),c;case 1:return c=X(c.type,!0),c;default:return""}}function W(c){try{var p="";do p+=q(c),c=c.return;while(c);return p}catch(g){return`
|
||
Error generating stack: `+g.message+`
|
||
`+g.stack}}function B(c){var p=c,g=c;if(c.alternate)for(;p.return;)p=p.return;else{c=p;do p=c,p.flags&4098&&(g=p.return),c=p.return;while(c)}return p.tag===3?g:null}function te(c){if(c.tag===13){var p=c.memoizedState;if(p===null&&(c=c.alternate,c!==null&&(p=c.memoizedState)),p!==null)return p.dehydrated}return null}function P(c){if(B(c)!==c)throw Error(n(188))}function Z(c){var p=c.alternate;if(!p){if(p=B(c),p===null)throw Error(n(188));return p!==c?null:c}for(var g=c,v=p;;){var k=g.return;if(k===null)break;var R=k.alternate;if(R===null){if(v=k.return,v!==null){g=v;continue}break}if(k.child===R.child){for(R=k.child;R;){if(R===g)return P(k),c;if(R===v)return P(k),p;R=R.sibling}throw Error(n(188))}if(g.return!==v.return)g=k,v=R;else{for(var Y=!1,ee=k.child;ee;){if(ee===g){Y=!0,g=k,v=R;break}if(ee===v){Y=!0,v=k,g=R;break}ee=ee.sibling}if(!Y){for(ee=R.child;ee;){if(ee===g){Y=!0,g=R,v=k;break}if(ee===v){Y=!0,v=R,g=k;break}ee=ee.sibling}if(!Y)throw Error(n(189))}}if(g.alternate!==v)throw Error(n(190))}if(g.tag!==3)throw Error(n(188));return g.stateNode.current===g?c:p}function K(c){var p=c.tag;if(p===5||p===26||p===27||p===6)return c;for(c=c.child;c!==null;){if(p=K(c),p!==null)return p;c=c.sibling}return null}var G=Array.isArray,ne=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},de=[],ie=-1;function ue(c){return{current:c}}function Ne(c){0>ie||(c.current=de[ie],de[ie]=null,ie--)}function pe(c,p){ie++,de[ie]=c.current,c.current=p}var Le=ue(null),Me=ue(null),Ee=ue(null),Te=ue(null);function Re(c,p){switch(pe(Ee,p),pe(Me,c),pe(Le,null),c=p.nodeType,c){case 9:case 11:p=(p=p.documentElement)&&(p=p.namespaceURI)?a8(p):0;break;default:if(c=c===8?p.parentNode:p,p=c.tagName,c=c.namespaceURI)c=a8(c),p=i8(c,p);else switch(p){case"svg":p=1;break;case"math":p=2;break;default:p=0}}Ne(Le),pe(Le,p)}function fe(){Ne(Le),Ne(Me),Ne(Ee)}function Ze(c){c.memoizedState!==null&&pe(Te,c);var p=Le.current,g=i8(p,c.type);p!==g&&(pe(Me,c),pe(Le,g))}function yt(c){Me.current===c&&(Ne(Le),Ne(Me)),Te.current===c&&(Ne(Te),df._currentValue=oe)}var qe=Object.prototype.hasOwnProperty,Ke=e.unstable_scheduleCallback,xe=e.unstable_cancelCallback,Yt=e.unstable_shouldYield,nr=e.unstable_requestPaint,Pe=e.unstable_now,Qe=e.unstable_getCurrentPriorityLevel,me=e.unstable_ImmediatePriority,ke=e.unstable_UserBlockingPriority,Ye=e.unstable_NormalPriority,pt=e.unstable_LowPriority,St=e.unstable_IdlePriority,gr=e.log,Sr=e.unstable_setDisableYieldValue,ar=null,Nt=null;function br(c){if(Nt&&typeof Nt.onCommitFiberRoot=="function")try{Nt.onCommitFiberRoot(ar,c,void 0,(c.current.flags&128)===128)}catch{}}function Fe(c){if(typeof gr=="function"&&Sr(c),Nt&&typeof Nt.setStrictMode=="function")try{Nt.setStrictMode(ar,c)}catch{}}var $e=Math.clz32?Math.clz32:Lt,ct=Math.log,vt=Math.LN2;function Lt(c){return c>>>=0,c===0?32:31-(ct(c)/vt|0)|0}var fr=128,Pr=4194304;function Jr(c){var p=c&42;if(p!==0)return p;switch(c&-c){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:return 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 c&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return c&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return c}}function ba(c,p){var g=c.pendingLanes;if(g===0)return 0;var v=0,k=c.suspendedLanes,R=c.pingedLanes,Y=c.warmLanes;c=c.finishedLanes!==0;var ee=g&134217727;return ee!==0?(g=ee&~k,g!==0?v=Jr(g):(R&=ee,R!==0?v=Jr(R):c||(Y=ee&~Y,Y!==0&&(v=Jr(Y))))):(ee=g&~k,ee!==0?v=Jr(ee):R!==0?v=Jr(R):c||(Y=g&~Y,Y!==0&&(v=Jr(Y)))),v===0?0:p!==0&&p!==v&&!(p&k)&&(k=v&-v,Y=p&-p,k>=Y||k===32&&(Y&4194176)!==0)?p:v}function ft(c,p){return(c.pendingLanes&~(c.suspendedLanes&~c.pingedLanes)&p)===0}function or(c,p){switch(c){case 1:case 2:case 4:case 8:return p+250;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 p+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gr(){var c=fr;return fr<<=1,!(fr&4194176)&&(fr=128),c}function aa(){var c=Pr;return Pr<<=1,!(Pr&62914560)&&(Pr=4194304),c}function zn(c){for(var p=[],g=0;31>g;g++)p.push(c);return p}function ia(c,p){c.pendingLanes|=p,p!==268435456&&(c.suspendedLanes=0,c.pingedLanes=0,c.warmLanes=0)}function Mi(c,p,g,v,k,R){var Y=c.pendingLanes;c.pendingLanes=g,c.suspendedLanes=0,c.pingedLanes=0,c.warmLanes=0,c.expiredLanes&=g,c.entangledLanes&=g,c.errorRecoveryDisabledLanes&=g,c.shellSuspendCounter=0;var ee=c.entanglements,se=c.expirationTimes,ve=c.hiddenUpdates;for(g=Y&~g;0<g;){var ze=31-$e(g),We=1<<ze;ee[ze]=0,se[ze]=-1;var De=ve[ze];if(De!==null)for(ve[ze]=null,ze=0;ze<De.length;ze++){var Be=De[ze];Be!==null&&(Be.lane&=-536870913)}g&=~We}v!==0&&ya(c,v,0),R!==0&&k===0&&c.tag!==0&&(c.suspendedLanes|=R&~(Y&~p))}function ya(c,p,g){c.pendingLanes|=p,c.suspendedLanes&=~p;var v=31-$e(p);c.entangledLanes|=p,c.entanglements[v]=c.entanglements[v]|1073741824|g&4194218}function gn(c,p){var g=c.entangledLanes|=p;for(c=c.entanglements;g;){var v=31-$e(g),k=1<<v;k&p|c[v]&p&&(c[v]|=p),g&=~k}}function Du(c){return c&=-c,2<c?8<c?c&134217727?32:268435456:8:2}function xp(){var c=ne.p;return c!==0?c:(c=window.event,c===void 0?32:x8(c.type))}function H0(c,p){var g=ne.p;try{return ne.p=c,p()}finally{ne.p=g}}var Ii=Math.random().toString(36).slice(2),Hn="__reactFiber$"+Ii,an="__reactProps$"+Ii,vs="__reactContainer$"+Ii,ad="__reactEvents$"+Ii,U0="__reactListeners$"+Ii,G0="__reactHandles$"+Ii,$0="__reactResources$"+Ii,_t="__reactMarker$"+Ii;function be(c){delete c[Hn],delete c[an],delete c[ad],delete c[U0],delete c[G0]}function et(c){var p=c[Hn];if(p)return p;for(var g=c.parentNode;g;){if(p=g[vs]||g[Hn]){if(g=p.alternate,p.child!==null||g!==null&&g.child!==null)for(c=l8(c);c!==null;){if(g=c[Hn])return g;c=l8(c)}return p}c=g,g=c.parentNode}return null}function Et(c){if(c=c[Hn]||c[vs]){var p=c.tag;if(p===5||p===6||p===13||p===26||p===27||p===3)return c}return null}function zr(c){var p=c.tag;if(p===5||p===26||p===27||p===6)return c.stateNode;throw Error(n(33))}function un(c){var p=c[$0];return p||(p=c[$0]={hoistableStyles:new Map,hoistableScripts:new Map}),p}function Cr(c){c[_t]=!0}var oa=new Set,di={};function hi(c,p){bn(c,p),bn(c+"Capture",p)}function bn(c,p){for(di[c]=p,c=0;c<p.length;c++)oa.add(p[c])}var Oi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),j0=RegExp("^[: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]*$"),iL={},oL={};function Kue(c){return qe.call(oL,c)?!0:qe.call(iL,c)?!1:j0.test(c)?oL[c]=!0:(iL[c]=!0,!1)}function q0(c,p,g){if(Kue(p))if(g===null)c.removeAttribute(p);else{switch(typeof g){case"undefined":case"function":case"symbol":c.removeAttribute(p);return;case"boolean":var v=p.toLowerCase().slice(0,5);if(v!=="data-"&&v!=="aria-"){c.removeAttribute(p);return}}c.setAttribute(p,""+g)}}function W0(c,p,g){if(g===null)c.removeAttribute(p);else{switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":c.removeAttribute(p);return}c.setAttribute(p,""+g)}}function Fs(c,p,g,v){if(v===null)c.removeAttribute(g);else{switch(typeof v){case"undefined":case"function":case"symbol":case"boolean":c.removeAttribute(g);return}c.setAttributeNS(p,g,""+v)}}function Bi(c){switch(typeof c){case"bigint":case"boolean":case"number":case"string":case"undefined":return c;case"object":return c;default:return""}}function sL(c){var p=c.type;return(c=c.nodeName)&&c.toLowerCase()==="input"&&(p==="checkbox"||p==="radio")}function Yue(c){var p=sL(c)?"checked":"value",g=Object.getOwnPropertyDescriptor(c.constructor.prototype,p),v=""+c[p];if(!c.hasOwnProperty(p)&&typeof g<"u"&&typeof g.get=="function"&&typeof g.set=="function"){var k=g.get,R=g.set;return Object.defineProperty(c,p,{configurable:!0,get:function(){return k.call(this)},set:function(Y){v=""+Y,R.call(this,Y)}}),Object.defineProperty(c,p,{enumerable:g.enumerable}),{getValue:function(){return v},setValue:function(Y){v=""+Y},stopTracking:function(){c._valueTracker=null,delete c[p]}}}}function V0(c){c._valueTracker||(c._valueTracker=Yue(c))}function lL(c){if(!c)return!1;var p=c._valueTracker;if(!p)return!0;var g=p.getValue(),v="";return c&&(v=sL(c)?c.checked?"true":"false":c.value),c=v,c!==g?(p.setValue(c),!0):!1}function K0(c){if(c=c||(typeof document<"u"?document:void 0),typeof c>"u")return null;try{return c.activeElement||c.body}catch{return c.body}}var Xue=/[\n"\\]/g;function Pi(c){return c.replace(Xue,function(p){return"\\"+p.charCodeAt(0).toString(16)+" "})}function V2(c,p,g,v,k,R,Y,ee){c.name="",Y!=null&&typeof Y!="function"&&typeof Y!="symbol"&&typeof Y!="boolean"?c.type=Y:c.removeAttribute("type"),p!=null?Y==="number"?(p===0&&c.value===""||c.value!=p)&&(c.value=""+Bi(p)):c.value!==""+Bi(p)&&(c.value=""+Bi(p)):Y!=="submit"&&Y!=="reset"||c.removeAttribute("value"),p!=null?K2(c,Y,Bi(p)):g!=null?K2(c,Y,Bi(g)):v!=null&&c.removeAttribute("value"),k==null&&R!=null&&(c.defaultChecked=!!R),k!=null&&(c.checked=k&&typeof k!="function"&&typeof k!="symbol"),ee!=null&&typeof ee!="function"&&typeof ee!="symbol"&&typeof ee!="boolean"?c.name=""+Bi(ee):c.removeAttribute("name")}function uL(c,p,g,v,k,R,Y,ee){if(R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"&&(c.type=R),p!=null||g!=null){if(!(R!=="submit"&&R!=="reset"||p!=null))return;g=g!=null?""+Bi(g):"",p=p!=null?""+Bi(p):g,ee||p===c.value||(c.value=p),c.defaultValue=p}v=v??k,v=typeof v!="function"&&typeof v!="symbol"&&!!v,c.checked=ee?c.checked:!!v,c.defaultChecked=!!v,Y!=null&&typeof Y!="function"&&typeof Y!="symbol"&&typeof Y!="boolean"&&(c.name=Y)}function K2(c,p,g){p==="number"&&K0(c.ownerDocument)===c||c.defaultValue===""+g||(c.defaultValue=""+g)}function id(c,p,g,v){if(c=c.options,p){p={};for(var k=0;k<g.length;k++)p["$"+g[k]]=!0;for(g=0;g<c.length;g++)k=p.hasOwnProperty("$"+c[g].value),c[g].selected!==k&&(c[g].selected=k),k&&v&&(c[g].defaultSelected=!0)}else{for(g=""+Bi(g),p=null,k=0;k<c.length;k++){if(c[k].value===g){c[k].selected=!0,v&&(c[k].defaultSelected=!0);return}p!==null||c[k].disabled||(p=c[k])}p!==null&&(p.selected=!0)}}function cL(c,p,g){if(p!=null&&(p=""+Bi(p),p!==c.value&&(c.value=p),g==null)){c.defaultValue!==p&&(c.defaultValue=p);return}c.defaultValue=g!=null?""+Bi(g):""}function dL(c,p,g,v){if(p==null){if(v!=null){if(g!=null)throw Error(n(92));if(G(v)){if(1<v.length)throw Error(n(93));v=v[0]}g=v}g==null&&(g=""),p=g}g=Bi(p),c.defaultValue=g,v=c.textContent,v===g&&v!==""&&v!==null&&(c.value=v)}function od(c,p){if(p){var g=c.firstChild;if(g&&g===c.lastChild&&g.nodeType===3){g.nodeValue=p;return}}c.textContent=p}var Jue=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function hL(c,p,g){var v=p.indexOf("--")===0;g==null||typeof g=="boolean"||g===""?v?c.setProperty(p,""):p==="float"?c.cssFloat="":c[p]="":v?c.setProperty(p,g):typeof g!="number"||g===0||Jue.has(p)?p==="float"?c.cssFloat=g:c[p]=(""+g).trim():c[p]=g+"px"}function pL(c,p,g){if(p!=null&&typeof p!="object")throw Error(n(62));if(c=c.style,g!=null){for(var v in g)!g.hasOwnProperty(v)||p!=null&&p.hasOwnProperty(v)||(v.indexOf("--")===0?c.setProperty(v,""):v==="float"?c.cssFloat="":c[v]="");for(var k in p)v=p[k],p.hasOwnProperty(k)&&g[k]!==v&&hL(c,k,v)}else for(var R in p)p.hasOwnProperty(R)&&hL(c,R,p[R])}function Y2(c){if(c.indexOf("-")===-1)return!1;switch(c){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 Zue=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Que=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Y0(c){return Que.test(""+c)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":c}var X2=null;function J2(c){return c=c.target||c.srcElement||window,c.correspondingUseElement&&(c=c.correspondingUseElement),c.nodeType===3?c.parentNode:c}var sd=null,ld=null;function fL(c){var p=Et(c);if(p&&(c=p.stateNode)){var g=c[an]||null;e:switch(c=p.stateNode,p.type){case"input":if(V2(c,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name),p=g.name,g.type==="radio"&&p!=null){for(g=c;g.parentNode;)g=g.parentNode;for(g=g.querySelectorAll('input[name="'+Pi(""+p)+'"][type="radio"]'),p=0;p<g.length;p++){var v=g[p];if(v!==c&&v.form===c.form){var k=v[an]||null;if(!k)throw Error(n(90));V2(v,k.value,k.defaultValue,k.defaultValue,k.checked,k.defaultChecked,k.type,k.name)}}for(p=0;p<g.length;p++)v=g[p],v.form===c.form&&lL(v)}break e;case"textarea":cL(c,g.value,g.defaultValue);break e;case"select":p=g.value,p!=null&&id(c,!!g.multiple,p,!1)}}}var Z2=!1;function mL(c,p,g){if(Z2)return c(p,g);Z2=!0;try{var v=c(p);return v}finally{if(Z2=!1,(sd!==null||ld!==null)&&(Ng(),sd&&(p=sd,c=ld,ld=sd=null,fL(p),c)))for(p=0;p<c.length;p++)fL(c[p])}}function wp(c,p){var g=c.stateNode;if(g===null)return null;var v=g[an]||null;if(v===null)return null;g=v[p];e:switch(p){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(c=c.type,v=!(c==="button"||c==="input"||c==="select"||c==="textarea")),c=!v;break e;default:c=!1}if(c)return null;if(g&&typeof g!="function")throw Error(n(231,p,typeof g));return g}var Q2=!1;if(Oi)try{var kp={};Object.defineProperty(kp,"passive",{get:function(){Q2=!0}}),window.addEventListener("test",kp,kp),window.removeEventListener("test",kp,kp)}catch{Q2=!1}var xl=null,eF=null,X0=null;function gL(){if(X0)return X0;var c,p=eF,g=p.length,v,k="value"in xl?xl.value:xl.textContent,R=k.length;for(c=0;c<g&&p[c]===k[c];c++);var Y=g-c;for(v=1;v<=Y&&p[g-v]===k[R-v];v++);return X0=k.slice(c,1<v?1-v:void 0)}function J0(c){var p=c.keyCode;return"charCode"in c?(c=c.charCode,c===0&&p===13&&(c=13)):c=p,c===10&&(c=13),32<=c||c===13?c:0}function Z0(){return!0}function bL(){return!1}function Va(c){function p(g,v,k,R,Y){this._reactName=g,this._targetInst=k,this.type=v,this.nativeEvent=R,this.target=Y,this.currentTarget=null;for(var ee in c)c.hasOwnProperty(ee)&&(g=c[ee],this[ee]=g?g(R):R[ee]);return this.isDefaultPrevented=(R.defaultPrevented!=null?R.defaultPrevented:R.returnValue===!1)?Z0:bL,this.isPropagationStopped=bL,this}return L(p.prototype,{preventDefault:function(){this.defaultPrevented=!0;var g=this.nativeEvent;g&&(g.preventDefault?g.preventDefault():typeof g.returnValue!="unknown"&&(g.returnValue=!1),this.isDefaultPrevented=Z0)},stopPropagation:function(){var g=this.nativeEvent;g&&(g.stopPropagation?g.stopPropagation():typeof g.cancelBubble!="unknown"&&(g.cancelBubble=!0),this.isPropagationStopped=Z0)},persist:function(){},isPersistent:Z0}),p}var Ru={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(c){return c.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Q0=Va(Ru),Cp=L({},Ru,{view:0,detail:0}),ece=Va(Cp),tF,rF,Tp,eg=L({},Cp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:aF,button:0,buttons:0,relatedTarget:function(c){return c.relatedTarget===void 0?c.fromElement===c.srcElement?c.toElement:c.fromElement:c.relatedTarget},movementX:function(c){return"movementX"in c?c.movementX:(c!==Tp&&(Tp&&c.type==="mousemove"?(tF=c.screenX-Tp.screenX,rF=c.screenY-Tp.screenY):rF=tF=0,Tp=c),tF)},movementY:function(c){return"movementY"in c?c.movementY:rF}}),yL=Va(eg),tce=L({},eg,{dataTransfer:0}),rce=Va(tce),nce=L({},Cp,{relatedTarget:0}),nF=Va(nce),ace=L({},Ru,{animationName:0,elapsedTime:0,pseudoElement:0}),ice=Va(ace),oce=L({},Ru,{clipboardData:function(c){return"clipboardData"in c?c.clipboardData:window.clipboardData}}),sce=Va(oce),lce=L({},Ru,{data:0}),vL=Va(lce),uce={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cce={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"},dce={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hce(c){var p=this.nativeEvent;return p.getModifierState?p.getModifierState(c):(c=dce[c])?!!p[c]:!1}function aF(){return hce}var pce=L({},Cp,{key:function(c){if(c.key){var p=uce[c.key]||c.key;if(p!=="Unidentified")return p}return c.type==="keypress"?(c=J0(c),c===13?"Enter":String.fromCharCode(c)):c.type==="keydown"||c.type==="keyup"?cce[c.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:aF,charCode:function(c){return c.type==="keypress"?J0(c):0},keyCode:function(c){return c.type==="keydown"||c.type==="keyup"?c.keyCode:0},which:function(c){return c.type==="keypress"?J0(c):c.type==="keydown"||c.type==="keyup"?c.keyCode:0}}),fce=Va(pce),mce=L({},eg,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),FL=Va(mce),gce=L({},Cp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:aF}),bce=Va(gce),yce=L({},Ru,{propertyName:0,elapsedTime:0,pseudoElement:0}),vce=Va(yce),Fce=L({},eg,{deltaX:function(c){return"deltaX"in c?c.deltaX:"wheelDeltaX"in c?-c.wheelDeltaX:0},deltaY:function(c){return"deltaY"in c?c.deltaY:"wheelDeltaY"in c?-c.wheelDeltaY:"wheelDelta"in c?-c.wheelDelta:0},deltaZ:0,deltaMode:0}),Ece=Va(Fce),Sce=L({},Ru,{newState:0,oldState:0}),xce=Va(Sce),wce=[9,13,27,32],iF=Oi&&"CompositionEvent"in window,Ap=null;Oi&&"documentMode"in document&&(Ap=document.documentMode);var kce=Oi&&"TextEvent"in window&&!Ap,EL=Oi&&(!iF||Ap&&8<Ap&&11>=Ap),SL=" ",xL=!1;function wL(c,p){switch(c){case"keyup":return wce.indexOf(p.keyCode)!==-1;case"keydown":return p.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kL(c){return c=c.detail,typeof c=="object"&&"data"in c?c.data:null}var ud=!1;function Cce(c,p){switch(c){case"compositionend":return kL(p);case"keypress":return p.which!==32?null:(xL=!0,SL);case"textInput":return c=p.data,c===SL&&xL?null:c;default:return null}}function Tce(c,p){if(ud)return c==="compositionend"||!iF&&wL(c,p)?(c=gL(),X0=eF=xl=null,ud=!1,c):null;switch(c){case"paste":return null;case"keypress":if(!(p.ctrlKey||p.altKey||p.metaKey)||p.ctrlKey&&p.altKey){if(p.char&&1<p.char.length)return p.char;if(p.which)return String.fromCharCode(p.which)}return null;case"compositionend":return EL&&p.locale!=="ko"?null:p.data;default:return null}}var Ace={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 CL(c){var p=c&&c.nodeName&&c.nodeName.toLowerCase();return p==="input"?!!Ace[c.type]:p==="textarea"}function TL(c,p,g,v){sd?ld?ld.push(v):ld=[v]:sd=v,p=Bg(p,"onChange"),0<p.length&&(g=new Q0("onChange","change",null,g,v),c.push({event:g,listeners:p}))}var _p=null,Dp=null;function _ce(c){QM(c,0)}function tg(c){var p=zr(c);if(lL(p))return c}function AL(c,p){if(c==="change")return p}var _L=!1;if(Oi){var oF;if(Oi){var sF="oninput"in document;if(!sF){var DL=document.createElement("div");DL.setAttribute("oninput","return;"),sF=typeof DL.oninput=="function"}oF=sF}else oF=!1;_L=oF&&(!document.documentMode||9<document.documentMode)}function RL(){_p&&(_p.detachEvent("onpropertychange",NL),Dp=_p=null)}function NL(c){if(c.propertyName==="value"&&tg(Dp)){var p=[];TL(p,Dp,c,J2(c)),mL(_ce,p)}}function Dce(c,p,g){c==="focusin"?(RL(),_p=p,Dp=g,_p.attachEvent("onpropertychange",NL)):c==="focusout"&&RL()}function Rce(c){if(c==="selectionchange"||c==="keyup"||c==="keydown")return tg(Dp)}function Nce(c,p){if(c==="click")return tg(p)}function Lce(c,p){if(c==="input"||c==="change")return tg(p)}function Mce(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var pi=typeof Object.is=="function"?Object.is:Mce;function Rp(c,p){if(pi(c,p))return!0;if(typeof c!="object"||c===null||typeof p!="object"||p===null)return!1;var g=Object.keys(c),v=Object.keys(p);if(g.length!==v.length)return!1;for(v=0;v<g.length;v++){var k=g[v];if(!qe.call(p,k)||!pi(c[k],p[k]))return!1}return!0}function LL(c){for(;c&&c.firstChild;)c=c.firstChild;return c}function ML(c,p){var g=LL(c);c=0;for(var v;g;){if(g.nodeType===3){if(v=c+g.textContent.length,c<=p&&v>=p)return{node:g,offset:p-c};c=v}e:{for(;g;){if(g.nextSibling){g=g.nextSibling;break e}g=g.parentNode}g=void 0}g=LL(g)}}function IL(c,p){return c&&p?c===p?!0:c&&c.nodeType===3?!1:p&&p.nodeType===3?IL(c,p.parentNode):"contains"in c?c.contains(p):c.compareDocumentPosition?!!(c.compareDocumentPosition(p)&16):!1:!1}function OL(c){c=c!=null&&c.ownerDocument!=null&&c.ownerDocument.defaultView!=null?c.ownerDocument.defaultView:window;for(var p=K0(c.document);p instanceof c.HTMLIFrameElement;){try{var g=typeof p.contentWindow.location.href=="string"}catch{g=!1}if(g)c=p.contentWindow;else break;p=K0(c.document)}return p}function lF(c){var p=c&&c.nodeName&&c.nodeName.toLowerCase();return p&&(p==="input"&&(c.type==="text"||c.type==="search"||c.type==="tel"||c.type==="url"||c.type==="password")||p==="textarea"||c.contentEditable==="true")}function Ice(c,p){var g=OL(p);p=c.focusedElem;var v=c.selectionRange;if(g!==p&&p&&p.ownerDocument&&IL(p.ownerDocument.documentElement,p)){if(v!==null&&lF(p)){if(c=v.start,g=v.end,g===void 0&&(g=c),"selectionStart"in p)p.selectionStart=c,p.selectionEnd=Math.min(g,p.value.length);else if(g=(c=p.ownerDocument||document)&&c.defaultView||window,g.getSelection){g=g.getSelection();var k=p.textContent.length,R=Math.min(v.start,k);v=v.end===void 0?R:Math.min(v.end,k),!g.extend&&R>v&&(k=v,v=R,R=k),k=ML(p,R);var Y=ML(p,v);k&&Y&&(g.rangeCount!==1||g.anchorNode!==k.node||g.anchorOffset!==k.offset||g.focusNode!==Y.node||g.focusOffset!==Y.offset)&&(c=c.createRange(),c.setStart(k.node,k.offset),g.removeAllRanges(),R>v?(g.addRange(c),g.extend(Y.node,Y.offset)):(c.setEnd(Y.node,Y.offset),g.addRange(c)))}}for(c=[],g=p;g=g.parentNode;)g.nodeType===1&&c.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<c.length;p++)g=c[p],g.element.scrollLeft=g.left,g.element.scrollTop=g.top}}var Oce=Oi&&"documentMode"in document&&11>=document.documentMode,cd=null,uF=null,Np=null,cF=!1;function BL(c,p,g){var v=g.window===g?g.document:g.nodeType===9?g:g.ownerDocument;cF||cd==null||cd!==K0(v)||(v=cd,"selectionStart"in v&&lF(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),Np&&Rp(Np,v)||(Np=v,v=Bg(uF,"onSelect"),0<v.length&&(p=new Q0("onSelect","select",null,p,g),c.push({event:p,listeners:v}),p.target=cd)))}function Nu(c,p){var g={};return g[c.toLowerCase()]=p.toLowerCase(),g["Webkit"+c]="webkit"+p,g["Moz"+c]="moz"+p,g}var dd={animationend:Nu("Animation","AnimationEnd"),animationiteration:Nu("Animation","AnimationIteration"),animationstart:Nu("Animation","AnimationStart"),transitionrun:Nu("Transition","TransitionRun"),transitionstart:Nu("Transition","TransitionStart"),transitioncancel:Nu("Transition","TransitionCancel"),transitionend:Nu("Transition","TransitionEnd")},dF={},PL={};Oi&&(PL=document.createElement("div").style,"AnimationEvent"in window||(delete dd.animationend.animation,delete dd.animationiteration.animation,delete dd.animationstart.animation),"TransitionEvent"in window||delete dd.transitionend.transition);function Lu(c){if(dF[c])return dF[c];if(!dd[c])return c;var p=dd[c],g;for(g in p)if(p.hasOwnProperty(g)&&g in PL)return dF[c]=p[g];return c}var zL=Lu("animationend"),HL=Lu("animationiteration"),UL=Lu("animationstart"),Bce=Lu("transitionrun"),Pce=Lu("transitionstart"),zce=Lu("transitioncancel"),GL=Lu("transitionend"),$L=new Map,jL="abort auxClick beforeToggle 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 scrollEnd toggle touchMove waiting wheel".split(" ");function ho(c,p){$L.set(c,p),hi(p,[c])}var zi=[],hd=0,hF=0;function rg(){for(var c=hd,p=hF=hd=0;p<c;){var g=zi[p];zi[p++]=null;var v=zi[p];zi[p++]=null;var k=zi[p];zi[p++]=null;var R=zi[p];if(zi[p++]=null,v!==null&&k!==null){var Y=v.pending;Y===null?k.next=k:(k.next=Y.next,Y.next=k),v.pending=k}R!==0&&qL(g,k,R)}}function ng(c,p,g,v){zi[hd++]=c,zi[hd++]=p,zi[hd++]=g,zi[hd++]=v,hF|=v,c.lanes|=v,c=c.alternate,c!==null&&(c.lanes|=v)}function pF(c,p,g,v){return ng(c,p,g,v),ag(c)}function wl(c,p){return ng(c,null,null,p),ag(c)}function qL(c,p,g){c.lanes|=g;var v=c.alternate;v!==null&&(v.lanes|=g);for(var k=!1,R=c.return;R!==null;)R.childLanes|=g,v=R.alternate,v!==null&&(v.childLanes|=g),R.tag===22&&(c=R.stateNode,c===null||c._visibility&1||(k=!0)),c=R,R=R.return;k&&p!==null&&c.tag===3&&(R=c.stateNode,k=31-$e(g),R=R.hiddenUpdates,c=R[k],c===null?R[k]=[p]:c.push(p),p.lane=g|536870912)}function ag(c){if(50<nf)throw nf=0,vE=null,Error(n(185));for(var p=c.return;p!==null;)c=p,p=c.return;return c.tag===3?c.stateNode:null}var pd={},WL=new WeakMap;function Hi(c,p){if(typeof c=="object"&&c!==null){var g=WL.get(c);return g!==void 0?g:(p={value:c,source:p,stack:W(p)},WL.set(c,p),p)}return{value:c,source:p,stack:W(p)}}var fd=[],md=0,ig=null,og=0,Ui=[],Gi=0,Mu=null,Es=1,Ss="";function Iu(c,p){fd[md++]=og,fd[md++]=ig,ig=c,og=p}function VL(c,p,g){Ui[Gi++]=Es,Ui[Gi++]=Ss,Ui[Gi++]=Mu,Mu=c;var v=Es;c=Ss;var k=32-$e(v)-1;v&=~(1<<k),g+=1;var R=32-$e(p)+k;if(30<R){var Y=k-k%5;R=(v&(1<<Y)-1).toString(32),v>>=Y,k-=Y,Es=1<<32-$e(p)+k|g<<k|v,Ss=R+c}else Es=1<<R|g<<k|v,Ss=c}function fF(c){c.return!==null&&(Iu(c,1),VL(c,1,0))}function mF(c){for(;c===ig;)ig=fd[--md],fd[md]=null,og=fd[--md],fd[md]=null;for(;c===Mu;)Mu=Ui[--Gi],Ui[Gi]=null,Ss=Ui[--Gi],Ui[Gi]=null,Es=Ui[--Gi],Ui[Gi]=null}var Ma=null,sa=null,Mr=!1,po=null,Oo=!1,gF=Error(n(519));function Ou(c){var p=Error(n(418,""));throw Ip(Hi(p,c)),gF}function KL(c){var p=c.stateNode,g=c.type,v=c.memoizedProps;switch(p[Hn]=c,p[an]=v,g){case"dialog":Ar("cancel",p),Ar("close",p);break;case"iframe":case"object":case"embed":Ar("load",p);break;case"video":case"audio":for(g=0;g<of.length;g++)Ar(of[g],p);break;case"source":Ar("error",p);break;case"img":case"image":case"link":Ar("error",p),Ar("load",p);break;case"details":Ar("toggle",p);break;case"input":Ar("invalid",p),uL(p,v.value,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name,!0),V0(p);break;case"select":Ar("invalid",p);break;case"textarea":Ar("invalid",p),dL(p,v.value,v.defaultValue,v.children),V0(p)}g=v.children,typeof g!="string"&&typeof g!="number"&&typeof g!="bigint"||p.textContent===""+g||v.suppressHydrationWarning===!0||n8(p.textContent,g)?(v.popover!=null&&(Ar("beforetoggle",p),Ar("toggle",p)),v.onScroll!=null&&Ar("scroll",p),v.onScrollEnd!=null&&Ar("scrollend",p),v.onClick!=null&&(p.onclick=Pg),p=!0):p=!1,p||Ou(c)}function YL(c){for(Ma=c.return;Ma;)switch(Ma.tag){case 3:case 27:Oo=!0;return;case 5:case 13:Oo=!1;return;default:Ma=Ma.return}}function Lp(c){if(c!==Ma)return!1;if(!Mr)return YL(c),Mr=!0,!1;var p=!1,g;if((g=c.tag!==3&&c.tag!==27)&&((g=c.tag===5)&&(g=c.type,g=!(g!=="form"&&g!=="button")||OE(c.type,c.memoizedProps)),g=!g),g&&(p=!0),p&&sa&&Ou(c),YL(c),c.tag===13){if(c=c.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(n(317));e:{for(c=c.nextSibling,p=0;c;){if(c.nodeType===8)if(g=c.data,g==="/$"){if(p===0){sa=mo(c.nextSibling);break e}p--}else g!=="$"&&g!=="$!"&&g!=="$?"||p++;c=c.nextSibling}sa=null}}else sa=Ma?mo(c.stateNode.nextSibling):null;return!0}function Mp(){sa=Ma=null,Mr=!1}function Ip(c){po===null?po=[c]:po.push(c)}var Op=Error(n(460)),XL=Error(n(474)),bF={then:function(){}};function JL(c){return c=c.status,c==="fulfilled"||c==="rejected"}function sg(){}function ZL(c,p,g){switch(g=c[g],g===void 0?c.push(p):g!==p&&(p.then(sg,sg),p=g),p.status){case"fulfilled":return p.value;case"rejected":throw c=p.reason,c===Op?Error(n(483)):c;default:if(typeof p.status=="string")p.then(sg,sg);else{if(c=Zr,c!==null&&100<c.shellSuspendCounter)throw Error(n(482));c=p,c.status="pending",c.then(function(v){if(p.status==="pending"){var k=p;k.status="fulfilled",k.value=v}},function(v){if(p.status==="pending"){var k=p;k.status="rejected",k.reason=v}})}switch(p.status){case"fulfilled":return p.value;case"rejected":throw c=p.reason,c===Op?Error(n(483)):c}throw Bp=p,Op}}var Bp=null;function QL(){if(Bp===null)throw Error(n(459));var c=Bp;return Bp=null,c}var gd=null,Pp=0;function lg(c){var p=Pp;return Pp+=1,gd===null&&(gd=[]),ZL(gd,c,p)}function zp(c,p){p=p.props.ref,c.ref=p!==void 0?p:null}function ug(c,p){throw p.$$typeof===i?Error(n(525)):(c=Object.prototype.toString.call(p),Error(n(31,c==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":c)))}function e9(c){var p=c._init;return p(c._payload)}function t9(c){function p(Se,ye){if(c){var Ae=Se.deletions;Ae===null?(Se.deletions=[ye],Se.flags|=16):Ae.push(ye)}}function g(Se,ye){if(!c)return null;for(;ye!==null;)p(Se,ye),ye=ye.sibling;return null}function v(Se){for(var ye=new Map;Se!==null;)Se.key!==null?ye.set(Se.key,Se):ye.set(Se.index,Se),Se=Se.sibling;return ye}function k(Se,ye){return Se=Ol(Se,ye),Se.index=0,Se.sibling=null,Se}function R(Se,ye,Ae){return Se.index=Ae,c?(Ae=Se.alternate,Ae!==null?(Ae=Ae.index,Ae<ye?(Se.flags|=33554434,ye):Ae):(Se.flags|=33554434,ye)):(Se.flags|=1048576,ye)}function Y(Se){return c&&Se.alternate===null&&(Se.flags|=33554434),Se}function ee(Se,ye,Ae,He){return ye===null||ye.tag!==6?(ye=dE(Ae,Se.mode,He),ye.return=Se,ye):(ye=k(ye,Ae),ye.return=Se,ye)}function se(Se,ye,Ae,He){var wt=Ae.type;return wt===l?ze(Se,ye,Ae.props.children,He,Ae.key):ye!==null&&(ye.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===E&&e9(wt)===ye.type)?(ye=k(ye,Ae.props),zp(ye,Ae),ye.return=Se,ye):(ye=Tg(Ae.type,Ae.key,Ae.props,null,Se.mode,He),zp(ye,Ae),ye.return=Se,ye)}function ve(Se,ye,Ae,He){return ye===null||ye.tag!==4||ye.stateNode.containerInfo!==Ae.containerInfo||ye.stateNode.implementation!==Ae.implementation?(ye=hE(Ae,Se.mode,He),ye.return=Se,ye):(ye=k(ye,Ae.children||[]),ye.return=Se,ye)}function ze(Se,ye,Ae,He,wt){return ye===null||ye.tag!==7?(ye=Wu(Ae,Se.mode,He,wt),ye.return=Se,ye):(ye=k(ye,Ae),ye.return=Se,ye)}function We(Se,ye,Ae){if(typeof ye=="string"&&ye!==""||typeof ye=="number"||typeof ye=="bigint")return ye=dE(""+ye,Se.mode,Ae),ye.return=Se,ye;if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case o:return Ae=Tg(ye.type,ye.key,ye.props,null,Se.mode,Ae),zp(Ae,ye),Ae.return=Se,Ae;case s:return ye=hE(ye,Se.mode,Ae),ye.return=Se,ye;case E:var He=ye._init;return ye=He(ye._payload),We(Se,ye,Ae)}if(G(ye)||w(ye))return ye=Wu(ye,Se.mode,Ae,null),ye.return=Se,ye;if(typeof ye.then=="function")return We(Se,lg(ye),Ae);if(ye.$$typeof===m)return We(Se,wg(Se,ye),Ae);ug(Se,ye)}return null}function De(Se,ye,Ae,He){var wt=ye!==null?ye.key:null;if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number"||typeof Ae=="bigint")return wt!==null?null:ee(Se,ye,""+Ae,He);if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case o:return Ae.key===wt?se(Se,ye,Ae,He):null;case s:return Ae.key===wt?ve(Se,ye,Ae,He):null;case E:return wt=Ae._init,Ae=wt(Ae._payload),De(Se,ye,Ae,He)}if(G(Ae)||w(Ae))return wt!==null?null:ze(Se,ye,Ae,He,null);if(typeof Ae.then=="function")return De(Se,ye,lg(Ae),He);if(Ae.$$typeof===m)return De(Se,ye,wg(Se,Ae),He);ug(Se,Ae)}return null}function Be(Se,ye,Ae,He,wt){if(typeof He=="string"&&He!==""||typeof He=="number"||typeof He=="bigint")return Se=Se.get(Ae)||null,ee(ye,Se,""+He,wt);if(typeof He=="object"&&He!==null){switch(He.$$typeof){case o:return Se=Se.get(He.key===null?Ae:He.key)||null,se(ye,Se,He,wt);case s:return Se=Se.get(He.key===null?Ae:He.key)||null,ve(ye,Se,He,wt);case E:var yr=He._init;return He=yr(He._payload),Be(Se,ye,Ae,He,wt)}if(G(He)||w(He))return Se=Se.get(Ae)||null,ze(ye,Se,He,wt,null);if(typeof He.then=="function")return Be(Se,ye,Ae,lg(He),wt);if(He.$$typeof===m)return Be(Se,ye,Ae,wg(ye,He),wt);ug(ye,He)}return null}function Mt(Se,ye,Ae,He){for(var wt=null,yr=null,Ht=ye,Vt=ye=0,Jn=null;Ht!==null&&Vt<Ae.length;Vt++){Ht.index>Vt?(Jn=Ht,Ht=null):Jn=Ht.sibling;var Ir=De(Se,Ht,Ae[Vt],He);if(Ir===null){Ht===null&&(Ht=Jn);break}c&&Ht&&Ir.alternate===null&&p(Se,Ht),ye=R(Ir,ye,Vt),yr===null?wt=Ir:yr.sibling=Ir,yr=Ir,Ht=Jn}if(Vt===Ae.length)return g(Se,Ht),Mr&&Iu(Se,Vt),wt;if(Ht===null){for(;Vt<Ae.length;Vt++)Ht=We(Se,Ae[Vt],He),Ht!==null&&(ye=R(Ht,ye,Vt),yr===null?wt=Ht:yr.sibling=Ht,yr=Ht);return Mr&&Iu(Se,Vt),wt}for(Ht=v(Ht);Vt<Ae.length;Vt++)Jn=Be(Ht,Se,Vt,Ae[Vt],He),Jn!==null&&(c&&Jn.alternate!==null&&Ht.delete(Jn.key===null?Vt:Jn.key),ye=R(Jn,ye,Vt),yr===null?wt=Jn:yr.sibling=Jn,yr=Jn);return c&&Ht.forEach(function($l){return p(Se,$l)}),Mr&&Iu(Se,Vt),wt}function sr(Se,ye,Ae,He){if(Ae==null)throw Error(n(151));for(var wt=null,yr=null,Ht=ye,Vt=ye=0,Jn=null,Ir=Ae.next();Ht!==null&&!Ir.done;Vt++,Ir=Ae.next()){Ht.index>Vt?(Jn=Ht,Ht=null):Jn=Ht.sibling;var $l=De(Se,Ht,Ir.value,He);if($l===null){Ht===null&&(Ht=Jn);break}c&&Ht&&$l.alternate===null&&p(Se,Ht),ye=R($l,ye,Vt),yr===null?wt=$l:yr.sibling=$l,yr=$l,Ht=Jn}if(Ir.done)return g(Se,Ht),Mr&&Iu(Se,Vt),wt;if(Ht===null){for(;!Ir.done;Vt++,Ir=Ae.next())Ir=We(Se,Ir.value,He),Ir!==null&&(ye=R(Ir,ye,Vt),yr===null?wt=Ir:yr.sibling=Ir,yr=Ir);return Mr&&Iu(Se,Vt),wt}for(Ht=v(Ht);!Ir.done;Vt++,Ir=Ae.next())Ir=Be(Ht,Se,Vt,Ir.value,He),Ir!==null&&(c&&Ir.alternate!==null&&Ht.delete(Ir.key===null?Vt:Ir.key),ye=R(Ir,ye,Vt),yr===null?wt=Ir:yr.sibling=Ir,yr=Ir);return c&&Ht.forEach(function(Qde){return p(Se,Qde)}),Mr&&Iu(Se,Vt),wt}function Fn(Se,ye,Ae,He){if(typeof Ae=="object"&&Ae!==null&&Ae.type===l&&Ae.key===null&&(Ae=Ae.props.children),typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case o:e:{for(var wt=Ae.key;ye!==null;){if(ye.key===wt){if(wt=Ae.type,wt===l){if(ye.tag===7){g(Se,ye.sibling),He=k(ye,Ae.props.children),He.return=Se,Se=He;break e}}else if(ye.elementType===wt||typeof wt=="object"&&wt!==null&&wt.$$typeof===E&&e9(wt)===ye.type){g(Se,ye.sibling),He=k(ye,Ae.props),zp(He,Ae),He.return=Se,Se=He;break e}g(Se,ye);break}else p(Se,ye);ye=ye.sibling}Ae.type===l?(He=Wu(Ae.props.children,Se.mode,He,Ae.key),He.return=Se,Se=He):(He=Tg(Ae.type,Ae.key,Ae.props,null,Se.mode,He),zp(He,Ae),He.return=Se,Se=He)}return Y(Se);case s:e:{for(wt=Ae.key;ye!==null;){if(ye.key===wt)if(ye.tag===4&&ye.stateNode.containerInfo===Ae.containerInfo&&ye.stateNode.implementation===Ae.implementation){g(Se,ye.sibling),He=k(ye,Ae.children||[]),He.return=Se,Se=He;break e}else{g(Se,ye);break}else p(Se,ye);ye=ye.sibling}He=hE(Ae,Se.mode,He),He.return=Se,Se=He}return Y(Se);case E:return wt=Ae._init,Ae=wt(Ae._payload),Fn(Se,ye,Ae,He)}if(G(Ae))return Mt(Se,ye,Ae,He);if(w(Ae)){if(wt=w(Ae),typeof wt!="function")throw Error(n(150));return Ae=wt.call(Ae),sr(Se,ye,Ae,He)}if(typeof Ae.then=="function")return Fn(Se,ye,lg(Ae),He);if(Ae.$$typeof===m)return Fn(Se,ye,wg(Se,Ae),He);ug(Se,Ae)}return typeof Ae=="string"&&Ae!==""||typeof Ae=="number"||typeof Ae=="bigint"?(Ae=""+Ae,ye!==null&&ye.tag===6?(g(Se,ye.sibling),He=k(ye,Ae),He.return=Se,Se=He):(g(Se,ye),He=dE(Ae,Se.mode,He),He.return=Se,Se=He),Y(Se)):g(Se,ye)}return function(Se,ye,Ae,He){try{Pp=0;var wt=Fn(Se,ye,Ae,He);return gd=null,wt}catch(Ht){if(Ht===Op)throw Ht;var yr=Wi(29,Ht,null,Se.mode);return yr.lanes=He,yr.return=Se,yr}finally{}}}var Bu=t9(!0),r9=t9(!1),bd=ue(null),cg=ue(0);function n9(c,p){c=Ls,pe(cg,c),pe(bd,p),Ls=c|p.baseLanes}function yF(){pe(cg,Ls),pe(bd,bd.current)}function vF(){Ls=cg.current,Ne(bd),Ne(cg)}var $i=ue(null),Bo=null;function kl(c){var p=c.alternate;pe(Un,Un.current&1),pe($i,c),Bo===null&&(p===null||bd.current!==null||p.memoizedState!==null)&&(Bo=c)}function a9(c){if(c.tag===22){if(pe(Un,Un.current),pe($i,c),Bo===null){var p=c.alternate;p!==null&&p.memoizedState!==null&&(Bo=c)}}else Cl()}function Cl(){pe(Un,Un.current),pe($i,$i.current)}function xs(c){Ne($i),Bo===c&&(Bo=null),Ne(Un)}var Un=ue(0);function dg(c){for(var p=c;p!==null;){if(p.tag===13){var g=p.memoizedState;if(g!==null&&(g=g.dehydrated,g===null||g.data==="$?"||g.data==="$!"))return p}else if(p.tag===19&&p.memoizedProps.revealOrder!==void 0){if(p.flags&128)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===c)break;for(;p.sibling===null;){if(p.return===null||p.return===c)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var Hce=typeof AbortController<"u"?AbortController:function(){var c=[],p=this.signal={aborted:!1,addEventListener:function(g,v){c.push(v)}};this.abort=function(){p.aborted=!0,c.forEach(function(g){return g()})}},Uce=e.unstable_scheduleCallback,Gce=e.unstable_NormalPriority,Gn={$$typeof:m,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function FF(){return{controller:new Hce,data:new Map,refCount:0}}function Hp(c){c.refCount--,c.refCount===0&&Uce(Gce,function(){c.controller.abort()})}var Up=null,EF=0,yd=0,vd=null;function $ce(c,p){if(Up===null){var g=Up=[];EF=0,yd=TE(),vd={status:"pending",value:void 0,then:function(v){g.push(v)}}}return EF++,p.then(i9,i9),p}function i9(){if(--EF===0&&Up!==null){vd!==null&&(vd.status="fulfilled");var c=Up;Up=null,yd=0,vd=null;for(var p=0;p<c.length;p++)(0,c[p])()}}function jce(c,p){var g=[],v={status:"pending",value:null,reason:null,then:function(k){g.push(k)}};return c.then(function(){v.status="fulfilled",v.value=p;for(var k=0;k<g.length;k++)(0,g[k])(p)},function(k){for(v.status="rejected",v.reason=k,k=0;k<g.length;k++)(0,g[k])(void 0)}),v}var o9=M.S;M.S=function(c,p){typeof p=="object"&&p!==null&&typeof p.then=="function"&&$ce(c,p),o9!==null&&o9(c,p)};var Pu=ue(null);function SF(){var c=Pu.current;return c!==null?c:Zr.pooledCache}function hg(c,p){p===null?pe(Pu,Pu.current):pe(Pu,p.pool)}function s9(){var c=SF();return c===null?null:{parent:Gn._currentValue,pool:c}}var Tl=0,mr=null,$r=null,An=null,pg=!1,Fd=!1,zu=!1,fg=0,Gp=0,Ed=null,qce=0;function xn(){throw Error(n(321))}function xF(c,p){if(p===null)return!1;for(var g=0;g<p.length&&g<c.length;g++)if(!pi(c[g],p[g]))return!1;return!0}function wF(c,p,g,v,k,R){return Tl=R,mr=p,p.memoizedState=null,p.updateQueue=null,p.lanes=0,M.H=c===null||c.memoizedState===null?Hu:Al,zu=!1,R=g(v,k),zu=!1,Fd&&(R=u9(p,g,v,k)),l9(c),R}function l9(c){M.H=Po;var p=$r!==null&&$r.next!==null;if(Tl=0,An=$r=mr=null,pg=!1,Gp=0,Ed=null,p)throw Error(n(300));c===null||Yn||(c=c.dependencies,c!==null&&xg(c)&&(Yn=!0))}function u9(c,p,g,v){mr=c;var k=0;do{if(Fd&&(Ed=null),Gp=0,Fd=!1,25<=k)throw Error(n(301));if(k+=1,An=$r=null,c.updateQueue!=null){var R=c.updateQueue;R.lastEffect=null,R.events=null,R.stores=null,R.memoCache!=null&&(R.memoCache.index=0)}M.H=Uu,R=p(g,v)}while(Fd);return R}function Wce(){var c=M.H,p=c.useState()[0];return p=typeof p.then=="function"?$p(p):p,c=c.useState()[0],($r!==null?$r.memoizedState:null)!==c&&(mr.flags|=1024),p}function kF(){var c=fg!==0;return fg=0,c}function CF(c,p,g){p.updateQueue=c.updateQueue,p.flags&=-2053,c.lanes&=~g}function TF(c){if(pg){for(c=c.memoizedState;c!==null;){var p=c.queue;p!==null&&(p.pending=null),c=c.next}pg=!1}Tl=0,An=$r=mr=null,Fd=!1,Gp=fg=0,Ed=null}function Ka(){var c={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return An===null?mr.memoizedState=An=c:An=An.next=c,An}function _n(){if($r===null){var c=mr.alternate;c=c!==null?c.memoizedState:null}else c=$r.next;var p=An===null?mr.memoizedState:An.next;if(p!==null)An=p,$r=c;else{if(c===null)throw mr.alternate===null?Error(n(467)):Error(n(310));$r=c,c={memoizedState:$r.memoizedState,baseState:$r.baseState,baseQueue:$r.baseQueue,queue:$r.queue,next:null},An===null?mr.memoizedState=An=c:An=An.next=c}return An}var mg;mg=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function $p(c){var p=Gp;return Gp+=1,Ed===null&&(Ed=[]),c=ZL(Ed,c,p),p=mr,(An===null?p.memoizedState:An.next)===null&&(p=p.alternate,M.H=p===null||p.memoizedState===null?Hu:Al),c}function gg(c){if(c!==null&&typeof c=="object"){if(typeof c.then=="function")return $p(c);if(c.$$typeof===m)return va(c)}throw Error(n(438,String(c)))}function AF(c){var p=null,g=mr.updateQueue;if(g!==null&&(p=g.memoCache),p==null){var v=mr.alternate;v!==null&&(v=v.updateQueue,v!==null&&(v=v.memoCache,v!=null&&(p={data:v.data.map(function(k){return k.slice()}),index:0})))}if(p==null&&(p={data:[],index:0}),g===null&&(g=mg(),mr.updateQueue=g),g.memoCache=p,g=p.data[p.index],g===void 0)for(g=p.data[p.index]=Array(c),v=0;v<c;v++)g[v]=_;return p.index++,g}function ws(c,p){return typeof p=="function"?p(c):p}function bg(c){var p=_n();return _F(p,$r,c)}function _F(c,p,g){var v=c.queue;if(v===null)throw Error(n(311));v.lastRenderedReducer=g;var k=c.baseQueue,R=v.pending;if(R!==null){if(k!==null){var Y=k.next;k.next=R.next,R.next=Y}p.baseQueue=k=R,v.pending=null}if(R=c.baseState,k===null)c.memoizedState=R;else{p=k.next;var ee=Y=null,se=null,ve=p,ze=!1;do{var We=ve.lane&-536870913;if(We!==ve.lane?(Dr&We)===We:(Tl&We)===We){var De=ve.revertLane;if(De===0)se!==null&&(se=se.next={lane:0,revertLane:0,action:ve.action,hasEagerState:ve.hasEagerState,eagerState:ve.eagerState,next:null}),We===yd&&(ze=!0);else if((Tl&De)===De){ve=ve.next,De===yd&&(ze=!0);continue}else We={lane:0,revertLane:ve.revertLane,action:ve.action,hasEagerState:ve.hasEagerState,eagerState:ve.eagerState,next:null},se===null?(ee=se=We,Y=R):se=se.next=We,mr.lanes|=De,Bl|=De;We=ve.action,zu&&g(R,We),R=ve.hasEagerState?ve.eagerState:g(R,We)}else De={lane:We,revertLane:ve.revertLane,action:ve.action,hasEagerState:ve.hasEagerState,eagerState:ve.eagerState,next:null},se===null?(ee=se=De,Y=R):se=se.next=De,mr.lanes|=We,Bl|=We;ve=ve.next}while(ve!==null&&ve!==p);if(se===null?Y=R:se.next=ee,!pi(R,c.memoizedState)&&(Yn=!0,ze&&(g=vd,g!==null)))throw g;c.memoizedState=R,c.baseState=Y,c.baseQueue=se,v.lastRenderedState=R}return k===null&&(v.lanes=0),[c.memoizedState,v.dispatch]}function DF(c){var p=_n(),g=p.queue;if(g===null)throw Error(n(311));g.lastRenderedReducer=c;var v=g.dispatch,k=g.pending,R=p.memoizedState;if(k!==null){g.pending=null;var Y=k=k.next;do R=c(R,Y.action),Y=Y.next;while(Y!==k);pi(R,p.memoizedState)||(Yn=!0),p.memoizedState=R,p.baseQueue===null&&(p.baseState=R),g.lastRenderedState=R}return[R,v]}function c9(c,p,g){var v=mr,k=_n(),R=Mr;if(R){if(g===void 0)throw Error(n(407));g=g()}else g=p();var Y=!pi(($r||k).memoizedState,g);if(Y&&(k.memoizedState=g,Yn=!0),k=k.queue,LF(p9.bind(null,v,k,c),[c]),k.getSnapshot!==p||Y||An!==null&&An.memoizedState.tag&1){if(v.flags|=2048,Sd(9,h9.bind(null,v,k,g,p),{destroy:void 0},null),Zr===null)throw Error(n(349));R||Tl&60||d9(v,p,g)}return g}function d9(c,p,g){c.flags|=16384,c={getSnapshot:p,value:g},p=mr.updateQueue,p===null?(p=mg(),mr.updateQueue=p,p.stores=[c]):(g=p.stores,g===null?p.stores=[c]:g.push(c))}function h9(c,p,g,v){p.value=g,p.getSnapshot=v,f9(p)&&m9(c)}function p9(c,p,g){return g(function(){f9(p)&&m9(c)})}function f9(c){var p=c.getSnapshot;c=c.value;try{var g=p();return!pi(c,g)}catch{return!0}}function m9(c){var p=wl(c,2);p!==null&&Ia(p,c,2)}function RF(c){var p=Ka();if(typeof c=="function"){var g=c;if(c=g(),zu){Fe(!0);try{g()}finally{Fe(!1)}}}return p.memoizedState=p.baseState=c,p.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ws,lastRenderedState:c},p}function g9(c,p,g,v){return c.baseState=g,_F(c,$r,typeof v=="function"?v:ws)}function Vce(c,p,g,v,k){if(Fg(c))throw Error(n(485));if(c=p.action,c!==null){var R={payload:k,action:c,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(Y){R.listeners.push(Y)}};M.T!==null?g(!0):R.isTransition=!1,v(R),g=p.pending,g===null?(R.next=p.pending=R,b9(p,R)):(R.next=g.next,p.pending=g.next=R)}}function b9(c,p){var g=p.action,v=p.payload,k=c.state;if(p.isTransition){var R=M.T,Y={};M.T=Y;try{var ee=g(k,v),se=M.S;se!==null&&se(Y,ee),y9(c,p,ee)}catch(ve){NF(c,p,ve)}finally{M.T=R}}else try{R=g(k,v),y9(c,p,R)}catch(ve){NF(c,p,ve)}}function y9(c,p,g){g!==null&&typeof g=="object"&&typeof g.then=="function"?g.then(function(v){v9(c,p,v)},function(v){return NF(c,p,v)}):v9(c,p,g)}function v9(c,p,g){p.status="fulfilled",p.value=g,F9(p),c.state=g,p=c.pending,p!==null&&(g=p.next,g===p?c.pending=null:(g=g.next,p.next=g,b9(c,g)))}function NF(c,p,g){var v=c.pending;if(c.pending=null,v!==null){v=v.next;do p.status="rejected",p.reason=g,F9(p),p=p.next;while(p!==v)}c.action=null}function F9(c){c=c.listeners;for(var p=0;p<c.length;p++)(0,c[p])()}function E9(c,p){return p}function S9(c,p){if(Mr){var g=Zr.formState;if(g!==null){e:{var v=mr;if(Mr){if(sa){t:{for(var k=sa,R=Oo;k.nodeType!==8;){if(!R){k=null;break t}if(k=mo(k.nextSibling),k===null){k=null;break t}}R=k.data,k=R==="F!"||R==="F"?k:null}if(k){sa=mo(k.nextSibling),v=k.data==="F!";break e}}Ou(v)}v=!1}v&&(p=g[0])}}return g=Ka(),g.memoizedState=g.baseState=p,v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:E9,lastRenderedState:p},g.queue=v,g=H9.bind(null,mr,v),v.dispatch=g,v=RF(!1),R=PF.bind(null,mr,!1,v.queue),v=Ka(),k={state:p,dispatch:null,action:c,pending:null},v.queue=k,g=Vce.bind(null,mr,k,R,g),k.dispatch=g,v.memoizedState=c,[p,g,!1]}function x9(c){var p=_n();return w9(p,$r,c)}function w9(c,p,g){p=_F(c,p,E9)[0],c=bg(ws)[0],p=typeof p=="object"&&p!==null&&typeof p.then=="function"?$p(p):p;var v=_n(),k=v.queue,R=k.dispatch;return g!==v.memoizedState&&(mr.flags|=2048,Sd(9,Kce.bind(null,k,g),{destroy:void 0},null)),[p,R,c]}function Kce(c,p){c.action=p}function k9(c){var p=_n(),g=$r;if(g!==null)return w9(p,g,c);_n(),p=p.memoizedState,g=_n();var v=g.queue.dispatch;return g.memoizedState=c,[p,v,!1]}function Sd(c,p,g,v){return c={tag:c,create:p,inst:g,deps:v,next:null},p=mr.updateQueue,p===null&&(p=mg(),mr.updateQueue=p),g=p.lastEffect,g===null?p.lastEffect=c.next=c:(v=g.next,g.next=c,c.next=v,p.lastEffect=c),c}function C9(){return _n().memoizedState}function yg(c,p,g,v){var k=Ka();mr.flags|=c,k.memoizedState=Sd(1|p,g,{destroy:void 0},v===void 0?null:v)}function vg(c,p,g,v){var k=_n();v=v===void 0?null:v;var R=k.memoizedState.inst;$r!==null&&v!==null&&xF(v,$r.memoizedState.deps)?k.memoizedState=Sd(p,g,R,v):(mr.flags|=c,k.memoizedState=Sd(1|p,g,R,v))}function T9(c,p){yg(8390656,8,c,p)}function LF(c,p){vg(2048,8,c,p)}function A9(c,p){return vg(4,2,c,p)}function _9(c,p){return vg(4,4,c,p)}function D9(c,p){if(typeof p=="function"){c=c();var g=p(c);return function(){typeof g=="function"?g():p(null)}}if(p!=null)return c=c(),p.current=c,function(){p.current=null}}function R9(c,p,g){g=g!=null?g.concat([c]):null,vg(4,4,D9.bind(null,p,c),g)}function MF(){}function N9(c,p){var g=_n();p=p===void 0?null:p;var v=g.memoizedState;return p!==null&&xF(p,v[1])?v[0]:(g.memoizedState=[c,p],c)}function L9(c,p){var g=_n();p=p===void 0?null:p;var v=g.memoizedState;if(p!==null&&xF(p,v[1]))return v[0];if(v=c(),zu){Fe(!0);try{c()}finally{Fe(!1)}}return g.memoizedState=[v,p],v}function IF(c,p,g){return g===void 0||Tl&1073741824?c.memoizedState=p:(c.memoizedState=g,c=IM(),mr.lanes|=c,Bl|=c,g)}function M9(c,p,g,v){return pi(g,p)?g:bd.current!==null?(c=IF(c,g,v),pi(c,p)||(Yn=!0),c):Tl&42?(c=IM(),mr.lanes|=c,Bl|=c,p):(Yn=!0,c.memoizedState=g)}function I9(c,p,g,v,k){var R=ne.p;ne.p=R!==0&&8>R?R:8;var Y=M.T,ee={};M.T=ee,PF(c,!1,p,g);try{var se=k(),ve=M.S;if(ve!==null&&ve(ee,se),se!==null&&typeof se=="object"&&typeof se.then=="function"){var ze=jce(se,v);jp(c,p,ze,bi(c))}else jp(c,p,v,bi(c))}catch(We){jp(c,p,{then:function(){},status:"rejected",reason:We},bi())}finally{ne.p=R,M.T=Y}}function Yce(){}function OF(c,p,g,v){if(c.tag!==5)throw Error(n(476));var k=O9(c).queue;I9(c,k,p,oe,g===null?Yce:function(){return B9(c),g(v)})}function O9(c){var p=c.memoizedState;if(p!==null)return p;p={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ws,lastRenderedState:oe},next:null};var g={};return p.next={memoizedState:g,baseState:g,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ws,lastRenderedState:g},next:null},c.memoizedState=p,c=c.alternate,c!==null&&(c.memoizedState=p),p}function B9(c){var p=O9(c).next.queue;jp(c,p,{},bi())}function BF(){return va(df)}function P9(){return _n().memoizedState}function z9(){return _n().memoizedState}function Xce(c){for(var p=c.return;p!==null;){switch(p.tag){case 24:case 3:var g=bi();c=Rl(g);var v=Nl(p,c,g);v!==null&&(Ia(v,p,g),Vp(v,p,g)),p={cache:FF()},c.payload=p;return}p=p.return}}function Jce(c,p,g){var v=bi();g={lane:v,revertLane:0,action:g,hasEagerState:!1,eagerState:null,next:null},Fg(c)?U9(p,g):(g=pF(c,p,g,v),g!==null&&(Ia(g,c,v),G9(g,p,v)))}function H9(c,p,g){var v=bi();jp(c,p,g,v)}function jp(c,p,g,v){var k={lane:v,revertLane:0,action:g,hasEagerState:!1,eagerState:null,next:null};if(Fg(c))U9(p,k);else{var R=c.alternate;if(c.lanes===0&&(R===null||R.lanes===0)&&(R=p.lastRenderedReducer,R!==null))try{var Y=p.lastRenderedState,ee=R(Y,g);if(k.hasEagerState=!0,k.eagerState=ee,pi(ee,Y))return ng(c,p,k,0),Zr===null&&rg(),!1}catch{}finally{}if(g=pF(c,p,k,v),g!==null)return Ia(g,c,v),G9(g,p,v),!0}return!1}function PF(c,p,g,v){if(v={lane:2,revertLane:TE(),action:v,hasEagerState:!1,eagerState:null,next:null},Fg(c)){if(p)throw Error(n(479))}else p=pF(c,g,v,2),p!==null&&Ia(p,c,2)}function Fg(c){var p=c.alternate;return c===mr||p!==null&&p===mr}function U9(c,p){Fd=pg=!0;var g=c.pending;g===null?p.next=p:(p.next=g.next,g.next=p),c.pending=p}function G9(c,p,g){if(g&4194176){var v=p.lanes;v&=c.pendingLanes,g|=v,p.lanes=g,gn(c,g)}}var Po={readContext:va,use:gg,useCallback:xn,useContext:xn,useEffect:xn,useImperativeHandle:xn,useLayoutEffect:xn,useInsertionEffect:xn,useMemo:xn,useReducer:xn,useRef:xn,useState:xn,useDebugValue:xn,useDeferredValue:xn,useTransition:xn,useSyncExternalStore:xn,useId:xn};Po.useCacheRefresh=xn,Po.useMemoCache=xn,Po.useHostTransitionStatus=xn,Po.useFormState=xn,Po.useActionState=xn,Po.useOptimistic=xn;var Hu={readContext:va,use:gg,useCallback:function(c,p){return Ka().memoizedState=[c,p===void 0?null:p],c},useContext:va,useEffect:T9,useImperativeHandle:function(c,p,g){g=g!=null?g.concat([c]):null,yg(4194308,4,D9.bind(null,p,c),g)},useLayoutEffect:function(c,p){return yg(4194308,4,c,p)},useInsertionEffect:function(c,p){yg(4,2,c,p)},useMemo:function(c,p){var g=Ka();p=p===void 0?null:p;var v=c();if(zu){Fe(!0);try{c()}finally{Fe(!1)}}return g.memoizedState=[v,p],v},useReducer:function(c,p,g){var v=Ka();if(g!==void 0){var k=g(p);if(zu){Fe(!0);try{g(p)}finally{Fe(!1)}}}else k=p;return v.memoizedState=v.baseState=k,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:c,lastRenderedState:k},v.queue=c,c=c.dispatch=Jce.bind(null,mr,c),[v.memoizedState,c]},useRef:function(c){var p=Ka();return c={current:c},p.memoizedState=c},useState:function(c){c=RF(c);var p=c.queue,g=H9.bind(null,mr,p);return p.dispatch=g,[c.memoizedState,g]},useDebugValue:MF,useDeferredValue:function(c,p){var g=Ka();return IF(g,c,p)},useTransition:function(){var c=RF(!1);return c=I9.bind(null,mr,c.queue,!0,!1),Ka().memoizedState=c,[!1,c]},useSyncExternalStore:function(c,p,g){var v=mr,k=Ka();if(Mr){if(g===void 0)throw Error(n(407));g=g()}else{if(g=p(),Zr===null)throw Error(n(349));Dr&60||d9(v,p,g)}k.memoizedState=g;var R={value:g,getSnapshot:p};return k.queue=R,T9(p9.bind(null,v,R,c),[c]),v.flags|=2048,Sd(9,h9.bind(null,v,R,g,p),{destroy:void 0},null),g},useId:function(){var c=Ka(),p=Zr.identifierPrefix;if(Mr){var g=Ss,v=Es;g=(v&~(1<<32-$e(v)-1)).toString(32)+g,p=":"+p+"R"+g,g=fg++,0<g&&(p+="H"+g.toString(32)),p+=":"}else g=qce++,p=":"+p+"r"+g.toString(32)+":";return c.memoizedState=p},useCacheRefresh:function(){return Ka().memoizedState=Xce.bind(null,mr)}};Hu.useMemoCache=AF,Hu.useHostTransitionStatus=BF,Hu.useFormState=S9,Hu.useActionState=S9,Hu.useOptimistic=function(c){var p=Ka();p.memoizedState=p.baseState=c;var g={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return p.queue=g,p=PF.bind(null,mr,!0,g),g.dispatch=p,[c,p]};var Al={readContext:va,use:gg,useCallback:N9,useContext:va,useEffect:LF,useImperativeHandle:R9,useInsertionEffect:A9,useLayoutEffect:_9,useMemo:L9,useReducer:bg,useRef:C9,useState:function(){return bg(ws)},useDebugValue:MF,useDeferredValue:function(c,p){var g=_n();return M9(g,$r.memoizedState,c,p)},useTransition:function(){var c=bg(ws)[0],p=_n().memoizedState;return[typeof c=="boolean"?c:$p(c),p]},useSyncExternalStore:c9,useId:P9};Al.useCacheRefresh=z9,Al.useMemoCache=AF,Al.useHostTransitionStatus=BF,Al.useFormState=x9,Al.useActionState=x9,Al.useOptimistic=function(c,p){var g=_n();return g9(g,$r,c,p)};var Uu={readContext:va,use:gg,useCallback:N9,useContext:va,useEffect:LF,useImperativeHandle:R9,useInsertionEffect:A9,useLayoutEffect:_9,useMemo:L9,useReducer:DF,useRef:C9,useState:function(){return DF(ws)},useDebugValue:MF,useDeferredValue:function(c,p){var g=_n();return $r===null?IF(g,c,p):M9(g,$r.memoizedState,c,p)},useTransition:function(){var c=DF(ws)[0],p=_n().memoizedState;return[typeof c=="boolean"?c:$p(c),p]},useSyncExternalStore:c9,useId:P9};Uu.useCacheRefresh=z9,Uu.useMemoCache=AF,Uu.useHostTransitionStatus=BF,Uu.useFormState=k9,Uu.useActionState=k9,Uu.useOptimistic=function(c,p){var g=_n();return $r!==null?g9(g,$r,c,p):(g.baseState=c,[c,g.queue.dispatch])};function zF(c,p,g,v){p=c.memoizedState,g=g(v,p),g=g==null?p:L({},p,g),c.memoizedState=g,c.lanes===0&&(c.updateQueue.baseState=g)}var HF={isMounted:function(c){return(c=c._reactInternals)?B(c)===c:!1},enqueueSetState:function(c,p,g){c=c._reactInternals;var v=bi(),k=Rl(v);k.payload=p,g!=null&&(k.callback=g),p=Nl(c,k,v),p!==null&&(Ia(p,c,v),Vp(p,c,v))},enqueueReplaceState:function(c,p,g){c=c._reactInternals;var v=bi(),k=Rl(v);k.tag=1,k.payload=p,g!=null&&(k.callback=g),p=Nl(c,k,v),p!==null&&(Ia(p,c,v),Vp(p,c,v))},enqueueForceUpdate:function(c,p){c=c._reactInternals;var g=bi(),v=Rl(g);v.tag=2,p!=null&&(v.callback=p),p=Nl(c,v,g),p!==null&&(Ia(p,c,g),Vp(p,c,g))}};function $9(c,p,g,v,k,R,Y){return c=c.stateNode,typeof c.shouldComponentUpdate=="function"?c.shouldComponentUpdate(v,R,Y):p.prototype&&p.prototype.isPureReactComponent?!Rp(g,v)||!Rp(k,R):!0}function j9(c,p,g,v){c=p.state,typeof p.componentWillReceiveProps=="function"&&p.componentWillReceiveProps(g,v),typeof p.UNSAFE_componentWillReceiveProps=="function"&&p.UNSAFE_componentWillReceiveProps(g,v),p.state!==c&&HF.enqueueReplaceState(p,p.state,null)}function Gu(c,p){var g=p;if("ref"in p){g={};for(var v in p)v!=="ref"&&(g[v]=p[v])}if(c=c.defaultProps){g===p&&(g=L({},g));for(var k in c)g[k]===void 0&&(g[k]=c[k])}return g}var Eg=typeof reportError=="function"?reportError:function(c){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var p=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof c=="object"&&c!==null&&typeof c.message=="string"?String(c.message):String(c),error:c});if(!window.dispatchEvent(p))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",c);return}console.error(c)};function q9(c){Eg(c)}function W9(c){console.error(c)}function V9(c){Eg(c)}function Sg(c,p){try{var g=c.onUncaughtError;g(p.value,{componentStack:p.stack})}catch(v){setTimeout(function(){throw v})}}function K9(c,p,g){try{var v=c.onCaughtError;v(g.value,{componentStack:g.stack,errorBoundary:p.tag===1?p.stateNode:null})}catch(k){setTimeout(function(){throw k})}}function UF(c,p,g){return g=Rl(g),g.tag=3,g.payload={element:null},g.callback=function(){Sg(c,p)},g}function Y9(c){return c=Rl(c),c.tag=3,c}function X9(c,p,g,v){var k=g.type.getDerivedStateFromError;if(typeof k=="function"){var R=v.value;c.payload=function(){return k(R)},c.callback=function(){K9(p,g,v)}}var Y=g.stateNode;Y!==null&&typeof Y.componentDidCatch=="function"&&(c.callback=function(){K9(p,g,v),typeof k!="function"&&(Pl===null?Pl=new Set([this]):Pl.add(this));var ee=v.stack;this.componentDidCatch(v.value,{componentStack:ee!==null?ee:""})})}function Zce(c,p,g,v,k){if(g.flags|=32768,v!==null&&typeof v=="object"&&typeof v.then=="function"){if(p=g.alternate,p!==null&&Wp(p,g,k,!0),g=$i.current,g!==null){switch(g.tag){case 13:return Bo===null?SE():g.alternate===null&&vn===0&&(vn=3),g.flags&=-257,g.flags|=65536,g.lanes=k,v===bF?g.flags|=16384:(p=g.updateQueue,p===null?g.updateQueue=new Set([v]):p.add(v),wE(c,v,k)),!1;case 22:return g.flags|=65536,v===bF?g.flags|=16384:(p=g.updateQueue,p===null?(p={transitions:null,markerInstances:null,retryQueue:new Set([v])},g.updateQueue=p):(g=p.retryQueue,g===null?p.retryQueue=new Set([v]):g.add(v)),wE(c,v,k)),!1}throw Error(n(435,g.tag))}return wE(c,v,k),SE(),!1}if(Mr)return p=$i.current,p!==null?(!(p.flags&65536)&&(p.flags|=256),p.flags|=65536,p.lanes=k,v!==gF&&(c=Error(n(422),{cause:v}),Ip(Hi(c,g)))):(v!==gF&&(p=Error(n(423),{cause:v}),Ip(Hi(p,g))),c=c.current.alternate,c.flags|=65536,k&=-k,c.lanes|=k,v=Hi(v,g),k=UF(c.stateNode,v,k),rE(c,k),vn!==4&&(vn=2)),!1;var R=Error(n(520),{cause:v});if(R=Hi(R,g),tf===null?tf=[R]:tf.push(R),vn!==4&&(vn=2),p===null)return!0;v=Hi(v,g),g=p;do{switch(g.tag){case 3:return g.flags|=65536,c=k&-k,g.lanes|=c,c=UF(g.stateNode,v,c),rE(g,c),!1;case 1:if(p=g.type,R=g.stateNode,(g.flags&128)===0&&(typeof p.getDerivedStateFromError=="function"||R!==null&&typeof R.componentDidCatch=="function"&&(Pl===null||!Pl.has(R))))return g.flags|=65536,k&=-k,g.lanes|=k,k=Y9(k),X9(k,c,g,v),rE(g,k),!1}g=g.return}while(g!==null);return!1}var J9=Error(n(461)),Yn=!1;function la(c,p,g,v){p.child=c===null?r9(p,null,g,v):Bu(p,c.child,g,v)}function Z9(c,p,g,v,k){g=g.render;var R=p.ref;if("ref"in v){var Y={};for(var ee in v)ee!=="ref"&&(Y[ee]=v[ee])}else Y=v;return ju(p),v=wF(c,p,g,Y,R,k),ee=kF(),c!==null&&!Yn?(CF(c,p,k),ks(c,p,k)):(Mr&&ee&&fF(p),p.flags|=1,la(c,p,v,k),p.child)}function Q9(c,p,g,v,k){if(c===null){var R=g.type;return typeof R=="function"&&!cE(R)&&R.defaultProps===void 0&&g.compare===null?(p.tag=15,p.type=R,eM(c,p,R,v,k)):(c=Tg(g.type,null,v,p,p.mode,k),c.ref=p.ref,c.return=p,p.child=c)}if(R=c.child,!XF(c,k)){var Y=R.memoizedProps;if(g=g.compare,g=g!==null?g:Rp,g(Y,v)&&c.ref===p.ref)return ks(c,p,k)}return p.flags|=1,c=Ol(R,v),c.ref=p.ref,c.return=p,p.child=c}function eM(c,p,g,v,k){if(c!==null){var R=c.memoizedProps;if(Rp(R,v)&&c.ref===p.ref)if(Yn=!1,p.pendingProps=v=R,XF(c,k))c.flags&131072&&(Yn=!0);else return p.lanes=c.lanes,ks(c,p,k)}return GF(c,p,g,v,k)}function tM(c,p,g){var v=p.pendingProps,k=v.children,R=(p.stateNode._pendingVisibility&2)!==0,Y=c!==null?c.memoizedState:null;if(qp(c,p),v.mode==="hidden"||R){if(p.flags&128){if(v=Y!==null?Y.baseLanes|g:g,c!==null){for(k=p.child=c.child,R=0;k!==null;)R=R|k.lanes|k.childLanes,k=k.sibling;p.childLanes=R&~v}else p.childLanes=0,p.child=null;return rM(c,p,v,g)}if(g&536870912)p.memoizedState={baseLanes:0,cachePool:null},c!==null&&hg(p,Y!==null?Y.cachePool:null),Y!==null?n9(p,Y):yF(),a9(p);else return p.lanes=p.childLanes=536870912,rM(c,p,Y!==null?Y.baseLanes|g:g,g)}else Y!==null?(hg(p,Y.cachePool),n9(p,Y),Cl(),p.memoizedState=null):(c!==null&&hg(p,null),yF(),Cl());return la(c,p,k,g),p.child}function rM(c,p,g,v){var k=SF();return k=k===null?null:{parent:Gn._currentValue,pool:k},p.memoizedState={baseLanes:g,cachePool:k},c!==null&&hg(p,null),yF(),a9(p),c!==null&&Wp(c,p,v,!0),null}function qp(c,p){var g=p.ref;if(g===null)c!==null&&c.ref!==null&&(p.flags|=2097664);else{if(typeof g!="function"&&typeof g!="object")throw Error(n(284));(c===null||c.ref!==g)&&(p.flags|=2097664)}}function GF(c,p,g,v,k){return ju(p),g=wF(c,p,g,v,void 0,k),v=kF(),c!==null&&!Yn?(CF(c,p,k),ks(c,p,k)):(Mr&&v&&fF(p),p.flags|=1,la(c,p,g,k),p.child)}function nM(c,p,g,v,k,R){return ju(p),p.updateQueue=null,g=u9(p,v,g,k),l9(c),v=kF(),c!==null&&!Yn?(CF(c,p,R),ks(c,p,R)):(Mr&&v&&fF(p),p.flags|=1,la(c,p,g,R),p.child)}function aM(c,p,g,v,k){if(ju(p),p.stateNode===null){var R=pd,Y=g.contextType;typeof Y=="object"&&Y!==null&&(R=va(Y)),R=new g(v,R),p.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,R.updater=HF,p.stateNode=R,R._reactInternals=p,R=p.stateNode,R.props=v,R.state=p.memoizedState,R.refs={},eE(p),Y=g.contextType,R.context=typeof Y=="object"&&Y!==null?va(Y):pd,R.state=p.memoizedState,Y=g.getDerivedStateFromProps,typeof Y=="function"&&(zF(p,g,Y,v),R.state=p.memoizedState),typeof g.getDerivedStateFromProps=="function"||typeof R.getSnapshotBeforeUpdate=="function"||typeof R.UNSAFE_componentWillMount!="function"&&typeof R.componentWillMount!="function"||(Y=R.state,typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount(),Y!==R.state&&HF.enqueueReplaceState(R,R.state,null),Yp(p,v,R,k),Kp(),R.state=p.memoizedState),typeof R.componentDidMount=="function"&&(p.flags|=4194308),v=!0}else if(c===null){R=p.stateNode;var ee=p.memoizedProps,se=Gu(g,ee);R.props=se;var ve=R.context,ze=g.contextType;Y=pd,typeof ze=="object"&&ze!==null&&(Y=va(ze));var We=g.getDerivedStateFromProps;ze=typeof We=="function"||typeof R.getSnapshotBeforeUpdate=="function",ee=p.pendingProps!==ee,ze||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(ee||ve!==Y)&&j9(p,R,v,Y),Dl=!1;var De=p.memoizedState;R.state=De,Yp(p,v,R,k),Kp(),ve=p.memoizedState,ee||De!==ve||Dl?(typeof We=="function"&&(zF(p,g,We,v),ve=p.memoizedState),(se=Dl||$9(p,g,se,v,De,ve,Y))?(ze||typeof R.UNSAFE_componentWillMount!="function"&&typeof R.componentWillMount!="function"||(typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount()),typeof R.componentDidMount=="function"&&(p.flags|=4194308)):(typeof R.componentDidMount=="function"&&(p.flags|=4194308),p.memoizedProps=v,p.memoizedState=ve),R.props=v,R.state=ve,R.context=Y,v=se):(typeof R.componentDidMount=="function"&&(p.flags|=4194308),v=!1)}else{R=p.stateNode,tE(c,p),Y=p.memoizedProps,ze=Gu(g,Y),R.props=ze,We=p.pendingProps,De=R.context,ve=g.contextType,se=pd,typeof ve=="object"&&ve!==null&&(se=va(ve)),ee=g.getDerivedStateFromProps,(ve=typeof ee=="function"||typeof R.getSnapshotBeforeUpdate=="function")||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(Y!==We||De!==se)&&j9(p,R,v,se),Dl=!1,De=p.memoizedState,R.state=De,Yp(p,v,R,k),Kp();var Be=p.memoizedState;Y!==We||De!==Be||Dl||c!==null&&c.dependencies!==null&&xg(c.dependencies)?(typeof ee=="function"&&(zF(p,g,ee,v),Be=p.memoizedState),(ze=Dl||$9(p,g,ze,v,De,Be,se)||c!==null&&c.dependencies!==null&&xg(c.dependencies))?(ve||typeof R.UNSAFE_componentWillUpdate!="function"&&typeof R.componentWillUpdate!="function"||(typeof R.componentWillUpdate=="function"&&R.componentWillUpdate(v,Be,se),typeof R.UNSAFE_componentWillUpdate=="function"&&R.UNSAFE_componentWillUpdate(v,Be,se)),typeof R.componentDidUpdate=="function"&&(p.flags|=4),typeof R.getSnapshotBeforeUpdate=="function"&&(p.flags|=1024)):(typeof R.componentDidUpdate!="function"||Y===c.memoizedProps&&De===c.memoizedState||(p.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||Y===c.memoizedProps&&De===c.memoizedState||(p.flags|=1024),p.memoizedProps=v,p.memoizedState=Be),R.props=v,R.state=Be,R.context=se,v=ze):(typeof R.componentDidUpdate!="function"||Y===c.memoizedProps&&De===c.memoizedState||(p.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||Y===c.memoizedProps&&De===c.memoizedState||(p.flags|=1024),v=!1)}return R=v,qp(c,p),v=(p.flags&128)!==0,R||v?(R=p.stateNode,g=v&&typeof g.getDerivedStateFromError!="function"?null:R.render(),p.flags|=1,c!==null&&v?(p.child=Bu(p,c.child,null,k),p.child=Bu(p,null,g,k)):la(c,p,g,k),p.memoizedState=R.state,c=p.child):c=ks(c,p,k),c}function iM(c,p,g,v){return Mp(),p.flags|=256,la(c,p,g,v),p.child}var $F={dehydrated:null,treeContext:null,retryLane:0};function jF(c){return{baseLanes:c,cachePool:s9()}}function qF(c,p,g){return c=c!==null?c.childLanes&~g:0,p&&(c|=Vi),c}function oM(c,p,g){var v=p.pendingProps,k=!1,R=(p.flags&128)!==0,Y;if((Y=R)||(Y=c!==null&&c.memoizedState===null?!1:(Un.current&2)!==0),Y&&(k=!0,p.flags&=-129),Y=(p.flags&32)!==0,p.flags&=-33,c===null){if(Mr){if(k?kl(p):Cl(),Mr){var ee=sa,se;if(se=ee){e:{for(se=ee,ee=Oo;se.nodeType!==8;){if(!ee){ee=null;break e}if(se=mo(se.nextSibling),se===null){ee=null;break e}}ee=se}ee!==null?(p.memoizedState={dehydrated:ee,treeContext:Mu!==null?{id:Es,overflow:Ss}:null,retryLane:536870912},se=Wi(18,null,null,0),se.stateNode=ee,se.return=p,p.child=se,Ma=p,sa=null,se=!0):se=!1}se||Ou(p)}if(ee=p.memoizedState,ee!==null&&(ee=ee.dehydrated,ee!==null))return ee.data==="$!"?p.lanes=16:p.lanes=536870912,null;xs(p)}return ee=v.children,v=v.fallback,k?(Cl(),k=p.mode,ee=VF({mode:"hidden",children:ee},k),v=Wu(v,k,g,null),ee.return=p,v.return=p,ee.sibling=v,p.child=ee,k=p.child,k.memoizedState=jF(g),k.childLanes=qF(c,Y,g),p.memoizedState=$F,v):(kl(p),WF(p,ee))}if(se=c.memoizedState,se!==null&&(ee=se.dehydrated,ee!==null)){if(R)p.flags&256?(kl(p),p.flags&=-257,p=KF(c,p,g)):p.memoizedState!==null?(Cl(),p.child=c.child,p.flags|=128,p=null):(Cl(),k=v.fallback,ee=p.mode,v=VF({mode:"visible",children:v.children},ee),k=Wu(k,ee,g,null),k.flags|=2,v.return=p,k.return=p,v.sibling=k,p.child=v,Bu(p,c.child,null,g),v=p.child,v.memoizedState=jF(g),v.childLanes=qF(c,Y,g),p.memoizedState=$F,p=k);else if(kl(p),ee.data==="$!"){if(Y=ee.nextSibling&&ee.nextSibling.dataset,Y)var ve=Y.dgst;Y=ve,v=Error(n(419)),v.stack="",v.digest=Y,Ip({value:v,source:null,stack:null}),p=KF(c,p,g)}else if(Yn||Wp(c,p,g,!1),Y=(g&c.childLanes)!==0,Yn||Y){if(Y=Zr,Y!==null){if(v=g&-g,v&42)v=1;else switch(v){case 2:v=1;break;case 8:v=4;break;case 32:v=16;break;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:v=64;break;case 268435456:v=134217728;break;default:v=0}if(v=v&(Y.suspendedLanes|g)?0:v,v!==0&&v!==se.retryLane)throw se.retryLane=v,wl(c,v),Ia(Y,c,v),J9}ee.data==="$?"||SE(),p=KF(c,p,g)}else ee.data==="$?"?(p.flags|=128,p.child=c.child,p=pde.bind(null,c),ee._reactRetry=p,p=null):(c=se.treeContext,sa=mo(ee.nextSibling),Ma=p,Mr=!0,po=null,Oo=!1,c!==null&&(Ui[Gi++]=Es,Ui[Gi++]=Ss,Ui[Gi++]=Mu,Es=c.id,Ss=c.overflow,Mu=p),p=WF(p,v.children),p.flags|=4096);return p}return k?(Cl(),k=v.fallback,ee=p.mode,se=c.child,ve=se.sibling,v=Ol(se,{mode:"hidden",children:v.children}),v.subtreeFlags=se.subtreeFlags&31457280,ve!==null?k=Ol(ve,k):(k=Wu(k,ee,g,null),k.flags|=2),k.return=p,v.return=p,v.sibling=k,p.child=v,v=k,k=p.child,ee=c.child.memoizedState,ee===null?ee=jF(g):(se=ee.cachePool,se!==null?(ve=Gn._currentValue,se=se.parent!==ve?{parent:ve,pool:ve}:se):se=s9(),ee={baseLanes:ee.baseLanes|g,cachePool:se}),k.memoizedState=ee,k.childLanes=qF(c,Y,g),p.memoizedState=$F,v):(kl(p),g=c.child,c=g.sibling,g=Ol(g,{mode:"visible",children:v.children}),g.return=p,g.sibling=null,c!==null&&(Y=p.deletions,Y===null?(p.deletions=[c],p.flags|=16):Y.push(c)),p.child=g,p.memoizedState=null,g)}function WF(c,p){return p=VF({mode:"visible",children:p},c.mode),p.return=c,c.child=p}function VF(c,p){return NM(c,p,0,null)}function KF(c,p,g){return Bu(p,c.child,null,g),c=WF(p,p.pendingProps.children),c.flags|=2,p.memoizedState=null,c}function sM(c,p,g){c.lanes|=p;var v=c.alternate;v!==null&&(v.lanes|=p),ZF(c.return,p,g)}function YF(c,p,g,v,k){var R=c.memoizedState;R===null?c.memoizedState={isBackwards:p,rendering:null,renderingStartTime:0,last:v,tail:g,tailMode:k}:(R.isBackwards=p,R.rendering=null,R.renderingStartTime=0,R.last=v,R.tail=g,R.tailMode=k)}function lM(c,p,g){var v=p.pendingProps,k=v.revealOrder,R=v.tail;if(la(c,p,v.children,g),v=Un.current,v&2)v=v&1|2,p.flags|=128;else{if(c!==null&&c.flags&128)e:for(c=p.child;c!==null;){if(c.tag===13)c.memoizedState!==null&&sM(c,g,p);else if(c.tag===19)sM(c,g,p);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===p)break e;for(;c.sibling===null;){if(c.return===null||c.return===p)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}v&=1}switch(pe(Un,v),k){case"forwards":for(g=p.child,k=null;g!==null;)c=g.alternate,c!==null&&dg(c)===null&&(k=g),g=g.sibling;g=k,g===null?(k=p.child,p.child=null):(k=g.sibling,g.sibling=null),YF(p,!1,k,g,R);break;case"backwards":for(g=null,k=p.child,p.child=null;k!==null;){if(c=k.alternate,c!==null&&dg(c)===null){p.child=k;break}c=k.sibling,k.sibling=g,g=k,k=c}YF(p,!0,g,null,R);break;case"together":YF(p,!1,null,null,void 0);break;default:p.memoizedState=null}return p.child}function ks(c,p,g){if(c!==null&&(p.dependencies=c.dependencies),Bl|=p.lanes,!(g&p.childLanes))if(c!==null){if(Wp(c,p,g,!1),(g&p.childLanes)===0)return null}else return null;if(c!==null&&p.child!==c.child)throw Error(n(153));if(p.child!==null){for(c=p.child,g=Ol(c,c.pendingProps),p.child=g,g.return=p;c.sibling!==null;)c=c.sibling,g=g.sibling=Ol(c,c.pendingProps),g.return=p;g.sibling=null}return p.child}function XF(c,p){return c.lanes&p?!0:(c=c.dependencies,!!(c!==null&&xg(c)))}function Qce(c,p,g){switch(p.tag){case 3:Re(p,p.stateNode.containerInfo),_l(p,Gn,c.memoizedState.cache),Mp();break;case 27:case 5:Ze(p);break;case 4:Re(p,p.stateNode.containerInfo);break;case 10:_l(p,p.type,p.memoizedProps.value);break;case 13:var v=p.memoizedState;if(v!==null)return v.dehydrated!==null?(kl(p),p.flags|=128,null):g&p.child.childLanes?oM(c,p,g):(kl(p),c=ks(c,p,g),c!==null?c.sibling:null);kl(p);break;case 19:var k=(c.flags&128)!==0;if(v=(g&p.childLanes)!==0,v||(Wp(c,p,g,!1),v=(g&p.childLanes)!==0),k){if(v)return lM(c,p,g);p.flags|=128}if(k=p.memoizedState,k!==null&&(k.rendering=null,k.tail=null,k.lastEffect=null),pe(Un,Un.current),v)break;return null;case 22:case 23:return p.lanes=0,tM(c,p,g);case 24:_l(p,Gn,c.memoizedState.cache)}return ks(c,p,g)}function uM(c,p,g){if(c!==null)if(c.memoizedProps!==p.pendingProps)Yn=!0;else{if(!XF(c,g)&&!(p.flags&128))return Yn=!1,Qce(c,p,g);Yn=!!(c.flags&131072)}else Yn=!1,Mr&&p.flags&1048576&&VL(p,og,p.index);switch(p.lanes=0,p.tag){case 16:e:{c=p.pendingProps;var v=p.elementType,k=v._init;if(v=k(v._payload),p.type=v,typeof v=="function")cE(v)?(c=Gu(v,c),p.tag=1,p=aM(null,p,v,c,g)):(p.tag=0,p=GF(null,p,v,c,g));else{if(v!=null){if(k=v.$$typeof,k===b){p.tag=11,p=Z9(null,p,v,c,g);break e}else if(k===x){p.tag=14,p=Q9(null,p,v,c,g);break e}}throw p=I(v)||v,Error(n(306,p,""))}}return p;case 0:return GF(c,p,p.type,p.pendingProps,g);case 1:return v=p.type,k=Gu(v,p.pendingProps),aM(c,p,v,k,g);case 3:e:{if(Re(p,p.stateNode.containerInfo),c===null)throw Error(n(387));var R=p.pendingProps;k=p.memoizedState,v=k.element,tE(c,p),Yp(p,R,null,g);var Y=p.memoizedState;if(R=Y.cache,_l(p,Gn,R),R!==k.cache&&QF(p,[Gn],g,!0),Kp(),R=Y.element,k.isDehydrated)if(k={element:R,isDehydrated:!1,cache:Y.cache},p.updateQueue.baseState=k,p.memoizedState=k,p.flags&256){p=iM(c,p,R,g);break e}else if(R!==v){v=Hi(Error(n(424)),p),Ip(v),p=iM(c,p,R,g);break e}else for(sa=mo(p.stateNode.containerInfo.firstChild),Ma=p,Mr=!0,po=null,Oo=!0,g=r9(p,null,R,g),p.child=g;g;)g.flags=g.flags&-3|4096,g=g.sibling;else{if(Mp(),R===v){p=ks(c,p,g);break e}la(c,p,R,g)}p=p.child}return p;case 26:return qp(c,p),c===null?(g=h8(p.type,null,p.pendingProps,null))?p.memoizedState=g:Mr||(g=p.type,c=p.pendingProps,v=zg(Ee.current).createElement(g),v[Hn]=p,v[an]=c,ua(v,g,c),Cr(v),p.stateNode=v):p.memoizedState=h8(p.type,c.memoizedProps,p.pendingProps,c.memoizedState),null;case 27:return Ze(p),c===null&&Mr&&(v=p.stateNode=u8(p.type,p.pendingProps,Ee.current),Ma=p,Oo=!0,sa=mo(v.firstChild)),v=p.pendingProps.children,c!==null||Mr?la(c,p,v,g):p.child=Bu(p,null,v,g),qp(c,p),p.child;case 5:return c===null&&Mr&&((k=v=sa)&&(v=_de(v,p.type,p.pendingProps,Oo),v!==null?(p.stateNode=v,Ma=p,sa=mo(v.firstChild),Oo=!1,k=!0):k=!1),k||Ou(p)),Ze(p),k=p.type,R=p.pendingProps,Y=c!==null?c.memoizedProps:null,v=R.children,OE(k,R)?v=null:Y!==null&&OE(k,Y)&&(p.flags|=32),p.memoizedState!==null&&(k=wF(c,p,Wce,null,null,g),df._currentValue=k),qp(c,p),la(c,p,v,g),p.child;case 6:return c===null&&Mr&&((c=g=sa)&&(g=Dde(g,p.pendingProps,Oo),g!==null?(p.stateNode=g,Ma=p,sa=null,c=!0):c=!1),c||Ou(p)),null;case 13:return oM(c,p,g);case 4:return Re(p,p.stateNode.containerInfo),v=p.pendingProps,c===null?p.child=Bu(p,null,v,g):la(c,p,v,g),p.child;case 11:return Z9(c,p,p.type,p.pendingProps,g);case 7:return la(c,p,p.pendingProps,g),p.child;case 8:return la(c,p,p.pendingProps.children,g),p.child;case 12:return la(c,p,p.pendingProps.children,g),p.child;case 10:return v=p.pendingProps,_l(p,p.type,v.value),la(c,p,v.children,g),p.child;case 9:return k=p.type._context,v=p.pendingProps.children,ju(p),k=va(k),v=v(k),p.flags|=1,la(c,p,v,g),p.child;case 14:return Q9(c,p,p.type,p.pendingProps,g);case 15:return eM(c,p,p.type,p.pendingProps,g);case 19:return lM(c,p,g);case 22:return tM(c,p,g);case 24:return ju(p),v=va(Gn),c===null?(k=SF(),k===null&&(k=Zr,R=FF(),k.pooledCache=R,R.refCount++,R!==null&&(k.pooledCacheLanes|=g),k=R),p.memoizedState={parent:v,cache:k},eE(p),_l(p,Gn,k)):(c.lanes&g&&(tE(c,p),Yp(p,null,null,g),Kp()),k=c.memoizedState,R=p.memoizedState,k.parent!==v?(k={parent:v,cache:v},p.memoizedState=k,p.lanes===0&&(p.memoizedState=p.updateQueue.baseState=k),_l(p,Gn,v)):(v=R.cache,_l(p,Gn,v),v!==k.cache&&QF(p,[Gn],g,!0))),la(c,p,p.pendingProps.children,g),p.child;case 29:throw p.pendingProps}throw Error(n(156,p.tag))}var JF=ue(null),$u=null,Cs=null;function _l(c,p,g){pe(JF,p._currentValue),p._currentValue=g}function Ts(c){c._currentValue=JF.current,Ne(JF)}function ZF(c,p,g){for(;c!==null;){var v=c.alternate;if((c.childLanes&p)!==p?(c.childLanes|=p,v!==null&&(v.childLanes|=p)):v!==null&&(v.childLanes&p)!==p&&(v.childLanes|=p),c===g)break;c=c.return}}function QF(c,p,g,v){var k=c.child;for(k!==null&&(k.return=c);k!==null;){var R=k.dependencies;if(R!==null){var Y=k.child;R=R.firstContext;e:for(;R!==null;){var ee=R;R=k;for(var se=0;se<p.length;se++)if(ee.context===p[se]){R.lanes|=g,ee=R.alternate,ee!==null&&(ee.lanes|=g),ZF(R.return,g,c),v||(Y=null);break e}R=ee.next}}else if(k.tag===18){if(Y=k.return,Y===null)throw Error(n(341));Y.lanes|=g,R=Y.alternate,R!==null&&(R.lanes|=g),ZF(Y,g,c),Y=null}else Y=k.child;if(Y!==null)Y.return=k;else for(Y=k;Y!==null;){if(Y===c){Y=null;break}if(k=Y.sibling,k!==null){k.return=Y.return,Y=k;break}Y=Y.return}k=Y}}function Wp(c,p,g,v){c=null;for(var k=p,R=!1;k!==null;){if(!R){if(k.flags&524288)R=!0;else if(k.flags&262144)break}if(k.tag===10){var Y=k.alternate;if(Y===null)throw Error(n(387));if(Y=Y.memoizedProps,Y!==null){var ee=k.type;pi(k.pendingProps.value,Y.value)||(c!==null?c.push(ee):c=[ee])}}else if(k===Te.current){if(Y=k.alternate,Y===null)throw Error(n(387));Y.memoizedState.memoizedState!==k.memoizedState.memoizedState&&(c!==null?c.push(df):c=[df])}k=k.return}c!==null&&QF(p,c,g,v),p.flags|=262144}function xg(c){for(c=c.firstContext;c!==null;){if(!pi(c.context._currentValue,c.memoizedValue))return!0;c=c.next}return!1}function ju(c){$u=c,Cs=null,c=c.dependencies,c!==null&&(c.firstContext=null)}function va(c){return cM($u,c)}function wg(c,p){return $u===null&&ju(c),cM(c,p)}function cM(c,p){var g=p._currentValue;if(p={context:p,memoizedValue:g,next:null},Cs===null){if(c===null)throw Error(n(308));Cs=p,c.dependencies={lanes:0,firstContext:p},c.flags|=524288}else Cs=Cs.next=p;return g}var Dl=!1;function eE(c){c.updateQueue={baseState:c.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function tE(c,p){c=c.updateQueue,p.updateQueue===c&&(p.updateQueue={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,callbacks:null})}function Rl(c){return{lane:c,tag:0,payload:null,callback:null,next:null}}function Nl(c,p,g){var v=c.updateQueue;if(v===null)return null;if(v=v.shared,dn&2){var k=v.pending;return k===null?p.next=p:(p.next=k.next,k.next=p),v.pending=p,p=ag(c),qL(c,null,g),p}return ng(c,v,p,g),ag(c)}function Vp(c,p,g){if(p=p.updateQueue,p!==null&&(p=p.shared,(g&4194176)!==0)){var v=p.lanes;v&=c.pendingLanes,g|=v,p.lanes=g,gn(c,g)}}function rE(c,p){var g=c.updateQueue,v=c.alternate;if(v!==null&&(v=v.updateQueue,g===v)){var k=null,R=null;if(g=g.firstBaseUpdate,g!==null){do{var Y={lane:g.lane,tag:g.tag,payload:g.payload,callback:null,next:null};R===null?k=R=Y:R=R.next=Y,g=g.next}while(g!==null);R===null?k=R=p:R=R.next=p}else k=R=p;g={baseState:v.baseState,firstBaseUpdate:k,lastBaseUpdate:R,shared:v.shared,callbacks:v.callbacks},c.updateQueue=g;return}c=g.lastBaseUpdate,c===null?g.firstBaseUpdate=p:c.next=p,g.lastBaseUpdate=p}var nE=!1;function Kp(){if(nE){var c=vd;if(c!==null)throw c}}function Yp(c,p,g,v){nE=!1;var k=c.updateQueue;Dl=!1;var R=k.firstBaseUpdate,Y=k.lastBaseUpdate,ee=k.shared.pending;if(ee!==null){k.shared.pending=null;var se=ee,ve=se.next;se.next=null,Y===null?R=ve:Y.next=ve,Y=se;var ze=c.alternate;ze!==null&&(ze=ze.updateQueue,ee=ze.lastBaseUpdate,ee!==Y&&(ee===null?ze.firstBaseUpdate=ve:ee.next=ve,ze.lastBaseUpdate=se))}if(R!==null){var We=k.baseState;Y=0,ze=ve=se=null,ee=R;do{var De=ee.lane&-536870913,Be=De!==ee.lane;if(Be?(Dr&De)===De:(v&De)===De){De!==0&&De===yd&&(nE=!0),ze!==null&&(ze=ze.next={lane:0,tag:ee.tag,payload:ee.payload,callback:null,next:null});e:{var Mt=c,sr=ee;De=p;var Fn=g;switch(sr.tag){case 1:if(Mt=sr.payload,typeof Mt=="function"){We=Mt.call(Fn,We,De);break e}We=Mt;break e;case 3:Mt.flags=Mt.flags&-65537|128;case 0:if(Mt=sr.payload,De=typeof Mt=="function"?Mt.call(Fn,We,De):Mt,De==null)break e;We=L({},We,De);break e;case 2:Dl=!0}}De=ee.callback,De!==null&&(c.flags|=64,Be&&(c.flags|=8192),Be=k.callbacks,Be===null?k.callbacks=[De]:Be.push(De))}else Be={lane:De,tag:ee.tag,payload:ee.payload,callback:ee.callback,next:null},ze===null?(ve=ze=Be,se=We):ze=ze.next=Be,Y|=De;if(ee=ee.next,ee===null){if(ee=k.shared.pending,ee===null)break;Be=ee,ee=Be.next,Be.next=null,k.lastBaseUpdate=Be,k.shared.pending=null}}while(!0);ze===null&&(se=We),k.baseState=se,k.firstBaseUpdate=ve,k.lastBaseUpdate=ze,R===null&&(k.shared.lanes=0),Bl|=Y,c.lanes=Y,c.memoizedState=We}}function dM(c,p){if(typeof c!="function")throw Error(n(191,c));c.call(p)}function hM(c,p){var g=c.callbacks;if(g!==null)for(c.callbacks=null,c=0;c<g.length;c++)dM(g[c],p)}function Xp(c,p){try{var g=p.updateQueue,v=g!==null?g.lastEffect:null;if(v!==null){var k=v.next;g=k;do{if((g.tag&c)===c){v=void 0;var R=g.create,Y=g.inst;v=R(),Y.destroy=v}g=g.next}while(g!==k)}}catch(ee){Wr(p,p.return,ee)}}function Ll(c,p,g){try{var v=p.updateQueue,k=v!==null?v.lastEffect:null;if(k!==null){var R=k.next;v=R;do{if((v.tag&c)===c){var Y=v.inst,ee=Y.destroy;if(ee!==void 0){Y.destroy=void 0,k=p;var se=g;try{ee()}catch(ve){Wr(k,se,ve)}}}v=v.next}while(v!==R)}}catch(ve){Wr(p,p.return,ve)}}function pM(c){var p=c.updateQueue;if(p!==null){var g=c.stateNode;try{hM(p,g)}catch(v){Wr(c,c.return,v)}}}function fM(c,p,g){g.props=Gu(c.type,c.memoizedProps),g.state=c.memoizedState;try{g.componentWillUnmount()}catch(v){Wr(c,p,v)}}function qu(c,p){try{var g=c.ref;if(g!==null){var v=c.stateNode;switch(c.tag){case 26:case 27:case 5:var k=v;break;default:k=v}typeof g=="function"?c.refCleanup=g(k):g.current=k}}catch(R){Wr(c,p,R)}}function fi(c,p){var g=c.ref,v=c.refCleanup;if(g!==null)if(typeof v=="function")try{v()}catch(k){Wr(c,p,k)}finally{c.refCleanup=null,c=c.alternate,c!=null&&(c.refCleanup=null)}else if(typeof g=="function")try{g(null)}catch(k){Wr(c,p,k)}else g.current=null}function mM(c){var p=c.type,g=c.memoizedProps,v=c.stateNode;try{e:switch(p){case"button":case"input":case"select":case"textarea":g.autoFocus&&v.focus();break e;case"img":g.src?v.src=g.src:g.srcSet&&(v.srcset=g.srcSet)}}catch(k){Wr(c,c.return,k)}}function gM(c,p,g){try{var v=c.stateNode;wde(v,c.type,g,p),v[an]=p}catch(k){Wr(c,c.return,k)}}function bM(c){return c.tag===5||c.tag===3||c.tag===26||c.tag===27||c.tag===4}function aE(c){e:for(;;){for(;c.sibling===null;){if(c.return===null||bM(c.return))return null;c=c.return}for(c.sibling.return=c.return,c=c.sibling;c.tag!==5&&c.tag!==6&&c.tag!==27&&c.tag!==18;){if(c.flags&2||c.child===null||c.tag===4)continue e;c.child.return=c,c=c.child}if(!(c.flags&2))return c.stateNode}}function iE(c,p,g){var v=c.tag;if(v===5||v===6)c=c.stateNode,p?g.nodeType===8?g.parentNode.insertBefore(c,p):g.insertBefore(c,p):(g.nodeType===8?(p=g.parentNode,p.insertBefore(c,g)):(p=g,p.appendChild(c)),g=g._reactRootContainer,g!=null||p.onclick!==null||(p.onclick=Pg));else if(v!==4&&v!==27&&(c=c.child,c!==null))for(iE(c,p,g),c=c.sibling;c!==null;)iE(c,p,g),c=c.sibling}function kg(c,p,g){var v=c.tag;if(v===5||v===6)c=c.stateNode,p?g.insertBefore(c,p):g.appendChild(c);else if(v!==4&&v!==27&&(c=c.child,c!==null))for(kg(c,p,g),c=c.sibling;c!==null;)kg(c,p,g),c=c.sibling}var As=!1,yn=!1,oE=!1,yM=typeof WeakSet=="function"?WeakSet:Set,Xn=null,vM=!1;function ede(c,p){if(c=c.containerInfo,ME=qg,c=OL(c),lF(c)){if("selectionStart"in c)var g={start:c.selectionStart,end:c.selectionEnd};else e:{g=(g=c.ownerDocument)&&g.defaultView||window;var v=g.getSelection&&g.getSelection();if(v&&v.rangeCount!==0){g=v.anchorNode;var k=v.anchorOffset,R=v.focusNode;v=v.focusOffset;try{g.nodeType,R.nodeType}catch{g=null;break e}var Y=0,ee=-1,se=-1,ve=0,ze=0,We=c,De=null;t:for(;;){for(var Be;We!==g||k!==0&&We.nodeType!==3||(ee=Y+k),We!==R||v!==0&&We.nodeType!==3||(se=Y+v),We.nodeType===3&&(Y+=We.nodeValue.length),(Be=We.firstChild)!==null;)De=We,We=Be;for(;;){if(We===c)break t;if(De===g&&++ve===k&&(ee=Y),De===R&&++ze===v&&(se=Y),(Be=We.nextSibling)!==null)break;We=De,De=We.parentNode}We=Be}g=ee===-1||se===-1?null:{start:ee,end:se}}else g=null}g=g||{start:0,end:0}}else g=null;for(IE={focusedElem:c,selectionRange:g},qg=!1,Xn=p;Xn!==null;)if(p=Xn,c=p.child,(p.subtreeFlags&1028)!==0&&c!==null)c.return=p,Xn=c;else for(;Xn!==null;){switch(p=Xn,R=p.alternate,c=p.flags,p.tag){case 0:break;case 11:case 15:break;case 1:if(c&1024&&R!==null){c=void 0,g=p,k=R.memoizedProps,R=R.memoizedState,v=g.stateNode;try{var Mt=Gu(g.type,k,g.elementType===g.type);c=v.getSnapshotBeforeUpdate(Mt,R),v.__reactInternalSnapshotBeforeUpdate=c}catch(sr){Wr(g,g.return,sr)}}break;case 3:if(c&1024){if(c=p.stateNode.containerInfo,g=c.nodeType,g===9)zE(c);else if(g===1)switch(c.nodeName){case"HEAD":case"HTML":case"BODY":zE(c);break;default:c.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(c&1024)throw Error(n(163))}if(c=p.sibling,c!==null){c.return=p.return,Xn=c;break}Xn=p.return}return Mt=vM,vM=!1,Mt}function FM(c,p,g){var v=g.flags;switch(g.tag){case 0:case 11:case 15:Ds(c,g),v&4&&Xp(5,g);break;case 1:if(Ds(c,g),v&4)if(c=g.stateNode,p===null)try{c.componentDidMount()}catch(ee){Wr(g,g.return,ee)}else{var k=Gu(g.type,p.memoizedProps);p=p.memoizedState;try{c.componentDidUpdate(k,p,c.__reactInternalSnapshotBeforeUpdate)}catch(ee){Wr(g,g.return,ee)}}v&64&&pM(g),v&512&&qu(g,g.return);break;case 3:if(Ds(c,g),v&64&&(v=g.updateQueue,v!==null)){if(c=null,g.child!==null)switch(g.child.tag){case 27:case 5:c=g.child.stateNode;break;case 1:c=g.child.stateNode}try{hM(v,c)}catch(ee){Wr(g,g.return,ee)}}break;case 26:Ds(c,g),v&512&&qu(g,g.return);break;case 27:case 5:Ds(c,g),p===null&&v&4&&mM(g),v&512&&qu(g,g.return);break;case 12:Ds(c,g);break;case 13:Ds(c,g),v&4&&xM(c,g);break;case 22:if(k=g.memoizedState!==null||As,!k){p=p!==null&&p.memoizedState!==null||yn;var R=As,Y=yn;As=k,(yn=p)&&!Y?Ml(c,g,(g.subtreeFlags&8772)!==0):Ds(c,g),As=R,yn=Y}v&512&&(g.memoizedProps.mode==="manual"?qu(g,g.return):fi(g,g.return));break;default:Ds(c,g)}}function EM(c){var p=c.alternate;p!==null&&(c.alternate=null,EM(p)),c.child=null,c.deletions=null,c.sibling=null,c.tag===5&&(p=c.stateNode,p!==null&&be(p)),c.stateNode=null,c.return=null,c.dependencies=null,c.memoizedProps=null,c.memoizedState=null,c.pendingProps=null,c.stateNode=null,c.updateQueue=null}var Dn=null,mi=!1;function _s(c,p,g){for(g=g.child;g!==null;)SM(c,p,g),g=g.sibling}function SM(c,p,g){if(Nt&&typeof Nt.onCommitFiberUnmount=="function")try{Nt.onCommitFiberUnmount(ar,g)}catch{}switch(g.tag){case 26:yn||fi(g,p),_s(c,p,g),g.memoizedState?g.memoizedState.count--:g.stateNode&&(g=g.stateNode,g.parentNode.removeChild(g));break;case 27:yn||fi(g,p);var v=Dn,k=mi;for(Dn=g.stateNode,_s(c,p,g),g=g.stateNode,p=g.attributes;p.length;)g.removeAttributeNode(p[0]);be(g),Dn=v,mi=k;break;case 5:yn||fi(g,p);case 6:k=Dn;var R=mi;if(Dn=null,_s(c,p,g),Dn=k,mi=R,Dn!==null)if(mi)try{c=Dn,v=g.stateNode,c.nodeType===8?c.parentNode.removeChild(v):c.removeChild(v)}catch(Y){Wr(g,p,Y)}else try{Dn.removeChild(g.stateNode)}catch(Y){Wr(g,p,Y)}break;case 18:Dn!==null&&(mi?(p=Dn,g=g.stateNode,p.nodeType===8?PE(p.parentNode,g):p.nodeType===1&&PE(p,g),mf(p)):PE(Dn,g.stateNode));break;case 4:v=Dn,k=mi,Dn=g.stateNode.containerInfo,mi=!0,_s(c,p,g),Dn=v,mi=k;break;case 0:case 11:case 14:case 15:yn||Ll(2,g,p),yn||Ll(4,g,p),_s(c,p,g);break;case 1:yn||(fi(g,p),v=g.stateNode,typeof v.componentWillUnmount=="function"&&fM(g,p,v)),_s(c,p,g);break;case 21:_s(c,p,g);break;case 22:yn||fi(g,p),yn=(v=yn)||g.memoizedState!==null,_s(c,p,g),yn=v;break;default:_s(c,p,g)}}function xM(c,p){if(p.memoizedState===null&&(c=p.alternate,c!==null&&(c=c.memoizedState,c!==null&&(c=c.dehydrated,c!==null))))try{mf(c)}catch(g){Wr(p,p.return,g)}}function tde(c){switch(c.tag){case 13:case 19:var p=c.stateNode;return p===null&&(p=c.stateNode=new yM),p;case 22:return c=c.stateNode,p=c._retryCache,p===null&&(p=c._retryCache=new yM),p;default:throw Error(n(435,c.tag))}}function sE(c,p){var g=tde(c);p.forEach(function(v){var k=fde.bind(null,c,v);g.has(v)||(g.add(v),v.then(k,k))})}function ji(c,p){var g=p.deletions;if(g!==null)for(var v=0;v<g.length;v++){var k=g[v],R=c,Y=p,ee=Y;e:for(;ee!==null;){switch(ee.tag){case 27:case 5:Dn=ee.stateNode,mi=!1;break e;case 3:Dn=ee.stateNode.containerInfo,mi=!0;break e;case 4:Dn=ee.stateNode.containerInfo,mi=!0;break e}ee=ee.return}if(Dn===null)throw Error(n(160));SM(R,Y,k),Dn=null,mi=!1,R=k.alternate,R!==null&&(R.return=null),k.return=null}if(p.subtreeFlags&13878)for(p=p.child;p!==null;)wM(p,c),p=p.sibling}var fo=null;function wM(c,p){var g=c.alternate,v=c.flags;switch(c.tag){case 0:case 11:case 14:case 15:ji(p,c),qi(c),v&4&&(Ll(3,c,c.return),Xp(3,c),Ll(5,c,c.return));break;case 1:ji(p,c),qi(c),v&512&&(yn||g===null||fi(g,g.return)),v&64&&As&&(c=c.updateQueue,c!==null&&(v=c.callbacks,v!==null&&(g=c.shared.hiddenCallbacks,c.shared.hiddenCallbacks=g===null?v:g.concat(v))));break;case 26:var k=fo;if(ji(p,c),qi(c),v&512&&(yn||g===null||fi(g,g.return)),v&4){var R=g!==null?g.memoizedState:null;if(v=c.memoizedState,g===null)if(v===null)if(c.stateNode===null){e:{v=c.type,g=c.memoizedProps,k=k.ownerDocument||k;t:switch(v){case"title":R=k.getElementsByTagName("title")[0],(!R||R[_t]||R[Hn]||R.namespaceURI==="http://www.w3.org/2000/svg"||R.hasAttribute("itemprop"))&&(R=k.createElement(v),k.head.insertBefore(R,k.querySelector("head > title"))),ua(R,v,g),R[Hn]=c,Cr(R),v=R;break e;case"link":var Y=m8("link","href",k).get(v+(g.href||""));if(Y){for(var ee=0;ee<Y.length;ee++)if(R=Y[ee],R.getAttribute("href")===(g.href==null?null:g.href)&&R.getAttribute("rel")===(g.rel==null?null:g.rel)&&R.getAttribute("title")===(g.title==null?null:g.title)&&R.getAttribute("crossorigin")===(g.crossOrigin==null?null:g.crossOrigin)){Y.splice(ee,1);break t}}R=k.createElement(v),ua(R,v,g),k.head.appendChild(R);break;case"meta":if(Y=m8("meta","content",k).get(v+(g.content||""))){for(ee=0;ee<Y.length;ee++)if(R=Y[ee],R.getAttribute("content")===(g.content==null?null:""+g.content)&&R.getAttribute("name")===(g.name==null?null:g.name)&&R.getAttribute("property")===(g.property==null?null:g.property)&&R.getAttribute("http-equiv")===(g.httpEquiv==null?null:g.httpEquiv)&&R.getAttribute("charset")===(g.charSet==null?null:g.charSet)){Y.splice(ee,1);break t}}R=k.createElement(v),ua(R,v,g),k.head.appendChild(R);break;default:throw Error(n(468,v))}R[Hn]=c,Cr(R),v=R}c.stateNode=v}else g8(k,c.type,c.stateNode);else c.stateNode=f8(k,v,c.memoizedProps);else R!==v?(R===null?g.stateNode!==null&&(g=g.stateNode,g.parentNode.removeChild(g)):R.count--,v===null?g8(k,c.type,c.stateNode):f8(k,v,c.memoizedProps)):v===null&&c.stateNode!==null&&gM(c,c.memoizedProps,g.memoizedProps)}break;case 27:if(v&4&&c.alternate===null){k=c.stateNode,R=c.memoizedProps;try{for(var se=k.firstChild;se;){var ve=se.nextSibling,ze=se.nodeName;se[_t]||ze==="HEAD"||ze==="BODY"||ze==="SCRIPT"||ze==="STYLE"||ze==="LINK"&&se.rel.toLowerCase()==="stylesheet"||k.removeChild(se),se=ve}for(var We=c.type,De=k.attributes;De.length;)k.removeAttributeNode(De[0]);ua(k,We,R),k[Hn]=c,k[an]=R}catch(Mt){Wr(c,c.return,Mt)}}case 5:if(ji(p,c),qi(c),v&512&&(yn||g===null||fi(g,g.return)),c.flags&32){k=c.stateNode;try{od(k,"")}catch(Mt){Wr(c,c.return,Mt)}}v&4&&c.stateNode!=null&&(k=c.memoizedProps,gM(c,k,g!==null?g.memoizedProps:k)),v&1024&&(oE=!0);break;case 6:if(ji(p,c),qi(c),v&4){if(c.stateNode===null)throw Error(n(162));v=c.memoizedProps,g=c.stateNode;try{g.nodeValue=v}catch(Mt){Wr(c,c.return,Mt)}}break;case 3:if(Gg=null,k=fo,fo=Hg(p.containerInfo),ji(p,c),fo=k,qi(c),v&4&&g!==null&&g.memoizedState.isDehydrated)try{mf(p.containerInfo)}catch(Mt){Wr(c,c.return,Mt)}oE&&(oE=!1,kM(c));break;case 4:v=fo,fo=Hg(c.stateNode.containerInfo),ji(p,c),qi(c),fo=v;break;case 12:ji(p,c),qi(c);break;case 13:ji(p,c),qi(c),c.child.flags&8192&&c.memoizedState!==null!=(g!==null&&g.memoizedState!==null)&&(gE=Pe()),v&4&&(v=c.updateQueue,v!==null&&(c.updateQueue=null,sE(c,v)));break;case 22:if(v&512&&(yn||g===null||fi(g,g.return)),se=c.memoizedState!==null,ve=g!==null&&g.memoizedState!==null,ze=As,We=yn,As=ze||se,yn=We||ve,ji(p,c),yn=We,As=ze,qi(c),p=c.stateNode,p._current=c,p._visibility&=-3,p._visibility|=p._pendingVisibility&2,v&8192&&(p._visibility=se?p._visibility&-2:p._visibility|1,se&&(p=As||yn,g===null||ve||p||xd(c)),c.memoizedProps===null||c.memoizedProps.mode!=="manual"))e:for(g=null,p=c;;){if(p.tag===5||p.tag===26||p.tag===27){if(g===null){ve=g=p;try{if(k=ve.stateNode,se)R=k.style,typeof R.setProperty=="function"?R.setProperty("display","none","important"):R.display="none";else{Y=ve.stateNode,ee=ve.memoizedProps.style;var Be=ee!=null&&ee.hasOwnProperty("display")?ee.display:null;Y.style.display=Be==null||typeof Be=="boolean"?"":(""+Be).trim()}}catch(Mt){Wr(ve,ve.return,Mt)}}}else if(p.tag===6){if(g===null){ve=p;try{ve.stateNode.nodeValue=se?"":ve.memoizedProps}catch(Mt){Wr(ve,ve.return,Mt)}}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===c)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===c)break e;for(;p.sibling===null;){if(p.return===null||p.return===c)break e;g===p&&(g=null),p=p.return}g===p&&(g=null),p.sibling.return=p.return,p=p.sibling}v&4&&(v=c.updateQueue,v!==null&&(g=v.retryQueue,g!==null&&(v.retryQueue=null,sE(c,g))));break;case 19:ji(p,c),qi(c),v&4&&(v=c.updateQueue,v!==null&&(c.updateQueue=null,sE(c,v)));break;case 21:break;default:ji(p,c),qi(c)}}function qi(c){var p=c.flags;if(p&2){try{if(c.tag!==27){e:{for(var g=c.return;g!==null;){if(bM(g)){var v=g;break e}g=g.return}throw Error(n(160))}switch(v.tag){case 27:var k=v.stateNode,R=aE(c);kg(c,R,k);break;case 5:var Y=v.stateNode;v.flags&32&&(od(Y,""),v.flags&=-33);var ee=aE(c);kg(c,ee,Y);break;case 3:case 4:var se=v.stateNode.containerInfo,ve=aE(c);iE(c,ve,se);break;default:throw Error(n(161))}}}catch(ze){Wr(c,c.return,ze)}c.flags&=-3}p&4096&&(c.flags&=-4097)}function kM(c){if(c.subtreeFlags&1024)for(c=c.child;c!==null;){var p=c;kM(p),p.tag===5&&p.flags&1024&&p.stateNode.reset(),c=c.sibling}}function Ds(c,p){if(p.subtreeFlags&8772)for(p=p.child;p!==null;)FM(c,p.alternate,p),p=p.sibling}function xd(c){for(c=c.child;c!==null;){var p=c;switch(p.tag){case 0:case 11:case 14:case 15:Ll(4,p,p.return),xd(p);break;case 1:fi(p,p.return);var g=p.stateNode;typeof g.componentWillUnmount=="function"&&fM(p,p.return,g),xd(p);break;case 26:case 27:case 5:fi(p,p.return),xd(p);break;case 22:fi(p,p.return),p.memoizedState===null&&xd(p);break;default:xd(p)}c=c.sibling}}function Ml(c,p,g){for(g=g&&(p.subtreeFlags&8772)!==0,p=p.child;p!==null;){var v=p.alternate,k=c,R=p,Y=R.flags;switch(R.tag){case 0:case 11:case 15:Ml(k,R,g),Xp(4,R);break;case 1:if(Ml(k,R,g),v=R,k=v.stateNode,typeof k.componentDidMount=="function")try{k.componentDidMount()}catch(ve){Wr(v,v.return,ve)}if(v=R,k=v.updateQueue,k!==null){var ee=v.stateNode;try{var se=k.shared.hiddenCallbacks;if(se!==null)for(k.shared.hiddenCallbacks=null,k=0;k<se.length;k++)dM(se[k],ee)}catch(ve){Wr(v,v.return,ve)}}g&&Y&64&&pM(R),qu(R,R.return);break;case 26:case 27:case 5:Ml(k,R,g),g&&v===null&&Y&4&&mM(R),qu(R,R.return);break;case 12:Ml(k,R,g);break;case 13:Ml(k,R,g),g&&Y&4&&xM(k,R);break;case 22:R.memoizedState===null&&Ml(k,R,g),qu(R,R.return);break;default:Ml(k,R,g)}p=p.sibling}}function lE(c,p){var g=null;c!==null&&c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),c=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(c=p.memoizedState.cachePool.pool),c!==g&&(c!=null&&c.refCount++,g!=null&&Hp(g))}function uE(c,p){c=null,p.alternate!==null&&(c=p.alternate.memoizedState.cache),p=p.memoizedState.cache,p!==c&&(p.refCount++,c!=null&&Hp(c))}function Il(c,p,g,v){if(p.subtreeFlags&10256)for(p=p.child;p!==null;)CM(c,p,g,v),p=p.sibling}function CM(c,p,g,v){var k=p.flags;switch(p.tag){case 0:case 11:case 15:Il(c,p,g,v),k&2048&&Xp(9,p);break;case 3:Il(c,p,g,v),k&2048&&(c=null,p.alternate!==null&&(c=p.alternate.memoizedState.cache),p=p.memoizedState.cache,p!==c&&(p.refCount++,c!=null&&Hp(c)));break;case 12:if(k&2048){Il(c,p,g,v),c=p.stateNode;try{var R=p.memoizedProps,Y=R.id,ee=R.onPostCommit;typeof ee=="function"&&ee(Y,p.alternate===null?"mount":"update",c.passiveEffectDuration,-0)}catch(se){Wr(p,p.return,se)}}else Il(c,p,g,v);break;case 23:break;case 22:R=p.stateNode,p.memoizedState!==null?R._visibility&4?Il(c,p,g,v):Jp(c,p):R._visibility&4?Il(c,p,g,v):(R._visibility|=4,wd(c,p,g,v,(p.subtreeFlags&10256)!==0)),k&2048&&lE(p.alternate,p);break;case 24:Il(c,p,g,v),k&2048&&uE(p.alternate,p);break;default:Il(c,p,g,v)}}function wd(c,p,g,v,k){for(k=k&&(p.subtreeFlags&10256)!==0,p=p.child;p!==null;){var R=c,Y=p,ee=g,se=v,ve=Y.flags;switch(Y.tag){case 0:case 11:case 15:wd(R,Y,ee,se,k),Xp(8,Y);break;case 23:break;case 22:var ze=Y.stateNode;Y.memoizedState!==null?ze._visibility&4?wd(R,Y,ee,se,k):Jp(R,Y):(ze._visibility|=4,wd(R,Y,ee,se,k)),k&&ve&2048&&lE(Y.alternate,Y);break;case 24:wd(R,Y,ee,se,k),k&&ve&2048&&uE(Y.alternate,Y);break;default:wd(R,Y,ee,se,k)}p=p.sibling}}function Jp(c,p){if(p.subtreeFlags&10256)for(p=p.child;p!==null;){var g=c,v=p,k=v.flags;switch(v.tag){case 22:Jp(g,v),k&2048&&lE(v.alternate,v);break;case 24:Jp(g,v),k&2048&&uE(v.alternate,v);break;default:Jp(g,v)}p=p.sibling}}var Zp=8192;function kd(c){if(c.subtreeFlags&Zp)for(c=c.child;c!==null;)TM(c),c=c.sibling}function TM(c){switch(c.tag){case 26:kd(c),c.flags&Zp&&c.memoizedState!==null&&$de(fo,c.memoizedState,c.memoizedProps);break;case 5:kd(c);break;case 3:case 4:var p=fo;fo=Hg(c.stateNode.containerInfo),kd(c),fo=p;break;case 22:c.memoizedState===null&&(p=c.alternate,p!==null&&p.memoizedState!==null?(p=Zp,Zp=16777216,kd(c),Zp=p):kd(c));break;default:kd(c)}}function AM(c){var p=c.alternate;if(p!==null&&(c=p.child,c!==null)){p.child=null;do p=c.sibling,c.sibling=null,c=p;while(c!==null)}}function Qp(c){var p=c.deletions;if(c.flags&16){if(p!==null)for(var g=0;g<p.length;g++){var v=p[g];Xn=v,DM(v,c)}AM(c)}if(c.subtreeFlags&10256)for(c=c.child;c!==null;)_M(c),c=c.sibling}function _M(c){switch(c.tag){case 0:case 11:case 15:Qp(c),c.flags&2048&&Ll(9,c,c.return);break;case 3:Qp(c);break;case 12:Qp(c);break;case 22:var p=c.stateNode;c.memoizedState!==null&&p._visibility&4&&(c.return===null||c.return.tag!==13)?(p._visibility&=-5,Cg(c)):Qp(c);break;default:Qp(c)}}function Cg(c){var p=c.deletions;if(c.flags&16){if(p!==null)for(var g=0;g<p.length;g++){var v=p[g];Xn=v,DM(v,c)}AM(c)}for(c=c.child;c!==null;){switch(p=c,p.tag){case 0:case 11:case 15:Ll(8,p,p.return),Cg(p);break;case 22:g=p.stateNode,g._visibility&4&&(g._visibility&=-5,Cg(p));break;default:Cg(p)}c=c.sibling}}function DM(c,p){for(;Xn!==null;){var g=Xn;switch(g.tag){case 0:case 11:case 15:Ll(8,g,p);break;case 23:case 22:if(g.memoizedState!==null&&g.memoizedState.cachePool!==null){var v=g.memoizedState.cachePool.pool;v!=null&&v.refCount++}break;case 24:Hp(g.memoizedState.cache)}if(v=g.child,v!==null)v.return=g,Xn=v;else e:for(g=c;Xn!==null;){v=Xn;var k=v.sibling,R=v.return;if(EM(v),v===g){Xn=null;break e}if(k!==null){k.return=R,Xn=k;break e}Xn=R}}}function rde(c,p,g,v){this.tag=c,this.key=g,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wi(c,p,g,v){return new rde(c,p,g,v)}function cE(c){return c=c.prototype,!(!c||!c.isReactComponent)}function Ol(c,p){var g=c.alternate;return g===null?(g=Wi(c.tag,p,c.key,c.mode),g.elementType=c.elementType,g.type=c.type,g.stateNode=c.stateNode,g.alternate=c,c.alternate=g):(g.pendingProps=p,g.type=c.type,g.flags=0,g.subtreeFlags=0,g.deletions=null),g.flags=c.flags&31457280,g.childLanes=c.childLanes,g.lanes=c.lanes,g.child=c.child,g.memoizedProps=c.memoizedProps,g.memoizedState=c.memoizedState,g.updateQueue=c.updateQueue,p=c.dependencies,g.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},g.sibling=c.sibling,g.index=c.index,g.ref=c.ref,g.refCleanup=c.refCleanup,g}function RM(c,p){c.flags&=31457282;var g=c.alternate;return g===null?(c.childLanes=0,c.lanes=p,c.child=null,c.subtreeFlags=0,c.memoizedProps=null,c.memoizedState=null,c.updateQueue=null,c.dependencies=null,c.stateNode=null):(c.childLanes=g.childLanes,c.lanes=g.lanes,c.child=g.child,c.subtreeFlags=0,c.deletions=null,c.memoizedProps=g.memoizedProps,c.memoizedState=g.memoizedState,c.updateQueue=g.updateQueue,c.type=g.type,p=g.dependencies,c.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext}),c}function Tg(c,p,g,v,k,R){var Y=0;if(v=c,typeof c=="function")cE(c)&&(Y=1);else if(typeof c=="string")Y=Ude(c,g,Le.current)?26:c==="html"||c==="head"||c==="body"?27:5;else e:switch(c){case l:return Wu(g.children,k,R,p);case u:Y=8,k|=24;break;case d:return c=Wi(12,g,p,k|2),c.elementType=d,c.lanes=R,c;case y:return c=Wi(13,g,p,k),c.elementType=y,c.lanes=R,c;case F:return c=Wi(19,g,p,k),c.elementType=F,c.lanes=R,c;case C:return NM(g,k,R,p);default:if(typeof c=="object"&&c!==null)switch(c.$$typeof){case h:case m:Y=10;break e;case f:Y=9;break e;case b:Y=11;break e;case x:Y=14;break e;case E:Y=16,v=null;break e}Y=29,g=Error(n(130,c===null?"null":typeof c,"")),v=null}return p=Wi(Y,g,p,k),p.elementType=c,p.type=v,p.lanes=R,p}function Wu(c,p,g,v){return c=Wi(7,c,v,p),c.lanes=g,c}function NM(c,p,g,v){c=Wi(22,c,v,p),c.elementType=C,c.lanes=g;var k={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var R=k._current;if(R===null)throw Error(n(456));if(!(k._pendingVisibility&2)){var Y=wl(R,2);Y!==null&&(k._pendingVisibility|=2,Ia(Y,R,2))}},attach:function(){var R=k._current;if(R===null)throw Error(n(456));if(k._pendingVisibility&2){var Y=wl(R,2);Y!==null&&(k._pendingVisibility&=-3,Ia(Y,R,2))}}};return c.stateNode=k,c}function dE(c,p,g){return c=Wi(6,c,null,p),c.lanes=g,c}function hE(c,p,g){return p=Wi(4,c.children!==null?c.children:[],c.key,p),p.lanes=g,p.stateNode={containerInfo:c.containerInfo,pendingChildren:null,implementation:c.implementation},p}function Rs(c){c.flags|=4}function LM(c,p){if(p.type!=="stylesheet"||p.state.loading&4)c.flags&=-16777217;else if(c.flags|=16777216,!b8(p)){if(p=$i.current,p!==null&&((Dr&4194176)===Dr?Bo!==null:(Dr&62914560)!==Dr&&!(Dr&536870912)||p!==Bo))throw Bp=bF,XL;c.flags|=8192}}function Ag(c,p){p!==null&&(c.flags|=4),c.flags&16384&&(p=c.tag!==22?aa():536870912,c.lanes|=p,Td|=p)}function ef(c,p){if(!Mr)switch(c.tailMode){case"hidden":p=c.tail;for(var g=null;p!==null;)p.alternate!==null&&(g=p),p=p.sibling;g===null?c.tail=null:g.sibling=null;break;case"collapsed":g=c.tail;for(var v=null;g!==null;)g.alternate!==null&&(v=g),g=g.sibling;v===null?p||c.tail===null?c.tail=null:c.tail.sibling=null:v.sibling=null}}function cn(c){var p=c.alternate!==null&&c.alternate.child===c.child,g=0,v=0;if(p)for(var k=c.child;k!==null;)g|=k.lanes|k.childLanes,v|=k.subtreeFlags&31457280,v|=k.flags&31457280,k.return=c,k=k.sibling;else for(k=c.child;k!==null;)g|=k.lanes|k.childLanes,v|=k.subtreeFlags,v|=k.flags,k.return=c,k=k.sibling;return c.subtreeFlags|=v,c.childLanes=g,p}function nde(c,p,g){var v=p.pendingProps;switch(mF(p),p.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return cn(p),null;case 1:return cn(p),null;case 3:return g=p.stateNode,v=null,c!==null&&(v=c.memoizedState.cache),p.memoizedState.cache!==v&&(p.flags|=2048),Ts(Gn),fe(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(c===null||c.child===null)&&(Lp(p)?Rs(p):c===null||c.memoizedState.isDehydrated&&!(p.flags&256)||(p.flags|=1024,po!==null&&(FE(po),po=null))),cn(p),null;case 26:return g=p.memoizedState,c===null?(Rs(p),g!==null?(cn(p),LM(p,g)):(cn(p),p.flags&=-16777217)):g?g!==c.memoizedState?(Rs(p),cn(p),LM(p,g)):(cn(p),p.flags&=-16777217):(c.memoizedProps!==v&&Rs(p),cn(p),p.flags&=-16777217),null;case 27:yt(p),g=Ee.current;var k=p.type;if(c!==null&&p.stateNode!=null)c.memoizedProps!==v&&Rs(p);else{if(!v){if(p.stateNode===null)throw Error(n(166));return cn(p),null}c=Le.current,Lp(p)?KL(p):(c=u8(k,v,g),p.stateNode=c,Rs(p))}return cn(p),null;case 5:if(yt(p),g=p.type,c!==null&&p.stateNode!=null)c.memoizedProps!==v&&Rs(p);else{if(!v){if(p.stateNode===null)throw Error(n(166));return cn(p),null}if(c=Le.current,Lp(p))KL(p);else{switch(k=zg(Ee.current),c){case 1:c=k.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:c=k.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":c=k.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":c=k.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":c=k.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof v.is=="string"?k.createElement("select",{is:v.is}):k.createElement("select"),v.multiple?c.multiple=!0:v.size&&(c.size=v.size);break;default:c=typeof v.is=="string"?k.createElement(g,{is:v.is}):k.createElement(g)}}c[Hn]=p,c[an]=v;e:for(k=p.child;k!==null;){if(k.tag===5||k.tag===6)c.appendChild(k.stateNode);else if(k.tag!==4&&k.tag!==27&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===p)break e;for(;k.sibling===null;){if(k.return===null||k.return===p)break e;k=k.return}k.sibling.return=k.return,k=k.sibling}p.stateNode=c;e:switch(ua(c,g,v),g){case"button":case"input":case"select":case"textarea":c=!!v.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Rs(p)}}return cn(p),p.flags&=-16777217,null;case 6:if(c&&p.stateNode!=null)c.memoizedProps!==v&&Rs(p);else{if(typeof v!="string"&&p.stateNode===null)throw Error(n(166));if(c=Ee.current,Lp(p)){if(c=p.stateNode,g=p.memoizedProps,v=null,k=Ma,k!==null)switch(k.tag){case 27:case 5:v=k.memoizedProps}c[Hn]=p,c=!!(c.nodeValue===g||v!==null&&v.suppressHydrationWarning===!0||n8(c.nodeValue,g)),c||Ou(p)}else c=zg(c).createTextNode(v),c[Hn]=p,p.stateNode=c}return cn(p),null;case 13:if(v=p.memoizedState,c===null||c.memoizedState!==null&&c.memoizedState.dehydrated!==null){if(k=Lp(p),v!==null&&v.dehydrated!==null){if(c===null){if(!k)throw Error(n(318));if(k=p.memoizedState,k=k!==null?k.dehydrated:null,!k)throw Error(n(317));k[Hn]=p}else Mp(),!(p.flags&128)&&(p.memoizedState=null),p.flags|=4;cn(p),k=!1}else po!==null&&(FE(po),po=null),k=!0;if(!k)return p.flags&256?(xs(p),p):(xs(p),null)}if(xs(p),p.flags&128)return p.lanes=g,p;if(g=v!==null,c=c!==null&&c.memoizedState!==null,g){v=p.child,k=null,v.alternate!==null&&v.alternate.memoizedState!==null&&v.alternate.memoizedState.cachePool!==null&&(k=v.alternate.memoizedState.cachePool.pool);var R=null;v.memoizedState!==null&&v.memoizedState.cachePool!==null&&(R=v.memoizedState.cachePool.pool),R!==k&&(v.flags|=2048)}return g!==c&&g&&(p.child.flags|=8192),Ag(p,p.updateQueue),cn(p),null;case 4:return fe(),c===null&&RE(p.stateNode.containerInfo),cn(p),null;case 10:return Ts(p.type),cn(p),null;case 19:if(Ne(Un),k=p.memoizedState,k===null)return cn(p),null;if(v=(p.flags&128)!==0,R=k.rendering,R===null)if(v)ef(k,!1);else{if(vn!==0||c!==null&&c.flags&128)for(c=p.child;c!==null;){if(R=dg(c),R!==null){for(p.flags|=128,ef(k,!1),c=R.updateQueue,p.updateQueue=c,Ag(p,c),p.subtreeFlags=0,c=g,g=p.child;g!==null;)RM(g,c),g=g.sibling;return pe(Un,Un.current&1|2),p.child}c=c.sibling}k.tail!==null&&Pe()>_g&&(p.flags|=128,v=!0,ef(k,!1),p.lanes=4194304)}else{if(!v)if(c=dg(R),c!==null){if(p.flags|=128,v=!0,c=c.updateQueue,p.updateQueue=c,Ag(p,c),ef(k,!0),k.tail===null&&k.tailMode==="hidden"&&!R.alternate&&!Mr)return cn(p),null}else 2*Pe()-k.renderingStartTime>_g&&g!==536870912&&(p.flags|=128,v=!0,ef(k,!1),p.lanes=4194304);k.isBackwards?(R.sibling=p.child,p.child=R):(c=k.last,c!==null?c.sibling=R:p.child=R,k.last=R)}return k.tail!==null?(p=k.tail,k.rendering=p,k.tail=p.sibling,k.renderingStartTime=Pe(),p.sibling=null,c=Un.current,pe(Un,v?c&1|2:c&1),p):(cn(p),null);case 22:case 23:return xs(p),vF(),v=p.memoizedState!==null,c!==null?c.memoizedState!==null!==v&&(p.flags|=8192):v&&(p.flags|=8192),v?g&536870912&&!(p.flags&128)&&(cn(p),p.subtreeFlags&6&&(p.flags|=8192)):cn(p),g=p.updateQueue,g!==null&&Ag(p,g.retryQueue),g=null,c!==null&&c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),v=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(v=p.memoizedState.cachePool.pool),v!==g&&(p.flags|=2048),c!==null&&Ne(Pu),null;case 24:return g=null,c!==null&&(g=c.memoizedState.cache),p.memoizedState.cache!==g&&(p.flags|=2048),Ts(Gn),cn(p),null;case 25:return null}throw Error(n(156,p.tag))}function ade(c,p){switch(mF(p),p.tag){case 1:return c=p.flags,c&65536?(p.flags=c&-65537|128,p):null;case 3:return Ts(Gn),fe(),c=p.flags,c&65536&&!(c&128)?(p.flags=c&-65537|128,p):null;case 26:case 27:case 5:return yt(p),null;case 13:if(xs(p),c=p.memoizedState,c!==null&&c.dehydrated!==null){if(p.alternate===null)throw Error(n(340));Mp()}return c=p.flags,c&65536?(p.flags=c&-65537|128,p):null;case 19:return Ne(Un),null;case 4:return fe(),null;case 10:return Ts(p.type),null;case 22:case 23:return xs(p),vF(),c!==null&&Ne(Pu),c=p.flags,c&65536?(p.flags=c&-65537|128,p):null;case 24:return Ts(Gn),null;case 25:return null;default:return null}}function MM(c,p){switch(mF(p),p.tag){case 3:Ts(Gn),fe();break;case 26:case 27:case 5:yt(p);break;case 4:fe();break;case 13:xs(p);break;case 19:Ne(Un);break;case 10:Ts(p.type);break;case 22:case 23:xs(p),vF(),c!==null&&Ne(Pu);break;case 24:Ts(Gn)}}var ide={getCacheForType:function(c){var p=va(Gn),g=p.data.get(c);return g===void 0&&(g=c(),p.data.set(c,g)),g}},ode=typeof WeakMap=="function"?WeakMap:Map,dn=0,Zr=null,xr=null,Dr=0,Qr=0,gi=null,Ns=!1,Cd=!1,pE=!1,Ls=0,vn=0,Bl=0,Vu=0,fE=0,Vi=0,Td=0,tf=null,zo=null,mE=!1,gE=0,_g=1/0,Dg=null,Pl=null,Rg=!1,Ku=null,rf=0,bE=0,yE=null,nf=0,vE=null;function bi(){if(dn&2&&Dr!==0)return Dr&-Dr;if(M.T!==null){var c=yd;return c!==0?c:TE()}return xp()}function IM(){Vi===0&&(Vi=!(Dr&536870912)||Mr?Gr():536870912);var c=$i.current;return c!==null&&(c.flags|=32),Vi}function Ia(c,p,g){(c===Zr&&Qr===2||c.cancelPendingCommit!==null)&&(Ad(c,0),Ms(c,Dr,Vi,!1)),ia(c,g),(!(dn&2)||c!==Zr)&&(c===Zr&&(!(dn&2)&&(Vu|=g),vn===4&&Ms(c,Dr,Vi,!1)),Ho(c))}function OM(c,p,g){if(dn&6)throw Error(n(327));var v=!g&&(p&60)===0&&(p&c.expiredLanes)===0||ft(c,p),k=v?ude(c,p):xE(c,p,!0),R=v;do{if(k===0){Cd&&!v&&Ms(c,p,0,!1);break}else if(k===6)Ms(c,p,0,!Ns);else{if(g=c.current.alternate,R&&!sde(g)){k=xE(c,p,!1),R=!1;continue}if(k===2){if(R=p,c.errorRecoveryDisabledLanes&R)var Y=0;else Y=c.pendingLanes&-536870913,Y=Y!==0?Y:Y&536870912?536870912:0;if(Y!==0){p=Y;e:{var ee=c;k=tf;var se=ee.current.memoizedState.isDehydrated;if(se&&(Ad(ee,Y).flags|=256),Y=xE(ee,Y,!1),Y!==2){if(pE&&!se){ee.errorRecoveryDisabledLanes|=R,Vu|=R,k=4;break e}R=zo,zo=k,R!==null&&FE(R)}k=Y}if(R=!1,k!==2)continue}}if(k===1){Ad(c,0),Ms(c,p,0,!0);break}e:{switch(v=c,k){case 0:case 1:throw Error(n(345));case 4:if((p&4194176)===p){Ms(v,p,Vi,!Ns);break e}break;case 2:zo=null;break;case 3:case 5:break;default:throw Error(n(329))}if(v.finishedWork=g,v.finishedLanes=p,(p&62914560)===p&&(R=gE+300-Pe(),10<R)){if(Ms(v,p,Vi,!Ns),ba(v,0)!==0)break e;v.timeoutHandle=o8(BM.bind(null,v,g,zo,Dg,mE,p,Vi,Vu,Td,Ns,2,-0,0),R);break e}BM(v,g,zo,Dg,mE,p,Vi,Vu,Td,Ns,0,-0,0)}}break}while(!0);Ho(c)}function FE(c){zo===null?zo=c:zo.push.apply(zo,c)}function BM(c,p,g,v,k,R,Y,ee,se,ve,ze,We,De){var Be=p.subtreeFlags;if((Be&8192||(Be&16785408)===16785408)&&(cf={stylesheets:null,count:0,unsuspend:Gde},TM(p),p=jde(),p!==null)){c.cancelPendingCommit=p(jM.bind(null,c,g,v,k,Y,ee,se,1,We,De)),Ms(c,R,Y,!ve);return}jM(c,g,v,k,Y,ee,se,ze,We,De)}function sde(c){for(var p=c;;){var g=p.tag;if((g===0||g===11||g===15)&&p.flags&16384&&(g=p.updateQueue,g!==null&&(g=g.stores,g!==null)))for(var v=0;v<g.length;v++){var k=g[v],R=k.getSnapshot;k=k.value;try{if(!pi(R(),k))return!1}catch{return!1}}if(g=p.child,p.subtreeFlags&16384&&g!==null)g.return=p,p=g;else{if(p===c)break;for(;p.sibling===null;){if(p.return===null||p.return===c)return!0;p=p.return}p.sibling.return=p.return,p=p.sibling}}return!0}function Ms(c,p,g,v){p&=~fE,p&=~Vu,c.suspendedLanes|=p,c.pingedLanes&=~p,v&&(c.warmLanes|=p),v=c.expirationTimes;for(var k=p;0<k;){var R=31-$e(k),Y=1<<R;v[R]=-1,k&=~Y}g!==0&&ya(c,g,p)}function Ng(){return dn&6?!0:(af(0),!1)}function EE(){if(xr!==null){if(Qr===0)var c=xr.return;else c=xr,Cs=$u=null,TF(c),gd=null,Pp=0,c=xr;for(;c!==null;)MM(c.alternate,c),c=c.return;xr=null}}function Ad(c,p){c.finishedWork=null,c.finishedLanes=0;var g=c.timeoutHandle;g!==-1&&(c.timeoutHandle=-1,Cde(g)),g=c.cancelPendingCommit,g!==null&&(c.cancelPendingCommit=null,g()),EE(),Zr=c,xr=g=Ol(c.current,null),Dr=p,Qr=0,gi=null,Ns=!1,Cd=ft(c,p),pE=!1,Td=Vi=fE=Vu=Bl=vn=0,zo=tf=null,mE=!1,p&8&&(p|=p&32);var v=c.entangledLanes;if(v!==0)for(c=c.entanglements,v&=p;0<v;){var k=31-$e(v),R=1<<k;p|=c[k],v&=~R}return Ls=p,rg(),g}function PM(c,p){mr=null,M.H=Po,p===Op?(p=QL(),Qr=3):p===XL?(p=QL(),Qr=4):Qr=p===J9?8:p!==null&&typeof p=="object"&&typeof p.then=="function"?6:1,gi=p,xr===null&&(vn=1,Sg(c,Hi(p,c.current)))}function zM(){var c=M.H;return M.H=Po,c===null?Po:c}function HM(){var c=M.A;return M.A=ide,c}function SE(){vn=4,Ns||(Dr&4194176)!==Dr&&$i.current!==null||(Cd=!0),!(Bl&134217727)&&!(Vu&134217727)||Zr===null||Ms(Zr,Dr,Vi,!1)}function xE(c,p,g){var v=dn;dn|=2;var k=zM(),R=HM();(Zr!==c||Dr!==p)&&(Dg=null,Ad(c,p)),p=!1;var Y=vn;e:do try{if(Qr!==0&&xr!==null){var ee=xr,se=gi;switch(Qr){case 8:EE(),Y=6;break e;case 3:case 2:case 6:$i.current===null&&(p=!0);var ve=Qr;if(Qr=0,gi=null,_d(c,ee,se,ve),g&&Cd){Y=0;break e}break;default:ve=Qr,Qr=0,gi=null,_d(c,ee,se,ve)}}lde(),Y=vn;break}catch(ze){PM(c,ze)}while(!0);return p&&c.shellSuspendCounter++,Cs=$u=null,dn=v,M.H=k,M.A=R,xr===null&&(Zr=null,Dr=0,rg()),Y}function lde(){for(;xr!==null;)UM(xr)}function ude(c,p){var g=dn;dn|=2;var v=zM(),k=HM();Zr!==c||Dr!==p?(Dg=null,_g=Pe()+500,Ad(c,p)):Cd=ft(c,p);e:do try{if(Qr!==0&&xr!==null){p=xr;var R=gi;t:switch(Qr){case 1:Qr=0,gi=null,_d(c,p,R,1);break;case 2:if(JL(R)){Qr=0,gi=null,GM(p);break}p=function(){Qr===2&&Zr===c&&(Qr=7),Ho(c)},R.then(p,p);break e;case 3:Qr=7;break e;case 4:Qr=5;break e;case 7:JL(R)?(Qr=0,gi=null,GM(p)):(Qr=0,gi=null,_d(c,p,R,7));break;case 5:var Y=null;switch(xr.tag){case 26:Y=xr.memoizedState;case 5:case 27:var ee=xr;if(!Y||b8(Y)){Qr=0,gi=null;var se=ee.sibling;if(se!==null)xr=se;else{var ve=ee.return;ve!==null?(xr=ve,Lg(ve)):xr=null}break t}}Qr=0,gi=null,_d(c,p,R,5);break;case 6:Qr=0,gi=null,_d(c,p,R,6);break;case 8:EE(),vn=6;break e;default:throw Error(n(462))}}cde();break}catch(ze){PM(c,ze)}while(!0);return Cs=$u=null,M.H=v,M.A=k,dn=g,xr!==null?0:(Zr=null,Dr=0,rg(),vn)}function cde(){for(;xr!==null&&!Yt();)UM(xr)}function UM(c){var p=uM(c.alternate,c,Ls);c.memoizedProps=c.pendingProps,p===null?Lg(c):xr=p}function GM(c){var p=c,g=p.alternate;switch(p.tag){case 15:case 0:p=nM(g,p,p.pendingProps,p.type,void 0,Dr);break;case 11:p=nM(g,p,p.pendingProps,p.type.render,p.ref,Dr);break;case 5:TF(p);default:MM(g,p),p=xr=RM(p,Ls),p=uM(g,p,Ls)}c.memoizedProps=c.pendingProps,p===null?Lg(c):xr=p}function _d(c,p,g,v){Cs=$u=null,TF(p),gd=null,Pp=0;var k=p.return;try{if(Zce(c,k,p,g,Dr)){vn=1,Sg(c,Hi(g,c.current)),xr=null;return}}catch(R){if(k!==null)throw xr=k,R;vn=1,Sg(c,Hi(g,c.current)),xr=null;return}p.flags&32768?(Mr||v===1?c=!0:Cd||Dr&536870912?c=!1:(Ns=c=!0,(v===2||v===3||v===6)&&(v=$i.current,v!==null&&v.tag===13&&(v.flags|=16384))),$M(p,c)):Lg(p)}function Lg(c){var p=c;do{if(p.flags&32768){$M(p,Ns);return}c=p.return;var g=nde(p.alternate,p,Ls);if(g!==null){xr=g;return}if(p=p.sibling,p!==null){xr=p;return}xr=p=c}while(p!==null);vn===0&&(vn=5)}function $M(c,p){do{var g=ade(c.alternate,c);if(g!==null){g.flags&=32767,xr=g;return}if(g=c.return,g!==null&&(g.flags|=32768,g.subtreeFlags=0,g.deletions=null),!p&&(c=c.sibling,c!==null)){xr=c;return}xr=c=g}while(c!==null);vn=6,xr=null}function jM(c,p,g,v,k,R,Y,ee,se,ve){var ze=M.T,We=ne.p;try{ne.p=2,M.T=null,dde(c,p,g,v,We,k,R,Y,ee,se,ve)}finally{M.T=ze,ne.p=We}}function dde(c,p,g,v,k,R,Y,ee){do Dd();while(Ku!==null);if(dn&6)throw Error(n(327));var se=c.finishedWork;if(v=c.finishedLanes,se===null)return null;if(c.finishedWork=null,c.finishedLanes=0,se===c.current)throw Error(n(177));c.callbackNode=null,c.callbackPriority=0,c.cancelPendingCommit=null;var ve=se.lanes|se.childLanes;if(ve|=hF,Mi(c,v,ve,R,Y,ee),c===Zr&&(xr=Zr=null,Dr=0),!(se.subtreeFlags&10256)&&!(se.flags&10256)||Rg||(Rg=!0,bE=ve,yE=g,mde(Ye,function(){return Dd(),null})),g=(se.flags&15990)!==0,se.subtreeFlags&15990||g?(g=M.T,M.T=null,R=ne.p,ne.p=2,Y=dn,dn|=4,ede(c,se),wM(se,c),Ice(IE,c.containerInfo),qg=!!ME,IE=ME=null,c.current=se,FM(c,se.alternate,se),nr(),dn=Y,ne.p=R,M.T=g):c.current=se,Rg?(Rg=!1,Ku=c,rf=v):qM(c,ve),ve=c.pendingLanes,ve===0&&(Pl=null),br(se.stateNode),Ho(c),p!==null)for(k=c.onRecoverableError,se=0;se<p.length;se++)ve=p[se],k(ve.value,{componentStack:ve.stack});return rf&3&&Dd(),ve=c.pendingLanes,v&4194218&&ve&42?c===vE?nf++:(nf=0,vE=c):nf=0,af(0),null}function qM(c,p){(c.pooledCacheLanes&=p)===0&&(p=c.pooledCache,p!=null&&(c.pooledCache=null,Hp(p)))}function Dd(){if(Ku!==null){var c=Ku,p=bE;bE=0;var g=Du(rf),v=M.T,k=ne.p;try{if(ne.p=32>g?32:g,M.T=null,Ku===null)var R=!1;else{g=yE,yE=null;var Y=Ku,ee=rf;if(Ku=null,rf=0,dn&6)throw Error(n(331));var se=dn;if(dn|=4,_M(Y.current),CM(Y,Y.current,ee,g),dn=se,af(0,!1),Nt&&typeof Nt.onPostCommitFiberRoot=="function")try{Nt.onPostCommitFiberRoot(ar,Y)}catch{}R=!0}return R}finally{ne.p=k,M.T=v,qM(c,p)}}return!1}function WM(c,p,g){p=Hi(g,p),p=UF(c.stateNode,p,2),c=Nl(c,p,2),c!==null&&(ia(c,2),Ho(c))}function Wr(c,p,g){if(c.tag===3)WM(c,c,g);else for(;p!==null;){if(p.tag===3){WM(p,c,g);break}else if(p.tag===1){var v=p.stateNode;if(typeof p.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(Pl===null||!Pl.has(v))){c=Hi(g,c),g=Y9(2),v=Nl(p,g,2),v!==null&&(X9(g,v,p,c),ia(v,2),Ho(v));break}}p=p.return}}function wE(c,p,g){var v=c.pingCache;if(v===null){v=c.pingCache=new ode;var k=new Set;v.set(p,k)}else k=v.get(p),k===void 0&&(k=new Set,v.set(p,k));k.has(g)||(pE=!0,k.add(g),c=hde.bind(null,c,p,g),p.then(c,c))}function hde(c,p,g){var v=c.pingCache;v!==null&&v.delete(p),c.pingedLanes|=c.suspendedLanes&g,c.warmLanes&=~g,Zr===c&&(Dr&g)===g&&(vn===4||vn===3&&(Dr&62914560)===Dr&&300>Pe()-gE?!(dn&2)&&Ad(c,0):fE|=g,Td===Dr&&(Td=0)),Ho(c)}function VM(c,p){p===0&&(p=aa()),c=wl(c,p),c!==null&&(ia(c,p),Ho(c))}function pde(c){var p=c.memoizedState,g=0;p!==null&&(g=p.retryLane),VM(c,g)}function fde(c,p){var g=0;switch(c.tag){case 13:var v=c.stateNode,k=c.memoizedState;k!==null&&(g=k.retryLane);break;case 19:v=c.stateNode;break;case 22:v=c.stateNode._retryCache;break;default:throw Error(n(314))}v!==null&&v.delete(p),VM(c,g)}function mde(c,p){return Ke(c,p)}var Mg=null,Rd=null,kE=!1,Ig=!1,CE=!1,Yu=0;function Ho(c){c!==Rd&&c.next===null&&(Rd===null?Mg=Rd=c:Rd=Rd.next=c),Ig=!0,kE||(kE=!0,bde(gde))}function af(c,p){if(!CE&&Ig){CE=!0;do for(var g=!1,v=Mg;v!==null;){if(c!==0){var k=v.pendingLanes;if(k===0)var R=0;else{var Y=v.suspendedLanes,ee=v.pingedLanes;R=(1<<31-$e(42|c)+1)-1,R&=k&~(Y&~ee),R=R&201326677?R&201326677|1:R?R|2:0}R!==0&&(g=!0,XM(v,R))}else R=Dr,R=ba(v,v===Zr?R:0),!(R&3)||ft(v,R)||(g=!0,XM(v,R));v=v.next}while(g);CE=!1}}function gde(){Ig=kE=!1;var c=0;Yu!==0&&(kde()&&(c=Yu),Yu=0);for(var p=Pe(),g=null,v=Mg;v!==null;){var k=v.next,R=KM(v,p);R===0?(v.next=null,g===null?Mg=k:g.next=k,k===null&&(Rd=g)):(g=v,(c!==0||R&3)&&(Ig=!0)),v=k}af(c)}function KM(c,p){for(var g=c.suspendedLanes,v=c.pingedLanes,k=c.expirationTimes,R=c.pendingLanes&-62914561;0<R;){var Y=31-$e(R),ee=1<<Y,se=k[Y];se===-1?(!(ee&g)||ee&v)&&(k[Y]=or(ee,p)):se<=p&&(c.expiredLanes|=ee),R&=~ee}if(p=Zr,g=Dr,g=ba(c,c===p?g:0),v=c.callbackNode,g===0||c===p&&Qr===2||c.cancelPendingCommit!==null)return v!==null&&v!==null&&xe(v),c.callbackNode=null,c.callbackPriority=0;if(!(g&3)||ft(c,g)){if(p=g&-g,p===c.callbackPriority)return p;switch(v!==null&&xe(v),Du(g)){case 2:case 8:g=ke;break;case 32:g=Ye;break;case 268435456:g=St;break;default:g=Ye}return v=YM.bind(null,c),g=Ke(g,v),c.callbackPriority=p,c.callbackNode=g,p}return v!==null&&v!==null&&xe(v),c.callbackPriority=2,c.callbackNode=null,2}function YM(c,p){var g=c.callbackNode;if(Dd()&&c.callbackNode!==g)return null;var v=Dr;return v=ba(c,c===Zr?v:0),v===0?null:(OM(c,v,p),KM(c,Pe()),c.callbackNode!=null&&c.callbackNode===g?YM.bind(null,c):null)}function XM(c,p){if(Dd())return null;OM(c,p,!0)}function bde(c){Tde(function(){dn&6?Ke(me,c):c()})}function TE(){return Yu===0&&(Yu=Gr()),Yu}function JM(c){return c==null||typeof c=="symbol"||typeof c=="boolean"?null:typeof c=="function"?c:Y0(""+c)}function ZM(c,p){var g=p.ownerDocument.createElement("input");return g.name=p.name,g.value=p.value,c.id&&g.setAttribute("form",c.id),p.parentNode.insertBefore(g,p),c=new FormData(c),g.parentNode.removeChild(g),c}function yde(c,p,g,v,k){if(p==="submit"&&g&&g.stateNode===k){var R=JM((k[an]||null).action),Y=v.submitter;Y&&(p=(p=Y[an]||null)?JM(p.formAction):Y.getAttribute("formAction"),p!==null&&(R=p,Y=null));var ee=new Q0("action","action",null,v,k);c.push({event:ee,listeners:[{instance:null,listener:function(){if(v.defaultPrevented){if(Yu!==0){var se=Y?ZM(k,Y):new FormData(k);OF(g,{pending:!0,data:se,method:k.method,action:R},null,se)}}else typeof R=="function"&&(ee.preventDefault(),se=Y?ZM(k,Y):new FormData(k),OF(g,{pending:!0,data:se,method:k.method,action:R},R,se))},currentTarget:k}]})}}for(var AE=0;AE<jL.length;AE++){var _E=jL[AE],vde=_E.toLowerCase(),Fde=_E[0].toUpperCase()+_E.slice(1);ho(vde,"on"+Fde)}ho(zL,"onAnimationEnd"),ho(HL,"onAnimationIteration"),ho(UL,"onAnimationStart"),ho("dblclick","onDoubleClick"),ho("focusin","onFocus"),ho("focusout","onBlur"),ho(Bce,"onTransitionRun"),ho(Pce,"onTransitionStart"),ho(zce,"onTransitionCancel"),ho(GL,"onTransitionEnd"),bn("onMouseEnter",["mouseout","mouseover"]),bn("onMouseLeave",["mouseout","mouseover"]),bn("onPointerEnter",["pointerout","pointerover"]),bn("onPointerLeave",["pointerout","pointerover"]),hi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),hi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),hi("onBeforeInput",["compositionend","keypress","textInput","paste"]),hi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),hi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),hi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var of="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(" "),Ede=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(of));function QM(c,p){p=(p&4)!==0;for(var g=0;g<c.length;g++){var v=c[g],k=v.event;v=v.listeners;e:{var R=void 0;if(p)for(var Y=v.length-1;0<=Y;Y--){var ee=v[Y],se=ee.instance,ve=ee.currentTarget;if(ee=ee.listener,se!==R&&k.isPropagationStopped())break e;R=ee,k.currentTarget=ve;try{R(k)}catch(ze){Eg(ze)}k.currentTarget=null,R=se}else for(Y=0;Y<v.length;Y++){if(ee=v[Y],se=ee.instance,ve=ee.currentTarget,ee=ee.listener,se!==R&&k.isPropagationStopped())break e;R=ee,k.currentTarget=ve;try{R(k)}catch(ze){Eg(ze)}k.currentTarget=null,R=se}}}}function Ar(c,p){var g=p[ad];g===void 0&&(g=p[ad]=new Set);var v=c+"__bubble";g.has(v)||(e8(p,c,2,!1),g.add(v))}function DE(c,p,g){var v=0;p&&(v|=4),e8(g,c,v,p)}var Og="_reactListening"+Math.random().toString(36).slice(2);function RE(c){if(!c[Og]){c[Og]=!0,oa.forEach(function(g){g!=="selectionchange"&&(Ede.has(g)||DE(g,!1,c),DE(g,!0,c))});var p=c.nodeType===9?c:c.ownerDocument;p===null||p[Og]||(p[Og]=!0,DE("selectionchange",!1,p))}}function e8(c,p,g,v){switch(x8(p)){case 2:var k=Vde;break;case 8:k=Kde;break;default:k=jE}g=k.bind(null,p,g,c),k=void 0,!Q2||p!=="touchstart"&&p!=="touchmove"&&p!=="wheel"||(k=!0),v?k!==void 0?c.addEventListener(p,g,{capture:!0,passive:k}):c.addEventListener(p,g,!0):k!==void 0?c.addEventListener(p,g,{passive:k}):c.addEventListener(p,g,!1)}function NE(c,p,g,v,k){var R=v;if(!(p&1)&&!(p&2)&&v!==null)e:for(;;){if(v===null)return;var Y=v.tag;if(Y===3||Y===4){var ee=v.stateNode.containerInfo;if(ee===k||ee.nodeType===8&&ee.parentNode===k)break;if(Y===4)for(Y=v.return;Y!==null;){var se=Y.tag;if((se===3||se===4)&&(se=Y.stateNode.containerInfo,se===k||se.nodeType===8&&se.parentNode===k))return;Y=Y.return}for(;ee!==null;){if(Y=et(ee),Y===null)return;if(se=Y.tag,se===5||se===6||se===26||se===27){v=R=Y;continue e}ee=ee.parentNode}}v=v.return}mL(function(){var ve=R,ze=J2(g),We=[];e:{var De=$L.get(c);if(De!==void 0){var Be=Q0,Mt=c;switch(c){case"keypress":if(J0(g)===0)break e;case"keydown":case"keyup":Be=fce;break;case"focusin":Mt="focus",Be=nF;break;case"focusout":Mt="blur",Be=nF;break;case"beforeblur":case"afterblur":Be=nF;break;case"click":if(g.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Be=yL;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Be=rce;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Be=bce;break;case zL:case HL:case UL:Be=ice;break;case GL:Be=vce;break;case"scroll":case"scrollend":Be=ece;break;case"wheel":Be=Ece;break;case"copy":case"cut":case"paste":Be=sce;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Be=FL;break;case"toggle":case"beforetoggle":Be=xce}var sr=(p&4)!==0,Fn=!sr&&(c==="scroll"||c==="scrollend"),Se=sr?De!==null?De+"Capture":null:De;sr=[];for(var ye=ve,Ae;ye!==null;){var He=ye;if(Ae=He.stateNode,He=He.tag,He!==5&&He!==26&&He!==27||Ae===null||Se===null||(He=wp(ye,Se),He!=null&&sr.push(sf(ye,He,Ae))),Fn)break;ye=ye.return}0<sr.length&&(De=new Be(De,Mt,null,g,ze),We.push({event:De,listeners:sr}))}}if(!(p&7)){e:{if(De=c==="mouseover"||c==="pointerover",Be=c==="mouseout"||c==="pointerout",De&&g!==X2&&(Mt=g.relatedTarget||g.fromElement)&&(et(Mt)||Mt[vs]))break e;if((Be||De)&&(De=ze.window===ze?ze:(De=ze.ownerDocument)?De.defaultView||De.parentWindow:window,Be?(Mt=g.relatedTarget||g.toElement,Be=ve,Mt=Mt?et(Mt):null,Mt!==null&&(Fn=B(Mt),sr=Mt.tag,Mt!==Fn||sr!==5&&sr!==27&&sr!==6)&&(Mt=null)):(Be=null,Mt=ve),Be!==Mt)){if(sr=yL,He="onMouseLeave",Se="onMouseEnter",ye="mouse",(c==="pointerout"||c==="pointerover")&&(sr=FL,He="onPointerLeave",Se="onPointerEnter",ye="pointer"),Fn=Be==null?De:zr(Be),Ae=Mt==null?De:zr(Mt),De=new sr(He,ye+"leave",Be,g,ze),De.target=Fn,De.relatedTarget=Ae,He=null,et(ze)===ve&&(sr=new sr(Se,ye+"enter",Mt,g,ze),sr.target=Ae,sr.relatedTarget=Fn,He=sr),Fn=He,Be&&Mt)t:{for(sr=Be,Se=Mt,ye=0,Ae=sr;Ae;Ae=Nd(Ae))ye++;for(Ae=0,He=Se;He;He=Nd(He))Ae++;for(;0<ye-Ae;)sr=Nd(sr),ye--;for(;0<Ae-ye;)Se=Nd(Se),Ae--;for(;ye--;){if(sr===Se||Se!==null&&sr===Se.alternate)break t;sr=Nd(sr),Se=Nd(Se)}sr=null}else sr=null;Be!==null&&t8(We,De,Be,sr,!1),Mt!==null&&Fn!==null&&t8(We,Fn,Mt,sr,!0)}}e:{if(De=ve?zr(ve):window,Be=De.nodeName&&De.nodeName.toLowerCase(),Be==="select"||Be==="input"&&De.type==="file")var wt=AL;else if(CL(De))if(_L)wt=Lce;else{wt=Rce;var yr=Dce}else Be=De.nodeName,!Be||Be.toLowerCase()!=="input"||De.type!=="checkbox"&&De.type!=="radio"?ve&&Y2(ve.elementType)&&(wt=AL):wt=Nce;if(wt&&(wt=wt(c,ve))){TL(We,wt,g,ze);break e}yr&&yr(c,De,ve),c==="focusout"&&ve&&De.type==="number"&&ve.memoizedProps.value!=null&&K2(De,"number",De.value)}switch(yr=ve?zr(ve):window,c){case"focusin":(CL(yr)||yr.contentEditable==="true")&&(cd=yr,uF=ve,Np=null);break;case"focusout":Np=uF=cd=null;break;case"mousedown":cF=!0;break;case"contextmenu":case"mouseup":case"dragend":cF=!1,BL(We,g,ze);break;case"selectionchange":if(Oce)break;case"keydown":case"keyup":BL(We,g,ze)}var Ht;if(iF)e:{switch(c){case"compositionstart":var Vt="onCompositionStart";break e;case"compositionend":Vt="onCompositionEnd";break e;case"compositionupdate":Vt="onCompositionUpdate";break e}Vt=void 0}else ud?wL(c,g)&&(Vt="onCompositionEnd"):c==="keydown"&&g.keyCode===229&&(Vt="onCompositionStart");Vt&&(EL&&g.locale!=="ko"&&(ud||Vt!=="onCompositionStart"?Vt==="onCompositionEnd"&&ud&&(Ht=gL()):(xl=ze,eF="value"in xl?xl.value:xl.textContent,ud=!0)),yr=Bg(ve,Vt),0<yr.length&&(Vt=new vL(Vt,c,null,g,ze),We.push({event:Vt,listeners:yr}),Ht?Vt.data=Ht:(Ht=kL(g),Ht!==null&&(Vt.data=Ht)))),(Ht=kce?Cce(c,g):Tce(c,g))&&(Vt=Bg(ve,"onBeforeInput"),0<Vt.length&&(yr=new vL("onBeforeInput","beforeinput",null,g,ze),We.push({event:yr,listeners:Vt}),yr.data=Ht)),yde(We,c,ve,g,ze)}QM(We,p)})}function sf(c,p,g){return{instance:c,listener:p,currentTarget:g}}function Bg(c,p){for(var g=p+"Capture",v=[];c!==null;){var k=c,R=k.stateNode;k=k.tag,k!==5&&k!==26&&k!==27||R===null||(k=wp(c,g),k!=null&&v.unshift(sf(c,k,R)),k=wp(c,p),k!=null&&v.push(sf(c,k,R))),c=c.return}return v}function Nd(c){if(c===null)return null;do c=c.return;while(c&&c.tag!==5&&c.tag!==27);return c||null}function t8(c,p,g,v,k){for(var R=p._reactName,Y=[];g!==null&&g!==v;){var ee=g,se=ee.alternate,ve=ee.stateNode;if(ee=ee.tag,se!==null&&se===v)break;ee!==5&&ee!==26&&ee!==27||ve===null||(se=ve,k?(ve=wp(g,R),ve!=null&&Y.unshift(sf(g,ve,se))):k||(ve=wp(g,R),ve!=null&&Y.push(sf(g,ve,se)))),g=g.return}Y.length!==0&&c.push({event:p,listeners:Y})}var Sde=/\r\n?/g,xde=/\u0000|\uFFFD/g;function r8(c){return(typeof c=="string"?c:""+c).replace(Sde,`
|
||
`).replace(xde,"")}function n8(c,p){return p=r8(p),r8(c)===p}function Pg(){}function jr(c,p,g,v,k,R){switch(g){case"children":typeof v=="string"?p==="body"||p==="textarea"&&v===""||od(c,v):(typeof v=="number"||typeof v=="bigint")&&p!=="body"&&od(c,""+v);break;case"className":W0(c,"class",v);break;case"tabIndex":W0(c,"tabindex",v);break;case"dir":case"role":case"viewBox":case"width":case"height":W0(c,g,v);break;case"style":pL(c,v,R);break;case"data":if(p!=="object"){W0(c,"data",v);break}case"src":case"href":if(v===""&&(p!=="a"||g!=="href")){c.removeAttribute(g);break}if(v==null||typeof v=="function"||typeof v=="symbol"||typeof v=="boolean"){c.removeAttribute(g);break}v=Y0(""+v),c.setAttribute(g,v);break;case"action":case"formAction":if(typeof v=="function"){c.setAttribute(g,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof R=="function"&&(g==="formAction"?(p!=="input"&&jr(c,p,"name",k.name,k,null),jr(c,p,"formEncType",k.formEncType,k,null),jr(c,p,"formMethod",k.formMethod,k,null),jr(c,p,"formTarget",k.formTarget,k,null)):(jr(c,p,"encType",k.encType,k,null),jr(c,p,"method",k.method,k,null),jr(c,p,"target",k.target,k,null)));if(v==null||typeof v=="symbol"||typeof v=="boolean"){c.removeAttribute(g);break}v=Y0(""+v),c.setAttribute(g,v);break;case"onClick":v!=null&&(c.onclick=Pg);break;case"onScroll":v!=null&&Ar("scroll",c);break;case"onScrollEnd":v!=null&&Ar("scrollend",c);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(n(61));if(g=v.__html,g!=null){if(k.children!=null)throw Error(n(60));c.innerHTML=g}}break;case"multiple":c.multiple=v&&typeof v!="function"&&typeof v!="symbol";break;case"muted":c.muted=v&&typeof v!="function"&&typeof v!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(v==null||typeof v=="function"||typeof v=="boolean"||typeof v=="symbol"){c.removeAttribute("xlink:href");break}g=Y0(""+v),c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",g);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":v!=null&&typeof v!="function"&&typeof v!="symbol"?c.setAttribute(g,""+v):c.removeAttribute(g);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":v&&typeof v!="function"&&typeof v!="symbol"?c.setAttribute(g,""):c.removeAttribute(g);break;case"capture":case"download":v===!0?c.setAttribute(g,""):v!==!1&&v!=null&&typeof v!="function"&&typeof v!="symbol"?c.setAttribute(g,v):c.removeAttribute(g);break;case"cols":case"rows":case"size":case"span":v!=null&&typeof v!="function"&&typeof v!="symbol"&&!isNaN(v)&&1<=v?c.setAttribute(g,v):c.removeAttribute(g);break;case"rowSpan":case"start":v==null||typeof v=="function"||typeof v=="symbol"||isNaN(v)?c.removeAttribute(g):c.setAttribute(g,v);break;case"popover":Ar("beforetoggle",c),Ar("toggle",c),q0(c,"popover",v);break;case"xlinkActuate":Fs(c,"http://www.w3.org/1999/xlink","xlink:actuate",v);break;case"xlinkArcrole":Fs(c,"http://www.w3.org/1999/xlink","xlink:arcrole",v);break;case"xlinkRole":Fs(c,"http://www.w3.org/1999/xlink","xlink:role",v);break;case"xlinkShow":Fs(c,"http://www.w3.org/1999/xlink","xlink:show",v);break;case"xlinkTitle":Fs(c,"http://www.w3.org/1999/xlink","xlink:title",v);break;case"xlinkType":Fs(c,"http://www.w3.org/1999/xlink","xlink:type",v);break;case"xmlBase":Fs(c,"http://www.w3.org/XML/1998/namespace","xml:base",v);break;case"xmlLang":Fs(c,"http://www.w3.org/XML/1998/namespace","xml:lang",v);break;case"xmlSpace":Fs(c,"http://www.w3.org/XML/1998/namespace","xml:space",v);break;case"is":q0(c,"is",v);break;case"innerText":case"textContent":break;default:(!(2<g.length)||g[0]!=="o"&&g[0]!=="O"||g[1]!=="n"&&g[1]!=="N")&&(g=Zue.get(g)||g,q0(c,g,v))}}function LE(c,p,g,v,k,R){switch(g){case"style":pL(c,v,R);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(n(61));if(g=v.__html,g!=null){if(k.children!=null)throw Error(n(60));c.innerHTML=g}}break;case"children":typeof v=="string"?od(c,v):(typeof v=="number"||typeof v=="bigint")&&od(c,""+v);break;case"onScroll":v!=null&&Ar("scroll",c);break;case"onScrollEnd":v!=null&&Ar("scrollend",c);break;case"onClick":v!=null&&(c.onclick=Pg);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!di.hasOwnProperty(g))e:{if(g[0]==="o"&&g[1]==="n"&&(k=g.endsWith("Capture"),p=g.slice(2,k?g.length-7:void 0),R=c[an]||null,R=R!=null?R[g]:null,typeof R=="function"&&c.removeEventListener(p,R,k),typeof v=="function")){typeof R!="function"&&R!==null&&(g in c?c[g]=null:c.hasAttribute(g)&&c.removeAttribute(g)),c.addEventListener(p,v,k);break e}g in c?c[g]=v:v===!0?c.setAttribute(g,""):q0(c,g,v)}}}function ua(c,p,g){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ar("error",c),Ar("load",c);var v=!1,k=!1,R;for(R in g)if(g.hasOwnProperty(R)){var Y=g[R];if(Y!=null)switch(R){case"src":v=!0;break;case"srcSet":k=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,p));default:jr(c,p,R,Y,g,null)}}k&&jr(c,p,"srcSet",g.srcSet,g,null),v&&jr(c,p,"src",g.src,g,null);return;case"input":Ar("invalid",c);var ee=R=Y=k=null,se=null,ve=null;for(v in g)if(g.hasOwnProperty(v)){var ze=g[v];if(ze!=null)switch(v){case"name":k=ze;break;case"type":Y=ze;break;case"checked":se=ze;break;case"defaultChecked":ve=ze;break;case"value":R=ze;break;case"defaultValue":ee=ze;break;case"children":case"dangerouslySetInnerHTML":if(ze!=null)throw Error(n(137,p));break;default:jr(c,p,v,ze,g,null)}}uL(c,R,ee,se,ve,Y,k,!1),V0(c);return;case"select":Ar("invalid",c),v=Y=R=null;for(k in g)if(g.hasOwnProperty(k)&&(ee=g[k],ee!=null))switch(k){case"value":R=ee;break;case"defaultValue":Y=ee;break;case"multiple":v=ee;default:jr(c,p,k,ee,g,null)}p=R,g=Y,c.multiple=!!v,p!=null?id(c,!!v,p,!1):g!=null&&id(c,!!v,g,!0);return;case"textarea":Ar("invalid",c),R=k=v=null;for(Y in g)if(g.hasOwnProperty(Y)&&(ee=g[Y],ee!=null))switch(Y){case"value":v=ee;break;case"defaultValue":k=ee;break;case"children":R=ee;break;case"dangerouslySetInnerHTML":if(ee!=null)throw Error(n(91));break;default:jr(c,p,Y,ee,g,null)}dL(c,v,k,R),V0(c);return;case"option":for(se in g)if(g.hasOwnProperty(se)&&(v=g[se],v!=null))switch(se){case"selected":c.selected=v&&typeof v!="function"&&typeof v!="symbol";break;default:jr(c,p,se,v,g,null)}return;case"dialog":Ar("cancel",c),Ar("close",c);break;case"iframe":case"object":Ar("load",c);break;case"video":case"audio":for(v=0;v<of.length;v++)Ar(of[v],c);break;case"image":Ar("error",c),Ar("load",c);break;case"details":Ar("toggle",c);break;case"embed":case"source":case"link":Ar("error",c),Ar("load",c);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ve in g)if(g.hasOwnProperty(ve)&&(v=g[ve],v!=null))switch(ve){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,p));default:jr(c,p,ve,v,g,null)}return;default:if(Y2(p)){for(ze in g)g.hasOwnProperty(ze)&&(v=g[ze],v!==void 0&&LE(c,p,ze,v,g,void 0));return}}for(ee in g)g.hasOwnProperty(ee)&&(v=g[ee],v!=null&&jr(c,p,ee,v,g,null))}function wde(c,p,g,v){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var k=null,R=null,Y=null,ee=null,se=null,ve=null,ze=null;for(Be in g){var We=g[Be];if(g.hasOwnProperty(Be)&&We!=null)switch(Be){case"checked":break;case"value":break;case"defaultValue":se=We;default:v.hasOwnProperty(Be)||jr(c,p,Be,null,v,We)}}for(var De in v){var Be=v[De];if(We=g[De],v.hasOwnProperty(De)&&(Be!=null||We!=null))switch(De){case"type":R=Be;break;case"name":k=Be;break;case"checked":ve=Be;break;case"defaultChecked":ze=Be;break;case"value":Y=Be;break;case"defaultValue":ee=Be;break;case"children":case"dangerouslySetInnerHTML":if(Be!=null)throw Error(n(137,p));break;default:Be!==We&&jr(c,p,De,Be,v,We)}}V2(c,Y,ee,se,ve,ze,R,k);return;case"select":Be=Y=ee=De=null;for(R in g)if(se=g[R],g.hasOwnProperty(R)&&se!=null)switch(R){case"value":break;case"multiple":Be=se;default:v.hasOwnProperty(R)||jr(c,p,R,null,v,se)}for(k in v)if(R=v[k],se=g[k],v.hasOwnProperty(k)&&(R!=null||se!=null))switch(k){case"value":De=R;break;case"defaultValue":ee=R;break;case"multiple":Y=R;default:R!==se&&jr(c,p,k,R,v,se)}p=ee,g=Y,v=Be,De!=null?id(c,!!g,De,!1):!!v!=!!g&&(p!=null?id(c,!!g,p,!0):id(c,!!g,g?[]:"",!1));return;case"textarea":Be=De=null;for(ee in g)if(k=g[ee],g.hasOwnProperty(ee)&&k!=null&&!v.hasOwnProperty(ee))switch(ee){case"value":break;case"children":break;default:jr(c,p,ee,null,v,k)}for(Y in v)if(k=v[Y],R=g[Y],v.hasOwnProperty(Y)&&(k!=null||R!=null))switch(Y){case"value":De=k;break;case"defaultValue":Be=k;break;case"children":break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(n(91));break;default:k!==R&&jr(c,p,Y,k,v,R)}cL(c,De,Be);return;case"option":for(var Mt in g)if(De=g[Mt],g.hasOwnProperty(Mt)&&De!=null&&!v.hasOwnProperty(Mt))switch(Mt){case"selected":c.selected=!1;break;default:jr(c,p,Mt,null,v,De)}for(se in v)if(De=v[se],Be=g[se],v.hasOwnProperty(se)&&De!==Be&&(De!=null||Be!=null))switch(se){case"selected":c.selected=De&&typeof De!="function"&&typeof De!="symbol";break;default:jr(c,p,se,De,v,Be)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var sr in g)De=g[sr],g.hasOwnProperty(sr)&&De!=null&&!v.hasOwnProperty(sr)&&jr(c,p,sr,null,v,De);for(ve in v)if(De=v[ve],Be=g[ve],v.hasOwnProperty(ve)&&De!==Be&&(De!=null||Be!=null))switch(ve){case"children":case"dangerouslySetInnerHTML":if(De!=null)throw Error(n(137,p));break;default:jr(c,p,ve,De,v,Be)}return;default:if(Y2(p)){for(var Fn in g)De=g[Fn],g.hasOwnProperty(Fn)&&De!==void 0&&!v.hasOwnProperty(Fn)&&LE(c,p,Fn,void 0,v,De);for(ze in v)De=v[ze],Be=g[ze],!v.hasOwnProperty(ze)||De===Be||De===void 0&&Be===void 0||LE(c,p,ze,De,v,Be);return}}for(var Se in g)De=g[Se],g.hasOwnProperty(Se)&&De!=null&&!v.hasOwnProperty(Se)&&jr(c,p,Se,null,v,De);for(We in v)De=v[We],Be=g[We],!v.hasOwnProperty(We)||De===Be||De==null&&Be==null||jr(c,p,We,De,v,Be)}var ME=null,IE=null;function zg(c){return c.nodeType===9?c:c.ownerDocument}function a8(c){switch(c){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function i8(c,p){if(c===0)switch(p){case"svg":return 1;case"math":return 2;default:return 0}return c===1&&p==="foreignObject"?0:c}function OE(c,p){return c==="textarea"||c==="noscript"||typeof p.children=="string"||typeof p.children=="number"||typeof p.children=="bigint"||typeof p.dangerouslySetInnerHTML=="object"&&p.dangerouslySetInnerHTML!==null&&p.dangerouslySetInnerHTML.__html!=null}var BE=null;function kde(){var c=window.event;return c&&c.type==="popstate"?c===BE?!1:(BE=c,!0):(BE=null,!1)}var o8=typeof setTimeout=="function"?setTimeout:void 0,Cde=typeof clearTimeout=="function"?clearTimeout:void 0,s8=typeof Promise=="function"?Promise:void 0,Tde=typeof queueMicrotask=="function"?queueMicrotask:typeof s8<"u"?function(c){return s8.resolve(null).then(c).catch(Ade)}:o8;function Ade(c){setTimeout(function(){throw c})}function PE(c,p){var g=p,v=0;do{var k=g.nextSibling;if(c.removeChild(g),k&&k.nodeType===8)if(g=k.data,g==="/$"){if(v===0){c.removeChild(k),mf(p);return}v--}else g!=="$"&&g!=="$?"&&g!=="$!"||v++;g=k}while(g);mf(p)}function zE(c){var p=c.firstChild;for(p&&p.nodeType===10&&(p=p.nextSibling);p;){var g=p;switch(p=p.nextSibling,g.nodeName){case"HTML":case"HEAD":case"BODY":zE(g),be(g);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(g.rel.toLowerCase()==="stylesheet")continue}c.removeChild(g)}}function _de(c,p,g,v){for(;c.nodeType===1;){var k=g;if(c.nodeName.toLowerCase()!==p.toLowerCase()){if(!v&&(c.nodeName!=="INPUT"||c.type!=="hidden"))break}else if(v){if(!c[_t])switch(p){case"meta":if(!c.hasAttribute("itemprop"))break;return c;case"link":if(R=c.getAttribute("rel"),R==="stylesheet"&&c.hasAttribute("data-precedence"))break;if(R!==k.rel||c.getAttribute("href")!==(k.href==null?null:k.href)||c.getAttribute("crossorigin")!==(k.crossOrigin==null?null:k.crossOrigin)||c.getAttribute("title")!==(k.title==null?null:k.title))break;return c;case"style":if(c.hasAttribute("data-precedence"))break;return c;case"script":if(R=c.getAttribute("src"),(R!==(k.src==null?null:k.src)||c.getAttribute("type")!==(k.type==null?null:k.type)||c.getAttribute("crossorigin")!==(k.crossOrigin==null?null:k.crossOrigin))&&R&&c.hasAttribute("async")&&!c.hasAttribute("itemprop"))break;return c;default:return c}}else if(p==="input"&&c.type==="hidden"){var R=k.name==null?null:""+k.name;if(k.type==="hidden"&&c.getAttribute("name")===R)return c}else return c;if(c=mo(c.nextSibling),c===null)break}return null}function Dde(c,p,g){if(p==="")return null;for(;c.nodeType!==3;)if((c.nodeType!==1||c.nodeName!=="INPUT"||c.type!=="hidden")&&!g||(c=mo(c.nextSibling),c===null))return null;return c}function mo(c){for(;c!=null;c=c.nextSibling){var p=c.nodeType;if(p===1||p===3)break;if(p===8){if(p=c.data,p==="$"||p==="$!"||p==="$?"||p==="F!"||p==="F")break;if(p==="/$")return null}}return c}function l8(c){c=c.previousSibling;for(var p=0;c;){if(c.nodeType===8){var g=c.data;if(g==="$"||g==="$!"||g==="$?"){if(p===0)return c;p--}else g==="/$"&&p++}c=c.previousSibling}return null}function u8(c,p,g){switch(p=zg(g),c){case"html":if(c=p.documentElement,!c)throw Error(n(452));return c;case"head":if(c=p.head,!c)throw Error(n(453));return c;case"body":if(c=p.body,!c)throw Error(n(454));return c;default:throw Error(n(451))}}var Ki=new Map,c8=new Set;function Hg(c){return typeof c.getRootNode=="function"?c.getRootNode():c.ownerDocument}var Is=ne.d;ne.d={f:Rde,r:Nde,D:Lde,C:Mde,L:Ide,m:Ode,X:Pde,S:Bde,M:zde};function Rde(){var c=Is.f(),p=Ng();return c||p}function Nde(c){var p=Et(c);p!==null&&p.tag===5&&p.type==="form"?B9(p):Is.r(c)}var Ld=typeof document>"u"?null:document;function d8(c,p,g){var v=Ld;if(v&&typeof p=="string"&&p){var k=Pi(p);k='link[rel="'+c+'"][href="'+k+'"]',typeof g=="string"&&(k+='[crossorigin="'+g+'"]'),c8.has(k)||(c8.add(k),c={rel:c,crossOrigin:g,href:p},v.querySelector(k)===null&&(p=v.createElement("link"),ua(p,"link",c),Cr(p),v.head.appendChild(p)))}}function Lde(c){Is.D(c),d8("dns-prefetch",c,null)}function Mde(c,p){Is.C(c,p),d8("preconnect",c,p)}function Ide(c,p,g){Is.L(c,p,g);var v=Ld;if(v&&c&&p){var k='link[rel="preload"][as="'+Pi(p)+'"]';p==="image"&&g&&g.imageSrcSet?(k+='[imagesrcset="'+Pi(g.imageSrcSet)+'"]',typeof g.imageSizes=="string"&&(k+='[imagesizes="'+Pi(g.imageSizes)+'"]')):k+='[href="'+Pi(c)+'"]';var R=k;switch(p){case"style":R=Md(c);break;case"script":R=Id(c)}Ki.has(R)||(c=L({rel:"preload",href:p==="image"&&g&&g.imageSrcSet?void 0:c,as:p},g),Ki.set(R,c),v.querySelector(k)!==null||p==="style"&&v.querySelector(lf(R))||p==="script"&&v.querySelector(uf(R))||(p=v.createElement("link"),ua(p,"link",c),Cr(p),v.head.appendChild(p)))}}function Ode(c,p){Is.m(c,p);var g=Ld;if(g&&c){var v=p&&typeof p.as=="string"?p.as:"script",k='link[rel="modulepreload"][as="'+Pi(v)+'"][href="'+Pi(c)+'"]',R=k;switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":R=Id(c)}if(!Ki.has(R)&&(c=L({rel:"modulepreload",href:c},p),Ki.set(R,c),g.querySelector(k)===null)){switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(g.querySelector(uf(R)))return}v=g.createElement("link"),ua(v,"link",c),Cr(v),g.head.appendChild(v)}}}function Bde(c,p,g){Is.S(c,p,g);var v=Ld;if(v&&c){var k=un(v).hoistableStyles,R=Md(c);p=p||"default";var Y=k.get(R);if(!Y){var ee={loading:0,preload:null};if(Y=v.querySelector(lf(R)))ee.loading=5;else{c=L({rel:"stylesheet",href:c,"data-precedence":p},g),(g=Ki.get(R))&&HE(c,g);var se=Y=v.createElement("link");Cr(se),ua(se,"link",c),se._p=new Promise(function(ve,ze){se.onload=ve,se.onerror=ze}),se.addEventListener("load",function(){ee.loading|=1}),se.addEventListener("error",function(){ee.loading|=2}),ee.loading|=4,Ug(Y,p,v)}Y={type:"stylesheet",instance:Y,count:1,state:ee},k.set(R,Y)}}}function Pde(c,p){Is.X(c,p);var g=Ld;if(g&&c){var v=un(g).hoistableScripts,k=Id(c),R=v.get(k);R||(R=g.querySelector(uf(k)),R||(c=L({src:c,async:!0},p),(p=Ki.get(k))&&UE(c,p),R=g.createElement("script"),Cr(R),ua(R,"link",c),g.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},v.set(k,R))}}function zde(c,p){Is.M(c,p);var g=Ld;if(g&&c){var v=un(g).hoistableScripts,k=Id(c),R=v.get(k);R||(R=g.querySelector(uf(k)),R||(c=L({src:c,async:!0,type:"module"},p),(p=Ki.get(k))&&UE(c,p),R=g.createElement("script"),Cr(R),ua(R,"link",c),g.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},v.set(k,R))}}function h8(c,p,g,v){var k=(k=Ee.current)?Hg(k):null;if(!k)throw Error(n(446));switch(c){case"meta":case"title":return null;case"style":return typeof g.precedence=="string"&&typeof g.href=="string"?(p=Md(g.href),g=un(k).hoistableStyles,v=g.get(p),v||(v={type:"style",instance:null,count:0,state:null},g.set(p,v)),v):{type:"void",instance:null,count:0,state:null};case"link":if(g.rel==="stylesheet"&&typeof g.href=="string"&&typeof g.precedence=="string"){c=Md(g.href);var R=un(k).hoistableStyles,Y=R.get(c);if(Y||(k=k.ownerDocument||k,Y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},R.set(c,Y),(R=k.querySelector(lf(c)))&&!R._p&&(Y.instance=R,Y.state.loading=5),Ki.has(c)||(g={rel:"preload",as:"style",href:g.href,crossOrigin:g.crossOrigin,integrity:g.integrity,media:g.media,hrefLang:g.hrefLang,referrerPolicy:g.referrerPolicy},Ki.set(c,g),R||Hde(k,c,g,Y.state))),p&&v===null)throw Error(n(528,""));return Y}if(p&&v!==null)throw Error(n(529,""));return null;case"script":return p=g.async,g=g.src,typeof g=="string"&&p&&typeof p!="function"&&typeof p!="symbol"?(p=Id(g),g=un(k).hoistableScripts,v=g.get(p),v||(v={type:"script",instance:null,count:0,state:null},g.set(p,v)),v):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,c))}}function Md(c){return'href="'+Pi(c)+'"'}function lf(c){return'link[rel="stylesheet"]['+c+"]"}function p8(c){return L({},c,{"data-precedence":c.precedence,precedence:null})}function Hde(c,p,g,v){c.querySelector('link[rel="preload"][as="style"]['+p+"]")?v.loading=1:(p=c.createElement("link"),v.preload=p,p.addEventListener("load",function(){return v.loading|=1}),p.addEventListener("error",function(){return v.loading|=2}),ua(p,"link",g),Cr(p),c.head.appendChild(p))}function Id(c){return'[src="'+Pi(c)+'"]'}function uf(c){return"script[async]"+c}function f8(c,p,g){if(p.count++,p.instance===null)switch(p.type){case"style":var v=c.querySelector('style[data-href~="'+Pi(g.href)+'"]');if(v)return p.instance=v,Cr(v),v;var k=L({},g,{"data-href":g.href,"data-precedence":g.precedence,href:null,precedence:null});return v=(c.ownerDocument||c).createElement("style"),Cr(v),ua(v,"style",k),Ug(v,g.precedence,c),p.instance=v;case"stylesheet":k=Md(g.href);var R=c.querySelector(lf(k));if(R)return p.state.loading|=4,p.instance=R,Cr(R),R;v=p8(g),(k=Ki.get(k))&&HE(v,k),R=(c.ownerDocument||c).createElement("link"),Cr(R);var Y=R;return Y._p=new Promise(function(ee,se){Y.onload=ee,Y.onerror=se}),ua(R,"link",v),p.state.loading|=4,Ug(R,g.precedence,c),p.instance=R;case"script":return R=Id(g.src),(k=c.querySelector(uf(R)))?(p.instance=k,Cr(k),k):(v=g,(k=Ki.get(R))&&(v=L({},g),UE(v,k)),c=c.ownerDocument||c,k=c.createElement("script"),Cr(k),ua(k,"link",v),c.head.appendChild(k),p.instance=k);case"void":return null;default:throw Error(n(443,p.type))}else p.type==="stylesheet"&&!(p.state.loading&4)&&(v=p.instance,p.state.loading|=4,Ug(v,g.precedence,c));return p.instance}function Ug(c,p,g){for(var v=g.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),k=v.length?v[v.length-1]:null,R=k,Y=0;Y<v.length;Y++){var ee=v[Y];if(ee.dataset.precedence===p)R=ee;else if(R!==k)break}R?R.parentNode.insertBefore(c,R.nextSibling):(p=g.nodeType===9?g.head:g,p.insertBefore(c,p.firstChild))}function HE(c,p){c.crossOrigin==null&&(c.crossOrigin=p.crossOrigin),c.referrerPolicy==null&&(c.referrerPolicy=p.referrerPolicy),c.title==null&&(c.title=p.title)}function UE(c,p){c.crossOrigin==null&&(c.crossOrigin=p.crossOrigin),c.referrerPolicy==null&&(c.referrerPolicy=p.referrerPolicy),c.integrity==null&&(c.integrity=p.integrity)}var Gg=null;function m8(c,p,g){if(Gg===null){var v=new Map,k=Gg=new Map;k.set(g,v)}else k=Gg,v=k.get(g),v||(v=new Map,k.set(g,v));if(v.has(c))return v;for(v.set(c,null),g=g.getElementsByTagName(c),k=0;k<g.length;k++){var R=g[k];if(!(R[_t]||R[Hn]||c==="link"&&R.getAttribute("rel")==="stylesheet")&&R.namespaceURI!=="http://www.w3.org/2000/svg"){var Y=R.getAttribute(p)||"";Y=c+Y;var ee=v.get(Y);ee?ee.push(R):v.set(Y,[R])}}return v}function g8(c,p,g){c=c.ownerDocument||c,c.head.insertBefore(g,p==="title"?c.querySelector("head > title"):null)}function Ude(c,p,g){if(g===1||p.itemProp!=null)return!1;switch(c){case"meta":case"title":return!0;case"style":if(typeof p.precedence!="string"||typeof p.href!="string"||p.href==="")break;return!0;case"link":if(typeof p.rel!="string"||typeof p.href!="string"||p.href===""||p.onLoad||p.onError)break;switch(p.rel){case"stylesheet":return c=p.disabled,typeof p.precedence=="string"&&c==null;default:return!0}case"script":if(p.async&&typeof p.async!="function"&&typeof p.async!="symbol"&&!p.onLoad&&!p.onError&&p.src&&typeof p.src=="string")return!0}return!1}function b8(c){return!(c.type==="stylesheet"&&!(c.state.loading&3))}var cf=null;function Gde(){}function $de(c,p,g){if(cf===null)throw Error(n(475));var v=cf;if(p.type==="stylesheet"&&(typeof g.media!="string"||matchMedia(g.media).matches!==!1)&&!(p.state.loading&4)){if(p.instance===null){var k=Md(g.href),R=c.querySelector(lf(k));if(R){c=R._p,c!==null&&typeof c=="object"&&typeof c.then=="function"&&(v.count++,v=$g.bind(v),c.then(v,v)),p.state.loading|=4,p.instance=R,Cr(R);return}R=c.ownerDocument||c,g=p8(g),(k=Ki.get(k))&&HE(g,k),R=R.createElement("link"),Cr(R);var Y=R;Y._p=new Promise(function(ee,se){Y.onload=ee,Y.onerror=se}),ua(R,"link",g),p.instance=R}v.stylesheets===null&&(v.stylesheets=new Map),v.stylesheets.set(p,c),(c=p.state.preload)&&!(p.state.loading&3)&&(v.count++,p=$g.bind(v),c.addEventListener("load",p),c.addEventListener("error",p))}}function jde(){if(cf===null)throw Error(n(475));var c=cf;return c.stylesheets&&c.count===0&&GE(c,c.stylesheets),0<c.count?function(p){var g=setTimeout(function(){if(c.stylesheets&&GE(c,c.stylesheets),c.unsuspend){var v=c.unsuspend;c.unsuspend=null,v()}},6e4);return c.unsuspend=p,function(){c.unsuspend=null,clearTimeout(g)}}:null}function $g(){if(this.count--,this.count===0){if(this.stylesheets)GE(this,this.stylesheets);else if(this.unsuspend){var c=this.unsuspend;this.unsuspend=null,c()}}}var jg=null;function GE(c,p){c.stylesheets=null,c.unsuspend!==null&&(c.count++,jg=new Map,p.forEach(qde,c),jg=null,$g.call(c))}function qde(c,p){if(!(p.state.loading&4)){var g=jg.get(c);if(g)var v=g.get(null);else{g=new Map,jg.set(c,g);for(var k=c.querySelectorAll("link[data-precedence],style[data-precedence]"),R=0;R<k.length;R++){var Y=k[R];(Y.nodeName==="LINK"||Y.getAttribute("media")!=="not all")&&(g.set(Y.dataset.precedence,Y),v=Y)}v&&g.set(null,v)}k=p.instance,Y=k.getAttribute("data-precedence"),R=g.get(Y)||v,R===v&&g.set(null,k),g.set(Y,k),this.count++,v=$g.bind(this),k.addEventListener("load",v),k.addEventListener("error",v),R?R.parentNode.insertBefore(k,R.nextSibling):(c=c.nodeType===9?c.head:c,c.insertBefore(k,c.firstChild)),p.state.loading|=4}}var df={$$typeof:m,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function Wde(c,p,g,v,k,R,Y,ee){this.tag=1,this.containerInfo=c,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=zn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zn(0),this.hiddenUpdates=zn(null),this.identifierPrefix=v,this.onUncaughtError=k,this.onCaughtError=R,this.onRecoverableError=Y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=ee,this.incompleteTransitions=new Map}function y8(c,p,g,v,k,R,Y,ee,se,ve,ze,We){return c=new Wde(c,p,g,Y,ee,se,ve,We),p=1,R===!0&&(p|=24),R=Wi(3,null,null,p),c.current=R,R.stateNode=c,p=FF(),p.refCount++,c.pooledCache=p,p.refCount++,R.memoizedState={element:v,isDehydrated:g,cache:p},eE(R),c}function v8(c){return c?(c=pd,c):pd}function F8(c,p,g,v,k,R){k=v8(k),v.context===null?v.context=k:v.pendingContext=k,v=Rl(p),v.payload={element:g},R=R===void 0?null:R,R!==null&&(v.callback=R),g=Nl(c,v,p),g!==null&&(Ia(g,c,p),Vp(g,c,p))}function E8(c,p){if(c=c.memoizedState,c!==null&&c.dehydrated!==null){var g=c.retryLane;c.retryLane=g!==0&&g<p?g:p}}function $E(c,p){E8(c,p),(c=c.alternate)&&E8(c,p)}function S8(c){if(c.tag===13){var p=wl(c,67108864);p!==null&&Ia(p,c,67108864),$E(c,67108864)}}var qg=!0;function Vde(c,p,g,v){var k=M.T;M.T=null;var R=ne.p;try{ne.p=2,jE(c,p,g,v)}finally{ne.p=R,M.T=k}}function Kde(c,p,g,v){var k=M.T;M.T=null;var R=ne.p;try{ne.p=8,jE(c,p,g,v)}finally{ne.p=R,M.T=k}}function jE(c,p,g,v){if(qg){var k=qE(v);if(k===null)NE(c,p,v,Wg,g),w8(c,v);else if(Xde(k,c,p,g,v))v.stopPropagation();else if(w8(c,v),p&4&&-1<Yde.indexOf(c)){for(;k!==null;){var R=Et(k);if(R!==null)switch(R.tag){case 3:if(R=R.stateNode,R.current.memoizedState.isDehydrated){var Y=Jr(R.pendingLanes);if(Y!==0){var ee=R;for(ee.pendingLanes|=2,ee.entangledLanes|=2;Y;){var se=1<<31-$e(Y);ee.entanglements[1]|=se,Y&=~se}Ho(R),!(dn&6)&&(_g=Pe()+500,af(0))}}break;case 13:ee=wl(R,2),ee!==null&&Ia(ee,R,2),Ng(),$E(R,2)}if(R=qE(v),R===null&&NE(c,p,v,Wg,g),R===k)break;k=R}k!==null&&v.stopPropagation()}else NE(c,p,v,null,g)}}function qE(c){return c=J2(c),WE(c)}var Wg=null;function WE(c){if(Wg=null,c=et(c),c!==null){var p=B(c);if(p===null)c=null;else{var g=p.tag;if(g===13){if(c=te(p),c!==null)return c;c=null}else if(g===3){if(p.stateNode.current.memoizedState.isDehydrated)return p.tag===3?p.stateNode.containerInfo:null;c=null}else p!==c&&(c=null)}}return Wg=c,null}function x8(c){switch(c){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Qe()){case me:return 2;case ke:return 8;case Ye:case pt:return 32;case St:return 268435456;default:return 32}default:return 32}}var VE=!1,zl=null,Hl=null,Ul=null,hf=new Map,pf=new Map,Gl=[],Yde="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".split(" ");function w8(c,p){switch(c){case"focusin":case"focusout":zl=null;break;case"dragenter":case"dragleave":Hl=null;break;case"mouseover":case"mouseout":Ul=null;break;case"pointerover":case"pointerout":hf.delete(p.pointerId);break;case"gotpointercapture":case"lostpointercapture":pf.delete(p.pointerId)}}function ff(c,p,g,v,k,R){return c===null||c.nativeEvent!==R?(c={blockedOn:p,domEventName:g,eventSystemFlags:v,nativeEvent:R,targetContainers:[k]},p!==null&&(p=Et(p),p!==null&&S8(p)),c):(c.eventSystemFlags|=v,p=c.targetContainers,k!==null&&p.indexOf(k)===-1&&p.push(k),c)}function Xde(c,p,g,v,k){switch(p){case"focusin":return zl=ff(zl,c,p,g,v,k),!0;case"dragenter":return Hl=ff(Hl,c,p,g,v,k),!0;case"mouseover":return Ul=ff(Ul,c,p,g,v,k),!0;case"pointerover":var R=k.pointerId;return hf.set(R,ff(hf.get(R)||null,c,p,g,v,k)),!0;case"gotpointercapture":return R=k.pointerId,pf.set(R,ff(pf.get(R)||null,c,p,g,v,k)),!0}return!1}function k8(c){var p=et(c.target);if(p!==null){var g=B(p);if(g!==null){if(p=g.tag,p===13){if(p=te(g),p!==null){c.blockedOn=p,H0(c.priority,function(){if(g.tag===13){var v=bi(),k=wl(g,v);k!==null&&Ia(k,g,v),$E(g,v)}});return}}else if(p===3&&g.stateNode.current.memoizedState.isDehydrated){c.blockedOn=g.tag===3?g.stateNode.containerInfo:null;return}}}c.blockedOn=null}function Vg(c){if(c.blockedOn!==null)return!1;for(var p=c.targetContainers;0<p.length;){var g=qE(c.nativeEvent);if(g===null){g=c.nativeEvent;var v=new g.constructor(g.type,g);X2=v,g.target.dispatchEvent(v),X2=null}else return p=Et(g),p!==null&&S8(p),c.blockedOn=g,!1;p.shift()}return!0}function C8(c,p,g){Vg(c)&&g.delete(p)}function Jde(){VE=!1,zl!==null&&Vg(zl)&&(zl=null),Hl!==null&&Vg(Hl)&&(Hl=null),Ul!==null&&Vg(Ul)&&(Ul=null),hf.forEach(C8),pf.forEach(C8)}function Kg(c,p){c.blockedOn===p&&(c.blockedOn=null,VE||(VE=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Jde)))}var Yg=null;function T8(c){Yg!==c&&(Yg=c,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Yg===c&&(Yg=null);for(var p=0;p<c.length;p+=3){var g=c[p],v=c[p+1],k=c[p+2];if(typeof v!="function"){if(WE(v||g)===null)continue;break}var R=Et(g);R!==null&&(c.splice(p,3),p-=3,OF(R,{pending:!0,data:k,method:g.method,action:v},v,k))}}))}function mf(c){function p(se){return Kg(se,c)}zl!==null&&Kg(zl,c),Hl!==null&&Kg(Hl,c),Ul!==null&&Kg(Ul,c),hf.forEach(p),pf.forEach(p);for(var g=0;g<Gl.length;g++){var v=Gl[g];v.blockedOn===c&&(v.blockedOn=null)}for(;0<Gl.length&&(g=Gl[0],g.blockedOn===null);)k8(g),g.blockedOn===null&&Gl.shift();if(g=(c.ownerDocument||c).$$reactFormReplay,g!=null)for(v=0;v<g.length;v+=3){var k=g[v],R=g[v+1],Y=k[an]||null;if(typeof R=="function")Y||T8(g);else if(Y){var ee=null;if(R&&R.hasAttribute("formAction")){if(k=R,Y=R[an]||null)ee=Y.formAction;else if(WE(k)!==null)continue}else ee=Y.action;typeof ee=="function"?g[v+1]=ee:(g.splice(v,3),v-=3),T8(g)}}}function KE(c){this._internalRoot=c}Xg.prototype.render=KE.prototype.render=function(c){var p=this._internalRoot;if(p===null)throw Error(n(409));var g=p.current,v=bi();F8(g,v,c,p,null,null)},Xg.prototype.unmount=KE.prototype.unmount=function(){var c=this._internalRoot;if(c!==null){this._internalRoot=null;var p=c.containerInfo;c.tag===0&&Dd(),F8(c.current,2,null,c,null,null),Ng(),p[vs]=null}};function Xg(c){this._internalRoot=c}Xg.prototype.unstable_scheduleHydration=function(c){if(c){var p=xp();c={blockedOn:null,target:c,priority:p};for(var g=0;g<Gl.length&&p!==0&&p<Gl[g].priority;g++);Gl.splice(g,0,c),g===0&&k8(c)}};var A8=t.version;if(A8!=="19.0.0")throw Error(n(527,A8,"19.0.0"));ne.findDOMNode=function(c){var p=c._reactInternals;if(p===void 0)throw typeof c.render=="function"?Error(n(188)):(c=Object.keys(c).join(","),Error(n(268,c)));return c=Z(p),c=c!==null?K(c):null,c=c===null?null:c.stateNode,c};var Zde={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:M,findFiberByHostInstance:et,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Jg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jg.isDisabled&&Jg.supportsFiber)try{ar=Jg.inject(Zde),Nt=Jg}catch{}}return bf.createRoot=function(c,p){if(!a(c))throw Error(n(299));var g=!1,v="",k=q9,R=W9,Y=V9,ee=null;return p!=null&&(p.unstable_strictMode===!0&&(g=!0),p.identifierPrefix!==void 0&&(v=p.identifierPrefix),p.onUncaughtError!==void 0&&(k=p.onUncaughtError),p.onCaughtError!==void 0&&(R=p.onCaughtError),p.onRecoverableError!==void 0&&(Y=p.onRecoverableError),p.unstable_transitionCallbacks!==void 0&&(ee=p.unstable_transitionCallbacks)),p=y8(c,1,!1,null,null,g,v,k,R,Y,ee,null),c[vs]=p.current,RE(c.nodeType===8?c.parentNode:c),new KE(p)},bf.hydrateRoot=function(c,p,g){if(!a(c))throw Error(n(299));var v=!1,k="",R=q9,Y=W9,ee=V9,se=null,ve=null;return g!=null&&(g.unstable_strictMode===!0&&(v=!0),g.identifierPrefix!==void 0&&(k=g.identifierPrefix),g.onUncaughtError!==void 0&&(R=g.onUncaughtError),g.onCaughtError!==void 0&&(Y=g.onCaughtError),g.onRecoverableError!==void 0&&(ee=g.onRecoverableError),g.unstable_transitionCallbacks!==void 0&&(se=g.unstable_transitionCallbacks),g.formState!==void 0&&(ve=g.formState)),p=y8(c,1,!0,p,g??null,v,k,R,Y,ee,se,ve),p.context=v8(null),g=p.current,v=bi(),k=Rl(v),k.callback=null,Nl(g,k,v),p.current.lanes=v,ia(p,v),Ho(p),c[vs]=p.current,RE(c),new Xg(p)},bf.version="19.0.0",bf}var P8;function hhe(){if(P8)return JE.exports;P8=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),JE.exports=dhe(),JE.exports}var phe=hhe();class xi{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new xi(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class ro{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new ro(r,xi.range(this,t))}}class at{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,a,i,o=r&&r.loc;if(o&&o.start<=o.end){var s=o.lexer.input;a=o.start,i=o.end,a===s.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var l=s.slice(a,i).replace(/[^]/g,"$&̲"),u;a>15?u="…"+s.slice(a-15,a):u=s.slice(0,a);var d;i+15<s.length?d=s.slice(i,i+15)+"…":d=s.slice(i),n+=u+l+d}var h=new Error(n);return h.name="ParseError",h.__proto__=at.prototype,h.position=a,a!=null&&i!=null&&(h.length=i-a),h.rawMessage=t,h}}at.prototype.__proto__=Error.prototype;var fhe=function(t,r){return t.indexOf(r)!==-1},mhe=function(t,r){return t===void 0?r:t},ghe=/([A-Z])/g,bhe=function(t){return t.replace(ghe,"-$1").toLowerCase()},yhe={"&":"&",">":">","<":"<",'"':""","'":"'"},vhe=/[&><"']/g;function Fhe(e){return String(e).replace(vhe,t=>yhe[t])}var _V=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Ehe=function(t){var r=_V(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},She=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},xhe=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},$t={contains:fhe,deflt:mhe,escape:Fhe,hyphenate:bhe,getBaseElem:_V,isCharacterBox:Ehe,protocolFromUrl:xhe},sm={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function whe(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}let z6=class{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in sm)if(sm.hasOwnProperty(r)){var n=sm[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:whe(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new at("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=$t.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}},jl=class{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return Yo[khe[this.id]]}sub(){return Yo[Che[this.id]]}fracNum(){return Yo[The[this.id]]}fracDen(){return Yo[Ahe[this.id]]}cramp(){return Yo[_he[this.id]]}text(){return Yo[Dhe[this.id]]}isTight(){return this.size>=2}};var H6=0,zb=1,nh=2,el=3,km=4,to=5,Eh=6,za=7,Yo=[new jl(H6,0,!1),new jl(zb,0,!0),new jl(nh,1,!1),new jl(el,1,!0),new jl(km,2,!1),new jl(to,2,!0),new jl(Eh,3,!1),new jl(za,3,!0)],khe=[km,to,km,to,Eh,za,Eh,za],Che=[to,to,to,to,za,za,za,za],The=[nh,el,km,to,Eh,za,Eh,za],Ahe=[el,el,to,to,za,za,za,za],_he=[zb,zb,el,el,to,to,za,za],Dhe=[H6,zb,nh,el,nh,el,nh,el],qt={DISPLAY:Yo[H6],TEXT:Yo[nh],SCRIPT:Yo[km],SCRIPTSCRIPT:Yo[Eh]},r_=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Rhe(e){for(var t=0;t<r_.length;t++)for(var r=r_[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var eb=[];r_.forEach(e=>e.blocks.forEach(t=>eb.push(...t)));function DV(e){for(var t=0;t<eb.length;t+=2)if(e>=eb[t]&&e<=eb[t+1])return!0;return!1}var Od=80,Nhe=function(t,r){return"M95,"+(622+t+r)+`
|
||
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
||
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
||
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
||
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
||
c69,-144,104.5,-217.7,106.5,-221
|
||
l`+t/2.075+" -"+t+`
|
||
c5.3,-9.3,12,-14,20,-14
|
||
H400000v`+(40+t)+`H845.2724
|
||
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
||
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
||
M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Lhe=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
|
||
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
||
c340,-704.7,510.7,-1060.3,512,-1067
|
||
l`+t/2.084+" -"+t+`
|
||
c4.7,-7.3,11,-11,19,-11
|
||
H40000v`+(40+t)+`H1012.3
|
||
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
||
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
||
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
||
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
||
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Mhe=function(t,r){return"M983 "+(10+t+r)+`
|
||
l`+t/3.13+" -"+t+`
|
||
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
||
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
||
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
||
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
||
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
||
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
||
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
||
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Ihe=function(t,r){return"M424,"+(2398+t+r)+`
|
||
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
||
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
||
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
||
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
||
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
||
v`+(40+t)+`H1014.6
|
||
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
||
c-2,6,-10,9,-24,9
|
||
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
|
||
h400000v`+(40+t)+"h-400000z"},Ohe=function(t,r){return"M473,"+(2713+t+r)+`
|
||
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
||
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
|
||
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
||
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
||
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
||
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
||
606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},Bhe=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},Phe=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
|
||
H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
||
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
||
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
||
219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},zhe=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=Nhe(r,Od);break;case"sqrtSize1":a=Lhe(r,Od);break;case"sqrtSize2":a=Mhe(r,Od);break;case"sqrtSize3":a=Ihe(r,Od);break;case"sqrtSize4":a=Ohe(r,Od);break;case"sqrtTall":a=Phe(r,Od,n)}return a},Hhe=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},z8={doubleleftarrow:`M262 157
|
||
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
||
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
||
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
||
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
||
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
||
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
||
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
||
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
||
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
||
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
||
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
||
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
||
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
||
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
||
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
||
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
||
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
||
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
||
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
||
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
||
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
||
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
||
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
||
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
||
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
||
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
||
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
||
435 0h399565z`,leftgroupunder:`M400000 262
|
||
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
||
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
||
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
||
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
||
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
||
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
||
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
||
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
||
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
||
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
||
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
||
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
||
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
||
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
||
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
||
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
||
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
||
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
||
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
||
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
||
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
||
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
||
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
||
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
||
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
||
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
||
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
||
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
||
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
||
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
||
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
||
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
||
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
||
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
||
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
||
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
||
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
||
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
||
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
||
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
||
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
||
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
||
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
||
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
||
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
||
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
||
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
||
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
||
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
||
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
||
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
||
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
||
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
||
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
||
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
||
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
||
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
||
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
||
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
||
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
||
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
||
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
||
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
||
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
||
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
||
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
||
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
||
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
||
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
||
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
||
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
||
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
||
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
||
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
||
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
||
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
||
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
||
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
||
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
||
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
||
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
||
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
||
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
||
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
||
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
||
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
||
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
||
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
||
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
||
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
||
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
||
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
||
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
||
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
||
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
||
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
||
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
||
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
||
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
||
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
||
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
||
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
||
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
||
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
||
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
||
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
||
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
||
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
||
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
||
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
||
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
||
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
||
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
||
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
||
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
||
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
||
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
||
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
||
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
||
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
||
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
||
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
||
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
||
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
||
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
||
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
||
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
||
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
||
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
||
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
||
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
||
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
||
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
||
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
||
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
||
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
||
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
||
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
||
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
||
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
||
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
||
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
||
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
||
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
||
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
||
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
||
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Uhe=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
|
||
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
|
||
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
||
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
||
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
||
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
||
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
|
||
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
|
||
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
||
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
|
||
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
|
||
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
|
||
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
|
||
M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
||
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
||
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
||
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
||
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
||
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
||
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
||
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
||
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
||
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
|
||
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
||
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
||
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
||
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
||
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
||
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};let e0=class{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return $t.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}};var es={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Zg={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},H8={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function RV(e,t){es[e]=t}function U6(e,t,r){if(!es[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=es[t][n];if(!a&&e[0]in H8&&(n=H8[e[0]].charCodeAt(0),a=es[t][n]),!a&&r==="text"&&DV(n)&&(a=es[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var tS={};function Ghe(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!tS[t]){var r=tS[t]={cssEmPerMu:Zg.quad[t]/18};for(var n in Zg)Zg.hasOwnProperty(n)&&(r[n]=Zg[n][t])}return tS[t]}var $he=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],U8=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],G8=function(t,r){return r.size<2?t:$he[t-1][r.size-1]};class Ys{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Ys.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=U8[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Ys(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:G8(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:U8[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=G8(Ys.BASESIZE,t);return this.size===r&&this.textSize===Ys.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ys.BASESIZE?["sizing","reset-size"+this.size,"size"+Ys.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Ghe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ys.BASESIZE=6;var n_={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},jhe={ex:!0,em:!0,mu:!0},NV=function(t){return typeof t!="string"&&(t=t.unit),t in n_||t in jhe||t==="ex"},fn=function(t,r){var n;if(t.unit in n_)n=n_[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new at("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},lt=function(t){return+t.toFixed(4)+"em"},hu=function(t){return t.filter(r=>r).join(" ")},LV=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},MV=function(t){var r=document.createElement(t);r.className=hu(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},qhe=/[\s"'>/=\x00-\x1f]/,IV=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+$t.escape(hu(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=$t.hyphenate(a)+":"+this.style[a]+";");n&&(r+=' style="'+$t.escape(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(qhe.test(i))throw new at("Invalid attribute name '"+i+"'");r+=" "+i+'="'+$t.escape(this.attributes[i])+'"'}r+=">";for(var o=0;o<this.children.length;o++)r+=this.children[o].toMarkup();return r+="</"+t+">",r};class t0{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,LV.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return $t.contains(this.classes,t)}toNode(){return MV.call(this,"span")}toMarkup(){return IV.call(this,"span")}}let G6=class{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,LV.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return $t.contains(this.classes,t)}toNode(){return MV.call(this,"a")}toMarkup(){return IV.call(this,"a")}};class Whe{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return $t.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+$t.escape(this.src)+'"'+(' alt="'+$t.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=$t.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+$t.escape(r)+'"'),t+="'/>",t}}var Vhe={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ao{constructor(t,r,n,a,i,o,s,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=o||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var u=Rhe(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Vhe[this.text])}hasClass(t){return $t.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=lt(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=hu(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=$t.escape(hu(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=$t.hyphenate(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+$t.escape(n)+'"');var i=$t.escape(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class ol{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+$t.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class pu{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",z8[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+$t.escape(this.alternate)+'"/>':'<path d="'+$t.escape(z8[this.pathName])+'"/>'}}class a_{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+$t.escape(this.attributes[r])+'"');return t+="/>",t}}function $8(e){if(e instanceof ao)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Khe(e){if(e instanceof t0)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Yhe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Xhe={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},rn={math:{},text:{}};function O(e,t,r,n,a,i){rn[e][a]={font:t,group:r,replace:n},i&&n&&(rn[e][n]=rn[e][a])}var $="math",Ve="text",J="main",le="ams",ln="accent-token",Ft="bin",Wa="close",Wh="inner",jt="mathord",Bn="op-token",Ni="open",sv="punct",ce="rel",ml="spacing",ge="textord";O($,J,ce,"≡","\\equiv",!0);O($,J,ce,"≺","\\prec",!0);O($,J,ce,"≻","\\succ",!0);O($,J,ce,"∼","\\sim",!0);O($,J,ce,"⊥","\\perp");O($,J,ce,"⪯","\\preceq",!0);O($,J,ce,"⪰","\\succeq",!0);O($,J,ce,"≃","\\simeq",!0);O($,J,ce,"∣","\\mid",!0);O($,J,ce,"≪","\\ll",!0);O($,J,ce,"≫","\\gg",!0);O($,J,ce,"≍","\\asymp",!0);O($,J,ce,"∥","\\parallel");O($,J,ce,"⋈","\\bowtie",!0);O($,J,ce,"⌣","\\smile",!0);O($,J,ce,"⊑","\\sqsubseteq",!0);O($,J,ce,"⊒","\\sqsupseteq",!0);O($,J,ce,"≐","\\doteq",!0);O($,J,ce,"⌢","\\frown",!0);O($,J,ce,"∋","\\ni",!0);O($,J,ce,"∝","\\propto",!0);O($,J,ce,"⊢","\\vdash",!0);O($,J,ce,"⊣","\\dashv",!0);O($,J,ce,"∋","\\owns");O($,J,sv,".","\\ldotp");O($,J,sv,"⋅","\\cdotp");O($,J,ge,"#","\\#");O(Ve,J,ge,"#","\\#");O($,J,ge,"&","\\&");O(Ve,J,ge,"&","\\&");O($,J,ge,"ℵ","\\aleph",!0);O($,J,ge,"∀","\\forall",!0);O($,J,ge,"ℏ","\\hbar",!0);O($,J,ge,"∃","\\exists",!0);O($,J,ge,"∇","\\nabla",!0);O($,J,ge,"♭","\\flat",!0);O($,J,ge,"ℓ","\\ell",!0);O($,J,ge,"♮","\\natural",!0);O($,J,ge,"♣","\\clubsuit",!0);O($,J,ge,"℘","\\wp",!0);O($,J,ge,"♯","\\sharp",!0);O($,J,ge,"♢","\\diamondsuit",!0);O($,J,ge,"ℜ","\\Re",!0);O($,J,ge,"♡","\\heartsuit",!0);O($,J,ge,"ℑ","\\Im",!0);O($,J,ge,"♠","\\spadesuit",!0);O($,J,ge,"§","\\S",!0);O(Ve,J,ge,"§","\\S");O($,J,ge,"¶","\\P",!0);O(Ve,J,ge,"¶","\\P");O($,J,ge,"†","\\dag");O(Ve,J,ge,"†","\\dag");O(Ve,J,ge,"†","\\textdagger");O($,J,ge,"‡","\\ddag");O(Ve,J,ge,"‡","\\ddag");O(Ve,J,ge,"‡","\\textdaggerdbl");O($,J,Wa,"⎱","\\rmoustache",!0);O($,J,Ni,"⎰","\\lmoustache",!0);O($,J,Wa,"⟯","\\rgroup",!0);O($,J,Ni,"⟮","\\lgroup",!0);O($,J,Ft,"∓","\\mp",!0);O($,J,Ft,"⊖","\\ominus",!0);O($,J,Ft,"⊎","\\uplus",!0);O($,J,Ft,"⊓","\\sqcap",!0);O($,J,Ft,"∗","\\ast");O($,J,Ft,"⊔","\\sqcup",!0);O($,J,Ft,"◯","\\bigcirc",!0);O($,J,Ft,"∙","\\bullet",!0);O($,J,Ft,"‡","\\ddagger");O($,J,Ft,"≀","\\wr",!0);O($,J,Ft,"⨿","\\amalg");O($,J,Ft,"&","\\And");O($,J,ce,"⟵","\\longleftarrow",!0);O($,J,ce,"⇐","\\Leftarrow",!0);O($,J,ce,"⟸","\\Longleftarrow",!0);O($,J,ce,"⟶","\\longrightarrow",!0);O($,J,ce,"⇒","\\Rightarrow",!0);O($,J,ce,"⟹","\\Longrightarrow",!0);O($,J,ce,"↔","\\leftrightarrow",!0);O($,J,ce,"⟷","\\longleftrightarrow",!0);O($,J,ce,"⇔","\\Leftrightarrow",!0);O($,J,ce,"⟺","\\Longleftrightarrow",!0);O($,J,ce,"↦","\\mapsto",!0);O($,J,ce,"⟼","\\longmapsto",!0);O($,J,ce,"↗","\\nearrow",!0);O($,J,ce,"↩","\\hookleftarrow",!0);O($,J,ce,"↪","\\hookrightarrow",!0);O($,J,ce,"↘","\\searrow",!0);O($,J,ce,"↼","\\leftharpoonup",!0);O($,J,ce,"⇀","\\rightharpoonup",!0);O($,J,ce,"↙","\\swarrow",!0);O($,J,ce,"↽","\\leftharpoondown",!0);O($,J,ce,"⇁","\\rightharpoondown",!0);O($,J,ce,"↖","\\nwarrow",!0);O($,J,ce,"⇌","\\rightleftharpoons",!0);O($,le,ce,"≮","\\nless",!0);O($,le,ce,"","\\@nleqslant");O($,le,ce,"","\\@nleqq");O($,le,ce,"⪇","\\lneq",!0);O($,le,ce,"≨","\\lneqq",!0);O($,le,ce,"","\\@lvertneqq");O($,le,ce,"⋦","\\lnsim",!0);O($,le,ce,"⪉","\\lnapprox",!0);O($,le,ce,"⊀","\\nprec",!0);O($,le,ce,"⋠","\\npreceq",!0);O($,le,ce,"⋨","\\precnsim",!0);O($,le,ce,"⪹","\\precnapprox",!0);O($,le,ce,"≁","\\nsim",!0);O($,le,ce,"","\\@nshortmid");O($,le,ce,"∤","\\nmid",!0);O($,le,ce,"⊬","\\nvdash",!0);O($,le,ce,"⊭","\\nvDash",!0);O($,le,ce,"⋪","\\ntriangleleft");O($,le,ce,"⋬","\\ntrianglelefteq",!0);O($,le,ce,"⊊","\\subsetneq",!0);O($,le,ce,"","\\@varsubsetneq");O($,le,ce,"⫋","\\subsetneqq",!0);O($,le,ce,"","\\@varsubsetneqq");O($,le,ce,"≯","\\ngtr",!0);O($,le,ce,"","\\@ngeqslant");O($,le,ce,"","\\@ngeqq");O($,le,ce,"⪈","\\gneq",!0);O($,le,ce,"≩","\\gneqq",!0);O($,le,ce,"","\\@gvertneqq");O($,le,ce,"⋧","\\gnsim",!0);O($,le,ce,"⪊","\\gnapprox",!0);O($,le,ce,"⊁","\\nsucc",!0);O($,le,ce,"⋡","\\nsucceq",!0);O($,le,ce,"⋩","\\succnsim",!0);O($,le,ce,"⪺","\\succnapprox",!0);O($,le,ce,"≆","\\ncong",!0);O($,le,ce,"","\\@nshortparallel");O($,le,ce,"∦","\\nparallel",!0);O($,le,ce,"⊯","\\nVDash",!0);O($,le,ce,"⋫","\\ntriangleright");O($,le,ce,"⋭","\\ntrianglerighteq",!0);O($,le,ce,"","\\@nsupseteqq");O($,le,ce,"⊋","\\supsetneq",!0);O($,le,ce,"","\\@varsupsetneq");O($,le,ce,"⫌","\\supsetneqq",!0);O($,le,ce,"","\\@varsupsetneqq");O($,le,ce,"⊮","\\nVdash",!0);O($,le,ce,"⪵","\\precneqq",!0);O($,le,ce,"⪶","\\succneqq",!0);O($,le,ce,"","\\@nsubseteqq");O($,le,Ft,"⊴","\\unlhd");O($,le,Ft,"⊵","\\unrhd");O($,le,ce,"↚","\\nleftarrow",!0);O($,le,ce,"↛","\\nrightarrow",!0);O($,le,ce,"⇍","\\nLeftarrow",!0);O($,le,ce,"⇏","\\nRightarrow",!0);O($,le,ce,"↮","\\nleftrightarrow",!0);O($,le,ce,"⇎","\\nLeftrightarrow",!0);O($,le,ce,"△","\\vartriangle");O($,le,ge,"ℏ","\\hslash");O($,le,ge,"▽","\\triangledown");O($,le,ge,"◊","\\lozenge");O($,le,ge,"Ⓢ","\\circledS");O($,le,ge,"®","\\circledR");O(Ve,le,ge,"®","\\circledR");O($,le,ge,"∡","\\measuredangle",!0);O($,le,ge,"∄","\\nexists");O($,le,ge,"℧","\\mho");O($,le,ge,"Ⅎ","\\Finv",!0);O($,le,ge,"⅁","\\Game",!0);O($,le,ge,"‵","\\backprime");O($,le,ge,"▲","\\blacktriangle");O($,le,ge,"▼","\\blacktriangledown");O($,le,ge,"■","\\blacksquare");O($,le,ge,"⧫","\\blacklozenge");O($,le,ge,"★","\\bigstar");O($,le,ge,"∢","\\sphericalangle",!0);O($,le,ge,"∁","\\complement",!0);O($,le,ge,"ð","\\eth",!0);O(Ve,J,ge,"ð","ð");O($,le,ge,"╱","\\diagup");O($,le,ge,"╲","\\diagdown");O($,le,ge,"□","\\square");O($,le,ge,"□","\\Box");O($,le,ge,"◊","\\Diamond");O($,le,ge,"¥","\\yen",!0);O(Ve,le,ge,"¥","\\yen",!0);O($,le,ge,"✓","\\checkmark",!0);O(Ve,le,ge,"✓","\\checkmark");O($,le,ge,"ℶ","\\beth",!0);O($,le,ge,"ℸ","\\daleth",!0);O($,le,ge,"ℷ","\\gimel",!0);O($,le,ge,"ϝ","\\digamma",!0);O($,le,ge,"ϰ","\\varkappa");O($,le,Ni,"┌","\\@ulcorner",!0);O($,le,Wa,"┐","\\@urcorner",!0);O($,le,Ni,"└","\\@llcorner",!0);O($,le,Wa,"┘","\\@lrcorner",!0);O($,le,ce,"≦","\\leqq",!0);O($,le,ce,"⩽","\\leqslant",!0);O($,le,ce,"⪕","\\eqslantless",!0);O($,le,ce,"≲","\\lesssim",!0);O($,le,ce,"⪅","\\lessapprox",!0);O($,le,ce,"≊","\\approxeq",!0);O($,le,Ft,"⋖","\\lessdot");O($,le,ce,"⋘","\\lll",!0);O($,le,ce,"≶","\\lessgtr",!0);O($,le,ce,"⋚","\\lesseqgtr",!0);O($,le,ce,"⪋","\\lesseqqgtr",!0);O($,le,ce,"≑","\\doteqdot");O($,le,ce,"≓","\\risingdotseq",!0);O($,le,ce,"≒","\\fallingdotseq",!0);O($,le,ce,"∽","\\backsim",!0);O($,le,ce,"⋍","\\backsimeq",!0);O($,le,ce,"⫅","\\subseteqq",!0);O($,le,ce,"⋐","\\Subset",!0);O($,le,ce,"⊏","\\sqsubset",!0);O($,le,ce,"≼","\\preccurlyeq",!0);O($,le,ce,"⋞","\\curlyeqprec",!0);O($,le,ce,"≾","\\precsim",!0);O($,le,ce,"⪷","\\precapprox",!0);O($,le,ce,"⊲","\\vartriangleleft");O($,le,ce,"⊴","\\trianglelefteq");O($,le,ce,"⊨","\\vDash",!0);O($,le,ce,"⊪","\\Vvdash",!0);O($,le,ce,"⌣","\\smallsmile");O($,le,ce,"⌢","\\smallfrown");O($,le,ce,"≏","\\bumpeq",!0);O($,le,ce,"≎","\\Bumpeq",!0);O($,le,ce,"≧","\\geqq",!0);O($,le,ce,"⩾","\\geqslant",!0);O($,le,ce,"⪖","\\eqslantgtr",!0);O($,le,ce,"≳","\\gtrsim",!0);O($,le,ce,"⪆","\\gtrapprox",!0);O($,le,Ft,"⋗","\\gtrdot");O($,le,ce,"⋙","\\ggg",!0);O($,le,ce,"≷","\\gtrless",!0);O($,le,ce,"⋛","\\gtreqless",!0);O($,le,ce,"⪌","\\gtreqqless",!0);O($,le,ce,"≖","\\eqcirc",!0);O($,le,ce,"≗","\\circeq",!0);O($,le,ce,"≜","\\triangleq",!0);O($,le,ce,"∼","\\thicksim");O($,le,ce,"≈","\\thickapprox");O($,le,ce,"⫆","\\supseteqq",!0);O($,le,ce,"⋑","\\Supset",!0);O($,le,ce,"⊐","\\sqsupset",!0);O($,le,ce,"≽","\\succcurlyeq",!0);O($,le,ce,"⋟","\\curlyeqsucc",!0);O($,le,ce,"≿","\\succsim",!0);O($,le,ce,"⪸","\\succapprox",!0);O($,le,ce,"⊳","\\vartriangleright");O($,le,ce,"⊵","\\trianglerighteq");O($,le,ce,"⊩","\\Vdash",!0);O($,le,ce,"∣","\\shortmid");O($,le,ce,"∥","\\shortparallel");O($,le,ce,"≬","\\between",!0);O($,le,ce,"⋔","\\pitchfork",!0);O($,le,ce,"∝","\\varpropto");O($,le,ce,"◀","\\blacktriangleleft");O($,le,ce,"∴","\\therefore",!0);O($,le,ce,"∍","\\backepsilon");O($,le,ce,"▶","\\blacktriangleright");O($,le,ce,"∵","\\because",!0);O($,le,ce,"⋘","\\llless");O($,le,ce,"⋙","\\gggtr");O($,le,Ft,"⊲","\\lhd");O($,le,Ft,"⊳","\\rhd");O($,le,ce,"≂","\\eqsim",!0);O($,J,ce,"⋈","\\Join");O($,le,ce,"≑","\\Doteq",!0);O($,le,Ft,"∔","\\dotplus",!0);O($,le,Ft,"∖","\\smallsetminus");O($,le,Ft,"⋒","\\Cap",!0);O($,le,Ft,"⋓","\\Cup",!0);O($,le,Ft,"⩞","\\doublebarwedge",!0);O($,le,Ft,"⊟","\\boxminus",!0);O($,le,Ft,"⊞","\\boxplus",!0);O($,le,Ft,"⋇","\\divideontimes",!0);O($,le,Ft,"⋉","\\ltimes",!0);O($,le,Ft,"⋊","\\rtimes",!0);O($,le,Ft,"⋋","\\leftthreetimes",!0);O($,le,Ft,"⋌","\\rightthreetimes",!0);O($,le,Ft,"⋏","\\curlywedge",!0);O($,le,Ft,"⋎","\\curlyvee",!0);O($,le,Ft,"⊝","\\circleddash",!0);O($,le,Ft,"⊛","\\circledast",!0);O($,le,Ft,"⋅","\\centerdot");O($,le,Ft,"⊺","\\intercal",!0);O($,le,Ft,"⋒","\\doublecap");O($,le,Ft,"⋓","\\doublecup");O($,le,Ft,"⊠","\\boxtimes",!0);O($,le,ce,"⇢","\\dashrightarrow",!0);O($,le,ce,"⇠","\\dashleftarrow",!0);O($,le,ce,"⇇","\\leftleftarrows",!0);O($,le,ce,"⇆","\\leftrightarrows",!0);O($,le,ce,"⇚","\\Lleftarrow",!0);O($,le,ce,"↞","\\twoheadleftarrow",!0);O($,le,ce,"↢","\\leftarrowtail",!0);O($,le,ce,"↫","\\looparrowleft",!0);O($,le,ce,"⇋","\\leftrightharpoons",!0);O($,le,ce,"↶","\\curvearrowleft",!0);O($,le,ce,"↺","\\circlearrowleft",!0);O($,le,ce,"↰","\\Lsh",!0);O($,le,ce,"⇈","\\upuparrows",!0);O($,le,ce,"↿","\\upharpoonleft",!0);O($,le,ce,"⇃","\\downharpoonleft",!0);O($,J,ce,"⊶","\\origof",!0);O($,J,ce,"⊷","\\imageof",!0);O($,le,ce,"⊸","\\multimap",!0);O($,le,ce,"↭","\\leftrightsquigarrow",!0);O($,le,ce,"⇉","\\rightrightarrows",!0);O($,le,ce,"⇄","\\rightleftarrows",!0);O($,le,ce,"↠","\\twoheadrightarrow",!0);O($,le,ce,"↣","\\rightarrowtail",!0);O($,le,ce,"↬","\\looparrowright",!0);O($,le,ce,"↷","\\curvearrowright",!0);O($,le,ce,"↻","\\circlearrowright",!0);O($,le,ce,"↱","\\Rsh",!0);O($,le,ce,"⇊","\\downdownarrows",!0);O($,le,ce,"↾","\\upharpoonright",!0);O($,le,ce,"⇂","\\downharpoonright",!0);O($,le,ce,"⇝","\\rightsquigarrow",!0);O($,le,ce,"⇝","\\leadsto");O($,le,ce,"⇛","\\Rrightarrow",!0);O($,le,ce,"↾","\\restriction");O($,J,ge,"‘","`");O($,J,ge,"$","\\$");O(Ve,J,ge,"$","\\$");O(Ve,J,ge,"$","\\textdollar");O($,J,ge,"%","\\%");O(Ve,J,ge,"%","\\%");O($,J,ge,"_","\\_");O(Ve,J,ge,"_","\\_");O(Ve,J,ge,"_","\\textunderscore");O($,J,ge,"∠","\\angle",!0);O($,J,ge,"∞","\\infty",!0);O($,J,ge,"′","\\prime");O($,J,ge,"△","\\triangle");O($,J,ge,"Γ","\\Gamma",!0);O($,J,ge,"Δ","\\Delta",!0);O($,J,ge,"Θ","\\Theta",!0);O($,J,ge,"Λ","\\Lambda",!0);O($,J,ge,"Ξ","\\Xi",!0);O($,J,ge,"Π","\\Pi",!0);O($,J,ge,"Σ","\\Sigma",!0);O($,J,ge,"Υ","\\Upsilon",!0);O($,J,ge,"Φ","\\Phi",!0);O($,J,ge,"Ψ","\\Psi",!0);O($,J,ge,"Ω","\\Omega",!0);O($,J,ge,"A","Α");O($,J,ge,"B","Β");O($,J,ge,"E","Ε");O($,J,ge,"Z","Ζ");O($,J,ge,"H","Η");O($,J,ge,"I","Ι");O($,J,ge,"K","Κ");O($,J,ge,"M","Μ");O($,J,ge,"N","Ν");O($,J,ge,"O","Ο");O($,J,ge,"P","Ρ");O($,J,ge,"T","Τ");O($,J,ge,"X","Χ");O($,J,ge,"¬","\\neg",!0);O($,J,ge,"¬","\\lnot");O($,J,ge,"⊤","\\top");O($,J,ge,"⊥","\\bot");O($,J,ge,"∅","\\emptyset");O($,le,ge,"∅","\\varnothing");O($,J,jt,"α","\\alpha",!0);O($,J,jt,"β","\\beta",!0);O($,J,jt,"γ","\\gamma",!0);O($,J,jt,"δ","\\delta",!0);O($,J,jt,"ϵ","\\epsilon",!0);O($,J,jt,"ζ","\\zeta",!0);O($,J,jt,"η","\\eta",!0);O($,J,jt,"θ","\\theta",!0);O($,J,jt,"ι","\\iota",!0);O($,J,jt,"κ","\\kappa",!0);O($,J,jt,"λ","\\lambda",!0);O($,J,jt,"μ","\\mu",!0);O($,J,jt,"ν","\\nu",!0);O($,J,jt,"ξ","\\xi",!0);O($,J,jt,"ο","\\omicron",!0);O($,J,jt,"π","\\pi",!0);O($,J,jt,"ρ","\\rho",!0);O($,J,jt,"σ","\\sigma",!0);O($,J,jt,"τ","\\tau",!0);O($,J,jt,"υ","\\upsilon",!0);O($,J,jt,"ϕ","\\phi",!0);O($,J,jt,"χ","\\chi",!0);O($,J,jt,"ψ","\\psi",!0);O($,J,jt,"ω","\\omega",!0);O($,J,jt,"ε","\\varepsilon",!0);O($,J,jt,"ϑ","\\vartheta",!0);O($,J,jt,"ϖ","\\varpi",!0);O($,J,jt,"ϱ","\\varrho",!0);O($,J,jt,"ς","\\varsigma",!0);O($,J,jt,"φ","\\varphi",!0);O($,J,Ft,"∗","*",!0);O($,J,Ft,"+","+");O($,J,Ft,"−","-",!0);O($,J,Ft,"⋅","\\cdot",!0);O($,J,Ft,"∘","\\circ",!0);O($,J,Ft,"÷","\\div",!0);O($,J,Ft,"±","\\pm",!0);O($,J,Ft,"×","\\times",!0);O($,J,Ft,"∩","\\cap",!0);O($,J,Ft,"∪","\\cup",!0);O($,J,Ft,"∖","\\setminus",!0);O($,J,Ft,"∧","\\land");O($,J,Ft,"∨","\\lor");O($,J,Ft,"∧","\\wedge",!0);O($,J,Ft,"∨","\\vee",!0);O($,J,ge,"√","\\surd");O($,J,Ni,"⟨","\\langle",!0);O($,J,Ni,"∣","\\lvert");O($,J,Ni,"∥","\\lVert");O($,J,Wa,"?","?");O($,J,Wa,"!","!");O($,J,Wa,"⟩","\\rangle",!0);O($,J,Wa,"∣","\\rvert");O($,J,Wa,"∥","\\rVert");O($,J,ce,"=","=");O($,J,ce,":",":");O($,J,ce,"≈","\\approx",!0);O($,J,ce,"≅","\\cong",!0);O($,J,ce,"≥","\\ge");O($,J,ce,"≥","\\geq",!0);O($,J,ce,"←","\\gets");O($,J,ce,">","\\gt",!0);O($,J,ce,"∈","\\in",!0);O($,J,ce,"","\\@not");O($,J,ce,"⊂","\\subset",!0);O($,J,ce,"⊃","\\supset",!0);O($,J,ce,"⊆","\\subseteq",!0);O($,J,ce,"⊇","\\supseteq",!0);O($,le,ce,"⊈","\\nsubseteq",!0);O($,le,ce,"⊉","\\nsupseteq",!0);O($,J,ce,"⊨","\\models");O($,J,ce,"←","\\leftarrow",!0);O($,J,ce,"≤","\\le");O($,J,ce,"≤","\\leq",!0);O($,J,ce,"<","\\lt",!0);O($,J,ce,"→","\\rightarrow",!0);O($,J,ce,"→","\\to");O($,le,ce,"≱","\\ngeq",!0);O($,le,ce,"≰","\\nleq",!0);O($,J,ml," ","\\ ");O($,J,ml," ","\\space");O($,J,ml," ","\\nobreakspace");O(Ve,J,ml," ","\\ ");O(Ve,J,ml," "," ");O(Ve,J,ml," ","\\space");O(Ve,J,ml," ","\\nobreakspace");O($,J,ml,null,"\\nobreak");O($,J,ml,null,"\\allowbreak");O($,J,sv,",",",");O($,J,sv,";",";");O($,le,Ft,"⊼","\\barwedge",!0);O($,le,Ft,"⊻","\\veebar",!0);O($,J,Ft,"⊙","\\odot",!0);O($,J,Ft,"⊕","\\oplus",!0);O($,J,Ft,"⊗","\\otimes",!0);O($,J,ge,"∂","\\partial",!0);O($,J,Ft,"⊘","\\oslash",!0);O($,le,Ft,"⊚","\\circledcirc",!0);O($,le,Ft,"⊡","\\boxdot",!0);O($,J,Ft,"△","\\bigtriangleup");O($,J,Ft,"▽","\\bigtriangledown");O($,J,Ft,"†","\\dagger");O($,J,Ft,"⋄","\\diamond");O($,J,Ft,"⋆","\\star");O($,J,Ft,"◃","\\triangleleft");O($,J,Ft,"▹","\\triangleright");O($,J,Ni,"{","\\{");O(Ve,J,ge,"{","\\{");O(Ve,J,ge,"{","\\textbraceleft");O($,J,Wa,"}","\\}");O(Ve,J,ge,"}","\\}");O(Ve,J,ge,"}","\\textbraceright");O($,J,Ni,"{","\\lbrace");O($,J,Wa,"}","\\rbrace");O($,J,Ni,"[","\\lbrack",!0);O(Ve,J,ge,"[","\\lbrack",!0);O($,J,Wa,"]","\\rbrack",!0);O(Ve,J,ge,"]","\\rbrack",!0);O($,J,Ni,"(","\\lparen",!0);O($,J,Wa,")","\\rparen",!0);O(Ve,J,ge,"<","\\textless",!0);O(Ve,J,ge,">","\\textgreater",!0);O($,J,Ni,"⌊","\\lfloor",!0);O($,J,Wa,"⌋","\\rfloor",!0);O($,J,Ni,"⌈","\\lceil",!0);O($,J,Wa,"⌉","\\rceil",!0);O($,J,ge,"\\","\\backslash");O($,J,ge,"∣","|");O($,J,ge,"∣","\\vert");O(Ve,J,ge,"|","\\textbar",!0);O($,J,ge,"∥","\\|");O($,J,ge,"∥","\\Vert");O(Ve,J,ge,"∥","\\textbardbl");O(Ve,J,ge,"~","\\textasciitilde");O(Ve,J,ge,"\\","\\textbackslash");O(Ve,J,ge,"^","\\textasciicircum");O($,J,ce,"↑","\\uparrow",!0);O($,J,ce,"⇑","\\Uparrow",!0);O($,J,ce,"↓","\\downarrow",!0);O($,J,ce,"⇓","\\Downarrow",!0);O($,J,ce,"↕","\\updownarrow",!0);O($,J,ce,"⇕","\\Updownarrow",!0);O($,J,Bn,"∐","\\coprod");O($,J,Bn,"⋁","\\bigvee");O($,J,Bn,"⋀","\\bigwedge");O($,J,Bn,"⨄","\\biguplus");O($,J,Bn,"⋂","\\bigcap");O($,J,Bn,"⋃","\\bigcup");O($,J,Bn,"∫","\\int");O($,J,Bn,"∫","\\intop");O($,J,Bn,"∬","\\iint");O($,J,Bn,"∭","\\iiint");O($,J,Bn,"∏","\\prod");O($,J,Bn,"∑","\\sum");O($,J,Bn,"⨂","\\bigotimes");O($,J,Bn,"⨁","\\bigoplus");O($,J,Bn,"⨀","\\bigodot");O($,J,Bn,"∮","\\oint");O($,J,Bn,"∯","\\oiint");O($,J,Bn,"∰","\\oiiint");O($,J,Bn,"⨆","\\bigsqcup");O($,J,Bn,"∫","\\smallint");O(Ve,J,Wh,"…","\\textellipsis");O($,J,Wh,"…","\\mathellipsis");O(Ve,J,Wh,"…","\\ldots",!0);O($,J,Wh,"…","\\ldots",!0);O($,J,Wh,"⋯","\\@cdots",!0);O($,J,Wh,"⋱","\\ddots",!0);O($,J,ge,"⋮","\\varvdots");O(Ve,J,ge,"⋮","\\varvdots");O($,J,ln,"ˊ","\\acute");O($,J,ln,"ˋ","\\grave");O($,J,ln,"¨","\\ddot");O($,J,ln,"~","\\tilde");O($,J,ln,"ˉ","\\bar");O($,J,ln,"˘","\\breve");O($,J,ln,"ˇ","\\check");O($,J,ln,"^","\\hat");O($,J,ln,"⃗","\\vec");O($,J,ln,"˙","\\dot");O($,J,ln,"˚","\\mathring");O($,J,jt,"","\\@imath");O($,J,jt,"","\\@jmath");O($,J,ge,"ı","ı");O($,J,ge,"ȷ","ȷ");O(Ve,J,ge,"ı","\\i",!0);O(Ve,J,ge,"ȷ","\\j",!0);O(Ve,J,ge,"ß","\\ss",!0);O(Ve,J,ge,"æ","\\ae",!0);O(Ve,J,ge,"œ","\\oe",!0);O(Ve,J,ge,"ø","\\o",!0);O(Ve,J,ge,"Æ","\\AE",!0);O(Ve,J,ge,"Œ","\\OE",!0);O(Ve,J,ge,"Ø","\\O",!0);O(Ve,J,ln,"ˊ","\\'");O(Ve,J,ln,"ˋ","\\`");O(Ve,J,ln,"ˆ","\\^");O(Ve,J,ln,"˜","\\~");O(Ve,J,ln,"ˉ","\\=");O(Ve,J,ln,"˘","\\u");O(Ve,J,ln,"˙","\\.");O(Ve,J,ln,"¸","\\c");O(Ve,J,ln,"˚","\\r");O(Ve,J,ln,"ˇ","\\v");O(Ve,J,ln,"¨",'\\"');O(Ve,J,ln,"˝","\\H");O(Ve,J,ln,"◯","\\textcircled");var OV={"--":!0,"---":!0,"``":!0,"''":!0};O(Ve,J,ge,"–","--",!0);O(Ve,J,ge,"–","\\textendash");O(Ve,J,ge,"—","---",!0);O(Ve,J,ge,"—","\\textemdash");O(Ve,J,ge,"‘","`",!0);O(Ve,J,ge,"‘","\\textquoteleft");O(Ve,J,ge,"’","'",!0);O(Ve,J,ge,"’","\\textquoteright");O(Ve,J,ge,"“","``",!0);O(Ve,J,ge,"“","\\textquotedblleft");O(Ve,J,ge,"”","''",!0);O(Ve,J,ge,"”","\\textquotedblright");O($,J,ge,"°","\\degree",!0);O(Ve,J,ge,"°","\\degree");O(Ve,J,ge,"°","\\textdegree",!0);O($,J,ge,"£","\\pounds");O($,J,ge,"£","\\mathsterling",!0);O(Ve,J,ge,"£","\\pounds");O(Ve,J,ge,"£","\\textsterling",!0);O($,le,ge,"✠","\\maltese");O(Ve,le,ge,"✠","\\maltese");var j8='0123456789/@."';for(var rS=0;rS<j8.length;rS++){var q8=j8.charAt(rS);O($,J,ge,q8,q8)}var W8='0123456789!@*()-=+";:?/.,';for(var nS=0;nS<W8.length;nS++){var V8=W8.charAt(nS);O(Ve,J,ge,V8,V8)}var Hb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var aS=0;aS<Hb.length;aS++){var Qg=Hb.charAt(aS);O($,J,jt,Qg,Qg),O(Ve,J,ge,Qg,Qg)}O($,le,ge,"C","ℂ");O(Ve,le,ge,"C","ℂ");O($,le,ge,"H","ℍ");O(Ve,le,ge,"H","ℍ");O($,le,ge,"N","ℕ");O(Ve,le,ge,"N","ℕ");O($,le,ge,"P","ℙ");O(Ve,le,ge,"P","ℙ");O($,le,ge,"Q","ℚ");O(Ve,le,ge,"Q","ℚ");O($,le,ge,"R","ℝ");O(Ve,le,ge,"R","ℝ");O($,le,ge,"Z","ℤ");O(Ve,le,ge,"Z","ℤ");O($,J,jt,"h","ℎ");O(Ve,J,jt,"h","ℎ");var er="";for(var Oa=0;Oa<Hb.length;Oa++){var En=Hb.charAt(Oa);er=String.fromCharCode(55349,56320+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56372+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56424+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56580+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56684+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56736+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56788+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56840+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56944+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),Oa<26&&(er=String.fromCharCode(55349,56632+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er),er=String.fromCharCode(55349,56476+Oa),O($,J,jt,En,er),O(Ve,J,ge,En,er))}er="𝕜";O($,J,jt,"k",er);O(Ve,J,ge,"k",er);for(var Xu=0;Xu<10;Xu++){var ql=Xu.toString();er=String.fromCharCode(55349,57294+Xu),O($,J,jt,ql,er),O(Ve,J,ge,ql,er),er=String.fromCharCode(55349,57314+Xu),O($,J,jt,ql,er),O(Ve,J,ge,ql,er),er=String.fromCharCode(55349,57324+Xu),O($,J,jt,ql,er),O(Ve,J,ge,ql,er),er=String.fromCharCode(55349,57334+Xu),O($,J,jt,ql,er),O(Ve,J,ge,ql,er)}var i_="ÐÞþ";for(var iS=0;iS<i_.length;iS++){var e1=i_.charAt(iS);O($,J,jt,e1,e1),O(Ve,J,ge,e1,e1)}var t1=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],K8=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Jhe=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),i=(n-55296)*1024+(a-56320)+65536,o=r==="math"?0:1;if(119808<=i&&i<120484){var s=Math.floor((i-119808)/26);return[t1[s][2],t1[s][o]]}else if(120782<=i&&i<=120831){var l=Math.floor((i-120782)/10);return[K8[l][2],K8[l][o]]}else{if(i===120485||i===120486)return[t1[0][2],t1[0][o]];if(120486<i&&i<120782)return["",""];throw new at("Unsupported character: "+t)}},lv=function(t,r,n){return rn[n][t]&&rn[n][t].replace&&(t=rn[n][t].replace),{value:t,metrics:U6(t,r,n)}},Eo=function(t,r,n,a,i){var o=lv(t,r,n),s=o.metrics;t=o.value;var l;if(s){var u=s.italic;(n==="text"||a&&a.font==="mathit")&&(u=0),l=new ao(t,s.height,s.depth,u,s.skew,s.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new ao(t,0,0,0,0,0,i);if(a){l.maxFontSize=a.sizeMultiplier,a.style.isTight()&&l.classes.push("mtight");var d=a.getColor();d&&(l.style.color=d)}return l},Zhe=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&lv(t,"Main-Bold",r).metrics?Eo(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||rn[r][t].font==="main"?Eo(t,"Main-Regular",r,n,a):Eo(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},Qhe=function(t,r,n,a,i){return i!=="textord"&&lv(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},epe=function(t,r,n){var a=t.mode,i=t.text,o=["mord"],s=a==="math"||a==="text"&&r.font,l=s?r.font:r.fontFamily,u="",d="";if(i.charCodeAt(0)===55349&&([u,d]=Jhe(i,a)),u.length>0)return Eo(i,u,a,r,o.concat(d));if(l){var h,f;if(l==="boldsymbol"){var m=Qhe(i,a,r,o,n);h=m.fontName,f=[m.fontClass]}else s?(h=zV[l].fontName,f=[l]):(h=r1(l,r.fontWeight,r.fontShape),f=[l,r.fontWeight,r.fontShape]);if(lv(i,h,a).metrics)return Eo(i,h,a,r,o.concat(f));if(OV.hasOwnProperty(i)&&h.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<i.length;y++)b.push(Eo(i[y],h,a,r,o.concat(f)));return PV(b)}}if(n==="mathord")return Eo(i,"Math-Italic",a,r,o.concat(["mathnormal"]));if(n==="textord"){var F=rn[a][i]&&rn[a][i].font;if(F==="ams"){var x=r1("amsrm",r.fontWeight,r.fontShape);return Eo(i,x,a,r,o.concat("amsrm",r.fontWeight,r.fontShape))}else if(F==="main"||!F){var E=r1("textrm",r.fontWeight,r.fontShape);return Eo(i,E,a,r,o.concat(r.fontWeight,r.fontShape))}else{var C=r1(F,r.fontWeight,r.fontShape);return Eo(i,C,a,r,o.concat(C,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},tpe=(e,t)=>{if(hu(e.classes)!==hu(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},rpe=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof ao&&n instanceof ao&&tpe(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},$6=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var o=t.children[i];o.height>r&&(r=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>a&&(a=o.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},Za=function(t,r,n,a){var i=new t0(t,r,n,a);return $6(i),i},BV=(e,t,r,n)=>new t0(e,t,r,n),npe=function(t,r,n){var a=Za([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=lt(a.height),a.maxFontSize=1,a},ape=function(t,r,n,a){var i=new G6(t,r,n,a);return $6(i),i},PV=function(t){var r=new e0(t);return $6(r),r},ipe=function(t,r){return t instanceof e0?Za([],[t],r):t},ope=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,o=1;o<r.length;o++){var s=-r[o].shift-i-r[o].elem.depth,l=s-(r[o-1].elem.height+r[o-1].elem.depth);i=i+s,n.push({type:"kern",size:l}),n.push(r[o])}return{children:n,depth:a}}var u;if(t.positionType==="top"){for(var d=t.positionData,h=0;h<t.children.length;h++){var f=t.children[h];d-=f.type==="kern"?f.size:f.elem.height+f.elem.depth}u=d}else if(t.positionType==="bottom")u=-t.positionData;else{var m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")u=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")u=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:u}},spe=function(t,r){for(var{children:n,depth:a}=ope(t),i=0,o=0;o<n.length;o++){var s=n[o];if(s.type==="elem"){var l=s.elem;i=Math.max(i,l.maxFontSize,l.height)}}i+=2;var u=Za(["pstrut"],[]);u.style.height=lt(i);for(var d=[],h=a,f=a,m=a,b=0;b<n.length;b++){var y=n[b];if(y.type==="kern")m+=y.size;else{var F=y.elem,x=y.wrapperClasses||[],E=y.wrapperStyle||{},C=Za(x,[u,F],void 0,E);C.style.top=lt(-i-m-F.depth),y.marginLeft&&(C.style.marginLeft=y.marginLeft),y.marginRight&&(C.style.marginRight=y.marginRight),d.push(C),m+=F.height+F.depth}h=Math.min(h,m),f=Math.max(f,m)}var _=Za(["vlist"],d);_.style.height=lt(f);var D;if(h<0){var w=Za([],[]),A=Za(["vlist"],[w]);A.style.height=lt(-h);var I=Za(["vlist-s"],[new ao("")]);D=[Za(["vlist-r"],[_,I]),Za(["vlist-r"],[A])]}else D=[Za(["vlist-r"],[_])];var M=Za(["vlist-t"],D);return D.length===2&&M.classes.push("vlist-t2"),M.height=f,M.depth=-h,M},lpe=(e,t)=>{var r=Za(["mspace"],[],t),n=fn(e,t);return r.style.marginRight=lt(n),r},r1=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},zV={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},HV={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},upe=function(t,r){var[n,a,i]=HV[t],o=new pu(n),s=new ol([o],{width:lt(a),height:lt(i),style:"width:"+lt(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),l=BV(["overlay"],[s],r);return l.height=i,l.style.height=lt(i),l.style.width=lt(a),l},_e={fontMap:zV,makeSymbol:Eo,mathsym:Zhe,makeSpan:Za,makeSvgSpan:BV,makeLineSpan:npe,makeAnchor:ape,makeFragment:PV,wrapFragment:ipe,makeVList:spe,makeOrd:epe,makeGlue:lpe,staticSvg:upe,svgData:HV,tryCombineChars:rpe},hn={number:3,unit:"mu"},Ju={number:4,unit:"mu"},Os={number:5,unit:"mu"},cpe={mord:{mop:hn,mbin:Ju,mrel:Os,minner:hn},mop:{mord:hn,mop:hn,mrel:Os,minner:hn},mbin:{mord:Ju,mop:Ju,mopen:Ju,minner:Ju},mrel:{mord:Os,mop:Os,mopen:Os,minner:Os},mopen:{},mclose:{mop:hn,mbin:Ju,mrel:Os,minner:hn},mpunct:{mord:hn,mop:hn,mrel:Os,mopen:hn,mclose:hn,mpunct:hn,minner:hn},minner:{mord:hn,mop:hn,mbin:Ju,mrel:Os,mopen:hn,mpunct:hn,minner:hn}},dpe={mord:{mop:hn},mop:{mord:hn,mop:hn},mbin:{},mrel:{},mopen:{},mclose:{mop:hn},mpunct:{},minner:{mop:hn}},UV={},Ub={},Gb={};function mt(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},l=0;l<r.length;++l)UV[r[l]]=s;t&&(i&&(Ub[t]=i),o&&(Gb[t]=o))}function Uc(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;mt({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var $b=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Cn=function(t){return t.type==="ordgroup"?t.body:[t]},sl=_e.makeSpan,hpe=["leftmost","mbin","mopen","mrel","mop","mpunct"],ppe=["rightmost","mrel","mclose","mpunct"],fpe={display:qt.DISPLAY,text:qt.TEXT,script:qt.SCRIPT,scriptscript:qt.SCRIPTSCRIPT},mpe={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Wn=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],o=0;o<t.length;o++){var s=Lr(t[o],r);if(s instanceof e0){var l=s.children;i.push(...l)}else i.push(s)}if(_e.tryCombineChars(i),!n)return i;var u=r;if(t.length===1){var d=t[0];d.type==="sizing"?u=r.havingSize(d.size):d.type==="styling"&&(u=r.havingStyle(fpe[d.style]))}var h=sl([a[0]||"leftmost"],[],r),f=sl([a[1]||"rightmost"],[],r),m=n==="root";return Y8(i,(b,y)=>{var F=y.classes[0],x=b.classes[0];F==="mbin"&&$t.contains(ppe,x)?y.classes[0]="mord":x==="mbin"&&$t.contains(hpe,F)&&(b.classes[0]="mord")},{node:h},f,m),Y8(i,(b,y)=>{var F=o_(y),x=o_(b),E=F&&x?b.hasClass("mtight")?dpe[F][x]:cpe[F][x]:null;if(E)return _e.makeGlue(E,u)},{node:h},f,m),i},Y8=function e(t,r,n,a,i){a&&t.push(a);for(var o=0;o<t.length;o++){var s=t[o],l=GV(s);if(l){e(l.children,r,n,null,i);continue}var u=!s.hasClass("mspace");if(u){var d=r(s,n.node);d&&(n.insertAfter?n.insertAfter(d):(t.unshift(d),o++))}u?n.node=s:i&&s.hasClass("newline")&&(n.node=sl(["leftmost"])),n.insertAfter=(h=>f=>{t.splice(h+1,0,f),o++})(o)}a&&t.pop()},GV=function(t){return t instanceof e0||t instanceof G6||t instanceof t0&&t.hasClass("enclosing")?t:null},gpe=function e(t,r){var n=GV(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},o_=function(t,r){return t?(r&&(t=gpe(t,r)),mpe[t.classes[0]]||null):null},Cm=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return sl(r.concat(n))},Lr=function(t,r,n){if(!t)return sl();if(Ub[t.type]){var a=Ub[t.type](t,r);if(n&&r.size!==n.size){a=sl(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new at("Got group of unknown type: '"+t.type+"'")};function n1(e,t){var r=sl(["base"],e,t),n=sl(["strut"]);return n.style.height=lt(r.height+r.depth),r.depth&&(n.style.verticalAlign=lt(-r.depth)),r.children.unshift(n),r}function s_(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Wn(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],o=[],s=0;s<n.length;s++)if(o.push(n[s]),n[s].hasClass("mbin")||n[s].hasClass("mrel")||n[s].hasClass("allowbreak")){for(var l=!1;s<n.length-1&&n[s+1].hasClass("mspace")&&!n[s+1].hasClass("newline");)s++,o.push(n[s]),n[s].hasClass("nobreak")&&(l=!0);l||(i.push(n1(o,t)),o=[])}else n[s].hasClass("newline")&&(o.pop(),o.length>0&&(i.push(n1(o,t)),o=[]),i.push(n[s]));o.length>0&&i.push(n1(o,t));var u;r?(u=n1(Wn(r,t,!0)),u.classes=["tag"],i.push(u)):a&&i.push(a);var d=sl(["katex-html"],i);if(d.setAttribute("aria-hidden","true"),u){var h=u.children[0];h.style.height=lt(d.height+d.depth),d.depth&&(h.style.verticalAlign=lt(-d.depth))}return d}function $V(e){return new e0(e)}class ki{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=hu(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof ts&&this.children[n+1]instanceof ts){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof ts;)a+=this.children[++n].toText();t.appendChild(new ts(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=$t.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+$t.escape(hu(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class ts{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return $t.escape(this.toText())}toText(){return this.text}}class bpe{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character=" ":t>=-.05556&&t<=-.05555?this.character=" ":t>=-.1667&&t<=-.1666?this.character=" ":t>=-.2223&&t<=-.2222?this.character=" ":t>=-.2778&&t<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",lt(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+lt(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var nt={MathNode:ki,TextNode:ts,SpaceNode:bpe,newDocumentFragment:$V},io=function(t,r,n){return rn[r][t]&&rn[r][t].replace&&t.charCodeAt(0)!==55349&&!(OV.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=rn[r][t].replace),new nt.TextNode(t)},j6=function(t){return t.length===1?t[0]:new nt.MathNode("mrow",t)},q6=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if($t.contains(["\\imath","\\jmath"],i))return null;rn[a][i]&&rn[a][i].replace&&(i=rn[a][i].replace);var o=_e.fontMap[n].fontName;return U6(i,o,a)?_e.fontMap[n].variant:null};function oS(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ts&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof ts&&r.text===","}else return!1}var ii=function(t,r,n){if(t.length===1){var a=Yr(t[0],r);return n&&a instanceof ki&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],o,s=0;s<t.length;s++){var l=Yr(t[s],r);if(l instanceof ki&&o instanceof ki){if(l.type==="mtext"&&o.type==="mtext"&&l.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...l.children);continue}else if(l.type==="mn"&&o.type==="mn"){o.children.push(...l.children);continue}else if(oS(l)&&o.type==="mn"){o.children.push(...l.children);continue}else if(l.type==="mn"&&oS(o))l.children=[...o.children,...l.children],i.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(o.type==="mn"||oS(o))){var u=l.children[0];u instanceof ki&&u.type==="mn"&&(u.children=[...o.children,...u.children],i.pop())}else if(o.type==="mi"&&o.children.length===1){var d=o.children[0];if(d instanceof ts&&d.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var h=l.children[0];h instanceof ts&&h.text.length>0&&(h.text=h.text.slice(0,1)+"̸"+h.text.slice(1),i.pop())}}}i.push(l),o=l}return i},fu=function(t,r,n){return j6(ii(t,r,n))},Yr=function(t,r){if(!t)return new nt.MathNode("mrow");if(Gb[t.type]){var n=Gb[t.type](t,r);return n}else throw new at("Got group of unknown type: '"+t.type+"'")};function X8(e,t,r,n,a){var i=ii(e,r),o;i.length===1&&i[0]instanceof ki&&$t.contains(["mrow","mtable"],i[0].type)?o=i[0]:o=new nt.MathNode("mrow",i);var s=new nt.MathNode("annotation",[new nt.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new nt.MathNode("semantics",[o,s]),u=new nt.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var d=a?"katex":"katex-mathml";return _e.makeSpan([d],[u])}var jV=function(t){return new Ys({style:t.displayMode?qt.DISPLAY:qt.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},qV=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=_e.makeSpan(n,[t])}return t},ype=function(t,r,n){var a=jV(n),i;if(n.output==="mathml")return X8(t,r,a,n.displayMode,!0);if(n.output==="html"){var o=s_(t,a);i=_e.makeSpan(["katex"],[o])}else{var s=X8(t,r,a,n.displayMode,!1),l=s_(t,a);i=_e.makeSpan(["katex"],[s,l])}return qV(i,n)},vpe=function(t,r,n){var a=jV(n),i=s_(t,a),o=_e.makeSpan(["katex"],[i]);return qV(o,n)},Fpe={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Epe=function(t){var r=new nt.MathNode("mo",[new nt.TextNode(Fpe[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Spe={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},xpe=function(t){return t.type==="ordgroup"?t.body.length:1},wpe=function(t,r){function n(){var s=4e5,l=t.label.slice(1);if($t.contains(["widehat","widecheck","widetilde","utilde"],l)){var u=t,d=xpe(u.base),h,f,m;if(d>5)l==="widehat"||l==="widecheck"?(h=420,s=2364,m=.42,f=l+"4"):(h=312,s=2340,m=.34,f="tilde4");else{var b=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][b],h=[0,239,300,360,420][b],m=[0,.24,.3,.3,.36,.42][b],f=l+b):(s=[0,600,1033,2339,2340][b],h=[0,260,286,306,312][b],m=[0,.26,.286,.3,.306,.34][b],f="tilde"+b)}var y=new pu(f),F=new ol([y],{width:"100%",height:lt(m),viewBox:"0 0 "+s+" "+h,preserveAspectRatio:"none"});return{span:_e.makeSvgSpan([],[F],r),minWidth:0,height:m}}else{var x=[],E=Spe[l],[C,_,D]=E,w=D/1e3,A=C.length,I,M;if(A===1){var L=E[3];I=["hide-tail"],M=[L]}else if(A===2)I=["halfarrow-left","halfarrow-right"],M=["xMinYMin","xMaxYMin"];else if(A===3)I=["brace-left","brace-center","brace-right"],M=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
||
`+A+" children.");for(var U=0;U<A;U++){var j=new pu(C[U]),z=new ol([j],{width:"400em",height:lt(w),viewBox:"0 0 "+s+" "+D,preserveAspectRatio:M[U]+" slice"}),V=_e.makeSvgSpan([I[U]],[z],r);if(A===1)return{span:V,minWidth:_,height:w};V.style.height=lt(w),x.push(V)}return{span:_e.makeSpan(["stretchy"],x,r),minWidth:_,height:w}}}var{span:a,minWidth:i,height:o}=n();return a.height=o,a.style.height=lt(o),i>0&&(a.style.minWidth=lt(i)),a},kpe=function(t,r,n,a,i){var o,s=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(o=_e.makeSpan(["stretchy",r],[],i),r==="fbox"){var l=i.color&&i.getColor();l&&(o.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(r)&&u.push(new a_({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&u.push(new a_({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new ol(u,{width:"100%",height:lt(s)});o=_e.makeSvgSpan([],[d],i)}return o.height=s,o.style.height=lt(s),o},ll={encloseSpan:kpe,mathMLnode:Epe,svgSpan:wpe};function pr(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function W6(e){var t=uv(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function uv(e){return e&&(e.type==="atom"||Xhe.hasOwnProperty(e.type))?e:null}var V6=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=pr(e.base,"accent"),r=n.base,e.base=r,a=Khe(Lr(e,t)),e.base=n):(n=pr(e,"accent"),r=n.base);var i=Lr(r,t.havingCrampedStyle()),o=n.isShifty&&$t.isCharacterBox(r),s=0;if(o){var l=$t.getBaseElem(r),u=Lr(l,t.havingCrampedStyle());s=$8(u).skew}var d=n.label==="\\c",h=d?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),f;if(n.isStretchy)f=ll.svgSpan(n,t),f=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+lt(2*s)+")",marginLeft:lt(2*s)}:void 0}]},t);else{var m,b;n.label==="\\vec"?(m=_e.staticSvg("vec",t),b=_e.svgData.vec[1]):(m=_e.makeOrd({mode:n.mode,text:n.label},t,"textord"),m=$8(m),m.italic=0,b=m.width,d&&(h+=m.depth)),f=_e.makeSpan(["accent-body"],[m]);var y=n.label==="\\textcircled";y&&(f.classes.push("accent-full"),h=i.height);var F=s;y||(F-=b/2),f.style.left=lt(F),n.label==="\\textcircled"&&(f.style.top=".2em"),f=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-h},{type:"elem",elem:f}]},t)}var x=_e.makeSpan(["mord","accent"],[f],t);return a?(a.children[0]=x,a.height=Math.max(x.height,a.height),a.classes[0]="mord",a):x},WV=(e,t)=>{var r=e.isStretchy?ll.mathMLnode(e.label):new nt.MathNode("mo",[io(e.label,e.mode)]),n=new nt.MathNode("mover",[Yr(e.base,t),r]);return n.setAttribute("accent","true"),n},Cpe=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));mt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=$b(t[0]),n=!Cpe.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:V6,mathmlBuilder:WV});mt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:V6,mathmlBuilder:WV});mt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=Lr(e.base,t),n=ll.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,i=_e.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return _e.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=ll.mathMLnode(e.label),n=new nt.MathNode("munder",[Yr(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var a1=e=>{var t=new nt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};mt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=_e.wrapFragment(Lr(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var o;e.below&&(n=t.havingStyle(r.sub()),o=_e.wrapFragment(Lr(e.below,n,t),t),o.classes.push(i+"-arrow-pad"));var s=ll.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,u=-t.fontMetrics().axisHeight-.5*s.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(u-=a.depth);var d;if(o){var h=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;d=_e.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:h}]},t)}else d=_e.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:u},{type:"elem",elem:s,shift:l}]},t);return d.children[0].children[0].children[1].classes.push("svg-align"),_e.makeSpan(["mrel","x-arrow"],[d],t)},mathmlBuilder(e,t){var r=ll.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=a1(Yr(e.body,t));if(e.below){var i=a1(Yr(e.below,t));n=new nt.MathNode("munderover",[r,i,a])}else n=new nt.MathNode("mover",[r,a])}else if(e.below){var o=a1(Yr(e.below,t));n=new nt.MathNode("munder",[r,o])}else n=a1(),n=new nt.MathNode("mover",[r,n]);return n}});var Tpe=_e.makeSpan;function VV(e,t){var r=Wn(e.body,t,!0);return Tpe([e.mclass],r,t)}function KV(e,t){var r,n=ii(e.body,t);return e.mclass==="minner"?r=new nt.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new nt.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new nt.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}mt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Cn(a),isCharacterBox:$t.isCharacterBox(a)}},htmlBuilder:VV,mathmlBuilder:KV});var cv=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};mt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:cv(t[0]),body:Cn(t[1]),isCharacterBox:$t.isCharacterBox(t[1])}}});mt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],o;n!=="\\stackrel"?o=cv(a):o="mrel";var s={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Cn(a)},l={type:"supsub",mode:i.mode,base:s,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:o,body:[l],isCharacterBox:$t.isCharacterBox(l)}},htmlBuilder:VV,mathmlBuilder:KV});mt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:cv(t[0]),body:Cn(t[0])}},htmlBuilder(e,t){var r=Wn(e.body,t,!0),n=_e.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=ii(e.body,t),n=new nt.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Ape={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},J8=()=>({type:"styling",body:[],mode:"math",style:"display"}),Z8=e=>e.type==="textord"&&e.text==="@",_pe=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Dpe(e,t,r){var n=Ape[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},o=r.callFunction("\\Big",[i],[]),s=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[a,o,s]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Rpe(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new at("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var o=t[i],s=J8(),l=0;l<o.length;l++)if(!Z8(o[l]))s.body.push(o[l]);else{n.push(s),l+=1;var u=W6(o[l]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(u)>-1))if("<>AV".indexOf(u)>-1)for(var h=0;h<2;h++){for(var f=!0,m=l+1;m<o.length;m++){if(_pe(o[m],u)){f=!1,l=m;break}if(Z8(o[m]))throw new at("Missing a "+u+" character to complete a CD arrow.",o[m]);d[h].body.push(o[m])}if(f)throw new at("Missing a "+u+" character to complete a CD arrow.",o[l])}else throw new at('Expected one of "<>AV=|." after @',o[l]);var b=Dpe(u,d,e),y={type:"styling",body:[b],mode:"math",style:"display"};n.push(y),s=J8()}i%2===0?n.push(s):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var F=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:F,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}mt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=_e.wrapFragment(Lr(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=lt(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new nt.MathNode("mrow",[Yr(e.label,t)]);return r=new nt.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new nt.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});mt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=_e.wrapFragment(Lr(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new nt.MathNode("mrow",[Yr(e.fragment,t)])}});mt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=pr(t[0],"ordgroup"),a=n.body,i="",o=0;o<a.length;o++){var s=pr(a[o],"textord");i+=s.text}var l=parseInt(i),u;if(isNaN(l))throw new at("\\@char has non-numeric argument "+i);if(l<0||l>=1114111)throw new at("\\@char with invalid code point "+i);return l<=65535?u=String.fromCharCode(l):(l-=65536,u=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:u}}});var YV=(e,t)=>{var r=Wn(e.body,t.withColor(e.color),!1);return _e.makeFragment(r)},XV=(e,t)=>{var r=ii(e.body,t.withColor(e.color)),n=new nt.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};mt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=pr(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:Cn(a)}},htmlBuilder:YV,mathmlBuilder:XV});mt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=pr(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:YV,mathmlBuilder:XV});mt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&pr(a,"size").value}},htmlBuilder(e,t){var r=_e.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=lt(fn(e.size,t)))),r},mathmlBuilder(e,t){var r=new nt.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",lt(fn(e.size,t)))),r}});var l_={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},JV=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new at("Expected a control sequence",e);return t},Npe=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},ZV=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};mt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(l_[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=l_[n.text]),pr(t.parseFunction(),"internal");throw new at("Invalid token after macro prefix",n)}});mt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new at("Expected a control sequence",n);for(var i=0,o,s=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),s[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new at('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new at('Argument number "'+n.text+'" out of order');i++,s.push([])}else{if(n.text==="EOF")throw new at("Expected a macro definition");s[i].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return o&&l.unshift(o),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(a,{tokens:l,numArgs:i,delimiters:s},r===l_[r]),{type:"internal",mode:t.mode}}});mt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=JV(t.gullet.popToken());t.gullet.consumeSpaces();var a=Npe(t);return ZV(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});mt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=JV(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return ZV(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Yf=function(t,r,n){var a=rn.math[t]&&rn.math[t].replace,i=U6(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},K6=function(t,r,n,a){var i=n.havingBaseStyle(r),o=_e.makeSpan(a.concat(i.sizingClasses(n)),[t],n),s=i.sizeMultiplier/n.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=i.sizeMultiplier,o},QV=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=lt(i),t.height-=i,t.depth+=i},Lpe=function(t,r,n,a,i,o){var s=_e.makeSymbol(t,"Main-Regular",i,a),l=K6(s,r,a,o);return n&&QV(l,a,r),l},Mpe=function(t,r,n,a){return _e.makeSymbol(t,"Size"+r+"-Regular",n,a)},eK=function(t,r,n,a,i,o){var s=Mpe(t,r,i,a),l=K6(_e.makeSpan(["delimsizing","size"+r],[s],a),qt.TEXT,a,o);return n&&QV(l,a,qt.TEXT),l},sS=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=_e.makeSpan(["delimsizinginner",a],[_e.makeSpan([],[_e.makeSymbol(t,r,n)])]);return{type:"elem",elem:i}},lS=function(t,r,n){var a=es["Size4-Regular"][t.charCodeAt(0)]?es["Size4-Regular"][t.charCodeAt(0)][4]:es["Size1-Regular"][t.charCodeAt(0)][4],i=new pu("inner",Hhe(t,Math.round(1e3*r))),o=new ol([i],{width:lt(a),height:lt(r),style:"width:"+lt(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),s=_e.makeSvgSpan([],[o],n);return s.height=r,s.style.height=lt(r),s.style.width=lt(a),{type:"elem",elem:s}},u_=.008,i1={type:"kern",size:-1*u_},Ipe=["|","\\lvert","\\rvert","\\vert"],Ope=["\\|","\\lVert","\\rVert","\\Vert"],tK=function(t,r,n,a,i,o){var s,l,u,d,h="",f=0;s=u=d=t,l=null;var m="Size1-Regular";t==="\\uparrow"?u=d="⏐":t==="\\Uparrow"?u=d="‖":t==="\\downarrow"?s=u="⏐":t==="\\Downarrow"?s=u="‖":t==="\\updownarrow"?(s="\\uparrow",u="⏐",d="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",u="‖",d="\\Downarrow"):$t.contains(Ipe,t)?(u="∣",h="vert",f=333):$t.contains(Ope,t)?(u="∥",h="doublevert",f=556):t==="["||t==="\\lbrack"?(s="⎡",u="⎢",d="⎣",m="Size4-Regular",h="lbrack",f=667):t==="]"||t==="\\rbrack"?(s="⎤",u="⎥",d="⎦",m="Size4-Regular",h="rbrack",f=667):t==="\\lfloor"||t==="⌊"?(u=s="⎢",d="⎣",m="Size4-Regular",h="lfloor",f=667):t==="\\lceil"||t==="⌈"?(s="⎡",u=d="⎢",m="Size4-Regular",h="lceil",f=667):t==="\\rfloor"||t==="⌋"?(u=s="⎥",d="⎦",m="Size4-Regular",h="rfloor",f=667):t==="\\rceil"||t==="⌉"?(s="⎤",u=d="⎥",m="Size4-Regular",h="rceil",f=667):t==="("||t==="\\lparen"?(s="⎛",u="⎜",d="⎝",m="Size4-Regular",h="lparen",f=875):t===")"||t==="\\rparen"?(s="⎞",u="⎟",d="⎠",m="Size4-Regular",h="rparen",f=875):t==="\\{"||t==="\\lbrace"?(s="⎧",l="⎨",d="⎩",u="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="⎫",l="⎬",d="⎭",u="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(s="⎧",d="⎩",u="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(s="⎫",d="⎭",u="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(s="⎧",d="⎭",u="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(s="⎫",d="⎩",u="⎪",m="Size4-Regular");var b=Yf(s,m,i),y=b.height+b.depth,F=Yf(u,m,i),x=F.height+F.depth,E=Yf(d,m,i),C=E.height+E.depth,_=0,D=1;if(l!==null){var w=Yf(l,m,i);_=w.height+w.depth,D=2}var A=y+C+_,I=Math.max(0,Math.ceil((r-A)/(D*x))),M=A+I*D*x,L=a.fontMetrics().axisHeight;n&&(L*=a.sizeMultiplier);var U=M/2-L,j=[];if(h.length>0){var z=M-y-C,V=Math.round(M*1e3),X=Uhe(h,Math.round(z*1e3)),q=new pu(h,X),W=(f/1e3).toFixed(3)+"em",B=(V/1e3).toFixed(3)+"em",te=new ol([q],{width:W,height:B,viewBox:"0 0 "+f+" "+V}),P=_e.makeSvgSpan([],[te],a);P.height=V/1e3,P.style.width=W,P.style.height=B,j.push({type:"elem",elem:P})}else{if(j.push(sS(d,m,i)),j.push(i1),l===null){var Z=M-y-C+2*u_;j.push(lS(u,Z,a))}else{var K=(M-y-C-_)/2+2*u_;j.push(lS(u,K,a)),j.push(i1),j.push(sS(l,m,i)),j.push(i1),j.push(lS(u,K,a))}j.push(i1),j.push(sS(s,m,i))}var G=a.havingBaseStyle(qt.TEXT),ne=_e.makeVList({positionType:"bottom",positionData:U,children:j},G);return K6(_e.makeSpan(["delimsizing","mult"],[ne],G),qt.TEXT,a,o)},uS=80,cS=.08,dS=function(t,r,n,a,i){var o=zhe(t,a,n),s=new pu(t,o),l=new ol([s],{width:"400em",height:lt(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return _e.makeSvgSpan(["hide-tail"],[l],i)},Bpe=function(t,r){var n=r.havingBaseSizing(),a=iK("\\surd",t*n.sizeMultiplier,aK,n),i=n.sizeMultiplier,o=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),s,l=0,u=0,d=0,h;return a.type==="small"?(d=1e3+1e3*o+uS,t<1?i=1:t<1.4&&(i=.7),l=(1+o+cS)/i,u=(1+o)/i,s=dS("sqrtMain",l,d,o,r),s.style.minWidth="0.853em",h=.833/i):a.type==="large"?(d=(1e3+uS)*lm[a.size],u=(lm[a.size]+o)/i,l=(lm[a.size]+o+cS)/i,s=dS("sqrtSize"+a.size,l,d,o,r),s.style.minWidth="1.02em",h=1/i):(l=t+o+cS,u=t+o,d=Math.floor(1e3*t+o)+uS,s=dS("sqrtTall",l,d,o,r),s.style.minWidth="0.742em",h=1.056),s.height=u,s.style.height=lt(l),{span:s,advanceWidth:h,ruleWidth:(r.fontMetrics().sqrtRuleThickness+o)*i}},rK=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Ppe=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],nK=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],lm=[0,1.2,1.8,2.4,3],zpe=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),$t.contains(rK,t)||$t.contains(nK,t))return eK(t,r,!1,n,a,i);if($t.contains(Ppe,t))return tK(t,lm[r],!1,n,a,i);throw new at("Illegal delimiter: '"+t+"'")},Hpe=[{type:"small",style:qt.SCRIPTSCRIPT},{type:"small",style:qt.SCRIPT},{type:"small",style:qt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Upe=[{type:"small",style:qt.SCRIPTSCRIPT},{type:"small",style:qt.SCRIPT},{type:"small",style:qt.TEXT},{type:"stack"}],aK=[{type:"small",style:qt.SCRIPTSCRIPT},{type:"small",style:qt.SCRIPT},{type:"small",style:qt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Gpe=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},iK=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),o=i;o<n.length&&n[o].type!=="stack";o++){var s=Yf(t,Gpe(n[o]),"math"),l=s.height+s.depth;if(n[o].type==="small"){var u=a.havingBaseStyle(n[o].style);l*=u.sizeMultiplier}if(l>r)return n[o]}return n[n.length-1]},oK=function(t,r,n,a,i,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var s;$t.contains(nK,t)?s=Hpe:$t.contains(rK,t)?s=aK:s=Upe;var l=iK(t,r,s,a);return l.type==="small"?Lpe(t,l.style,n,a,i,o):l.type==="large"?eK(t,l.size,n,a,i,o):tK(t,r,n,a,i,o)},$pe=function(t,r,n,a,i,o){var s=a.fontMetrics().axisHeight*a.sizeMultiplier,l=901,u=5/a.fontMetrics().ptPerEm,d=Math.max(r-s,n+s),h=Math.max(d/500*l,2*d-u);return oK(t,h,!0,a,i,o)},tl={sqrtImage:Bpe,sizedDelim:zpe,sizeToMaxHeight:lm,customSizedDelim:oK,leftRightDelim:$pe},Q8={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},jpe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function dv(e,t){var r=uv(e);if(r&&$t.contains(jpe,r.text))return r;throw r?new at("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new at("Invalid delimiter type '"+e.type+"'",e)}mt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=dv(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Q8[e.funcName].size,mclass:Q8[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?_e.makeSpan([e.mclass]):tl.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(io(e.delim,e.mode));var r=new nt.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=lt(tl.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function eI(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}mt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new at("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:dv(t[0],e).text,color:r}}});mt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=dv(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=pr(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{eI(e);for(var r=Wn(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,o=0;o<r.length;o++)r[o].isMiddle?i=!0:(n=Math.max(r[o].height,n),a=Math.max(r[o].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var s;if(e.left==="."?s=Cm(t,["mopen"]):s=tl.leftRightDelim(e.left,n,a,t,e.mode,["mopen"]),r.unshift(s),i)for(var l=1;l<r.length;l++){var u=r[l],d=u.isMiddle;d&&(r[l]=tl.leftRightDelim(d.delim,n,a,d.options,e.mode,[]))}var h;if(e.right===".")h=Cm(t,["mclose"]);else{var f=e.rightColor?t.withColor(e.rightColor):t;h=tl.leftRightDelim(e.right,n,a,f,e.mode,["mclose"])}return r.push(h),_e.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{eI(e);var r=ii(e.body,t);if(e.left!=="."){var n=new nt.MathNode("mo",[io(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new nt.MathNode("mo",[io(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return j6(r)}});mt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=dv(t[0],e);if(!e.parser.leftrightDepth)throw new at("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Cm(t,[]);else{r=tl.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?io("|","text"):io(e.delim,e.mode),n=new nt.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Y6=(e,t)=>{var r=_e.wrapFragment(Lr(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,o=0,s=$t.isCharacterBox(e.body);if(n==="sout")i=_e.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=fn({number:.6,unit:"pt"},t),u=fn({number:.35,unit:"ex"},t),d=t.havingBaseSizing();a=a/d.sizeMultiplier;var h=r.height+r.depth+l+u;r.style.paddingLeft=lt(h/2+l);var f=Math.floor(1e3*h*a),m=Bhe(f),b=new ol([new pu("phase",m)],{width:"400em",height:lt(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});i=_e.makeSvgSpan(["hide-tail"],[b],t),i.style.height=lt(h),o=r.depth+l+u}else{/cancel/.test(n)?s||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,F=0,x=0;/box/.test(n)?(x=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:x),F=y):n==="angl"?(x=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*x,F=Math.max(0,.25-r.depth)):(y=s?.2:0,F=y),i=ll.encloseSpan(r,n,y,F,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=lt(x)):n==="angl"&&x!==.049&&(i.style.borderTopWidth=lt(x),i.style.borderRightWidth=lt(x)),o=r.depth+F,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var E;if(e.backgroundColor)E=_e.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:r,shift:0}]},t);else{var C=/cancel|phase/.test(n)?["svg-align"]:[];E=_e.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:C}]},t)}return/cancel/.test(n)&&(E.height=r.height,E.depth=r.depth),/cancel/.test(n)&&!s?_e.makeSpan(["mord","cancel-lap"],[E],t):_e.makeSpan(["mord"],[E],t)},X6=(e,t)=>{var r=0,n=new nt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Yr(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};mt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=pr(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:o}},htmlBuilder:Y6,mathmlBuilder:X6});mt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=pr(t[0],"color-token").color,o=pr(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Y6,mathmlBuilder:X6});mt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});mt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:Y6,mathmlBuilder:X6});mt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var sK={};function ls(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l<r.length;++l)sK[r[l]]=s;i&&(Ub[t]=i),o&&(Gb[t]=o)}var lK={};function Q(e,t){lK[e]=t}function tI(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var hv=e=>{var t=e.parser.settings;if(!t.displayMode)throw new at("{"+e.envName+"} can be used only in display mode.")};function J6(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function xu(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:u,emptySingleRow:d,maxNumCols:h,leqno:f}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)o=1;else if(o=parseFloat(m),!o||o<0)throw new at("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var b=[],y=[b],F=[],x=[],E=l!=null?[]:void 0;function C(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function _(){E&&(e.gullet.macros.get("\\df@tag")?(E.push(e.subparse([new ro("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):E.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(C(),x.push(tI(e));;){var D=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),D={type:"ordgroup",mode:e.mode,body:D},r&&(D={type:"styling",mode:e.mode,style:r,body:[D]}),b.push(D);var w=e.fetch().text;if(w==="&"){if(h&&b.length===h){if(u||s)throw new at("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(w==="\\end"){_(),b.length===1&&D.type==="styling"&&D.body[0].body.length===0&&(y.length>1||!d)&&y.pop(),x.length<y.length+1&&x.push([]);break}else if(w==="\\\\"){e.consume();var A=void 0;e.gullet.future().text!==" "&&(A=e.parseSizeGroup(!0)),F.push(A?A.value:null),_(),x.push(tI(e)),b=[],y.push(b),C()}else throw new at("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:o,body:y,cols:i,rowGaps:F,hskipBeforeAndAfter:n,hLinesBeforeRow:x,colSeparationType:s,tags:E,leqno:f}}function Z6(e){return e.slice(0,1)==="d"?"display":"text"}var us=function(t,r){var n,a,i=t.body.length,o=t.hLinesBeforeRow,s=0,l=new Array(i),u=[],d=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),h=1/r.fontMetrics().ptPerEm,f=5*h;if(t.colSeparationType&&t.colSeparationType==="small"){var m=r.havingStyle(qt.SCRIPT).sizeMultiplier;f=.2778*(m/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?fn({number:3,unit:"ex"},r):12*h,y=3*h,F=t.arraystretch*b,x=.7*F,E=.3*F,C=0;function _(yt){for(var qe=0;qe<yt.length;++qe)qe>0&&(C+=.25),u.push({pos:C,isDashed:yt[qe]})}for(_(o[0]),n=0;n<t.body.length;++n){var D=t.body[n],w=x,A=E;s<D.length&&(s=D.length);var I=new Array(D.length);for(a=0;a<D.length;++a){var M=Lr(D[a],r);A<M.depth&&(A=M.depth),w<M.height&&(w=M.height),I[a]=M}var L=t.rowGaps[n],U=0;L&&(U=fn(L,r),U>0&&(U+=E,A<U&&(A=U),U=0)),t.addJot&&(A+=y),I.height=w,I.depth=A,C+=w,I.pos=C,C+=A+U,l[n]=I,_(o[n+1])}var j=C/2+r.fontMetrics().axisHeight,z=t.cols||[],V=[],X,q,W=[];if(t.tags&&t.tags.some(yt=>yt))for(n=0;n<i;++n){var B=l[n],te=B.pos-j,P=t.tags[n],Z=void 0;P===!0?Z=_e.makeSpan(["eqn-num"],[],r):P===!1?Z=_e.makeSpan([],[],r):Z=_e.makeSpan([],Wn(P,r,!0),r),Z.depth=B.depth,Z.height=B.height,W.push({type:"elem",elem:Z,shift:te})}for(a=0,q=0;a<s||q<z.length;++a,++q){for(var K=z[q]||{},G=!0;K.type==="separator";){if(G||(X=_e.makeSpan(["arraycolsep"],[]),X.style.width=lt(r.fontMetrics().doubleRuleSep),V.push(X)),K.separator==="|"||K.separator===":"){var ne=K.separator==="|"?"solid":"dashed",oe=_e.makeSpan(["vertical-separator"],[],r);oe.style.height=lt(C),oe.style.borderRightWidth=lt(d),oe.style.borderRightStyle=ne,oe.style.margin="0 "+lt(-d/2);var de=C-j;de&&(oe.style.verticalAlign=lt(-de)),V.push(oe)}else throw new at("Invalid separator type: "+K.separator);q++,K=z[q]||{},G=!1}if(!(a>=s)){var ie=void 0;(a>0||t.hskipBeforeAndAfter)&&(ie=$t.deflt(K.pregap,f),ie!==0&&(X=_e.makeSpan(["arraycolsep"],[]),X.style.width=lt(ie),V.push(X)));var ue=[];for(n=0;n<i;++n){var Ne=l[n],pe=Ne[a];if(pe){var Le=Ne.pos-j;pe.depth=Ne.depth,pe.height=Ne.height,ue.push({type:"elem",elem:pe,shift:Le})}}ue=_e.makeVList({positionType:"individualShift",children:ue},r),ue=_e.makeSpan(["col-align-"+(K.align||"c")],[ue]),V.push(ue),(a<s-1||t.hskipBeforeAndAfter)&&(ie=$t.deflt(K.postgap,f),ie!==0&&(X=_e.makeSpan(["arraycolsep"],[]),X.style.width=lt(ie),V.push(X)))}}if(l=_e.makeSpan(["mtable"],V),u.length>0){for(var Me=_e.makeLineSpan("hline",r,d),Ee=_e.makeLineSpan("hdashline",r,d),Te=[{type:"elem",elem:l,shift:0}];u.length>0;){var Re=u.pop(),fe=Re.pos-j;Re.isDashed?Te.push({type:"elem",elem:Ee,shift:fe}):Te.push({type:"elem",elem:Me,shift:fe})}l=_e.makeVList({positionType:"individualShift",children:Te},r)}if(W.length===0)return _e.makeSpan(["mord"],[l],r);var Ze=_e.makeVList({positionType:"individualShift",children:W},r);return Ze=_e.makeSpan(["tag"],[Ze],r),_e.makeFragment([l,Ze])},qpe={c:"center ",l:"left ",r:"right "},cs=function(t,r){for(var n=[],a=new nt.MathNode("mtd",[],["mtr-glue"]),i=new nt.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var s=t.body[o],l=[],u=0;u<s.length;u++)l.push(new nt.MathNode("mtd",[Yr(s[u],r)]));t.tags&&t.tags[o]&&(l.unshift(a),l.push(a),t.leqno?l.unshift(i):l.push(i)),n.push(new nt.MathNode("mtr",l))}var d=new nt.MathNode("mtable",n),h=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);d.setAttribute("rowspacing",lt(h));var f="",m="";if(t.cols&&t.cols.length>0){var b=t.cols,y="",F=!1,x=0,E=b.length;b[0].type==="separator"&&(f+="top ",x=1),b[b.length-1].type==="separator"&&(f+="bottom ",E-=1);for(var C=x;C<E;C++)b[C].type==="align"?(m+=qpe[b[C].align],F&&(y+="none "),F=!0):b[C].type==="separator"&&F&&(y+=b[C].separator==="|"?"solid ":"dashed ",F=!1);d.setAttribute("columnalign",m.trim()),/[sd]/.test(y)&&d.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var _=t.cols||[],D="",w=1;w<_.length;w++)D+=w%2?"0em ":"1em ";d.setAttribute("columnspacing",D.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var A="",I=t.hLinesBeforeRow;f+=I[0].length>0?"left ":"",f+=I[I.length-1].length>0?"right ":"";for(var M=1;M<I.length-1;M++)A+=I[M].length===0?"none ":I[M][0]?"dashed ":"solid ";return/[sd]/.test(A)&&d.setAttribute("rowlines",A.trim()),f!==""&&(d=new nt.MathNode("menclose",[d]),d.setAttribute("notation",f.trim())),t.arraystretch&&t.arraystretch<1&&(d=new nt.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},uK=function(t,r){t.envName.indexOf("ed")===-1&&hv(t);var n=[],a=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",o=xu(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:J6(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),s,l=0,u={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",h=0;h<r[0].body.length;h++){var f=pr(r[0].body[h],"textord");d+=f.text}s=Number(d),l=s*2}var m=!l;o.body.forEach(function(x){for(var E=1;E<x.length;E+=2){var C=pr(x[E],"styling"),_=pr(C.body[0],"ordgroup");_.body.unshift(u)}if(m)l<x.length&&(l=x.length);else{var D=x.length/2;if(s<D)throw new at("Too many math in a row: "+("expected "+s+", but got "+D),x[0])}});for(var b=0;b<l;++b){var y="r",F=0;b%2===1?y="l":b>0&&m&&(F=1),n[b]={type:"align",align:y,pregap:F,postgap:0}}return o.colSeparationType=m?"align":"alignat",o};ls({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=uv(t[0]),n=r?[t[0]]:pr(t[0],"ordgroup").body,a=n.map(function(o){var s=W6(o),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new at("Unknown column alignment: "+l,o)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return xu(e.parser,i,Z6(e.envName))},htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,"lcr".indexOf(r)===-1)throw new at("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=xu(e.parser,n,Z6(e.envName)),o=Math.max(0,...i.body.map(s=>s.length));return i.cols=new Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=xu(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=uv(t[0]),n=r?[t[0]]:pr(t[0],"ordgroup").body,a=n.map(function(o){var s=W6(o),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new at("Unknown column alignment: "+l,o)});if(a.length>1)throw new at("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=xu(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new at("{subarray} can contain only one column");return i},htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=xu(e.parser,t,Z6(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:uK,htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){$t.contains(["gather","gather*"],e.envName)&&hv(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:J6(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return xu(e.parser,t,"display")},htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uK,htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){hv(e);var t={autoTag:J6(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return xu(e.parser,t,"display")},htmlBuilder:us,mathmlBuilder:cs});ls({type:"array",names:["CD"],props:{numArgs:0},handler(e){return hv(e),Rpe(e.parser)},htmlBuilder:us,mathmlBuilder:cs});Q("\\nonumber","\\gdef\\@eqnsw{0}");Q("\\notag","\\nonumber");mt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new at(e.funcName+" valid only within array environment")}});var rI=sK;mt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new at("Invalid environment name",a);for(var i="",o=0;o<a.body.length;++o)i+=pr(a.body[o],"textord").text;if(n==="\\begin"){if(!rI.hasOwnProperty(i))throw new at("No such environment: "+i,a);var s=rI[i],{args:l,optArgs:u}=r.parseArguments("\\begin{"+i+"}",s),d={mode:r.mode,envName:i,parser:r},h=s.handler(d,l,u);r.expect("\\end",!1);var f=r.nextToken,m=pr(r.parseFunction(),"environment");if(m.name!==i)throw new at("Mismatch: \\begin{"+i+"} matched by \\end{"+m.name+"}",f);return h}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var cK=(e,t)=>{var r=e.font,n=t.withFont(r);return Lr(e.body,n)},dK=(e,t)=>{var r=e.font,n=t.withFont(r);return Yr(e.body,n)},nI={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};mt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=$b(t[0]),i=n;return i in nI&&(i=nI[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:cK,mathmlBuilder:dK});mt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],a=$t.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:cv(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}});mt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,o=r.parseExpression(!0,a),s="math"+n.slice(1);return{type:"font",mode:i,font:s,body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:cK,mathmlBuilder:dK});var hK=(e,t)=>{var r=t;return e==="display"?r=r.id>=qt.SCRIPT.id?r.text():qt.DISPLAY:e==="text"&&r.size===qt.DISPLAY.size?r=qt.TEXT:e==="script"?r=qt.SCRIPT:e==="scriptscript"&&(r=qt.SCRIPTSCRIPT),r},Q6=(e,t)=>{var r=hK(e.size,t.style),n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var o=Lr(e.numer,i,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<l?l:o.depth}i=t.havingStyle(a);var u=Lr(e.denom,i,t),d,h,f;e.hasBarLine?(e.barSize?(h=fn(e.barSize,t),d=_e.makeLineSpan("frac-line",t,h)):d=_e.makeLineSpan("frac-line",t),h=d.height,f=d.height):(d=null,h=0,f=t.fontMetrics().defaultRuleThickness);var m,b,y;r.size===qt.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,h>0?b=3*f:b=7*f,y=t.fontMetrics().denom1):(h>0?(m=t.fontMetrics().num2,b=f):(m=t.fontMetrics().num3,b=3*f),y=t.fontMetrics().denom2);var F;if(d){var E=t.fontMetrics().axisHeight;m-o.depth-(E+.5*h)<b&&(m+=b-(m-o.depth-(E+.5*h))),E-.5*h-(u.height-y)<b&&(y+=b-(E-.5*h-(u.height-y)));var C=-(E-.5*h);F=_e.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:y},{type:"elem",elem:d,shift:C},{type:"elem",elem:o,shift:-m}]},t)}else{var x=m-o.depth-(u.height-y);x<b&&(m+=.5*(b-x),y+=.5*(b-x)),F=_e.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:y},{type:"elem",elem:o,shift:-m}]},t)}i=t.havingStyle(r),F.height*=i.sizeMultiplier/t.sizeMultiplier,F.depth*=i.sizeMultiplier/t.sizeMultiplier;var _;r.size===qt.DISPLAY.size?_=t.fontMetrics().delim1:r.size===qt.SCRIPTSCRIPT.size?_=t.havingStyle(qt.SCRIPT).fontMetrics().delim2:_=t.fontMetrics().delim2;var D,w;return e.leftDelim==null?D=Cm(t,["mopen"]):D=tl.customSizedDelim(e.leftDelim,_,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?w=_e.makeSpan([]):e.rightDelim==null?w=Cm(t,["mclose"]):w=tl.customSizedDelim(e.rightDelim,_,!0,t.havingStyle(r),e.mode,["mclose"]),_e.makeSpan(["mord"].concat(i.sizingClasses(t)),[D,_e.makeSpan(["mfrac"],[F]),w],t)},eR=(e,t)=>{var r=new nt.MathNode("mfrac",[Yr(e.numer,t),Yr(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=fn(e.barSize,t);r.setAttribute("linethickness",lt(n))}var a=hK(e.size,t.style);if(a.size!==t.style.size){r=new nt.MathNode("mstyle",[r]);var i=a.size===qt.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var s=new nt.MathNode("mo",[new nt.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),e.rightDelim!=null){var l=new nt.MathNode("mo",[new nt.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return j6(o)}return r};mt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],o,s=null,l=null,u="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:i,hasBarLine:o,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:Q6,mathmlBuilder:eR});mt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});mt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var aI=["display","text","script","scriptscript"],iI=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};mt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],i=$b(t[0]),o=i.type==="atom"&&i.family==="open"?iI(i.text):null,s=$b(t[1]),l=s.type==="atom"&&s.family==="close"?iI(s.text):null,u=pr(t[2],"size"),d,h=null;u.isBlank?d=!0:(h=u.value,d=h.number>0);var f="auto",m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var b=pr(m.body[0],"textord");f=aI[Number(b.text)]}}else m=pr(m,"textord"),f=aI[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:d,barSize:h,leftDelim:o,rightDelim:l,size:f}},htmlBuilder:Q6,mathmlBuilder:eR});mt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:pr(t[0],"size").value,token:a}}});mt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=She(pr(t[1],"infix").size),o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Q6,mathmlBuilder:eR});var pK=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Lr(e.sup,t.havingStyle(r.sup()),t):Lr(e.sub,t.havingStyle(r.sub()),t),a=pr(e.base,"horizBrace")):a=pr(e,"horizBrace");var i=Lr(a.base,t.havingBaseStyle(qt.DISPLAY)),o=ll.svgSpan(a,t),s;if(a.isOver?(s=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=_e.makeVList({positionType:"bottom",positionData:i.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),n){var l=_e.makeSpan(["mord",a.isOver?"mover":"munder"],[s],t);a.isOver?s=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):s=_e.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return _e.makeSpan(["mord",a.isOver?"mover":"munder"],[s],t)},Wpe=(e,t)=>{var r=ll.mathMLnode(e.label);return new nt.MathNode(e.isOver?"mover":"munder",[Yr(e.base,t),r])};mt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:pK,mathmlBuilder:Wpe});mt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=pr(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Cn(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Wn(e.body,t,!1);return _e.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=fu(e.body,t);return r instanceof ki||(r=new ki("mrow",[r])),r.setAttribute("href",e.href),r}});mt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=pr(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var o=n[i];o==="~"&&(o="\\textasciitilde"),a.push({type:"textord",mode:"text",text:o})}var s={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:Cn(s)}}});mt({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Cn(t[0])}},htmlBuilder(e,t){var r=Wn(e.body,t,!1);return _e.makeFragment(r)},mathmlBuilder(e,t){return new nt.MathNode("mrow",ii(e.body,t))}});mt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=pr(t[0],"raw").string,o=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(n){case"\\htmlClass":l.class=i,s={command:"\\htmlClass",class:i};break;case"\\htmlId":l.id=i,s={command:"\\htmlId",id:i};break;case"\\htmlStyle":l.style=i,s={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var u=i.split(","),d=0;d<u.length;d++){var h=u[d].split("=");if(h.length!==2)throw new at("Error parsing key-value for \\htmlData");l["data-"+h[0].trim()]=h[1].trim()}s={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(s)?{type:"html",mode:r.mode,attributes:l,body:Cn(o)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Wn(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=_e.makeSpan(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>fu(e.body,t)});mt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Cn(t[0]),mathml:Cn(t[1])}},htmlBuilder:(e,t)=>{var r=Wn(e.html,t,!1);return _e.makeFragment(r)},mathmlBuilder:(e,t)=>fu(e.mathml,t)});var hS=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new at("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!NV(n))throw new at("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};mt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(r[0])for(var l=pr(r[0],"raw").string,u=l.split(","),d=0;d<u.length;d++){var h=u[d].split("=");if(h.length===2){var f=h[1].trim();switch(h[0].trim()){case"alt":s=f;break;case"width":a=hS(f);break;case"height":i=hS(f);break;case"totalheight":o=hS(f);break;default:throw new at("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var m=pr(t[0],"url").url;return s===""&&(s=m,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:n.mode,alt:s,width:a,height:i,totalheight:o,src:m}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=fn(e.height,t),n=0;e.totalheight.number>0&&(n=fn(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=fn(e.width,t));var i={height:lt(r+n)};a>0&&(i.width=lt(a)),n>0&&(i.verticalAlign=lt(-n));var o=new Whe(e.src,e.alt,i);return o.height=r,o.depth=n,o},mathmlBuilder:(e,t)=>{var r=new nt.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=fn(e.height,t),a=0;if(e.totalheight.number>0&&(a=fn(e.totalheight,t)-n,r.setAttribute("valign",lt(-a))),r.setAttribute("height",lt(n+a)),e.width.number>0){var i=fn(e.width,t);r.setAttribute("width",lt(i))}return r.setAttribute("src",e.src),r}});mt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=pr(t[0],"size");if(r.settings.strict){var i=n[1]==="m",o=a.value.unit==="mu";i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return _e.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=fn(e.dimension,t);return new nt.SpaceNode(r)}});mt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=_e.makeSpan([],[Lr(e.body,t)]),r=_e.makeSpan(["inner"],[r],t)):r=_e.makeSpan(["inner"],[Lr(e.body,t)]);var n=_e.makeSpan(["fix"],[]),a=_e.makeSpan([e.alignment],[r,n],t),i=_e.makeSpan(["strut"]);return i.style.height=lt(a.height+a.depth),a.depth&&(i.style.verticalAlign=lt(-a.depth)),a.children.unshift(i),a=_e.makeSpan(["thinbox"],[a],t),_e.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new nt.MathNode("mpadded",[Yr(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});mt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",o=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:o}}});mt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new at("Mismatched "+e.funcName)}});var oI=(e,t)=>{switch(t.style.size){case qt.DISPLAY.size:return e.display;case qt.TEXT.size:return e.text;case qt.SCRIPT.size:return e.script;case qt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};mt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Cn(t[0]),text:Cn(t[1]),script:Cn(t[2]),scriptscript:Cn(t[3])}},htmlBuilder:(e,t)=>{var r=oI(e,t),n=Wn(r,t,!1);return _e.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=oI(e,t);return fu(r,t)}});var fK=(e,t,r,n,a,i,o)=>{e=_e.makeSpan([],[e]);var s=r&&$t.isCharacterBox(r),l,u;if(t){var d=Lr(t,n.havingStyle(a.sup()),n);u={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var h=Lr(r,n.havingStyle(a.sub()),n);l={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var f;if(u&&l){var m=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o;f=_e.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:lt(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:lt(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var b=e.height-o;f=_e.makeVList({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:lt(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},n)}else if(u){var y=e.depth+o;f=_e.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:lt(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var F=[f];if(l&&i!==0&&!s){var x=_e.makeSpan(["mspace"],[],n);x.style.marginRight=lt(i),F.unshift(x)}return _e.makeSpan(["mop","op-limits"],F,n)},mK=["\\smallint"],Vh=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=pr(e.base,"op"),a=!0):i=pr(e,"op");var o=t.style,s=!1;o.size===qt.DISPLAY.size&&i.symbol&&!$t.contains(mK,i.name)&&(s=!0);var l;if(i.symbol){var u=s?"Size2-Regular":"Size1-Regular",d="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(d=i.name.slice(1),i.name=d==="oiint"?"\\iint":"\\iiint"),l=_e.makeSymbol(i.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),d.length>0){var h=l.italic,f=_e.staticSvg(d+"Size"+(s?"2":"1"),t);l=_e.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:f,shift:s?.08:0}]},t),i.name="\\"+d,l.classes.unshift("mop"),l.italic=h}}else if(i.body){var m=Wn(i.body,t,!0);m.length===1&&m[0]instanceof ao?(l=m[0],l.classes[0]="mop"):l=_e.makeSpan(["mop"],m,t)}else{for(var b=[],y=1;y<i.name.length;y++)b.push(_e.mathsym(i.name[y],i.mode,t));l=_e.makeSpan(["mop"],b,t)}var F=0,x=0;return(l instanceof ao||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(F=(l.height-l.depth)/2-t.fontMetrics().axisHeight,x=l.italic),a?fK(l,r,n,t,o,x,F):(F&&(l.style.position="relative",l.style.top=lt(F)),l)},r0=(e,t)=>{var r;if(e.symbol)r=new ki("mo",[io(e.name,e.mode)]),$t.contains(mK,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new ki("mo",ii(e.body,t));else{r=new ki("mi",[new ts(e.name.slice(1))]);var n=new ki("mo",[io("","text")]);e.parentIsSupSub?r=new ki("mrow",[r,n]):r=$V([r,n])}return r},Vpe={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};mt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=n;return a.length===1&&(a=Vpe[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Vh,mathmlBuilder:r0});mt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Cn(n)}},htmlBuilder:Vh,mathmlBuilder:r0});var Kpe={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};mt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Vh,mathmlBuilder:r0});mt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Vh,mathmlBuilder:r0});mt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Kpe[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Vh,mathmlBuilder:r0});var gK=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=pr(e.base,"operatorname"),a=!0):i=pr(e,"operatorname");var o;if(i.body.length>0){for(var s=i.body.map(h=>{var f=h.text;return typeof f=="string"?{type:"textord",mode:h.mode,text:f}:h}),l=Wn(s,t.withFont("mathrm"),!0),u=0;u<l.length;u++){var d=l[u];d instanceof ao&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=_e.makeSpan(["mop"],l,t)}else o=_e.makeSpan(["mop"],[],t);return a?fK(o,r,n,t,t.style,0,0):o},Ype=(e,t)=>{for(var r=ii(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof nt.SpaceNode))if(i instanceof nt.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=i.children[0];i.children.length===1&&o instanceof nt.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var s=r.map(d=>d.toText()).join("");r=[new nt.TextNode(s)]}var l=new nt.MathNode("mi",r);l.setAttribute("mathvariant","normal");var u=new nt.MathNode("mo",[io("","text")]);return e.parentIsSupSub?new nt.MathNode("mrow",[l,u]):nt.newDocumentFragment([l,u])};mt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:Cn(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:gK,mathmlBuilder:Ype});Q("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Uc({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?_e.makeFragment(Wn(e.body,t,!1)):_e.makeSpan(["mord"],Wn(e.body,t,!0),t)},mathmlBuilder(e,t){return fu(e.body,t,!0)}});mt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Lr(e.body,t.havingCrampedStyle()),n=_e.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},t);return _e.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new nt.MathNode("mo",[new nt.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new nt.MathNode("mover",[Yr(e.body,t),r]);return n.setAttribute("accent","true"),n}});mt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Cn(n)}},htmlBuilder:(e,t)=>{var r=Wn(e.body,t.withPhantom(),!1);return _e.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=ii(e.body,t);return new nt.MathNode("mphantom",r)}});mt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=_e.makeSpan([],[Lr(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),_e.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=ii(Cn(e.body),t),n=new nt.MathNode("mphantom",r),a=new nt.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});mt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=_e.makeSpan(["inner"],[Lr(e.body,t.withPhantom())]),n=_e.makeSpan(["fix"],[]);return _e.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=ii(Cn(e.body),t),n=new nt.MathNode("mphantom",r),a=new nt.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}});mt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=pr(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Lr(e.body,t),n=fn(e.dy,t);return _e.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new nt.MathNode("mpadded",[Yr(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});mt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});mt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=pr(t[0],"size"),o=pr(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&pr(a,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=_e.makeSpan(["mord","rule"],[],t),n=fn(e.width,t),a=fn(e.height,t),i=e.shift?fn(e.shift,t):0;return r.style.borderRightWidth=lt(n),r.style.borderTopWidth=lt(a),r.style.bottom=lt(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=fn(e.width,t),n=fn(e.height,t),a=e.shift?fn(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new nt.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",lt(r)),o.setAttribute("height",lt(n));var s=new nt.MathNode("mpadded",[o]);return a>=0?s.setAttribute("height",lt(a)):(s.setAttribute("height",lt(a)),s.setAttribute("depth",lt(-a))),s.setAttribute("voffset",lt(a)),s}});function bK(e,t,r){for(var n=Wn(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var o=n[i].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[o+1]==="reset-size"+t.size&&(n[i].classes[o+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return _e.makeFragment(n)}var sI=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Xpe=(e,t)=>{var r=t.havingSize(e.size);return bK(e.body,r,t)};mt({type:"sizing",names:sI,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:sI.indexOf(n)+1,body:i}},htmlBuilder:Xpe,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=ii(e.body,r),a=new nt.MathNode("mstyle",n);return a.setAttribute("mathsize",lt(r.sizeMultiplier)),a}});mt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,o=r[0]&&pr(r[0],"ordgroup");if(o)for(var s="",l=0;l<o.body.length;++l){var u=o.body[l];if(s=u.text,s==="t")a=!0;else if(s==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var d=t[0];return{type:"smash",mode:n.mode,body:d,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=_e.makeSpan([],[Lr(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var i=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return _e.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new nt.MathNode("mpadded",[Yr(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});mt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=Lr(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=_e.wrapFragment(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<qt.TEXT.id&&(i=t.fontMetrics().xHeight);var o=a+i/4,s=r.height+r.depth+o+a,{span:l,ruleWidth:u,advanceWidth:d}=tl.sqrtImage(s,t),h=l.height-u;h>r.height+r.depth+o&&(o=(o+h-r.height-r.depth)/2);var f=l.height-r.height-o-u;r.style.paddingLeft=lt(d);var m=_e.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+f)},{type:"elem",elem:l},{type:"kern",size:u}]},t);if(e.index){var b=t.havingStyle(qt.SCRIPTSCRIPT),y=Lr(e.index,b,t),F=.6*(m.height-m.depth),x=_e.makeVList({positionType:"shift",positionData:-F,children:[{type:"elem",elem:y}]},t),E=_e.makeSpan(["root"],[x]);return _e.makeSpan(["mord","sqrt"],[E,m],t)}else return _e.makeSpan(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new nt.MathNode("mroot",[Yr(r,t),Yr(n,t)]):new nt.MathNode("msqrt",[Yr(r,t)])}});var lI={display:qt.DISPLAY,text:qt.TEXT,script:qt.SCRIPT,scriptscript:qt.SCRIPTSCRIPT};mt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),o=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:o,body:i}},htmlBuilder(e,t){var r=lI[e.style],n=t.havingStyle(r).withFont("");return bK(e.body,n,t)},mathmlBuilder(e,t){var r=lI[e.style],n=t.havingStyle(r),a=ii(e.body,n),i=new nt.MathNode("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var Jpe=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===qt.DISPLAY.size||n.alwaysHandleSupSub);return a?Vh:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===qt.DISPLAY.size||n.limits);return i?gK:null}else{if(n.type==="accent")return $t.isCharacterBox(n.base)?V6:null;if(n.type==="horizBrace"){var o=!t.sub;return o===n.isOver?pK:null}else return null}else return null};Uc({type:"supsub",htmlBuilder(e,t){var r=Jpe(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,o=Lr(n,t),s,l,u=t.fontMetrics(),d=0,h=0,f=n&&$t.isCharacterBox(n);if(a){var m=t.havingStyle(t.style.sup());s=Lr(a,m,t),f||(d=o.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());l=Lr(i,b,t),f||(h=o.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var y;t.style===qt.DISPLAY?y=u.sup1:t.style.cramped?y=u.sup3:y=u.sup2;var F=t.sizeMultiplier,x=lt(.5/u.ptPerEm/F),E=null;if(l){var C=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ao||C)&&(E=lt(-o.italic))}var _;if(s&&l){d=Math.max(d,y,s.depth+.25*u.xHeight),h=Math.max(h,u.sub2);var D=u.defaultRuleThickness,w=4*D;if(d-s.depth-(l.height-h)<w){h=w-(d-s.depth)+l.height;var A=.8*u.xHeight-(d-s.depth);A>0&&(d+=A,h-=A)}var I=[{type:"elem",elem:l,shift:h,marginRight:x,marginLeft:E},{type:"elem",elem:s,shift:-d,marginRight:x}];_=_e.makeVList({positionType:"individualShift",children:I},t)}else if(l){h=Math.max(h,u.sub1,l.height-.8*u.xHeight);var M=[{type:"elem",elem:l,marginLeft:E,marginRight:x}];_=_e.makeVList({positionType:"shift",positionData:h,children:M},t)}else if(s)d=Math.max(d,y,s.depth+.25*u.xHeight),_=_e.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:s,marginRight:x}]},t);else throw new Error("supsub must have either sup or sub.");var L=o_(o,"right")||"mord";return _e.makeSpan([L],[o,_e.makeSpan(["msupsub"],[_])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[Yr(e.base,t)];e.sub&&i.push(Yr(e.sub,t)),e.sup&&i.push(Yr(e.sup,t));var o;if(r)o=n?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===qt.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===qt.DISPLAY||u.limits)?o="munderover":o="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===qt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===qt.DISPLAY)?o="munder":o="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===qt.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===qt.DISPLAY)?o="mover":o="msup"}return new nt.MathNode(o,i)}});Uc({type:"atom",htmlBuilder(e,t){return _e.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new nt.MathNode("mo",[io(e.text,e.mode)]);if(e.family==="bin"){var n=q6(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var yK={mi:"italic",mn:"normal",mtext:"normal"};Uc({type:"mathord",htmlBuilder(e,t){return _e.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new nt.MathNode("mi",[io(e.text,e.mode,t)]),n=q6(e,t)||"italic";return n!==yK[r.type]&&r.setAttribute("mathvariant",n),r}});Uc({type:"textord",htmlBuilder(e,t){return _e.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=io(e.text,e.mode,t),n=q6(e,t)||"normal",a;return e.mode==="text"?a=new nt.MathNode("mtext",[r]):/[0-9]/.test(e.text)?a=new nt.MathNode("mn",[r]):e.text==="\\prime"?a=new nt.MathNode("mo",[r]):a=new nt.MathNode("mi",[r]),n!==yK[a.type]&&a.setAttribute("mathvariant",n),a}});var pS={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fS={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Uc({type:"spacing",htmlBuilder(e,t){if(fS.hasOwnProperty(e.text)){var r=fS[e.text].className||"";if(e.mode==="text"){var n=_e.makeOrd(e,t,"textord");return n.classes.push(r),n}else return _e.makeSpan(["mspace",r],[_e.mathsym(e.text,e.mode,t)],t)}else{if(pS.hasOwnProperty(e.text))return _e.makeSpan(["mspace",pS[e.text]],[],t);throw new at('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(fS.hasOwnProperty(e.text))r=new nt.MathNode("mtext",[new nt.TextNode(" ")]);else{if(pS.hasOwnProperty(e.text))return new nt.MathNode("mspace");throw new at('Unknown type of space "'+e.text+'"')}return r}});var uI=()=>{var e=new nt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Uc({type:"tag",mathmlBuilder(e,t){var r=new nt.MathNode("mtable",[new nt.MathNode("mtr",[uI(),new nt.MathNode("mtd",[fu(e.body,t)]),uI(),new nt.MathNode("mtd",[fu(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var cI={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},dI={"\\textbf":"textbf","\\textmd":"textmd"},Zpe={"\\textit":"textit","\\textup":"textup"},hI=(e,t)=>{var r=e.font;if(r){if(cI[r])return t.withTextFontFamily(cI[r]);if(dI[r])return t.withTextFontWeight(dI[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Zpe[r])};mt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:Cn(a),font:n}},htmlBuilder(e,t){var r=hI(e,t),n=Wn(e.body,r,!0);return _e.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=hI(e,t);return fu(e.body,r)}});mt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Lr(e.body,t),n=_e.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=_e.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return _e.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new nt.MathNode("mo",[new nt.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new nt.MathNode("munder",[Yr(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});mt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Lr(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return _e.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new nt.MathNode("mpadded",[Yr(e.body,t)],["vcenter"])}});mt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new at("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=pI(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var o=r[i];o==="~"&&(o="\\textasciitilde"),n.push(_e.makeSymbol(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return _e.makeSpan(["mord","text"].concat(a.sizingClasses(t)),_e.tryCombineChars(n),a)},mathmlBuilder(e,t){var r=new nt.TextNode(pI(e)),n=new nt.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var pI=e=>e.body.replace(/ /g,e.star?"␣":" "),au=UV,vK=`[ \r
|
||
]`,Qpe="\\\\[a-zA-Z@]+",efe="\\\\[^\uD800-\uDFFF]",tfe="("+Qpe+")"+vK+"*",rfe=`\\\\(
|
||
|[ \r ]+
|
||
?)[ \r ]*`,c_="[̀-ͯ]",nfe=new RegExp(c_+"+$"),afe="("+vK+"+)|"+(rfe+"|")+"([!-\\[\\]-‧-豈-]"+(c_+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(c_+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+tfe)+("|"+efe+")");class fI{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(afe,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new ro("EOF",new xi(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new at("Unexpected character: '"+t[r]+"'",new ro(t[r],new xi(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
|
||
`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new ro(a,new xi(this,r,this.tokenRegex.lastIndex))}}class ife{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new at("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var ofe=lK;Q("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});Q("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});Q("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});Q("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});Q("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});Q("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");Q("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var mI={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Q("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new at("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=mI[t.text],n==null||n>=r)throw new at("Invalid base-"+r+" digit "+t.text);for(var a;(a=mI[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var tR=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new at("\\newcommand's first argument must be a macro name");var i=a[0].text,o=e.isDefined(i);if(o&&!t)throw new at("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!r)throw new at("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var l="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)l+=u.text,u=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new at("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return o&&n||e.macros.set(i,{tokens:a,numArgs:s}),""};Q("\\newcommand",e=>tR(e,!1,!0,!1));Q("\\renewcommand",e=>tR(e,!0,!1,!1));Q("\\providecommand",e=>tR(e,!0,!0,!0));Q("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});Q("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});Q("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),au[r],rn.math[r],rn.text[r]),""});Q("\\bgroup","{");Q("\\egroup","}");Q("~","\\nobreakspace");Q("\\lq","`");Q("\\rq","'");Q("\\aa","\\r a");Q("\\AA","\\r A");Q("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");Q("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");Q("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");Q("ℬ","\\mathscr{B}");Q("ℰ","\\mathscr{E}");Q("ℱ","\\mathscr{F}");Q("ℋ","\\mathscr{H}");Q("ℐ","\\mathscr{I}");Q("ℒ","\\mathscr{L}");Q("ℳ","\\mathscr{M}");Q("ℛ","\\mathscr{R}");Q("ℭ","\\mathfrak{C}");Q("ℌ","\\mathfrak{H}");Q("ℨ","\\mathfrak{Z}");Q("\\Bbbk","\\Bbb{k}");Q("·","\\cdotp");Q("\\llap","\\mathllap{\\textrm{#1}}");Q("\\rlap","\\mathrlap{\\textrm{#1}}");Q("\\clap","\\mathclap{\\textrm{#1}}");Q("\\mathstrut","\\vphantom{(}");Q("\\underbar","\\underline{\\text{#1}}");Q("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');Q("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");Q("\\ne","\\neq");Q("≠","\\neq");Q("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");Q("∉","\\notin");Q("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");Q("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");Q("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");Q("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");Q("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");Q("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");Q("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");Q("⟂","\\perp");Q("‼","\\mathclose{!\\mkern-0.8mu!}");Q("∌","\\notni");Q("⌜","\\ulcorner");Q("⌝","\\urcorner");Q("⌞","\\llcorner");Q("⌟","\\lrcorner");Q("©","\\copyright");Q("®","\\textregistered");Q("️","\\textregistered");Q("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');Q("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');Q("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');Q("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');Q("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");Q("⋮","\\vdots");Q("\\varGamma","\\mathit{\\Gamma}");Q("\\varDelta","\\mathit{\\Delta}");Q("\\varTheta","\\mathit{\\Theta}");Q("\\varLambda","\\mathit{\\Lambda}");Q("\\varXi","\\mathit{\\Xi}");Q("\\varPi","\\mathit{\\Pi}");Q("\\varSigma","\\mathit{\\Sigma}");Q("\\varUpsilon","\\mathit{\\Upsilon}");Q("\\varPhi","\\mathit{\\Phi}");Q("\\varPsi","\\mathit{\\Psi}");Q("\\varOmega","\\mathit{\\Omega}");Q("\\substack","\\begin{subarray}{c}#1\\end{subarray}");Q("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");Q("\\boxed","\\fbox{$\\displaystyle{#1}$}");Q("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");Q("\\implies","\\DOTSB\\;\\Longrightarrow\\;");Q("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");Q("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");Q("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var gI={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Q("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in gI?t=gI[r]:(r.slice(0,4)==="\\not"||r in rn.math&&$t.contains(["bin","rel"],rn.math[r].group))&&(t="\\dotsb"),t});var rR={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Q("\\dotso",function(e){var t=e.future().text;return t in rR?"\\ldots\\,":"\\ldots"});Q("\\dotsc",function(e){var t=e.future().text;return t in rR&&t!==","?"\\ldots\\,":"\\ldots"});Q("\\cdots",function(e){var t=e.future().text;return t in rR?"\\@cdots\\,":"\\@cdots"});Q("\\dotsb","\\cdots");Q("\\dotsm","\\cdots");Q("\\dotsi","\\!\\cdots");Q("\\dotsx","\\ldots\\,");Q("\\DOTSI","\\relax");Q("\\DOTSB","\\relax");Q("\\DOTSX","\\relax");Q("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");Q("\\,","\\tmspace+{3mu}{.1667em}");Q("\\thinspace","\\,");Q("\\>","\\mskip{4mu}");Q("\\:","\\tmspace+{4mu}{.2222em}");Q("\\medspace","\\:");Q("\\;","\\tmspace+{5mu}{.2777em}");Q("\\thickspace","\\;");Q("\\!","\\tmspace-{3mu}{.1667em}");Q("\\negthinspace","\\!");Q("\\negmedspace","\\tmspace-{4mu}{.2222em}");Q("\\negthickspace","\\tmspace-{5mu}{.277em}");Q("\\enspace","\\kern.5em ");Q("\\enskip","\\hskip.5em\\relax");Q("\\quad","\\hskip1em\\relax");Q("\\qquad","\\hskip2em\\relax");Q("\\tag","\\@ifstar\\tag@literal\\tag@paren");Q("\\tag@paren","\\tag@literal{({#1})}");Q("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new at("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});Q("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");Q("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");Q("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");Q("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");Q("\\newline","\\\\\\relax");Q("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var FK=lt(es["Main-Regular"][84][1]-.7*es["Main-Regular"][65][1]);Q("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+FK+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");Q("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+FK+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");Q("\\hspace","\\@ifstar\\@hspacer\\@hspace");Q("\\@hspace","\\hskip #1\\relax");Q("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");Q("\\ordinarycolon",":");Q("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");Q("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');Q("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');Q("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');Q("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');Q("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');Q("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');Q("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');Q("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');Q("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');Q("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');Q("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');Q("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');Q("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');Q("∷","\\dblcolon");Q("∹","\\eqcolon");Q("≔","\\coloneqq");Q("≕","\\eqqcolon");Q("⩴","\\Coloneqq");Q("\\ratio","\\vcentcolon");Q("\\coloncolon","\\dblcolon");Q("\\colonequals","\\coloneqq");Q("\\coloncolonequals","\\Coloneqq");Q("\\equalscolon","\\eqqcolon");Q("\\equalscoloncolon","\\Eqqcolon");Q("\\colonminus","\\coloneq");Q("\\coloncolonminus","\\Coloneq");Q("\\minuscolon","\\eqcolon");Q("\\minuscoloncolon","\\Eqcolon");Q("\\coloncolonapprox","\\Colonapprox");Q("\\coloncolonsim","\\Colonsim");Q("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");Q("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");Q("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");Q("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");Q("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");Q("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");Q("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");Q("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");Q("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");Q("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");Q("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");Q("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");Q("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");Q("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");Q("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");Q("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");Q("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");Q("\\nleqq","\\html@mathml{\\@nleqq}{≰}");Q("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");Q("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");Q("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");Q("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");Q("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");Q("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");Q("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");Q("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");Q("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");Q("\\imath","\\html@mathml{\\@imath}{ı}");Q("\\jmath","\\html@mathml{\\@jmath}{ȷ}");Q("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");Q("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");Q("⟦","\\llbracket");Q("⟧","\\rrbracket");Q("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");Q("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");Q("⦃","\\lBrace");Q("⦄","\\rBrace");Q("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");Q("⦵","\\minuso");Q("\\darr","\\downarrow");Q("\\dArr","\\Downarrow");Q("\\Darr","\\Downarrow");Q("\\lang","\\langle");Q("\\rang","\\rangle");Q("\\uarr","\\uparrow");Q("\\uArr","\\Uparrow");Q("\\Uarr","\\Uparrow");Q("\\N","\\mathbb{N}");Q("\\R","\\mathbb{R}");Q("\\Z","\\mathbb{Z}");Q("\\alef","\\aleph");Q("\\alefsym","\\aleph");Q("\\Alpha","\\mathrm{A}");Q("\\Beta","\\mathrm{B}");Q("\\bull","\\bullet");Q("\\Chi","\\mathrm{X}");Q("\\clubs","\\clubsuit");Q("\\cnums","\\mathbb{C}");Q("\\Complex","\\mathbb{C}");Q("\\Dagger","\\ddagger");Q("\\diamonds","\\diamondsuit");Q("\\empty","\\emptyset");Q("\\Epsilon","\\mathrm{E}");Q("\\Eta","\\mathrm{H}");Q("\\exist","\\exists");Q("\\harr","\\leftrightarrow");Q("\\hArr","\\Leftrightarrow");Q("\\Harr","\\Leftrightarrow");Q("\\hearts","\\heartsuit");Q("\\image","\\Im");Q("\\infin","\\infty");Q("\\Iota","\\mathrm{I}");Q("\\isin","\\in");Q("\\Kappa","\\mathrm{K}");Q("\\larr","\\leftarrow");Q("\\lArr","\\Leftarrow");Q("\\Larr","\\Leftarrow");Q("\\lrarr","\\leftrightarrow");Q("\\lrArr","\\Leftrightarrow");Q("\\Lrarr","\\Leftrightarrow");Q("\\Mu","\\mathrm{M}");Q("\\natnums","\\mathbb{N}");Q("\\Nu","\\mathrm{N}");Q("\\Omicron","\\mathrm{O}");Q("\\plusmn","\\pm");Q("\\rarr","\\rightarrow");Q("\\rArr","\\Rightarrow");Q("\\Rarr","\\Rightarrow");Q("\\real","\\Re");Q("\\reals","\\mathbb{R}");Q("\\Reals","\\mathbb{R}");Q("\\Rho","\\mathrm{P}");Q("\\sdot","\\cdot");Q("\\sect","\\S");Q("\\spades","\\spadesuit");Q("\\sub","\\subset");Q("\\sube","\\subseteq");Q("\\supe","\\supseteq");Q("\\Tau","\\mathrm{T}");Q("\\thetasym","\\vartheta");Q("\\weierp","\\wp");Q("\\Zeta","\\mathrm{Z}");Q("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");Q("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");Q("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");Q("\\bra","\\mathinner{\\langle{#1}|}");Q("\\ket","\\mathinner{|{#1}\\rangle}");Q("\\braket","\\mathinner{\\langle{#1}\\rangle}");Q("\\Bra","\\left\\langle#1\\right|");Q("\\Ket","\\left|#1\\right\\rangle");var EK=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=h=>f=>{e&&(f.macros.set("|",o),a.length&&f.macros.set("\\|",s));var m=h;if(!h&&a.length){var b=f.future();b.text==="|"&&(f.popToken(),m=!0)}return{tokens:m?a:n,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,d=t.expandTokens([...i,...u,...r]);return t.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};Q("\\bra@ket",EK(!1));Q("\\bra@set",EK(!0));Q("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");Q("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");Q("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");Q("\\angln","{\\angl n}");Q("\\blue","\\textcolor{##6495ed}{#1}");Q("\\orange","\\textcolor{##ffa500}{#1}");Q("\\pink","\\textcolor{##ff00af}{#1}");Q("\\red","\\textcolor{##df0030}{#1}");Q("\\green","\\textcolor{##28ae7b}{#1}");Q("\\gray","\\textcolor{gray}{#1}");Q("\\purple","\\textcolor{##9d38bd}{#1}");Q("\\blueA","\\textcolor{##ccfaff}{#1}");Q("\\blueB","\\textcolor{##80f6ff}{#1}");Q("\\blueC","\\textcolor{##63d9ea}{#1}");Q("\\blueD","\\textcolor{##11accd}{#1}");Q("\\blueE","\\textcolor{##0c7f99}{#1}");Q("\\tealA","\\textcolor{##94fff5}{#1}");Q("\\tealB","\\textcolor{##26edd5}{#1}");Q("\\tealC","\\textcolor{##01d1c1}{#1}");Q("\\tealD","\\textcolor{##01a995}{#1}");Q("\\tealE","\\textcolor{##208170}{#1}");Q("\\greenA","\\textcolor{##b6ffb0}{#1}");Q("\\greenB","\\textcolor{##8af281}{#1}");Q("\\greenC","\\textcolor{##74cf70}{#1}");Q("\\greenD","\\textcolor{##1fab54}{#1}");Q("\\greenE","\\textcolor{##0d923f}{#1}");Q("\\goldA","\\textcolor{##ffd0a9}{#1}");Q("\\goldB","\\textcolor{##ffbb71}{#1}");Q("\\goldC","\\textcolor{##ff9c39}{#1}");Q("\\goldD","\\textcolor{##e07d10}{#1}");Q("\\goldE","\\textcolor{##a75a05}{#1}");Q("\\redA","\\textcolor{##fca9a9}{#1}");Q("\\redB","\\textcolor{##ff8482}{#1}");Q("\\redC","\\textcolor{##f9685d}{#1}");Q("\\redD","\\textcolor{##e84d39}{#1}");Q("\\redE","\\textcolor{##bc2612}{#1}");Q("\\maroonA","\\textcolor{##ffbde0}{#1}");Q("\\maroonB","\\textcolor{##ff92c6}{#1}");Q("\\maroonC","\\textcolor{##ed5fa6}{#1}");Q("\\maroonD","\\textcolor{##ca337c}{#1}");Q("\\maroonE","\\textcolor{##9e034e}{#1}");Q("\\purpleA","\\textcolor{##ddd7ff}{#1}");Q("\\purpleB","\\textcolor{##c6b9fc}{#1}");Q("\\purpleC","\\textcolor{##aa87ff}{#1}");Q("\\purpleD","\\textcolor{##7854ab}{#1}");Q("\\purpleE","\\textcolor{##543b78}{#1}");Q("\\mintA","\\textcolor{##f5f9e8}{#1}");Q("\\mintB","\\textcolor{##edf2df}{#1}");Q("\\mintC","\\textcolor{##e0e5cc}{#1}");Q("\\grayA","\\textcolor{##f6f7f7}{#1}");Q("\\grayB","\\textcolor{##f0f1f2}{#1}");Q("\\grayC","\\textcolor{##e3e5e6}{#1}");Q("\\grayD","\\textcolor{##d6d8da}{#1}");Q("\\grayE","\\textcolor{##babec2}{#1}");Q("\\grayF","\\textcolor{##888d93}{#1}");Q("\\grayG","\\textcolor{##626569}{#1}");Q("\\grayH","\\textcolor{##3b3e40}{#1}");Q("\\grayI","\\textcolor{##21242c}{#1}");Q("\\kaBlue","\\textcolor{##314453}{#1}");Q("\\kaGreen","\\textcolor{##71B307}{#1}");var SK={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class sfe{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new ife(ofe,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new fI(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new ro("EOF",n.loc)),this.pushTokens(a),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),i,o=0,s=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++o;else if(i.text==="}"){if(--o,o===-1)throw new at("Extra }",i)}else if(i.text==="EOF")throw new at("Unexpected end of input in a macro argument, expected '"+(t&&n?t[s]:"}")+"'",i);if(t&&n)if((o===0||o===1&&t[s]==="{")&&i.text===t[s]){if(++s,s===t.length){r.splice(-s,s);break}}else s=0}while(o!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new at("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new at("Use of the macro doesn't match its definition",i)}}for(var o=[],s=0;s<t;s++)o.push(this.consumeArg(r&&r[s+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new at("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new at("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var s=i.length-1;s>=0;--s){var l=i[s];if(l.text==="#"){if(s===0)throw new at("Incomplete placeholder at end of macro body",l);if(l=i[--s],l.text==="#")i.splice(s+1,1);else if(/^[1-9]$/.test(l.text))i.splice(s,2,...o[+l.text-1]);else throw new at("Not a valid argument number",l)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new ro(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.indexOf("#")!==-1)for(var o=a.replace(/##/g,"");o.indexOf("#"+(i+1))!==-1;)++i;for(var s=new fI(a,this.settings),l=[],u=s.lex();u.text!=="EOF";)l.push(u),u=s.lex();l.reverse();var d={tokens:l,numArgs:i};return d}return a}isDefined(t){return this.macros.has(t)||au.hasOwnProperty(t)||rn.math.hasOwnProperty(t)||rn.text.hasOwnProperty(t)||SK.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:au.hasOwnProperty(t)&&!au[t].primitive}}var bI=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,o1=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),mS={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},yI={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let xK=class wK{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new sfe(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new at("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new ro("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(wK.endOfExpression.indexOf(a.text)!==-1||r&&a.text===r||t&&au[a.text]&&au[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++)if(t[a].type==="infix"){if(r!==-1)throw new at("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var i,o,s=t.slice(0,r),l=t.slice(r+1);s.length===1&&s[0].type==="ordgroup"?i=s[0]:i={type:"ordgroup",mode:this.mode,body:s},l.length===1&&l[0].type==="ordgroup"?o=l[0]:o={type:"ordgroup",mode:this.mode,body:l};var u;return n==="\\\\abovefrac"?u=this.callFunction(n,[i,t[r],o],[]):u=this.callFunction(n,[i,o],[]),[u]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new at("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var o=i.text==="\\limits";r.limits=o,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new at("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new at("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new at("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new at("Double superscript",i);var s={type:"textord",mode:this.mode,text:"\\prime"},l=[s];for(this.consume();this.fetch().text==="'";)l.push(s),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:l}}else if(o1[i.text]){var u=bI.test(i.text),d=[];for(d.push(new ro(o1[i.text])),this.consume();;){var h=this.fetch().text;if(!o1[h]||bI.test(h)!==u)break;d.unshift(new ro(o1[h])),this.consume()}var f=this.subparse(d);u?a={type:"ordgroup",mode:"math",body:f}:n={type:"ordgroup",mode:"math",body:f}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,i=au[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new at("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new at("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new at("Can't use function '"+a+"' in math mode",n);var{args:o,optArgs:s}=this.parseArguments(a,i);return this.callFunction(a,o,s,n,t)}callFunction(t,r,n,a,i){var o={funcName:t,parser:this,token:a,breakOnTokenText:i},s=au[t];if(s&&s.handler)return s.handler(o,r,n);throw new at("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],o=0;o<n;o++){var s=r.argTypes&&r.argTypes[o],l=o<r.numOptionalArgs;(r.primitive&&s==null||r.type==="sqrt"&&o===1&&i[0]==null)&&(s="primitive");var u=this.parseGroupOfType("argument to '"+t+"'",s,l);if(l)i.push(u);else if(u!=null)a.push(u);else throw new at("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new at("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new at("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new at("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",o;(o=this.fetch()).text!=="EOF"&&t.test(i+o.text);)a=o,i+=a.text,this.consume();if(i==="")throw new at("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new at("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new at("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!NV(i))throw new at("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),o}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var o=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,o),l=this.fetch();this.expect(o),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:xi.range(n,l),body:s,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!SK.hasOwnProperty(a)){if(this.settings.throwOnError)throw new at("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n],i=a.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:xi.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:xi.range(a,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:xi.range(a,t[n+1]),text:i+i}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new at(`\\verb assertion failed --
|
||
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}yI.hasOwnProperty(r[0])&&!rn[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=yI[r[0]]+r.slice(1));var i=nfe.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var o;if(rn[this.mode][r]){this.settings.strict&&this.mode==="math"&&i_.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var s=rn[this.mode][r].group,l=xi.range(t),u;if(Yhe.hasOwnProperty(s)){var d=s;u={type:"atom",mode:this.mode,family:d,loc:l,text:r}}else u={type:s,mode:this.mode,loc:l,text:r};o=u}else if(r.charCodeAt(0)>=128)this.settings.strict&&(DV(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:xi.range(t),text:r};else return null;if(this.consume(),i)for(var h=0;h<i[0].length;h++){var f=i[0][h];if(!mS[f])throw new at("Unknown accent ' "+f+"'",t);var m=mS[f][this.mode]||mS[f].text;if(!m)throw new at("Accent "+f+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:xi.range(t),label:m,isStretchy:!1,isShifty:!0,base:o}}return o}};xK.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var nR=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new xK(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new at("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new ro("\\df@tag")])}]}return a},aR=function(t,r,n){r.textContent="";var a=pv(t,n).toNode();r.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),aR=function(){throw new at("KaTeX doesn't work in quirks mode.")});var kK=function(t,r){var n=pv(t,r).toMarkup();return n},CK=function(t,r){var n=new z6(r);return nR(t,n)},TK=function(t,r,n){if(n.throwOnError||!(t instanceof at))throw t;var a=_e.makeSpan(["katex-error"],[new ao(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},pv=function(t,r){var n=new z6(r);try{var a=nR(t,n);return ype(a,t,n)}catch(i){return TK(i,t,n)}},AK=function(t,r){var n=new z6(r);try{var a=nR(t,n);return vpe(a,t,n)}catch(i){return TK(i,t,n)}},_K="0.16.22",DK={Span:t0,Anchor:G6,SymbolNode:ao,SvgNode:ol,PathNode:pu,LineNode:a_},fv={version:_K,render:aR,renderToString:kK,ParseError:at,SETTINGS_SCHEMA:sm,__parse:CK,__renderToDomTree:pv,__renderToHTMLTree:AK,__setFontMetrics:RV,__defineSymbol:O,__defineFunction:mt,__defineMacro:Q,__domTree:DK};const lfe=Object.freeze(Object.defineProperty({__proto__:null,ParseError:at,SETTINGS_SCHEMA:sm,__defineFunction:mt,__defineMacro:Q,__defineSymbol:O,__domTree:DK,__parse:CK,__renderToDomTree:pv,__renderToHTMLTree:AK,__setFontMetrics:RV,default:fv,get render(){return aR},renderToString:kK,version:_K},Symbol.toStringTag,{value:"Module"}));fv.__defineMacro("\\ce",function(e){return RK(e.consumeArgs(1)[0],"ce")});fv.__defineMacro("\\pu",function(e){return RK(e.consumeArgs(1)[0],"pu")});fv.__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var RK=function(t,r){for(var n="",a=t.length&&t[t.length-1].loc.start,i=t.length-1;i>=0;i--)t[i].loc.start>a&&(n+=" ",a=t[i].loc.start),n+=t[i].text,a+=t[i].text.length;var o=Kr.go(Ue.go(n,r));return o},Ue={go:function(t,r){if(!t)return[];r===void 0&&(r="ce");var n="0",a={};a.parenthesisLevel=0,t=t.replace(/\n/g," "),t=t.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),t=t.replace(/[\u2026]/g,"...");for(var i,o=10,s=[];;){i!==t?(o=10,i=t):o--;var l=Ue.stateMachines[r],u=l.transitions[n]||l.transitions["*"];e:for(var d=0;d<u.length;d++){var h=Ue.patterns.match_(u[d].pattern,t);if(h){for(var f=u[d].task,m=0;m<f.action_.length;m++){var b;if(l.actions[f.action_[m].type_])b=l.actions[f.action_[m].type_](a,h.match_,f.action_[m].option);else if(Ue.actions[f.action_[m].type_])b=Ue.actions[f.action_[m].type_](a,h.match_,f.action_[m].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+f.action_[m].type_+")"];Ue.concatArray(s,b)}if(n=f.nextState||n,t.length>0){if(f.revisit||(t=h.remainder),!f.toContinue)break e}else return s}}if(o<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(t,r){if(r)if(Array.isArray(r))for(var n=0;n<r.length;n++)t.push(r[n]);else t.push(r)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(t){var r=t.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return r&&r[0]?{match_:r.splice(1),remainder:t.substr(r[0].length)}:null},"(-)(9)^(-9)":function(t){var r=t.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return r&&r[0]?{match_:r.splice(1),remainder:t.substr(r[0].length)}:null},"state of aggregation $":function(t){var r=Ue.patterns.findObserveGroups(t,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(r&&r.remainder.match(/^($|[\s,;\)\]\}])/))return r;var n=t.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return n?{match_:n[0],remainder:t.substr(n[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"^{","","","}")},"^($...$)":function(t){return Ue.patterns.findObserveGroups(t,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(t){return Ue.patterns.findObserveGroups(t,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(t){return Ue.patterns.findObserveGroups(t,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"_{","","","}")},"_($...$)":function(t){return Ue.patterns.findObserveGroups(t,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(t){return Ue.patterns.findObserveGroups(t,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(t){return Ue.patterns.findObserveGroups(t,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(t){return Ue.patterns.findObserveGroups(t,"","{","}","")},"{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"{","","","}")},"$...$":function(t){return Ue.patterns.findObserveGroups(t,"","$","$","")},"${(...)}$":function(t){return Ue.patterns.findObserveGroups(t,"${","","","}$")},"$(...)$":function(t){return Ue.patterns.findObserveGroups(t,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(t){return Ue.patterns.findObserveGroups(t,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(t){return Ue.patterns.findObserveGroups(t,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(t){return Ue.patterns.findObserveGroups(t,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(t){return Ue.patterns.findObserveGroups(t,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(t){return Ue.patterns.findObserveGroups(t,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(t){return Ue.patterns.findObserveGroups(t,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(t){return Ue.patterns.findObserveGroups(t,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(t){var r;if(r=t.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),r)return{match_:r[0],remainder:t.substr(r[0].length)};var n=Ue.patterns.findObserveGroups(t,"","$","$","");return n&&(r=n.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),r)?{match_:r[0],remainder:t.substr(r[0].length)}:null},amount2:function(t){return this.amount(t)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(t){if(t.match(/^\([a-z]+\)$/))return null;var r=t.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return r?{match_:r[0],remainder:t.substr(r[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(t,r,n,a,i,o,s,l,u,d){var h=function(C,_){if(typeof _=="string")return C.indexOf(_)!==0?null:_;var D=C.match(_);return D?D[0]:null},f=function(C,_,D){for(var w=0;_<C.length;){var A=C.charAt(_),I=h(C.substr(_),D);if(I!==null&&w===0)return{endMatchBegin:_,endMatchEnd:_+I.length};if(A==="{")w++;else if(A==="}"){if(w===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];w--}_++}return w>0,null},m=h(t,r);if(m===null||(t=t.substr(m.length),m=h(t,n),m===null))return null;var b=f(t,m.length,a||i);if(b===null)return null;var y=t.substring(0,a?b.endMatchEnd:b.endMatchBegin);if(o||s){var F=this.findObserveGroups(t.substr(b.endMatchEnd),o,s,l,u);if(F===null)return null;var x=[y,F.match_];return{match_:d?x.join(""):x,remainder:F.remainder}}else return{match_:y,remainder:t.substr(b.endMatchEnd)}},match_:function(t,r){var n=Ue.patterns.patterns[t];if(n===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+t+")"];if(typeof n=="function")return Ue.patterns.patterns[t](r);var a=r.match(n);if(a){var i;return a[2]?i=[a[1],a[2]]:a[1]?i=a[1]:i=a[0],{match_:i,remainder:r.substr(a[0].length)}}return null}},actions:{"a=":function(t,r){t.a=(t.a||"")+r},"b=":function(t,r){t.b=(t.b||"")+r},"p=":function(t,r){t.p=(t.p||"")+r},"o=":function(t,r){t.o=(t.o||"")+r},"q=":function(t,r){t.q=(t.q||"")+r},"d=":function(t,r){t.d=(t.d||"")+r},"rm=":function(t,r){t.rm=(t.rm||"")+r},"text=":function(t,r){t.text_=(t.text_||"")+r},insert:function(t,r,n){return{type_:n}},"insert+p1":function(t,r,n){return{type_:n,p1:r}},"insert+p1+p2":function(t,r,n){return{type_:n,p1:r[0],p2:r[1]}},copy:function(t,r){return r},rm:function(t,r){return{type_:"rm",p1:r||""}},text:function(t,r){return Ue.go(r,"text")},"{text}":function(t,r){var n=["{"];return Ue.concatArray(n,Ue.go(r,"text")),n.push("}"),n},"tex-math":function(t,r){return Ue.go(r,"tex-math")},"tex-math tight":function(t,r){return Ue.go(r,"tex-math tight")},bond:function(t,r,n){return{type_:"bond",kind_:n||r}},"color0-output":function(t,r){return{type_:"color0",color:r[0]}},ce:function(t,r){return Ue.go(r)},"1/2":function(t,r){var n=[];r.match(/^[+\-]/)&&(n.push(r.substr(0,1)),r=r.substr(1));var a=r.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return a[1]=a[1].replace(/\$/g,""),n.push({type_:"frac",p1:a[1],p2:a[2]}),a[3]&&(a[3]=a[3].replace(/\$/g,""),n.push({type_:"tex-math",p1:a[3]})),n},"9,9":function(t,r){return Ue.go(r,"9,9")}},createTransitions:function(t){var r,n,a,i,o={};for(r in t)for(n in t[r])for(a=n.split("|"),t[r][n].stateArray=a,i=0;i<a.length;i++)o[a[i]]=[];for(r in t)for(n in t[r])for(a=t[r][n].stateArray||[],i=0;i<a.length;i++){var s=t[r][n];if(s.action_){s.action_=[].concat(s.action_);for(var l=0;l<s.action_.length;l++)typeof s.action_[l]=="string"&&(s.action_[l]={type_:s.action_[l]})}else s.action_=[];for(var u=r.split("|"),d=0;d<u.length;d++)if(a[i]==="*")for(var h in o)o[h].push({pattern:u[d],task:s});else o[a[i]].push({pattern:u[d],task:s})}return o},stateMachines:{}};Ue.stateMachines={ce:{transitions:Ue.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(t,r){var n;if((t.d||"").match(/^[0-9]+$/)){var a=t.d;t.d=void 0,n=this.output(t),t.b=a}else n=this.output(t);return Ue.actions["o="](t,r),n},"d= kv":function(t,r){t.d=r,t.dType="kv"},"charge or bond":function(t,r){if(t.beginsWithBond){var n=[];return Ue.concatArray(n,this.output(t)),Ue.concatArray(n,Ue.actions.bond(t,r,"-")),n}else t.d=r},"- after o/d":function(t,r,n){var a=Ue.patterns.match_("orbital",t.o||""),i=Ue.patterns.match_("one lowercase greek letter $",t.o||""),o=Ue.patterns.match_("one lowercase latin letter $",t.o||""),s=Ue.patterns.match_("$one lowercase latin letter$ $",t.o||""),l=r==="-"&&(a&&a.remainder===""||i||o||s);l&&!t.a&&!t.b&&!t.p&&!t.d&&!t.q&&!a&&o&&(t.o="$"+t.o+"$");var u=[];return l?(Ue.concatArray(u,this.output(t)),u.push({type_:"hyphen"})):(a=Ue.patterns.match_("digits",t.d||""),n&&a&&a.remainder===""?(Ue.concatArray(u,Ue.actions["d="](t,r)),Ue.concatArray(u,this.output(t))):(Ue.concatArray(u,this.output(t)),Ue.concatArray(u,Ue.actions.bond(t,r,"-")))),u},"a to o":function(t){t.o=t.a,t.a=void 0},"sb=true":function(t){t.sb=!0},"sb=false":function(t){t.sb=!1},"beginsWithBond=true":function(t){t.beginsWithBond=!0},"beginsWithBond=false":function(t){t.beginsWithBond=!1},"parenthesisLevel++":function(t){t.parenthesisLevel++},"parenthesisLevel--":function(t){t.parenthesisLevel--},"state of aggregation":function(t,r){return{type_:"state of aggregation",p1:Ue.go(r,"o")}},comma:function(t,r){var n=r.replace(/\s*$/,""),a=n!==r;return a&&t.parenthesisLevel===0?{type_:"comma enumeration L",p1:n}:{type_:"comma enumeration M",p1:n}},output:function(t,r,n){var a;if(!t.r)a=[],!t.a&&!t.b&&!t.p&&!t.o&&!t.q&&!t.d&&!n||(t.sb&&a.push({type_:"entitySkip"}),!t.o&&!t.q&&!t.d&&!t.b&&!t.p&&n!==2?(t.o=t.a,t.a=void 0):!t.o&&!t.q&&!t.d&&(t.b||t.p)?(t.o=t.a,t.d=t.b,t.q=t.p,t.a=t.b=t.p=void 0):t.o&&t.dType==="kv"&&Ue.patterns.match_("d-oxidation$",t.d||"")?t.dType="oxidation":t.o&&t.dType==="kv"&&!t.q&&(t.dType=void 0),a.push({type_:"chemfive",a:Ue.go(t.a,"a"),b:Ue.go(t.b,"bd"),p:Ue.go(t.p,"pq"),o:Ue.go(t.o,"o"),q:Ue.go(t.q,"pq"),d:Ue.go(t.d,t.dType==="oxidation"?"oxidation":"bd"),dType:t.dType}));else{var i;t.rdt==="M"?i=Ue.go(t.rd,"tex-math"):t.rdt==="T"?i=[{type_:"text",p1:t.rd||""}]:i=Ue.go(t.rd);var o;t.rqt==="M"?o=Ue.go(t.rq,"tex-math"):t.rqt==="T"?o=[{type_:"text",p1:t.rq||""}]:o=Ue.go(t.rq),a={type_:"arrow",r:t.r,rd:i,rq:o}}for(var s in t)s!=="parenthesisLevel"&&s!=="beginsWithBond"&&delete t[s];return a},"oxidation-output":function(t,r){var n=["{"];return Ue.concatArray(n,Ue.go(r,"oxidation")),n.push("}"),n},"frac-output":function(t,r){return{type_:"frac-ce",p1:Ue.go(r[0]),p2:Ue.go(r[1])}},"overset-output":function(t,r){return{type_:"overset",p1:Ue.go(r[0]),p2:Ue.go(r[1])}},"underset-output":function(t,r){return{type_:"underset",p1:Ue.go(r[0]),p2:Ue.go(r[1])}},"underbrace-output":function(t,r){return{type_:"underbrace",p1:Ue.go(r[0]),p2:Ue.go(r[1])}},"color-output":function(t,r){return{type_:"color",color1:r[0],color2:Ue.go(r[1])}},"r=":function(t,r){t.r=r},"rdt=":function(t,r){t.rdt=r},"rd=":function(t,r){t.rd=r},"rqt=":function(t,r){t.rqt=r},"rq=":function(t,r){t.rq=r},operator:function(t,r,n){return{type_:"operator",kind_:n||r}}}},a:{transitions:Ue.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:Ue.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:Ue.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(t){if(t.text_){var r={type_:"text",p1:t.text_};for(var n in t)delete t[n];return r}}}},pq:{transitions:Ue.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(t,r){return{type_:"state of aggregation subscript",p1:Ue.go(r,"o")}},"color-output":function(t,r){return{type_:"color",color1:r[0],color2:Ue.go(r[1],"pq")}}}},bd:{transitions:Ue.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(t,r){return{type_:"color",color1:r[0],color2:Ue.go(r[1],"bd")}}}},oxidation:{transitions:Ue.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(t,r){return{type_:"roman numeral",p1:r||""}}}},"tex-math":{transitions:Ue.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(t){if(t.o){var r={type_:"tex-math",p1:t.o};for(var n in t)delete t[n];return r}}}},"tex-math tight":{transitions:Ue.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(t,r){t.o=(t.o||"")+"{"+r+"}"},output:function(t){if(t.o){var r={type_:"tex-math",p1:t.o};for(var n in t)delete t[n];return r}}}},"9,9":{transitions:Ue.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Ue.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(t,r){var n=[];return r[0]==="+-"||r[0]==="+/-"?n.push("\\pm "):r[0]&&n.push(r[0]),r[1]&&(Ue.concatArray(n,Ue.go(r[1],"pu-9,9")),r[2]&&(r[2].match(/[,.]/)?Ue.concatArray(n,Ue.go(r[2],"pu-9,9")):n.push(r[2])),r[3]=r[4]||r[3],r[3]&&(r[3]=r[3].trim(),r[3]==="e"||r[3].substr(0,1)==="*"?n.push({type_:"cdot"}):n.push({type_:"times"}))),r[3]&&n.push("10^{"+r[5]+"}"),n},"number^":function(t,r){var n=[];return r[0]==="+-"||r[0]==="+/-"?n.push("\\pm "):r[0]&&n.push(r[0]),Ue.concatArray(n,Ue.go(r[1],"pu-9,9")),n.push("^{"+r[2]+"}"),n},operator:function(t,r,n){return{type_:"operator",kind_:n||r}},space:function(){return{type_:"pu-space-1"}},output:function(t){var r,n=Ue.patterns.match_("{(...)}",t.d||"");n&&n.remainder===""&&(t.d=n.match_);var a=Ue.patterns.match_("{(...)}",t.q||"");if(a&&a.remainder===""&&(t.q=a.match_),t.d&&(t.d=t.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),t.d=t.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),t.q){t.q=t.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),t.q=t.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var i={d:Ue.go(t.d,"pu"),q:Ue.go(t.q,"pu")};t.o==="//"?r={type_:"pu-frac",p1:i.d,p2:i.q}:(r=i.d,i.d.length>1||i.q.length>1?r.push({type_:" / "}):r.push({type_:"/"}),Ue.concatArray(r,i.q))}else r=Ue.go(t.d,"pu-2");for(var o in t)delete t[o];return r}}},"pu-2":{transitions:Ue.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(t,r){t.rm+="^{"+r+"}"},space:function(){return{type_:"pu-space-2"}},output:function(t){var r=[];if(t.rm){var n=Ue.patterns.match_("{(...)}",t.rm||"");n&&n.remainder===""?r=Ue.go(n.match_,"pu"):r={type_:"rm",p1:t.rm}}for(var a in t)delete t[a];return r}}},"pu-9,9":{transitions:Ue.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(t){var r=[];if(t.text_=t.text_||"",t.text_.length>4){var n=t.text_.length%3;n===0&&(n=3);for(var a=t.text_.length-3;a>0;a-=3)r.push(t.text_.substr(a,3)),r.push({type_:"1000 separator"});r.push(t.text_.substr(0,n)),r.reverse()}else r.push(t.text_);for(var i in t)delete t[i];return r},"output-o":function(t){var r=[];if(t.text_=t.text_||"",t.text_.length>4){for(var n=t.text_.length-3,a=0;a<n;a+=3)r.push(t.text_.substr(a,3)),r.push({type_:"1000 separator"});r.push(t.text_.substr(a))}else r.push(t.text_);for(var i in t)delete t[i];return r}}}};var Kr={go:function(t,r){if(!t)return"";for(var n="",a=!1,i=0;i<t.length;i++){var o=t[i];typeof o=="string"?n+=o:(n+=Kr._go2(o),o.type_==="1st-level escape"&&(a=!0))}return!r&&!a&&n&&(n="{"+n+"}"),n},_goInner:function(t){return t&&Kr.go(t,!0)},_go2:function(t){var r;switch(t.type_){case"chemfive":r="";var n={a:Kr._goInner(t.a),b:Kr._goInner(t.b),p:Kr._goInner(t.p),o:Kr._goInner(t.o),q:Kr._goInner(t.q),d:Kr._goInner(t.d)};n.a&&(n.a.match(/^[+\-]/)&&(n.a="{"+n.a+"}"),r+=n.a+"\\,"),(n.b||n.p)&&(r+="{\\vphantom{X}}",r+="^{\\hphantom{"+(n.b||"")+"}}_{\\hphantom{"+(n.p||"")+"}}",r+="{\\vphantom{X}}",r+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(n.b||"")+"}}",r+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(n.p||"")+"}}}"),n.o&&(n.o.match(/^[+\-]/)&&(n.o="{"+n.o+"}"),r+=n.o),t.dType==="kv"?((n.d||n.q)&&(r+="{\\vphantom{X}}"),n.d&&(r+="^{"+n.d+"}"),n.q&&(r+="_{\\smash[t]{"+n.q+"}}")):t.dType==="oxidation"?(n.d&&(r+="{\\vphantom{X}}",r+="^{"+n.d+"}"),n.q&&(r+="{\\vphantom{X}}",r+="_{\\smash[t]{"+n.q+"}}")):(n.q&&(r+="{\\vphantom{X}}",r+="_{\\smash[t]{"+n.q+"}}"),n.d&&(r+="{\\vphantom{X}}",r+="^{"+n.d+"}"));break;case"rm":r="\\mathrm{"+t.p1+"}";break;case"text":t.p1.match(/[\^_]/)?(t.p1=t.p1.replace(" ","~").replace("-","\\text{-}"),r="\\mathrm{"+t.p1+"}"):r="\\text{"+t.p1+"}";break;case"roman numeral":r="\\mathrm{"+t.p1+"}";break;case"state of aggregation":r="\\mskip2mu "+Kr._goInner(t.p1);break;case"state of aggregation subscript":r="\\mskip1mu "+Kr._goInner(t.p1);break;case"bond":if(r=Kr._getBond(t.kind_),!r)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+t.kind_+")"];break;case"frac":var a="\\frac{"+t.p1+"}{"+t.p2+"}";r="\\mathchoice{\\textstyle"+a+"}{"+a+"}{"+a+"}{"+a+"}";break;case"pu-frac":var i="\\frac{"+Kr._goInner(t.p1)+"}{"+Kr._goInner(t.p2)+"}";r="\\mathchoice{\\textstyle"+i+"}{"+i+"}{"+i+"}{"+i+"}";break;case"tex-math":r=t.p1+" ";break;case"frac-ce":r="\\frac{"+Kr._goInner(t.p1)+"}{"+Kr._goInner(t.p2)+"}";break;case"overset":r="\\overset{"+Kr._goInner(t.p1)+"}{"+Kr._goInner(t.p2)+"}";break;case"underset":r="\\underset{"+Kr._goInner(t.p1)+"}{"+Kr._goInner(t.p2)+"}";break;case"underbrace":r="\\underbrace{"+Kr._goInner(t.p1)+"}_{"+Kr._goInner(t.p2)+"}";break;case"color":r="{\\color{"+t.color1+"}{"+Kr._goInner(t.color2)+"}}";break;case"color0":r="\\color{"+t.color+"}";break;case"arrow":var o={rd:Kr._goInner(t.rd),rq:Kr._goInner(t.rq)},s="\\x"+Kr._getArrow(t.r);o.rq&&(s+="[{"+o.rq+"}]"),o.rd?s+="{"+o.rd+"}":s+="{}",r=s;break;case"operator":r=Kr._getOperator(t.kind_);break;case"1st-level escape":r=t.p1+" ";break;case"space":r=" ";break;case"entitySkip":r="~";break;case"pu-space-1":r="~";break;case"pu-space-2":r="\\mkern3mu ";break;case"1000 separator":r="\\mkern2mu ";break;case"commaDecimal":r="{,}";break;case"comma enumeration L":r="{"+t.p1+"}\\mkern6mu ";break;case"comma enumeration M":r="{"+t.p1+"}\\mkern3mu ";break;case"comma enumeration S":r="{"+t.p1+"}\\mkern1mu ";break;case"hyphen":r="\\text{-}";break;case"addition compound":r="\\,{\\cdot}\\,";break;case"electron dot":r="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":r="{\\times}";break;case"prime":r="\\prime ";break;case"cdot":r="\\cdot ";break;case"tight cdot":r="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":r="\\times ";break;case"circa":r="{\\sim}";break;case"^":r="uparrow";break;case"v":r="downarrow";break;case"ellipsis":r="\\ldots ";break;case"/":r="/";break;case" / ":r="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return r},_getArrow:function(t){switch(t){case"->":return"rightarrow";case"→":return"rightarrow";case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"rightleftarrows";case"<=>":return"rightleftharpoons";case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(t){switch(t){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(t){switch(t){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}},yf={},vI;function ufe(){if(vI)return yf;vI=1,Object.defineProperty(yf,"__esModule",{value:!0}),yf.parse=o,yf.serialize=u;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,i=(()=>{const f=function(){};return f.prototype=Object.create(null),f})();function o(f,m){const b=new i,y=f.length;if(y<2)return b;const F=(m==null?void 0:m.decode)||d;let x=0;do{const E=f.indexOf("=",x);if(E===-1)break;const C=f.indexOf(";",x),_=C===-1?y:C;if(E>_){x=f.lastIndexOf(";",E-1)+1;continue}const D=s(f,x,E),w=l(f,E,D),A=f.slice(D,w);if(b[A]===void 0){let I=s(f,E+1,_),M=l(f,_,I);const L=F(f.slice(I,M));b[A]=L}x=_+1}while(x<y);return b}function s(f,m,b){do{const y=f.charCodeAt(m);if(y!==32&&y!==9)return m}while(++m<b);return b}function l(f,m,b){for(;m>b;){const y=f.charCodeAt(--m);if(y!==32&&y!==9)return m+1}return b}function u(f,m,b){const y=(b==null?void 0:b.encode)||encodeURIComponent;if(!e.test(f))throw new TypeError(`argument name is invalid: ${f}`);const F=y(m);if(!t.test(F))throw new TypeError(`argument val is invalid: ${m}`);let x=f+"="+F;if(!b)return x;if(b.maxAge!==void 0){if(!Number.isInteger(b.maxAge))throw new TypeError(`option maxAge is invalid: ${b.maxAge}`);x+="; Max-Age="+b.maxAge}if(b.domain){if(!r.test(b.domain))throw new TypeError(`option domain is invalid: ${b.domain}`);x+="; Domain="+b.domain}if(b.path){if(!n.test(b.path))throw new TypeError(`option path is invalid: ${b.path}`);x+="; Path="+b.path}if(b.expires){if(!h(b.expires)||!Number.isFinite(b.expires.valueOf()))throw new TypeError(`option expires is invalid: ${b.expires}`);x+="; Expires="+b.expires.toUTCString()}if(b.httpOnly&&(x+="; HttpOnly"),b.secure&&(x+="; Secure"),b.partitioned&&(x+="; Partitioned"),b.priority)switch(typeof b.priority=="string"?b.priority.toLowerCase():void 0){case"low":x+="; Priority=Low";break;case"medium":x+="; Priority=Medium";break;case"high":x+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${b.priority}`)}if(b.sameSite)switch(typeof b.sameSite=="string"?b.sameSite.toLowerCase():b.sameSite){case!0:case"strict":x+="; SameSite=Strict";break;case"lax":x+="; SameSite=Lax";break;case"none":x+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${b.sameSite}`)}return x}function d(f){if(f.indexOf("%")===-1)return f;try{return decodeURIComponent(f)}catch{return f}}function h(f){return a.call(f)==="[object Date]"}return yf}ufe();/**
|
||
* react-router v7.3.0
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/var FI="popstate";function cfe(e={}){function t(a,i){let{pathname:o="/",search:s="",hash:l=""}=Gc(a.location.hash.substring(1));return!o.startsWith("/")&&!o.startsWith(".")&&(o="/"+o),d_("",{pathname:o,search:s,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(a,i){let o=a.document.querySelector("base"),s="";if(o&&o.getAttribute("href")){let l=a.location.href,u=l.indexOf("#");s=u===-1?l:l.slice(0,u)}return s+"#"+(typeof i=="string"?i:Tm(i))}function n(a,i){To(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(i)})`)}return hfe(t,r,n,e)}function mn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function To(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dfe(){return Math.random().toString(36).substring(2,10)}function EI(e,t){return{usr:e.state,key:e.key,idx:t}}function d_(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Gc(t):t,state:r,key:t&&t.key||n||dfe()}}function Tm({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Gc(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function hfe(e,t,r,n={}){let{window:a=document.defaultView,v5Compat:i=!1}=n,o=a.history,s="POP",l=null,u=d();u==null&&(u=0,o.replaceState({...o.state,idx:u},""));function d(){return(o.state||{idx:null}).idx}function h(){s="POP";let F=d(),x=F==null?null:F-u;u=F,l&&l({action:s,location:y.location,delta:x})}function f(F,x){s="PUSH";let E=d_(y.location,F,x);r&&r(E,F),u=d()+1;let C=EI(E,u),_=y.createHref(E);try{o.pushState(C,"",_)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;a.location.assign(_)}i&&l&&l({action:s,location:y.location,delta:1})}function m(F,x){s="REPLACE";let E=d_(y.location,F,x);r&&r(E,F),u=d();let C=EI(E,u),_=y.createHref(E);o.replaceState(C,"",_),i&&l&&l({action:s,location:y.location,delta:0})}function b(F){let x=a.location.origin!=="null"?a.location.origin:a.location.href,E=typeof F=="string"?F:Tm(F);return E=E.replace(/ $/,"%20"),mn(x,`No window.location.(origin|href) available to create URL for href: ${E}`),new URL(E,x)}let y={get action(){return s},get location(){return e(a,o)},listen(F){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(FI,h),l=F,()=>{a.removeEventListener(FI,h),l=null}},createHref(F){return t(a,F)},createURL:b,encodeLocation(F){let x=b(F);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:f,replace:m,go(F){return o.go(F)}};return y}function NK(e,t,r="/"){return pfe(e,t,r,!1)}function pfe(e,t,r,n){let a=typeof t=="string"?Gc(t):t,i=ul(a.pathname||"/",r);if(i==null)return null;let o=LK(e);ffe(o);let s=null;for(let l=0;s==null&&l<o.length;++l){let u=kfe(i);s=xfe(o[l],u,n)}return s}function LK(e,t=[],r=[],n=""){let a=(i,o,s)=>{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(mn(l.relativePath.startsWith(n),`Absolute route path "${l.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(n.length));let u=rl([n,l.relativePath]),d=r.concat(l);i.children&&i.children.length>0&&(mn(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),LK(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:Efe(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,o);else for(let l of MK(i.path))a(i,o,l)}),t}function MK(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return a?[i,""]:[i];let o=MK(n.join("/")),s=[];return s.push(...o.map(l=>l===""?i:[i,l].join("/"))),a&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function ffe(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Sfe(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var mfe=/^:[\w-]+$/,gfe=3,bfe=2,yfe=1,vfe=10,Ffe=-2,SI=e=>e==="*";function Efe(e,t){let r=e.split("/"),n=r.length;return r.some(SI)&&(n+=Ffe),t&&(n+=bfe),r.filter(a=>!SI(a)).reduce((a,i)=>a+(mfe.test(i)?gfe:i===""?yfe:vfe),n)}function Sfe(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function xfe(e,t,r=!1){let{routesMeta:n}=e,a={},i="/",o=[];for(let s=0;s<n.length;++s){let l=n[s],u=s===n.length-1,d=i==="/"?t:t.slice(i.length)||"/",h=jb({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),f=l.route;if(!h&&u&&r&&!n[n.length-1].route.index&&(h=jb({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!h)return null;Object.assign(a,h.params),o.push({params:a,pathname:rl([i,h.pathname]),pathnameBase:_fe(rl([i,h.pathnameBase])),route:f}),h.pathnameBase!=="/"&&(i=rl([i,h.pathnameBase]))}return o}function jb(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=wfe(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let i=a[0],o=i.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:n.reduce((u,{paramName:d,isOptional:h},f)=>{if(d==="*"){let b=s[f]||"";o=i.slice(0,i.length-b.length).replace(/(.)\/+$/,"$1")}const m=s[f];return h&&!m?u[d]=void 0:u[d]=(m||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function wfe(e,t=!1,r=!0){To(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 n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(n.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function kfe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return To(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function ul(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function Cfe(e,t="/"){let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?Gc(e):e;return{pathname:r?r.startsWith("/")?r:Tfe(r,t):t,search:Dfe(n),hash:Rfe(a)}}function Tfe(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function gS(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Afe(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function IK(e){let t=Afe(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function OK(e,t,r,n=!1){let a;typeof e=="string"?a=Gc(e):(a={...e},mn(!a.pathname||!a.pathname.includes("?"),gS("?","pathname","search",a)),mn(!a.pathname||!a.pathname.includes("#"),gS("#","pathname","hash",a)),mn(!a.search||!a.search.includes("#"),gS("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,s;if(o==null)s=r;else{let h=t.length-1;if(!n&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),h-=1;a.pathname=f.join("/")}s=h>=0?t[h]:"/"}let l=Cfe(a,s),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}var rl=e=>e.join("/").replace(/\/\/+/g,"/"),_fe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Dfe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Rfe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Nfe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var BK=["POST","PUT","PATCH","DELETE"];new Set(BK);var Lfe=["GET",...BK];new Set(Lfe);var Kh=T.createContext(null);Kh.displayName="DataRouter";var mv=T.createContext(null);mv.displayName="DataRouterState";var PK=T.createContext({isTransitioning:!1});PK.displayName="ViewTransition";var Mfe=T.createContext(new Map);Mfe.displayName="Fetchers";var Ife=T.createContext(null);Ife.displayName="Await";var ds=T.createContext(null);ds.displayName="Navigation";var n0=T.createContext(null);n0.displayName="Location";var gl=T.createContext({outlet:null,matches:[],isDataRoute:!1});gl.displayName="Route";var iR=T.createContext(null);iR.displayName="RouteError";function Ofe(e,{relative:t}={}){mn(a0(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=T.useContext(ds),{hash:a,pathname:i,search:o}=i0(e,{relative:t}),s=i;return r!=="/"&&(s=i==="/"?r:rl([r,i])),n.createHref({pathname:s,search:o,hash:a})}function a0(){return T.useContext(n0)!=null}function $c(){return mn(a0(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(n0).location}var zK="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function HK(e){T.useContext(ds).static||T.useLayoutEffect(e)}function oR(){let{isDataRoute:e}=T.useContext(gl);return e?Yfe():Bfe()}function Bfe(){mn(a0(),"useNavigate() may be used only in the context of a <Router> component.");let e=T.useContext(Kh),{basename:t,navigator:r}=T.useContext(ds),{matches:n}=T.useContext(gl),{pathname:a}=$c(),i=JSON.stringify(IK(n)),o=T.useRef(!1);return HK(()=>{o.current=!0}),T.useCallback((l,u={})=>{if(To(o.current,zK),!o.current)return;if(typeof l=="number"){r.go(l);return}let d=OK(l,JSON.parse(i),a,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:rl([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,i,a,e])}T.createContext(null);function i0(e,{relative:t}={}){let{matches:r}=T.useContext(gl),{pathname:n}=$c(),a=JSON.stringify(IK(r));return T.useMemo(()=>OK(e,JSON.parse(a),n,t==="path"),[e,a,n,t])}function Pfe(e,t){return UK(e,t)}function UK(e,t,r,n){var E;mn(a0(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a,static:i}=T.useContext(ds),{matches:o}=T.useContext(gl),s=o[o.length-1],l=s?s.params:{},u=s?s.pathname:"/",d=s?s.pathnameBase:"/",h=s&&s.route;{let C=h&&h.path||"";GK(u,!h||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
||
|
||
Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let f=$c(),m;if(t){let C=typeof t=="string"?Gc(t):t;mn(d==="/"||((E=C.pathname)==null?void 0:E.startsWith(d)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${C.pathname}" was given in the \`location\` prop.`),m=C}else m=f;let b=m.pathname||"/",y=b;if(d!=="/"){let C=d.replace(/^\//,"").split("/");y="/"+b.replace(/^\//,"").split("/").slice(C.length).join("/")}let F=!i&&r&&r.matches&&r.matches.length>0?r.matches:NK(e,{pathname:y});To(h||F!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),To(F==null||F[F.length-1].route.element!==void 0||F[F.length-1].route.Component!==void 0||F[F.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let x=$fe(F&&F.map(C=>Object.assign({},C,{params:Object.assign({},l,C.params),pathname:rl([d,a.encodeLocation?a.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?d:rl([d,a.encodeLocation?a.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),o,r,n);return t&&x?T.createElement(n0.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},x):x}function zfe(){let e=Kfe(),t=Nfe(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:n},i={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:i},"ErrorBoundary")," or"," ",T.createElement("code",{style:i},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},t),r?T.createElement("pre",{style:a},r):null,o)}var Hfe=T.createElement(zfe,null),Ufe=class extends T.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?T.createElement(gl.Provider,{value:this.props.routeContext},T.createElement(iR.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Gfe({routeContext:e,match:t,children:r}){let n=T.useContext(Kh);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),T.createElement(gl.Provider,{value:e},r)}function $fe(e,t=[],r=null,n=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,i=r==null?void 0:r.errors;if(i!=null){let l=a.findIndex(u=>u.route.id&&(i==null?void 0:i[u.route.id])!==void 0);mn(l>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,l+1))}let o=!1,s=-1;if(r)for(let l=0;l<a.length;l++){let u=a[l];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(s=l),u.route.id){let{loaderData:d,errors:h}=r,f=u.route.loader&&!d.hasOwnProperty(u.route.id)&&(!h||h[u.route.id]===void 0);if(u.route.lazy||f){o=!0,s>=0?a=a.slice(0,s+1):a=[a[0]];break}}}return a.reduceRight((l,u,d)=>{let h,f=!1,m=null,b=null;r&&(h=i&&u.route.id?i[u.route.id]:void 0,m=u.route.errorElement||Hfe,o&&(s<0&&d===0?(GK("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,b=null):s===d&&(f=!0,b=u.route.hydrateFallbackElement||null)));let y=t.concat(a.slice(0,d+1)),F=()=>{let x;return h?x=m:f?x=b:u.route.Component?x=T.createElement(u.route.Component,null):u.route.element?x=u.route.element:x=l,T.createElement(Gfe,{match:u,routeContext:{outlet:l,matches:y,isDataRoute:r!=null},children:x})};return r&&(u.route.ErrorBoundary||u.route.errorElement||d===0)?T.createElement(Ufe,{location:r.location,revalidation:r.revalidation,component:m,error:h,children:F(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):F()},null)}function sR(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jfe(e){let t=T.useContext(Kh);return mn(t,sR(e)),t}function qfe(e){let t=T.useContext(mv);return mn(t,sR(e)),t}function Wfe(e){let t=T.useContext(gl);return mn(t,sR(e)),t}function lR(e){let t=Wfe(e),r=t.matches[t.matches.length-1];return mn(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function Vfe(){return lR("useRouteId")}function Kfe(){var n;let e=T.useContext(iR),t=qfe("useRouteError"),r=lR("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function Yfe(){let{router:e}=jfe("useNavigate"),t=lR("useNavigate"),r=T.useRef(!1);return HK(()=>{r.current=!0}),T.useCallback(async(a,i={})=>{To(r.current,zK),r.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...i}))},[e,t])}var xI={};function GK(e,t,r){!t&&!xI[e]&&(xI[e]=!0,To(!1,r))}T.memo(Xfe);function Xfe({routes:e,future:t,state:r}){return UK(e,void 0,r,t)}function h_(e){mn(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Jfe({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:a,static:i=!1}){mn(!a0(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),s=T.useMemo(()=>({basename:o,navigator:a,static:i,future:{}}),[o,a,i]);typeof r=="string"&&(r=Gc(r));let{pathname:l="/",search:u="",hash:d="",state:h=null,key:f="default"}=r,m=T.useMemo(()=>{let b=ul(l,o);return b==null?null:{location:{pathname:b,search:u,hash:d,state:h,key:f},navigationType:n}},[o,l,u,d,h,f,n]);return To(m!=null,`<Router basename="${o}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),m==null?null:T.createElement(ds.Provider,{value:s},T.createElement(n0.Provider,{children:t,value:m}))}function Zfe({children:e,location:t}){return Pfe(p_(e),t)}function p_(e,t=[]){let r=[];return T.Children.forEach(e,(n,a)=>{if(!T.isValidElement(n))return;let i=[...t,a];if(n.type===T.Fragment){r.push.apply(r,p_(n.props.children,i));return}mn(n.type===h_,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),mn(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=p_(n.props.children,i)),r.push(o)}),r}var tb="get",rb="application/x-www-form-urlencoded";function gv(e){return e!=null&&typeof e.tagName=="string"}function Qfe(e){return gv(e)&&e.tagName.toLowerCase()==="button"}function eme(e){return gv(e)&&e.tagName.toLowerCase()==="form"}function tme(e){return gv(e)&&e.tagName.toLowerCase()==="input"}function rme(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function nme(e,t){return e.button===0&&(!t||t==="_self")&&!rme(e)}var s1=null;function ame(){if(s1===null)try{new FormData(document.createElement("form"),0),s1=!1}catch{s1=!0}return s1}var ime=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function bS(e){return e!=null&&!ime.has(e)?(To(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${rb}"`),null):e}function ome(e,t){let r,n,a,i,o;if(eme(e)){let s=e.getAttribute("action");n=s?ul(s,t):null,r=e.getAttribute("method")||tb,a=bS(e.getAttribute("enctype"))||rb,i=new FormData(e)}else if(Qfe(e)||tme(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||s.getAttribute("action");if(n=l?ul(l,t):null,r=e.getAttribute("formmethod")||s.getAttribute("method")||tb,a=bS(e.getAttribute("formenctype"))||bS(s.getAttribute("enctype"))||rb,i=new FormData(s,e),!ame()){let{name:u,type:d,value:h}=e;if(d==="image"){let f=u?`${u}.`:"";i.append(`${f}x`,"0"),i.append(`${f}y`,"0")}else u&&i.append(u,h)}}else{if(gv(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=tb,n=null,a=rb,o=e}return i&&a==="text/plain"&&(o=i,i=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:i,body:o}}function uR(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function sme(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function lme(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function ume(e,t,r){let n=await Promise.all(e.map(async a=>{let i=t.routes[a.route.id];if(i){let o=await sme(i,r);return o.links?o.links():[]}return[]}));return pme(n.flat(1).filter(lme).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function wI(e,t,r,n,a,i){let o=(l,u)=>r[u]?l.route.id!==r[u].route.id:!0,s=(l,u)=>{var d;return r[u].pathname!==l.pathname||((d=r[u].route.path)==null?void 0:d.endsWith("*"))&&r[u].params["*"]!==l.params["*"]};return i==="assets"?t.filter((l,u)=>o(l,u)||s(l,u)):i==="data"?t.filter((l,u)=>{var h;let d=n.routes[l.route.id];if(!d||!d.hasLoader)return!1;if(o(l,u)||s(l,u))return!0;if(l.route.shouldRevalidate){let f=l.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((h=r[0])==null?void 0:h.params)||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function cme(e,t,{includeHydrateFallback:r}={}){return dme(e.map(n=>{let a=t.routes[n.route.id];if(!a)return[];let i=[a.module];return a.clientActionModule&&(i=i.concat(a.clientActionModule)),a.clientLoaderModule&&(i=i.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(i=i.concat(a.hydrateFallbackModule)),a.imports&&(i=i.concat(a.imports)),i}).flat(1))}function dme(e){return[...new Set(e)]}function hme(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function pme(e,t){let r=new Set;return new Set(t),e.reduce((n,a)=>{let i=JSON.stringify(hme(a));return r.has(i)||(r.add(i),n.push({key:i,link:a})),n},[])}function fme(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&ul(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function $K(){let e=T.useContext(Kh);return uR(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function mme(){let e=T.useContext(mv);return uR(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var cR=T.createContext(void 0);cR.displayName="FrameworkContext";function jK(){let e=T.useContext(cR);return uR(e,"You must render this element inside a <HydratedRouter> element"),e}function gme(e,t){let r=T.useContext(cR),[n,a]=T.useState(!1),[i,o]=T.useState(!1),{onFocus:s,onBlur:l,onMouseEnter:u,onMouseLeave:d,onTouchStart:h}=t,f=T.useRef(null);T.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let y=x=>{x.forEach(E=>{o(E.isIntersecting)})},F=new IntersectionObserver(y,{threshold:.5});return f.current&&F.observe(f.current),()=>{F.disconnect()}}},[e]),T.useEffect(()=>{if(n){let y=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(y)}}},[n]);let m=()=>{a(!0)},b=()=>{a(!1),o(!1)};return r?e!=="intent"?[i,f,{}]:[i,f,{onFocus:vf(s,m),onBlur:vf(l,b),onMouseEnter:vf(u,m),onMouseLeave:vf(d,b),onTouchStart:vf(h,m)}]:[!1,f,{}]}function vf(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function bme({page:e,...t}){let{router:r}=$K(),n=T.useMemo(()=>NK(r.routes,e,r.basename),[r.routes,e,r.basename]);return n?T.createElement(vme,{page:e,matches:n,...t}):null}function yme(e){let{manifest:t,routeModules:r}=jK(),[n,a]=T.useState([]);return T.useEffect(()=>{let i=!1;return ume(e,t,r).then(o=>{i||a(o)}),()=>{i=!0}},[e,t,r]),n}function vme({page:e,matches:t,...r}){let n=$c(),{manifest:a,routeModules:i}=jK(),{basename:o}=$K(),{loaderData:s,matches:l}=mme(),u=T.useMemo(()=>wI(e,t,l,a,n,"data"),[e,t,l,a,n]),d=T.useMemo(()=>wI(e,t,l,a,n,"assets"),[e,t,l,a,n]),h=T.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let b=new Set,y=!1;if(t.forEach(x=>{var C;let E=a.routes[x.route.id];!E||!E.hasLoader||(!u.some(_=>_.route.id===x.route.id)&&x.route.id in s&&((C=i[x.route.id])!=null&&C.shouldRevalidate)||E.hasClientLoader?y=!0:b.add(x.route.id))}),b.size===0)return[];let F=fme(e,o);return y&&b.size>0&&F.searchParams.set("_routes",t.filter(x=>b.has(x.route.id)).map(x=>x.route.id).join(",")),[F.pathname+F.search]},[o,s,n,a,u,t,e,i]),f=T.useMemo(()=>cme(d,a),[d,a]),m=yme(d);return T.createElement(T.Fragment,null,h.map(b=>T.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...r})),f.map(b=>T.createElement("link",{key:b,rel:"modulepreload",href:b,...r})),m.map(({key:b,link:y})=>T.createElement("link",{key:b,...y})))}function Fme(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var qK=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{qK&&(window.__reactRouterVersion="7.3.0")}catch{}function Eme({basename:e,children:t,window:r}){let n=T.useRef();n.current==null&&(n.current=cfe({window:r,v5Compat:!0}));let a=n.current,[i,o]=T.useState({action:a.action,location:a.location}),s=T.useCallback(l=>{T.startTransition(()=>o(l))},[o]);return T.useLayoutEffect(()=>a.listen(s),[a,s]),T.createElement(Jfe,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a})}var WK=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,VK=T.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:a,reloadDocument:i,replace:o,state:s,target:l,to:u,preventScrollReset:d,viewTransition:h,...f},m){let{basename:b}=T.useContext(ds),y=typeof u=="string"&&WK.test(u),F,x=!1;if(typeof u=="string"&&y&&(F=u,qK))try{let M=new URL(window.location.href),L=u.startsWith("//")?new URL(M.protocol+u):new URL(u),U=ul(L.pathname,b);L.origin===M.origin&&U!=null?u=U+L.search+L.hash:x=!0}catch{To(!1,`<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let E=Ofe(u,{relative:a}),[C,_,D]=gme(n,f),w=kme(u,{replace:o,state:s,target:l,preventScrollReset:d,relative:a,viewTransition:h});function A(M){t&&t(M),M.defaultPrevented||w(M)}let I=T.createElement("a",{...f,...D,href:F||E,onClick:x||i?t:A,ref:Fme(m,_),target:l,"data-discover":!y&&r==="render"?"true":void 0});return C&&!y?T.createElement(T.Fragment,null,I,T.createElement(bme,{page:E})):I});VK.displayName="Link";var Sme=T.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:a=!1,style:i,to:o,viewTransition:s,children:l,...u},d){let h=i0(o,{relative:u.relative}),f=$c(),m=T.useContext(mv),{navigator:b,basename:y}=T.useContext(ds),F=m!=null&&Dme(h)&&s===!0,x=b.encodeLocation?b.encodeLocation(h).pathname:h.pathname,E=f.pathname,C=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;r||(E=E.toLowerCase(),C=C?C.toLowerCase():null,x=x.toLowerCase()),C&&y&&(C=ul(C,y)||C);const _=x!=="/"&&x.endsWith("/")?x.length-1:x.length;let D=E===x||!a&&E.startsWith(x)&&E.charAt(_)==="/",w=C!=null&&(C===x||!a&&C.startsWith(x)&&C.charAt(x.length)==="/"),A={isActive:D,isPending:w,isTransitioning:F},I=D?t:void 0,M;typeof n=="function"?M=n(A):M=[n,D?"active":null,w?"pending":null,F?"transitioning":null].filter(Boolean).join(" ");let L=typeof i=="function"?i(A):i;return T.createElement(VK,{...u,"aria-current":I,className:M,ref:d,style:L,to:o,viewTransition:s},typeof l=="function"?l(A):l)});Sme.displayName="NavLink";var xme=T.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:a,state:i,method:o=tb,action:s,onSubmit:l,relative:u,preventScrollReset:d,viewTransition:h,...f},m)=>{let b=Ame(),y=_me(s,{relative:u}),F=o.toLowerCase()==="get"?"get":"post",x=typeof s=="string"&&WK.test(s),E=C=>{if(l&&l(C),C.defaultPrevented)return;C.preventDefault();let _=C.nativeEvent.submitter,D=(_==null?void 0:_.getAttribute("formmethod"))||o;b(_||C.currentTarget,{fetcherKey:t,method:D,navigate:r,replace:a,state:i,relative:u,preventScrollReset:d,viewTransition:h})};return T.createElement("form",{ref:m,method:F,action:y,onSubmit:n?l:E,...f,"data-discover":!x&&e==="render"?"true":void 0})});xme.displayName="Form";function wme(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function KK(e){let t=T.useContext(Kh);return mn(t,wme(e)),t}function kme(e,{target:t,replace:r,state:n,preventScrollReset:a,relative:i,viewTransition:o}={}){let s=oR(),l=$c(),u=i0(e,{relative:i});return T.useCallback(d=>{if(nme(d,t)){d.preventDefault();let h=r!==void 0?r:Tm(l)===Tm(u);s(e,{replace:h,state:n,preventScrollReset:a,relative:i,viewTransition:o})}},[l,s,u,r,n,t,e,a,i,o])}var Cme=0,Tme=()=>`__${String(++Cme)}__`;function Ame(){let{router:e}=KK("useSubmit"),{basename:t}=T.useContext(ds),r=Vfe();return T.useCallback(async(n,a={})=>{let{action:i,method:o,encType:s,formData:l,body:u}=ome(n,t);if(a.navigate===!1){let d=a.fetcherKey||Tme();await e.fetch(d,r,a.action||i,{preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||o,formEncType:a.encType||s,flushSync:a.flushSync})}else await e.navigate(a.action||i,{preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||o,formEncType:a.encType||s,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function _me(e,{relative:t}={}){let{basename:r}=T.useContext(ds),n=T.useContext(gl);mn(n,"useFormAction must be used inside a RouteContext");let[a]=n.matches.slice(-1),i={...i0(e||".",{relative:t})},o=$c();if(e==null){i.search=o.search;let s=new URLSearchParams(i.search),l=s.getAll("index");if(l.some(d=>d==="")){s.delete("index"),l.filter(h=>h).forEach(h=>s.append("index",h));let d=s.toString();i.search=d?`?${d}`:""}}return(!e||e===".")&&a.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(i.pathname=i.pathname==="/"?r:rl([r,i.pathname])),Tm(i)}function Dme(e,t={}){let r=T.useContext(PK);mn(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=KK("useViewTransitionState"),a=i0(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=ul(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=ul(r.nextLocation.pathname,n)||r.nextLocation.pathname;return jb(a.pathname,o)!=null||jb(a.pathname,i)!=null}new TextEncoder;var o0=AV();const YK=On(o0),kI=e=>{let t;const r=new Set,n=(u,d)=>{const h=typeof u=="function"?u(t):u;if(!Object.is(h,t)){const f=t;t=d??(typeof h!="object"||h===null)?h:Object.assign({},t,h),r.forEach(m=>m(t,f))}},a=()=>t,s={setState:n,getState:a,getInitialState:()=>l,subscribe:u=>(r.add(u),()=>r.delete(u))},l=t=e(n,a,s);return s},Rme=e=>e?kI(e):kI,Nme=e=>e;function Lme(e,t=Nme){const r=Ge.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return Ge.useDebugValue(r),r}const CI=e=>{const t=Rme(e),r=n=>Lme(t,n);return Object.assign(r,t),r},bv=e=>e?CI(e):CI;function XK(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=XK(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function JK(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=XK(e))&&(n&&(n+=" "),n+=t);return n}const dR="-",Mme=e=>{const t=Ome(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{const s=o.split(dR);return s[0]===""&&s.length!==1&&s.shift(),ZK(s,t)||Ime(o)},getConflictingClassGroupIds:(o,s)=>{const l=r[o]||[];return s&&n[o]?[...l,...n[o]]:l}}},ZK=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?ZK(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const i=e.join(dR);return(o=t.validators.find(({validator:s})=>s(i)))==null?void 0:o.classGroupId},TI=/^\[(.+)\]$/,Ime=e=>{if(TI.test(e)){const t=TI.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ome=e=>{const{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(const a in r)f_(r[a],n,a,t);return n},f_=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){const i=a===""?t:AI(t,a);i.classGroupId=r;return}if(typeof a=="function"){if(Bme(a)){f_(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,o])=>{f_(o,AI(t,i),r,n)})})},AI=(e,t)=>{let r=e;return t.split(dR).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Bme=e=>e.isThemeGetter,Pme=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(i,o)=>{r.set(i,o),t++,t>e&&(t=0,n=r,r=new Map)};return{get(i){let o=r.get(i);if(o!==void 0)return o;if((o=n.get(i))!==void 0)return a(i,o),o},set(i,o){r.has(i)?r.set(i,o):a(i,o)}}},m_="!",g_=":",zme=g_.length,Hme=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=a=>{const i=[];let o=0,s=0,l=0,u;for(let b=0;b<a.length;b++){let y=a[b];if(o===0&&s===0){if(y===g_){i.push(a.slice(l,b)),l=b+zme;continue}if(y==="/"){u=b;continue}}y==="["?o++:y==="]"?o--:y==="("?s++:y===")"&&s--}const d=i.length===0?a:a.substring(l),h=Ume(d),f=h!==d,m=u&&u>l?u-l:void 0;return{modifiers:i,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:m}};if(t){const a=t+g_,i=n;n=o=>o.startsWith(a)?i(o.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(r){const a=n;n=i=>r({className:i,parseClassName:a})}return n},Ume=e=>e.endsWith(m_)?e.substring(0,e.length-1):e.startsWith(m_)?e.substring(1):e,Gme=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const a=[];let i=[];return n.forEach(o=>{o[0]==="["||t[o]?(a.push(...i.sort(),o),i=[]):i.push(o)}),a.push(...i.sort()),a}},$me=e=>({cache:Pme(e.cacheSize),parseClassName:Hme(e),sortModifiers:Gme(e),...Mme(e)}),jme=/\s+/,qme=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],s=e.trim().split(jme);let l="";for(let u=s.length-1;u>=0;u-=1){const d=s[u],{isExternal:h,modifiers:f,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:y}=r(d);if(h){l=d+(l.length>0?" "+l:l);continue}let F=!!y,x=n(F?b.substring(0,y):b);if(!x){if(!F){l=d+(l.length>0?" "+l:l);continue}if(x=n(b),!x){l=d+(l.length>0?" "+l:l);continue}F=!1}const E=i(f).join(":"),C=m?E+m_:E,_=C+x;if(o.includes(_))continue;o.push(_);const D=a(x,F);for(let w=0;w<D.length;++w){const A=D[w];o.push(C+A)}l=d+(l.length>0?" "+l:l)}return l};function Wme(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=QK(t))&&(n&&(n+=" "),n+=r);return n}const QK=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=QK(e[n]))&&(r&&(r+=" "),r+=t);return r};function Vme(e,...t){let r,n,a,i=o;function o(l){const u=t.reduce((d,h)=>h(d),e());return r=$me(u),n=r.cache.get,a=r.cache.set,i=s,s(l)}function s(l){const u=n(l);if(u)return u;const d=qme(l,r);return a(l,d),d}return function(){return i(Wme.apply(null,arguments))}}const Zn=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},eY=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tY=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Kme=/^\d+\/\d+$/,Yme=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xme=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Jme=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zme=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qme=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Bd=e=>Kme.test(e),Tr=e=>!!e&&!Number.isNaN(Number(e)),Zu=e=>!!e&&Number.isInteger(Number(e)),_I=e=>e.endsWith("%")&&Tr(e.slice(0,-1)),Wl=e=>Yme.test(e),e0e=()=>!0,t0e=e=>Xme.test(e)&&!Jme.test(e),hR=()=>!1,r0e=e=>Zme.test(e),n0e=e=>Qme.test(e),a0e=e=>!Ct(e)&&!Tt(e),i0e=e=>Yh(e,aY,hR),Ct=e=>eY.test(e),Qu=e=>Yh(e,iY,t0e),yS=e=>Yh(e,g0e,Tr),o0e=e=>Yh(e,rY,hR),s0e=e=>Yh(e,nY,n0e),l0e=e=>Yh(e,hR,r0e),Tt=e=>tY.test(e),l1=e=>Xh(e,iY),u0e=e=>Xh(e,b0e),c0e=e=>Xh(e,rY),d0e=e=>Xh(e,aY),h0e=e=>Xh(e,nY),p0e=e=>Xh(e,y0e,!0),Yh=(e,t,r)=>{const n=eY.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Xh=(e,t,r=!1)=>{const n=tY.exec(e);return n?n[1]?t(n[1]):r:!1},rY=e=>e==="position",f0e=new Set(["image","url"]),nY=e=>f0e.has(e),m0e=new Set(["length","size","percentage"]),aY=e=>m0e.has(e),iY=e=>e==="length",g0e=e=>e==="number",b0e=e=>e==="family-name",y0e=e=>e==="shadow",v0e=()=>{const e=Zn("color"),t=Zn("font"),r=Zn("text"),n=Zn("font-weight"),a=Zn("tracking"),i=Zn("leading"),o=Zn("breakpoint"),s=Zn("container"),l=Zn("spacing"),u=Zn("radius"),d=Zn("shadow"),h=Zn("inset-shadow"),f=Zn("drop-shadow"),m=Zn("blur"),b=Zn("perspective"),y=Zn("aspect"),F=Zn("ease"),x=Zn("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],w=()=>[Tt,Ct,l],A=()=>[Bd,"full","auto",...w()],I=()=>[Zu,"none","subgrid",Tt,Ct],M=()=>["auto",{span:["full",Zu,Tt,Ct]},Tt,Ct],L=()=>[Zu,"auto",Tt,Ct],U=()=>["auto","min","max","fr",Tt,Ct],j=()=>["start","end","center","between","around","evenly","stretch","baseline"],z=()=>["start","end","center","stretch"],V=()=>["auto",...w()],X=()=>[Bd,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],q=()=>[e,Tt,Ct],W=()=>[_I,Qu],B=()=>["","none","full",u,Tt,Ct],te=()=>["",Tr,l1,Qu],P=()=>["solid","dashed","dotted","double"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["","none",m,Tt,Ct],G=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Tt,Ct],ne=()=>["none",Tr,Tt,Ct],oe=()=>["none",Tr,Tt,Ct],de=()=>[Tr,Tt,Ct],ie=()=>[Bd,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Wl],breakpoint:[Wl],color:[e0e],container:[Wl],"drop-shadow":[Wl],ease:["in","out","in-out"],font:[a0e],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Wl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Wl],shadow:[Wl],spacing:["px",Tr],text:[Wl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Bd,Ct,Tt,y]}],container:["container"],columns:[{columns:[Tr,Ct,Tt,s]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...C(),Ct,Tt]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{start:A()}],end:[{end:A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[Zu,"auto",Tt,Ct]}],basis:[{basis:[Bd,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Tr,Bd,"auto","initial","none",Ct]}],grow:[{grow:["",Tr,Tt,Ct]}],shrink:[{shrink:["",Tr,Tt,Ct]}],order:[{order:[Zu,"first","last","none",Tt,Ct]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:M()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:M()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":U()}],"auto-rows":[{"auto-rows":U()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...z(),"normal"]}],"justify-self":[{"justify-self":["auto",...z()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...z(),"baseline"]}],"align-self":[{self:["auto",...z(),"baseline"]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...z(),"baseline"]}],"place-self":[{"place-self":["auto",...z()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:V()}],mx:[{mx:V()}],my:[{my:V()}],ms:[{ms:V()}],me:[{me:V()}],mt:[{mt:V()}],mr:[{mr:V()}],mb:[{mb:V()}],ml:[{ml:V()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:X()}],w:[{w:[s,"screen",...X()]}],"min-w":[{"min-w":[s,"screen","none",...X()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...X()]}],h:[{h:["screen",...X()]}],"min-h":[{"min-h":["screen","none",...X()]}],"max-h":[{"max-h":["screen",...X()]}],"font-size":[{text:["base",r,l1,Qu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Tt,yS]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",_I,Ct]}],"font-family":[{font:[u0e,Ct,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,Tt,Ct]}],"line-clamp":[{"line-clamp":[Tr,"none",Tt,yS]}],leading:[{leading:[i,...w()]}],"list-image":[{"list-image":["none",Tt,Ct]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Tt,Ct]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:q()}],"text-color":[{text:q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...P(),"wavy"]}],"text-decoration-thickness":[{decoration:[Tr,"from-font","auto",Tt,Qu]}],"text-decoration-color":[{decoration:q()}],"underline-offset":[{"underline-offset":[Tr,"auto",Tt,Ct]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Tt,Ct]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Tt,Ct]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...C(),c0e,o0e]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",d0e,i0e]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Zu,Tt,Ct],radial:["",Tt,Ct],conic:[Zu,Tt,Ct]},h0e,s0e]}],"bg-color":[{bg:q()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:q()}],"gradient-via":[{via:q()}],"gradient-to":[{to:q()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...P(),"hidden","none"]}],"divide-style":[{divide:[...P(),"hidden","none"]}],"border-color":[{border:q()}],"border-color-x":[{"border-x":q()}],"border-color-y":[{"border-y":q()}],"border-color-s":[{"border-s":q()}],"border-color-e":[{"border-e":q()}],"border-color-t":[{"border-t":q()}],"border-color-r":[{"border-r":q()}],"border-color-b":[{"border-b":q()}],"border-color-l":[{"border-l":q()}],"divide-color":[{divide:q()}],"outline-style":[{outline:[...P(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Tr,Tt,Ct]}],"outline-w":[{outline:["",Tr,l1,Qu]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",d,p0e,l0e]}],"shadow-color":[{shadow:q()}],"inset-shadow":[{"inset-shadow":["none",Tt,Ct,h]}],"inset-shadow-color":[{"inset-shadow":q()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:q()}],"ring-offset-w":[{"ring-offset":[Tr,Qu]}],"ring-offset-color":[{"ring-offset":q()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":q()}],opacity:[{opacity:[Tr,Tt,Ct]}],"mix-blend":[{"mix-blend":[...Z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none",Tt,Ct]}],blur:[{blur:K()}],brightness:[{brightness:[Tr,Tt,Ct]}],contrast:[{contrast:[Tr,Tt,Ct]}],"drop-shadow":[{"drop-shadow":["","none",f,Tt,Ct]}],grayscale:[{grayscale:["",Tr,Tt,Ct]}],"hue-rotate":[{"hue-rotate":[Tr,Tt,Ct]}],invert:[{invert:["",Tr,Tt,Ct]}],saturate:[{saturate:[Tr,Tt,Ct]}],sepia:[{sepia:["",Tr,Tt,Ct]}],"backdrop-filter":[{"backdrop-filter":["","none",Tt,Ct]}],"backdrop-blur":[{"backdrop-blur":K()}],"backdrop-brightness":[{"backdrop-brightness":[Tr,Tt,Ct]}],"backdrop-contrast":[{"backdrop-contrast":[Tr,Tt,Ct]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Tr,Tt,Ct]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Tr,Tt,Ct]}],"backdrop-invert":[{"backdrop-invert":["",Tr,Tt,Ct]}],"backdrop-opacity":[{"backdrop-opacity":[Tr,Tt,Ct]}],"backdrop-saturate":[{"backdrop-saturate":[Tr,Tt,Ct]}],"backdrop-sepia":[{"backdrop-sepia":["",Tr,Tt,Ct]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Tt,Ct]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Tr,"initial",Tt,Ct]}],ease:[{ease:["linear","initial",F,Tt,Ct]}],delay:[{delay:[Tr,Tt,Ct]}],animate:[{animate:["none",x,Tt,Ct]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,Tt,Ct]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":["scale-3d"],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[Tt,Ct,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],accent:[{accent:q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Tt,Ct]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Tt,Ct]}],fill:[{fill:["none",...q()]}],"stroke-w":[{stroke:[Tr,l1,Qu,yS]}],stroke:[{stroke:["none",...q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},F0e=Vme(v0e);function ut(...e){return F0e(JK(e))}function Ff(){const e="0123456789abcdef";let t="#";for(let r=0;r<6;r++)t+=e.charAt(Math.floor(Math.random()*16));return t}function ka(e){return e instanceof Error?e.message:`${e}`}function E0e(e,t){let r=0,n=null;return function(...a){const i=Date.now(),o=t-(i-r);o<=0?(n&&(clearTimeout(n),n=null),r=i,e.apply(this,a)):n||(n=setTimeout(()=>{r=Date.now(),n=null,e.apply(this,a)},o))}}const pR=e=>{const t=e;t.use={};for(const r of Object.keys(t.getState()))t.use[r]=()=>t(n=>n[r]);return t};function oY(e,t){return function(){return e.apply(t,arguments)}}const{toString:S0e}=Object.prototype,{getPrototypeOf:fR}=Object,yv=(e=>t=>{const r=S0e.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Do=e=>(e=e.toLowerCase(),t=>yv(t)===e),vv=e=>t=>typeof t===e,{isArray:Jh}=Array,Am=vv("undefined");function x0e(e){return e!==null&&!Am(e)&&e.constructor!==null&&!Am(e.constructor)&&Ci(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const sY=Do("ArrayBuffer");function w0e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&sY(e.buffer),t}const k0e=vv("string"),Ci=vv("function"),lY=vv("number"),Fv=e=>e!==null&&typeof e=="object",C0e=e=>e===!0||e===!1,nb=e=>{if(yv(e)!=="object")return!1;const t=fR(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},T0e=Do("Date"),A0e=Do("File"),_0e=Do("Blob"),D0e=Do("FileList"),R0e=e=>Fv(e)&&Ci(e.pipe),N0e=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ci(e.append)&&((t=yv(e))==="formdata"||t==="object"&&Ci(e.toString)&&e.toString()==="[object FormData]"))},L0e=Do("URLSearchParams"),[M0e,I0e,O0e,B0e]=["ReadableStream","Request","Response","Headers"].map(Do),P0e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function s0(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Jh(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let s;for(n=0;n<o;n++)s=i[n],t.call(null,e[s],s,e)}}function uY(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cY=e=>!Am(e)&&e!==dc;function b_(){const{caseless:e}=cY(this)&&this||{},t={},r=(n,a)=>{const i=e&&uY(t,a)||a;nb(t[i])&&nb(n)?t[i]=b_(t[i],n):nb(n)?t[i]=b_({},n):Jh(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&s0(arguments[n],r);return t}const z0e=(e,t,r,{allOwnKeys:n}={})=>(s0(t,(a,i)=>{r&&Ci(a)?e[i]=oY(a,r):e[i]=a},{allOwnKeys:n}),e),H0e=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),U0e=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},G0e=(e,t,r,n)=>{let a,i,o;const s={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=r!==!1&&fR(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},$0e=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},j0e=e=>{if(!e)return null;if(Jh(e))return e;let t=e.length;if(!lY(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},q0e=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fR(Uint8Array)),W0e=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},V0e=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},K0e=Do("HTMLFormElement"),Y0e=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),DI=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),X0e=Do("RegExp"),dY=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};s0(r,(a,i)=>{let o;(o=t(a,i,e))!==!1&&(n[i]=o||a)}),Object.defineProperties(e,n)},J0e=e=>{dY(e,(t,r)=>{if(Ci(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ci(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Z0e=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Jh(e)?n(e):n(String(e).split(t)),r},Q0e=()=>{},ege=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,vS="abcdefghijklmnopqrstuvwxyz",RI="0123456789",hY={DIGIT:RI,ALPHA:vS,ALPHA_DIGIT:vS+vS.toUpperCase()+RI},tge=(e=16,t=hY.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function rge(e){return!!(e&&Ci(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const nge=e=>{const t=new Array(10),r=(n,a)=>{if(Fv(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=Jh(n)?[]:{};return s0(n,(o,s)=>{const l=r(o,a+1);!Am(l)&&(i[s]=l)}),t[a]=void 0,i}}return n};return r(e,0)},age=Do("AsyncFunction"),ige=e=>e&&(Fv(e)||Ci(e))&&Ci(e.then)&&Ci(e.catch),pY=((e,t)=>e?setImmediate:t?((r,n)=>(dc.addEventListener("message",({source:a,data:i})=>{a===dc&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),dc.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ci(dc.postMessage)),oge=typeof queueMicrotask<"u"?queueMicrotask.bind(dc):typeof process<"u"&&process.nextTick||pY,Oe={isArray:Jh,isArrayBuffer:sY,isBuffer:x0e,isFormData:N0e,isArrayBufferView:w0e,isString:k0e,isNumber:lY,isBoolean:C0e,isObject:Fv,isPlainObject:nb,isReadableStream:M0e,isRequest:I0e,isResponse:O0e,isHeaders:B0e,isUndefined:Am,isDate:T0e,isFile:A0e,isBlob:_0e,isRegExp:X0e,isFunction:Ci,isStream:R0e,isURLSearchParams:L0e,isTypedArray:q0e,isFileList:D0e,forEach:s0,merge:b_,extend:z0e,trim:P0e,stripBOM:H0e,inherits:U0e,toFlatObject:G0e,kindOf:yv,kindOfTest:Do,endsWith:$0e,toArray:j0e,forEachEntry:W0e,matchAll:V0e,isHTMLForm:K0e,hasOwnProperty:DI,hasOwnProp:DI,reduceDescriptors:dY,freezeMethods:J0e,toObjectSet:Z0e,toCamelCase:Y0e,noop:Q0e,toFiniteNumber:ege,findKey:uY,global:dc,isContextDefined:cY,ALPHABET:hY,generateString:tge,isSpecCompliantForm:rge,toJSONObject:nge,isAsyncFn:age,isThenable:ige,setImmediate:pY,asap:oge};function cr(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}Oe.inherits(cr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Oe.toJSONObject(this.config),code:this.code,status:this.status}}});const fY=cr.prototype,mY={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{mY[e]={value:e}});Object.defineProperties(cr,mY);Object.defineProperty(fY,"isAxiosError",{value:!0});cr.from=(e,t,r,n,a,i)=>{const o=Object.create(fY);return Oe.toFlatObject(e,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),cr.call(o,e.message,t,r,n,a),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const sge=null;function y_(e){return Oe.isPlainObject(e)||Oe.isArray(e)}function gY(e){return Oe.endsWith(e,"[]")?e.slice(0,-2):e}function NI(e,t,r){return e?e.concat(t).map(function(a,i){return a=gY(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function lge(e){return Oe.isArray(e)&&!e.some(y_)}const uge=Oe.toFlatObject(Oe,{},null,function(t){return/^is[A-Z]/.test(t)});function Ev(e,t,r){if(!Oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=Oe.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,F){return!Oe.isUndefined(F[y])});const n=r.metaTokens,a=r.visitor||d,i=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&Oe.isSpecCompliantForm(t);if(!Oe.isFunction(a))throw new TypeError("visitor must be a function");function u(b){if(b===null)return"";if(Oe.isDate(b))return b.toISOString();if(!l&&Oe.isBlob(b))throw new cr("Blob is not supported. Use a Buffer instead.");return Oe.isArrayBuffer(b)||Oe.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,y,F){let x=b;if(b&&!F&&typeof b=="object"){if(Oe.endsWith(y,"{}"))y=n?y:y.slice(0,-2),b=JSON.stringify(b);else if(Oe.isArray(b)&&lge(b)||(Oe.isFileList(b)||Oe.endsWith(y,"[]"))&&(x=Oe.toArray(b)))return y=gY(y),x.forEach(function(C,_){!(Oe.isUndefined(C)||C===null)&&t.append(o===!0?NI([y],_,i):o===null?y:y+"[]",u(C))}),!1}return y_(b)?!0:(t.append(NI(F,y,i),u(b)),!1)}const h=[],f=Object.assign(uge,{defaultVisitor:d,convertValue:u,isVisitable:y_});function m(b,y){if(!Oe.isUndefined(b)){if(h.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));h.push(b),Oe.forEach(b,function(x,E){(!(Oe.isUndefined(x)||x===null)&&a.call(t,x,Oe.isString(E)?E.trim():E,y,f))===!0&&m(x,y?y.concat(E):[E])}),h.pop()}}if(!Oe.isObject(e))throw new TypeError("data must be an object");return m(e),t}function LI(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function mR(e,t){this._pairs=[],e&&Ev(e,this,t)}const bY=mR.prototype;bY.append=function(t,r){this._pairs.push([t,r])};bY.toString=function(t){const r=t?function(n){return t.call(this,n,LI)}:LI;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function cge(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yY(e,t,r){if(!t)return e;const n=r&&r.encode||cge;Oe.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let i;if(a?i=a(t,r):i=Oe.isURLSearchParams(t)?t.toString():new mR(t,r).toString(n),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class MI{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Oe.forEach(this.handlers,function(n){n!==null&&t(n)})}}const vY={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dge=typeof URLSearchParams<"u"?URLSearchParams:mR,hge=typeof FormData<"u"?FormData:null,pge=typeof Blob<"u"?Blob:null,fge={isBrowser:!0,classes:{URLSearchParams:dge,FormData:hge,Blob:pge},protocols:["http","https","file","blob","url","data"]},gR=typeof window<"u"&&typeof document<"u",v_=typeof navigator=="object"&&navigator||void 0,mge=gR&&(!v_||["ReactNative","NativeScript","NS"].indexOf(v_.product)<0),gge=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bge=gR&&window.location.href||"http://localhost",yge=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gR,hasStandardBrowserEnv:mge,hasStandardBrowserWebWorkerEnv:gge,navigator:v_,origin:bge},Symbol.toStringTag,{value:"Module"})),Ca={...yge,...fge};function vge(e,t){return Ev(e,new Ca.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return Ca.isNode&&Oe.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Fge(e){return Oe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ege(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function FY(e){function t(r,n,a,i){let o=r[i++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),l=i>=r.length;return o=!o&&Oe.isArray(a)?a.length:o,l?(Oe.hasOwnProp(a,o)?a[o]=[a[o],n]:a[o]=n,!s):((!a[o]||!Oe.isObject(a[o]))&&(a[o]=[]),t(r,n,a[o],i)&&Oe.isArray(a[o])&&(a[o]=Ege(a[o])),!s)}if(Oe.isFormData(e)&&Oe.isFunction(e.entries)){const r={};return Oe.forEachEntry(e,(n,a)=>{t(Fge(n),a,r,0)}),r}return null}function Sge(e,t,r){if(Oe.isString(e))try{return(t||JSON.parse)(e),Oe.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const l0={transitional:vY,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=Oe.isObject(t);if(i&&Oe.isHTMLForm(t)&&(t=new FormData(t)),Oe.isFormData(t))return a?JSON.stringify(FY(t)):t;if(Oe.isArrayBuffer(t)||Oe.isBuffer(t)||Oe.isStream(t)||Oe.isFile(t)||Oe.isBlob(t)||Oe.isReadableStream(t))return t;if(Oe.isArrayBufferView(t))return t.buffer;if(Oe.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return vge(t,this.formSerializer).toString();if((s=Oe.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Ev(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),Sge(t)):t}],transformResponse:[function(t){const r=this.transitional||l0.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(Oe.isResponse(t)||Oe.isReadableStream(t))return t;if(t&&Oe.isString(t)&&(n&&!this.responseType||a)){const o=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?cr.from(s,cr.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ca.classes.FormData,Blob:Ca.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Oe.forEach(["delete","get","head","post","put","patch"],e=>{l0.headers[e]={}});const xge=Oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wge=e=>{const t={};let r,n,a;return e&&e.split(`
|
||
`).forEach(function(o){a=o.indexOf(":"),r=o.substring(0,a).trim().toLowerCase(),n=o.substring(a+1).trim(),!(!r||t[r]&&xge[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},II=Symbol("internals");function Ef(e){return e&&String(e).trim().toLowerCase()}function ab(e){return e===!1||e==null?e:Oe.isArray(e)?e.map(ab):String(e)}function kge(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Cge=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function FS(e,t,r,n,a){if(Oe.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!Oe.isString(t)){if(Oe.isString(n))return t.indexOf(n)!==-1;if(Oe.isRegExp(n))return n.test(t)}}function Tge(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Age(e,t){const r=Oe.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,o){return this[n].call(this,t,a,i,o)},configurable:!0})})}let ni=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(s,l,u){const d=Ef(l);if(!d)throw new Error("header name must be a non-empty string");const h=Oe.findKey(a,d);(!h||a[h]===void 0||u===!0||u===void 0&&a[h]!==!1)&&(a[h||l]=ab(s))}const o=(s,l)=>Oe.forEach(s,(u,d)=>i(u,d,l));if(Oe.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(Oe.isString(t)&&(t=t.trim())&&!Cge(t))o(wge(t),r);else if(Oe.isHeaders(t))for(const[s,l]of t.entries())i(l,s,n);else t!=null&&i(r,t,n);return this}get(t,r){if(t=Ef(t),t){const n=Oe.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return kge(a);if(Oe.isFunction(r))return r.call(this,a,n);if(Oe.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Ef(t),t){const n=Oe.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||FS(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(o){if(o=Ef(o),o){const s=Oe.findKey(n,o);s&&(!r||FS(n,n[s],s,r))&&(delete n[s],a=!0)}}return Oe.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||FS(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return Oe.forEach(this,(a,i)=>{const o=Oe.findKey(n,i);if(o){r[o]=ab(a),delete r[i];return}const s=t?Tge(i):String(i).trim();s!==i&&delete r[i],r[s]=ab(a),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return Oe.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&Oe.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[II]=this[II]={accessors:{}}).accessors,a=this.prototype;function i(o){const s=Ef(o);n[s]||(Age(a,o),n[s]=!0)}return Oe.isArray(t)?t.forEach(i):i(t),this}};ni.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Oe.reduceDescriptors(ni.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});Oe.freezeMethods(ni);function ES(e,t){const r=this||l0,n=t||r,a=ni.from(n.headers);let i=n.data;return Oe.forEach(e,function(s){i=s.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function EY(e){return!!(e&&e.__CANCEL__)}function Zh(e,t,r){cr.call(this,e??"canceled",cr.ERR_CANCELED,t,r),this.name="CanceledError"}Oe.inherits(Zh,cr,{__CANCEL__:!0});function SY(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new cr("Request failed with status code "+r.status,[cr.ERR_BAD_REQUEST,cr.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function _ge(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Dge(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=n[i];o||(o=u),r[a]=l,n[a]=u;let h=i,f=0;for(;h!==a;)f+=r[h++],h=h%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-o<t)return;const m=d&&u-d;return m?Math.round(f*1e3/m):void 0}}function Rge(e,t){let r=0,n=1e3/t,a,i;const o=(u,d=Date.now())=>{r=d,a=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),h=d-r;h>=n?o(u,d):(a=u,i||(i=setTimeout(()=>{i=null,o(a)},n-h)))},()=>a&&o(a)]}const qb=(e,t,r=3)=>{let n=0;const a=Dge(50,250);return Rge(i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,l=o-n,u=a(l),d=o<=s;n=o;const h={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-o)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(h)},r)},OI=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},BI=e=>(...t)=>Oe.asap(()=>e(...t)),Nge=Ca.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ca.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ca.origin),Ca.navigator&&/(msie|trident)/i.test(Ca.navigator.userAgent)):()=>!0,Lge=Ca.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const o=[e+"="+encodeURIComponent(t)];Oe.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),Oe.isString(n)&&o.push("path="+n),Oe.isString(a)&&o.push("domain="+a),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mge(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ige(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function xY(e,t){return e&&!Mge(t)?Ige(e,t):t}const PI=e=>e instanceof ni?{...e}:e;function wc(e,t){t=t||{};const r={};function n(u,d,h,f){return Oe.isPlainObject(u)&&Oe.isPlainObject(d)?Oe.merge.call({caseless:f},u,d):Oe.isPlainObject(d)?Oe.merge({},d):Oe.isArray(d)?d.slice():d}function a(u,d,h,f){if(Oe.isUndefined(d)){if(!Oe.isUndefined(u))return n(void 0,u,h,f)}else return n(u,d,h,f)}function i(u,d){if(!Oe.isUndefined(d))return n(void 0,d)}function o(u,d){if(Oe.isUndefined(d)){if(!Oe.isUndefined(u))return n(void 0,u)}else return n(void 0,d)}function s(u,d,h){if(h in t)return n(u,d);if(h in e)return n(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,d,h)=>a(PI(u),PI(d),h,!0)};return Oe.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=l[d]||a,f=h(e[d],t[d],d);Oe.isUndefined(f)&&h!==s||(r[d]=f)}),r}const wY=e=>{const t=wc({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:s}=t;t.headers=o=ni.from(o),t.url=yY(xY(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(Oe.isFormData(r)){if(Ca.hasStandardBrowserEnv||Ca.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...d]=l?l.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...d].join("; "))}}if(Ca.hasStandardBrowserEnv&&(n&&Oe.isFunction(n)&&(n=n(t)),n||n!==!1&&Nge(t.url))){const u=a&&i&&Lge.read(i);u&&o.set(a,u)}return t},Oge=typeof XMLHttpRequest<"u",Bge=Oge&&function(e){return new Promise(function(r,n){const a=wY(e);let i=a.data;const o=ni.from(a.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=a,d,h,f,m,b;function y(){m&&m(),b&&b(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let F=new XMLHttpRequest;F.open(a.method.toUpperCase(),a.url,!0),F.timeout=a.timeout;function x(){if(!F)return;const C=ni.from("getAllResponseHeaders"in F&&F.getAllResponseHeaders()),D={data:!s||s==="text"||s==="json"?F.responseText:F.response,status:F.status,statusText:F.statusText,headers:C,config:e,request:F};SY(function(A){r(A),y()},function(A){n(A),y()},D),F=null}"onloadend"in F?F.onloadend=x:F.onreadystatechange=function(){!F||F.readyState!==4||F.status===0&&!(F.responseURL&&F.responseURL.indexOf("file:")===0)||setTimeout(x)},F.onabort=function(){F&&(n(new cr("Request aborted",cr.ECONNABORTED,e,F)),F=null)},F.onerror=function(){n(new cr("Network Error",cr.ERR_NETWORK,e,F)),F=null},F.ontimeout=function(){let _=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const D=a.transitional||vY;a.timeoutErrorMessage&&(_=a.timeoutErrorMessage),n(new cr(_,D.clarifyTimeoutError?cr.ETIMEDOUT:cr.ECONNABORTED,e,F)),F=null},i===void 0&&o.setContentType(null),"setRequestHeader"in F&&Oe.forEach(o.toJSON(),function(_,D){F.setRequestHeader(D,_)}),Oe.isUndefined(a.withCredentials)||(F.withCredentials=!!a.withCredentials),s&&s!=="json"&&(F.responseType=a.responseType),u&&([f,b]=qb(u,!0),F.addEventListener("progress",f)),l&&F.upload&&([h,m]=qb(l),F.upload.addEventListener("progress",h),F.upload.addEventListener("loadend",m)),(a.cancelToken||a.signal)&&(d=C=>{F&&(n(!C||C.type?new Zh(null,e,F):C),F.abort(),F=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const E=_ge(a.url);if(E&&Ca.protocols.indexOf(E)===-1){n(new cr("Unsupported protocol "+E+":",cr.ERR_BAD_REQUEST,e));return}F.send(i||null)})},Pge=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(u){if(!a){a=!0,s();const d=u instanceof Error?u:this.reason;n.abort(d instanceof cr?d:new Zh(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,i(new cr(`timeout ${t} of ms exceeded`,cr.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=()=>Oe.asap(s),l}},zge=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},Hge=async function*(e,t){for await(const r of Uge(e))yield*zge(r,t)},Uge=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},zI=(e,t,r,n)=>{const a=Hge(e,t);let i=0,o,s=l=>{o||(o=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await a.next();if(u){s(),l.close();return}let h=d.byteLength;if(r){let f=i+=h;r(f)}l.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(l){return s(l),a.return()}},{highWaterMark:2})},Sv=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",kY=Sv&&typeof ReadableStream=="function",Gge=Sv&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),CY=(e,...t)=>{try{return!!e(...t)}catch{return!1}},$ge=kY&&CY(()=>{let e=!1;const t=new Request(Ca.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),HI=64*1024,F_=kY&&CY(()=>Oe.isReadableStream(new Response("").body)),Wb={stream:F_&&(e=>e.body)};Sv&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Wb[t]&&(Wb[t]=Oe.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new cr(`Response type '${t}' is not supported`,cr.ERR_NOT_SUPPORT,n)})})})(new Response);const jge=async e=>{if(e==null)return 0;if(Oe.isBlob(e))return e.size;if(Oe.isSpecCompliantForm(e))return(await new Request(Ca.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Oe.isArrayBufferView(e)||Oe.isArrayBuffer(e))return e.byteLength;if(Oe.isURLSearchParams(e)&&(e=e+""),Oe.isString(e))return(await Gge(e)).byteLength},qge=async(e,t)=>{const r=Oe.toFiniteNumber(e.getContentLength());return r??jge(t)},Wge=Sv&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:i,timeout:o,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:d,withCredentials:h="same-origin",fetchOptions:f}=wY(e);u=u?(u+"").toLowerCase():"text";let m=Pge([a,i&&i.toAbortSignal()],o),b;const y=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let F;try{if(l&&$ge&&r!=="get"&&r!=="head"&&(F=await qge(d,n))!==0){let D=new Request(t,{method:"POST",body:n,duplex:"half"}),w;if(Oe.isFormData(n)&&(w=D.headers.get("content-type"))&&d.setContentType(w),D.body){const[A,I]=OI(F,qb(BI(l)));n=zI(D.body,HI,A,I)}}Oe.isString(h)||(h=h?"include":"omit");const x="credentials"in Request.prototype;b=new Request(t,{...f,signal:m,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:x?h:void 0});let E=await fetch(b);const C=F_&&(u==="stream"||u==="response");if(F_&&(s||C&&y)){const D={};["status","statusText","headers"].forEach(M=>{D[M]=E[M]});const w=Oe.toFiniteNumber(E.headers.get("content-length")),[A,I]=s&&OI(w,qb(BI(s),!0))||[];E=new Response(zI(E.body,HI,A,()=>{I&&I(),y&&y()}),D)}u=u||"text";let _=await Wb[Oe.findKey(Wb,u)||"text"](E,e);return!C&&y&&y(),await new Promise((D,w)=>{SY(D,w,{data:_,headers:ni.from(E.headers),status:E.status,statusText:E.statusText,config:e,request:b})})}catch(x){throw y&&y(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new cr("Network Error",cr.ERR_NETWORK,e,b),{cause:x.cause||x}):cr.from(x,x&&x.code,e,b)}}),E_={http:sge,xhr:Bge,fetch:Wge};Oe.forEach(E_,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const UI=e=>`- ${e}`,Vge=e=>Oe.isFunction(e)||e===null||e===!1,TY={getAdapter:e=>{e=Oe.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i<t;i++){r=e[i];let o;if(n=r,!Vge(r)&&(n=E_[(o=String(r)).toLowerCase()],n===void 0))throw new cr(`Unknown adapter '${o}'`);if(n)break;a[o||"#"+i]=n}if(!n){const i=Object.entries(a).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since :
|
||
`+i.map(UI).join(`
|
||
`):" "+UI(i[0]):"as no adapter specified";throw new cr("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:E_};function SS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zh(null,e)}function GI(e){return SS(e),e.headers=ni.from(e.headers),e.data=ES.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),TY.getAdapter(e.adapter||l0.adapter)(e).then(function(n){return SS(e),n.data=ES.call(e,e.transformResponse,n),n.headers=ni.from(n.headers),n},function(n){return EY(n)||(SS(e),n&&n.response&&(n.response.data=ES.call(e,e.transformResponse,n.response),n.response.headers=ni.from(n.response.headers))),Promise.reject(n)})}const AY="1.7.9",xv={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xv[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const $I={};xv.transitional=function(t,r,n){function a(i,o){return"[Axios v"+AY+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,s)=>{if(t===!1)throw new cr(a(o," has been removed"+(r?" in "+r:"")),cr.ERR_DEPRECATED);return r&&!$I[o]&&($I[o]=!0,console.warn(a(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,o,s):!0}};xv.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Kge(e,t,r){if(typeof e!="object")throw new cr("options must be an object",cr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],o=t[i];if(o){const s=e[i],l=s===void 0||o(s,i,e);if(l!==!0)throw new cr("option "+i+" must be "+l,cr.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new cr("Unknown option "+i,cr.ERR_BAD_OPTION)}}const ib={assertOptions:Kge,validators:xv},Uo=ib.validators;let yc=class{constructor(t){this.defaults=t,this.interceptors={request:new MI,response:new MI}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
||
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=wc(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&ib.assertOptions(n,{silentJSONParsing:Uo.transitional(Uo.boolean),forcedJSONParsing:Uo.transitional(Uo.boolean),clarifyTimeoutError:Uo.transitional(Uo.boolean)},!1),a!=null&&(Oe.isFunction(a)?r.paramsSerializer={serialize:a}:ib.assertOptions(a,{encode:Uo.function,serialize:Uo.function},!0)),ib.assertOptions(r,{baseUrl:Uo.spelling("baseURL"),withXsrfToken:Uo.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=i&&Oe.merge(i.common,i[r.method]);i&&Oe.forEach(["delete","get","head","post","put","patch","common"],b=>{delete i[b]}),r.headers=ni.concat(o,i);const s=[];let l=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(l=l&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let d,h=0,f;if(!l){const b=[GI.bind(this),void 0];for(b.unshift.apply(b,s),b.push.apply(b,u),f=b.length,d=Promise.resolve(r);h<f;)d=d.then(b[h++],b[h++]);return d}f=s.length;let m=r;for(h=0;h<f;){const b=s[h++],y=s[h++];try{m=b(m)}catch(F){y.call(this,F);break}}try{d=GI.call(this,m)}catch(b){return Promise.reject(b)}for(h=0,f=u.length;h<f;)d=d.then(u[h++],u[h++]);return d}getUri(t){t=wc(this.defaults,t);const r=xY(t.baseURL,t.url);return yY(r,t.params,t.paramsSerializer)}};Oe.forEach(["delete","get","head","options"],function(t){yc.prototype[t]=function(r,n){return this.request(wc(n||{},{method:t,url:r,data:(n||{}).data}))}});Oe.forEach(["post","put","patch"],function(t){function r(n){return function(i,o,s){return this.request(wc(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}yc.prototype[t]=r(),yc.prototype[t+"Form"]=r(!0)});let Yge=class _Y{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(s=>{n.subscribe(s),i=s}).then(a);return o.cancel=function(){n.unsubscribe(i)},o},t(function(i,o,s){n.reason||(n.reason=new Zh(i,o,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new _Y(function(a){t=a}),cancel:t}}};function Xge(e){return function(r){return e.apply(null,r)}}function Jge(e){return Oe.isObject(e)&&e.isAxiosError===!0}const S_={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(S_).forEach(([e,t])=>{S_[t]=e});function DY(e){const t=new yc(e),r=oY(yc.prototype.request,t);return Oe.extend(r,yc.prototype,t,{allOwnKeys:!0}),Oe.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return DY(wc(e,a))},r}const Tn=DY(l0);Tn.Axios=yc;Tn.CanceledError=Zh;Tn.CancelToken=Yge;Tn.isCancel=EY;Tn.VERSION=AY;Tn.toFormData=Ev;Tn.AxiosError=cr;Tn.Cancel=Tn.CanceledError;Tn.all=function(t){return Promise.all(t)};Tn.spread=Xge;Tn.isAxiosError=Jge;Tn.mergeConfig=wc;Tn.AxiosHeaders=ni;Tn.formToJSON=e=>FY(Oe.isHTMLForm(e)?new FormData(e):e);Tn.getAdapter=TY.getAdapter;Tn.HttpStatusCode=S_;Tn.default=Tn;const{Axios:_ut,AxiosError:Dut,CanceledError:Rut,isCancel:Nut,CancelToken:Lut,VERSION:Mut,all:Iut,Cancel:Out,isAxiosError:But,spread:Put,toFormData:zut,AxiosHeaders:Hut,HttpStatusCode:Uut,formToJSON:Gut,getAdapter:$ut,mergeConfig:jut}=Tn,Vb="",RY="/webui/",eo="ghost",x_="#FFFFFF",Zge="#000000",jI="#000",Qge="#E2E2E2",w_="#EEEEEE",e1e="#F57F17",t1e="#888888",r1e="#F57F17",n1e="#F57F17",a1e="#F57F17",u1=50,i1e=500,o1e="1.0",k_=300,NY=50,c1=300,nu=4,Kb=20,s1e=15,qI="*",l1e={"text/plain":[".txt",".md",".rtf",".odt",".tex",".epub",".html",".htm",".csv",".json",".xml",".yaml",".yml",".log",".conf",".ini",".properties",".sql",".bat",".sh",".c",".cpp",".py",".java",".js",".ts",".swift",".go",".rb",".php",".css",".scss",".less"],"application/pdf":[".pdf"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[".xlsx"]},C_={name:"LightRAG",github:"https://github.com/HKUDS/LightRAG"},u1e="modulepreload",c1e=function(e){return"/webui/"+e},WI={},Br=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=Promise.allSettled(r.map(l=>{if(l=c1e(l),l in WI)return;WI[l]=!0;const u=l.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":u1e,u||(h.as="script"),h.crossOrigin="",h.href=l,s&&h.setAttribute("nonce",s),document.head.appendChild(h),u)return new Promise((f,m)=>{h.addEventListener("load",f),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})};function LY(e,t){let r;try{r=e()}catch{return}return{getItem:a=>{var i;const o=l=>l===null?null:JSON.parse(l,void 0),s=(i=r.getItem(a))!=null?i:null;return s instanceof Promise?s.then(o):o(s)},setItem:(a,i)=>r.setItem(a,JSON.stringify(i,void 0)),removeItem:a=>r.removeItem(a)}}const T_=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then(n){return T_(n)(r)},catch(n){return this}}}catch(r){return{then(n){return this},catch(n){return T_(n)(r)}}}},d1e=(e,t)=>(r,n,a)=>{let i={storage:LY(()=>localStorage),partialize:y=>y,version:0,merge:(y,F)=>({...F,...y}),...t},o=!1;const s=new Set,l=new Set;let u=i.storage;if(!u)return e((...y)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...y)},n,a);const d=()=>{const y=i.partialize({...n()});return u.setItem(i.name,{state:y,version:i.version})},h=a.setState;a.setState=(y,F)=>{h(y,F),d()};const f=e((...y)=>{r(...y),d()},n,a);a.getInitialState=()=>f;let m;const b=()=>{var y,F;if(!u)return;o=!1,s.forEach(E=>{var C;return E((C=n())!=null?C:f)});const x=((F=i.onRehydrateStorage)==null?void 0:F.call(i,(y=n())!=null?y:f))||void 0;return T_(u.getItem.bind(u))(i.name).then(E=>{if(E)if(typeof E.version=="number"&&E.version!==i.version){if(i.migrate){const C=i.migrate(E.state,E.version);return C instanceof Promise?C.then(_=>[!0,_]):[!0,C]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,E.state];return[!1,void 0]}).then(E=>{var C;const[_,D]=E;if(m=i.merge(D,(C=n())!=null?C:f),r(m,!0),_)return d()}).then(()=>{x==null||x(m,void 0),m=n(),o=!0,l.forEach(E=>E(m))}).catch(E=>{x==null||x(void 0,E)})};return a.persist={setOptions:y=>{i={...i,...y},y.storage&&(u=y.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>b(),hasHydrated:()=>o,onHydrate:y=>(s.add(y),()=>{s.delete(y)}),onFinishHydration:y=>(l.add(y),()=>{l.delete(y)})},i.skipHydration||b(),m||f},h1e=d1e,p1e=bv()(h1e(e=>({theme:"system",language:"en",showPropertyPanel:!0,showNodeSearchBar:!0,showLegend:!1,showNodeLabel:!0,enableNodeDrag:!0,showEdgeLabel:!1,enableHideUnselectedEdges:!0,enableEdgeEvents:!1,minEdgeSize:1,maxEdgeSize:1,graphQueryMaxDepth:3,graphMaxNodes:1e3,backendMaxGraphNodes:null,graphLayoutMaxIterations:15,queryLabel:qI,enableHealthCheck:!0,apiKey:null,currentTab:"documents",showFileName:!1,documentsPageSize:10,retrievalHistory:[],userPromptHistory:[],querySettings:{mode:"global",response_type:"Multiple Paragraphs",top_k:40,chunk_top_k:20,max_entity_tokens:6e3,max_relation_tokens:8e3,max_total_tokens:3e4,only_need_context:!1,only_need_prompt:!1,stream:!0,history_turns:0,user_prompt:"",enable_rerank:!0},setTheme:t=>e({theme:t}),setLanguage:t=>{e({language:t}),Br(async()=>{const{default:r}=await Promise.resolve().then(()=>vlt);return{default:r}},[]).then(({default:r})=>{r.language!==t&&r.changeLanguage(t)})},setGraphLayoutMaxIterations:t=>e({graphLayoutMaxIterations:t}),setQueryLabel:t=>e({queryLabel:t}),setGraphQueryMaxDepth:t=>e({graphQueryMaxDepth:t}),setGraphMaxNodes:(t,r=!1)=>{const n=rt.getState();if(n.graphMaxNodes!==t)if(r){const a=n.queryLabel;e({graphMaxNodes:t,queryLabel:""}),setTimeout(()=>{e({queryLabel:a})},300)}else e({graphMaxNodes:t})},setBackendMaxGraphNodes:t=>e({backendMaxGraphNodes:t}),setMinEdgeSize:t=>e({minEdgeSize:t}),setMaxEdgeSize:t=>e({maxEdgeSize:t}),setEnableHealthCheck:t=>e({enableHealthCheck:t}),setApiKey:t=>e({apiKey:t}),setCurrentTab:t=>e({currentTab:t}),setRetrievalHistory:t=>e({retrievalHistory:t}),updateQuerySettings:t=>{const r={...t};delete r.history_turns,e(n=>({querySettings:{...n.querySettings,...r,history_turns:0}}))},setShowFileName:t=>e({showFileName:t}),setShowLegend:t=>e({showLegend:t}),setDocumentsPageSize:t=>e({documentsPageSize:t}),addUserPromptToHistory:t=>{t.trim()&&e(r=>{const n=[...r.userPromptHistory],a=n.indexOf(t);return a!==-1&&n.splice(a,1),n.unshift(t),n.length>12&&n.splice(12),{userPromptHistory:n}})},setUserPromptHistory:t=>e({userPromptHistory:t})}),{name:"settings-storage",storage:LY(()=>localStorage),version:18,migrate:(e,t)=>(t<2&&(e.showEdgeLabel=!1),t<3&&(e.queryLabel=qI),t<4&&(e.showPropertyPanel=!0,e.showNodeSearchBar=!0,e.showNodeLabel=!0,e.enableHealthCheck=!0,e.apiKey=null),t<5&&(e.currentTab="documents"),t<6&&(e.querySettings={mode:"global",response_type:"Multiple Paragraphs",top_k:10,max_token_for_text_unit:4e3,max_token_for_global_context:4e3,max_token_for_local_context:4e3,only_need_context:!1,only_need_prompt:!1,stream:!0,history_turns:0,hl_keywords:[],ll_keywords:[]},e.retrievalHistory=[]),t<7&&(e.graphQueryMaxDepth=3,e.graphLayoutMaxIterations=15),t<8&&(e.graphMinDegree=0,e.language="en"),t<9&&(e.showFileName=!1),t<10&&(delete e.graphMinDegree,e.graphMaxNodes=1e3),t<11&&(e.minEdgeSize=1,e.maxEdgeSize=1),t<12&&(e.retrievalHistory=[]),t<13&&e.querySettings&&(e.querySettings.user_prompt=""),t<14&&(e.backendMaxGraphNodes=null),t<15&&(e.querySettings={...e.querySettings,mode:"mix",response_type:"Multiple Paragraphs",top_k:40,chunk_top_k:10,max_entity_tokens:1e4,max_relation_tokens:1e4,max_total_tokens:32e3,enable_rerank:!0,history_turns:0}),t<16&&(e.documentsPageSize=10),t<17&&e.querySettings&&(e.querySettings.history_turns=0),t<18&&(e.userPromptHistory=[]),e)})),rt=pR(p1e);class f1e{constructor(){gt(this,"nodes",[]);gt(this,"edges",[]);gt(this,"nodeIdMap",{});gt(this,"edgeIdMap",{});gt(this,"edgeDynamicIdMap",{});gt(this,"getNode",t=>{const r=this.nodeIdMap[t];if(r!==void 0)return this.nodes[r]});gt(this,"getEdge",(t,r=!0)=>{const n=r?this.edgeDynamicIdMap[t]:this.edgeIdMap[t];if(n!==void 0)return this.edges[n]});gt(this,"buildDynamicMap",()=>{this.edgeDynamicIdMap={};for(let t=0;t<this.edges.length;t++){const r=this.edges[t];this.edgeDynamicIdMap[r.dynamicId]=t}})}}const m1e=bv()((e,t)=>({selectedNode:null,focusedNode:null,selectedEdge:null,focusedEdge:null,moveToSelectedNode:!1,isFetching:!1,graphIsEmpty:!1,lastSuccessfulQueryLabel:"",graphDataFetchAttempted:!1,labelsFetchAttempted:!1,rawGraph:null,sigmaGraph:null,sigmaInstance:null,typeColorMap:new Map,searchEngine:null,setGraphIsEmpty:r=>e({graphIsEmpty:r}),setLastSuccessfulQueryLabel:r=>e({lastSuccessfulQueryLabel:r}),setIsFetching:r=>e({isFetching:r}),setSelectedNode:(r,n)=>e({selectedNode:r,moveToSelectedNode:n}),setFocusedNode:r=>e({focusedNode:r}),setSelectedEdge:r=>e({selectedEdge:r}),setFocusedEdge:r=>e({focusedEdge:r}),clearSelection:()=>e({selectedNode:null,focusedNode:null,selectedEdge:null,focusedEdge:null}),reset:()=>{e({selectedNode:null,focusedNode:null,selectedEdge:null,focusedEdge:null,rawGraph:null,sigmaGraph:null,searchEngine:null,moveToSelectedNode:!1,graphIsEmpty:!1})},setRawGraph:r=>e({rawGraph:r}),setSigmaGraph:r=>{e({sigmaGraph:r})},setMoveToSelectedNode:r=>e({moveToSelectedNode:r}),setSigmaInstance:r=>e({sigmaInstance:r}),setTypeColorMap:r=>e({typeColorMap:r}),setSearchEngine:r=>e({searchEngine:r}),resetSearchEngine:()=>e({searchEngine:null}),setGraphDataFetchAttempted:r=>e({graphDataFetchAttempted:r}),setLabelsFetchAttempted:r=>e({labelsFetchAttempted:r}),nodeToExpand:null,nodeToPrune:null,triggerNodeExpand:r=>e({nodeToExpand:r}),triggerNodePrune:r=>e({nodeToPrune:r}),graphDataVersion:0,incrementGraphDataVersion:()=>e(r=>({graphDataVersion:r.graphDataVersion+1})),updateNodeAndSelect:async(r,n,a,i)=>{const o=t(),{sigmaGraph:s,rawGraph:l}=o;if(!(!s||!l||!s.hasNode(r)))try{const u=s.getNodeAttributes(r);if(console.log("updateNodeAndSelect",r,n,a,i),r===n&&a==="entity_id"){s.addNode(i,{...u,label:i});const d=[];s.forEachEdge(r,(f,m,b,y)=>{const F=b===r?y:b,x=b===r,E=f,C=l.edgeDynamicIdMap[E],_=s.addEdge(x?i:F,x?F:i,m);C!==void 0&&d.push({originalDynamicId:E,newEdgeId:_,edgeIndex:C}),s.dropEdge(f)}),s.dropNode(r);const h=l.nodeIdMap[r];h!==void 0&&(l.nodes[h].id=i,l.nodes[h].labels=[i],l.nodes[h].properties.entity_id=i,delete l.nodeIdMap[r],l.nodeIdMap[i]=h),d.forEach(({originalDynamicId:f,newEdgeId:m,edgeIndex:b})=>{l.edges[b]&&(l.edges[b].source===r&&(l.edges[b].source=i),l.edges[b].target===r&&(l.edges[b].target=i),l.edges[b].dynamicId=m,delete l.edgeDynamicIdMap[f],l.edgeDynamicIdMap[m]=b)}),e({selectedNode:i,moveToSelectedNode:!0})}else{const d=l.nodeIdMap[String(r)];d!==void 0&&(l.nodes[d].properties[a]=i,a==="entity_id"&&(l.nodes[d].labels=[i],s.setNodeAttribute(String(r),"label",i))),e(h=>({graphDataVersion:h.graphDataVersion+1}))}}catch(u){throw console.error("Error updating node in graph:",u),new Error("Failed to update node in graph")}},updateEdgeAndSelect:async(r,n,a,i,o,s)=>{const l=t(),{sigmaGraph:u,rawGraph:d}=l;if(!(!u||!d))try{const h=d.edgeIdMap[String(r)];h!==void 0&&d.edges[h]&&(d.edges[h].properties[o]=s,n!==void 0&&o==="keywords"&&u.setEdgeAttribute(n,"label",s)),e(f=>({graphDataVersion:f.graphDataVersion+1})),e({selectedEdge:n})}catch(h){throw console.error(`Error updating edge ${a}->${i} in graph:`,h),new Error("Failed to update edge in graph")}}})),ht=pR(m1e);class g1e{constructor(){gt(this,"navigate",null)}setNavigate(t){this.navigate=t}resetAllApplicationState(t=!1){console.log("Resetting all application state...");const r=ht.getState(),n=r.sigmaInstance;r.reset(),r.setGraphDataFetchAttempted(!1),r.setLabelsFetchAttempted(!1),r.setSigmaInstance(null),r.setIsFetching(!1),Mn.getState().clear(),t||rt.getState().setRetrievalHistory([]),sessionStorage.clear(),n&&(n.getGraph().clear(),n.kill(),ht.getState().setSigmaInstance(null))}navigateToLogin(){if(!this.navigate){console.error("Navigation function not set");return}const t=Ti.getState().username;t&&localStorage.setItem("LIGHTRAG-PREVIOUS-USER",t),this.resetAllApplicationState(!0),Ti.getState().logout(),this.navigate("/login")}navigateToHome(){if(!this.navigate){console.error("Navigation function not set");return}this.navigate("/")}}const wv=new g1e,MY="Invalid API Key",IY="API Key required",Pn=Tn.create({baseURL:Vb,headers:{"Content-Type":"application/json"}});Pn.interceptors.request.use(e=>{const t=rt.getState().apiKey,r=localStorage.getItem("LIGHTRAG-API-TOKEN");return r&&(e.headers.Authorization=`Bearer ${r}`),t&&(e.headers["X-API-Key"]=t),e});Pn.interceptors.response.use(e=>e,e=>{var t,r,n,a;if(e.response){if(((t=e.response)==null?void 0:t.status)===401){if((n=(r=e.config)==null?void 0:r.url)!=null&&n.includes("/login"))throw e;return wv.navigateToLogin(),Promise.reject(new Error("Authentication required"))}throw new Error(`${e.response.status} ${e.response.statusText}
|
||
${JSON.stringify(e.response.data)}
|
||
${(a=e.config)==null?void 0:a.url}`)}throw e});const OY=async(e,t,r)=>(await Pn.get(`/graphs?label=${encodeURIComponent(e)}&max_depth=${t}&max_nodes=${r}`)).data,VI=async(e=k_)=>(await Pn.get(`/graph/label/popular?limit=${e}`)).data,b1e=async(e,t=NY)=>(await Pn.get(`/graph/label/search?q=${encodeURIComponent(e)}&limit=${t}`)).data,y1e=async()=>{try{return(await Pn.get("/health")).data}catch(e){return{status:"error",message:ka(e)}}},v1e=async()=>(await Pn.post("/documents/scan")).data,F1e=async()=>(await Pn.post("/documents/reprocess_failed")).data,E1e=async e=>(await Pn.post("/query",e)).data,S1e=async(e,t,r)=>{const n=rt.getState().apiKey,a=localStorage.getItem("LIGHTRAG-API-TOKEN"),i={"Content-Type":"application/json",Accept:"application/x-ndjson"};a&&(i.Authorization=`Bearer ${a}`),n&&(i["X-API-Key"]=n);try{const o=await fetch(`${Vb}/query/stream`,{method:"POST",headers:i,body:JSON.stringify(e)});if(!o.ok){if(o.status===401)throw wv.navigateToLogin(),new Error("Authentication required");let d="Unknown error";try{d=await o.text()}catch{}const h=`${Vb}/query/stream`;throw new Error(`${o.status} ${o.statusText}
|
||
${JSON.stringify({error:d})}
|
||
${h}`)}if(!o.body)throw new Error("Response body is null");const s=o.body.getReader(),l=new TextDecoder;let u="";for(;;){const{done:d,value:h}=await s.read();if(d)break;u+=l.decode(h,{stream:!0});const f=u.split(`
|
||
`);u=f.pop()||"";for(const m of f)if(m.trim())try{const b=JSON.parse(m);b.response?t(b.response):b.error&&r&&r(b.error)}catch(b){console.error("Error parsing stream chunk:",m,b),r&&r(`Error parsing server response: ${m}`)}}if(u.trim())try{const d=JSON.parse(u);d.response?t(d.response):d.error&&r&&r(d.error)}catch(d){console.error("Error parsing final chunk:",u,d),r&&r(`Error parsing final server response: ${u}`)}}catch(o){const s=ka(o);if(s==="Authentication required"){console.error("Authentication required for stream request"),r&&r("Authentication required");return}const l=s.match(/^(\d{3})\s/);if(l){const u=parseInt(l[1],10);let d=s;switch(u){case 403:d="You do not have permission to access this resource (403 Forbidden)",console.error("Permission denied for stream request:",s);break;case 404:d="The requested resource does not exist (404 Not Found)",console.error("Resource not found for stream request:",s);break;case 429:d="Too many requests, please try again later (429 Too Many Requests)",console.error("Rate limited for stream request:",s);break;case 500:case 502:case 503:case 504:d=`Server error, please try again later (${u})`,console.error("Server error for stream request:",s);break;default:console.error("Stream request failed with status code:",u,s)}r&&r(d);return}if(s.includes("NetworkError")||s.includes("Failed to fetch")||s.includes("Network request failed")){console.error("Network error for stream request:",s),r&&r("Network connection error, please check your internet connection");return}if(s.includes("Error parsing")||s.includes("SyntaxError")){console.error("JSON parsing error in stream:",s),r&&r("Error processing response data");return}console.error("Unhandled stream error:",s),r?r(s):console.error("No error handler provided for stream error:",s)}},x1e=async(e,t)=>{const r=new FormData;return r.append("file",e),(await Pn.post("/documents/upload",r,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:t!==void 0?a=>{const i=Math.round(a.loaded*100/a.total);t(i)}:void 0})).data},w1e=async()=>(await Pn.delete("/documents")).data,k1e=async()=>(await Pn.post("/documents/clear_cache",{})).data,C1e=async(e,t=!1)=>(await Pn.delete("/documents/delete_document",{data:{doc_ids:e,delete_file:t}})).data,BY=async()=>{try{const e=await Pn.get("/auth-status",{timeout:5e3,headers:{Accept:"application/json"}});if((e.headers["content-type"]||"").includes("text/html"))return console.warn("Received HTML response instead of JSON for auth-status endpoint"),{auth_configured:!0,auth_mode:"enabled"};if(e.data&&typeof e.data=="object"&&"auth_configured"in e.data&&typeof e.data.auth_configured=="boolean"){if(e.data.auth_configured)return e.data;if(e.data.access_token&&typeof e.data.access_token=="string")return e.data;console.warn("Auth not configured but no valid access token provided")}return console.warn("Received invalid auth status response:",e.data),{auth_configured:!0,auth_mode:"enabled"}}catch(e){return console.error("Failed to get auth status:",ka(e)),{auth_configured:!0,auth_mode:"enabled"}}},T1e=async()=>(await Pn.get("/documents/pipeline_status")).data,A1e=async(e,t)=>{const r=new FormData;return r.append("username",e),r.append("password",t),(await Pn.post("/login",r,{headers:{"Content-Type":"multipart/form-data"}})).data},_1e=async(e,t,r=!1)=>(await Pn.post("/graph/entity/edit",{entity_name:e,updated_data:t,allow_rename:r})).data,D1e=async(e,t,r)=>(await Pn.post("/graph/relation/edit",{source_id:e,target_id:t,updated_data:r})).data,R1e=async e=>{try{return(await Pn.get(`/graph/entity/exists?name=${encodeURIComponent(e)}`)).data.exists}catch(t){return console.error("Error checking entity name:",t),!1}},xS=async e=>(await Pn.post("/documents/paginated",e)).data,N1e=bv()((e,t)=>({health:!0,message:null,messageTitle:null,lastCheckTime:Date.now(),status:null,pipelineBusy:!1,healthCheckIntervalId:null,healthCheckFunction:null,healthCheckIntervalValue:s1e*1e3,check:async()=>{var n;const r=await y1e();if(r.status==="healthy"){if((r.core_version||r.api_version)&&Ti.getState().setVersion(r.core_version||null,r.api_version||null),("webui_title"in r||"webui_description"in r)&&Ti.getState().setCustomTitle("webui_title"in r?r.webui_title??null:null,"webui_description"in r?r.webui_description??null:null),(n=r.configuration)!=null&&n.max_graph_nodes){const a=parseInt(r.configuration.max_graph_nodes,10);!isNaN(a)&&a>0&&rt.getState().backendMaxGraphNodes!==a&&(rt.getState().setBackendMaxGraphNodes(a),rt.getState().graphMaxNodes>a&&rt.getState().setGraphMaxNodes(a,!0))}return e({health:!0,message:null,messageTitle:null,lastCheckTime:Date.now(),status:r,pipelineBusy:r.pipeline_busy}),!0}return e({health:!1,message:r.message,messageTitle:"Backend Health Check Error!",lastCheckTime:Date.now(),status:null}),!1},clear:()=>{e({health:!0,message:null,messageTitle:null})},setErrorMessage:(r,n)=>{e({health:!1,message:r,messageTitle:n})},setPipelineBusy:r=>{e({pipelineBusy:r})},setHealthCheckFunction:r=>{e({healthCheckFunction:r})},resetHealthCheckTimer:()=>{const{healthCheckIntervalId:r,healthCheckFunction:n,healthCheckIntervalValue:a}=t();if(r&&clearInterval(r),n){n();const i=setInterval(n,a);e({healthCheckIntervalId:i})}},resetHealthCheckTimerDelayed:r=>{setTimeout(()=>{t().resetHealthCheckTimer()},r)},clearHealthCheckTimer:()=>{const{healthCheckIntervalId:r}=t();r&&(clearInterval(r),e({healthCheckIntervalId:null}))}})),Mn=pR(N1e),PY=e=>{try{const t=e.split(".");return t.length!==3?{}:JSON.parse(atob(t[1]))}catch(t){return console.error("Error parsing token payload:",t),{}}},zY=e=>PY(e).sub||null,L1e=e=>PY(e).role==="guest",M1e=()=>{const e=localStorage.getItem("LIGHTRAG-API-TOKEN"),t=localStorage.getItem("LIGHTRAG-CORE-VERSION"),r=localStorage.getItem("LIGHTRAG-API-VERSION"),n=localStorage.getItem("LIGHTRAG-WEBUI-TITLE"),a=localStorage.getItem("LIGHTRAG-WEBUI-DESCRIPTION"),i=e?zY(e):null;return e?{isAuthenticated:!0,isGuestMode:L1e(e),coreVersion:t,apiVersion:r,username:i,webuiTitle:n,webuiDescription:a}:{isAuthenticated:!1,isGuestMode:!1,coreVersion:t,apiVersion:r,username:null,webuiTitle:n,webuiDescription:a}},Ti=bv(e=>{const t=M1e();return{isAuthenticated:t.isAuthenticated,isGuestMode:t.isGuestMode,coreVersion:t.coreVersion,apiVersion:t.apiVersion,username:t.username,webuiTitle:t.webuiTitle,webuiDescription:t.webuiDescription,login:(r,n=!1,a=null,i=null,o=null,s=null)=>{localStorage.setItem("LIGHTRAG-API-TOKEN",r),a&&localStorage.setItem("LIGHTRAG-CORE-VERSION",a),i&&localStorage.setItem("LIGHTRAG-API-VERSION",i),o?localStorage.setItem("LIGHTRAG-WEBUI-TITLE",o):localStorage.removeItem("LIGHTRAG-WEBUI-TITLE"),s?localStorage.setItem("LIGHTRAG-WEBUI-DESCRIPTION",s):localStorage.removeItem("LIGHTRAG-WEBUI-DESCRIPTION");const l=zY(r);e({isAuthenticated:!0,isGuestMode:n,username:l,coreVersion:a,apiVersion:i,webuiTitle:o,webuiDescription:s})},logout:()=>{localStorage.removeItem("LIGHTRAG-API-TOKEN");const r=localStorage.getItem("LIGHTRAG-CORE-VERSION"),n=localStorage.getItem("LIGHTRAG-API-VERSION"),a=localStorage.getItem("LIGHTRAG-WEBUI-TITLE"),i=localStorage.getItem("LIGHTRAG-WEBUI-DESCRIPTION");e({isAuthenticated:!1,isGuestMode:!1,username:null,coreVersion:r,apiVersion:n,webuiTitle:a,webuiDescription:i})},setVersion:(r,n)=>{r&&localStorage.setItem("LIGHTRAG-CORE-VERSION",r),n&&localStorage.setItem("LIGHTRAG-API-VERSION",n),e({coreVersion:r,apiVersion:n})},setCustomTitle:(r,n)=>{r?localStorage.setItem("LIGHTRAG-WEBUI-TITLE",r):localStorage.removeItem("LIGHTRAG-WEBUI-TITLE"),n?localStorage.setItem("LIGHTRAG-WEBUI-DESCRIPTION",n):localStorage.removeItem("LIGHTRAG-WEBUI-DESCRIPTION"),e({webuiTitle:r,webuiDescription:n})}}});var I1e=e=>{switch(e){case"success":return P1e;case"info":return H1e;case"warning":return z1e;case"error":return U1e;default:return null}},O1e=Array(12).fill(0),B1e=({visible:e,className:t})=>Ge.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},Ge.createElement("div",{className:"sonner-spinner"},O1e.map((r,n)=>Ge.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),P1e=Ge.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ge.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),z1e=Ge.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Ge.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),H1e=Ge.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ge.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),U1e=Ge.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ge.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),G1e=Ge.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Ge.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Ge.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),$1e=()=>{let[e,t]=Ge.useState(document.hidden);return Ge.useEffect(()=>{let r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e},A_=1,j1e=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,a=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:A_++,i=this.toasts.find(s=>s.id===a),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),i?this.toasts=this.toasts.map(s=>s.id===a?(this.publish({...s,...e,id:a,title:r}),{...s,...e,id:a,dismissible:o,title:r}):s):this.addToast({title:r,...n,dismissible:o,id:a}),a},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(r=>r({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;t.loading!==void 0&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let n=e instanceof Promise?e:e(),a=r!==void 0,i,o=n.then(async l=>{if(i=["resolve",l],Ge.isValidElement(l))a=!1,this.create({id:r,type:"default",message:l});else if(W1e(l)&&!l.ok){a=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:r,type:"error",message:u,description:d})}else if(t.success!==void 0){a=!1;let u=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:r,type:"success",message:u,description:d})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){a=!1;let u=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:r,type:"error",message:u,description:d})}}).finally(()=>{var l;a&&(this.dismiss(r),r=void 0),(l=t.finally)==null||l.call(t)}),s=()=>new Promise((l,u)=>o.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:s}:Object.assign(r,{unwrap:s})},this.custom=(e,t)=>{let r=(t==null?void 0:t.id)||A_++;return this.create({jsx:e(r),id:r,...t}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Qa=new j1e,q1e=(e,t)=>{let r=(t==null?void 0:t.id)||A_++;return Qa.addToast({title:e,...t,id:r}),r},W1e=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",V1e=q1e,K1e=()=>Qa.toasts,Y1e=()=>Qa.getActiveToasts(),lr=Object.assign(V1e,{success:Qa.success,info:Qa.info,warning:Qa.warning,error:Qa.error,custom:Qa.custom,message:Qa.message,promise:Qa.promise,dismiss:Qa.dismiss,loading:Qa.loading},{getHistory:K1e,getToasts:Y1e});function X1e(e,{insertAt:t}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}X1e(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
|
||
`);function d1(e){return e.label!==void 0}var J1e=3,Z1e="32px",Q1e="16px",KI=4e3,ebe=356,tbe=14,rbe=20,nbe=200;function go(...e){return e.filter(Boolean).join(" ")}function abe(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}var ibe=e=>{var t,r,n,a,i,o,s,l,u,d,h;let{invert:f,toast:m,unstyled:b,interacting:y,setHeights:F,visibleToasts:x,heights:E,index:C,toasts:_,expanded:D,removeToast:w,defaultRichColors:A,closeButton:I,style:M,cancelButtonStyle:L,actionButtonStyle:U,className:j="",descriptionClassName:z="",duration:V,position:X,gap:q,loadingIcon:W,expandByDefault:B,classNames:te,icons:P,closeButtonAriaLabel:Z="Close toast",pauseWhenPageIsHidden:K}=e,[G,ne]=Ge.useState(null),[oe,de]=Ge.useState(null),[ie,ue]=Ge.useState(!1),[Ne,pe]=Ge.useState(!1),[Le,Me]=Ge.useState(!1),[Ee,Te]=Ge.useState(!1),[Re,fe]=Ge.useState(!1),[Ze,yt]=Ge.useState(0),[qe,Ke]=Ge.useState(0),xe=Ge.useRef(m.duration||V||KI),Yt=Ge.useRef(null),nr=Ge.useRef(null),Pe=C===0,Qe=C+1<=x,me=m.type,ke=m.dismissible!==!1,Ye=m.className||"",pt=m.descriptionClassName||"",St=Ge.useMemo(()=>E.findIndex(ft=>ft.toastId===m.id)||0,[E,m.id]),gr=Ge.useMemo(()=>{var ft;return(ft=m.closeButton)!=null?ft:I},[m.closeButton,I]),Sr=Ge.useMemo(()=>m.duration||V||KI,[m.duration,V]),ar=Ge.useRef(0),Nt=Ge.useRef(0),br=Ge.useRef(0),Fe=Ge.useRef(null),[$e,ct]=X.split("-"),vt=Ge.useMemo(()=>E.reduce((ft,or,Gr)=>Gr>=St?ft:ft+or.height,0),[E,St]),Lt=$1e(),fr=m.invert||f,Pr=me==="loading";Nt.current=Ge.useMemo(()=>St*q+vt,[St,vt]),Ge.useEffect(()=>{xe.current=Sr},[Sr]),Ge.useEffect(()=>{ue(!0)},[]),Ge.useEffect(()=>{let ft=nr.current;if(ft){let or=ft.getBoundingClientRect().height;return Ke(or),F(Gr=>[{toastId:m.id,height:or,position:m.position},...Gr]),()=>F(Gr=>Gr.filter(aa=>aa.toastId!==m.id))}},[F,m.id]),Ge.useLayoutEffect(()=>{if(!ie)return;let ft=nr.current,or=ft.style.height;ft.style.height="auto";let Gr=ft.getBoundingClientRect().height;ft.style.height=or,Ke(Gr),F(aa=>aa.find(zn=>zn.toastId===m.id)?aa.map(zn=>zn.toastId===m.id?{...zn,height:Gr}:zn):[{toastId:m.id,height:Gr,position:m.position},...aa])},[ie,m.title,m.description,F,m.id]);let Jr=Ge.useCallback(()=>{pe(!0),yt(Nt.current),F(ft=>ft.filter(or=>or.toastId!==m.id)),setTimeout(()=>{w(m)},nbe)},[m,w,F,Nt]);Ge.useEffect(()=>{if(m.promise&&me==="loading"||m.duration===1/0||m.type==="loading")return;let ft;return D||y||K&&Lt?(()=>{if(br.current<ar.current){let or=new Date().getTime()-ar.current;xe.current=xe.current-or}br.current=new Date().getTime()})():xe.current!==1/0&&(ar.current=new Date().getTime(),ft=setTimeout(()=>{var or;(or=m.onAutoClose)==null||or.call(m,m),Jr()},xe.current)),()=>clearTimeout(ft)},[D,y,m,me,K,Lt,Jr]),Ge.useEffect(()=>{m.delete&&Jr()},[Jr,m.delete]);function ba(){var ft,or,Gr;return P!=null&&P.loading?Ge.createElement("div",{className:go(te==null?void 0:te.loader,(ft=m==null?void 0:m.classNames)==null?void 0:ft.loader,"sonner-loader"),"data-visible":me==="loading"},P.loading):W?Ge.createElement("div",{className:go(te==null?void 0:te.loader,(or=m==null?void 0:m.classNames)==null?void 0:or.loader,"sonner-loader"),"data-visible":me==="loading"},W):Ge.createElement(B1e,{className:go(te==null?void 0:te.loader,(Gr=m==null?void 0:m.classNames)==null?void 0:Gr.loader),visible:me==="loading"})}return Ge.createElement("li",{tabIndex:0,ref:nr,className:go(j,Ye,te==null?void 0:te.toast,(t=m==null?void 0:m.classNames)==null?void 0:t.toast,te==null?void 0:te.default,te==null?void 0:te[me],(r=m==null?void 0:m.classNames)==null?void 0:r[me]),"data-sonner-toast":"","data-rich-colors":(n=m.richColors)!=null?n:A,"data-styled":!(m.jsx||m.unstyled||b),"data-mounted":ie,"data-promise":!!m.promise,"data-swiped":Re,"data-removed":Ne,"data-visible":Qe,"data-y-position":$e,"data-x-position":ct,"data-index":C,"data-front":Pe,"data-swiping":Le,"data-dismissible":ke,"data-type":me,"data-invert":fr,"data-swipe-out":Ee,"data-swipe-direction":oe,"data-expanded":!!(D||B&&ie),style:{"--index":C,"--toasts-before":C,"--z-index":_.length-C,"--offset":`${Ne?Ze:Nt.current}px`,"--initial-height":B?"auto":`${qe}px`,...M,...m.style},onDragEnd:()=>{Me(!1),ne(null),Fe.current=null},onPointerDown:ft=>{Pr||!ke||(Yt.current=new Date,yt(Nt.current),ft.target.setPointerCapture(ft.pointerId),ft.target.tagName!=="BUTTON"&&(Me(!0),Fe.current={x:ft.clientX,y:ft.clientY}))},onPointerUp:()=>{var ft,or,Gr,aa;if(Ee||!ke)return;Fe.current=null;let zn=Number(((ft=nr.current)==null?void 0:ft.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ia=Number(((or=nr.current)==null?void 0:or.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Mi=new Date().getTime()-((Gr=Yt.current)==null?void 0:Gr.getTime()),ya=G==="x"?zn:ia,gn=Math.abs(ya)/Mi;if(Math.abs(ya)>=rbe||gn>.11){yt(Nt.current),(aa=m.onDismiss)==null||aa.call(m,m),de(G==="x"?zn>0?"right":"left":ia>0?"down":"up"),Jr(),Te(!0),fe(!1);return}Me(!1),ne(null)},onPointerMove:ft=>{var or,Gr,aa,zn;if(!Fe.current||!ke||((or=window.getSelection())==null?void 0:or.toString().length)>0)return;let ia=ft.clientY-Fe.current.y,Mi=ft.clientX-Fe.current.x,ya=(Gr=e.swipeDirections)!=null?Gr:abe(X);!G&&(Math.abs(Mi)>1||Math.abs(ia)>1)&&ne(Math.abs(Mi)>Math.abs(ia)?"x":"y");let gn={x:0,y:0};G==="y"?(ya.includes("top")||ya.includes("bottom"))&&(ya.includes("top")&&ia<0||ya.includes("bottom")&&ia>0)&&(gn.y=ia):G==="x"&&(ya.includes("left")||ya.includes("right"))&&(ya.includes("left")&&Mi<0||ya.includes("right")&&Mi>0)&&(gn.x=Mi),(Math.abs(gn.x)>0||Math.abs(gn.y)>0)&&fe(!0),(aa=nr.current)==null||aa.style.setProperty("--swipe-amount-x",`${gn.x}px`),(zn=nr.current)==null||zn.style.setProperty("--swipe-amount-y",`${gn.y}px`)}},gr&&!m.jsx?Ge.createElement("button",{"aria-label":Z,"data-disabled":Pr,"data-close-button":!0,onClick:Pr||!ke?()=>{}:()=>{var ft;Jr(),(ft=m.onDismiss)==null||ft.call(m,m)},className:go(te==null?void 0:te.closeButton,(a=m==null?void 0:m.classNames)==null?void 0:a.closeButton)},(i=P==null?void 0:P.close)!=null?i:G1e):null,m.jsx||T.isValidElement(m.title)?m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title:Ge.createElement(Ge.Fragment,null,me||m.icon||m.promise?Ge.createElement("div",{"data-icon":"",className:go(te==null?void 0:te.icon,(o=m==null?void 0:m.classNames)==null?void 0:o.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||ba():null,m.type!=="loading"?m.icon||(P==null?void 0:P[me])||I1e(me):null):null,Ge.createElement("div",{"data-content":"",className:go(te==null?void 0:te.content,(s=m==null?void 0:m.classNames)==null?void 0:s.content)},Ge.createElement("div",{"data-title":"",className:go(te==null?void 0:te.title,(l=m==null?void 0:m.classNames)==null?void 0:l.title)},typeof m.title=="function"?m.title():m.title),m.description?Ge.createElement("div",{"data-description":"",className:go(z,pt,te==null?void 0:te.description,(u=m==null?void 0:m.classNames)==null?void 0:u.description)},typeof m.description=="function"?m.description():m.description):null),T.isValidElement(m.cancel)?m.cancel:m.cancel&&d1(m.cancel)?Ge.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||L,onClick:ft=>{var or,Gr;d1(m.cancel)&&ke&&((Gr=(or=m.cancel).onClick)==null||Gr.call(or,ft),Jr())},className:go(te==null?void 0:te.cancelButton,(d=m==null?void 0:m.classNames)==null?void 0:d.cancelButton)},m.cancel.label):null,T.isValidElement(m.action)?m.action:m.action&&d1(m.action)?Ge.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||U,onClick:ft=>{var or,Gr;d1(m.action)&&((Gr=(or=m.action).onClick)==null||Gr.call(or,ft),!ft.defaultPrevented&&Jr())},className:go(te==null?void 0:te.actionButton,(h=m==null?void 0:m.classNames)==null?void 0:h.actionButton)},m.action.label):null))};function YI(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function obe(e,t){let r={};return[e,t].forEach((n,a)=>{let i=a===1,o=i?"--mobile-offset":"--offset",s=i?Q1e:Z1e;function l(u){["top","right","bottom","left"].forEach(d=>{r[`${o}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof n=="number"||typeof n=="string"?l(n):typeof n=="object"?["top","right","bottom","left"].forEach(u=>{n[u]===void 0?r[`${o}-${u}`]=s:r[`${o}-${u}`]=typeof n[u]=="number"?`${n[u]}px`:n[u]}):l(s)}),r}var sbe=T.forwardRef(function(e,t){let{invert:r,position:n="bottom-right",hotkey:a=["altKey","KeyT"],expand:i,closeButton:o,className:s,offset:l,mobileOffset:u,theme:d="light",richColors:h,duration:f,style:m,visibleToasts:b=J1e,toastOptions:y,dir:F=YI(),gap:x=tbe,loadingIcon:E,icons:C,containerAriaLabel:_="Notifications",pauseWhenPageIsHidden:D}=e,[w,A]=Ge.useState([]),I=Ge.useMemo(()=>Array.from(new Set([n].concat(w.filter(K=>K.position).map(K=>K.position)))),[w,n]),[M,L]=Ge.useState([]),[U,j]=Ge.useState(!1),[z,V]=Ge.useState(!1),[X,q]=Ge.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),W=Ge.useRef(null),B=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),te=Ge.useRef(null),P=Ge.useRef(!1),Z=Ge.useCallback(K=>{A(G=>{var ne;return(ne=G.find(oe=>oe.id===K.id))!=null&&ne.delete||Qa.dismiss(K.id),G.filter(({id:oe})=>oe!==K.id)})},[]);return Ge.useEffect(()=>Qa.subscribe(K=>{if(K.dismiss){A(G=>G.map(ne=>ne.id===K.id?{...ne,delete:!0}:ne));return}setTimeout(()=>{YK.flushSync(()=>{A(G=>{let ne=G.findIndex(oe=>oe.id===K.id);return ne!==-1?[...G.slice(0,ne),{...G[ne],...K},...G.slice(ne+1)]:[K,...G]})})})}),[]),Ge.useEffect(()=>{if(d!=="system"){q(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?q("dark"):q("light")),typeof window>"u")return;let K=window.matchMedia("(prefers-color-scheme: dark)");try{K.addEventListener("change",({matches:G})=>{q(G?"dark":"light")})}catch{K.addListener(({matches:ne})=>{try{q(ne?"dark":"light")}catch(oe){console.error(oe)}})}},[d]),Ge.useEffect(()=>{w.length<=1&&j(!1)},[w]),Ge.useEffect(()=>{let K=G=>{var ne,oe;a.every(de=>G[de]||G.code===de)&&(j(!0),(ne=W.current)==null||ne.focus()),G.code==="Escape"&&(document.activeElement===W.current||(oe=W.current)!=null&&oe.contains(document.activeElement))&&j(!1)};return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[a]),Ge.useEffect(()=>{if(W.current)return()=>{te.current&&(te.current.focus({preventScroll:!0}),te.current=null,P.current=!1)}},[W.current]),Ge.createElement("section",{ref:t,"aria-label":`${_} ${B}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},I.map((K,G)=>{var ne;let[oe,de]=K.split("-");return w.length?Ge.createElement("ol",{key:K,dir:F==="auto"?YI():F,tabIndex:-1,ref:W,className:s,"data-sonner-toaster":!0,"data-theme":X,"data-y-position":oe,"data-lifted":U&&w.length>1&&!i,"data-x-position":de,style:{"--front-toast-height":`${((ne=M[0])==null?void 0:ne.height)||0}px`,"--width":`${ebe}px`,"--gap":`${x}px`,...m,...obe(l,u)},onBlur:ie=>{P.current&&!ie.currentTarget.contains(ie.relatedTarget)&&(P.current=!1,te.current&&(te.current.focus({preventScroll:!0}),te.current=null))},onFocus:ie=>{ie.target instanceof HTMLElement&&ie.target.dataset.dismissible==="false"||P.current||(P.current=!0,te.current=ie.relatedTarget)},onMouseEnter:()=>j(!0),onMouseMove:()=>j(!0),onMouseLeave:()=>{z||j(!1)},onDragEnd:()=>j(!1),onPointerDown:ie=>{ie.target instanceof HTMLElement&&ie.target.dataset.dismissible==="false"||V(!0)},onPointerUp:()=>V(!1)},w.filter(ie=>!ie.position&&G===0||ie.position===K).map((ie,ue)=>{var Ne,pe;return Ge.createElement(ibe,{key:ie.id,icons:C,index:ue,toast:ie,defaultRichColors:h,duration:(Ne=y==null?void 0:y.duration)!=null?Ne:f,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:r,visibleToasts:b,closeButton:(pe=y==null?void 0:y.closeButton)!=null?pe:o,interacting:z,position:K,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:Z,toasts:w.filter(Le=>Le.position==ie.position),heights:M.filter(Le=>Le.position==ie.position),setHeights:L,expandByDefault:i,gap:x,loadingIcon:E,expanded:U,pauseWhenPageIsHidden:D,swipeDirections:e.swipeDirections})})):null}))});const lbe={theme:"system",setTheme:()=>null},HY=T.createContext(lbe);function UY({children:e,...t}){const r=rt.use.theme(),n=rt.use.setTheme();T.useEffect(()=>{const i=window.document.documentElement;if(i.classList.remove("light","dark"),r==="system"){const o=window.matchMedia("(prefers-color-scheme: dark)"),s=l=>{i.classList.remove("light","dark"),i.classList.add(l.matches?"dark":"light")};return i.classList.add(o.matches?"dark":"light"),o.addEventListener("change",s),()=>o.removeEventListener("change",s)}else i.classList.add(r)},[r]);const a={theme:r,setTheme:n};return S.jsx(HY.Provider,{...t,value:a,children:e})}const ube={visibleTabs:{},setTabVisibility:()=>{},isTabVisible:()=>!1},GY=T.createContext(ube),cbe=({children:e})=>{const t=rt.use.currentTab(),[r,n]=T.useState(()=>({documents:!0,"knowledge-graph":!0,retrieval:!0,api:!0}));T.useEffect(()=>{n(i=>({...i,documents:!0,"knowledge-graph":!0,retrieval:!0,api:!0}))},[t]);const a=T.useMemo(()=>({visibleTabs:r,setTabVisibility:(i,o)=>{n(s=>({...s,[i]:o}))},isTabVisible:i=>!!r[i]}),[r]);return S.jsx(GY.Provider,{value:a,children:e})},dbe=(e,t,r,n)=>{var i,o,s,l;const a=[r,{code:t,...n||{}}];if((o=(i=e==null?void 0:e.services)==null?void 0:i.logger)!=null&&o.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);vc(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),(l=(s=e==null?void 0:e.services)==null?void 0:s.logger)!=null&&l.warn?e.services.logger.warn(...a):console!=null&&console.warn&&console.warn(...a)},XI={},__=(e,t,r,n)=>{vc(r)&&XI[r]||(vc(r)&&(XI[r]=new Date),dbe(e,t,r,n))},$Y=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},D_=(e,t,r)=>{e.loadNamespaces(t,$Y(e,r))},JI=(e,t,r,n)=>{if(vc(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return D_(e,r,n);r.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,$Y(e,n))},hbe=(e,t,r={})=>!t.languages||!t.languages.length?(__(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(n,a)=>{var i;if(((i=r.bindI18n)==null?void 0:i.indexOf("languageChanging"))>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!a(n.isLanguageChangingTo,e))return!1}}),vc=e=>typeof e=="string",pbe=e=>typeof e=="object"&&e!==null,fbe=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,mbe={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},gbe=e=>mbe[e],bbe=e=>e.replace(fbe,gbe);let R_={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:bbe};const ybe=(e={})=>{R_={...R_,...e}},vbe=()=>R_;let jY;const Fbe=e=>{jY=e},Ebe=()=>jY,Sbe={type:"3rdParty",init(e){ybe(e.options.react),Fbe(e)}},xbe=T.createContext();class wbe{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const kbe=(e,t)=>{const r=T.useRef();return T.useEffect(()=>{r.current=e},[e,t]),r.current},qY=(e,t,r,n)=>e.getFixedT(t,r,n),Cbe=(e,t,r,n)=>T.useCallback(qY(e,t,r,n),[e,t,r,n]),Er=(e,t={})=>{var _,D,w,A;const{i18n:r}=t,{i18n:n,defaultNS:a}=T.useContext(xbe)||{},i=r||n||Ebe();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new wbe),!i){__(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const I=(L,U)=>vc(U)?U:pbe(U)&&vc(U.defaultValue)?U.defaultValue:Array.isArray(L)?L[L.length-1]:L,M=[I,{},!1];return M.t=I,M.i18n={},M.ready=!1,M}(_=i.options.react)!=null&&_.wait&&__(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...vbe(),...i.options.react,...t},{useSuspense:s,keyPrefix:l}=o;let u=a||((D=i.options)==null?void 0:D.defaultNS);u=vc(u)?[u]:u||["translation"],(A=(w=i.reportNamespaces).addUsedNamespaces)==null||A.call(w,u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(I=>hbe(I,i,o)),h=Cbe(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),f=()=>h,m=()=>qY(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),[b,y]=T.useState(f);let F=u.join();t.lng&&(F=`${t.lng}${F}`);const x=kbe(F),E=T.useRef(!0);T.useEffect(()=>{const{bindI18n:I,bindI18nStore:M}=o;E.current=!0,!d&&!s&&(t.lng?JI(i,t.lng,u,()=>{E.current&&y(m)}):D_(i,u,()=>{E.current&&y(m)})),d&&x&&x!==F&&E.current&&y(m);const L=()=>{E.current&&y(m)};return I&&(i==null||i.on(I,L)),M&&(i==null||i.store.on(M,L)),()=>{E.current=!1,i&&(I==null||I.split(" ").forEach(U=>i.off(U,L))),M&&i&&M.split(" ").forEach(U=>i.store.off(U,L))}},[i,F]),T.useEffect(()=>{E.current&&d&&y(f)},[i,l,d]);const C=[b,i,d];if(C.t=b,C.i18n=i,C.ready=d,d||!d&&!s)return C;throw new Promise(I=>{t.lng?JI(i,t.lng,u,()=>I()):D_(i,u,()=>I())})};function Tbe(e,t){const r=T.createContext(t),n=i=>{const{children:o,...s}=i,l=T.useMemo(()=>s,Object.values(s));return S.jsx(r.Provider,{value:l,children:o})};n.displayName=e+"Provider";function a(i){const o=T.useContext(r);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[n,a]}function Ro(e,t=[]){let r=[];function n(i,o){const s=T.createContext(o),l=r.length;r=[...r,o];const u=h=>{var x;const{scope:f,children:m,...b}=h,y=((x=f==null?void 0:f[e])==null?void 0:x[l])||s,F=T.useMemo(()=>b,Object.values(b));return S.jsx(y.Provider,{value:F,children:m})};u.displayName=i+"Provider";function d(h,f){var y;const m=((y=f==null?void 0:f[e])==null?void 0:y[l])||s,b=T.useContext(m);if(b)return b;if(o!==void 0)return o;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[u,d]}const a=()=>{const i=r.map(o=>T.createContext(o));return function(s){const l=(s==null?void 0:s[e])||i;return T.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return a.scopeName=e,[n,Abe(a,...t)]}function Abe(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(i){const o=n.reduce((s,{useScope:l,scopeName:u})=>{const h=l(i)[`__scope${u}`];return{...s,...h}},{});return T.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}function ZI(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function WY(...e){return t=>{let r=!1;const n=e.map(a=>{const i=ZI(a,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let a=0;a<n.length;a++){const i=n[a];typeof i=="function"?i():ZI(e[a],null)}}}}function _r(...e){return T.useCallback(WY(...e),e)}function Gt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e==null||e(a),r===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}var Da=globalThis!=null&&globalThis.document?T.useLayoutEffect:()=>{},_be=she.useId||(()=>{}),Dbe=0;function Aa(e){const[t,r]=T.useState(_be());return Da(()=>{r(n=>n??String(Dbe++))},[e]),t?`radix-${t}`:""}function fa(e){const t=T.useRef(e);return T.useEffect(()=>{t.current=e}),T.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function cl({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,a]=Rbe({defaultProp:t,onChange:r}),i=e!==void 0,o=i?e:n,s=fa(r),l=T.useCallback(u=>{if(i){const h=typeof u=="function"?u(e):u;h!==e&&s(h)}else a(u)},[i,e,a,s]);return[o,l]}function Rbe({defaultProp:e,onChange:t}){const r=T.useState(e),[n]=r,a=T.useRef(n),i=fa(t);return T.useEffect(()=>{a.current!==n&&(i(n),a.current=n)},[n,a,i]),r}var mu=T.forwardRef((e,t)=>{const{children:r,...n}=e,a=T.Children.toArray(r),i=a.find(Nbe);if(i){const o=i.props.children,s=a.map(l=>l===i?T.Children.count(o)>1?T.Children.only(null):T.isValidElement(o)?o.props.children:null:l);return S.jsx(N_,{...n,ref:t,children:T.isValidElement(o)?T.cloneElement(o,void 0,s):null})}return S.jsx(N_,{...n,ref:t,children:r})});mu.displayName="Slot";var N_=T.forwardRef((e,t)=>{const{children:r,...n}=e;if(T.isValidElement(r)){const a=Mbe(r),i=Lbe(n,r.props);return r.type!==T.Fragment&&(i.ref=t?WY(t,a):a),T.cloneElement(r,i)}return T.Children.count(r)>1?T.Children.only(null):null});N_.displayName="SlotClone";var bR=({children:e})=>S.jsx(S.Fragment,{children:e});function Nbe(e){return T.isValidElement(e)&&e.type===bR}function Lbe(e,t){const r={...t};for(const n in t){const a=e[n],i=t[n];/^on[A-Z]/.test(n)?a&&i?r[n]=(...s)=>{i(...s),a(...s)}:a&&(r[n]=a):n==="style"?r[n]={...a,...i}:n==="className"&&(r[n]=[a,i].filter(Boolean).join(" "))}return{...e,...r}}function Mbe(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ibe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Kt=Ibe.reduce((e,t)=>{const r=T.forwardRef((n,a)=>{const{asChild:i,...o}=n,s=i?mu:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(s,{...o,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Obe(e,t){e&&o0.flushSync(()=>e.dispatchEvent(t))}function Bbe(e,t=globalThis==null?void 0:globalThis.document){const r=fa(e);T.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Pbe="DismissableLayer",L_="dismissableLayer.update",zbe="dismissableLayer.pointerDownOutside",Hbe="dismissableLayer.focusOutside",QI,VY=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),u0=T.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:s,...l}=e,u=T.useContext(VY),[d,h]=T.useState(null),f=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=T.useState({}),b=_r(t,A=>h(A)),y=Array.from(u.layers),[F]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(F),E=d?y.indexOf(d):-1,C=u.layersWithOutsidePointerEventsDisabled.size>0,_=E>=x,D=$be(A=>{const I=A.target,M=[...u.branches].some(L=>L.contains(I));!_||M||(a==null||a(A),o==null||o(A),A.defaultPrevented||s==null||s())},f),w=jbe(A=>{const I=A.target;[...u.branches].some(L=>L.contains(I))||(i==null||i(A),o==null||o(A),A.defaultPrevented||s==null||s())},f);return Bbe(A=>{E===u.layers.size-1&&(n==null||n(A),!A.defaultPrevented&&s&&(A.preventDefault(),s()))},f),T.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(QI=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),eO(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=QI)}},[d,f,r,u]),T.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),eO())},[d,u]),T.useEffect(()=>{const A=()=>m({});return document.addEventListener(L_,A),()=>document.removeEventListener(L_,A)},[]),S.jsx(Kt.div,{...l,ref:b,style:{pointerEvents:C?_?"auto":"none":void 0,...e.style},onFocusCapture:Gt(e.onFocusCapture,w.onFocusCapture),onBlurCapture:Gt(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:Gt(e.onPointerDownCapture,D.onPointerDownCapture)})});u0.displayName=Pbe;var Ube="DismissableLayerBranch",Gbe=T.forwardRef((e,t)=>{const r=T.useContext(VY),n=T.useRef(null),a=_r(t,n);return T.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),S.jsx(Kt.div,{...e,ref:a})});Gbe.displayName=Ube;function $be(e,t=globalThis==null?void 0:globalThis.document){const r=fa(e),n=T.useRef(!1),a=T.useRef(()=>{});return T.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let l=function(){KY(zbe,r,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=l,t.addEventListener("click",a.current,{once:!0})):l()}else t.removeEventListener("click",a.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function jbe(e,t=globalThis==null?void 0:globalThis.document){const r=fa(e),n=T.useRef(!1);return T.useEffect(()=>{const a=i=>{i.target&&!n.current&&KY(Hbe,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function eO(){const e=new CustomEvent(L_);document.dispatchEvent(e)}function KY(e,t,r,{discrete:n}){const a=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?Obe(a,i):a.dispatchEvent(i)}var wS="focusScope.autoFocusOnMount",kS="focusScope.autoFocusOnUnmount",tO={bubbles:!1,cancelable:!0},qbe="FocusScope",kv=T.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=e,[s,l]=T.useState(null),u=fa(a),d=fa(i),h=T.useRef(null),f=_r(t,y=>l(y)),m=T.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;T.useEffect(()=>{if(n){let y=function(C){if(m.paused||!s)return;const _=C.target;s.contains(_)?h.current=_:Jl(h.current,{select:!0})},F=function(C){if(m.paused||!s)return;const _=C.relatedTarget;_!==null&&(s.contains(_)||Jl(h.current,{select:!0}))},x=function(C){if(document.activeElement===document.body)for(const D of C)D.removedNodes.length>0&&Jl(s)};document.addEventListener("focusin",y),document.addEventListener("focusout",F);const E=new MutationObserver(x);return s&&E.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",F),E.disconnect()}}},[n,s,m.paused]),T.useEffect(()=>{if(s){nO.add(m);const y=document.activeElement;if(!s.contains(y)){const x=new CustomEvent(wS,tO);s.addEventListener(wS,u),s.dispatchEvent(x),x.defaultPrevented||(Wbe(Jbe(YY(s)),{select:!0}),document.activeElement===y&&Jl(s))}return()=>{s.removeEventListener(wS,u),setTimeout(()=>{const x=new CustomEvent(kS,tO);s.addEventListener(kS,d),s.dispatchEvent(x),x.defaultPrevented||Jl(y??document.body,{select:!0}),s.removeEventListener(kS,d),nO.remove(m)},0)}}},[s,u,d,m]);const b=T.useCallback(y=>{if(!r&&!n||m.paused)return;const F=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,x=document.activeElement;if(F&&x){const E=y.currentTarget,[C,_]=Vbe(E);C&&_?!y.shiftKey&&x===_?(y.preventDefault(),r&&Jl(C,{select:!0})):y.shiftKey&&x===C&&(y.preventDefault(),r&&Jl(_,{select:!0})):x===E&&y.preventDefault()}},[r,n,m.paused]);return S.jsx(Kt.div,{tabIndex:-1,...o,ref:f,onKeyDown:b})});kv.displayName=qbe;function Wbe(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Jl(n,{select:t}),document.activeElement!==r)return}function Vbe(e){const t=YY(e),r=rO(t,e),n=rO(t.reverse(),e);return[r,n]}function YY(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function rO(e,t){for(const r of e)if(!Kbe(r,{upTo:t}))return r}function Kbe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Ybe(e){return e instanceof HTMLInputElement&&"select"in e}function Jl(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Ybe(e)&&t&&e.select()}}var nO=Xbe();function Xbe(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=aO(e,t),e.unshift(t)},remove(t){var r;e=aO(e,t),(r=e[0])==null||r.resume()}}}function aO(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Jbe(e){return e.filter(t=>t.tagName!=="A")}var Zbe="Portal",Cv=T.forwardRef((e,t)=>{var s;const{container:r,...n}=e,[a,i]=T.useState(!1);Da(()=>i(!0),[]);const o=r||a&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return o?YK.createPortal(S.jsx(Kt.div,{...n,ref:t}),o):null});Cv.displayName=Zbe;function Qbe(e,t){return T.useReducer((r,n)=>t[r][n]??r,e)}var Li=e=>{const{present:t,children:r}=e,n=eye(t),a=typeof r=="function"?r({present:n.isPresent}):T.Children.only(r),i=_r(n.ref,tye(a));return typeof r=="function"||n.isPresent?T.cloneElement(a,{ref:i}):null};Li.displayName="Presence";function eye(e){const[t,r]=T.useState(),n=T.useRef({}),a=T.useRef(e),i=T.useRef("none"),o=e?"mounted":"unmounted",[s,l]=Qbe(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const u=h1(n.current);i.current=s==="mounted"?u:"none"},[s]),Da(()=>{const u=n.current,d=a.current;if(d!==e){const f=i.current,m=h1(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&f!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,l]),Da(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,h=m=>{const y=h1(n.current).includes(m.animationName);if(m.target===t&&y&&(l("ANIMATION_END"),!a.current)){const F=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=F)})}},f=m=>{m.target===t&&(i.current=h1(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:T.useCallback(u=>{u&&(n.current=getComputedStyle(u)),r(u)},[])}}function h1(e){return(e==null?void 0:e.animationName)||"none"}function tye(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var CS=0;function yR(){T.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??iO()),document.body.insertAdjacentElement("beforeend",e[1]??iO()),CS++,()=>{CS===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),CS--}},[])}function iO(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Jo=function(){return Jo=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jo.apply(this,arguments)};function XY(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function jc(e,t,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(d){try{u(n.next(d))}catch(h){o(h)}}function l(d){try{u(n.throw(d))}catch(h){o(h)}}function u(d){d.done?i(d.value):a(d.value).then(s,l)}u((n=n.apply(e,t||[])).next())})}function rye(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var ob="right-scroll-bar-position",sb="width-before-scroll-bar",nye="with-scroll-bars-hidden",aye="--removed-body-scroll-bar-size";function TS(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function iye(e,t){var r=T.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}var oye=typeof window<"u"?T.useLayoutEffect:T.useEffect,oO=new WeakMap;function sye(e,t){var r=iye(null,function(n){return e.forEach(function(a){return TS(a,n)})});return oye(function(){var n=oO.get(r);if(n){var a=new Set(n),i=new Set(e),o=r.current;a.forEach(function(s){i.has(s)||TS(s,null)}),i.forEach(function(s){a.has(s)||TS(s,o)})}oO.set(r,e)},[e]),r}function lye(e){return e}function uye(e,t){t===void 0&&(t=lye);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var o=t(i,n);return r.push(o),function(){r=r.filter(function(s){return s!==o})}},assignSyncMedium:function(i){for(n=!0;r.length;){var o=r;r=[],o.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){n=!0;var o=[];if(r.length){var s=r;r=[],s.forEach(i),o=r}var l=function(){var d=o;o=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),r={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),r}}}};return a}function cye(e){e===void 0&&(e={});var t=uye(null);return t.options=Jo({async:!0,ssr:!1},e),t}var JY=function(e){var t=e.sideCar,r=XY(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return T.createElement(n,Jo({},r))};JY.isSideCarExport=!0;function dye(e,t){return e.useMedium(t),JY}var ZY=cye(),AS=function(){},Tv=T.forwardRef(function(e,t){var r=T.useRef(null),n=T.useState({onScrollCapture:AS,onWheelCapture:AS,onTouchMoveCapture:AS}),a=n[0],i=n[1],o=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,f=e.sideCar,m=e.noIsolation,b=e.inert,y=e.allowPinchZoom,F=e.as,x=F===void 0?"div":F,E=e.gapMode,C=XY(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=f,D=sye([r,t]),w=Jo(Jo({},C),a);return T.createElement(T.Fragment,null,d&&T.createElement(_,{sideCar:ZY,removeScrollBar:u,shards:h,noIsolation:m,inert:b,setCallbacks:i,allowPinchZoom:!!y,lockRef:r,gapMode:E}),o?T.cloneElement(T.Children.only(s),Jo(Jo({},w),{ref:D})):T.createElement(x,Jo({},w,{className:l,ref:D}),s))});Tv.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Tv.classNames={fullWidth:sb,zeroRight:ob};var hye=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function pye(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=hye();return t&&e.setAttribute("nonce",t),e}function fye(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function mye(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var gye=function(){var e=0,t=null;return{add:function(r){e==0&&(t=pye())&&(fye(t,r),mye(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},bye=function(){var e=gye();return function(t,r){T.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},QY=function(){var e=bye(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},yye={left:0,top:0,right:0,gap:0},_S=function(e){return parseInt(e||"",10)||0},vye=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[_S(r),_S(n),_S(a)]},Fye=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yye;var t=vye(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Eye=QY(),ah="data-scroll-locked",Sye=function(e,t,r,n){var a=e.left,i=e.top,o=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
||
.`.concat(nye,` {
|
||
overflow: hidden `).concat(n,`;
|
||
padding-right: `).concat(s,"px ").concat(n,`;
|
||
}
|
||
body[`).concat(ah,`] {
|
||
overflow: hidden `).concat(n,`;
|
||
overscroll-behavior: contain;
|
||
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
||
padding-left: `.concat(a,`px;
|
||
padding-top: `).concat(i,`px;
|
||
padding-right: `).concat(o,`px;
|
||
margin-left:0;
|
||
margin-top:0;
|
||
margin-right: `).concat(s,"px ").concat(n,`;
|
||
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
||
}
|
||
|
||
.`).concat(ob,` {
|
||
right: `).concat(s,"px ").concat(n,`;
|
||
}
|
||
|
||
.`).concat(sb,` {
|
||
margin-right: `).concat(s,"px ").concat(n,`;
|
||
}
|
||
|
||
.`).concat(ob," .").concat(ob,` {
|
||
right: 0 `).concat(n,`;
|
||
}
|
||
|
||
.`).concat(sb," .").concat(sb,` {
|
||
margin-right: 0 `).concat(n,`;
|
||
}
|
||
|
||
body[`).concat(ah,`] {
|
||
`).concat(aye,": ").concat(s,`px;
|
||
}
|
||
`)},sO=function(){var e=parseInt(document.body.getAttribute(ah)||"0",10);return isFinite(e)?e:0},xye=function(){T.useEffect(function(){return document.body.setAttribute(ah,(sO()+1).toString()),function(){var e=sO()-1;e<=0?document.body.removeAttribute(ah):document.body.setAttribute(ah,e.toString())}},[])},wye=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;xye();var i=T.useMemo(function(){return Fye(a)},[a]);return T.createElement(Eye,{styles:Sye(i,!t,a,r?"":"!important")})},M_=!1;if(typeof window<"u")try{var p1=Object.defineProperty({},"passive",{get:function(){return M_=!0,!0}});window.addEventListener("test",p1,p1),window.removeEventListener("test",p1,p1)}catch{M_=!1}var Pd=M_?{passive:!1}:!1,kye=function(e){return e.tagName==="TEXTAREA"},eX=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!kye(e)&&r[t]==="visible")},Cye=function(e){return eX(e,"overflowY")},Tye=function(e){return eX(e,"overflowX")},lO=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=tX(e,n);if(a){var i=rX(e,n),o=i[1],s=i[2];if(o>s)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Aye=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},_ye=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},tX=function(e,t){return e==="v"?Cye(t):Tye(t)},rX=function(e,t){return e==="v"?Aye(t):_ye(t)},Dye=function(e,t){return e==="h"&&t==="rtl"?-1:1},Rye=function(e,t,r,n,a){var i=Dye(e,window.getComputedStyle(t).direction),o=i*n,s=r.target,l=t.contains(s),u=!1,d=o>0,h=0,f=0;do{var m=rX(e,s),b=m[0],y=m[1],F=m[2],x=y-F-i*b;(b||x)&&tX(e,s)&&(h+=x,f+=b),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&Math.abs(h)<1||!d&&Math.abs(f)<1)&&(u=!0),u},f1=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},uO=function(e){return[e.deltaX,e.deltaY]},cO=function(e){return e&&"current"in e?e.current:e},Nye=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Lye=function(e){return`
|
||
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
||
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
||
`)},Mye=0,zd=[];function Iye(e){var t=T.useRef([]),r=T.useRef([0,0]),n=T.useRef(),a=T.useState(Mye++)[0],i=T.useState(QY)[0],o=T.useRef(e);T.useEffect(function(){o.current=e},[e]),T.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var y=rye([e.lockRef.current],(e.shards||[]).map(cO),!0).filter(Boolean);return y.forEach(function(F){return F.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),y.forEach(function(F){return F.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=T.useCallback(function(y,F){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!o.current.allowPinchZoom;var x=f1(y),E=r.current,C="deltaX"in y?y.deltaX:E[0]-x[0],_="deltaY"in y?y.deltaY:E[1]-x[1],D,w=y.target,A=Math.abs(C)>Math.abs(_)?"h":"v";if("touches"in y&&A==="h"&&w.type==="range")return!1;var I=lO(A,w);if(!I)return!0;if(I?D=A:(D=A==="v"?"h":"v",I=lO(A,w)),!I)return!1;if(!n.current&&"changedTouches"in y&&(C||_)&&(n.current=D),!D)return!0;var M=n.current||D;return Rye(M,F,y,M==="h"?C:_)},[]),l=T.useCallback(function(y){var F=y;if(!(!zd.length||zd[zd.length-1]!==i)){var x="deltaY"in F?uO(F):f1(F),E=t.current.filter(function(D){return D.name===F.type&&(D.target===F.target||F.target===D.shadowParent)&&Nye(D.delta,x)})[0];if(E&&E.should){F.cancelable&&F.preventDefault();return}if(!E){var C=(o.current.shards||[]).map(cO).filter(Boolean).filter(function(D){return D.contains(F.target)}),_=C.length>0?s(F,C[0]):!o.current.noIsolation;_&&F.cancelable&&F.preventDefault()}}},[]),u=T.useCallback(function(y,F,x,E){var C={name:y,delta:F,target:x,should:E,shadowParent:Oye(x)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(_){return _!==C})},1)},[]),d=T.useCallback(function(y){r.current=f1(y),n.current=void 0},[]),h=T.useCallback(function(y){u(y.type,uO(y),y.target,s(y,e.lockRef.current))},[]),f=T.useCallback(function(y){u(y.type,f1(y),y.target,s(y,e.lockRef.current))},[]);T.useEffect(function(){return zd.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Pd),document.addEventListener("touchmove",l,Pd),document.addEventListener("touchstart",d,Pd),function(){zd=zd.filter(function(y){return y!==i}),document.removeEventListener("wheel",l,Pd),document.removeEventListener("touchmove",l,Pd),document.removeEventListener("touchstart",d,Pd)}},[]);var m=e.removeScrollBar,b=e.inert;return T.createElement(T.Fragment,null,b?T.createElement(i,{styles:Lye(a)}):null,m?T.createElement(wye,{gapMode:e.gapMode}):null)}function Oye(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Bye=dye(ZY,Iye);var Av=T.forwardRef(function(e,t){return T.createElement(Tv,Jo({},e,{ref:t,sideCar:Bye}))});Av.classNames=Tv.classNames;var Pye=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Hd=new WeakMap,m1=new WeakMap,g1={},DS=0,nX=function(e){return e&&(e.host||nX(e.parentNode))},zye=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=nX(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Hye=function(e,t,r,n){var a=zye(t,Array.isArray(e)?e:[e]);g1[r]||(g1[r]=new WeakMap);var i=g1[r],o=[],s=new Set,l=new Set(a),u=function(h){!h||s.has(h)||(s.add(h),u(h.parentNode))};a.forEach(u);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(f){if(s.has(f))d(f);else try{var m=f.getAttribute(n),b=m!==null&&m!=="false",y=(Hd.get(f)||0)+1,F=(i.get(f)||0)+1;Hd.set(f,y),i.set(f,F),o.push(f),y===1&&b&&m1.set(f,!0),F===1&&f.setAttribute(r,"true"),b||f.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",f,x)}})};return d(t),s.clear(),DS++,function(){o.forEach(function(h){var f=Hd.get(h)-1,m=i.get(h)-1;Hd.set(h,f),i.set(h,m),f||(m1.has(h)||h.removeAttribute(n),m1.delete(h)),m||h.removeAttribute(r)}),DS--,DS||(Hd=new WeakMap,Hd=new WeakMap,m1=new WeakMap,g1={})}},vR=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=Pye(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),Hye(n,a,r,"aria-hidden")):function(){return null}},FR="Dialog",[aX,iX]=Ro(FR),[Uye,No]=aX(FR),oX=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:i,modal:o=!0}=e,s=T.useRef(null),l=T.useRef(null),[u=!1,d]=cl({prop:n,defaultProp:a,onChange:i});return S.jsx(Uye,{scope:t,triggerRef:s,contentRef:l,contentId:Aa(),titleId:Aa(),descriptionId:Aa(),open:u,onOpenChange:d,onOpenToggle:T.useCallback(()=>d(h=>!h),[d]),modal:o,children:r})};oX.displayName=FR;var sX="DialogTrigger",lX=T.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=No(sX,r),i=_r(t,a.triggerRef);return S.jsx(Kt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":xR(a.open),...n,ref:i,onClick:Gt(e.onClick,a.onOpenToggle)})});lX.displayName=sX;var ER="DialogPortal",[Gye,uX]=aX(ER,{forceMount:void 0}),cX=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:a}=e,i=No(ER,t);return S.jsx(Gye,{scope:t,forceMount:r,children:T.Children.map(n,o=>S.jsx(Li,{present:r||i.open,children:S.jsx(Cv,{asChild:!0,container:a,children:o})}))})};cX.displayName=ER;var Yb="DialogOverlay",dX=T.forwardRef((e,t)=>{const r=uX(Yb,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=No(Yb,e.__scopeDialog);return i.modal?S.jsx(Li,{present:n||i.open,children:S.jsx($ye,{...a,ref:t})}):null});dX.displayName=Yb;var $ye=T.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=No(Yb,r);return S.jsx(Av,{as:mu,allowPinchZoom:!0,shards:[a.contentRef],children:S.jsx(Kt.div,{"data-state":xR(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),kc="DialogContent",hX=T.forwardRef((e,t)=>{const r=uX(kc,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=No(kc,e.__scopeDialog);return S.jsx(Li,{present:n||i.open,children:i.modal?S.jsx(jye,{...a,ref:t}):S.jsx(qye,{...a,ref:t})})});hX.displayName=kc;var jye=T.forwardRef((e,t)=>{const r=No(kc,e.__scopeDialog),n=T.useRef(null),a=_r(t,r.contentRef,n);return T.useEffect(()=>{const i=n.current;if(i)return vR(i)},[]),S.jsx(pX,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Gt(e.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=r.triggerRef.current)==null||o.focus()}),onPointerDownOutside:Gt(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,s=o.button===0&&o.ctrlKey===!0;(o.button===2||s)&&i.preventDefault()}),onFocusOutside:Gt(e.onFocusOutside,i=>i.preventDefault())})}),qye=T.forwardRef((e,t)=>{const r=No(kc,e.__scopeDialog),n=T.useRef(!1),a=T.useRef(!1);return S.jsx(pX,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,s;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(n.current||(s=r.triggerRef.current)==null||s.focus(),i.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=i.target;((u=r.triggerRef.current)==null?void 0:u.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&a.current&&i.preventDefault()}})}),pX=T.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:i,...o}=e,s=No(kc,r),l=T.useRef(null),u=_r(t,l);return yR(),S.jsxs(S.Fragment,{children:[S.jsx(kv,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:i,children:S.jsx(u0,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":xR(s.open),...o,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),S.jsxs(S.Fragment,{children:[S.jsx(Vye,{titleId:s.titleId}),S.jsx(Yye,{contentRef:l,descriptionId:s.descriptionId})]})]})}),SR="DialogTitle",fX=T.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=No(SR,r);return S.jsx(Kt.h2,{id:a.titleId,...n,ref:t})});fX.displayName=SR;var mX="DialogDescription",gX=T.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=No(mX,r);return S.jsx(Kt.p,{id:a.descriptionId,...n,ref:t})});gX.displayName=mX;var bX="DialogClose",yX=T.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=No(bX,r);return S.jsx(Kt.button,{type:"button",...n,ref:t,onClick:Gt(e.onClick,()=>a.onOpenChange(!1))})});yX.displayName=bX;function xR(e){return e?"open":"closed"}var vX="DialogTitleWarning",[Wye,FX]=Tbe(vX,{contentName:kc,titleName:SR,docsSlug:"dialog"}),Vye=({titleId:e})=>{const t=FX(vX),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
||
|
||
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
||
|
||
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return T.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Kye="DialogDescriptionWarning",Yye=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${FX(Kye).contentName}}.`;return T.useEffect(()=>{var i;const a=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},wR=oX,EX=lX,kR=cX,_v=dX,Dv=hX,CR=fX,TR=gX,AR=yX,SX="AlertDialog",[Xye,qut]=Ro(SX,[iX]),bl=iX(),xX=e=>{const{__scopeAlertDialog:t,...r}=e,n=bl(t);return S.jsx(wR,{...n,...r,modal:!0})};xX.displayName=SX;var Jye="AlertDialogTrigger",Zye=T.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,a=bl(r);return S.jsx(EX,{...a,...n,ref:t})});Zye.displayName=Jye;var Qye="AlertDialogPortal",wX=e=>{const{__scopeAlertDialog:t,...r}=e,n=bl(t);return S.jsx(kR,{...n,...r})};wX.displayName=Qye;var eve="AlertDialogOverlay",kX=T.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,a=bl(r);return S.jsx(_v,{...a,...n,ref:t})});kX.displayName=eve;var ih="AlertDialogContent",[tve,rve]=Xye(ih),CX=T.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...a}=e,i=bl(r),o=T.useRef(null),s=_r(t,o),l=T.useRef(null);return S.jsx(Wye,{contentName:ih,titleName:TX,docsSlug:"alert-dialog",children:S.jsx(tve,{scope:r,cancelRef:l,children:S.jsxs(Dv,{role:"alertdialog",...i,...a,ref:s,onOpenAutoFocus:Gt(a.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=l.current)==null||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[S.jsx(bR,{children:n}),S.jsx(ave,{contentRef:o})]})})})});CX.displayName=ih;var TX="AlertDialogTitle",AX=T.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,a=bl(r);return S.jsx(CR,{...a,...n,ref:t})});AX.displayName=TX;var _X="AlertDialogDescription",DX=T.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,a=bl(r);return S.jsx(TR,{...a,...n,ref:t})});DX.displayName=_X;var nve="AlertDialogAction",RX=T.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,a=bl(r);return S.jsx(AR,{...a,...n,ref:t})});RX.displayName=nve;var NX="AlertDialogCancel",LX=T.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:a}=rve(NX,r),i=bl(r),o=_r(t,a);return S.jsx(AR,{...i,...n,ref:o})});LX.displayName=NX;var ave=({contentRef:e})=>{const t=`\`${ih}\` requires a description for the component to be accessible for screen reader users.
|
||
|
||
You can add a description to the \`${ih}\` by passing a \`${_X}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
||
|
||
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${ih}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
||
|
||
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return T.useEffect(()=>{var n;document.getElementById((n=e.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},ive=xX,ove=wX,MX=kX,IX=CX,OX=RX,BX=LX,PX=AX,zX=DX;const dO=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,hO=JK,sve=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return hO(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:i}=t,o=Object.keys(a).map(u=>{const d=r==null?void 0:r[u],h=i==null?void 0:i[u];if(d===null)return null;const f=dO(d)||dO(h);return a[u][f]}),s=r&&Object.entries(r).reduce((u,d)=>{let[h,f]=d;return f===void 0||(u[h]=f),u},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,d)=>{let{class:h,className:f,...m}=d;return Object.entries(m).every(b=>{let[y,F]=b;return Array.isArray(F)?F.includes({...i,...s}[y]):{...i,...s}[y]===F})?[...u,h,f]:u},[]);return hO(e,o,l,r==null?void 0:r.class,r==null?void 0:r.className)},lve=["top","right","bottom","left"],gu=Math.min,wi=Math.max,Xb=Math.round,b1=Math.floor,ns=e=>({x:e,y:e}),uve={left:"right",right:"left",bottom:"top",top:"bottom"},cve={start:"end",end:"start"};function I_(e,t,r){return wi(e,gu(t,r))}function dl(e,t){return typeof e=="function"?e(t):e}function hl(e){return e.split("-")[0]}function Qh(e){return e.split("-")[1]}function _R(e){return e==="x"?"y":"x"}function DR(e){return e==="y"?"height":"width"}function bu(e){return["top","bottom"].includes(hl(e))?"y":"x"}function RR(e){return _R(bu(e))}function dve(e,t,r){r===void 0&&(r=!1);const n=Qh(e),a=RR(e),i=DR(a);let o=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Jb(o)),[o,Jb(o)]}function hve(e){const t=Jb(e);return[O_(e),t,O_(t)]}function O_(e){return e.replace(/start|end/g,t=>cve[t])}function pve(e,t,r){const n=["left","right"],a=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return r?t?a:n:t?n:a;case"left":case"right":return t?i:o;default:return[]}}function fve(e,t,r,n){const a=Qh(e);let i=pve(hl(e),r==="start",n);return a&&(i=i.map(o=>o+"-"+a),t&&(i=i.concat(i.map(O_)))),i}function Jb(e){return e.replace(/left|right|bottom|top/g,t=>uve[t])}function mve(e){return{top:0,right:0,bottom:0,left:0,...e}}function HX(e){return typeof e!="number"?mve(e):{top:e,right:e,bottom:e,left:e}}function Zb(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function pO(e,t,r){let{reference:n,floating:a}=e;const i=bu(t),o=RR(t),s=DR(o),l=hl(t),u=i==="y",d=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,f=n[s]/2-a[s]/2;let m;switch(l){case"top":m={x:d,y:n.y-a.height};break;case"bottom":m={x:d,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:h};break;case"left":m={x:n.x-a.width,y:h};break;default:m={x:n.x,y:n.y}}switch(Qh(t)){case"start":m[o]-=f*(r&&u?-1:1);break;case"end":m[o]+=f*(r&&u?-1:1);break}return m}const gve=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:o}=r,s=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:h}=pO(u,n,l),f=n,m={},b=0;for(let y=0;y<s.length;y++){const{name:F,fn:x}=s[y],{x:E,y:C,data:_,reset:D}=await x({x:d,y:h,initialPlacement:n,placement:f,strategy:a,middlewareData:m,rects:u,platform:o,elements:{reference:e,floating:t}});d=E??d,h=C??h,m={...m,[F]:{...m[F],..._}},D&&b<=50&&(b++,typeof D=="object"&&(D.placement&&(f=D.placement),D.rects&&(u=D.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):D.rects),{x:d,y:h}=pO(u,f,l)),y=-1)}return{x:d,y:h,placement:f,strategy:a,middlewareData:m}};async function _m(e,t){var r;t===void 0&&(t={});const{x:n,y:a,platform:i,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:f=!1,padding:m=0}=dl(t,e),b=HX(m),F=s[f?h==="floating"?"reference":"floating":h],x=Zb(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(F)))==null||r?F:F.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),E=h==="floating"?{x:n,y:a,width:o.floating.width,height:o.floating.height}:o.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),_=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},D=Zb(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:E,offsetParent:C,strategy:l}):E);return{top:(x.top-D.top+b.top)/_.y,bottom:(D.bottom-x.bottom+b.bottom)/_.y,left:(x.left-D.left+b.left)/_.x,right:(D.right-x.right+b.right)/_.x}}const bve=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:i,platform:o,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=dl(e,t)||{};if(u==null)return{};const h=HX(d),f={x:r,y:n},m=RR(a),b=DR(m),y=await o.getDimensions(u),F=m==="y",x=F?"top":"left",E=F?"bottom":"right",C=F?"clientHeight":"clientWidth",_=i.reference[b]+i.reference[m]-f[m]-i.floating[b],D=f[m]-i.reference[m],w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let A=w?w[C]:0;(!A||!await(o.isElement==null?void 0:o.isElement(w)))&&(A=s.floating[C]||i.floating[b]);const I=_/2-D/2,M=A/2-y[b]/2-1,L=gu(h[x],M),U=gu(h[E],M),j=L,z=A-y[b]-U,V=A/2-y[b]/2+I,X=I_(j,V,z),q=!l.arrow&&Qh(a)!=null&&V!==X&&i.reference[b]/2-(V<j?L:U)-y[b]/2<0,W=q?V<j?V-j:V-z:0;return{[m]:f[m]+W,data:{[m]:X,centerOffset:V-X-W,...q&&{alignmentOffset:W}},reset:q}}}),yve=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:a,middlewareData:i,rects:o,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:y=!0,...F}=dl(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const x=hl(a),E=bu(s),C=hl(s)===s,_=await(l.isRTL==null?void 0:l.isRTL(u.floating)),D=f||(C||!y?[Jb(s)]:hve(s)),w=b!=="none";!f&&w&&D.push(...fve(s,y,b,_));const A=[s,...D],I=await _m(t,F),M=[];let L=((n=i.flip)==null?void 0:n.overflows)||[];if(d&&M.push(I[x]),h){const V=dve(a,o,_);M.push(I[V[0]],I[V[1]])}if(L=[...L,{placement:a,overflows:M}],!M.every(V=>V<=0)){var U,j;const V=(((U=i.flip)==null?void 0:U.index)||0)+1,X=A[V];if(X)return{data:{index:V,overflows:L},reset:{placement:X}};let q=(j=L.filter(W=>W.overflows[0]<=0).sort((W,B)=>W.overflows[1]-B.overflows[1])[0])==null?void 0:j.placement;if(!q)switch(m){case"bestFit":{var z;const W=(z=L.filter(B=>{if(w){const te=bu(B.placement);return te===E||te==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(te=>te>0).reduce((te,P)=>te+P,0)]).sort((B,te)=>B[1]-te[1])[0])==null?void 0:z[0];W&&(q=W);break}case"initialPlacement":q=s;break}if(a!==q)return{reset:{placement:q}}}return{}}}};function fO(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function mO(e){return lve.some(t=>e[t]>=0)}const vve=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...a}=dl(e,t);switch(n){case"referenceHidden":{const i=await _m(t,{...a,elementContext:"reference"}),o=fO(i,r.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:mO(o)}}}case"escaped":{const i=await _m(t,{...a,altBoundary:!0}),o=fO(i,r.floating);return{data:{escapedOffsets:o,escaped:mO(o)}}}default:return{}}}}};async function Fve(e,t){const{placement:r,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),o=hl(r),s=Qh(r),l=bu(r)==="y",u=["left","top"].includes(o)?-1:1,d=i&&l?-1:1,h=dl(t,e);let{mainAxis:f,crossAxis:m,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof b=="number"&&(m=s==="end"?b*-1:b),l?{x:m*d,y:f*u}:{x:f*u,y:m*d}}const Eve=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:a,y:i,placement:o,middlewareData:s}=t,l=await Fve(t,e);return o===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:o}}}}},Sve=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:s={fn:F=>{let{x,y:E}=F;return{x,y:E}}},...l}=dl(e,t),u={x:r,y:n},d=await _m(t,l),h=bu(hl(a)),f=_R(h);let m=u[f],b=u[h];if(i){const F=f==="y"?"top":"left",x=f==="y"?"bottom":"right",E=m+d[F],C=m-d[x];m=I_(E,m,C)}if(o){const F=h==="y"?"top":"left",x=h==="y"?"bottom":"right",E=b+d[F],C=b-d[x];b=I_(E,b,C)}const y=s.fn({...t,[f]:m,[h]:b});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[f]:i,[h]:o}}}}}},xve=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:a,rects:i,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=dl(e,t),d={x:r,y:n},h=bu(a),f=_R(h);let m=d[f],b=d[h];const y=dl(s,t),F=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const C=f==="y"?"height":"width",_=i.reference[f]-i.floating[C]+F.mainAxis,D=i.reference[f]+i.reference[C]-F.mainAxis;m<_?m=_:m>D&&(m=D)}if(u){var x,E;const C=f==="y"?"width":"height",_=["top","left"].includes(hl(a)),D=i.reference[h]-i.floating[C]+(_&&((x=o.offset)==null?void 0:x[h])||0)+(_?0:F.crossAxis),w=i.reference[h]+i.reference[C]+(_?0:((E=o.offset)==null?void 0:E[h])||0)-(_?F.crossAxis:0);b<D?b=D:b>w&&(b=w)}return{[f]:m,[h]:b}}}},wve=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:a,rects:i,platform:o,elements:s}=t,{apply:l=()=>{},...u}=dl(e,t),d=await _m(t,u),h=hl(a),f=Qh(a),m=bu(a)==="y",{width:b,height:y}=i.floating;let F,x;h==="top"||h==="bottom"?(F=h,x=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(x=h,F=f==="end"?"top":"bottom");const E=y-d.top-d.bottom,C=b-d.left-d.right,_=gu(y-d[F],E),D=gu(b-d[x],C),w=!t.middlewareData.shift;let A=_,I=D;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(I=C),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(A=E),w&&!f){const L=wi(d.left,0),U=wi(d.right,0),j=wi(d.top,0),z=wi(d.bottom,0);m?I=b-2*(L!==0||U!==0?L+U:wi(d.left,d.right)):A=y-2*(j!==0||z!==0?j+z:wi(d.top,d.bottom))}await l({...t,availableWidth:I,availableHeight:A});const M=await o.getDimensions(s.floating);return b!==M.width||y!==M.height?{reset:{rects:!0}}:{}}}};function Rv(){return typeof window<"u"}function ep(e){return UX(e)?(e.nodeName||"").toLowerCase():"#document"}function Ai(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function hs(e){var t;return(t=(UX(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function UX(e){return Rv()?e instanceof Node||e instanceof Ai(e).Node:!1}function Ao(e){return Rv()?e instanceof Element||e instanceof Ai(e).Element:!1}function is(e){return Rv()?e instanceof HTMLElement||e instanceof Ai(e).HTMLElement:!1}function gO(e){return!Rv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ai(e).ShadowRoot}function c0(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=_o(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function kve(e){return["table","td","th"].includes(ep(e))}function Nv(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function NR(e){const t=LR(),r=Ao(e)?_o(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Cve(e){let t=yu(e);for(;is(t)&&!Sh(t);){if(NR(t))return t;if(Nv(t))return null;t=yu(t)}return null}function LR(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Sh(e){return["html","body","#document"].includes(ep(e))}function _o(e){return Ai(e).getComputedStyle(e)}function Lv(e){return Ao(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yu(e){if(ep(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gO(e)&&e.host||hs(e);return gO(t)?t.host:t}function GX(e){const t=yu(e);return Sh(t)?e.ownerDocument?e.ownerDocument.body:e.body:is(t)&&c0(t)?t:GX(t)}function Dm(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=GX(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),o=Ai(a);if(i){const s=B_(o);return t.concat(o,o.visualViewport||[],c0(a)?a:[],s&&r?Dm(s):[])}return t.concat(a,Dm(a,[],r))}function B_(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $X(e){const t=_o(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=is(e),i=a?e.offsetWidth:r,o=a?e.offsetHeight:n,s=Xb(r)!==i||Xb(n)!==o;return s&&(r=i,n=o),{width:r,height:n,$:s}}function MR(e){return Ao(e)?e:e.contextElement}function oh(e){const t=MR(e);if(!is(t))return ns(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:i}=$X(t);let o=(i?Xb(r.width):r.width)/n,s=(i?Xb(r.height):r.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const Tve=ns(0);function jX(e){const t=Ai(e);return!LR()||!t.visualViewport?Tve:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ave(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ai(e)?!1:t}function Cc(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),i=MR(e);let o=ns(1);t&&(n?Ao(n)&&(o=oh(n)):o=oh(e));const s=Ave(i,r,n)?jX(i):ns(0);let l=(a.left+s.x)/o.x,u=(a.top+s.y)/o.y,d=a.width/o.x,h=a.height/o.y;if(i){const f=Ai(i),m=n&&Ao(n)?Ai(n):n;let b=f,y=B_(b);for(;y&&n&&m!==b;){const F=oh(y),x=y.getBoundingClientRect(),E=_o(y),C=x.left+(y.clientLeft+parseFloat(E.paddingLeft))*F.x,_=x.top+(y.clientTop+parseFloat(E.paddingTop))*F.y;l*=F.x,u*=F.y,d*=F.x,h*=F.y,l+=C,u+=_,b=Ai(y),y=B_(b)}}return Zb({width:d,height:h,x:l,y:u})}function IR(e,t){const r=Lv(e).scrollLeft;return t?t.left+r:Cc(hs(e)).left+r}function qX(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),a=n.left+t.scrollLeft-(r?0:IR(e,n)),i=n.top+t.scrollTop;return{x:a,y:i}}function _ve(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e;const i=a==="fixed",o=hs(n),s=t?Nv(t.floating):!1;if(n===o||s&&i)return r;let l={scrollLeft:0,scrollTop:0},u=ns(1);const d=ns(0),h=is(n);if((h||!h&&!i)&&((ep(n)!=="body"||c0(o))&&(l=Lv(n)),is(n))){const m=Cc(n);u=oh(n),d.x=m.x+n.clientLeft,d.y=m.y+n.clientTop}const f=o&&!h&&!i?qX(o,l,!0):ns(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+d.x+f.x,y:r.y*u.y-l.scrollTop*u.y+d.y+f.y}}function Dve(e){return Array.from(e.getClientRects())}function Rve(e){const t=hs(e),r=Lv(e),n=e.ownerDocument.body,a=wi(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=wi(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+IR(e);const s=-r.scrollTop;return _o(n).direction==="rtl"&&(o+=wi(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:o,y:s}}function Nve(e,t){const r=Ai(e),n=hs(e),a=r.visualViewport;let i=n.clientWidth,o=n.clientHeight,s=0,l=0;if(a){i=a.width,o=a.height;const u=LR();(!u||u&&t==="fixed")&&(s=a.offsetLeft,l=a.offsetTop)}return{width:i,height:o,x:s,y:l}}function Lve(e,t){const r=Cc(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=is(e)?oh(e):ns(1),o=e.clientWidth*i.x,s=e.clientHeight*i.y,l=a*i.x,u=n*i.y;return{width:o,height:s,x:l,y:u}}function bO(e,t,r){let n;if(t==="viewport")n=Nve(e,r);else if(t==="document")n=Rve(hs(e));else if(Ao(t))n=Lve(t,r);else{const a=jX(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Zb(n)}function WX(e,t){const r=yu(e);return r===t||!Ao(r)||Sh(r)?!1:_o(r).position==="fixed"||WX(r,t)}function Mve(e,t){const r=t.get(e);if(r)return r;let n=Dm(e,[],!1).filter(s=>Ao(s)&&ep(s)!=="body"),a=null;const i=_o(e).position==="fixed";let o=i?yu(e):e;for(;Ao(o)&&!Sh(o);){const s=_o(o),l=NR(o);!l&&s.position==="fixed"&&(a=null),(i?!l&&!a:!l&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||c0(o)&&!l&&WX(e,o))?n=n.filter(d=>d!==o):a=s,o=yu(o)}return t.set(e,n),n}function Ive(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const o=[...r==="clippingAncestors"?Nv(t)?[]:Mve(t,this._c):[].concat(r),n],s=o[0],l=o.reduce((u,d)=>{const h=bO(t,d,a);return u.top=wi(h.top,u.top),u.right=gu(h.right,u.right),u.bottom=gu(h.bottom,u.bottom),u.left=wi(h.left,u.left),u},bO(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ove(e){const{width:t,height:r}=$X(e);return{width:t,height:r}}function Bve(e,t,r){const n=is(t),a=hs(t),i=r==="fixed",o=Cc(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=ns(0);if(n||!n&&!i)if((ep(t)!=="body"||c0(a))&&(s=Lv(t)),n){const f=Cc(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else a&&(l.x=IR(a));const u=a&&!n&&!i?qX(a,s):ns(0),d=o.left+s.scrollLeft-l.x-u.x,h=o.top+s.scrollTop-l.y-u.y;return{x:d,y:h,width:o.width,height:o.height}}function RS(e){return _o(e).position==="static"}function yO(e,t){if(!is(e)||_o(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return hs(e)===r&&(r=r.ownerDocument.body),r}function VX(e,t){const r=Ai(e);if(Nv(e))return r;if(!is(e)){let a=yu(e);for(;a&&!Sh(a);){if(Ao(a)&&!RS(a))return a;a=yu(a)}return r}let n=yO(e,t);for(;n&&kve(n)&&RS(n);)n=yO(n,t);return n&&Sh(n)&&RS(n)&&!NR(n)?r:n||Cve(e)||r}const Pve=async function(e){const t=this.getOffsetParent||VX,r=this.getDimensions,n=await r(e.floating);return{reference:Bve(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function zve(e){return _o(e).direction==="rtl"}const Hve={convertOffsetParentRelativeRectToViewportRelativeRect:_ve,getDocumentElement:hs,getClippingRect:Ive,getOffsetParent:VX,getElementRects:Pve,getClientRects:Dve,getDimensions:Ove,getScale:oh,isElement:Ao,isRTL:zve};function KX(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Uve(e,t){let r=null,n;const a=hs(e);function i(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:d,top:h,width:f,height:m}=u;if(s||t(),!f||!m)return;const b=b1(h),y=b1(a.clientWidth-(d+f)),F=b1(a.clientHeight-(h+m)),x=b1(d),C={rootMargin:-b+"px "+-y+"px "+-F+"px "+-x+"px",threshold:wi(0,gu(1,l))||1};let _=!0;function D(w){const A=w[0].intersectionRatio;if(A!==l){if(!_)return o();A?o(!1,A):n=setTimeout(()=>{o(!1,1e-7)},1e3)}A===1&&!KX(u,e.getBoundingClientRect())&&o(),_=!1}try{r=new IntersectionObserver(D,{...C,root:a.ownerDocument})}catch{r=new IntersectionObserver(D,C)}r.observe(e)}return o(!0),i}function Gve(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=MR(e),d=a||i?[...u?Dm(u):[],...Dm(t)]:[];d.forEach(x=>{a&&x.addEventListener("scroll",r,{passive:!0}),i&&x.addEventListener("resize",r)});const h=u&&s?Uve(u,r):null;let f=-1,m=null;o&&(m=new ResizeObserver(x=>{let[E]=x;E&&E.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var C;(C=m)==null||C.observe(t)})),r()}),u&&!l&&m.observe(u),m.observe(t));let b,y=l?Cc(e):null;l&&F();function F(){const x=Cc(e);y&&!KX(y,x)&&r(),y=x,b=requestAnimationFrame(F)}return r(),()=>{var x;d.forEach(E=>{a&&E.removeEventListener("scroll",r),i&&E.removeEventListener("resize",r)}),h==null||h(),(x=m)==null||x.disconnect(),m=null,l&&cancelAnimationFrame(b)}}const $ve=Eve,jve=Sve,qve=yve,Wve=wve,Vve=vve,vO=bve,Kve=xve,Yve=(e,t,r)=>{const n=new Map,a={platform:Hve,...r},i={...a.platform,_c:n};return gve(e,t,{...a,platform:i})};var lb=typeof document<"u"?T.useLayoutEffect:T.useEffect;function Qb(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Qb(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){const i=a[n];if(!(i==="_owner"&&e.$$typeof)&&!Qb(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function YX(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function FO(e,t){const r=YX(e);return Math.round(t*r)/r}function NS(e){const t=T.useRef(e);return lb(()=>{t.current=e}),t}function Xve(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:i,floating:o}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[d,h]=T.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=T.useState(n);Qb(f,n)||m(n);const[b,y]=T.useState(null),[F,x]=T.useState(null),E=T.useCallback(B=>{B!==w.current&&(w.current=B,y(B))},[]),C=T.useCallback(B=>{B!==A.current&&(A.current=B,x(B))},[]),_=i||b,D=o||F,w=T.useRef(null),A=T.useRef(null),I=T.useRef(d),M=l!=null,L=NS(l),U=NS(a),j=NS(u),z=T.useCallback(()=>{if(!w.current||!A.current)return;const B={placement:t,strategy:r,middleware:f};U.current&&(B.platform=U.current),Yve(w.current,A.current,B).then(te=>{const P={...te,isPositioned:j.current!==!1};V.current&&!Qb(I.current,P)&&(I.current=P,o0.flushSync(()=>{h(P)}))})},[f,t,r,U,j]);lb(()=>{u===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,h(B=>({...B,isPositioned:!1})))},[u]);const V=T.useRef(!1);lb(()=>(V.current=!0,()=>{V.current=!1}),[]),lb(()=>{if(_&&(w.current=_),D&&(A.current=D),_&&D){if(L.current)return L.current(_,D,z);z()}},[_,D,z,L,M]);const X=T.useMemo(()=>({reference:w,floating:A,setReference:E,setFloating:C}),[E,C]),q=T.useMemo(()=>({reference:_,floating:D}),[_,D]),W=T.useMemo(()=>{const B={position:r,left:0,top:0};if(!q.floating)return B;const te=FO(q.floating,d.x),P=FO(q.floating,d.y);return s?{...B,transform:"translate("+te+"px, "+P+"px)",...YX(q.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:te,top:P}},[r,s,q.floating,d.x,d.y]);return T.useMemo(()=>({...d,update:z,refs:X,elements:q,floatingStyles:W}),[d,z,X,q,W])}const Jve=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:a}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?vO({element:n.current,padding:a}).fn(r):{}:n?vO({element:n,padding:a}).fn(r):{}}}},Zve=(e,t)=>({...$ve(e),options:[e,t]}),Qve=(e,t)=>({...jve(e),options:[e,t]}),e2e=(e,t)=>({...Kve(e),options:[e,t]}),t2e=(e,t)=>({...qve(e),options:[e,t]}),r2e=(e,t)=>({...Wve(e),options:[e,t]}),n2e=(e,t)=>({...Vve(e),options:[e,t]}),a2e=(e,t)=>({...Jve(e),options:[e,t]});var i2e="Arrow",XX=T.forwardRef((e,t)=>{const{children:r,width:n=10,height:a=5,...i}=e;return S.jsx(Kt.svg,{...i,ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});XX.displayName=i2e;var o2e=XX;function JX(e){const[t,r]=T.useState(void 0);return Da(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let o,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,s=u.blockSize}else o=e.offsetWidth,s=e.offsetHeight;r({width:o,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var OR="Popper",[ZX,tp]=Ro(OR),[s2e,QX]=ZX(OR),eJ=e=>{const{__scopePopper:t,children:r}=e,[n,a]=T.useState(null);return S.jsx(s2e,{scope:t,anchor:n,onAnchorChange:a,children:r})};eJ.displayName=OR;var tJ="PopperAnchor",rJ=T.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...a}=e,i=QX(tJ,r),o=T.useRef(null),s=_r(t,o);return T.useEffect(()=>{i.onAnchorChange((n==null?void 0:n.current)||o.current)}),n?null:S.jsx(Kt.div,{...a,ref:s})});rJ.displayName=tJ;var BR="PopperContent",[l2e,u2e]=ZX(BR),nJ=T.forwardRef((e,t)=>{var ie,ue,Ne,pe,Le,Me;const{__scopePopper:r,side:n="bottom",sideOffset:a=0,align:i="center",alignOffset:o=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:b,...y}=e,F=QX(BR,r),[x,E]=T.useState(null),C=_r(t,Ee=>E(Ee)),[_,D]=T.useState(null),w=JX(_),A=(w==null?void 0:w.width)??0,I=(w==null?void 0:w.height)??0,M=n+(i!=="center"?"-"+i:""),L=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},U=Array.isArray(u)?u:[u],j=U.length>0,z={padding:L,boundary:U.filter(d2e),altBoundary:j},{refs:V,floatingStyles:X,placement:q,isPositioned:W,middlewareData:B}=Xve({strategy:"fixed",placement:M,whileElementsMounted:(...Ee)=>Gve(...Ee,{animationFrame:m==="always"}),elements:{reference:F.anchor},middleware:[Zve({mainAxis:a+I,alignmentAxis:o}),l&&Qve({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?e2e():void 0,...z}),l&&t2e({...z}),r2e({...z,apply:({elements:Ee,rects:Te,availableWidth:Re,availableHeight:fe})=>{const{width:Ze,height:yt}=Te.reference,qe=Ee.floating.style;qe.setProperty("--radix-popper-available-width",`${Re}px`),qe.setProperty("--radix-popper-available-height",`${fe}px`),qe.setProperty("--radix-popper-anchor-width",`${Ze}px`),qe.setProperty("--radix-popper-anchor-height",`${yt}px`)}}),_&&a2e({element:_,padding:s}),h2e({arrowWidth:A,arrowHeight:I}),f&&n2e({strategy:"referenceHidden",...z})]}),[te,P]=oJ(q),Z=fa(b);Da(()=>{W&&(Z==null||Z())},[W,Z]);const K=(ie=B.arrow)==null?void 0:ie.x,G=(ue=B.arrow)==null?void 0:ue.y,ne=((Ne=B.arrow)==null?void 0:Ne.centerOffset)!==0,[oe,de]=T.useState();return Da(()=>{x&&de(window.getComputedStyle(x).zIndex)},[x]),S.jsx("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:W?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[(pe=B.transformOrigin)==null?void 0:pe.x,(Le=B.transformOrigin)==null?void 0:Le.y].join(" "),...((Me=B.hide)==null?void 0:Me.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(l2e,{scope:r,placedSide:te,onArrowChange:D,arrowX:K,arrowY:G,shouldHideArrow:ne,children:S.jsx(Kt.div,{"data-side":te,"data-align":P,...y,ref:C,style:{...y.style,animation:W?void 0:"none"}})})})});nJ.displayName=BR;var aJ="PopperArrow",c2e={top:"bottom",right:"left",bottom:"top",left:"right"},iJ=T.forwardRef(function(t,r){const{__scopePopper:n,...a}=t,i=u2e(aJ,n),o=c2e[i.placedSide];return S.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:S.jsx(o2e,{...a,ref:r,style:{...a.style,display:"block"}})})});iJ.displayName=aJ;function d2e(e){return e!==null}var h2e=e=>({name:"transformOrigin",options:e,fn(t){var F,x,E;const{placement:r,rects:n,middlewareData:a}=t,o=((F=a.arrow)==null?void 0:F.centerOffset)!==0,s=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,d]=oJ(r),h={start:"0%",center:"50%",end:"100%"}[d],f=(((x=a.arrow)==null?void 0:x.x)??0)+s/2,m=(((E=a.arrow)==null?void 0:E.y)??0)+l/2;let b="",y="";return u==="bottom"?(b=o?h:`${f}px`,y=`${-l}px`):u==="top"?(b=o?h:`${f}px`,y=`${n.floating.height+l}px`):u==="right"?(b=`${-l}px`,y=o?h:`${m}px`):u==="left"&&(b=`${n.floating.width+l}px`,y=o?h:`${m}px`),{data:{x:b,y}}}});function oJ(e){const[t,r="center"]=e.split("-");return[t,r]}var PR=eJ,Mv=rJ,zR=nJ,HR=iJ,p2e="VisuallyHidden",UR=T.forwardRef((e,t)=>S.jsx(Kt.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));UR.displayName=p2e;var f2e=UR,[Iv,Wut]=Ro("Tooltip",[tp]),Ov=tp(),sJ="TooltipProvider",m2e=700,P_="tooltip.open",[g2e,GR]=Iv(sJ),lJ=e=>{const{__scopeTooltip:t,delayDuration:r=m2e,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:i}=e,[o,s]=T.useState(!0),l=T.useRef(!1),u=T.useRef(0);return T.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),S.jsx(g2e,{scope:t,isOpenDelayed:o,delayDuration:r,onOpen:T.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:T.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:T.useCallback(d=>{l.current=d},[]),disableHoverableContent:a,children:i})};lJ.displayName=sJ;var Bv="Tooltip",[b2e,Pv]=Iv(Bv),uJ=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a=!1,onOpenChange:i,disableHoverableContent:o,delayDuration:s}=e,l=GR(Bv,e.__scopeTooltip),u=Ov(t),[d,h]=T.useState(null),f=Aa(),m=T.useRef(0),b=o??l.disableHoverableContent,y=s??l.delayDuration,F=T.useRef(!1),[x=!1,E]=cl({prop:n,defaultProp:a,onChange:A=>{A?(l.onOpen(),document.dispatchEvent(new CustomEvent(P_))):l.onClose(),i==null||i(A)}}),C=T.useMemo(()=>x?F.current?"delayed-open":"instant-open":"closed",[x]),_=T.useCallback(()=>{window.clearTimeout(m.current),m.current=0,F.current=!1,E(!0)},[E]),D=T.useCallback(()=>{window.clearTimeout(m.current),m.current=0,E(!1)},[E]),w=T.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{F.current=!0,E(!0),m.current=0},y)},[y,E]);return T.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),S.jsx(PR,{...u,children:S.jsx(b2e,{scope:t,contentId:f,open:x,stateAttribute:C,trigger:d,onTriggerChange:h,onTriggerEnter:T.useCallback(()=>{l.isOpenDelayed?w():_()},[l.isOpenDelayed,w,_]),onTriggerLeave:T.useCallback(()=>{b?D():(window.clearTimeout(m.current),m.current=0)},[D,b]),onOpen:_,onClose:D,disableHoverableContent:b,children:r})})};uJ.displayName=Bv;var z_="TooltipTrigger",cJ=T.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Pv(z_,r),i=GR(z_,r),o=Ov(r),s=T.useRef(null),l=_r(t,s,a.onTriggerChange),u=T.useRef(!1),d=T.useRef(!1),h=T.useCallback(()=>u.current=!1,[]);return T.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),S.jsx(Mv,{asChild:!0,...o,children:S.jsx(Kt.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:l,onPointerMove:Gt(e.onPointerMove,f=>{f.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(a.onTriggerEnter(),d.current=!0)}),onPointerLeave:Gt(e.onPointerLeave,()=>{a.onTriggerLeave(),d.current=!1}),onPointerDown:Gt(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:Gt(e.onFocus,()=>{u.current||a.onOpen()}),onBlur:Gt(e.onBlur,a.onClose),onClick:Gt(e.onClick,a.onClose)})})});cJ.displayName=z_;var y2e="TooltipPortal",[Vut,v2e]=Iv(y2e,{forceMount:void 0}),xh="TooltipContent",dJ=T.forwardRef((e,t)=>{const r=v2e(xh,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...i}=e,o=Pv(xh,e.__scopeTooltip);return S.jsx(Li,{present:n||o.open,children:o.disableHoverableContent?S.jsx(hJ,{side:a,...i,ref:t}):S.jsx(F2e,{side:a,...i,ref:t})})}),F2e=T.forwardRef((e,t)=>{const r=Pv(xh,e.__scopeTooltip),n=GR(xh,e.__scopeTooltip),a=T.useRef(null),i=_r(t,a),[o,s]=T.useState(null),{trigger:l,onClose:u}=r,d=a.current,{onPointerInTransitChange:h}=n,f=T.useCallback(()=>{s(null),h(!1)},[h]),m=T.useCallback((b,y)=>{const F=b.currentTarget,x={x:b.clientX,y:b.clientY},E=w2e(x,F.getBoundingClientRect()),C=k2e(x,E),_=C2e(y.getBoundingClientRect()),D=A2e([...C,..._]);s(D),h(!0)},[h]);return T.useEffect(()=>()=>f(),[f]),T.useEffect(()=>{if(l&&d){const b=F=>m(F,d),y=F=>m(F,l);return l.addEventListener("pointerleave",b),d.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",y)}}},[l,d,m,f]),T.useEffect(()=>{if(o){const b=y=>{const F=y.target,x={x:y.clientX,y:y.clientY},E=(l==null?void 0:l.contains(F))||(d==null?void 0:d.contains(F)),C=!T2e(x,o);E?f():C&&(f(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,d,o,u,f]),S.jsx(hJ,{...e,ref:i})}),[E2e,S2e]=Iv(Bv,{isInside:!1}),hJ=T.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:o,...s}=e,l=Pv(xh,r),u=Ov(r),{onClose:d}=l;return T.useEffect(()=>(document.addEventListener(P_,d),()=>document.removeEventListener(P_,d)),[d]),T.useEffect(()=>{if(l.trigger){const h=f=>{const m=f.target;m!=null&&m.contains(l.trigger)&&d()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,d]),S.jsx(u0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:h=>h.preventDefault(),onDismiss:d,children:S.jsxs(zR,{"data-state":l.stateAttribute,...u,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[S.jsx(bR,{children:n}),S.jsx(E2e,{scope:r,isInside:!0,children:S.jsx(f2e,{id:l.contentId,role:"tooltip",children:a||n})})]})})});dJ.displayName=xh;var pJ="TooltipArrow",x2e=T.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Ov(r);return S2e(pJ,r).isInside?null:S.jsx(HR,{...a,...n,ref:t})});x2e.displayName=pJ;function w2e(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,a,i)){case i:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function k2e(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function C2e(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function T2e(e,t){const{x:r,y:n}=e;let a=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const s=t[i].x,l=t[i].y,u=t[o].x,d=t[o].y;l>n!=d>n&&r<(u-s)*(n-l)/(d-l)+s&&(a=!a)}return a}function A2e(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),_2e(t)}function _2e(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const a=e[n];for(;t.length>=2;){const i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(a.y-o.y)>=(i.y-o.y)*(a.x-o.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const i=r[r.length-1],o=r[r.length-2];if((i.x-o.x)*(a.y-o.y)>=(i.y-o.y)*(a.x-o.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var D2e=lJ,R2e=uJ,N2e=cJ,fJ=dJ;const Ea=D2e,Sa=R2e,xa=N2e,L2e=e=>typeof e!="string"?e:S.jsx("div",{className:"relative top-0 pt-1 whitespace-pre-wrap break-words",children:e}),da=T.forwardRef(({className:e,side:t="left",align:r="start",children:n,...a},i)=>{const o=T.useRef(null);return T.useEffect(()=>{o.current&&(o.current.scrollTop=0)},[n]),S.jsx(fJ,{ref:i,side:t,align:r,className:ut("bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-[60vh] overflow-y-auto whitespace-pre-wrap break-words rounded-md border px-3 py-2 text-sm shadow-md z-60",e),...a,children:typeof n=="string"?L2e(n):n})});da.displayName=fJ.displayName;const ey=sve("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"size-8"}},defaultVariants:{variant:"default",size:"default"}}),Ot=T.forwardRef(({className:e,variant:t,tooltip:r,size:n,side:a="right",asChild:i=!1,...o},s)=>{const l=i?mu:"button";return r?S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx(l,{className:ut(ey({variant:t,size:n,className:e}),"cursor-pointer"),ref:s,...o})}),S.jsx(da,{side:a,children:r})]})}):S.jsx(l,{className:ut(ey({variant:t,size:n,className:e}),"cursor-pointer"),ref:s,...o})});Ot.displayName="Button";const M2e=ive,I2e=ove,mJ=T.forwardRef(({className:e,...t},r)=>S.jsx(MX,{className:ut("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t,ref:r}));mJ.displayName=MX.displayName;const gJ=T.forwardRef(({className:e,...t},r)=>S.jsxs(I2e,{children:[S.jsx(mJ,{}),S.jsx(IX,{ref:r,className:ut("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",e),...t})]}));gJ.displayName=IX.displayName;const bJ=({className:e,...t})=>S.jsx("div",{className:ut("flex flex-col space-y-2 text-center sm:text-left",e),...t});bJ.displayName="AlertDialogHeader";const yJ=T.forwardRef(({className:e,...t},r)=>S.jsx(PX,{ref:r,className:ut("text-lg font-semibold",e),...t}));yJ.displayName=PX.displayName;const vJ=T.forwardRef(({className:e,...t},r)=>S.jsx(zX,{ref:r,className:ut("text-muted-foreground text-sm",e),...t}));vJ.displayName=zX.displayName;const O2e=T.forwardRef(({className:e,...t},r)=>S.jsx(OX,{ref:r,className:ut(ey(),e),...t}));O2e.displayName=OX.displayName;const B2e=T.forwardRef(({className:e,...t},r)=>S.jsx(BX,{ref:r,className:ut(ey({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));B2e.displayName=BX.displayName;const ea=T.forwardRef(({className:e,type:t,...r},n)=>S.jsx("input",{type:t,className:ut("border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm [&::-webkit-inner-spin-button]:opacity-50 [&::-webkit-outer-spin-button]:opacity-50",e),ref:n,...r}));ea.displayName="Input";const P2e=({open:e,onOpenChange:t})=>{const{t:r}=Er(),n=rt.use.apiKey(),[a,i]=T.useState(""),o=Mn.use.message();T.useEffect(()=>{i(n||"")},[n,e]),T.useEffect(()=>{o&&(o.includes(MY)||o.includes(IY))&&t(!0)},[o,t]);const s=T.useCallback(()=>{rt.setState({apiKey:a||null}),t(!1)},[a,t]),l=T.useCallback(u=>{i(u.target.value)},[i]);return S.jsx(M2e,{open:e,onOpenChange:t,children:S.jsxs(gJ,{children:[S.jsxs(bJ,{children:[S.jsx(yJ,{children:r("apiKeyAlert.title")}),S.jsx(vJ,{children:r("apiKeyAlert.description")})]}),S.jsxs("div",{className:"flex flex-col gap-4",children:[S.jsxs("form",{className:"flex gap-2",onSubmit:u=>u.preventDefault(),children:[S.jsx(ea,{type:"password",value:a,onChange:l,placeholder:r("apiKeyAlert.placeholder"),className:"max-h-full w-full min-w-0",autoComplete:"off"}),S.jsx(Ot,{onClick:s,variant:"outline",size:"sm",children:r("apiKeyAlert.save")})]}),o&&S.jsx("div",{className:"text-sm text-red-500",children:o})]})]})})};/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const z2e=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),FJ=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var H2e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const U2e=T.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:i,iconNode:o,...s},l)=>T.createElement("svg",{ref:l,...H2e,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:FJ("lucide",a),...s},[...o.map(([u,d])=>T.createElement(u,d)),...Array.isArray(i)?i:[i]]));/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Zt=(e,t)=>{const r=T.forwardRef(({className:n,...a},i)=>T.createElement(U2e,{ref:i,iconNode:t,className:FJ(`lucide-${z2e(e)}`,n),...a}));return r.displayName=`${e}`,r};/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const G2e=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],$2e=Zt("Activity",G2e);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const j2e=[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],q2e=Zt("AlignCenter",j2e);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const W2e=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],V2e=Zt("AlignLeft",W2e);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const K2e=[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Y2e=Zt("AlignRight",K2e);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const X2e=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],LS=Zt("ArrowDown",X2e);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const J2e=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],MS=Zt("ArrowUp",J2e);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Z2e=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Q2e=Zt("BookOpen",Z2e);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const eFe=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],$R=Zt("Check",eFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const tFe=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],zv=Zt("ChevronDown",tFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rFe=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],EO=Zt("ChevronLeft",rFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const nFe=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],SO=Zt("ChevronRight",nFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const aFe=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],iFe=Zt("ChevronUp",aFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const oFe=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],sFe=Zt("ChevronsLeft",oFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const lFe=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],uFe=Zt("ChevronsRight",lFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const cFe=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],dFe=Zt("ChevronsUpDown",cFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const hFe=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],xO=Zt("Copy",hFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const pFe=[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]],EJ=Zt("Eraser",pFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const fFe=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],SJ=Zt("FileText",fFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const mFe=[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]],gFe=Zt("Files",mFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const bFe=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{width:"10",height:"8",x:"7",y:"8",rx:"1",key:"vys8me"}]],yFe=Zt("Fullscreen",bFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const vFe=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],FFe=Zt("GitBranchPlus",vFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const EFe=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],SFe=Zt("Github",EFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const xFe=[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"19",cy:"5",r:"1",key:"w8mnmm"}],["circle",{cx:"5",cy:"5",r:"1",key:"lttvr7"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}],["circle",{cx:"19",cy:"19",r:"1",key:"shf9b7"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],wFe=Zt("Grip",xFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const kFe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],CFe=Zt("Info",kFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const TFe=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],jR=Zt("LoaderCircle",TFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const AFe=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],wO=Zt("Loader",AFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const _Fe=[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]],DFe=Zt("LogOut",_Fe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const RFe=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]],NFe=Zt("Maximize",RFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const LFe=[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]],MFe=Zt("Minimize",LFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const IFe=[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]],OFe=Zt("Palette",IFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const BFe=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],PFe=Zt("Pause",BFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const zFe=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],HFe=Zt("Pencil",zFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const UFe=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],GFe=Zt("Play",UFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $Fe=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],xJ=Zt("RefreshCw",$Fe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const jFe=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],ty=Zt("RotateCcw",jFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const qFe=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],WFe=Zt("RotateCw",qFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const VFe=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],KFe=Zt("Scissors",VFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const YFe=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],XFe=Zt("Search",YFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const JFe=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],ZFe=Zt("Send",JFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const QFe=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],eEe=Zt("Settings",QFe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const tEe=[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],kO=Zt("SquareCheckBig",tEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rEe=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]],nEe=Zt("Trash",rEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const aEe=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],qR=Zt("TriangleAlert",aEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const iEe=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],wJ=Zt("Undo2",iEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const oEe=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],H_=Zt("Upload",oEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const sEe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Hv=Zt("X",sEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const lEe=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],WR=Zt("Zap",lEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const uEe=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],cEe=Zt("ZoomIn",uEe);/**
|
||
* @license lucide-react v0.475.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const dEe=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],hEe=Zt("ZoomOut",dEe),rp=wR,VR=EX,pEe=kR,kJ=T.forwardRef(({className:e,...t},r)=>S.jsx(_v,{ref:r,className:ut("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/30",e),...t}));kJ.displayName=_v.displayName;const qc=T.forwardRef(({className:e,children:t,...r},n)=>S.jsxs(pEe,{children:[S.jsx(kJ,{}),S.jsxs(Dv,{ref:n,className:ut("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",e),...r,children:[t,S.jsxs(AR,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",children:[S.jsx(Hv,{className:"h-4 w-4"}),S.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));qc.displayName=Dv.displayName;const Wc=({className:e,...t})=>S.jsx("div",{className:ut("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Wc.displayName="DialogHeader";const Uv=({className:e,...t})=>S.jsx("div",{className:ut("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Uv.displayName="DialogFooter";const Vc=T.forwardRef(({className:e,...t},r)=>S.jsx(CR,{ref:r,className:ut("text-lg leading-none font-semibold tracking-tight",e),...t}));Vc.displayName=CR.displayName;const Kc=T.forwardRef(({className:e,...t},r)=>S.jsx(TR,{ref:r,className:ut("text-muted-foreground text-sm",e),...t}));Kc.displayName=TR.displayName;const fEe=({status:e})=>{const{t}=Er();return e?S.jsxs("div",{className:"min-w-[300px] space-y-2 text-xs",children:[S.jsxs("div",{className:"space-y-1",children:[S.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.serverInfo")}),S.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[S.jsxs("span",{children:[t("graphPanel.statusCard.workingDirectory"),":"]}),S.jsx("span",{className:"truncate",children:e.working_directory}),S.jsxs("span",{children:[t("graphPanel.statusCard.inputDirectory"),":"]}),S.jsx("span",{className:"truncate",children:e.input_directory}),S.jsxs("span",{children:[t("graphPanel.statusCard.summarySettings"),":"]}),S.jsxs("span",{children:[e.configuration.summary_language," / LLM summary on ",e.configuration.force_llm_summary_on_merge.toString()," fragments"]}),S.jsxs("span",{children:[t("graphPanel.statusCard.threshold"),":"]}),S.jsxs("span",{children:["cosine ",e.configuration.cosine_threshold," / rerank_score ",e.configuration.min_rerank_score," / max_related ",e.configuration.related_chunk_number]}),S.jsxs("span",{children:[t("graphPanel.statusCard.maxParallelInsert"),":"]}),S.jsx("span",{children:e.configuration.max_parallel_insert})]})]}),S.jsxs("div",{className:"space-y-1",children:[S.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.llmConfig")}),S.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[S.jsxs("span",{children:[t("graphPanel.statusCard.llmBindingHost"),":"]}),S.jsx("span",{children:e.configuration.llm_binding_host}),S.jsxs("span",{children:[t("graphPanel.statusCard.llmModel"),":"]}),S.jsxs("span",{children:[e.configuration.llm_binding,": ",e.configuration.llm_model," (#",e.configuration.max_async," Async)"]})]})]}),S.jsxs("div",{className:"space-y-1",children:[S.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.embeddingConfig")}),S.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[S.jsxs("span",{children:[t("graphPanel.statusCard.embeddingBindingHost"),":"]}),S.jsx("span",{children:e.configuration.embedding_binding_host}),S.jsxs("span",{children:[t("graphPanel.statusCard.embeddingModel"),":"]}),S.jsxs("span",{children:[e.configuration.embedding_binding,": ",e.configuration.embedding_model," (#",e.configuration.embedding_func_max_async," Async * ",e.configuration.embedding_batch_num," batches)"]})]})]}),e.configuration.enable_rerank&&S.jsxs("div",{className:"space-y-1",children:[S.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.rerankerConfig")}),S.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[S.jsxs("span",{children:[t("graphPanel.statusCard.rerankerBindingHost"),":"]}),S.jsx("span",{children:e.configuration.rerank_binding_host||"-"}),S.jsxs("span",{children:[t("graphPanel.statusCard.rerankerModel"),":"]}),S.jsxs("span",{children:[e.configuration.rerank_binding||"-"," : ",e.configuration.rerank_model||"-"]})]})]}),S.jsxs("div",{className:"space-y-1",children:[S.jsx("h4",{className:"font-medium",children:t("graphPanel.statusCard.storageConfig")}),S.jsxs("div",{className:"text-foreground grid grid-cols-[160px_1fr] gap-1",children:[S.jsxs("span",{children:[t("graphPanel.statusCard.kvStorage"),":"]}),S.jsx("span",{children:e.configuration.kv_storage}),S.jsxs("span",{children:[t("graphPanel.statusCard.docStatusStorage"),":"]}),S.jsx("span",{children:e.configuration.doc_status_storage}),S.jsxs("span",{children:[t("graphPanel.statusCard.graphStorage"),":"]}),S.jsx("span",{children:e.configuration.graph_storage}),S.jsxs("span",{children:[t("graphPanel.statusCard.vectorStorage"),":"]}),S.jsx("span",{children:e.configuration.vector_storage}),S.jsxs("span",{children:[t("graphPanel.statusCard.workspace"),":"]}),S.jsx("span",{children:e.configuration.workspace||"-"}),S.jsxs("span",{children:[t("graphPanel.statusCard.maxGraphNodes"),":"]}),S.jsx("span",{children:e.configuration.max_graph_nodes||"-"}),e.keyed_locks&&S.jsxs(S.Fragment,{children:[S.jsxs("span",{children:[t("graphPanel.statusCard.lockStatus"),":"]}),S.jsxs("span",{children:["mp ",e.keyed_locks.current_status.pending_mp_cleanup,"/",e.keyed_locks.current_status.total_mp_locks," | async ",e.keyed_locks.current_status.pending_async_cleanup,"/",e.keyed_locks.current_status.total_async_locks,"(pid: ",e.keyed_locks.process_id,")"]})]})]})]})]}):S.jsx("div",{className:"text-foreground text-xs",children:t("graphPanel.statusCard.unavailable")})},mEe=({open:e,onOpenChange:t,status:r})=>{const{t:n}=Er();return S.jsx(rp,{open:e,onOpenChange:t,children:S.jsxs(qc,{className:"sm:max-w-[700px]",children:[S.jsxs(Wc,{children:[S.jsx(Vc,{children:n("graphPanel.statusDialog.title")}),S.jsx(Kc,{children:n("graphPanel.statusDialog.description")})]}),S.jsx(fEe,{status:r})]})})},gEe=()=>{const{t:e}=Er(),t=Mn.use.health(),r=Mn.use.lastCheckTime(),n=Mn.use.status(),[a,i]=T.useState(!1),[o,s]=T.useState(!1);return T.useEffect(()=>{i(!0);const l=setTimeout(()=>i(!1),300);return()=>clearTimeout(l)},[r]),S.jsxs("div",{className:"fixed right-4 bottom-4 flex items-center gap-2 opacity-80 select-none",children:[S.jsxs("div",{className:"flex cursor-pointer items-center gap-2",onClick:()=>s(!0),children:[S.jsx("div",{className:ut("h-3 w-3 rounded-full transition-all duration-300","shadow-[0_0_8px_rgba(0,0,0,0.2)]",t?"bg-green-500":"bg-red-500",a&&"scale-125",a&&t&&"shadow-[0_0_12px_rgba(34,197,94,0.4)]",a&&!t&&"shadow-[0_0_12px_rgba(239,68,68,0.4)]")}),S.jsx("span",{className:"text-muted-foreground text-xs",children:e(t?"graphPanel.statusIndicator.connected":"graphPanel.statusIndicator.disconnected")})]}),S.jsx(mEe,{open:o,onOpenChange:s,status:n})]})};var KR="Popover",[CJ,Kut]=Ro(KR,[tp]),d0=tp(),[bEe,wu]=CJ(KR),TJ=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:a,onOpenChange:i,modal:o=!1}=e,s=d0(t),l=T.useRef(null),[u,d]=T.useState(!1),[h=!1,f]=cl({prop:n,defaultProp:a,onChange:i});return S.jsx(PR,{...s,children:S.jsx(bEe,{scope:t,contentId:Aa(),triggerRef:l,open:h,onOpenChange:f,onOpenToggle:T.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:u,onCustomAnchorAdd:T.useCallback(()=>d(!0),[]),onCustomAnchorRemove:T.useCallback(()=>d(!1),[]),modal:o,children:r})})};TJ.displayName=KR;var AJ="PopoverAnchor",yEe=T.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=wu(AJ,r),i=d0(r),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=a;return T.useEffect(()=>(o(),()=>s()),[o,s]),S.jsx(Mv,{...i,...n,ref:t})});yEe.displayName=AJ;var _J="PopoverTrigger",DJ=T.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=wu(_J,r),i=d0(r),o=_r(t,a.triggerRef),s=S.jsx(Kt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":IJ(a.open),...n,ref:o,onClick:Gt(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?s:S.jsx(Mv,{asChild:!0,...i,children:s})});DJ.displayName=_J;var YR="PopoverPortal",[vEe,FEe]=CJ(YR,{forceMount:void 0}),RJ=e=>{const{__scopePopover:t,forceMount:r,children:n,container:a}=e,i=wu(YR,t);return S.jsx(vEe,{scope:t,forceMount:r,children:S.jsx(Li,{present:r||i.open,children:S.jsx(Cv,{asChild:!0,container:a,children:n})})})};RJ.displayName=YR;var wh="PopoverContent",NJ=T.forwardRef((e,t)=>{const r=FEe(wh,e.__scopePopover),{forceMount:n=r.forceMount,...a}=e,i=wu(wh,e.__scopePopover);return S.jsx(Li,{present:n||i.open,children:i.modal?S.jsx(EEe,{...a,ref:t}):S.jsx(SEe,{...a,ref:t})})});NJ.displayName=wh;var EEe=T.forwardRef((e,t)=>{const r=wu(wh,e.__scopePopover),n=T.useRef(null),a=_r(t,n),i=T.useRef(!1);return T.useEffect(()=>{const o=n.current;if(o)return vR(o)},[]),S.jsx(Av,{as:mu,allowPinchZoom:!0,children:S.jsx(LJ,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Gt(e.onCloseAutoFocus,o=>{var s;o.preventDefault(),i.current||(s=r.triggerRef.current)==null||s.focus()}),onPointerDownOutside:Gt(e.onPointerDownOutside,o=>{const s=o.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Gt(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})})}),SEe=T.forwardRef((e,t)=>{const r=wu(wh,e.__scopePopover),n=T.useRef(!1),a=T.useRef(!1);return S.jsx(LJ,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,s;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(n.current||(s=r.triggerRef.current)==null||s.focus(),i.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=i.target;((u=r.triggerRef.current)==null?void 0:u.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&a.current&&i.preventDefault()}})}),LJ=T.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...h}=e,f=wu(wh,r),m=d0(r);return yR(),S.jsx(kv,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:i,children:S.jsx(u0,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:S.jsx(zR,{"data-state":IJ(f.open),role:"dialog",id:f.contentId,...m,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),MJ="PopoverClose",xEe=T.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=wu(MJ,r);return S.jsx(Kt.button,{type:"button",...n,ref:t,onClick:Gt(e.onClick,()=>a.onOpenChange(!1))})});xEe.displayName=MJ;var wEe="PopoverArrow",kEe=T.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,a=d0(r);return S.jsx(HR,{...a,...n,ref:t})});kEe.displayName=wEe;function IJ(e){return e?"open":"closed"}var CEe=TJ,TEe=DJ,AEe=RJ,OJ=NJ;const Gv=CEe,$v=TEe,h0=T.forwardRef(({className:e,align:t="center",sideOffset:r=4,collisionPadding:n,sticky:a,avoidCollisions:i=!1,...o},s)=>S.jsx(AEe,{children:S.jsx(OJ,{ref:s,align:t,sideOffset:r,collisionPadding:n,sticky:a,avoidCollisions:i,className:ut("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 rounded-md border p-4 shadow-md outline-none",e),...o})}));h0.displayName=OJ.displayName;function U_(e,[t,r]){return Math.min(r,Math.max(t,e))}function BJ(e){const t=e+"CollectionProvider",[r,n]=Ro(t),[a,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),o=m=>{const{scope:b,children:y}=m,F=Ge.useRef(null),x=Ge.useRef(new Map).current;return S.jsx(a,{scope:b,itemMap:x,collectionRef:F,children:y})};o.displayName=t;const s=e+"CollectionSlot",l=Ge.forwardRef((m,b)=>{const{scope:y,children:F}=m,x=i(s,y),E=_r(b,x.collectionRef);return S.jsx(mu,{ref:E,children:F})});l.displayName=s;const u=e+"CollectionItemSlot",d="data-radix-collection-item",h=Ge.forwardRef((m,b)=>{const{scope:y,children:F,...x}=m,E=Ge.useRef(null),C=_r(b,E),_=i(u,y);return Ge.useEffect(()=>(_.itemMap.set(E,{ref:E,...x}),()=>void _.itemMap.delete(E))),S.jsx(mu,{[d]:"",ref:C,children:F})});h.displayName=u;function f(m){const b=i(e+"CollectionConsumer",m);return Ge.useCallback(()=>{const F=b.collectionRef.current;if(!F)return[];const x=Array.from(F.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((_,D)=>x.indexOf(_.ref.current)-x.indexOf(D.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:l,ItemSlot:h},f,n]}var _Ee=T.createContext(void 0);function jv(e){const t=T.useContext(_Ee);return e||t||"ltr"}function PJ(e){const t=T.useRef({value:e,previous:e});return T.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var DEe=[" ","Enter","ArrowUp","ArrowDown"],REe=[" ","Enter"],p0="Select",[qv,Wv,NEe]=BJ(p0),[np,Yut]=Ro(p0,[NEe,tp]),Vv=tp(),[LEe,ku]=np(p0),[MEe,IEe]=np(p0),zJ=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:a,onOpenChange:i,value:o,defaultValue:s,onValueChange:l,dir:u,name:d,autoComplete:h,disabled:f,required:m,form:b}=e,y=Vv(t),[F,x]=T.useState(null),[E,C]=T.useState(null),[_,D]=T.useState(!1),w=jv(u),[A=!1,I]=cl({prop:n,defaultProp:a,onChange:i}),[M,L]=cl({prop:o,defaultProp:s,onChange:l}),U=T.useRef(null),j=F?b||!!F.closest("form"):!0,[z,V]=T.useState(new Set),X=Array.from(z).map(q=>q.props.value).join(";");return S.jsx(PR,{...y,children:S.jsxs(LEe,{required:m,scope:t,trigger:F,onTriggerChange:x,valueNode:E,onValueNodeChange:C,valueNodeHasChildren:_,onValueNodeHasChildrenChange:D,contentId:Aa(),value:M,onValueChange:L,open:A,onOpenChange:I,dir:w,triggerPointerDownPosRef:U,disabled:f,children:[S.jsx(qv.Provider,{scope:t,children:S.jsx(MEe,{scope:e.__scopeSelect,onNativeOptionAdd:T.useCallback(q=>{V(W=>new Set(W).add(q))},[]),onNativeOptionRemove:T.useCallback(q=>{V(W=>{const B=new Set(W);return B.delete(q),B})},[]),children:r})}),j?S.jsxs(dZ,{"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:h,value:M,onChange:q=>L(q.target.value),disabled:f,form:b,children:[M===void 0?S.jsx("option",{value:""}):null,Array.from(z)]},X):null]})})};zJ.displayName=p0;var HJ="SelectTrigger",UJ=T.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...a}=e,i=Vv(r),o=ku(HJ,r),s=o.disabled||n,l=_r(t,o.onTriggerChange),u=Wv(r),d=T.useRef("touch"),[h,f,m]=hZ(y=>{const F=u().filter(C=>!C.disabled),x=F.find(C=>C.value===o.value),E=pZ(F,y,x);E!==void 0&&o.onValueChange(E.value)}),b=y=>{s||(o.onOpenChange(!0),m()),y&&(o.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return S.jsx(Mv,{asChild:!0,...i,children:S.jsx(Kt.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":cZ(o.value)?"":void 0,...a,ref:l,onClick:Gt(a.onClick,y=>{y.currentTarget.focus(),d.current!=="mouse"&&b(y)}),onPointerDown:Gt(a.onPointerDown,y=>{d.current=y.pointerType;const F=y.target;F.hasPointerCapture(y.pointerId)&&F.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(b(y),y.preventDefault())}),onKeyDown:Gt(a.onKeyDown,y=>{const F=h.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&f(y.key),!(F&&y.key===" ")&&DEe.includes(y.key)&&(b(),y.preventDefault())})})})});UJ.displayName=HJ;var GJ="SelectValue",$J=T.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:a,children:i,placeholder:o="",...s}=e,l=ku(GJ,r),{onValueNodeHasChildrenChange:u}=l,d=i!==void 0,h=_r(t,l.onValueNodeChange);return Da(()=>{u(d)},[u,d]),S.jsx(Kt.span,{...s,ref:h,style:{pointerEvents:"none"},children:cZ(l.value)?S.jsx(S.Fragment,{children:o}):i})});$J.displayName=GJ;var OEe="SelectIcon",jJ=T.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...a}=e;return S.jsx(Kt.span,{"aria-hidden":!0,...a,ref:t,children:n||"▼"})});jJ.displayName=OEe;var BEe="SelectPortal",qJ=e=>S.jsx(Cv,{asChild:!0,...e});qJ.displayName=BEe;var Tc="SelectContent",WJ=T.forwardRef((e,t)=>{const r=ku(Tc,e.__scopeSelect),[n,a]=T.useState();if(Da(()=>{a(new DocumentFragment)},[]),!r.open){const i=n;return i?o0.createPortal(S.jsx(VJ,{scope:e.__scopeSelect,children:S.jsx(qv.Slot,{scope:e.__scopeSelect,children:S.jsx("div",{children:e.children})})}),i):null}return S.jsx(KJ,{...e,ref:t})});WJ.displayName=Tc;var yo=10,[VJ,Cu]=np(Tc),PEe="SelectContentImpl",KJ=T.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:i,onPointerDownOutside:o,side:s,sideOffset:l,align:u,alignOffset:d,arrowPadding:h,collisionBoundary:f,collisionPadding:m,sticky:b,hideWhenDetached:y,avoidCollisions:F,...x}=e,E=ku(Tc,r),[C,_]=T.useState(null),[D,w]=T.useState(null),A=_r(t,ie=>_(ie)),[I,M]=T.useState(null),[L,U]=T.useState(null),j=Wv(r),[z,V]=T.useState(!1),X=T.useRef(!1);T.useEffect(()=>{if(C)return vR(C)},[C]),yR();const q=T.useCallback(ie=>{const[ue,...Ne]=j().map(Me=>Me.ref.current),[pe]=Ne.slice(-1),Le=document.activeElement;for(const Me of ie)if(Me===Le||(Me==null||Me.scrollIntoView({block:"nearest"}),Me===ue&&D&&(D.scrollTop=0),Me===pe&&D&&(D.scrollTop=D.scrollHeight),Me==null||Me.focus(),document.activeElement!==Le))return},[j,D]),W=T.useCallback(()=>q([I,C]),[q,I,C]);T.useEffect(()=>{z&&W()},[z,W]);const{onOpenChange:B,triggerPointerDownPosRef:te}=E;T.useEffect(()=>{if(C){let ie={x:0,y:0};const ue=pe=>{var Le,Me;ie={x:Math.abs(Math.round(pe.pageX)-(((Le=te.current)==null?void 0:Le.x)??0)),y:Math.abs(Math.round(pe.pageY)-(((Me=te.current)==null?void 0:Me.y)??0))}},Ne=pe=>{ie.x<=10&&ie.y<=10?pe.preventDefault():C.contains(pe.target)||B(!1),document.removeEventListener("pointermove",ue),te.current=null};return te.current!==null&&(document.addEventListener("pointermove",ue),document.addEventListener("pointerup",Ne,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",Ne,{capture:!0})}}},[C,B,te]),T.useEffect(()=>{const ie=()=>B(!1);return window.addEventListener("blur",ie),window.addEventListener("resize",ie),()=>{window.removeEventListener("blur",ie),window.removeEventListener("resize",ie)}},[B]);const[P,Z]=hZ(ie=>{const ue=j().filter(Le=>!Le.disabled),Ne=ue.find(Le=>Le.ref.current===document.activeElement),pe=pZ(ue,ie,Ne);pe&&setTimeout(()=>pe.ref.current.focus())}),K=T.useCallback((ie,ue,Ne)=>{const pe=!X.current&&!Ne;(E.value!==void 0&&E.value===ue||pe)&&(M(ie),pe&&(X.current=!0))},[E.value]),G=T.useCallback(()=>C==null?void 0:C.focus(),[C]),ne=T.useCallback((ie,ue,Ne)=>{const pe=!X.current&&!Ne;(E.value!==void 0&&E.value===ue||pe)&&U(ie)},[E.value]),oe=n==="popper"?G_:YJ,de=oe===G_?{side:s,sideOffset:l,align:u,alignOffset:d,arrowPadding:h,collisionBoundary:f,collisionPadding:m,sticky:b,hideWhenDetached:y,avoidCollisions:F}:{};return S.jsx(VJ,{scope:r,content:C,viewport:D,onViewportChange:w,itemRefCallback:K,selectedItem:I,onItemLeave:G,itemTextRefCallback:ne,focusSelectedItem:W,selectedItemText:L,position:n,isPositioned:z,searchRef:P,children:S.jsx(Av,{as:mu,allowPinchZoom:!0,children:S.jsx(kv,{asChild:!0,trapped:E.open,onMountAutoFocus:ie=>{ie.preventDefault()},onUnmountAutoFocus:Gt(a,ie=>{var ue;(ue=E.trigger)==null||ue.focus({preventScroll:!0}),ie.preventDefault()}),children:S.jsx(u0,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:ie=>ie.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:S.jsx(oe,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:ie=>ie.preventDefault(),...x,...de,onPlaced:()=>V(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:Gt(x.onKeyDown,ie=>{const ue=ie.ctrlKey||ie.altKey||ie.metaKey;if(ie.key==="Tab"&&ie.preventDefault(),!ue&&ie.key.length===1&&Z(ie.key),["ArrowUp","ArrowDown","Home","End"].includes(ie.key)){let pe=j().filter(Le=>!Le.disabled).map(Le=>Le.ref.current);if(["ArrowUp","End"].includes(ie.key)&&(pe=pe.slice().reverse()),["ArrowUp","ArrowDown"].includes(ie.key)){const Le=ie.target,Me=pe.indexOf(Le);pe=pe.slice(Me+1)}setTimeout(()=>q(pe)),ie.preventDefault()}})})})})})})});KJ.displayName=PEe;var zEe="SelectItemAlignedPosition",YJ=T.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...a}=e,i=ku(Tc,r),o=Cu(Tc,r),[s,l]=T.useState(null),[u,d]=T.useState(null),h=_r(t,A=>d(A)),f=Wv(r),m=T.useRef(!1),b=T.useRef(!0),{viewport:y,selectedItem:F,selectedItemText:x,focusSelectedItem:E}=o,C=T.useCallback(()=>{if(i.trigger&&i.valueNode&&s&&u&&y&&F&&x){const A=i.trigger.getBoundingClientRect(),I=u.getBoundingClientRect(),M=i.valueNode.getBoundingClientRect(),L=x.getBoundingClientRect();if(i.dir!=="rtl"){const Le=L.left-I.left,Me=M.left-Le,Ee=A.left-Me,Te=A.width+Ee,Re=Math.max(Te,I.width),fe=window.innerWidth-yo,Ze=U_(Me,[yo,Math.max(yo,fe-Re)]);s.style.minWidth=Te+"px",s.style.left=Ze+"px"}else{const Le=I.right-L.right,Me=window.innerWidth-M.right-Le,Ee=window.innerWidth-A.right-Me,Te=A.width+Ee,Re=Math.max(Te,I.width),fe=window.innerWidth-yo,Ze=U_(Me,[yo,Math.max(yo,fe-Re)]);s.style.minWidth=Te+"px",s.style.right=Ze+"px"}const U=f(),j=window.innerHeight-yo*2,z=y.scrollHeight,V=window.getComputedStyle(u),X=parseInt(V.borderTopWidth,10),q=parseInt(V.paddingTop,10),W=parseInt(V.borderBottomWidth,10),B=parseInt(V.paddingBottom,10),te=X+q+z+B+W,P=Math.min(F.offsetHeight*5,te),Z=window.getComputedStyle(y),K=parseInt(Z.paddingTop,10),G=parseInt(Z.paddingBottom,10),ne=A.top+A.height/2-yo,oe=j-ne,de=F.offsetHeight/2,ie=F.offsetTop+de,ue=X+q+ie,Ne=te-ue;if(ue<=ne){const Le=U.length>0&&F===U[U.length-1].ref.current;s.style.bottom="0px";const Me=u.clientHeight-y.offsetTop-y.offsetHeight,Ee=Math.max(oe,de+(Le?G:0)+Me+W),Te=ue+Ee;s.style.height=Te+"px"}else{const Le=U.length>0&&F===U[0].ref.current;s.style.top="0px";const Ee=Math.max(ne,X+y.offsetTop+(Le?K:0)+de)+Ne;s.style.height=Ee+"px",y.scrollTop=ue-ne+y.offsetTop}s.style.margin=`${yo}px 0`,s.style.minHeight=P+"px",s.style.maxHeight=j+"px",n==null||n(),requestAnimationFrame(()=>m.current=!0)}},[f,i.trigger,i.valueNode,s,u,y,F,x,i.dir,n]);Da(()=>C(),[C]);const[_,D]=T.useState();Da(()=>{u&&D(window.getComputedStyle(u).zIndex)},[u]);const w=T.useCallback(A=>{A&&b.current===!0&&(C(),E==null||E(),b.current=!1)},[C,E]);return S.jsx(UEe,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:m,onScrollButtonChange:w,children:S.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_},children:S.jsx(Kt.div,{...a,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});YJ.displayName=zEe;var HEe="SelectPopperPosition",G_=T.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:a=yo,...i}=e,o=Vv(r);return S.jsx(zR,{...o,...i,ref:t,align:n,collisionPadding:a,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});G_.displayName=HEe;var[UEe,XR]=np(Tc,{}),$_="SelectViewport",XJ=T.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...a}=e,i=Cu($_,r),o=XR($_,r),s=_r(t,i.onViewportChange),l=T.useRef(0);return S.jsxs(S.Fragment,{children:[S.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),S.jsx(qv.Slot,{scope:r,children:S.jsx(Kt.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:Gt(a.onScroll,u=>{const d=u.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:f}=o;if(f!=null&&f.current&&h){const m=Math.abs(l.current-d.scrollTop);if(m>0){const b=window.innerHeight-yo*2,y=parseFloat(h.style.minHeight),F=parseFloat(h.style.height),x=Math.max(y,F);if(x<b){const E=x+m,C=Math.min(b,E),_=E-C;h.style.height=C+"px",h.style.bottom==="0px"&&(d.scrollTop=_>0?_:0,h.style.justifyContent="flex-end")}}}l.current=d.scrollTop})})})]})});XJ.displayName=$_;var JJ="SelectGroup",[GEe,$Ee]=np(JJ),ZJ=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=Aa();return S.jsx(GEe,{scope:r,id:a,children:S.jsx(Kt.div,{role:"group","aria-labelledby":a,...n,ref:t})})});ZJ.displayName=JJ;var QJ="SelectLabel",eZ=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=$Ee(QJ,r);return S.jsx(Kt.div,{id:a.id,...n,ref:t})});eZ.displayName=QJ;var ry="SelectItem",[jEe,tZ]=np(ry),rZ=T.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:a=!1,textValue:i,...o}=e,s=ku(ry,r),l=Cu(ry,r),u=s.value===n,[d,h]=T.useState(i??""),[f,m]=T.useState(!1),b=_r(t,E=>{var C;return(C=l.itemRefCallback)==null?void 0:C.call(l,E,n,a)}),y=Aa(),F=T.useRef("touch"),x=()=>{a||(s.onValueChange(n),s.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return S.jsx(jEe,{scope:r,value:n,disabled:a,textId:y,isSelected:u,onItemTextChange:T.useCallback(E=>{h(C=>C||((E==null?void 0:E.textContent)??"").trim())},[]),children:S.jsx(qv.ItemSlot,{scope:r,value:n,disabled:a,textValue:d,children:S.jsx(Kt.div,{role:"option","aria-labelledby":y,"data-highlighted":f?"":void 0,"aria-selected":u&&f,"data-state":u?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...o,ref:b,onFocus:Gt(o.onFocus,()=>m(!0)),onBlur:Gt(o.onBlur,()=>m(!1)),onClick:Gt(o.onClick,()=>{F.current!=="mouse"&&x()}),onPointerUp:Gt(o.onPointerUp,()=>{F.current==="mouse"&&x()}),onPointerDown:Gt(o.onPointerDown,E=>{F.current=E.pointerType}),onPointerMove:Gt(o.onPointerMove,E=>{var C;F.current=E.pointerType,a?(C=l.onItemLeave)==null||C.call(l):F.current==="mouse"&&E.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Gt(o.onPointerLeave,E=>{var C;E.currentTarget===document.activeElement&&((C=l.onItemLeave)==null||C.call(l))}),onKeyDown:Gt(o.onKeyDown,E=>{var _;((_=l.searchRef)==null?void 0:_.current)!==""&&E.key===" "||(REe.includes(E.key)&&x(),E.key===" "&&E.preventDefault())})})})})});rZ.displayName=ry;var Xf="SelectItemText",nZ=T.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:a,...i}=e,o=ku(Xf,r),s=Cu(Xf,r),l=tZ(Xf,r),u=IEe(Xf,r),[d,h]=T.useState(null),f=_r(t,x=>h(x),l.onItemTextChange,x=>{var E;return(E=s.itemTextRefCallback)==null?void 0:E.call(s,x,l.value,l.disabled)}),m=d==null?void 0:d.textContent,b=T.useMemo(()=>S.jsx("option",{value:l.value,disabled:l.disabled,children:m},l.value),[l.disabled,l.value,m]),{onNativeOptionAdd:y,onNativeOptionRemove:F}=u;return Da(()=>(y(b),()=>F(b)),[y,F,b]),S.jsxs(S.Fragment,{children:[S.jsx(Kt.span,{id:l.textId,...i,ref:f}),l.isSelected&&o.valueNode&&!o.valueNodeHasChildren?o0.createPortal(i.children,o.valueNode):null]})});nZ.displayName=Xf;var aZ="SelectItemIndicator",iZ=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return tZ(aZ,r).isSelected?S.jsx(Kt.span,{"aria-hidden":!0,...n,ref:t}):null});iZ.displayName=aZ;var j_="SelectScrollUpButton",oZ=T.forwardRef((e,t)=>{const r=Cu(j_,e.__scopeSelect),n=XR(j_,e.__scopeSelect),[a,i]=T.useState(!1),o=_r(t,n.onScrollButtonChange);return Da(()=>{if(r.viewport&&r.isPositioned){let s=function(){const u=l.scrollTop>0;i(u)};const l=r.viewport;return s(),l.addEventListener("scroll",s),()=>l.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),a?S.jsx(lZ,{...e,ref:o,onAutoScroll:()=>{const{viewport:s,selectedItem:l}=r;s&&l&&(s.scrollTop=s.scrollTop-l.offsetHeight)}}):null});oZ.displayName=j_;var q_="SelectScrollDownButton",sZ=T.forwardRef((e,t)=>{const r=Cu(q_,e.__scopeSelect),n=XR(q_,e.__scopeSelect),[a,i]=T.useState(!1),o=_r(t,n.onScrollButtonChange);return Da(()=>{if(r.viewport&&r.isPositioned){let s=function(){const u=l.scrollHeight-l.clientHeight,d=Math.ceil(l.scrollTop)<u;i(d)};const l=r.viewport;return s(),l.addEventListener("scroll",s),()=>l.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),a?S.jsx(lZ,{...e,ref:o,onAutoScroll:()=>{const{viewport:s,selectedItem:l}=r;s&&l&&(s.scrollTop=s.scrollTop+l.offsetHeight)}}):null});sZ.displayName=q_;var lZ=T.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...a}=e,i=Cu("SelectScrollButton",r),o=T.useRef(null),s=Wv(r),l=T.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return T.useEffect(()=>()=>l(),[l]),Da(()=>{var d;const u=s().find(h=>h.ref.current===document.activeElement);(d=u==null?void 0:u.ref.current)==null||d.scrollIntoView({block:"nearest"})},[s]),S.jsx(Kt.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:Gt(a.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(n,50))}),onPointerMove:Gt(a.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),o.current===null&&(o.current=window.setInterval(n,50))}),onPointerLeave:Gt(a.onPointerLeave,()=>{l()})})}),qEe="SelectSeparator",uZ=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return S.jsx(Kt.div,{"aria-hidden":!0,...n,ref:t})});uZ.displayName=qEe;var W_="SelectArrow",WEe=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=Vv(r),i=ku(W_,r),o=Cu(W_,r);return i.open&&o.position==="popper"?S.jsx(HR,{...a,...n,ref:t}):null});WEe.displayName=W_;function cZ(e){return e===""||e===void 0}var dZ=T.forwardRef((e,t)=>{const{value:r,...n}=e,a=T.useRef(null),i=_r(t,a),o=PJ(r);return T.useEffect(()=>{const s=a.current,l=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(o!==r&&d){const h=new Event("change",{bubbles:!0});d.call(s,r),s.dispatchEvent(h)}},[o,r]),S.jsx(UR,{asChild:!0,children:S.jsx("select",{...n,ref:i,defaultValue:r})})});dZ.displayName="BubbleSelect";function hZ(e){const t=fa(e),r=T.useRef(""),n=T.useRef(0),a=T.useCallback(o=>{const s=r.current+o;t(s),function l(u){r.current=u,window.clearTimeout(n.current),u!==""&&(n.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=T.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return T.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,a,i]}function pZ(e,t,r){const a=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let o=VEe(e,Math.max(i,0));a.length===1&&(o=o.filter(u=>u!==r));const l=o.find(u=>u.textValue.toLowerCase().startsWith(a.toLowerCase()));return l!==r?l:void 0}function VEe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var KEe=zJ,fZ=UJ,YEe=$J,XEe=jJ,JEe=qJ,mZ=WJ,ZEe=XJ,QEe=ZJ,gZ=eZ,bZ=rZ,eSe=nZ,tSe=iZ,yZ=oZ,vZ=sZ,FZ=uZ;const kh=KEe,CO=QEe,Ch=YEe,Ac=T.forwardRef(({className:e,children:t,...r},n)=>S.jsxs(fZ,{ref:n,className:ut("border-input bg-background ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex h-10 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,S.jsx(XEe,{asChild:!0,children:S.jsx(zv,{className:"h-4 w-4 opacity-50"})})]}));Ac.displayName=fZ.displayName;const EZ=T.forwardRef(({className:e,...t},r)=>S.jsx(yZ,{ref:r,className:ut("flex cursor-default items-center justify-center py-1",e),...t,children:S.jsx(iFe,{className:"h-4 w-4"})}));EZ.displayName=yZ.displayName;const SZ=T.forwardRef(({className:e,...t},r)=>S.jsx(vZ,{ref:r,className:ut("flex cursor-default items-center justify-center py-1",e),...t,children:S.jsx(zv,{className:"h-4 w-4"})}));SZ.displayName=vZ.displayName;const _c=T.forwardRef(({className:e,children:t,position:r="popper",...n},a)=>S.jsx(JEe,{children:S.jsxs(mZ,{ref:a,className:ut("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...n,children:[S.jsx(EZ,{}),S.jsx(ZEe,{className:ut("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),S.jsx(SZ,{})]})}));_c.displayName=mZ.displayName;const rSe=T.forwardRef(({className:e,...t},r)=>S.jsx(gZ,{ref:r,className:ut("py-1.5 pr-2 pl-8 text-sm font-semibold",e),...t}));rSe.displayName=gZ.displayName;const Ln=T.forwardRef(({className:e,children:t,...r},n)=>S.jsxs(bZ,{ref:n,className:ut("focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[S.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:S.jsx(tSe,{children:S.jsx($R,{className:"h-4 w-4"})})}),S.jsx(eSe,{children:t})]}));Ln.displayName=bZ.displayName;const nSe=T.forwardRef(({className:e,...t},r)=>S.jsx(FZ,{ref:r,className:ut("bg-muted -mx-1 my-1 h-px",e),...t}));nSe.displayName=FZ.displayName;function xZ({className:e}){const[t,r]=T.useState(!1),{t:n}=Er(),a=rt.use.language(),i=rt.use.setLanguage(),o=rt.use.theme(),s=rt.use.setTheme(),l=T.useCallback(d=>{i(d)},[i]),u=T.useCallback(d=>{s(d)},[s]);return S.jsxs(Gv,{open:t,onOpenChange:r,children:[S.jsx($v,{asChild:!0,children:S.jsx(Ot,{variant:"ghost",size:"icon",className:ut("h-9 w-9",e),children:S.jsx(OFe,{className:"h-5 w-5"})})}),S.jsx(h0,{side:"bottom",align:"end",className:"w-56",children:S.jsxs("div",{className:"flex flex-col gap-4",children:[S.jsxs("div",{className:"flex flex-col gap-2",children:[S.jsx("label",{className:"text-sm font-medium",children:n("settings.language")}),S.jsxs(kh,{value:a,onValueChange:l,children:[S.jsx(Ac,{children:S.jsx(Ch,{})}),S.jsxs(_c,{children:[S.jsx(Ln,{value:"en",children:"English"}),S.jsx(Ln,{value:"zh",children:"中文"}),S.jsx(Ln,{value:"fr",children:"Français"}),S.jsx(Ln,{value:"ar",children:"العربية"}),S.jsx(Ln,{value:"zh_TW",children:"繁體中文"})]})]})]}),S.jsxs("div",{className:"flex flex-col gap-2",children:[S.jsx("label",{className:"text-sm font-medium",children:n("settings.theme")}),S.jsxs(kh,{value:o,onValueChange:u,children:[S.jsx(Ac,{children:S.jsx(Ch,{})}),S.jsxs(_c,{children:[S.jsx(Ln,{value:"light",children:n("settings.light")}),S.jsx(Ln,{value:"dark",children:n("settings.dark")}),S.jsx(Ln,{value:"system",children:n("settings.system")})]})]})]})]})})]})}var IS="rovingFocusGroup.onEntryFocus",aSe={bubbles:!1,cancelable:!0},Kv="RovingFocusGroup",[V_,wZ,iSe]=BJ(Kv),[oSe,kZ]=Ro(Kv,[iSe]),[sSe,lSe]=oSe(Kv),CZ=T.forwardRef((e,t)=>S.jsx(V_.Provider,{scope:e.__scopeRovingFocusGroup,children:S.jsx(V_.Slot,{scope:e.__scopeRovingFocusGroup,children:S.jsx(uSe,{...e,ref:t})})}));CZ.displayName=Kv;var uSe=T.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:a=!1,dir:i,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...h}=e,f=T.useRef(null),m=_r(t,f),b=jv(i),[y=null,F]=cl({prop:o,defaultProp:s,onChange:l}),[x,E]=T.useState(!1),C=fa(u),_=wZ(r),D=T.useRef(!1),[w,A]=T.useState(0);return T.useEffect(()=>{const I=f.current;if(I)return I.addEventListener(IS,C),()=>I.removeEventListener(IS,C)},[C]),S.jsx(sSe,{scope:r,orientation:n,dir:b,loop:a,currentTabStopId:y,onItemFocus:T.useCallback(I=>F(I),[F]),onItemShiftTab:T.useCallback(()=>E(!0),[]),onFocusableItemAdd:T.useCallback(()=>A(I=>I+1),[]),onFocusableItemRemove:T.useCallback(()=>A(I=>I-1),[]),children:S.jsx(Kt.div,{tabIndex:x||w===0?-1:0,"data-orientation":n,...h,ref:m,style:{outline:"none",...e.style},onMouseDown:Gt(e.onMouseDown,()=>{D.current=!0}),onFocus:Gt(e.onFocus,I=>{const M=!D.current;if(I.target===I.currentTarget&&M&&!x){const L=new CustomEvent(IS,aSe);if(I.currentTarget.dispatchEvent(L),!L.defaultPrevented){const U=_().filter(q=>q.focusable),j=U.find(q=>q.active),z=U.find(q=>q.id===y),X=[j,z,...U].filter(Boolean).map(q=>q.ref.current);_Z(X,d)}}D.current=!1}),onBlur:Gt(e.onBlur,()=>E(!1))})})}),TZ="RovingFocusGroupItem",AZ=T.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:a=!1,tabStopId:i,...o}=e,s=Aa(),l=i||s,u=lSe(TZ,r),d=u.currentTabStopId===l,h=wZ(r),{onFocusableItemAdd:f,onFocusableItemRemove:m}=u;return T.useEffect(()=>{if(n)return f(),()=>m()},[n,f,m]),S.jsx(V_.ItemSlot,{scope:r,id:l,focusable:n,active:a,children:S.jsx(Kt.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...o,ref:t,onMouseDown:Gt(e.onMouseDown,b=>{n?u.onItemFocus(l):b.preventDefault()}),onFocus:Gt(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Gt(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){u.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const y=hSe(b,u.orientation,u.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let x=h().filter(E=>E.focusable).map(E=>E.ref.current);if(y==="last")x.reverse();else if(y==="prev"||y==="next"){y==="prev"&&x.reverse();const E=x.indexOf(b.currentTarget);x=u.loop?pSe(x,E+1):x.slice(E+1)}setTimeout(()=>_Z(x))}})})})});AZ.displayName=TZ;var cSe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function dSe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function hSe(e,t,r){const n=dSe(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return cSe[n]}function _Z(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function pSe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var fSe=CZ,mSe=AZ,JR="Tabs",[gSe,Xut]=Ro(JR,[kZ]),DZ=kZ(),[bSe,ZR]=gSe(JR),RZ=T.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:a,defaultValue:i,orientation:o="horizontal",dir:s,activationMode:l="automatic",...u}=e,d=jv(s),[h,f]=cl({prop:n,onChange:a,defaultProp:i});return S.jsx(bSe,{scope:r,baseId:Aa(),value:h,onValueChange:f,orientation:o,dir:d,activationMode:l,children:S.jsx(Kt.div,{dir:d,"data-orientation":o,...u,ref:t})})});RZ.displayName=JR;var NZ="TabsList",LZ=T.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...a}=e,i=ZR(NZ,r),o=DZ(r);return S.jsx(fSe,{asChild:!0,...o,orientation:i.orientation,dir:i.dir,loop:n,children:S.jsx(Kt.div,{role:"tablist","aria-orientation":i.orientation,...a,ref:t})})});LZ.displayName=NZ;var MZ="TabsTrigger",IZ=T.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:a=!1,...i}=e,o=ZR(MZ,r),s=DZ(r),l=PZ(o.baseId,n),u=zZ(o.baseId,n),d=n===o.value;return S.jsx(mSe,{asChild:!0,...s,focusable:!a,active:d,children:S.jsx(Kt.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:l,...i,ref:t,onMouseDown:Gt(e.onMouseDown,h=>{!a&&h.button===0&&h.ctrlKey===!1?o.onValueChange(n):h.preventDefault()}),onKeyDown:Gt(e.onKeyDown,h=>{[" ","Enter"].includes(h.key)&&o.onValueChange(n)}),onFocus:Gt(e.onFocus,()=>{const h=o.activationMode!=="manual";!d&&!a&&h&&o.onValueChange(n)})})})});IZ.displayName=MZ;var OZ="TabsContent",BZ=T.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:a,children:i,...o}=e,s=ZR(OZ,r),l=PZ(s.baseId,n),u=zZ(s.baseId,n),d=n===s.value,h=T.useRef(d);return T.useEffect(()=>{const f=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(f)},[]),S.jsx(Li,{present:a||d,children:({present:f})=>S.jsx(Kt.div,{"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!f,id:u,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:f&&i})})});BZ.displayName=OZ;function PZ(e,t){return`${e}-trigger-${t}`}function zZ(e,t){return`${e}-content-${t}`}var ySe=RZ,HZ=LZ,UZ=IZ,GZ=BZ;const vSe=ySe,$Z=T.forwardRef(({className:e,...t},r)=>S.jsx(HZ,{ref:r,className:ut("bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1",e),...t}));$Z.displayName=HZ.displayName;const jZ=T.forwardRef(({className:e,...t},r)=>S.jsx(UZ,{ref:r,className:ut("ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center rounded-sm px-3 py-1.5 text-sm font-medium whitespace-nowrap transition-all focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm",e),...t}));jZ.displayName=UZ.displayName;const Jf=T.forwardRef(({className:e,...t},r)=>S.jsx(GZ,{ref:r,className:ut("ring-offset-background focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none","data-[state=inactive]:invisible data-[state=active]:visible","h-full w-full",e),forceMount:!0,...t}));Jf.displayName=GZ.displayName;function y1({value:e,currentTab:t,children:r}){return S.jsx(jZ,{value:e,className:ut("cursor-pointer px-2 py-1 transition-all",t===e?"!bg-emerald-400 !text-zinc-50":"hover:bg-background/60"),children:r})}function FSe(){const e=rt.use.currentTab(),{t}=Er();return S.jsx("div",{className:"flex h-8 self-center",children:S.jsxs($Z,{className:"h-full gap-2",children:[S.jsx(y1,{value:"documents",currentTab:e,children:t("header.documents")}),S.jsx(y1,{value:"knowledge-graph",currentTab:e,children:t("header.knowledgeGraph")}),S.jsx(y1,{value:"retrieval",currentTab:e,children:t("header.retrieval")}),S.jsx(y1,{value:"api",currentTab:e,children:t("header.api")})]})})}function ESe(){const{t:e}=Er(),{isGuestMode:t,coreVersion:r,apiVersion:n,username:a,webuiTitle:i,webuiDescription:o}=Ti(),s=r&&n?`${r}/${n}`:null,l=()=>{wv.navigateToLogin()};return S.jsxs("header",{className:"border-border/40 bg-background/95 supports-[backdrop-filter]:bg-background/60 sticky top-0 z-50 flex h-10 w-full border-b px-4 backdrop-blur",children:[S.jsxs("div",{className:"min-w-[200px] w-auto flex items-center",children:[S.jsxs("a",{href:RY,className:"flex items-center gap-2",children:[S.jsx(WR,{className:"size-4 text-emerald-400","aria-hidden":"true"}),S.jsx("span",{className:"font-bold md:inline-block",children:C_.name})]}),i&&S.jsxs("div",{className:"flex items-center",children:[S.jsx("span",{className:"mx-1 text-xs text-gray-500 dark:text-gray-400",children:"|"}),S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("span",{className:"font-medium text-sm cursor-default",children:i})}),o&&S.jsx(da,{side:"bottom",children:o})]})})]})]}),S.jsxs("div",{className:"flex h-10 flex-1 items-center justify-center",children:[S.jsx(FSe,{}),t&&S.jsx("div",{className:"ml-2 self-center px-2 py-1 text-xs bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-200 rounded-md",children:e("login.guestMode","Guest Mode")})]}),S.jsx("nav",{className:"w-[200px] flex items-center justify-end",children:S.jsxs("div",{className:"flex items-center gap-2",children:[s&&S.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400 mr-1",children:["v",s]}),S.jsx(Ot,{variant:"ghost",size:"icon",side:"bottom",tooltip:e("header.projectRepository"),children:S.jsx("a",{href:C_.github,target:"_blank",rel:"noopener noreferrer",children:S.jsx(SFe,{className:"size-4","aria-hidden":"true"})})}),S.jsx(xZ,{}),!t&&S.jsx(Ot,{variant:"ghost",size:"icon",side:"bottom",tooltip:`${e("header.logout")} (${a})`,onClick:l,children:S.jsx(DFe,{className:"size-4","aria-hidden":"true"})})]})})]})}var v1={exports:{}},TO;function SSe(){if(TO)return v1.exports;TO=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(D,w,A){return Function.prototype.apply.call(D,w,A)},r;e&&typeof e.ownKeys=="function"?r=e.ownKeys:Object.getOwnPropertySymbols?r=function(D){return Object.getOwnPropertyNames(D).concat(Object.getOwnPropertySymbols(D))}:r=function(D){return Object.getOwnPropertyNames(D)};function n(_){console&&console.warn&&console.warn(_)}var a=Number.isNaN||function(D){return D!==D};function i(){i.init.call(this)}v1.exports=i,v1.exports.once=x,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var o=10;function s(_){if(typeof _!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof _)}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(_){if(typeof _!="number"||_<0||a(_))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+_+".");o=_}}),i.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(D){if(typeof D!="number"||D<0||a(D))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+D+".");return this._maxListeners=D,this};function l(_){return _._maxListeners===void 0?i.defaultMaxListeners:_._maxListeners}i.prototype.getMaxListeners=function(){return l(this)},i.prototype.emit=function(D){for(var w=[],A=1;A<arguments.length;A++)w.push(arguments[A]);var I=D==="error",M=this._events;if(M!==void 0)I=I&&M.error===void 0;else if(!I)return!1;if(I){var L;if(w.length>0&&(L=w[0]),L instanceof Error)throw L;var U=new Error("Unhandled error."+(L?" ("+L.message+")":""));throw U.context=L,U}var j=M[D];if(j===void 0)return!1;if(typeof j=="function")t(j,this,w);else for(var z=j.length,V=b(j,z),A=0;A<z;++A)t(V[A],this,w);return!0};function u(_,D,w,A){var I,M,L;if(s(w),M=_._events,M===void 0?(M=_._events=Object.create(null),_._eventsCount=0):(M.newListener!==void 0&&(_.emit("newListener",D,w.listener?w.listener:w),M=_._events),L=M[D]),L===void 0)L=M[D]=w,++_._eventsCount;else if(typeof L=="function"?L=M[D]=A?[w,L]:[L,w]:A?L.unshift(w):L.push(w),I=l(_),I>0&&L.length>I&&!L.warned){L.warned=!0;var U=new Error("Possible EventEmitter memory leak detected. "+L.length+" "+String(D)+" listeners added. Use emitter.setMaxListeners() to increase limit");U.name="MaxListenersExceededWarning",U.emitter=_,U.type=D,U.count=L.length,n(U)}return _}i.prototype.addListener=function(D,w){return u(this,D,w,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(D,w){return u(this,D,w,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(_,D,w){var A={fired:!1,wrapFn:void 0,target:_,type:D,listener:w},I=d.bind(A);return I.listener=w,A.wrapFn=I,I}i.prototype.once=function(D,w){return s(w),this.on(D,h(this,D,w)),this},i.prototype.prependOnceListener=function(D,w){return s(w),this.prependListener(D,h(this,D,w)),this},i.prototype.removeListener=function(D,w){var A,I,M,L,U;if(s(w),I=this._events,I===void 0)return this;if(A=I[D],A===void 0)return this;if(A===w||A.listener===w)--this._eventsCount===0?this._events=Object.create(null):(delete I[D],I.removeListener&&this.emit("removeListener",D,A.listener||w));else if(typeof A!="function"){for(M=-1,L=A.length-1;L>=0;L--)if(A[L]===w||A[L].listener===w){U=A[L].listener,M=L;break}if(M<0)return this;M===0?A.shift():y(A,M),A.length===1&&(I[D]=A[0]),I.removeListener!==void 0&&this.emit("removeListener",D,U||w)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(D){var w,A,I;if(A=this._events,A===void 0)return this;if(A.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):A[D]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete A[D]),this;if(arguments.length===0){var M=Object.keys(A),L;for(I=0;I<M.length;++I)L=M[I],L!=="removeListener"&&this.removeAllListeners(L);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(w=A[D],typeof w=="function")this.removeListener(D,w);else if(w!==void 0)for(I=w.length-1;I>=0;I--)this.removeListener(D,w[I]);return this};function f(_,D,w){var A=_._events;if(A===void 0)return[];var I=A[D];return I===void 0?[]:typeof I=="function"?w?[I.listener||I]:[I]:w?F(I):b(I,I.length)}i.prototype.listeners=function(D){return f(this,D,!0)},i.prototype.rawListeners=function(D){return f(this,D,!1)},i.listenerCount=function(_,D){return typeof _.listenerCount=="function"?_.listenerCount(D):m.call(_,D)},i.prototype.listenerCount=m;function m(_){var D=this._events;if(D!==void 0){var w=D[_];if(typeof w=="function")return 1;if(w!==void 0)return w.length}return 0}i.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]};function b(_,D){for(var w=new Array(D),A=0;A<D;++A)w[A]=_[A];return w}function y(_,D){for(;D+1<_.length;D++)_[D]=_[D+1];_.pop()}function F(_){for(var D=new Array(_.length),w=0;w<D.length;++w)D[w]=_[w].listener||_[w];return D}function x(_,D){return new Promise(function(w,A){function I(L){_.removeListener(D,M),A(L)}function M(){typeof _.removeListener=="function"&&_.removeListener("error",I),w([].slice.call(arguments))}C(_,D,M,{once:!0}),D!=="error"&&E(_,I,{once:!0})})}function E(_,D,w){typeof _.on=="function"&&C(_,"error",D,w)}function C(_,D,w,A){if(typeof _.on=="function")A.once?_.once(D,w):_.on(D,w);else if(typeof _.addEventListener=="function")_.addEventListener(D,function I(M){A.once&&_.removeEventListener(D,I),w(M)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof _)}return v1.exports}var qZ=SSe();function xSe(){const e=arguments[0];for(let t=1,r=arguments.length;t<r;t++)if(arguments[t])for(const n in arguments[t])e[n]=arguments[t][n];return e}let jn=xSe;typeof Object.assign=="function"&&(jn=Object.assign);function no(e,t,r,n){const a=e._nodes.get(t);let i=null;return a&&(n==="mixed"?i=a.out&&a.out[r]||a.undirected&&a.undirected[r]:n==="directed"?i=a.out&&a.out[r]:i=a.undirected&&a.undirected[r]),i}function ma(e){return typeof e=="object"&&e!==null}function WZ(e){let t;for(t in e)return!1;return!0}function Yi(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!0,value:r})}function bo(e,t,r){const n={enumerable:!0,configurable:!0};typeof r=="function"?n.get=r:(n.value=r,n.writable=!1),Object.defineProperty(e,t,n)}function AO(e){return!(!ma(e)||e.attributes&&!Array.isArray(e.attributes))}function wSe(){let e=Math.floor(Math.random()*256)&255;return()=>e++}function nl(){const e=arguments;let t=null,r=-1;return{[Symbol.iterator](){return this},next(){let n=null;do{if(t===null){if(r++,r>=e.length)return{done:!0};t=e[r][Symbol.iterator]()}if(n=t.next(),n.done){t=null;continue}break}while(!0);return n}}}function ap(){return{[Symbol.iterator](){return this},next(){return{done:!0}}}}class QR extends Error{constructor(t){super(),this.name="GraphError",this.message=t}}class bt extends QR{constructor(t){super(t),this.name="InvalidArgumentsGraphError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,bt.prototype.constructor)}}class st extends QR{constructor(t){super(t),this.name="NotFoundGraphError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,st.prototype.constructor)}}class Wt extends QR{constructor(t){super(t),this.name="UsageGraphError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Wt.prototype.constructor)}}function VZ(e,t){this.key=e,this.attributes=t,this.clear()}VZ.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.undirectedDegree=0,this.undirectedLoops=0,this.directedLoops=0,this.in={},this.out={},this.undirected={}};function KZ(e,t){this.key=e,this.attributes=t,this.clear()}KZ.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.directedLoops=0,this.in={},this.out={}};function YZ(e,t){this.key=e,this.attributes=t,this.clear()}YZ.prototype.clear=function(){this.undirectedDegree=0,this.undirectedLoops=0,this.undirected={}};function ip(e,t,r,n,a){this.key=t,this.attributes=a,this.undirected=e,this.source=r,this.target=n}ip.prototype.attach=function(){let e="out",t="in";this.undirected&&(e=t="undirected");const r=this.source.key,n=this.target.key;this.source[e][n]=this,!(this.undirected&&r===n)&&(this.target[t][r]=this)};ip.prototype.attachMulti=function(){let e="out",t="in";const r=this.source.key,n=this.target.key;this.undirected&&(e=t="undirected");const a=this.source[e],i=a[n];if(typeof i>"u"){a[n]=this,this.undirected&&r===n||(this.target[t][r]=this);return}i.previous=this,this.next=i,a[n]=this,this.target[t][r]=this};ip.prototype.detach=function(){const e=this.source.key,t=this.target.key;let r="out",n="in";this.undirected&&(r=n="undirected"),delete this.source[r][t],delete this.target[n][e]};ip.prototype.detachMulti=function(){const e=this.source.key,t=this.target.key;let r="out",n="in";this.undirected&&(r=n="undirected"),this.previous===void 0?this.next===void 0?(delete this.source[r][t],delete this.target[n][e]):(this.next.previous=void 0,this.source[r][t]=this.next,this.target[n][e]=this.next):(this.previous.next=this.next,this.next!==void 0&&(this.next.previous=this.previous))};const XZ=0,JZ=1,kSe=2,ZZ=3;function yl(e,t,r,n,a,i,o){let s,l,u,d;if(n=""+n,r===XZ){if(s=e._nodes.get(n),!s)throw new st(`Graph.${t}: could not find the "${n}" node in the graph.`);u=a,d=i}else if(r===ZZ){if(a=""+a,l=e._edges.get(a),!l)throw new st(`Graph.${t}: could not find the "${a}" edge in the graph.`);const h=l.source.key,f=l.target.key;if(n===h)s=l.target;else if(n===f)s=l.source;else throw new st(`Graph.${t}: the "${n}" node is not attached to the "${a}" edge (${h}, ${f}).`);u=i,d=o}else{if(l=e._edges.get(n),!l)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`);r===JZ?s=l.source:s=l.target,u=a,d=i}return[s,u,d]}function CSe(e,t,r){e.prototype[t]=function(n,a,i){const[o,s]=yl(this,t,r,n,a,i);return o.attributes[s]}}function TSe(e,t,r){e.prototype[t]=function(n,a){const[i]=yl(this,t,r,n,a);return i.attributes}}function ASe(e,t,r){e.prototype[t]=function(n,a,i){const[o,s]=yl(this,t,r,n,a,i);return o.attributes.hasOwnProperty(s)}}function _Se(e,t,r){e.prototype[t]=function(n,a,i,o){const[s,l,u]=yl(this,t,r,n,a,i,o);return s.attributes[l]=u,this.emit("nodeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:l}),this}}function DSe(e,t,r){e.prototype[t]=function(n,a,i,o){const[s,l,u]=yl(this,t,r,n,a,i,o);if(typeof u!="function")throw new bt(`Graph.${t}: updater should be a function.`);const d=s.attributes,h=u(d[l]);return d[l]=h,this.emit("nodeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:l}),this}}function RSe(e,t,r){e.prototype[t]=function(n,a,i){const[o,s]=yl(this,t,r,n,a,i);return delete o.attributes[s],this.emit("nodeAttributesUpdated",{key:o.key,type:"remove",attributes:o.attributes,name:s}),this}}function NSe(e,t,r){e.prototype[t]=function(n,a,i){const[o,s]=yl(this,t,r,n,a,i);if(!ma(s))throw new bt(`Graph.${t}: provided attributes are not a plain object.`);return o.attributes=s,this.emit("nodeAttributesUpdated",{key:o.key,type:"replace",attributes:o.attributes}),this}}function LSe(e,t,r){e.prototype[t]=function(n,a,i){const[o,s]=yl(this,t,r,n,a,i);if(!ma(s))throw new bt(`Graph.${t}: provided attributes are not a plain object.`);return jn(o.attributes,s),this.emit("nodeAttributesUpdated",{key:o.key,type:"merge",attributes:o.attributes,data:s}),this}}function MSe(e,t,r){e.prototype[t]=function(n,a,i){const[o,s]=yl(this,t,r,n,a,i);if(typeof s!="function")throw new bt(`Graph.${t}: provided updater is not a function.`);return o.attributes=s(o.attributes),this.emit("nodeAttributesUpdated",{key:o.key,type:"update",attributes:o.attributes}),this}}const ISe=[{name:e=>`get${e}Attribute`,attacher:CSe},{name:e=>`get${e}Attributes`,attacher:TSe},{name:e=>`has${e}Attribute`,attacher:ASe},{name:e=>`set${e}Attribute`,attacher:_Se},{name:e=>`update${e}Attribute`,attacher:DSe},{name:e=>`remove${e}Attribute`,attacher:RSe},{name:e=>`replace${e}Attributes`,attacher:NSe},{name:e=>`merge${e}Attributes`,attacher:LSe},{name:e=>`update${e}Attributes`,attacher:MSe}];function OSe(e){ISe.forEach(function({name:t,attacher:r}){r(e,t("Node"),XZ),r(e,t("Source"),JZ),r(e,t("Target"),kSe),r(e,t("Opposite"),ZZ)})}function BSe(e,t,r){e.prototype[t]=function(n,a){let i;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const o=""+n,s=""+a;if(a=arguments[2],i=no(this,o,s,r),!i)throw new st(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,i=this._edges.get(n),!i)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}return i.attributes[a]}}function PSe(e,t,r){e.prototype[t]=function(n){let a;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>1){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const i=""+n,o=""+arguments[1];if(a=no(this,i,o,r),!a)throw new st(`Graph.${t}: could not find an edge for the given path ("${i}" - "${o}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,a=this._edges.get(n),!a)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}return a.attributes}}function zSe(e,t,r){e.prototype[t]=function(n,a){let i;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const o=""+n,s=""+a;if(a=arguments[2],i=no(this,o,s,r),!i)throw new st(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,i=this._edges.get(n),!i)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}return i.attributes.hasOwnProperty(a)}}function HSe(e,t,r){e.prototype[t]=function(n,a,i){let o;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>3){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+n,l=""+a;if(a=arguments[2],i=arguments[3],o=no(this,s,l,r),!o)throw new st(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,o=this._edges.get(n),!o)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}return o.attributes[a]=i,this.emit("edgeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:a}),this}}function USe(e,t,r){e.prototype[t]=function(n,a,i){let o;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>3){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const s=""+n,l=""+a;if(a=arguments[2],i=arguments[3],o=no(this,s,l,r),!o)throw new st(`Graph.${t}: could not find an edge for the given path ("${s}" - "${l}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,o=this._edges.get(n),!o)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}if(typeof i!="function")throw new bt(`Graph.${t}: updater should be a function.`);return o.attributes[a]=i(o.attributes[a]),this.emit("edgeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:a}),this}}function GSe(e,t,r){e.prototype[t]=function(n,a){let i;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const o=""+n,s=""+a;if(a=arguments[2],i=no(this,o,s,r),!i)throw new st(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,i=this._edges.get(n),!i)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}return delete i.attributes[a],this.emit("edgeAttributesUpdated",{key:i.key,type:"remove",attributes:i.attributes,name:a}),this}}function $Se(e,t,r){e.prototype[t]=function(n,a){let i;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const o=""+n,s=""+a;if(a=arguments[2],i=no(this,o,s,r),!i)throw new st(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,i=this._edges.get(n),!i)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}if(!ma(a))throw new bt(`Graph.${t}: provided attributes are not a plain object.`);return i.attributes=a,this.emit("edgeAttributesUpdated",{key:i.key,type:"replace",attributes:i.attributes}),this}}function jSe(e,t,r){e.prototype[t]=function(n,a){let i;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const o=""+n,s=""+a;if(a=arguments[2],i=no(this,o,s,r),!i)throw new st(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,i=this._edges.get(n),!i)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}if(!ma(a))throw new bt(`Graph.${t}: provided attributes are not a plain object.`);return jn(i.attributes,a),this.emit("edgeAttributesUpdated",{key:i.key,type:"merge",attributes:i.attributes,data:a}),this}}function qSe(e,t,r){e.prototype[t]=function(n,a){let i;if(this.type!=="mixed"&&r!=="mixed"&&r!==this.type)throw new Wt(`Graph.${t}: cannot find this type of edges in your ${this.type} graph.`);if(arguments.length>2){if(this.multi)throw new Wt(`Graph.${t}: cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about.`);const o=""+n,s=""+a;if(a=arguments[2],i=no(this,o,s,r),!i)throw new st(`Graph.${t}: could not find an edge for the given path ("${o}" - "${s}").`)}else{if(r!=="mixed")throw new Wt(`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`);if(n=""+n,i=this._edges.get(n),!i)throw new st(`Graph.${t}: could not find the "${n}" edge in the graph.`)}if(typeof a!="function")throw new bt(`Graph.${t}: provided updater is not a function.`);return i.attributes=a(i.attributes),this.emit("edgeAttributesUpdated",{key:i.key,type:"update",attributes:i.attributes}),this}}const WSe=[{name:e=>`get${e}Attribute`,attacher:BSe},{name:e=>`get${e}Attributes`,attacher:PSe},{name:e=>`has${e}Attribute`,attacher:zSe},{name:e=>`set${e}Attribute`,attacher:HSe},{name:e=>`update${e}Attribute`,attacher:USe},{name:e=>`remove${e}Attribute`,attacher:GSe},{name:e=>`replace${e}Attributes`,attacher:$Se},{name:e=>`merge${e}Attributes`,attacher:jSe},{name:e=>`update${e}Attributes`,attacher:qSe}];function VSe(e){WSe.forEach(function({name:t,attacher:r}){r(e,t("Edge"),"mixed"),r(e,t("DirectedEdge"),"directed"),r(e,t("UndirectedEdge"),"undirected")})}const KSe=[{name:"edges",type:"mixed"},{name:"inEdges",type:"directed",direction:"in"},{name:"outEdges",type:"directed",direction:"out"},{name:"inboundEdges",type:"mixed",direction:"in"},{name:"outboundEdges",type:"mixed",direction:"out"},{name:"directedEdges",type:"directed"},{name:"undirectedEdges",type:"undirected"}];function YSe(e,t,r,n){let a=!1;for(const i in t){if(i===n)continue;const o=t[i];if(a=r(o.key,o.attributes,o.source.key,o.target.key,o.source.attributes,o.target.attributes,o.undirected),e&&a)return o.key}}function XSe(e,t,r,n){let a,i,o,s=!1;for(const l in t)if(l!==n){a=t[l];do{if(i=a.source,o=a.target,s=r(a.key,a.attributes,i.key,o.key,i.attributes,o.attributes,a.undirected),e&&s)return a.key;a=a.next}while(a!==void 0)}}function OS(e,t){const r=Object.keys(e),n=r.length;let a,i=0;return{[Symbol.iterator](){return this},next(){do if(a)a=a.next;else{if(i>=n)return{done:!0};const o=r[i++];if(o===t){a=void 0;continue}a=e[o]}while(!a);return{done:!1,value:{edge:a.key,attributes:a.attributes,source:a.source.key,target:a.target.key,sourceAttributes:a.source.attributes,targetAttributes:a.target.attributes,undirected:a.undirected}}}}}function JSe(e,t,r,n){const a=t[r];if(!a)return;const i=a.source,o=a.target;if(n(a.key,a.attributes,i.key,o.key,i.attributes,o.attributes,a.undirected)&&e)return a.key}function ZSe(e,t,r,n){let a=t[r];if(!a)return;let i=!1;do{if(i=n(a.key,a.attributes,a.source.key,a.target.key,a.source.attributes,a.target.attributes,a.undirected),e&&i)return a.key;a=a.next}while(a!==void 0)}function BS(e,t){let r=e[t];if(r.next!==void 0)return{[Symbol.iterator](){return this},next(){if(!r)return{done:!0};const a={edge:r.key,attributes:r.attributes,source:r.source.key,target:r.target.key,sourceAttributes:r.source.attributes,targetAttributes:r.target.attributes,undirected:r.undirected};return r=r.next,{done:!1,value:a}}};let n=!1;return{[Symbol.iterator](){return this},next(){return n===!0?{done:!0}:(n=!0,{done:!1,value:{edge:r.key,attributes:r.attributes,source:r.source.key,target:r.target.key,sourceAttributes:r.source.attributes,targetAttributes:r.target.attributes,undirected:r.undirected}})}}}function QSe(e,t){if(e.size===0)return[];if(t==="mixed"||t===e.type)return Array.from(e._edges.keys());const r=t==="undirected"?e.undirectedSize:e.directedSize,n=new Array(r),a=t==="undirected",i=e._edges.values();let o=0,s,l;for(;s=i.next(),s.done!==!0;)l=s.value,l.undirected===a&&(n[o++]=l.key);return n}function QZ(e,t,r,n){if(t.size===0)return;const a=r!=="mixed"&&r!==t.type,i=r==="undirected";let o,s,l=!1;const u=t._edges.values();for(;o=u.next(),o.done!==!0;){if(s=o.value,a&&s.undirected!==i)continue;const{key:d,attributes:h,source:f,target:m}=s;if(l=n(d,h,f.key,m.key,f.attributes,m.attributes,s.undirected),e&&l)return d}}function exe(e,t){if(e.size===0)return ap();const r=t!=="mixed"&&t!==e.type,n=t==="undirected",a=e._edges.values();return{[Symbol.iterator](){return this},next(){let i,o;for(;;){if(i=a.next(),i.done)return i;if(o=i.value,!(r&&o.undirected!==n))break}return{value:{edge:o.key,attributes:o.attributes,source:o.source.key,target:o.target.key,sourceAttributes:o.source.attributes,targetAttributes:o.target.attributes,undirected:o.undirected},done:!1}}}}function e5(e,t,r,n,a,i){const o=t?XSe:YSe;let s;if(r!=="undirected"&&(n!=="out"&&(s=o(e,a.in,i),e&&s)||n!=="in"&&(s=o(e,a.out,i,n?void 0:a.key),e&&s))||r!=="directed"&&(s=o(e,a.undirected,i),e&&s))return s}function txe(e,t,r,n){const a=[];return e5(!1,e,t,r,n,function(i){a.push(i)}),a}function rxe(e,t,r){let n=ap();return e!=="undirected"&&(t!=="out"&&typeof r.in<"u"&&(n=nl(n,OS(r.in))),t!=="in"&&typeof r.out<"u"&&(n=nl(n,OS(r.out,t?void 0:r.key)))),e!=="directed"&&typeof r.undirected<"u"&&(n=nl(n,OS(r.undirected))),n}function t5(e,t,r,n,a,i,o){const s=r?ZSe:JSe;let l;if(t!=="undirected"&&(typeof a.in<"u"&&n!=="out"&&(l=s(e,a.in,i,o),e&&l)||typeof a.out<"u"&&n!=="in"&&(n||a.key!==i)&&(l=s(e,a.out,i,o),e&&l))||t!=="directed"&&typeof a.undirected<"u"&&(l=s(e,a.undirected,i,o),e&&l))return l}function nxe(e,t,r,n,a){const i=[];return t5(!1,e,t,r,n,a,function(o){i.push(o)}),i}function axe(e,t,r,n){let a=ap();return e!=="undirected"&&(typeof r.in<"u"&&t!=="out"&&n in r.in&&(a=nl(a,BS(r.in,n))),typeof r.out<"u"&&t!=="in"&&n in r.out&&(t||r.key!==n)&&(a=nl(a,BS(r.out,n)))),e!=="directed"&&typeof r.undirected<"u"&&n in r.undirected&&(a=nl(a,BS(r.undirected,n))),a}function ixe(e,t){const{name:r,type:n,direction:a}=t;e.prototype[r]=function(i,o){if(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)return[];if(!arguments.length)return QSe(this,n);if(arguments.length===1){i=""+i;const s=this._nodes.get(i);if(typeof s>"u")throw new st(`Graph.${r}: could not find the "${i}" node in the graph.`);return txe(this.multi,n==="mixed"?this.type:n,a,s)}if(arguments.length===2){i=""+i,o=""+o;const s=this._nodes.get(i);if(!s)throw new st(`Graph.${r}: could not find the "${i}" source node in the graph.`);if(!this._nodes.has(o))throw new st(`Graph.${r}: could not find the "${o}" target node in the graph.`);return nxe(n,this.multi,a,s,o)}throw new bt(`Graph.${r}: too many arguments (expecting 0, 1 or 2 and got ${arguments.length}).`)}}function oxe(e,t){const{name:r,type:n,direction:a}=t,i="forEach"+r[0].toUpperCase()+r.slice(1,-1);e.prototype[i]=function(u,d,h){if(!(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)){if(arguments.length===1)return h=u,QZ(!1,this,n,h);if(arguments.length===2){u=""+u,h=d;const f=this._nodes.get(u);if(typeof f>"u")throw new st(`Graph.${i}: could not find the "${u}" node in the graph.`);return e5(!1,this.multi,n==="mixed"?this.type:n,a,f,h)}if(arguments.length===3){u=""+u,d=""+d;const f=this._nodes.get(u);if(!f)throw new st(`Graph.${i}: could not find the "${u}" source node in the graph.`);if(!this._nodes.has(d))throw new st(`Graph.${i}: could not find the "${d}" target node in the graph.`);return t5(!1,n,this.multi,a,f,d,h)}throw new bt(`Graph.${i}: too many arguments (expecting 1, 2 or 3 and got ${arguments.length}).`)}};const o="map"+r[0].toUpperCase()+r.slice(1);e.prototype[o]=function(){const u=Array.prototype.slice.call(arguments),d=u.pop();let h;if(u.length===0){let f=0;n!=="directed"&&(f+=this.undirectedSize),n!=="undirected"&&(f+=this.directedSize),h=new Array(f);let m=0;u.push((b,y,F,x,E,C,_)=>{h[m++]=d(b,y,F,x,E,C,_)})}else h=[],u.push((f,m,b,y,F,x,E)=>{h.push(d(f,m,b,y,F,x,E))});return this[i].apply(this,u),h};const s="filter"+r[0].toUpperCase()+r.slice(1);e.prototype[s]=function(){const u=Array.prototype.slice.call(arguments),d=u.pop(),h=[];return u.push((f,m,b,y,F,x,E)=>{d(f,m,b,y,F,x,E)&&h.push(f)}),this[i].apply(this,u),h};const l="reduce"+r[0].toUpperCase()+r.slice(1);e.prototype[l]=function(){let u=Array.prototype.slice.call(arguments);if(u.length<2||u.length>4)throw new bt(`Graph.${l}: invalid number of arguments (expecting 2, 3 or 4 and got ${u.length}).`);if(typeof u[u.length-1]=="function"&&typeof u[u.length-2]!="function")throw new bt(`Graph.${l}: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.`);let d,h;u.length===2?(d=u[0],h=u[1],u=[]):u.length===3?(d=u[1],h=u[2],u=[u[0]]):u.length===4&&(d=u[2],h=u[3],u=[u[0],u[1]]);let f=h;return u.push((m,b,y,F,x,E,C)=>{f=d(f,m,b,y,F,x,E,C)}),this[i].apply(this,u),f}}function sxe(e,t){const{name:r,type:n,direction:a}=t,i="find"+r[0].toUpperCase()+r.slice(1,-1);e.prototype[i]=function(l,u,d){if(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)return!1;if(arguments.length===1)return d=l,QZ(!0,this,n,d);if(arguments.length===2){l=""+l,d=u;const h=this._nodes.get(l);if(typeof h>"u")throw new st(`Graph.${i}: could not find the "${l}" node in the graph.`);return e5(!0,this.multi,n==="mixed"?this.type:n,a,h,d)}if(arguments.length===3){l=""+l,u=""+u;const h=this._nodes.get(l);if(!h)throw new st(`Graph.${i}: could not find the "${l}" source node in the graph.`);if(!this._nodes.has(u))throw new st(`Graph.${i}: could not find the "${u}" target node in the graph.`);return t5(!0,n,this.multi,a,h,u,d)}throw new bt(`Graph.${i}: too many arguments (expecting 1, 2 or 3 and got ${arguments.length}).`)};const o="some"+r[0].toUpperCase()+r.slice(1,-1);e.prototype[o]=function(){const l=Array.prototype.slice.call(arguments),u=l.pop();return l.push((h,f,m,b,y,F,x)=>u(h,f,m,b,y,F,x)),!!this[i].apply(this,l)};const s="every"+r[0].toUpperCase()+r.slice(1,-1);e.prototype[s]=function(){const l=Array.prototype.slice.call(arguments),u=l.pop();return l.push((h,f,m,b,y,F,x)=>!u(h,f,m,b,y,F,x)),!this[i].apply(this,l)}}function lxe(e,t){const{name:r,type:n,direction:a}=t,i=r.slice(0,-1)+"Entries";e.prototype[i]=function(o,s){if(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)return ap();if(!arguments.length)return exe(this,n);if(arguments.length===1){o=""+o;const l=this._nodes.get(o);if(!l)throw new st(`Graph.${i}: could not find the "${o}" node in the graph.`);return rxe(n,a,l)}if(arguments.length===2){o=""+o,s=""+s;const l=this._nodes.get(o);if(!l)throw new st(`Graph.${i}: could not find the "${o}" source node in the graph.`);if(!this._nodes.has(s))throw new st(`Graph.${i}: could not find the "${s}" target node in the graph.`);return axe(n,a,l,s)}throw new bt(`Graph.${i}: too many arguments (expecting 0, 1 or 2 and got ${arguments.length}).`)}}function uxe(e){KSe.forEach(t=>{ixe(e,t),oxe(e,t),sxe(e,t),lxe(e,t)})}const cxe=[{name:"neighbors",type:"mixed"},{name:"inNeighbors",type:"directed",direction:"in"},{name:"outNeighbors",type:"directed",direction:"out"},{name:"inboundNeighbors",type:"mixed",direction:"in"},{name:"outboundNeighbors",type:"mixed",direction:"out"},{name:"directedNeighbors",type:"directed"},{name:"undirectedNeighbors",type:"undirected"}];function Yv(){this.A=null,this.B=null}Yv.prototype.wrap=function(e){this.A===null?this.A=e:this.B===null&&(this.B=e)};Yv.prototype.has=function(e){return this.A!==null&&e in this.A||this.B!==null&&e in this.B};function Sf(e,t,r,n,a){for(const i in n){const o=n[i],s=o.source,l=o.target,u=s===r?l:s;if(t&&t.has(u.key))continue;const d=a(u.key,u.attributes);if(e&&d)return u.key}}function r5(e,t,r,n,a){if(t!=="mixed"){if(t==="undirected")return Sf(e,null,n,n.undirected,a);if(typeof r=="string")return Sf(e,null,n,n[r],a)}const i=new Yv;let o;if(t!=="undirected"){if(r!=="out"){if(o=Sf(e,null,n,n.in,a),e&&o)return o;i.wrap(n.in)}if(r!=="in"){if(o=Sf(e,i,n,n.out,a),e&&o)return o;i.wrap(n.out)}}if(t!=="directed"&&(o=Sf(e,i,n,n.undirected,a),e&&o))return o}function dxe(e,t,r){if(e!=="mixed"){if(e==="undirected")return Object.keys(r.undirected);if(typeof t=="string")return Object.keys(r[t])}const n=[];return r5(!1,e,t,r,function(a){n.push(a)}),n}function xf(e,t,r){const n=Object.keys(r),a=n.length;let i=0;return{[Symbol.iterator](){return this},next(){let o=null;do{if(i>=a)return e&&e.wrap(r),{done:!0};const s=r[n[i++]],l=s.source,u=s.target;if(o=l===t?u:l,e&&e.has(o.key)){o=null;continue}}while(o===null);return{done:!1,value:{neighbor:o.key,attributes:o.attributes}}}}}function hxe(e,t,r){if(e!=="mixed"){if(e==="undirected")return xf(null,r,r.undirected);if(typeof t=="string")return xf(null,r,r[t])}let n=ap();const a=new Yv;return e!=="undirected"&&(t!=="out"&&(n=nl(n,xf(a,r,r.in))),t!=="in"&&(n=nl(n,xf(a,r,r.out)))),e!=="directed"&&(n=nl(n,xf(a,r,r.undirected))),n}function pxe(e,t){const{name:r,type:n,direction:a}=t;e.prototype[r]=function(i){if(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)return[];i=""+i;const o=this._nodes.get(i);if(typeof o>"u")throw new st(`Graph.${r}: could not find the "${i}" node in the graph.`);return dxe(n==="mixed"?this.type:n,a,o)}}function fxe(e,t){const{name:r,type:n,direction:a}=t,i="forEach"+r[0].toUpperCase()+r.slice(1,-1);e.prototype[i]=function(u,d){if(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)return;u=""+u;const h=this._nodes.get(u);if(typeof h>"u")throw new st(`Graph.${i}: could not find the "${u}" node in the graph.`);r5(!1,n==="mixed"?this.type:n,a,h,d)};const o="map"+r[0].toUpperCase()+r.slice(1);e.prototype[o]=function(u,d){const h=[];return this[i](u,(f,m)=>{h.push(d(f,m))}),h};const s="filter"+r[0].toUpperCase()+r.slice(1);e.prototype[s]=function(u,d){const h=[];return this[i](u,(f,m)=>{d(f,m)&&h.push(f)}),h};const l="reduce"+r[0].toUpperCase()+r.slice(1);e.prototype[l]=function(u,d,h){if(arguments.length<3)throw new bt(`Graph.${l}: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.`);let f=h;return this[i](u,(m,b)=>{f=d(f,m,b)}),f}}function mxe(e,t){const{name:r,type:n,direction:a}=t,i=r[0].toUpperCase()+r.slice(1,-1),o="find"+i;e.prototype[o]=function(u,d){if(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)return;u=""+u;const h=this._nodes.get(u);if(typeof h>"u")throw new st(`Graph.${o}: could not find the "${u}" node in the graph.`);return r5(!0,n==="mixed"?this.type:n,a,h,d)};const s="some"+i;e.prototype[s]=function(u,d){return!!this[o](u,d)};const l="every"+i;e.prototype[l]=function(u,d){return!this[o](u,(f,m)=>!d(f,m))}}function gxe(e,t){const{name:r,type:n,direction:a}=t,i=r.slice(0,-1)+"Entries";e.prototype[i]=function(o){if(n!=="mixed"&&this.type!=="mixed"&&n!==this.type)return ap();o=""+o;const s=this._nodes.get(o);if(typeof s>"u")throw new st(`Graph.${i}: could not find the "${o}" node in the graph.`);return hxe(n==="mixed"?this.type:n,a,s)}}function bxe(e){cxe.forEach(t=>{pxe(e,t),fxe(e,t),mxe(e,t),gxe(e,t)})}function F1(e,t,r,n,a){const i=n._nodes.values(),o=n.type;let s,l,u,d,h,f;for(;s=i.next(),s.done!==!0;){let m=!1;if(l=s.value,o!=="undirected"){d=l.out;for(u in d){h=d[u];do f=h.target,m=!0,a(l.key,f.key,l.attributes,f.attributes,h.key,h.attributes,h.undirected),h=h.next;while(h)}}if(o!=="directed"){d=l.undirected;for(u in d)if(!(t&&l.key>u)){h=d[u];do f=h.target,f.key!==u&&(f=h.source),m=!0,a(l.key,f.key,l.attributes,f.attributes,h.key,h.attributes,h.undirected),h=h.next;while(h)}}r&&!m&&a(l.key,null,l.attributes,null,null,null,null)}}function yxe(e,t){const r={key:e};return WZ(t.attributes)||(r.attributes=jn({},t.attributes)),r}function vxe(e,t,r){const n={key:t,source:r.source.key,target:r.target.key};return WZ(r.attributes)||(n.attributes=jn({},r.attributes)),e==="mixed"&&r.undirected&&(n.undirected=!0),n}function Fxe(e){if(!ma(e))throw new bt('Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.');if(!("key"in e))throw new bt("Graph.import: serialized node is missing its key.");if("attributes"in e&&(!ma(e.attributes)||e.attributes===null))throw new bt("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.")}function Exe(e){if(!ma(e))throw new bt('Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.');if(!("source"in e))throw new bt("Graph.import: serialized edge is missing its source.");if(!("target"in e))throw new bt("Graph.import: serialized edge is missing its target.");if("attributes"in e&&(!ma(e.attributes)||e.attributes===null))throw new bt("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.");if("undirected"in e&&typeof e.undirected!="boolean")throw new bt("Graph.import: invalid undirectedness information. Undirected should be boolean or omitted.")}const Sxe=wSe(),xxe=new Set(["directed","undirected","mixed"]),_O=new Set(["domain","_events","_eventsCount","_maxListeners"]),wxe=[{name:e=>`${e}Edge`,generateKey:!0},{name:e=>`${e}DirectedEdge`,generateKey:!0,type:"directed"},{name:e=>`${e}UndirectedEdge`,generateKey:!0,type:"undirected"},{name:e=>`${e}EdgeWithKey`},{name:e=>`${e}DirectedEdgeWithKey`,type:"directed"},{name:e=>`${e}UndirectedEdgeWithKey`,type:"undirected"}],kxe={allowSelfLoops:!0,multi:!1,type:"mixed"};function Cxe(e,t,r){if(r&&!ma(r))throw new bt(`Graph.addNode: invalid attributes. Expecting an object but got "${r}"`);if(t=""+t,r=r||{},e._nodes.has(t))throw new Wt(`Graph.addNode: the "${t}" node already exist in the graph.`);const n=new e.NodeDataClass(t,r);return e._nodes.set(t,n),e.emit("nodeAdded",{key:t,attributes:r}),n}function DO(e,t,r){const n=new e.NodeDataClass(t,r);return e._nodes.set(t,n),e.emit("nodeAdded",{key:t,attributes:r}),n}function eQ(e,t,r,n,a,i,o,s){if(!n&&e.type==="undirected")throw new Wt(`Graph.${t}: you cannot add a directed edge to an undirected graph. Use the #.addEdge or #.addUndirectedEdge instead.`);if(n&&e.type==="directed")throw new Wt(`Graph.${t}: you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead.`);if(s&&!ma(s))throw new bt(`Graph.${t}: invalid attributes. Expecting an object but got "${s}"`);if(i=""+i,o=""+o,s=s||{},!e.allowSelfLoops&&i===o)throw new Wt(`Graph.${t}: source & target are the same ("${i}"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false.`);const l=e._nodes.get(i),u=e._nodes.get(o);if(!l)throw new st(`Graph.${t}: source node "${i}" not found.`);if(!u)throw new st(`Graph.${t}: target node "${o}" not found.`);const d={key:null,undirected:n,source:i,target:o,attributes:s};if(r)a=e._edgeKeyGenerator();else if(a=""+a,e._edges.has(a))throw new Wt(`Graph.${t}: the "${a}" edge already exists in the graph.`);if(!e.multi&&(n?typeof l.undirected[o]<"u":typeof l.out[o]<"u"))throw new Wt(`Graph.${t}: an edge linking "${i}" to "${o}" already exists. If you really want to add multiple edges linking those nodes, you should create a multi graph by using the 'multi' option.`);const h=new ip(n,a,l,u,s);e._edges.set(a,h);const f=i===o;return n?(l.undirectedDegree++,u.undirectedDegree++,f&&(l.undirectedLoops++,e._undirectedSelfLoopCount++)):(l.outDegree++,u.inDegree++,f&&(l.directedLoops++,e._directedSelfLoopCount++)),e.multi?h.attachMulti():h.attach(),n?e._undirectedSize++:e._directedSize++,d.key=a,e.emit("edgeAdded",d),a}function Txe(e,t,r,n,a,i,o,s,l){if(!n&&e.type==="undirected")throw new Wt(`Graph.${t}: you cannot merge/update a directed edge to an undirected graph. Use the #.mergeEdge/#.updateEdge or #.addUndirectedEdge instead.`);if(n&&e.type==="directed")throw new Wt(`Graph.${t}: you cannot merge/update an undirected edge to a directed graph. Use the #.mergeEdge/#.updateEdge or #.addDirectedEdge instead.`);if(s){if(l){if(typeof s!="function")throw new bt(`Graph.${t}: invalid updater function. Expecting a function but got "${s}"`)}else if(!ma(s))throw new bt(`Graph.${t}: invalid attributes. Expecting an object but got "${s}"`)}i=""+i,o=""+o;let u;if(l&&(u=s,s=void 0),!e.allowSelfLoops&&i===o)throw new Wt(`Graph.${t}: source & target are the same ("${i}"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false.`);let d=e._nodes.get(i),h=e._nodes.get(o),f,m;if(!r&&(f=e._edges.get(a),f)){if((f.source.key!==i||f.target.key!==o)&&(!n||f.source.key!==o||f.target.key!==i))throw new Wt(`Graph.${t}: inconsistency detected when attempting to merge the "${a}" edge with "${i}" source & "${o}" target vs. ("${f.source.key}", "${f.target.key}").`);m=f}if(!m&&!e.multi&&d&&(m=n?d.undirected[o]:d.out[o]),m){const E=[m.key,!1,!1,!1];if(l?!u:!s)return E;if(l){const C=m.attributes;m.attributes=u(C),e.emit("edgeAttributesUpdated",{type:"replace",key:m.key,attributes:m.attributes})}else jn(m.attributes,s),e.emit("edgeAttributesUpdated",{type:"merge",key:m.key,attributes:m.attributes,data:s});return E}s=s||{},l&&u&&(s=u(s));const b={key:null,undirected:n,source:i,target:o,attributes:s};if(r)a=e._edgeKeyGenerator();else if(a=""+a,e._edges.has(a))throw new Wt(`Graph.${t}: the "${a}" edge already exists in the graph.`);let y=!1,F=!1;d||(d=DO(e,i,{}),y=!0,i===o&&(h=d,F=!0)),h||(h=DO(e,o,{}),F=!0),f=new ip(n,a,d,h,s),e._edges.set(a,f);const x=i===o;return n?(d.undirectedDegree++,h.undirectedDegree++,x&&(d.undirectedLoops++,e._undirectedSelfLoopCount++)):(d.outDegree++,h.inDegree++,x&&(d.directedLoops++,e._directedSelfLoopCount++)),e.multi?f.attachMulti():f.attach(),n?e._undirectedSize++:e._directedSize++,b.key=a,e.emit("edgeAdded",b),[a,!0,y,F]}function Ud(e,t){e._edges.delete(t.key);const{source:r,target:n,attributes:a}=t,i=t.undirected,o=r===n;i?(r.undirectedDegree--,n.undirectedDegree--,o&&(r.undirectedLoops--,e._undirectedSelfLoopCount--)):(r.outDegree--,n.inDegree--,o&&(r.directedLoops--,e._directedSelfLoopCount--)),e.multi?t.detachMulti():t.detach(),i?e._undirectedSize--:e._directedSize--,e.emit("edgeDropped",{key:t.key,attributes:a,source:r.key,target:n.key,undirected:i})}class qr extends qZ.EventEmitter{constructor(t){if(super(),t=jn({},kxe,t),typeof t.multi!="boolean")throw new bt(`Graph.constructor: invalid 'multi' option. Expecting a boolean but got "${t.multi}".`);if(!xxe.has(t.type))throw new bt(`Graph.constructor: invalid 'type' option. Should be one of "mixed", "directed" or "undirected" but got "${t.type}".`);if(typeof t.allowSelfLoops!="boolean")throw new bt(`Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got "${t.allowSelfLoops}".`);const r=t.type==="mixed"?VZ:t.type==="directed"?KZ:YZ;Yi(this,"NodeDataClass",r);const n="geid_"+Sxe()+"_";let a=0;const i=()=>{let o;do o=n+a++;while(this._edges.has(o));return o};Yi(this,"_attributes",{}),Yi(this,"_nodes",new Map),Yi(this,"_edges",new Map),Yi(this,"_directedSize",0),Yi(this,"_undirectedSize",0),Yi(this,"_directedSelfLoopCount",0),Yi(this,"_undirectedSelfLoopCount",0),Yi(this,"_edgeKeyGenerator",i),Yi(this,"_options",t),_O.forEach(o=>Yi(this,o,this[o])),bo(this,"order",()=>this._nodes.size),bo(this,"size",()=>this._edges.size),bo(this,"directedSize",()=>this._directedSize),bo(this,"undirectedSize",()=>this._undirectedSize),bo(this,"selfLoopCount",()=>this._directedSelfLoopCount+this._undirectedSelfLoopCount),bo(this,"directedSelfLoopCount",()=>this._directedSelfLoopCount),bo(this,"undirectedSelfLoopCount",()=>this._undirectedSelfLoopCount),bo(this,"multi",this._options.multi),bo(this,"type",this._options.type),bo(this,"allowSelfLoops",this._options.allowSelfLoops),bo(this,"implementation",()=>"graphology")}_resetInstanceCounters(){this._directedSize=0,this._undirectedSize=0,this._directedSelfLoopCount=0,this._undirectedSelfLoopCount=0}hasNode(t){return this._nodes.has(""+t)}hasDirectedEdge(t,r){if(this.type==="undirected")return!1;if(arguments.length===1){const n=""+t,a=this._edges.get(n);return!!a&&!a.undirected}else if(arguments.length===2){t=""+t,r=""+r;const n=this._nodes.get(t);return n?n.out.hasOwnProperty(r):!1}throw new bt(`Graph.hasDirectedEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}hasUndirectedEdge(t,r){if(this.type==="directed")return!1;if(arguments.length===1){const n=""+t,a=this._edges.get(n);return!!a&&a.undirected}else if(arguments.length===2){t=""+t,r=""+r;const n=this._nodes.get(t);return n?n.undirected.hasOwnProperty(r):!1}throw new bt(`Graph.hasDirectedEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}hasEdge(t,r){if(arguments.length===1){const n=""+t;return this._edges.has(n)}else if(arguments.length===2){t=""+t,r=""+r;const n=this._nodes.get(t);return n?typeof n.out<"u"&&n.out.hasOwnProperty(r)||typeof n.undirected<"u"&&n.undirected.hasOwnProperty(r):!1}throw new bt(`Graph.hasEdge: invalid arity (${arguments.length}, instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target.`)}directedEdge(t,r){if(this.type==="undirected")return;if(t=""+t,r=""+r,this.multi)throw new Wt("Graph.directedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.directedEdges instead.");const n=this._nodes.get(t);if(!n)throw new st(`Graph.directedEdge: could not find the "${t}" source node in the graph.`);if(!this._nodes.has(r))throw new st(`Graph.directedEdge: could not find the "${r}" target node in the graph.`);const a=n.out&&n.out[r]||void 0;if(a)return a.key}undirectedEdge(t,r){if(this.type==="directed")return;if(t=""+t,r=""+r,this.multi)throw new Wt("Graph.undirectedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.undirectedEdges instead.");const n=this._nodes.get(t);if(!n)throw new st(`Graph.undirectedEdge: could not find the "${t}" source node in the graph.`);if(!this._nodes.has(r))throw new st(`Graph.undirectedEdge: could not find the "${r}" target node in the graph.`);const a=n.undirected&&n.undirected[r]||void 0;if(a)return a.key}edge(t,r){if(this.multi)throw new Wt("Graph.edge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.edges instead.");t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.edge: could not find the "${t}" source node in the graph.`);if(!this._nodes.has(r))throw new st(`Graph.edge: could not find the "${r}" target node in the graph.`);const a=n.out&&n.out[r]||n.undirected&&n.undirected[r]||void 0;if(a)return a.key}areDirectedNeighbors(t,r){t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.areDirectedNeighbors: could not find the "${t}" node in the graph.`);return this.type==="undirected"?!1:r in n.in||r in n.out}areOutNeighbors(t,r){t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.areOutNeighbors: could not find the "${t}" node in the graph.`);return this.type==="undirected"?!1:r in n.out}areInNeighbors(t,r){t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.areInNeighbors: could not find the "${t}" node in the graph.`);return this.type==="undirected"?!1:r in n.in}areUndirectedNeighbors(t,r){t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.areUndirectedNeighbors: could not find the "${t}" node in the graph.`);return this.type==="directed"?!1:r in n.undirected}areNeighbors(t,r){t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.areNeighbors: could not find the "${t}" node in the graph.`);return this.type!=="undirected"&&(r in n.in||r in n.out)||this.type!=="directed"&&r in n.undirected}areInboundNeighbors(t,r){t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.areInboundNeighbors: could not find the "${t}" node in the graph.`);return this.type!=="undirected"&&r in n.in||this.type!=="directed"&&r in n.undirected}areOutboundNeighbors(t,r){t=""+t,r=""+r;const n=this._nodes.get(t);if(!n)throw new st(`Graph.areOutboundNeighbors: could not find the "${t}" node in the graph.`);return this.type!=="undirected"&&r in n.out||this.type!=="directed"&&r in n.undirected}inDegree(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.inDegree: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:r.inDegree}outDegree(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.outDegree: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:r.outDegree}directedDegree(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.directedDegree: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:r.inDegree+r.outDegree}undirectedDegree(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.undirectedDegree: could not find the "${t}" node in the graph.`);return this.type==="directed"?0:r.undirectedDegree}inboundDegree(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.inboundDegree: could not find the "${t}" node in the graph.`);let n=0;return this.type!=="directed"&&(n+=r.undirectedDegree),this.type!=="undirected"&&(n+=r.inDegree),n}outboundDegree(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.outboundDegree: could not find the "${t}" node in the graph.`);let n=0;return this.type!=="directed"&&(n+=r.undirectedDegree),this.type!=="undirected"&&(n+=r.outDegree),n}degree(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.degree: could not find the "${t}" node in the graph.`);let n=0;return this.type!=="directed"&&(n+=r.undirectedDegree),this.type!=="undirected"&&(n+=r.inDegree+r.outDegree),n}inDegreeWithoutSelfLoops(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.inDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:r.inDegree-r.directedLoops}outDegreeWithoutSelfLoops(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.outDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:r.outDegree-r.directedLoops}directedDegreeWithoutSelfLoops(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.directedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="undirected"?0:r.inDegree+r.outDegree-r.directedLoops*2}undirectedDegreeWithoutSelfLoops(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.undirectedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);return this.type==="directed"?0:r.undirectedDegree-r.undirectedLoops*2}inboundDegreeWithoutSelfLoops(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.inboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);let n=0,a=0;return this.type!=="directed"&&(n+=r.undirectedDegree,a+=r.undirectedLoops*2),this.type!=="undirected"&&(n+=r.inDegree,a+=r.directedLoops),n-a}outboundDegreeWithoutSelfLoops(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.outboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);let n=0,a=0;return this.type!=="directed"&&(n+=r.undirectedDegree,a+=r.undirectedLoops*2),this.type!=="undirected"&&(n+=r.outDegree,a+=r.directedLoops),n-a}degreeWithoutSelfLoops(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.degreeWithoutSelfLoops: could not find the "${t}" node in the graph.`);let n=0,a=0;return this.type!=="directed"&&(n+=r.undirectedDegree,a+=r.undirectedLoops*2),this.type!=="undirected"&&(n+=r.inDegree+r.outDegree,a+=r.directedLoops*2),n-a}source(t){t=""+t;const r=this._edges.get(t);if(!r)throw new st(`Graph.source: could not find the "${t}" edge in the graph.`);return r.source.key}target(t){t=""+t;const r=this._edges.get(t);if(!r)throw new st(`Graph.target: could not find the "${t}" edge in the graph.`);return r.target.key}extremities(t){t=""+t;const r=this._edges.get(t);if(!r)throw new st(`Graph.extremities: could not find the "${t}" edge in the graph.`);return[r.source.key,r.target.key]}opposite(t,r){t=""+t,r=""+r;const n=this._edges.get(r);if(!n)throw new st(`Graph.opposite: could not find the "${r}" edge in the graph.`);const a=n.source.key,i=n.target.key;if(t===a)return i;if(t===i)return a;throw new st(`Graph.opposite: the "${t}" node is not attached to the "${r}" edge (${a}, ${i}).`)}hasExtremity(t,r){t=""+t,r=""+r;const n=this._edges.get(t);if(!n)throw new st(`Graph.hasExtremity: could not find the "${t}" edge in the graph.`);return n.source.key===r||n.target.key===r}isUndirected(t){t=""+t;const r=this._edges.get(t);if(!r)throw new st(`Graph.isUndirected: could not find the "${t}" edge in the graph.`);return r.undirected}isDirected(t){t=""+t;const r=this._edges.get(t);if(!r)throw new st(`Graph.isDirected: could not find the "${t}" edge in the graph.`);return!r.undirected}isSelfLoop(t){t=""+t;const r=this._edges.get(t);if(!r)throw new st(`Graph.isSelfLoop: could not find the "${t}" edge in the graph.`);return r.source===r.target}addNode(t,r){return Cxe(this,t,r).key}mergeNode(t,r){if(r&&!ma(r))throw new bt(`Graph.mergeNode: invalid attributes. Expecting an object but got "${r}"`);t=""+t,r=r||{};let n=this._nodes.get(t);return n?(r&&(jn(n.attributes,r),this.emit("nodeAttributesUpdated",{type:"merge",key:t,attributes:n.attributes,data:r})),[t,!1]):(n=new this.NodeDataClass(t,r),this._nodes.set(t,n),this.emit("nodeAdded",{key:t,attributes:r}),[t,!0])}updateNode(t,r){if(r&&typeof r!="function")throw new bt(`Graph.updateNode: invalid updater function. Expecting a function but got "${r}"`);t=""+t;let n=this._nodes.get(t);if(n){if(r){const i=n.attributes;n.attributes=r(i),this.emit("nodeAttributesUpdated",{type:"replace",key:t,attributes:n.attributes})}return[t,!1]}const a=r?r({}):{};return n=new this.NodeDataClass(t,a),this._nodes.set(t,n),this.emit("nodeAdded",{key:t,attributes:a}),[t,!0]}dropNode(t){t=""+t;const r=this._nodes.get(t);if(!r)throw new st(`Graph.dropNode: could not find the "${t}" node in the graph.`);let n;if(this.type!=="undirected"){for(const a in r.out){n=r.out[a];do Ud(this,n),n=n.next;while(n)}for(const a in r.in){n=r.in[a];do Ud(this,n),n=n.next;while(n)}}if(this.type!=="directed")for(const a in r.undirected){n=r.undirected[a];do Ud(this,n),n=n.next;while(n)}this._nodes.delete(t),this.emit("nodeDropped",{key:t,attributes:r.attributes})}dropEdge(t){let r;if(arguments.length>1){const n=""+arguments[0],a=""+arguments[1];if(r=no(this,n,a,this.type),!r)throw new st(`Graph.dropEdge: could not find the "${n}" -> "${a}" edge in the graph.`)}else if(t=""+t,r=this._edges.get(t),!r)throw new st(`Graph.dropEdge: could not find the "${t}" edge in the graph.`);return Ud(this,r),this}dropDirectedEdge(t,r){if(arguments.length<2)throw new Wt("Graph.dropDirectedEdge: it does not make sense to try and drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new Wt("Graph.dropDirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");t=""+t,r=""+r;const n=no(this,t,r,"directed");if(!n)throw new st(`Graph.dropDirectedEdge: could not find a "${t}" -> "${r}" edge in the graph.`);return Ud(this,n),this}dropUndirectedEdge(t,r){if(arguments.length<2)throw new Wt("Graph.dropUndirectedEdge: it does not make sense to drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new Wt("Graph.dropUndirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");const n=no(this,t,r,"undirected");if(!n)throw new st(`Graph.dropUndirectedEdge: could not find a "${t}" -> "${r}" edge in the graph.`);return Ud(this,n),this}clear(){this._edges.clear(),this._nodes.clear(),this._resetInstanceCounters(),this.emit("cleared")}clearEdges(){const t=this._nodes.values();let r;for(;r=t.next(),r.done!==!0;)r.value.clear();this._edges.clear(),this._resetInstanceCounters(),this.emit("edgesCleared")}getAttribute(t){return this._attributes[t]}getAttributes(){return this._attributes}hasAttribute(t){return this._attributes.hasOwnProperty(t)}setAttribute(t,r){return this._attributes[t]=r,this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:t}),this}updateAttribute(t,r){if(typeof r!="function")throw new bt("Graph.updateAttribute: updater should be a function.");const n=this._attributes[t];return this._attributes[t]=r(n),this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:t}),this}removeAttribute(t){return delete this._attributes[t],this.emit("attributesUpdated",{type:"remove",attributes:this._attributes,name:t}),this}replaceAttributes(t){if(!ma(t))throw new bt("Graph.replaceAttributes: provided attributes are not a plain object.");return this._attributes=t,this.emit("attributesUpdated",{type:"replace",attributes:this._attributes}),this}mergeAttributes(t){if(!ma(t))throw new bt("Graph.mergeAttributes: provided attributes are not a plain object.");return jn(this._attributes,t),this.emit("attributesUpdated",{type:"merge",attributes:this._attributes,data:t}),this}updateAttributes(t){if(typeof t!="function")throw new bt("Graph.updateAttributes: provided updater is not a function.");return this._attributes=t(this._attributes),this.emit("attributesUpdated",{type:"update",attributes:this._attributes}),this}updateEachNodeAttributes(t,r){if(typeof t!="function")throw new bt("Graph.updateEachNodeAttributes: expecting an updater function.");if(r&&!AO(r))throw new bt("Graph.updateEachNodeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");const n=this._nodes.values();let a,i;for(;a=n.next(),a.done!==!0;)i=a.value,i.attributes=t(i.key,i.attributes);this.emit("eachNodeAttributesUpdated",{hints:r||null})}updateEachEdgeAttributes(t,r){if(typeof t!="function")throw new bt("Graph.updateEachEdgeAttributes: expecting an updater function.");if(r&&!AO(r))throw new bt("Graph.updateEachEdgeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");const n=this._edges.values();let a,i,o,s;for(;a=n.next(),a.done!==!0;)i=a.value,o=i.source,s=i.target,i.attributes=t(i.key,i.attributes,o.key,s.key,o.attributes,s.attributes,i.undirected);this.emit("eachEdgeAttributesUpdated",{hints:r||null})}forEachAdjacencyEntry(t){if(typeof t!="function")throw new bt("Graph.forEachAdjacencyEntry: expecting a callback.");F1(!1,!1,!1,this,t)}forEachAdjacencyEntryWithOrphans(t){if(typeof t!="function")throw new bt("Graph.forEachAdjacencyEntryWithOrphans: expecting a callback.");F1(!1,!1,!0,this,t)}forEachAssymetricAdjacencyEntry(t){if(typeof t!="function")throw new bt("Graph.forEachAssymetricAdjacencyEntry: expecting a callback.");F1(!1,!0,!1,this,t)}forEachAssymetricAdjacencyEntryWithOrphans(t){if(typeof t!="function")throw new bt("Graph.forEachAssymetricAdjacencyEntryWithOrphans: expecting a callback.");F1(!1,!0,!0,this,t)}nodes(){return Array.from(this._nodes.keys())}forEachNode(t){if(typeof t!="function")throw new bt("Graph.forEachNode: expecting a callback.");const r=this._nodes.values();let n,a;for(;n=r.next(),n.done!==!0;)a=n.value,t(a.key,a.attributes)}findNode(t){if(typeof t!="function")throw new bt("Graph.findNode: expecting a callback.");const r=this._nodes.values();let n,a;for(;n=r.next(),n.done!==!0;)if(a=n.value,t(a.key,a.attributes))return a.key}mapNodes(t){if(typeof t!="function")throw new bt("Graph.mapNode: expecting a callback.");const r=this._nodes.values();let n,a;const i=new Array(this.order);let o=0;for(;n=r.next(),n.done!==!0;)a=n.value,i[o++]=t(a.key,a.attributes);return i}someNode(t){if(typeof t!="function")throw new bt("Graph.someNode: expecting a callback.");const r=this._nodes.values();let n,a;for(;n=r.next(),n.done!==!0;)if(a=n.value,t(a.key,a.attributes))return!0;return!1}everyNode(t){if(typeof t!="function")throw new bt("Graph.everyNode: expecting a callback.");const r=this._nodes.values();let n,a;for(;n=r.next(),n.done!==!0;)if(a=n.value,!t(a.key,a.attributes))return!1;return!0}filterNodes(t){if(typeof t!="function")throw new bt("Graph.filterNodes: expecting a callback.");const r=this._nodes.values();let n,a;const i=[];for(;n=r.next(),n.done!==!0;)a=n.value,t(a.key,a.attributes)&&i.push(a.key);return i}reduceNodes(t,r){if(typeof t!="function")throw new bt("Graph.reduceNodes: expecting a callback.");if(arguments.length<2)throw new bt("Graph.reduceNodes: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.");let n=r;const a=this._nodes.values();let i,o;for(;i=a.next(),i.done!==!0;)o=i.value,n=t(n,o.key,o.attributes);return n}nodeEntries(){const t=this._nodes.values();return{[Symbol.iterator](){return this},next(){const r=t.next();if(r.done)return r;const n=r.value;return{value:{node:n.key,attributes:n.attributes},done:!1}}}}export(){const t=new Array(this._nodes.size);let r=0;this._nodes.forEach((a,i)=>{t[r++]=yxe(i,a)});const n=new Array(this._edges.size);return r=0,this._edges.forEach((a,i)=>{n[r++]=vxe(this.type,i,a)}),{options:{type:this.type,multi:this.multi,allowSelfLoops:this.allowSelfLoops},attributes:this.getAttributes(),nodes:t,edges:n}}import(t,r=!1){if(t instanceof qr)return t.forEachNode((l,u)=>{r?this.mergeNode(l,u):this.addNode(l,u)}),t.forEachEdge((l,u,d,h,f,m,b)=>{r?b?this.mergeUndirectedEdgeWithKey(l,d,h,u):this.mergeDirectedEdgeWithKey(l,d,h,u):b?this.addUndirectedEdgeWithKey(l,d,h,u):this.addDirectedEdgeWithKey(l,d,h,u)}),this;if(!ma(t))throw new bt("Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance.");if(t.attributes){if(!ma(t.attributes))throw new bt("Graph.import: invalid attributes. Expecting a plain object.");r?this.mergeAttributes(t.attributes):this.replaceAttributes(t.attributes)}let n,a,i,o,s;if(t.nodes){if(i=t.nodes,!Array.isArray(i))throw new bt("Graph.import: invalid nodes. Expecting an array.");for(n=0,a=i.length;n<a;n++){o=i[n],Fxe(o);const{key:l,attributes:u}=o;r?this.mergeNode(l,u):this.addNode(l,u)}}if(t.edges){let l=!1;if(this.type==="undirected"&&(l=!0),i=t.edges,!Array.isArray(i))throw new bt("Graph.import: invalid edges. Expecting an array.");for(n=0,a=i.length;n<a;n++){s=i[n],Exe(s);const{source:u,target:d,attributes:h,undirected:f=l}=s;let m;"key"in s?(m=r?f?this.mergeUndirectedEdgeWithKey:this.mergeDirectedEdgeWithKey:f?this.addUndirectedEdgeWithKey:this.addDirectedEdgeWithKey,m.call(this,s.key,u,d,h)):(m=r?f?this.mergeUndirectedEdge:this.mergeDirectedEdge:f?this.addUndirectedEdge:this.addDirectedEdge,m.call(this,u,d,h))}}return this}nullCopy(t){const r=new qr(jn({},this._options,t));return r.replaceAttributes(jn({},this.getAttributes())),r}emptyCopy(t){const r=this.nullCopy(t);return this._nodes.forEach((n,a)=>{const i=jn({},n.attributes);n=new r.NodeDataClass(a,i),r._nodes.set(a,n)}),r}copy(t){if(t=t||{},typeof t.type=="string"&&t.type!==this.type&&t.type!=="mixed")throw new Wt(`Graph.copy: cannot create an incompatible copy from "${this.type}" type to "${t.type}" because this would mean losing information about the current graph.`);if(typeof t.multi=="boolean"&&t.multi!==this.multi&&t.multi!==!0)throw new Wt("Graph.copy: cannot create an incompatible copy by downgrading a multi graph to a simple one because this would mean losing information about the current graph.");if(typeof t.allowSelfLoops=="boolean"&&t.allowSelfLoops!==this.allowSelfLoops&&t.allowSelfLoops!==!0)throw new Wt("Graph.copy: cannot create an incompatible copy from a graph allowing self loops to one that does not because this would mean losing information about the current graph.");const r=this.emptyCopy(t),n=this._edges.values();let a,i;for(;a=n.next(),a.done!==!0;)i=a.value,eQ(r,"copy",!1,i.undirected,i.key,i.source.key,i.target.key,jn({},i.attributes));return r}toJSON(){return this.export()}toString(){return"[object Graph]"}inspect(){const t={};this._nodes.forEach((i,o)=>{t[o]=i.attributes});const r={},n={};this._edges.forEach((i,o)=>{const s=i.undirected?"--":"->";let l="",u=i.source.key,d=i.target.key,h;i.undirected&&u>d&&(h=u,u=d,d=h);const f=`(${u})${s}(${d})`;o.startsWith("geid_")?this.multi&&(typeof n[f]>"u"?n[f]=0:n[f]++,l+=`${n[f]}. `):l+=`[${o}]: `,l+=f,r[l]=i.attributes});const a={};for(const i in this)this.hasOwnProperty(i)&&!_O.has(i)&&typeof this[i]!="function"&&typeof i!="symbol"&&(a[i]=this[i]);return a.attributes=this._attributes,a.nodes=t,a.edges=r,Yi(a,"constructor",this.constructor),a}}typeof Symbol<"u"&&(qr.prototype[Symbol.for("nodejs.util.inspect.custom")]=qr.prototype.inspect);wxe.forEach(e=>{["add","merge","update"].forEach(t=>{const r=e.name(t),n=t==="add"?eQ:Txe;e.generateKey?qr.prototype[r]=function(a,i,o){return n(this,r,!0,(e.type||this.type)==="undirected",null,a,i,o,t==="update")}:qr.prototype[r]=function(a,i,o,s){return n(this,r,!1,(e.type||this.type)==="undirected",a,i,o,s,t==="update")}})});OSe(qr);VSe(qr);uxe(qr);bxe(qr);class tQ extends qr{constructor(t){const r=jn({type:"directed"},t);if("multi"in r&&r.multi!==!1)throw new bt("DirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if(r.type!=="directed")throw new bt('DirectedGraph.from: inconsistent "'+r.type+'" type in given options!');super(r)}}class Th extends qr{constructor(t){const r=jn({type:"undirected"},t);if("multi"in r&&r.multi!==!1)throw new bt("UndirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if(r.type!=="undirected")throw new bt('UndirectedGraph.from: inconsistent "'+r.type+'" type in given options!');super(r)}}class rQ extends qr{constructor(t){const r=jn({multi:!0},t);if("multi"in r&&r.multi!==!0)throw new bt("MultiGraph.from: inconsistent indication that the graph should be simple in given options!");super(r)}}class nQ extends qr{constructor(t){const r=jn({type:"directed",multi:!0},t);if("multi"in r&&r.multi!==!0)throw new bt("MultiDirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if(r.type!=="directed")throw new bt('MultiDirectedGraph.from: inconsistent "'+r.type+'" type in given options!');super(r)}}class aQ extends qr{constructor(t){const r=jn({type:"undirected",multi:!0},t);if("multi"in r&&r.multi!==!0)throw new bt("MultiUndirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if(r.type!=="undirected")throw new bt('MultiUndirectedGraph.from: inconsistent "'+r.type+'" type in given options!');super(r)}}function op(e){e.from=function(t,r){const n=jn({},t.options,r),a=new e(n);return a.import(t),a}}op(qr);op(tQ);op(Th);op(rQ);op(nQ);op(aQ);qr.Graph=qr;qr.DirectedGraph=tQ;qr.UndirectedGraph=Th;qr.MultiGraph=rQ;qr.MultiDirectedGraph=nQ;qr.MultiUndirectedGraph=aQ;qr.InvalidArgumentsGraphError=bt;qr.NotFoundGraphError=st;qr.UsageGraphError=Wt;function Axe(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function um(e){var t=Axe(e,"string");return typeof t=="symbol"?t:t+""}function ra(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,um(n.key),n)}}function na(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ah(e){return Ah=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ah(e)}function iQ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(iQ=function(){return!!e})()}function _xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dxe(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 _xe(e)}function oi(e,t,r){return t=Ah(t),Dxe(e,iQ()?Reflect.construct(t,r||[],Ah(e).constructor):t.apply(e,r))}function K_(e,t){return K_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},K_(e,t)}function si(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&&K_(e,t)}function Rxe(e){if(Array.isArray(e))return e}function Nxe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(d){u=!0,a=d}finally{try{if(!l&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function Y_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oQ(e,t){if(e){if(typeof e=="string")return Y_(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y_(e,t):void 0}}function Lxe(){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 _h(e,t){return Rxe(e)||Nxe(e,t)||oQ(e,t)||Lxe()}var PS={black:"#000000",silver:"#C0C0C0",gray:"#808080",grey:"#808080",white:"#FFFFFF",maroon:"#800000",red:"#FF0000",purple:"#800080",fuchsia:"#FF00FF",green:"#008000",lime:"#00FF00",olive:"#808000",yellow:"#FFFF00",navy:"#000080",blue:"#0000FF",teal:"#008080",aqua:"#00FFFF",darkblue:"#00008B",mediumblue:"#0000CD",darkgreen:"#006400",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",springgreen:"#00FF7F",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",rebeccapurple:"#663399",mediumaquamarine:"#66CDAA",dimgray:"#696969",dimgrey:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",slategrey:"#708090",lightslategray:"#778899",lightslategrey:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370DB",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",palevioletred:"#DB7093",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",lightyellow:"#FFFFE0",ivory:"#FFFFF0"},sQ=new Int8Array(4),ub=new Int32Array(sQ.buffer,0,1),lQ=new Float32Array(sQ.buffer,0,1),Mxe=/^\s*rgba?\s*\(/,Ixe=/^\s*rgba?\s*\(\s*([0-9]*)\s*,\s*([0-9]*)\s*,\s*([0-9]*)(?:\s*,\s*(.*)?)?\)\s*$/;function Oxe(e){var t=0,r=0,n=0,a=1;if(e[0]==="#")e.length===4?(t=parseInt(e.charAt(1)+e.charAt(1),16),r=parseInt(e.charAt(2)+e.charAt(2),16),n=parseInt(e.charAt(3)+e.charAt(3),16)):(t=parseInt(e.charAt(1)+e.charAt(2),16),r=parseInt(e.charAt(3)+e.charAt(4),16),n=parseInt(e.charAt(5)+e.charAt(6),16)),e.length===9&&(a=parseInt(e.charAt(7)+e.charAt(8),16)/255);else if(Mxe.test(e)){var i=e.match(Ixe);i&&(t=+i[1],r=+i[2],n=+i[3],i[4]&&(a=+i[4]))}return{r:t,g:r,b:n,a}}var sh={};for(var E1 in PS)sh[E1]=ps(PS[E1]),sh[PS[E1]]=sh[E1];function uQ(e,t,r,n,a){return ub[0]=n<<24|r<<16|t<<8|e,ub[0]=ub[0]&4278190079,lQ[0]}function ps(e){if(e=e.toLowerCase(),typeof sh[e]<"u")return sh[e];var t=Oxe(e),r=t.r,n=t.g,a=t.b,i=t.a;i=i*255|0;var o=uQ(r,n,a,i);return sh[e]=o,o}function Bxe(e,t){lQ[0]=ps(e);var r=ub[0],n=r&255,a=r>>8&255,i=r>>16&255,o=r>>24&255;return[n,a,i,o]}var zS={};function cQ(e){if(typeof zS[e]<"u")return zS[e];var t=(e&16711680)>>>16,r=(e&65280)>>>8,n=e&255,a=255,i=uQ(t,r,n,a);return zS[e]=i,i}function NO(e,t,r,n){return r+(t<<8)+(e<<16)}function LO(e,t,r,n,a,i){var o=Math.floor(r/i*a),s=Math.floor(e.drawingBufferHeight/i-n/i*a),l=new Uint8Array(4);e.bindFramebuffer(e.FRAMEBUFFER,t),e.readPixels(o,s,1,1,e.RGBA,e.UNSIGNED_BYTE,l);var u=_h(l,4),d=u[0],h=u[1],f=u[2],m=u[3];return[d,h,f,m]}function Xe(e,t,r){return(t=um(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?MO(Object(r),!0).forEach(function(n){Xe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pxe(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Ah(e))!==null;);return e}function X_(){return X_=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=Pxe(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}},X_.apply(null,arguments)}function dQ(e,t,r,n){var a=X_(Ah(e.prototype),t,r);return typeof a=="function"?function(i){return a.apply(r,i)}:a}function zxe(e){return e.normalized?1:e.size}function HS(e){var t=0;return e.forEach(function(r){return t+=zxe(r)}),t}function hQ(e,t,r){var n=e==="VERTEX"?t.VERTEX_SHADER:t.FRAGMENT_SHADER,a=t.createShader(n);if(a===null)throw new Error("loadShader: error while creating the shader");t.shaderSource(a,r),t.compileShader(a);var i=t.getShaderParameter(a,t.COMPILE_STATUS);if(!i){var o=t.getShaderInfoLog(a);throw t.deleteShader(a),new Error(`loadShader: error while compiling the shader:
|
||
`.concat(o,`
|
||
`).concat(r))}return a}function Hxe(e,t){return hQ("VERTEX",e,t)}function Uxe(e,t){return hQ("FRAGMENT",e,t)}function Gxe(e,t){var r=e.createProgram();if(r===null)throw new Error("loadProgram: error while creating the program.");var n,a;for(n=0,a=t.length;n<a;n++)e.attachShader(r,t[n]);e.linkProgram(r);var i=e.getProgramParameter(r,e.LINK_STATUS);if(!i)throw e.deleteProgram(r),new Error("loadProgram: error while linking the program.");return r}function IO(e){var t=e.gl,r=e.buffer,n=e.program,a=e.vertexShader,i=e.fragmentShader;t.deleteShader(a),t.deleteShader(i),t.deleteProgram(n),t.deleteBuffer(r)}function OO(e){return e%1===0?e.toFixed(1):e.toString()}var BO=`#define PICKING_MODE
|
||
`,$xe=Xe(Xe(Xe(Xe(Xe(Xe(Xe(Xe({},WebGL2RenderingContext.BOOL,1),WebGL2RenderingContext.BYTE,1),WebGL2RenderingContext.UNSIGNED_BYTE,1),WebGL2RenderingContext.SHORT,2),WebGL2RenderingContext.UNSIGNED_SHORT,2),WebGL2RenderingContext.INT,4),WebGL2RenderingContext.UNSIGNED_INT,4),WebGL2RenderingContext.FLOAT,4),pQ=function(){function e(t,r,n){ra(this,e),Xe(this,"array",new Float32Array),Xe(this,"constantArray",new Float32Array),Xe(this,"capacity",0),Xe(this,"verticesCount",0);var a=this.getDefinition();if(this.VERTICES=a.VERTICES,this.VERTEX_SHADER_SOURCE=a.VERTEX_SHADER_SOURCE,this.FRAGMENT_SHADER_SOURCE=a.FRAGMENT_SHADER_SOURCE,this.UNIFORMS=a.UNIFORMS,this.ATTRIBUTES=a.ATTRIBUTES,this.METHOD=a.METHOD,this.CONSTANT_ATTRIBUTES="CONSTANT_ATTRIBUTES"in a?a.CONSTANT_ATTRIBUTES:[],this.CONSTANT_DATA="CONSTANT_DATA"in a?a.CONSTANT_DATA:[],this.isInstanced="CONSTANT_ATTRIBUTES"in a,this.ATTRIBUTES_ITEMS_COUNT=HS(this.ATTRIBUTES),this.STRIDE=this.VERTICES*this.ATTRIBUTES_ITEMS_COUNT,this.renderer=n,this.normalProgram=this.getProgramInfo("normal",t,a.VERTEX_SHADER_SOURCE,a.FRAGMENT_SHADER_SOURCE,null),this.pickProgram=r?this.getProgramInfo("pick",t,BO+a.VERTEX_SHADER_SOURCE,BO+a.FRAGMENT_SHADER_SOURCE,r):null,this.isInstanced){var i=HS(this.CONSTANT_ATTRIBUTES);if(this.CONSTANT_DATA.length!==this.VERTICES)throw new Error("Program: error while getting constant data (expected ".concat(this.VERTICES," items, received ").concat(this.CONSTANT_DATA.length," instead)"));this.constantArray=new Float32Array(this.CONSTANT_DATA.length*i);for(var o=0;o<this.CONSTANT_DATA.length;o++){var s=this.CONSTANT_DATA[o];if(s.length!==i)throw new Error("Program: error while getting constant data (one vector has ".concat(s.length," items instead of ").concat(i,")"));for(var l=0;l<s.length;l++)this.constantArray[o*i+l]=s[l]}this.STRIDE=this.ATTRIBUTES_ITEMS_COUNT}}return na(e,[{key:"kill",value:function(){IO(this.normalProgram),this.pickProgram&&(IO(this.pickProgram),this.pickProgram=null)}},{key:"getProgramInfo",value:function(r,n,a,i,o){var s=this.getDefinition(),l=n.createBuffer();if(l===null)throw new Error("Program: error while creating the WebGL buffer.");var u=Hxe(n,a),d=Uxe(n,i),h=Gxe(n,[u,d]),f={};s.UNIFORMS.forEach(function(y){var F=n.getUniformLocation(h,y);F&&(f[y]=F)});var m={};s.ATTRIBUTES.forEach(function(y){m[y.name]=n.getAttribLocation(h,y.name)});var b;if("CONSTANT_ATTRIBUTES"in s&&(s.CONSTANT_ATTRIBUTES.forEach(function(y){m[y.name]=n.getAttribLocation(h,y.name)}),b=n.createBuffer(),b===null))throw new Error("Program: error while creating the WebGL constant buffer.");return{name:r,program:h,gl:n,frameBuffer:o,buffer:l,constantBuffer:b||{},uniformLocations:f,attributeLocations:m,isPicking:r==="pick",vertexShader:u,fragmentShader:d}}},{key:"bindProgram",value:function(r){var n=this,a=0,i=r.gl,o=r.buffer;this.isInstanced?(i.bindBuffer(i.ARRAY_BUFFER,r.constantBuffer),a=0,this.CONSTANT_ATTRIBUTES.forEach(function(s){return a+=n.bindAttribute(s,r,a,!1)}),i.bufferData(i.ARRAY_BUFFER,this.constantArray,i.STATIC_DRAW),i.bindBuffer(i.ARRAY_BUFFER,r.buffer),a=0,this.ATTRIBUTES.forEach(function(s){return a+=n.bindAttribute(s,r,a,!0)}),i.bufferData(i.ARRAY_BUFFER,this.array,i.DYNAMIC_DRAW)):(i.bindBuffer(i.ARRAY_BUFFER,o),a=0,this.ATTRIBUTES.forEach(function(s){return a+=n.bindAttribute(s,r,a)}),i.bufferData(i.ARRAY_BUFFER,this.array,i.DYNAMIC_DRAW)),i.bindBuffer(i.ARRAY_BUFFER,null)}},{key:"unbindProgram",value:function(r){var n=this;this.isInstanced?(this.CONSTANT_ATTRIBUTES.forEach(function(a){return n.unbindAttribute(a,r,!1)}),this.ATTRIBUTES.forEach(function(a){return n.unbindAttribute(a,r,!0)})):this.ATTRIBUTES.forEach(function(a){return n.unbindAttribute(a,r)})}},{key:"bindAttribute",value:function(r,n,a,i){var o=$xe[r.type];if(typeof o!="number")throw new Error('Program.bind: yet unsupported attribute type "'.concat(r.type,'"'));var s=n.attributeLocations[r.name],l=n.gl;if(s!==-1){l.enableVertexAttribArray(s);var u=this.isInstanced?(i?this.ATTRIBUTES_ITEMS_COUNT:HS(this.CONSTANT_ATTRIBUTES))*Float32Array.BYTES_PER_ELEMENT:this.ATTRIBUTES_ITEMS_COUNT*Float32Array.BYTES_PER_ELEMENT;if(l.vertexAttribPointer(s,r.size,r.type,r.normalized||!1,u,a),this.isInstanced&&i)if(l instanceof WebGL2RenderingContext)l.vertexAttribDivisor(s,1);else{var d=l.getExtension("ANGLE_instanced_arrays");d&&d.vertexAttribDivisorANGLE(s,1)}}return r.size*o}},{key:"unbindAttribute",value:function(r,n,a){var i=n.attributeLocations[r.name],o=n.gl;if(i!==-1&&(o.disableVertexAttribArray(i),this.isInstanced&&a))if(o instanceof WebGL2RenderingContext)o.vertexAttribDivisor(i,0);else{var s=o.getExtension("ANGLE_instanced_arrays");s&&s.vertexAttribDivisorANGLE(i,0)}}},{key:"reallocate",value:function(r){r!==this.capacity&&(this.capacity=r,this.verticesCount=this.VERTICES*r,this.array=new Float32Array(this.isInstanced?this.capacity*this.ATTRIBUTES_ITEMS_COUNT:this.verticesCount*this.ATTRIBUTES_ITEMS_COUNT))}},{key:"hasNothingToRender",value:function(){return this.verticesCount===0}},{key:"renderProgram",value:function(r,n){var a=n.gl,i=n.program;a.enable(a.BLEND),a.useProgram(i),this.setUniforms(r,n),this.drawWebGL(this.METHOD,n)}},{key:"render",value:function(r){this.hasNothingToRender()||(this.pickProgram&&(this.pickProgram.gl.viewport(0,0,r.width*r.pixelRatio/r.downSizingRatio,r.height*r.pixelRatio/r.downSizingRatio),this.bindProgram(this.pickProgram),this.renderProgram(xt(xt({},r),{},{pixelRatio:r.pixelRatio/r.downSizingRatio}),this.pickProgram),this.unbindProgram(this.pickProgram)),this.normalProgram.gl.viewport(0,0,r.width*r.pixelRatio,r.height*r.pixelRatio),this.bindProgram(this.normalProgram),this.renderProgram(r,this.normalProgram),this.unbindProgram(this.normalProgram))}},{key:"drawWebGL",value:function(r,n){var a=n.gl,i=n.frameBuffer;if(a.bindFramebuffer(a.FRAMEBUFFER,i),!this.isInstanced)a.drawArrays(r,0,this.verticesCount);else if(a instanceof WebGL2RenderingContext)a.drawArraysInstanced(r,0,this.VERTICES,this.capacity);else{var o=a.getExtension("ANGLE_instanced_arrays");o&&o.drawArraysInstancedANGLE(r,0,this.VERTICES,this.capacity)}}}])}(),n5=function(e){function t(){return ra(this,t),oi(this,t,arguments)}return si(t,e),na(t,[{key:"kill",value:function(){dQ(t,"kill",this)([])}},{key:"process",value:function(n,a,i){var o=a*this.STRIDE;if(i.hidden){for(var s=o+this.STRIDE;o<s;o++)this.array[o]=0;return}return this.processVisibleItem(cQ(n),o,i)}}])}(pQ),f0=function(e){function t(){var r;ra(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=oi(this,t,[].concat(a)),Xe(r,"drawLabel",void 0),r}return si(t,e),na(t,[{key:"kill",value:function(){dQ(t,"kill",this)([])}},{key:"process",value:function(n,a,i,o,s){var l=a*this.STRIDE;if(s.hidden||i.hidden||o.hidden){for(var u=l+this.STRIDE;l<u;l++)this.array[l]=0;return}return this.processVisibleItem(cQ(n),l,i,o,s)}}])}(pQ);function fQ(e,t){return function(){function r(n,a,i){ra(this,r),Xe(this,"drawLabel",t),this.programs=e.map(function(o){return new o(n,a,i)})}return na(r,[{key:"reallocate",value:function(a){this.programs.forEach(function(i){return i.reallocate(a)})}},{key:"process",value:function(a,i,o,s,l){this.programs.forEach(function(u){return u.process(a,i,o,s,l)})}},{key:"render",value:function(a){this.programs.forEach(function(i){return i.render(a)})}},{key:"kill",value:function(){this.programs.forEach(function(a){return a.kill()})}}])}()}function jxe(e,t,r,n,a){var i=a.edgeLabelSize,o=a.edgeLabelFont,s=a.edgeLabelWeight,l=a.edgeLabelColor.attribute?t[a.edgeLabelColor.attribute]||a.edgeLabelColor.color||"#000":a.edgeLabelColor.color,u=t.label;if(u){e.fillStyle=l,e.font="".concat(s," ").concat(i,"px ").concat(o);var d=r.size,h=n.size,f=r.x,m=r.y,b=n.x,y=n.y,F=(f+b)/2,x=(m+y)/2,E=b-f,C=y-m,_=Math.sqrt(E*E+C*C);if(!(_<d+h)){f+=E*d/_,m+=C*d/_,b-=E*h/_,y-=C*h/_,F=(f+b)/2,x=(m+y)/2,E=b-f,C=y-m,_=Math.sqrt(E*E+C*C);var D=e.measureText(u).width;if(D>_){var w="…";for(u=u+w,D=e.measureText(u).width;D>_&&u.length>1;)u=u.slice(0,-2)+w,D=e.measureText(u).width;if(u.length<4)return}var A;E>0?C>0?A=Math.acos(E/_):A=Math.asin(C/_):C>0?A=Math.acos(E/_)+Math.PI:A=Math.asin(E/_)+Math.PI/2,e.save(),e.translate(F,x),e.rotate(A),e.fillText(u,-D/2,t.size/2+i),e.restore()}}}function mQ(e,t,r){if(t.label){var n=r.labelSize,a=r.labelFont,i=r.labelWeight,o=r.labelColor.attribute?t[r.labelColor.attribute]||r.labelColor.color||"#000":r.labelColor.color;e.fillStyle=o,e.font="".concat(i," ").concat(n,"px ").concat(a),e.fillText(t.label,t.x+t.size+3,t.y+n/3)}}function qxe(e,t,r){var n=r.labelSize,a=r.labelFont,i=r.labelWeight;e.font="".concat(i," ").concat(n,"px ").concat(a),e.fillStyle="#FFF",e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=8,e.shadowColor="#000";var o=2;if(typeof t.label=="string"){var s=e.measureText(t.label).width,l=Math.round(s+5),u=Math.round(n+2*o),d=Math.max(t.size,n/2)+o,h=Math.asin(u/2/d),f=Math.sqrt(Math.abs(Math.pow(d,2)-Math.pow(u/2,2)));e.beginPath(),e.moveTo(t.x+f,t.y+u/2),e.lineTo(t.x+d+l,t.y+u/2),e.lineTo(t.x+d+l,t.y-u/2),e.lineTo(t.x+f,t.y-u/2),e.arc(t.x,t.y,d,h,-h),e.closePath(),e.fill()}else e.beginPath(),e.arc(t.x,t.y,t.size+o,0,Math.PI*2),e.closePath(),e.fill();e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0,mQ(e,t,r)}var Wxe=`
|
||
precision highp float;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
|
||
uniform float u_correctionRatio;
|
||
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
float border = u_correctionRatio * 2.0;
|
||
float dist = length(v_diffVector) - v_radius + border;
|
||
|
||
// No antialiasing for picking mode:
|
||
#ifdef PICKING_MODE
|
||
if (dist > border)
|
||
gl_FragColor = transparent;
|
||
else
|
||
gl_FragColor = v_color;
|
||
|
||
#else
|
||
float t = 0.0;
|
||
if (dist > border)
|
||
t = 1.0;
|
||
else if (dist > 0.0)
|
||
t = dist / border;
|
||
|
||
gl_FragColor = mix(v_color, transparent, t);
|
||
#endif
|
||
}
|
||
`,Vxe=Wxe,Kxe=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_position;
|
||
attribute float a_size;
|
||
attribute float a_angle;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_correctionRatio;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
varying float v_border;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float size = a_size * u_correctionRatio / u_sizeRatio * 4.0;
|
||
vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle));
|
||
vec2 position = a_position + diffVector;
|
||
gl_Position = vec4(
|
||
(u_matrix * vec3(position, 1)).xy,
|
||
0,
|
||
1
|
||
);
|
||
|
||
v_diffVector = diffVector;
|
||
v_radius = size / 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,Yxe=Kxe,gQ=WebGLRenderingContext,PO=gQ.UNSIGNED_BYTE,US=gQ.FLOAT,Xxe=["u_sizeRatio","u_correctionRatio","u_matrix"],m0=function(e){function t(){return ra(this,t),oi(this,t,arguments)}return si(t,e),na(t,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:Yxe,FRAGMENT_SHADER_SOURCE:Vxe,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Xxe,ATTRIBUTES:[{name:"a_position",size:2,type:US},{name:"a_size",size:1,type:US},{name:"a_color",size:4,type:PO,normalized:!0},{name:"a_id",size:4,type:PO,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:US}],CONSTANT_DATA:[[t.ANGLE_1],[t.ANGLE_2],[t.ANGLE_3]]}}},{key:"processVisibleItem",value:function(n,a,i){var o=this.array,s=ps(i.color);o[a++]=i.x,o[a++]=i.y,o[a++]=i.size,o[a++]=s,o[a++]=n}},{key:"setUniforms",value:function(n,a){var i=a.gl,o=a.uniformLocations,s=o.u_sizeRatio,l=o.u_correctionRatio,u=o.u_matrix;i.uniform1f(l,n.correctionRatio),i.uniform1f(s,n.sizeRatio),i.uniformMatrix3fv(u,!1,n.matrix)}}])}(n5);Xe(m0,"ANGLE_1",0);Xe(m0,"ANGLE_2",2*Math.PI/3);Xe(m0,"ANGLE_3",4*Math.PI/3);var Jxe=`
|
||
precision mediump float;
|
||
|
||
varying vec4 v_color;
|
||
|
||
void main(void) {
|
||
gl_FragColor = v_color;
|
||
}
|
||
`,Zxe=Jxe,Qxe=`
|
||
attribute vec2 a_position;
|
||
attribute vec2 a_normal;
|
||
attribute float a_radius;
|
||
attribute vec3 a_barycentric;
|
||
|
||
#ifdef PICKING_MODE
|
||
attribute vec4 a_id;
|
||
#else
|
||
attribute vec4 a_color;
|
||
#endif
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_widenessToThicknessRatio;
|
||
|
||
varying vec4 v_color;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
float normalLength = length(a_normal);
|
||
vec2 unitNormal = a_normal / normalLength;
|
||
|
||
// These first computations are taken from edge.vert.glsl and
|
||
// edge.clamped.vert.glsl. Please read it to get better comments on what's
|
||
// happening:
|
||
float pixelsThickness = max(normalLength / u_sizeRatio, minThickness);
|
||
float webGLThickness = pixelsThickness * u_correctionRatio;
|
||
float webGLNodeRadius = a_radius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
float webGLArrowHeadThickness = webGLThickness * u_widenessToThicknessRatio;
|
||
|
||
float da = a_barycentric.x;
|
||
float db = a_barycentric.y;
|
||
float dc = a_barycentric.z;
|
||
|
||
vec2 delta = vec2(
|
||
da * (webGLNodeRadius * unitNormal.y)
|
||
+ db * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y + webGLArrowHeadThickness * unitNormal.x)
|
||
+ dc * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y - webGLArrowHeadThickness * unitNormal.x),
|
||
|
||
da * (-webGLNodeRadius * unitNormal.x)
|
||
+ db * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x + webGLArrowHeadThickness * unitNormal.y)
|
||
+ dc * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x - webGLArrowHeadThickness * unitNormal.y)
|
||
);
|
||
|
||
vec2 position = (u_matrix * vec3(a_position + delta, 1)).xy;
|
||
|
||
gl_Position = vec4(position, 0, 1);
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,ewe=Qxe,bQ=WebGLRenderingContext,zO=bQ.UNSIGNED_BYTE,S1=bQ.FLOAT,twe=["u_matrix","u_sizeRatio","u_correctionRatio","u_minEdgeThickness","u_lengthToThicknessRatio","u_widenessToThicknessRatio"],g0={extremity:"target",lengthToThicknessRatio:2.5,widenessToThicknessRatio:2};function ny(e){var t=xt(xt({},g0),e||{});return function(r){function n(){return ra(this,n),oi(this,n,arguments)}return si(n,r),na(n,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:ewe,FRAGMENT_SHADER_SOURCE:Zxe,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:twe,ATTRIBUTES:[{name:"a_position",size:2,type:S1},{name:"a_normal",size:2,type:S1},{name:"a_radius",size:1,type:S1},{name:"a_color",size:4,type:zO,normalized:!0},{name:"a_id",size:4,type:zO,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_barycentric",size:3,type:S1}],CONSTANT_DATA:[[1,0,0],[0,1,0],[0,0,1]]}}},{key:"processVisibleItem",value:function(i,o,s,l,u){if(t.extremity==="source"){var d=[l,s];s=d[0],l=d[1]}var h=u.size||1,f=l.size||1,m=s.x,b=s.y,y=l.x,F=l.y,x=ps(u.color),E=y-m,C=F-b,_=E*E+C*C,D=0,w=0;_&&(_=1/Math.sqrt(_),D=-C*_*h,w=E*_*h);var A=this.array;A[o++]=y,A[o++]=F,A[o++]=-D,A[o++]=-w,A[o++]=f,A[o++]=x,A[o++]=i}},{key:"setUniforms",value:function(i,o){var s=o.gl,l=o.uniformLocations,u=l.u_matrix,d=l.u_sizeRatio,h=l.u_correctionRatio,f=l.u_minEdgeThickness,m=l.u_lengthToThicknessRatio,b=l.u_widenessToThicknessRatio;s.uniformMatrix3fv(u,!1,i.matrix),s.uniform1f(d,i.sizeRatio),s.uniform1f(h,i.correctionRatio),s.uniform1f(f,i.minEdgeThickness),s.uniform1f(m,t.lengthToThicknessRatio),s.uniform1f(b,t.widenessToThicknessRatio)}}])}(f0)}ny();var rwe=`
|
||
precision mediump float;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
// We only handle antialiasing for normal mode:
|
||
#ifdef PICKING_MODE
|
||
gl_FragColor = v_color;
|
||
#else
|
||
float dist = length(v_normal) * v_thickness;
|
||
|
||
float t = smoothstep(
|
||
v_thickness - v_feather,
|
||
v_thickness,
|
||
dist
|
||
);
|
||
|
||
gl_FragColor = mix(v_color, transparent, t);
|
||
#endif
|
||
}
|
||
`,a5=rwe,nwe=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_normal;
|
||
attribute float a_normalCoef;
|
||
attribute vec2 a_positionStart;
|
||
attribute vec2 a_positionEnd;
|
||
attribute float a_positionCoef;
|
||
attribute float a_radius;
|
||
attribute float a_radiusCoef;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_zoomRatio;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
float radius = a_radius * a_radiusCoef;
|
||
vec2 normal = a_normal * a_normalCoef;
|
||
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
|
||
|
||
float normalLength = length(normal);
|
||
vec2 unitNormal = normal / normalLength;
|
||
|
||
// These first computations are taken from edge.vert.glsl. Please read it to
|
||
// get better comments on what's happening:
|
||
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
|
||
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
|
||
|
||
// Here, we move the point to leave space for the arrow head:
|
||
float direction = sign(radius);
|
||
float webGLNodeRadius = direction * radius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
|
||
vec2 compensationVector = vec2(-direction * unitNormal.y, direction * unitNormal.x) * (webGLNodeRadius + webGLArrowHeadLength);
|
||
|
||
// Here is the proper position of the vertex
|
||
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness + compensationVector, 1)).xy, 0, 1);
|
||
|
||
v_thickness = webGLThickness / u_zoomRatio;
|
||
|
||
v_normal = unitNormal;
|
||
|
||
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,awe=nwe,yQ=WebGLRenderingContext,HO=yQ.UNSIGNED_BYTE,ec=yQ.FLOAT,iwe=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness","u_lengthToThicknessRatio"],owe={lengthToThicknessRatio:g0.lengthToThicknessRatio};function vQ(e){var t=xt(xt({},owe),{});return function(r){function n(){return ra(this,n),oi(this,n,arguments)}return si(n,r),na(n,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:awe,FRAGMENT_SHADER_SOURCE:a5,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:iwe,ATTRIBUTES:[{name:"a_positionStart",size:2,type:ec},{name:"a_positionEnd",size:2,type:ec},{name:"a_normal",size:2,type:ec},{name:"a_color",size:4,type:HO,normalized:!0},{name:"a_id",size:4,type:HO,normalized:!0},{name:"a_radius",size:1,type:ec}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:ec},{name:"a_normalCoef",size:1,type:ec},{name:"a_radiusCoef",size:1,type:ec}],CONSTANT_DATA:[[0,1,0],[0,-1,0],[1,1,1],[1,1,1],[0,-1,0],[1,-1,-1]]}}},{key:"processVisibleItem",value:function(i,o,s,l,u){var d=u.size||1,h=s.x,f=s.y,m=l.x,b=l.y,y=ps(u.color),F=m-h,x=b-f,E=l.size||1,C=F*F+x*x,_=0,D=0;C&&(C=1/Math.sqrt(C),_=-x*C*d,D=F*C*d);var w=this.array;w[o++]=h,w[o++]=f,w[o++]=m,w[o++]=b,w[o++]=_,w[o++]=D,w[o++]=y,w[o++]=i,w[o++]=E}},{key:"setUniforms",value:function(i,o){var s=o.gl,l=o.uniformLocations,u=l.u_matrix,d=l.u_zoomRatio,h=l.u_feather,f=l.u_pixelRatio,m=l.u_correctionRatio,b=l.u_sizeRatio,y=l.u_minEdgeThickness,F=l.u_lengthToThicknessRatio;s.uniformMatrix3fv(u,!1,i.matrix),s.uniform1f(d,i.zoomRatio),s.uniform1f(b,i.sizeRatio),s.uniform1f(m,i.correctionRatio),s.uniform1f(f,i.pixelRatio),s.uniform1f(h,i.antiAliasingFeather),s.uniform1f(y,i.minEdgeThickness),s.uniform1f(F,t.lengthToThicknessRatio)}}])}(f0)}vQ();function swe(e){return fQ([vQ(),ny(e)])}var lwe=swe(),FQ=lwe,uwe=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_normal;
|
||
attribute float a_normalCoef;
|
||
attribute vec2 a_positionStart;
|
||
attribute vec2 a_positionEnd;
|
||
attribute float a_positionCoef;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_zoomRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
vec2 normal = a_normal * a_normalCoef;
|
||
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
|
||
|
||
float normalLength = length(normal);
|
||
vec2 unitNormal = normal / normalLength;
|
||
|
||
// We require edges to be at least "minThickness" pixels thick *on screen*
|
||
// (so we need to compensate the size ratio):
|
||
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
|
||
|
||
// Then, we need to retrieve the normalized thickness of the edge in the WebGL
|
||
// referential (in a ([0, 1], [0, 1]) space), using our "magic" correction
|
||
// ratio:
|
||
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
|
||
|
||
// Here is the proper position of the vertex
|
||
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness, 1)).xy, 0, 1);
|
||
|
||
// For the fragment shader though, we need a thickness that takes the "magic"
|
||
// correction ratio into account (as in webGLThickness), but so that the
|
||
// antialiasing effect does not depend on the zoom level. So here's yet
|
||
// another thickness version:
|
||
v_thickness = webGLThickness / u_zoomRatio;
|
||
|
||
v_normal = unitNormal;
|
||
|
||
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,cwe=uwe,EQ=WebGLRenderingContext,UO=EQ.UNSIGNED_BYTE,wf=EQ.FLOAT,dwe=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness"],hwe=function(e){function t(){return ra(this,t),oi(this,t,arguments)}return si(t,e),na(t,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:cwe,FRAGMENT_SHADER_SOURCE:a5,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:dwe,ATTRIBUTES:[{name:"a_positionStart",size:2,type:wf},{name:"a_positionEnd",size:2,type:wf},{name:"a_normal",size:2,type:wf},{name:"a_color",size:4,type:UO,normalized:!0},{name:"a_id",size:4,type:UO,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:wf},{name:"a_normalCoef",size:1,type:wf}],CONSTANT_DATA:[[0,1],[0,-1],[1,1],[1,1],[0,-1],[1,-1]]}}},{key:"processVisibleItem",value:function(n,a,i,o,s){var l=s.size||1,u=i.x,d=i.y,h=o.x,f=o.y,m=ps(s.color),b=h-u,y=f-d,F=b*b+y*y,x=0,E=0;F&&(F=1/Math.sqrt(F),x=-y*F*l,E=b*F*l);var C=this.array;C[a++]=u,C[a++]=d,C[a++]=h,C[a++]=f,C[a++]=x,C[a++]=E,C[a++]=m,C[a++]=n}},{key:"setUniforms",value:function(n,a){var i=a.gl,o=a.uniformLocations,s=o.u_matrix,l=o.u_zoomRatio,u=o.u_feather,d=o.u_pixelRatio,h=o.u_correctionRatio,f=o.u_sizeRatio,m=o.u_minEdgeThickness;i.uniformMatrix3fv(s,!1,n.matrix),i.uniform1f(l,n.zoomRatio),i.uniform1f(f,n.sizeRatio),i.uniform1f(h,n.correctionRatio),i.uniform1f(d,n.pixelRatio),i.uniform1f(u,n.antiAliasingFeather),i.uniform1f(m,n.minEdgeThickness)}}])}(f0),i5=function(e){function t(){var r;return ra(this,t),r=oi(this,t),r.rawEmitter=r,r}return si(t,e),na(t)}(qZ.EventEmitter),GS,GO;function lo(){return GO||(GO=1,GS=function(t){return t!==null&&typeof t=="object"&&typeof t.addUndirectedEdgeWithKey=="function"&&typeof t.dropNode=="function"&&typeof t.multi=="boolean"}),GS}var pwe=lo();const fwe=On(pwe);var mwe=function(t){return t},gwe=function(t){return t*t},bwe=function(t){return t*(2-t)},ywe=function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},vwe=function(t){return t*t*t},Fwe=function(t){return--t*t*t+1},Ewe=function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},SQ={linear:mwe,quadraticIn:gwe,quadraticOut:bwe,quadraticInOut:ywe,cubicIn:vwe,cubicOut:Fwe,cubicInOut:Ewe},xQ={easing:"quadraticInOut",duration:150};function wQ(e,t,r,n){var a=Object.assign({},xQ,r),i=typeof a.easing=="function"?a.easing:SQ[a.easing],o=Date.now(),s={};for(var l in t){var u=t[l];s[l]={};for(var d in u)s[l][d]=e.getNodeAttribute(l,d)}var h=null,f=function(){h=null;var b=(Date.now()-o)/a.duration;if(b>=1){for(var y in t){var F=t[y];for(var x in F)e.setNodeAttribute(y,x,F[x])}return}b=i(b);for(var E in t){var C=t[E],_=s[E];for(var D in C)e.setNodeAttribute(E,D,C[D]*b+_[D]*(1-b))}h=requestAnimationFrame(f)};return f(),function(){h&&cancelAnimationFrame(h)}}function vo(){return Float32Array.of(1,0,0,0,1,0,0,0,1)}function x1(e,t,r){return e[0]=t,e[4]=typeof r=="number"?r:t,e}function $O(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=r,e[3]=-r,e[4]=n,e}function jO(e,t,r){return e[6]=t,e[7]=r,e}function Vl(e,t){var r=e[0],n=e[1],a=e[2],i=e[3],o=e[4],s=e[5],l=e[6],u=e[7],d=e[8],h=t[0],f=t[1],m=t[2],b=t[3],y=t[4],F=t[5],x=t[6],E=t[7],C=t[8];return e[0]=h*r+f*i+m*l,e[1]=h*n+f*o+m*u,e[2]=h*a+f*s+m*d,e[3]=b*r+y*i+F*l,e[4]=b*n+y*o+F*u,e[5]=b*a+y*s+F*d,e[6]=x*r+E*i+C*l,e[7]=x*n+E*o+C*u,e[8]=x*a+E*s+C*d,e}function J_(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,n=e[0],a=e[1],i=e[3],o=e[4],s=e[6],l=e[7],u=t.x,d=t.y;return{x:u*n+d*i+s*r,y:u*a+d*o+l*r}}function Swe(e,t){var r=e.height/e.width,n=t.height/t.width;return r<1&&n>1||r>1&&n<1?1:Math.min(Math.max(n,1/n),Math.max(1/r,r))}function kf(e,t,r,n,a){var i=e.angle,o=e.ratio,s=e.x,l=e.y,u=t.width,d=t.height,h=vo(),f=Math.min(u,d)-2*n,m=Swe(t,r);return a?(Vl(h,jO(vo(),s,l)),Vl(h,x1(vo(),o)),Vl(h,$O(vo(),i)),Vl(h,x1(vo(),u/f/2/m,d/f/2/m))):(Vl(h,x1(vo(),2*(f/u)*m,2*(f/d)*m)),Vl(h,$O(vo(),-i)),Vl(h,x1(vo(),1/o)),Vl(h,jO(vo(),-s,-l))),h}function xwe(e,t,r){var n=J_(e,{x:Math.cos(t.angle),y:Math.sin(t.angle)},0),a=n.x,i=n.y;return 1/Math.sqrt(Math.pow(a,2)+Math.pow(i,2))/r.width}function wwe(e){if(!e.order)return{x:[0,1],y:[0,1]};var t=1/0,r=-1/0,n=1/0,a=-1/0;return e.forEachNode(function(i,o){var s=o.x,l=o.y;s<t&&(t=s),s>r&&(r=s),l<n&&(n=l),l>a&&(a=l)}),{x:[t,r],y:[n,a]}}function kwe(e){if(!fwe(e))throw new Error("Sigma: invalid graph instance.");e.forEachNode(function(t,r){if(!Number.isFinite(r.x)||!Number.isFinite(r.y))throw new Error("Sigma: Coordinates of node ".concat(t," are invalid. A node must have a numeric 'x' and 'y' attribute."))})}function Cwe(e,t,r){var n=document.createElement(e);if(t)for(var a in t)n.style[a]=t[a];if(r)for(var i in r)n.setAttribute(i,r[i]);return n}function qO(){return typeof window.devicePixelRatio<"u"?window.devicePixelRatio:1}function WO(e,t,r){return r.sort(function(n,a){var i=t(n)||0,o=t(a)||0;return i<o?-1:i>o?1:0})}function VO(e){var t=_h(e.x,2),r=t[0],n=t[1],a=_h(e.y,2),i=a[0],o=a[1],s=Math.max(n-r,o-i),l=(n+r)/2,u=(o+i)/2;(s===0||Math.abs(s)===1/0||isNaN(s))&&(s=1),isNaN(l)&&(l=0),isNaN(u)&&(u=0);var d=function(f){return{x:.5+(f.x-l)/s,y:.5+(f.y-u)/s}};return d.applyTo=function(h){h.x=.5+(h.x-l)/s,h.y=.5+(h.y-u)/s},d.inverse=function(h){return{x:l+s*(h.x-.5),y:u+s*(h.y-.5)}},d.ratio=s,d}function Z_(e){"@babel/helpers - typeof";return Z_=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},Z_(e)}function KO(e,t){var r=t.size;if(r!==0){var n=e.length;e.length+=r;var a=0;t.forEach(function(i){e[n+a]=i,a++})}}function $S(e){e=e||{};for(var t=0,r=arguments.length<=1?0:arguments.length-1;t<r;t++){var n=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];n&&Object.assign(e,n)}return e}var o5={hideEdgesOnMove:!1,hideLabelsOnMove:!1,renderLabels:!0,renderEdgeLabels:!1,enableEdgeEvents:!1,defaultNodeColor:"#999",defaultNodeType:"circle",defaultEdgeColor:"#ccc",defaultEdgeType:"line",labelFont:"Arial",labelSize:14,labelWeight:"normal",labelColor:{color:"#000"},edgeLabelFont:"Arial",edgeLabelSize:14,edgeLabelWeight:"normal",edgeLabelColor:{attribute:"color"},stagePadding:30,defaultDrawEdgeLabel:jxe,defaultDrawNodeLabel:mQ,defaultDrawNodeHover:qxe,minEdgeThickness:1.7,antiAliasingFeather:1,dragTimeout:100,draggedEventsTolerance:3,inertiaDuration:200,inertiaRatio:3,zoomDuration:250,zoomingRatio:1.7,doubleClickTimeout:300,doubleClickZoomingRatio:2.2,doubleClickZoomingDuration:200,tapMoveTolerance:10,zoomToSizeRatioFunction:Math.sqrt,itemSizesReference:"screen",autoRescale:!0,autoCenter:!0,labelDensity:1,labelGridCellSize:100,labelRenderedSizeThreshold:6,nodeReducer:null,edgeReducer:null,zIndex:!1,minCameraRatio:null,maxCameraRatio:null,enableCameraZooming:!0,enableCameraPanning:!0,enableCameraRotation:!0,cameraPanBoundaries:null,allowInvalidContainer:!1,nodeProgramClasses:{},nodeHoverProgramClasses:{},edgeProgramClasses:{}},Twe={circle:m0},Awe={arrow:FQ,line:hwe};function jS(e){if(typeof e.labelDensity!="number"||e.labelDensity<0)throw new Error("Settings: invalid `labelDensity`. Expecting a positive number.");var t=e.minCameraRatio,r=e.maxCameraRatio;if(typeof t=="number"&&typeof r=="number"&&r<t)throw new Error("Settings: invalid camera ratio boundaries. Expecting `maxCameraRatio` to be greater than `minCameraRatio`.")}function _we(e){var t=$S({},o5,e);return t.nodeProgramClasses=$S({},Twe,t.nodeProgramClasses),t.edgeProgramClasses=$S({},Awe,t.edgeProgramClasses),t}var w1=1.5,YO=function(e){function t(){var r;return ra(this,t),r=oi(this,t),Xe(r,"x",.5),Xe(r,"y",.5),Xe(r,"angle",0),Xe(r,"ratio",1),Xe(r,"minRatio",null),Xe(r,"maxRatio",null),Xe(r,"enabledZooming",!0),Xe(r,"enabledPanning",!0),Xe(r,"enabledRotation",!0),Xe(r,"clean",null),Xe(r,"nextFrame",null),Xe(r,"previousState",null),Xe(r,"enabled",!0),r.previousState=r.getState(),r}return si(t,e),na(t,[{key:"enable",value:function(){return this.enabled=!0,this}},{key:"disable",value:function(){return this.enabled=!1,this}},{key:"getState",value:function(){return{x:this.x,y:this.y,angle:this.angle,ratio:this.ratio}}},{key:"hasState",value:function(n){return this.x===n.x&&this.y===n.y&&this.ratio===n.ratio&&this.angle===n.angle}},{key:"getPreviousState",value:function(){var n=this.previousState;return n?{x:n.x,y:n.y,angle:n.angle,ratio:n.ratio}:null}},{key:"getBoundedRatio",value:function(n){var a=n;return typeof this.minRatio=="number"&&(a=Math.max(a,this.minRatio)),typeof this.maxRatio=="number"&&(a=Math.min(a,this.maxRatio)),a}},{key:"validateState",value:function(n){var a={};return this.enabledPanning&&typeof n.x=="number"&&(a.x=n.x),this.enabledPanning&&typeof n.y=="number"&&(a.y=n.y),this.enabledZooming&&typeof n.ratio=="number"&&(a.ratio=this.getBoundedRatio(n.ratio)),this.enabledRotation&&typeof n.angle=="number"&&(a.angle=n.angle),this.clean?this.clean(xt(xt({},this.getState()),a)):a}},{key:"isAnimated",value:function(){return!!this.nextFrame}},{key:"setState",value:function(n){if(!this.enabled)return this;this.previousState=this.getState();var a=this.validateState(n);return typeof a.x=="number"&&(this.x=a.x),typeof a.y=="number"&&(this.y=a.y),typeof a.ratio=="number"&&(this.ratio=a.ratio),typeof a.angle=="number"&&(this.angle=a.angle),this.hasState(this.previousState)||this.emit("updated",this.getState()),this}},{key:"updateState",value:function(n){return this.setState(n(this.getState())),this}},{key:"animate",value:function(n){var a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;if(!o)return new Promise(function(m){return a.animate(n,i,m)});if(this.enabled){var s=xt(xt({},xQ),i),l=this.validateState(n),u=typeof s.easing=="function"?s.easing:SQ[s.easing],d=Date.now(),h=this.getState(),f=function(){var b=(Date.now()-d)/s.duration;if(b>=1){a.nextFrame=null,a.setState(l),a.animationCallback&&(a.animationCallback.call(null),a.animationCallback=void 0);return}var y=u(b),F={};typeof l.x=="number"&&(F.x=h.x+(l.x-h.x)*y),typeof l.y=="number"&&(F.y=h.y+(l.y-h.y)*y),a.enabledRotation&&typeof l.angle=="number"&&(F.angle=h.angle+(l.angle-h.angle)*y),typeof l.ratio=="number"&&(F.ratio=h.ratio+(l.ratio-h.ratio)*y),a.setState(F),a.nextFrame=requestAnimationFrame(f)};this.nextFrame?(cancelAnimationFrame(this.nextFrame),this.animationCallback&&this.animationCallback.call(null),this.nextFrame=requestAnimationFrame(f)):f(),this.animationCallback=o}}},{key:"animatedZoom",value:function(n){return n?typeof n=="number"?this.animate({ratio:this.ratio/n}):this.animate({ratio:this.ratio/(n.factor||w1)},n):this.animate({ratio:this.ratio/w1})}},{key:"animatedUnzoom",value:function(n){return n?typeof n=="number"?this.animate({ratio:this.ratio*n}):this.animate({ratio:this.ratio*(n.factor||w1)},n):this.animate({ratio:this.ratio*w1})}},{key:"animatedReset",value:function(n){return this.animate({x:.5,y:.5,ratio:1,angle:0},n)}},{key:"copy",value:function(){return t.from(this.getState())}}],[{key:"from",value:function(n){var a=new t;return a.setState(n)}}])}(i5);function So(e,t){var r=t.getBoundingClientRect();return{x:e.clientX-r.left,y:e.clientY-r.top}}function $s(e,t){var r=xt(xt({},So(e,t)),{},{sigmaDefaultPrevented:!1,preventSigmaDefault:function(){r.sigmaDefaultPrevented=!0},original:e});return r}function Cf(e){var t="x"in e?e:xt(xt({},e.touches[0]||e.previousTouches[0]),{},{original:e.original,sigmaDefaultPrevented:e.sigmaDefaultPrevented,preventSigmaDefault:function(){e.sigmaDefaultPrevented=!0,t.sigmaDefaultPrevented=!0}});return t}function Dwe(e,t){return xt(xt({},$s(e,t)),{},{delta:kQ(e)})}var Rwe=2;function cb(e){for(var t=[],r=0,n=Math.min(e.length,Rwe);r<n;r++)t.push(e[r]);return t}function Tf(e,t,r){var n={touches:cb(e.touches).map(function(a){return So(a,r)}),previousTouches:t.map(function(a){return So(a,r)}),sigmaDefaultPrevented:!1,preventSigmaDefault:function(){n.sigmaDefaultPrevented=!0},original:e};return n}function kQ(e){if(typeof e.deltaY<"u")return e.deltaY*-3/360;if(typeof e.detail<"u")return e.detail/-9;throw new Error("Captor: could not extract delta from event.")}var CQ=function(e){function t(r,n){var a;return ra(this,t),a=oi(this,t),a.container=r,a.renderer=n,a}return si(t,e),na(t)}(i5),Nwe=["doubleClickTimeout","doubleClickZoomingDuration","doubleClickZoomingRatio","dragTimeout","draggedEventsTolerance","inertiaDuration","inertiaRatio","zoomDuration","zoomingRatio"],Lwe=Nwe.reduce(function(e,t){return xt(xt({},e),{},Xe({},t,o5[t]))},{}),Mwe=function(e){function t(r,n){var a;return ra(this,t),a=oi(this,t,[r,n]),Xe(a,"enabled",!0),Xe(a,"draggedEvents",0),Xe(a,"downStartTime",null),Xe(a,"lastMouseX",null),Xe(a,"lastMouseY",null),Xe(a,"isMouseDown",!1),Xe(a,"isMoving",!1),Xe(a,"movingTimeout",null),Xe(a,"startCameraState",null),Xe(a,"clicks",0),Xe(a,"doubleClickTimeout",null),Xe(a,"currentWheelDirection",0),Xe(a,"settings",Lwe),a.handleClick=a.handleClick.bind(a),a.handleRightClick=a.handleRightClick.bind(a),a.handleDown=a.handleDown.bind(a),a.handleUp=a.handleUp.bind(a),a.handleMove=a.handleMove.bind(a),a.handleWheel=a.handleWheel.bind(a),a.handleLeave=a.handleLeave.bind(a),a.handleEnter=a.handleEnter.bind(a),r.addEventListener("click",a.handleClick,{capture:!1}),r.addEventListener("contextmenu",a.handleRightClick,{capture:!1}),r.addEventListener("mousedown",a.handleDown,{capture:!1}),r.addEventListener("wheel",a.handleWheel,{capture:!1}),r.addEventListener("mouseleave",a.handleLeave,{capture:!1}),r.addEventListener("mouseenter",a.handleEnter,{capture:!1}),document.addEventListener("mousemove",a.handleMove,{capture:!1}),document.addEventListener("mouseup",a.handleUp,{capture:!1}),a}return si(t,e),na(t,[{key:"kill",value:function(){var n=this.container;n.removeEventListener("click",this.handleClick),n.removeEventListener("contextmenu",this.handleRightClick),n.removeEventListener("mousedown",this.handleDown),n.removeEventListener("wheel",this.handleWheel),n.removeEventListener("mouseleave",this.handleLeave),n.removeEventListener("mouseenter",this.handleEnter),document.removeEventListener("mousemove",this.handleMove),document.removeEventListener("mouseup",this.handleUp)}},{key:"handleClick",value:function(n){var a=this;if(this.enabled){if(this.clicks++,this.clicks===2)return this.clicks=0,typeof this.doubleClickTimeout=="number"&&(clearTimeout(this.doubleClickTimeout),this.doubleClickTimeout=null),this.handleDoubleClick(n);setTimeout(function(){a.clicks=0,a.doubleClickTimeout=null},this.settings.doubleClickTimeout),this.draggedEvents<this.settings.draggedEventsTolerance&&this.emit("click",$s(n,this.container))}}},{key:"handleRightClick",value:function(n){this.enabled&&this.emit("rightClick",$s(n,this.container))}},{key:"handleDoubleClick",value:function(n){if(this.enabled){n.preventDefault(),n.stopPropagation();var a=$s(n,this.container);if(this.emit("doubleClick",a),!a.sigmaDefaultPrevented){var i=this.renderer.getCamera(),o=i.getBoundedRatio(i.getState().ratio/this.settings.doubleClickZoomingRatio);i.animate(this.renderer.getViewportZoomedState(So(n,this.container),o),{easing:"quadraticInOut",duration:this.settings.doubleClickZoomingDuration})}}}},{key:"handleDown",value:function(n){if(this.enabled){if(n.button===0){this.startCameraState=this.renderer.getCamera().getState();var a=So(n,this.container),i=a.x,o=a.y;this.lastMouseX=i,this.lastMouseY=o,this.draggedEvents=0,this.downStartTime=Date.now(),this.isMouseDown=!0}this.emit("mousedown",$s(n,this.container))}}},{key:"handleUp",value:function(n){var a=this;if(!(!this.enabled||!this.isMouseDown)){var i=this.renderer.getCamera();this.isMouseDown=!1,typeof this.movingTimeout=="number"&&(clearTimeout(this.movingTimeout),this.movingTimeout=null);var o=So(n,this.container),s=o.x,l=o.y,u=i.getState(),d=i.getPreviousState()||{x:0,y:0};this.isMoving?i.animate({x:u.x+this.settings.inertiaRatio*(u.x-d.x),y:u.y+this.settings.inertiaRatio*(u.y-d.y)},{duration:this.settings.inertiaDuration,easing:"quadraticOut"}):(this.lastMouseX!==s||this.lastMouseY!==l)&&i.setState({x:u.x,y:u.y}),this.isMoving=!1,setTimeout(function(){var h=a.draggedEvents>0;a.draggedEvents=0,h&&a.renderer.getSetting("hideEdgesOnMove")&&a.renderer.refresh()},0),this.emit("mouseup",$s(n,this.container))}}},{key:"handleMove",value:function(n){var a=this;if(this.enabled){var i=$s(n,this.container);if(this.emit("mousemovebody",i),(n.target===this.container||n.composedPath()[0]===this.container)&&this.emit("mousemove",i),!i.sigmaDefaultPrevented&&this.isMouseDown){this.isMoving=!0,this.draggedEvents++,typeof this.movingTimeout=="number"&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout(function(){a.movingTimeout=null,a.isMoving=!1},this.settings.dragTimeout);var o=this.renderer.getCamera(),s=So(n,this.container),l=s.x,u=s.y,d=this.renderer.viewportToFramedGraph({x:this.lastMouseX,y:this.lastMouseY}),h=this.renderer.viewportToFramedGraph({x:l,y:u}),f=d.x-h.x,m=d.y-h.y,b=o.getState(),y=b.x+f,F=b.y+m;o.setState({x:y,y:F}),this.lastMouseX=l,this.lastMouseY=u,n.preventDefault(),n.stopPropagation()}}}},{key:"handleLeave",value:function(n){this.emit("mouseleave",$s(n,this.container))}},{key:"handleEnter",value:function(n){this.emit("mouseenter",$s(n,this.container))}},{key:"handleWheel",value:function(n){var a=this,i=this.renderer.getCamera();if(!(!this.enabled||!i.enabledZooming)){var o=kQ(n);if(o){var s=Dwe(n,this.container);if(this.emit("wheel",s),s.sigmaDefaultPrevented){n.preventDefault(),n.stopPropagation();return}var l=i.getState().ratio,u=o>0?1/this.settings.zoomingRatio:this.settings.zoomingRatio,d=i.getBoundedRatio(l*u),h=o>0?1:-1,f=Date.now();l!==d&&(n.preventDefault(),n.stopPropagation(),!(this.currentWheelDirection===h&&this.lastWheelTriggerTime&&f-this.lastWheelTriggerTime<this.settings.zoomDuration/5)&&(i.animate(this.renderer.getViewportZoomedState(So(n,this.container),d),{easing:"quadraticOut",duration:this.settings.zoomDuration},function(){a.currentWheelDirection=0}),this.currentWheelDirection=h,this.lastWheelTriggerTime=f))}}}},{key:"setSettings",value:function(n){this.settings=n}}])}(CQ),Iwe=["dragTimeout","inertiaDuration","inertiaRatio","doubleClickTimeout","doubleClickZoomingRatio","doubleClickZoomingDuration","tapMoveTolerance"],Owe=Iwe.reduce(function(e,t){return xt(xt({},e),{},Xe({},t,o5[t]))},{}),Bwe=function(e){function t(r,n){var a;return ra(this,t),a=oi(this,t,[r,n]),Xe(a,"enabled",!0),Xe(a,"isMoving",!1),Xe(a,"hasMoved",!1),Xe(a,"touchMode",0),Xe(a,"startTouchesPositions",[]),Xe(a,"lastTouches",[]),Xe(a,"lastTap",null),Xe(a,"settings",Owe),a.handleStart=a.handleStart.bind(a),a.handleLeave=a.handleLeave.bind(a),a.handleMove=a.handleMove.bind(a),r.addEventListener("touchstart",a.handleStart,{capture:!1}),r.addEventListener("touchcancel",a.handleLeave,{capture:!1}),document.addEventListener("touchend",a.handleLeave,{capture:!1,passive:!1}),document.addEventListener("touchmove",a.handleMove,{capture:!1,passive:!1}),a}return si(t,e),na(t,[{key:"kill",value:function(){var n=this.container;n.removeEventListener("touchstart",this.handleStart),n.removeEventListener("touchcancel",this.handleLeave),document.removeEventListener("touchend",this.handleLeave),document.removeEventListener("touchmove",this.handleMove)}},{key:"getDimensions",value:function(){return{width:this.container.offsetWidth,height:this.container.offsetHeight}}},{key:"handleStart",value:function(n){var a=this;if(this.enabled){n.preventDefault();var i=cb(n.touches);if(this.touchMode=i.length,this.startCameraState=this.renderer.getCamera().getState(),this.startTouchesPositions=i.map(function(m){return So(m,a.container)}),this.touchMode===2){var o=_h(this.startTouchesPositions,2),s=o[0],l=s.x,u=s.y,d=o[1],h=d.x,f=d.y;this.startTouchesAngle=Math.atan2(f-u,h-l),this.startTouchesDistance=Math.sqrt(Math.pow(h-l,2)+Math.pow(f-u,2))}this.emit("touchdown",Tf(n,this.lastTouches,this.container)),this.lastTouches=i,this.lastTouchesPositions=this.startTouchesPositions}}},{key:"handleLeave",value:function(n){if(!(!this.enabled||!this.startTouchesPositions.length)){switch(n.cancelable&&n.preventDefault(),this.movingTimeout&&(this.isMoving=!1,clearTimeout(this.movingTimeout)),this.touchMode){case 2:if(n.touches.length===1){this.handleStart(n),n.preventDefault();break}case 1:if(this.isMoving){var a=this.renderer.getCamera(),i=a.getState(),o=a.getPreviousState()||{x:0,y:0};a.animate({x:i.x+this.settings.inertiaRatio*(i.x-o.x),y:i.y+this.settings.inertiaRatio*(i.y-o.y)},{duration:this.settings.inertiaDuration,easing:"quadraticOut"})}this.hasMoved=!1,this.isMoving=!1,this.touchMode=0;break}if(this.emit("touchup",Tf(n,this.lastTouches,this.container)),!n.touches.length){var s=So(this.lastTouches[0],this.container),l=this.startTouchesPositions[0],u=Math.pow(s.x-l.x,2)+Math.pow(s.y-l.y,2);if(!n.touches.length&&u<Math.pow(this.settings.tapMoveTolerance,2))if(this.lastTap&&Date.now()-this.lastTap.time<this.settings.doubleClickTimeout){var d=Tf(n,this.lastTouches,this.container);if(this.emit("doubletap",d),this.lastTap=null,!d.sigmaDefaultPrevented){var h=this.renderer.getCamera(),f=h.getBoundedRatio(h.getState().ratio/this.settings.doubleClickZoomingRatio);h.animate(this.renderer.getViewportZoomedState(s,f),{easing:"quadraticInOut",duration:this.settings.doubleClickZoomingDuration})}}else{var m=Tf(n,this.lastTouches,this.container);this.emit("tap",m),this.lastTap={time:Date.now(),position:m.touches[0]||m.previousTouches[0]}}}this.lastTouches=cb(n.touches),this.startTouchesPositions=[]}}},{key:"handleMove",value:function(n){var a=this;if(!(!this.enabled||!this.startTouchesPositions.length)){n.preventDefault();var i=cb(n.touches),o=i.map(function(Z){return So(Z,a.container)}),s=this.lastTouches;this.lastTouches=i,this.lastTouchesPositions=o;var l=Tf(n,s,this.container);if(this.emit("touchmove",l),!l.sigmaDefaultPrevented&&(this.hasMoved||(this.hasMoved=o.some(function(Z,K){var G=a.startTouchesPositions[K];return G&&(Z.x!==G.x||Z.y!==G.y)})),!!this.hasMoved)){this.isMoving=!0,this.movingTimeout&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout(function(){a.isMoving=!1},this.settings.dragTimeout);var u=this.renderer.getCamera(),d=this.startCameraState,h=this.renderer.getSetting("stagePadding");switch(this.touchMode){case 1:{var f=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0]),m=f.x,b=f.y,y=this.renderer.viewportToFramedGraph(o[0]),F=y.x,x=y.y;u.setState({x:d.x+m-F,y:d.y+b-x});break}case 2:{var E={x:.5,y:.5,angle:0,ratio:1},C=o[0],_=C.x,D=C.y,w=o[1],A=w.x,I=w.y,M=Math.atan2(I-D,A-_)-this.startTouchesAngle,L=Math.hypot(I-D,A-_)/this.startTouchesDistance,U=u.getBoundedRatio(d.ratio/L);E.ratio=U,E.angle=d.angle+M;var j=this.getDimensions(),z=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0],{cameraState:d}),V=Math.min(j.width,j.height)-2*h,X=V/j.width,q=V/j.height,W=U/V,B=_-V/2/X,te=D-V/2/q,P=[B*Math.cos(-E.angle)-te*Math.sin(-E.angle),te*Math.cos(-E.angle)+B*Math.sin(-E.angle)];B=P[0],te=P[1],E.x=z.x-B*W,E.y=z.y+te*W,u.setState(E);break}}}}}},{key:"setSettings",value:function(n){this.settings=n}}])}(CQ);function Pwe(e){if(Array.isArray(e))return Y_(e)}function zwe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Hwe(){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 XO(e){return Pwe(e)||zwe(e)||oQ(e)||Hwe()}function Uwe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}function qS(e,t){if(e==null)return{};var r,n,a=Uwe(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var JO=function(){function e(t,r){ra(this,e),this.key=t,this.size=r}return na(e,null,[{key:"compare",value:function(r,n){return r.size>n.size?-1:r.size<n.size||r.key>n.key?1:-1}}])}(),ZO=function(){function e(){ra(this,e),Xe(this,"width",0),Xe(this,"height",0),Xe(this,"cellSize",0),Xe(this,"columns",0),Xe(this,"rows",0),Xe(this,"cells",{})}return na(e,[{key:"resizeAndClear",value:function(r,n){this.width=r.width,this.height=r.height,this.cellSize=n,this.columns=Math.ceil(r.width/n),this.rows=Math.ceil(r.height/n),this.cells={}}},{key:"getIndex",value:function(r){var n=Math.floor(r.x/this.cellSize),a=Math.floor(r.y/this.cellSize);return a*this.columns+n}},{key:"add",value:function(r,n,a){var i=new JO(r,n),o=this.getIndex(a),s=this.cells[o];s||(s=[],this.cells[o]=s),s.push(i)}},{key:"organize",value:function(){for(var r in this.cells){var n=this.cells[r];n.sort(JO.compare)}}},{key:"getLabelsToDisplay",value:function(r,n){var a=this.cellSize*this.cellSize,i=a/r/r,o=i*n/a,s=Math.ceil(o),l=[];for(var u in this.cells)for(var d=this.cells[u],h=0;h<Math.min(s,d.length);h++)l.push(d[h].key);return l}}])}();function Gwe(e){var t=e.graph,r=e.hoveredNode,n=e.highlightedNodes,a=e.displayedNodeLabels,i=[];return t.forEachEdge(function(o,s,l,u){(l===r||u===r||n.has(l)||n.has(u)||a.has(l)&&a.has(u))&&i.push(o)}),i}var $we=150,jwe=50,Xs=Object.prototype.hasOwnProperty;function qwe(e,t,r){if(!Xs.call(r,"x")||!Xs.call(r,"y"))throw new Error('Sigma: could not find a valid position (x, y) for node "'.concat(t,'". All your nodes must have a number "x" and "y". Maybe your forgot to apply a layout or your "nodeReducer" is not returning the correct data?'));return r.color||(r.color=e.defaultNodeColor),!r.label&&r.label!==""&&(r.label=null),r.label!==void 0&&r.label!==null?r.label=""+r.label:r.label=null,r.size||(r.size=2),Xs.call(r,"hidden")||(r.hidden=!1),Xs.call(r,"highlighted")||(r.highlighted=!1),Xs.call(r,"forceLabel")||(r.forceLabel=!1),(!r.type||r.type==="")&&(r.type=e.defaultNodeType),r.zIndex||(r.zIndex=0),r}function Wwe(e,t,r){return r.color||(r.color=e.defaultEdgeColor),r.label||(r.label=""),r.size||(r.size=.5),Xs.call(r,"hidden")||(r.hidden=!1),Xs.call(r,"forceLabel")||(r.forceLabel=!1),(!r.type||r.type==="")&&(r.type=e.defaultEdgeType),r.zIndex||(r.zIndex=0),r}var Vwe=function(e){function t(r,n){var a,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(ra(this,t),a=oi(this,t),Xe(a,"elements",{}),Xe(a,"canvasContexts",{}),Xe(a,"webGLContexts",{}),Xe(a,"pickingLayers",new Set),Xe(a,"textures",{}),Xe(a,"frameBuffers",{}),Xe(a,"activeListeners",{}),Xe(a,"labelGrid",new ZO),Xe(a,"nodeDataCache",{}),Xe(a,"edgeDataCache",{}),Xe(a,"nodeProgramIndex",{}),Xe(a,"edgeProgramIndex",{}),Xe(a,"nodesWithForcedLabels",new Set),Xe(a,"edgesWithForcedLabels",new Set),Xe(a,"nodeExtent",{x:[0,1],y:[0,1]}),Xe(a,"nodeZExtent",[1/0,-1/0]),Xe(a,"edgeZExtent",[1/0,-1/0]),Xe(a,"matrix",vo()),Xe(a,"invMatrix",vo()),Xe(a,"correctionRatio",1),Xe(a,"customBBox",null),Xe(a,"normalizationFunction",VO({x:[0,1],y:[0,1]})),Xe(a,"graphToViewportRatio",1),Xe(a,"itemIDsIndex",{}),Xe(a,"nodeIndices",{}),Xe(a,"edgeIndices",{}),Xe(a,"width",0),Xe(a,"height",0),Xe(a,"pixelRatio",qO()),Xe(a,"pickingDownSizingRatio",2*a.pixelRatio),Xe(a,"displayedNodeLabels",new Set),Xe(a,"displayedEdgeLabels",new Set),Xe(a,"highlightedNodes",new Set),Xe(a,"hoveredNode",null),Xe(a,"hoveredEdge",null),Xe(a,"renderFrame",null),Xe(a,"renderHighlightedNodesFrame",null),Xe(a,"needToProcess",!1),Xe(a,"checkEdgesEventsFrame",null),Xe(a,"nodePrograms",{}),Xe(a,"nodeHoverPrograms",{}),Xe(a,"edgePrograms",{}),a.settings=_we(i),jS(a.settings),kwe(r),!(n instanceof HTMLElement))throw new Error("Sigma: container should be an html element.");a.graph=r,a.container=n,a.createWebGLContext("edges",{picking:i.enableEdgeEvents}),a.createCanvasContext("edgeLabels"),a.createWebGLContext("nodes",{picking:!0}),a.createCanvasContext("labels"),a.createCanvasContext("hovers"),a.createWebGLContext("hoverNodes"),a.createCanvasContext("mouse",{style:{touchAction:"none",userSelect:"none"}}),a.resize();for(var o in a.settings.nodeProgramClasses)a.registerNodeProgram(o,a.settings.nodeProgramClasses[o],a.settings.nodeHoverProgramClasses[o]);for(var s in a.settings.edgeProgramClasses)a.registerEdgeProgram(s,a.settings.edgeProgramClasses[s]);return a.camera=new YO,a.bindCameraHandlers(),a.mouseCaptor=new Mwe(a.elements.mouse,a),a.mouseCaptor.setSettings(a.settings),a.touchCaptor=new Bwe(a.elements.mouse,a),a.touchCaptor.setSettings(a.settings),a.bindEventHandlers(),a.bindGraphHandlers(),a.handleSettingsUpdate(),a.refresh(),a}return si(t,e),na(t,[{key:"registerNodeProgram",value:function(n,a,i){return this.nodePrograms[n]&&this.nodePrograms[n].kill(),this.nodeHoverPrograms[n]&&this.nodeHoverPrograms[n].kill(),this.nodePrograms[n]=new a(this.webGLContexts.nodes,this.frameBuffers.nodes,this),this.nodeHoverPrograms[n]=new(i||a)(this.webGLContexts.hoverNodes,null,this),this}},{key:"registerEdgeProgram",value:function(n,a){return this.edgePrograms[n]&&this.edgePrograms[n].kill(),this.edgePrograms[n]=new a(this.webGLContexts.edges,this.frameBuffers.edges,this),this}},{key:"unregisterNodeProgram",value:function(n){if(this.nodePrograms[n]){var a=this.nodePrograms,i=a[n],o=qS(a,[n].map(um));i.kill(),this.nodePrograms=o}if(this.nodeHoverPrograms[n]){var s=this.nodeHoverPrograms,l=s[n],u=qS(s,[n].map(um));l.kill(),this.nodePrograms=u}return this}},{key:"unregisterEdgeProgram",value:function(n){if(this.edgePrograms[n]){var a=this.edgePrograms,i=a[n],o=qS(a,[n].map(um));i.kill(),this.edgePrograms=o}return this}},{key:"resetWebGLTexture",value:function(n){var a=this.webGLContexts[n],i=this.frameBuffers[n],o=this.textures[n];o&&a.deleteTexture(o);var s=a.createTexture();return a.bindFramebuffer(a.FRAMEBUFFER,i),a.bindTexture(a.TEXTURE_2D,s),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,this.width,this.height,0,a.RGBA,a.UNSIGNED_BYTE,null),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,s,0),this.textures[n]=s,this}},{key:"bindCameraHandlers",value:function(){var n=this;return this.activeListeners.camera=function(){n.scheduleRender()},this.camera.on("updated",this.activeListeners.camera),this}},{key:"unbindCameraHandlers",value:function(){return this.camera.removeListener("updated",this.activeListeners.camera),this}},{key:"getNodeAtPosition",value:function(n){var a=n.x,i=n.y,o=LO(this.webGLContexts.nodes,this.frameBuffers.nodes,a,i,this.pixelRatio,this.pickingDownSizingRatio),s=NO.apply(void 0,XO(o)),l=this.itemIDsIndex[s];return l&&l.type==="node"?l.id:null}},{key:"bindEventHandlers",value:function(){var n=this;this.activeListeners.handleResize=function(){n.scheduleRefresh()},window.addEventListener("resize",this.activeListeners.handleResize),this.activeListeners.handleMove=function(i){var o=Cf(i),s={event:o,preventSigmaDefault:function(){o.preventSigmaDefault()}},l=n.getNodeAtPosition(o);if(l&&n.hoveredNode!==l&&!n.nodeDataCache[l].hidden){n.hoveredNode&&n.emit("leaveNode",xt(xt({},s),{},{node:n.hoveredNode})),n.hoveredNode=l,n.emit("enterNode",xt(xt({},s),{},{node:l})),n.scheduleHighlightedNodesRender();return}if(n.hoveredNode&&n.getNodeAtPosition(o)!==n.hoveredNode){var u=n.hoveredNode;n.hoveredNode=null,n.emit("leaveNode",xt(xt({},s),{},{node:u})),n.scheduleHighlightedNodesRender();return}if(n.settings.enableEdgeEvents){var d=n.hoveredNode?null:n.getEdgeAtPoint(s.event.x,s.event.y);d!==n.hoveredEdge&&(n.hoveredEdge&&n.emit("leaveEdge",xt(xt({},s),{},{edge:n.hoveredEdge})),d&&n.emit("enterEdge",xt(xt({},s),{},{edge:d})),n.hoveredEdge=d)}},this.activeListeners.handleMoveBody=function(i){var o=Cf(i);n.emit("moveBody",{event:o,preventSigmaDefault:function(){o.preventSigmaDefault()}})},this.activeListeners.handleLeave=function(i){var o=Cf(i),s={event:o,preventSigmaDefault:function(){o.preventSigmaDefault()}};n.hoveredNode&&(n.emit("leaveNode",xt(xt({},s),{},{node:n.hoveredNode})),n.scheduleHighlightedNodesRender()),n.settings.enableEdgeEvents&&n.hoveredEdge&&(n.emit("leaveEdge",xt(xt({},s),{},{edge:n.hoveredEdge})),n.scheduleHighlightedNodesRender()),n.emit("leaveStage",xt({},s))},this.activeListeners.handleEnter=function(i){var o=Cf(i),s={event:o,preventSigmaDefault:function(){o.preventSigmaDefault()}};n.emit("enterStage",xt({},s))};var a=function(o){return function(s){var l=Cf(s),u={event:l,preventSigmaDefault:function(){l.preventSigmaDefault()}},d=n.getNodeAtPosition(l);if(d)return n.emit("".concat(o,"Node"),xt(xt({},u),{},{node:d}));if(n.settings.enableEdgeEvents){var h=n.getEdgeAtPoint(l.x,l.y);if(h)return n.emit("".concat(o,"Edge"),xt(xt({},u),{},{edge:h}))}return n.emit("".concat(o,"Stage"),u)}};return this.activeListeners.handleClick=a("click"),this.activeListeners.handleRightClick=a("rightClick"),this.activeListeners.handleDoubleClick=a("doubleClick"),this.activeListeners.handleWheel=a("wheel"),this.activeListeners.handleDown=a("down"),this.activeListeners.handleUp=a("up"),this.mouseCaptor.on("mousemove",this.activeListeners.handleMove),this.mouseCaptor.on("mousemovebody",this.activeListeners.handleMoveBody),this.mouseCaptor.on("click",this.activeListeners.handleClick),this.mouseCaptor.on("rightClick",this.activeListeners.handleRightClick),this.mouseCaptor.on("doubleClick",this.activeListeners.handleDoubleClick),this.mouseCaptor.on("wheel",this.activeListeners.handleWheel),this.mouseCaptor.on("mousedown",this.activeListeners.handleDown),this.mouseCaptor.on("mouseup",this.activeListeners.handleUp),this.mouseCaptor.on("mouseleave",this.activeListeners.handleLeave),this.mouseCaptor.on("mouseenter",this.activeListeners.handleEnter),this.touchCaptor.on("touchdown",this.activeListeners.handleDown),this.touchCaptor.on("touchdown",this.activeListeners.handleMove),this.touchCaptor.on("touchup",this.activeListeners.handleUp),this.touchCaptor.on("touchmove",this.activeListeners.handleMove),this.touchCaptor.on("tap",this.activeListeners.handleClick),this.touchCaptor.on("doubletap",this.activeListeners.handleDoubleClick),this.touchCaptor.on("touchmove",this.activeListeners.handleMoveBody),this}},{key:"bindGraphHandlers",value:function(){var n=this,a=this.graph,i=new Set(["x","y","zIndex","type"]);return this.activeListeners.eachNodeAttributesUpdatedGraphUpdate=function(o){var s,l=(s=o.hints)===null||s===void 0?void 0:s.attributes;n.graph.forEachNode(function(d){return n.updateNode(d)});var u=!l||l.some(function(d){return i.has(d)});n.refresh({partialGraph:{nodes:a.nodes()},skipIndexation:!u,schedule:!0})},this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate=function(o){var s,l=(s=o.hints)===null||s===void 0?void 0:s.attributes;n.graph.forEachEdge(function(d){return n.updateEdge(d)});var u=l&&["zIndex","type"].some(function(d){return l==null?void 0:l.includes(d)});n.refresh({partialGraph:{edges:a.edges()},skipIndexation:!u,schedule:!0})},this.activeListeners.addNodeGraphUpdate=function(o){var s=o.key;n.addNode(s),n.refresh({partialGraph:{nodes:[s]},skipIndexation:!1,schedule:!0})},this.activeListeners.updateNodeGraphUpdate=function(o){var s=o.key;n.refresh({partialGraph:{nodes:[s]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropNodeGraphUpdate=function(o){var s=o.key;n.removeNode(s),n.refresh({schedule:!0})},this.activeListeners.addEdgeGraphUpdate=function(o){var s=o.key;n.addEdge(s),n.refresh({partialGraph:{edges:[s]},schedule:!0})},this.activeListeners.updateEdgeGraphUpdate=function(o){var s=o.key;n.refresh({partialGraph:{edges:[s]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropEdgeGraphUpdate=function(o){var s=o.key;n.removeEdge(s),n.refresh({schedule:!0})},this.activeListeners.clearEdgesGraphUpdate=function(){n.clearEdgeState(),n.clearEdgeIndices(),n.refresh({schedule:!0})},this.activeListeners.clearGraphUpdate=function(){n.clearEdgeState(),n.clearNodeState(),n.clearEdgeIndices(),n.clearNodeIndices(),n.refresh({schedule:!0})},a.on("nodeAdded",this.activeListeners.addNodeGraphUpdate),a.on("nodeDropped",this.activeListeners.dropNodeGraphUpdate),a.on("nodeAttributesUpdated",this.activeListeners.updateNodeGraphUpdate),a.on("eachNodeAttributesUpdated",this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),a.on("edgeAdded",this.activeListeners.addEdgeGraphUpdate),a.on("edgeDropped",this.activeListeners.dropEdgeGraphUpdate),a.on("edgeAttributesUpdated",this.activeListeners.updateEdgeGraphUpdate),a.on("eachEdgeAttributesUpdated",this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),a.on("edgesCleared",this.activeListeners.clearEdgesGraphUpdate),a.on("cleared",this.activeListeners.clearGraphUpdate),this}},{key:"unbindGraphHandlers",value:function(){var n=this.graph;n.removeListener("nodeAdded",this.activeListeners.addNodeGraphUpdate),n.removeListener("nodeDropped",this.activeListeners.dropNodeGraphUpdate),n.removeListener("nodeAttributesUpdated",this.activeListeners.updateNodeGraphUpdate),n.removeListener("eachNodeAttributesUpdated",this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),n.removeListener("edgeAdded",this.activeListeners.addEdgeGraphUpdate),n.removeListener("edgeDropped",this.activeListeners.dropEdgeGraphUpdate),n.removeListener("edgeAttributesUpdated",this.activeListeners.updateEdgeGraphUpdate),n.removeListener("eachEdgeAttributesUpdated",this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),n.removeListener("edgesCleared",this.activeListeners.clearEdgesGraphUpdate),n.removeListener("cleared",this.activeListeners.clearGraphUpdate)}},{key:"getEdgeAtPoint",value:function(n,a){var i=LO(this.webGLContexts.edges,this.frameBuffers.edges,n,a,this.pixelRatio,this.pickingDownSizingRatio),o=NO.apply(void 0,XO(i)),s=this.itemIDsIndex[o];return s&&s.type==="edge"?s.id:null}},{key:"process",value:function(){var n=this;this.emit("beforeProcess");var a=this.graph,i=this.settings,o=this.getDimensions();if(this.nodeExtent=wwe(this.graph),!this.settings.autoRescale){var s=o.width,l=o.height,u=this.nodeExtent,d=u.x,h=u.y;this.nodeExtent={x:[(d[0]+d[1])/2-s/2,(d[0]+d[1])/2+s/2],y:[(h[0]+h[1])/2-l/2,(h[0]+h[1])/2+l/2]}}this.normalizationFunction=VO(this.customBBox||this.nodeExtent);var f=new YO,m=kf(f.getState(),o,this.getGraphDimensions(),this.getStagePadding());this.labelGrid.resizeAndClear(o,i.labelGridCellSize);for(var b={},y={},F={},x={},E=1,C=a.nodes(),_=0,D=C.length;_<D;_++){var w=C[_],A=this.nodeDataCache[w],I=a.getNodeAttributes(w);A.x=I.x,A.y=I.y,this.normalizationFunction.applyTo(A),typeof A.label=="string"&&!A.hidden&&this.labelGrid.add(w,A.size,this.framedGraphToViewport(A,{matrix:m})),b[A.type]=(b[A.type]||0)+1}this.labelGrid.organize();for(var M in this.nodePrograms){if(!Xs.call(this.nodePrograms,M))throw new Error('Sigma: could not find a suitable program for node type "'.concat(M,'"!'));this.nodePrograms[M].reallocate(b[M]||0),b[M]=0}this.settings.zIndex&&this.nodeZExtent[0]!==this.nodeZExtent[1]&&(C=WO(this.nodeZExtent,function(oe){return n.nodeDataCache[oe].zIndex},C));for(var L=0,U=C.length;L<U;L++){var j=C[L];y[j]=E,x[y[j]]={type:"node",id:j},E++;var z=this.nodeDataCache[j];this.addNodeToProgram(j,y[j],b[z.type]++)}for(var V={},X=a.edges(),q=0,W=X.length;q<W;q++){var B=X[q],te=this.edgeDataCache[B];V[te.type]=(V[te.type]||0)+1}this.settings.zIndex&&this.edgeZExtent[0]!==this.edgeZExtent[1]&&(X=WO(this.edgeZExtent,function(oe){return n.edgeDataCache[oe].zIndex},X));for(var P in this.edgePrograms){if(!Xs.call(this.edgePrograms,P))throw new Error('Sigma: could not find a suitable program for edge type "'.concat(P,'"!'));this.edgePrograms[P].reallocate(V[P]||0),V[P]=0}for(var Z=0,K=X.length;Z<K;Z++){var G=X[Z];F[G]=E,x[F[G]]={type:"edge",id:G},E++;var ne=this.edgeDataCache[G];this.addEdgeToProgram(G,F[G],V[ne.type]++)}return this.itemIDsIndex=x,this.nodeIndices=y,this.edgeIndices=F,this.emit("afterProcess"),this}},{key:"handleSettingsUpdate",value:function(n){var a=this,i=this.settings;if(this.camera.minRatio=i.minCameraRatio,this.camera.maxRatio=i.maxCameraRatio,this.camera.enabledZooming=i.enableCameraZooming,this.camera.enabledPanning=i.enableCameraPanning,this.camera.enabledRotation=i.enableCameraRotation,i.cameraPanBoundaries?this.camera.clean=function(d){return a.cleanCameraState(d,i.cameraPanBoundaries&&Z_(i.cameraPanBoundaries)==="object"?i.cameraPanBoundaries:{})}:this.camera.clean=null,this.camera.setState(this.camera.validateState(this.camera.getState())),n){if(n.edgeProgramClasses!==i.edgeProgramClasses){for(var o in i.edgeProgramClasses)i.edgeProgramClasses[o]!==n.edgeProgramClasses[o]&&this.registerEdgeProgram(o,i.edgeProgramClasses[o]);for(var s in n.edgeProgramClasses)i.edgeProgramClasses[s]||this.unregisterEdgeProgram(s)}if(n.nodeProgramClasses!==i.nodeProgramClasses||n.nodeHoverProgramClasses!==i.nodeHoverProgramClasses){for(var l in i.nodeProgramClasses)(i.nodeProgramClasses[l]!==n.nodeProgramClasses[l]||i.nodeHoverProgramClasses[l]!==n.nodeHoverProgramClasses[l])&&this.registerNodeProgram(l,i.nodeProgramClasses[l],i.nodeHoverProgramClasses[l]);for(var u in n.nodeProgramClasses)i.nodeProgramClasses[u]||this.unregisterNodeProgram(u)}}return this.mouseCaptor.setSettings(this.settings),this.touchCaptor.setSettings(this.settings),this}},{key:"cleanCameraState",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.tolerance,o=i===void 0?0:i,s=a.boundaries,l=xt({},n),u=s||this.nodeExtent,d=_h(u.x,2),h=d[0],f=d[1],m=_h(u.y,2),b=m[0],y=m[1],F=[this.graphToViewport({x:h,y:b},{cameraState:n}),this.graphToViewport({x:f,y:b},{cameraState:n}),this.graphToViewport({x:h,y},{cameraState:n}),this.graphToViewport({x:f,y},{cameraState:n})],x=1/0,E=-1/0,C=1/0,_=-1/0;F.forEach(function(V){var X=V.x,q=V.y;x=Math.min(x,X),E=Math.max(E,X),C=Math.min(C,q),_=Math.max(_,q)});var D=E-x,w=_-C,A=this.getDimensions(),I=A.width,M=A.height,L=0,U=0;if(D>=I?E<I-o?L=E-(I-o):x>o&&(L=x-o):E>I+o?L=E-(I+o):x<-o&&(L=x+o),w>=M?_<M-o?U=_-(M-o):C>o&&(U=C-o):_>M+o?U=_-(M+o):C<-o&&(U=C+o),L||U){var j=this.viewportToFramedGraph({x:0,y:0},{cameraState:n}),z=this.viewportToFramedGraph({x:L,y:U},{cameraState:n});L=z.x-j.x,U=z.y-j.y,l.x+=L,l.y+=U}return l}},{key:"renderLabels",value:function(){if(!this.settings.renderLabels)return this;var n=this.camera.getState(),a=this.labelGrid.getLabelsToDisplay(n.ratio,this.settings.labelDensity);KO(a,this.nodesWithForcedLabels),this.displayedNodeLabels=new Set;for(var i=this.canvasContexts.labels,o=0,s=a.length;o<s;o++){var l=a[o],u=this.nodeDataCache[l];if(!this.displayedNodeLabels.has(l)&&!u.hidden){var d=this.framedGraphToViewport(u),h=d.x,f=d.y,m=this.scaleSize(u.size);if(!(!u.forceLabel&&m<this.settings.labelRenderedSizeThreshold)&&!(h<-150||h>this.width+$we||f<-50||f>this.height+jwe)){this.displayedNodeLabels.add(l);var b=this.settings.defaultDrawNodeLabel,y=this.nodePrograms[u.type],F=(y==null?void 0:y.drawLabel)||b;F(i,xt(xt({key:l},u),{},{size:m,x:h,y:f}),this.settings)}}}return this}},{key:"renderEdgeLabels",value:function(){if(!this.settings.renderEdgeLabels)return this;var n=this.canvasContexts.edgeLabels;n.clearRect(0,0,this.width,this.height);var a=Gwe({graph:this.graph,hoveredNode:this.hoveredNode,displayedNodeLabels:this.displayedNodeLabels,highlightedNodes:this.highlightedNodes});KO(a,this.edgesWithForcedLabels);for(var i=new Set,o=0,s=a.length;o<s;o++){var l=a[o],u=this.graph.extremities(l),d=this.nodeDataCache[u[0]],h=this.nodeDataCache[u[1]],f=this.edgeDataCache[l];if(!i.has(l)&&!(f.hidden||d.hidden||h.hidden)){var m=this.settings.defaultDrawEdgeLabel,b=this.edgePrograms[f.type],y=(b==null?void 0:b.drawLabel)||m;y(n,xt(xt({key:l},f),{},{size:this.scaleSize(f.size)}),xt(xt(xt({key:u[0]},d),this.framedGraphToViewport(d)),{},{size:this.scaleSize(d.size)}),xt(xt(xt({key:u[1]},h),this.framedGraphToViewport(h)),{},{size:this.scaleSize(h.size)}),this.settings),i.add(l)}}return this.displayedEdgeLabels=i,this}},{key:"renderHighlightedNodes",value:function(){var n=this,a=this.canvasContexts.hovers;a.clearRect(0,0,this.width,this.height);var i=function(m){var b=n.nodeDataCache[m],y=n.framedGraphToViewport(b),F=y.x,x=y.y,E=n.scaleSize(b.size),C=n.settings.defaultDrawNodeHover,_=n.nodePrograms[b.type],D=(_==null?void 0:_.drawHover)||C;D(a,xt(xt({key:m},b),{},{size:E,x:F,y:x}),n.settings)},o=[];this.hoveredNode&&!this.nodeDataCache[this.hoveredNode].hidden&&o.push(this.hoveredNode),this.highlightedNodes.forEach(function(f){f!==n.hoveredNode&&o.push(f)}),o.forEach(function(f){return i(f)});var s={};o.forEach(function(f){var m=n.nodeDataCache[f].type;s[m]=(s[m]||0)+1});for(var l in this.nodeHoverPrograms)this.nodeHoverPrograms[l].reallocate(s[l]||0),s[l]=0;o.forEach(function(f){var m=n.nodeDataCache[f];n.nodeHoverPrograms[m.type].process(0,s[m.type]++,m)}),this.webGLContexts.hoverNodes.clear(this.webGLContexts.hoverNodes.COLOR_BUFFER_BIT);var u=this.getRenderParams();for(var d in this.nodeHoverPrograms){var h=this.nodeHoverPrograms[d];h.render(u)}}},{key:"scheduleHighlightedNodesRender",value:function(){var n=this;this.renderHighlightedNodesFrame||this.renderFrame||(this.renderHighlightedNodesFrame=requestAnimationFrame(function(){n.renderHighlightedNodesFrame=null,n.renderHighlightedNodes(),n.renderEdgeLabels()}))}},{key:"render",value:function(){var n=this;this.emit("beforeRender");var a=function(){return n.emit("afterRender"),n};if(this.renderFrame&&(cancelAnimationFrame(this.renderFrame),this.renderFrame=null),this.resize(),this.needToProcess&&this.process(),this.needToProcess=!1,this.clear(),this.pickingLayers.forEach(function(F){return n.resetWebGLTexture(F)}),!this.graph.order)return a();var i=this.mouseCaptor,o=this.camera.isAnimated()||i.isMoving||i.draggedEvents||i.currentWheelDirection,s=this.camera.getState(),l=this.getDimensions(),u=this.getGraphDimensions(),d=this.getStagePadding();this.matrix=kf(s,l,u,d),this.invMatrix=kf(s,l,u,d,!0),this.correctionRatio=xwe(this.matrix,s,l),this.graphToViewportRatio=this.getGraphToViewportRatio();var h=this.getRenderParams();for(var f in this.nodePrograms){var m=this.nodePrograms[f];m.render(h)}if(!this.settings.hideEdgesOnMove||!o)for(var b in this.edgePrograms){var y=this.edgePrograms[b];y.render(h)}return this.settings.hideLabelsOnMove&&o||(this.renderLabels(),this.renderEdgeLabels(),this.renderHighlightedNodes()),a()}},{key:"addNode",value:function(n){var a=Object.assign({},this.graph.getNodeAttributes(n));this.settings.nodeReducer&&(a=this.settings.nodeReducer(n,a));var i=qwe(this.settings,n,a);this.nodeDataCache[n]=i,this.nodesWithForcedLabels.delete(n),i.forceLabel&&!i.hidden&&this.nodesWithForcedLabels.add(n),this.highlightedNodes.delete(n),i.highlighted&&!i.hidden&&this.highlightedNodes.add(n),this.settings.zIndex&&(i.zIndex<this.nodeZExtent[0]&&(this.nodeZExtent[0]=i.zIndex),i.zIndex>this.nodeZExtent[1]&&(this.nodeZExtent[1]=i.zIndex))}},{key:"updateNode",value:function(n){this.addNode(n);var a=this.nodeDataCache[n];this.normalizationFunction.applyTo(a)}},{key:"removeNode",value:function(n){delete this.nodeDataCache[n],delete this.nodeProgramIndex[n],this.highlightedNodes.delete(n),this.hoveredNode===n&&(this.hoveredNode=null),this.nodesWithForcedLabels.delete(n)}},{key:"addEdge",value:function(n){var a=Object.assign({},this.graph.getEdgeAttributes(n));this.settings.edgeReducer&&(a=this.settings.edgeReducer(n,a));var i=Wwe(this.settings,n,a);this.edgeDataCache[n]=i,this.edgesWithForcedLabels.delete(n),i.forceLabel&&!i.hidden&&this.edgesWithForcedLabels.add(n),this.settings.zIndex&&(i.zIndex<this.edgeZExtent[0]&&(this.edgeZExtent[0]=i.zIndex),i.zIndex>this.edgeZExtent[1]&&(this.edgeZExtent[1]=i.zIndex))}},{key:"updateEdge",value:function(n){this.addEdge(n)}},{key:"removeEdge",value:function(n){delete this.edgeDataCache[n],delete this.edgeProgramIndex[n],this.hoveredEdge===n&&(this.hoveredEdge=null),this.edgesWithForcedLabels.delete(n)}},{key:"clearNodeIndices",value:function(){this.labelGrid=new ZO,this.nodeExtent={x:[0,1],y:[0,1]},this.nodeDataCache={},this.edgeProgramIndex={},this.nodesWithForcedLabels=new Set,this.nodeZExtent=[1/0,-1/0]}},{key:"clearEdgeIndices",value:function(){this.edgeDataCache={},this.edgeProgramIndex={},this.edgesWithForcedLabels=new Set,this.edgeZExtent=[1/0,-1/0]}},{key:"clearIndices",value:function(){this.clearEdgeIndices(),this.clearNodeIndices()}},{key:"clearNodeState",value:function(){this.displayedNodeLabels=new Set,this.highlightedNodes=new Set,this.hoveredNode=null}},{key:"clearEdgeState",value:function(){this.displayedEdgeLabels=new Set,this.highlightedNodes=new Set,this.hoveredEdge=null}},{key:"clearState",value:function(){this.clearEdgeState(),this.clearNodeState()}},{key:"addNodeToProgram",value:function(n,a,i){var o=this.nodeDataCache[n],s=this.nodePrograms[o.type];if(!s)throw new Error('Sigma: could not find a suitable program for node type "'.concat(o.type,'"!'));s.process(a,i,o),this.nodeProgramIndex[n]=i}},{key:"addEdgeToProgram",value:function(n,a,i){var o=this.edgeDataCache[n],s=this.edgePrograms[o.type];if(!s)throw new Error('Sigma: could not find a suitable program for edge type "'.concat(o.type,'"!'));var l=this.graph.extremities(n),u=this.nodeDataCache[l[0]],d=this.nodeDataCache[l[1]];s.process(a,i,u,d,o),this.edgeProgramIndex[n]=i}},{key:"getRenderParams",value:function(){return{matrix:this.matrix,invMatrix:this.invMatrix,width:this.width,height:this.height,pixelRatio:this.pixelRatio,zoomRatio:this.camera.ratio,cameraAngle:this.camera.angle,sizeRatio:1/this.scaleSize(),correctionRatio:this.correctionRatio,downSizingRatio:this.pickingDownSizingRatio,minEdgeThickness:this.settings.minEdgeThickness,antiAliasingFeather:this.settings.antiAliasingFeather}}},{key:"getStagePadding",value:function(){var n=this.settings,a=n.stagePadding,i=n.autoRescale;return i&&a||0}},{key:"createLayer",value:function(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.elements[n])throw new Error('Sigma: a layer named "'.concat(n,'" already exists'));var o=Cwe(a,{position:"absolute"},{class:"sigma-".concat(n)});return i.style&&Object.assign(o.style,i.style),this.elements[n]=o,"beforeLayer"in i&&i.beforeLayer?this.elements[i.beforeLayer].before(o):"afterLayer"in i&&i.afterLayer?this.elements[i.afterLayer].after(o):this.container.appendChild(o),o}},{key:"createCanvas",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.createLayer(n,"canvas",a)}},{key:"createCanvasContext",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.createCanvas(n,a),o={preserveDrawingBuffer:!1,antialias:!1};return this.canvasContexts[n]=i.getContext("2d",o),this}},{key:"createWebGLContext",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(a==null?void 0:a.canvas)||this.createCanvas(n,a);a.hidden&&i.remove();var o=xt({preserveDrawingBuffer:!1,antialias:!1},a),s;s=i.getContext("webgl2",o),s||(s=i.getContext("webgl",o)),s||(s=i.getContext("experimental-webgl",o));var l=s;if(this.webGLContexts[n]=l,l.blendFunc(l.ONE,l.ONE_MINUS_SRC_ALPHA),a.picking){this.pickingLayers.add(n);var u=l.createFramebuffer();if(!u)throw new Error("Sigma: cannot create a new frame buffer for layer ".concat(n));this.frameBuffers[n]=u}return l}},{key:"killLayer",value:function(n){var a=this.elements[n];if(!a)throw new Error("Sigma: cannot kill layer ".concat(n,", which does not exist"));if(this.webGLContexts[n]){var i,o=this.webGLContexts[n];(i=o.getExtension("WEBGL_lose_context"))===null||i===void 0||i.loseContext(),delete this.webGLContexts[n]}else this.canvasContexts[n]&&delete this.canvasContexts[n];return a.remove(),delete this.elements[n],this}},{key:"getCamera",value:function(){return this.camera}},{key:"setCamera",value:function(n){this.unbindCameraHandlers(),this.camera=n,this.bindCameraHandlers()}},{key:"getContainer",value:function(){return this.container}},{key:"getGraph",value:function(){return this.graph}},{key:"setGraph",value:function(n){n!==this.graph&&(this.hoveredNode&&!n.hasNode(this.hoveredNode)&&(this.hoveredNode=null),this.hoveredEdge&&!n.hasEdge(this.hoveredEdge)&&(this.hoveredEdge=null),this.unbindGraphHandlers(),this.checkEdgesEventsFrame!==null&&(cancelAnimationFrame(this.checkEdgesEventsFrame),this.checkEdgesEventsFrame=null),this.graph=n,this.bindGraphHandlers(),this.refresh())}},{key:"getMouseCaptor",value:function(){return this.mouseCaptor}},{key:"getTouchCaptor",value:function(){return this.touchCaptor}},{key:"getDimensions",value:function(){return{width:this.width,height:this.height}}},{key:"getGraphDimensions",value:function(){var n=this.customBBox||this.nodeExtent;return{width:n.x[1]-n.x[0]||1,height:n.y[1]-n.y[0]||1}}},{key:"getNodeDisplayData",value:function(n){var a=this.nodeDataCache[n];return a?Object.assign({},a):void 0}},{key:"getEdgeDisplayData",value:function(n){var a=this.edgeDataCache[n];return a?Object.assign({},a):void 0}},{key:"getNodeDisplayedLabels",value:function(){return new Set(this.displayedNodeLabels)}},{key:"getEdgeDisplayedLabels",value:function(){return new Set(this.displayedEdgeLabels)}},{key:"getSettings",value:function(){return xt({},this.settings)}},{key:"getSetting",value:function(n){return this.settings[n]}},{key:"setSetting",value:function(n,a){var i=xt({},this.settings);return this.settings[n]=a,jS(this.settings),this.handleSettingsUpdate(i),this.scheduleRefresh(),this}},{key:"updateSetting",value:function(n,a){return this.setSetting(n,a(this.settings[n])),this}},{key:"setSettings",value:function(n){var a=xt({},this.settings);return this.settings=xt(xt({},this.settings),n),jS(this.settings),this.handleSettingsUpdate(a),this.scheduleRefresh(),this}},{key:"resize",value:function(n){var a=this.width,i=this.height;if(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,this.pixelRatio=qO(),this.width===0)if(this.settings.allowInvalidContainer)this.width=1;else throw new Error("Sigma: Container has no width. You can set the allowInvalidContainer setting to true to stop seeing this error.");if(this.height===0)if(this.settings.allowInvalidContainer)this.height=1;else throw new Error("Sigma: Container has no height. You can set the allowInvalidContainer setting to true to stop seeing this error.");if(!n&&a===this.width&&i===this.height)return this;for(var o in this.elements){var s=this.elements[o];s.style.width=this.width+"px",s.style.height=this.height+"px"}for(var l in this.canvasContexts)this.elements[l].setAttribute("width",this.width*this.pixelRatio+"px"),this.elements[l].setAttribute("height",this.height*this.pixelRatio+"px"),this.pixelRatio!==1&&this.canvasContexts[l].scale(this.pixelRatio,this.pixelRatio);for(var u in this.webGLContexts){this.elements[u].setAttribute("width",this.width*this.pixelRatio+"px"),this.elements[u].setAttribute("height",this.height*this.pixelRatio+"px");var d=this.webGLContexts[u];if(d.viewport(0,0,this.width*this.pixelRatio,this.height*this.pixelRatio),this.pickingLayers.has(u)){var h=this.textures[u];h&&d.deleteTexture(h)}}return this.emit("resize"),this}},{key:"clear",value:function(){return this.emit("beforeClear"),this.webGLContexts.nodes.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.nodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.edges.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.edges.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.hoverNodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.canvasContexts.labels.clearRect(0,0,this.width,this.height),this.canvasContexts.hovers.clearRect(0,0,this.width,this.height),this.canvasContexts.edgeLabels.clearRect(0,0,this.width,this.height),this.emit("afterClear"),this}},{key:"refresh",value:function(n){var a=this,i=(n==null?void 0:n.skipIndexation)!==void 0?n==null?void 0:n.skipIndexation:!1,o=(n==null?void 0:n.schedule)!==void 0?n.schedule:!1,s=!n||!n.partialGraph;if(s)this.clearEdgeIndices(),this.clearNodeIndices(),this.graph.forEachNode(function(_){return a.addNode(_)}),this.graph.forEachEdge(function(_){return a.addEdge(_)});else{for(var l,u,d=((l=n.partialGraph)===null||l===void 0?void 0:l.nodes)||[],h=0,f=(d==null?void 0:d.length)||0;h<f;h++){var m=d[h];if(this.updateNode(m),i){var b=this.nodeProgramIndex[m];if(b===void 0)throw new Error('Sigma: node "'.concat(m,`" can't be repaint`));this.addNodeToProgram(m,this.nodeIndices[m],b)}}for(var y=(n==null||(u=n.partialGraph)===null||u===void 0?void 0:u.edges)||[],F=0,x=y.length;F<x;F++){var E=y[F];if(this.updateEdge(E),i){var C=this.edgeProgramIndex[E];if(C===void 0)throw new Error('Sigma: edge "'.concat(E,`" can't be repaint`));this.addEdgeToProgram(E,this.edgeIndices[E],C)}}}return(s||!i)&&(this.needToProcess=!0),o?this.scheduleRender():this.render(),this}},{key:"scheduleRender",value:function(){var n=this;return this.renderFrame||(this.renderFrame=requestAnimationFrame(function(){n.render()})),this}},{key:"scheduleRefresh",value:function(n){return this.refresh(xt(xt({},n),{},{schedule:!0}))}},{key:"getViewportZoomedState",value:function(n,a){var i=this.camera.getState(),o=i.ratio,s=i.angle,l=i.x,u=i.y,d=this.settings,h=d.minCameraRatio,f=d.maxCameraRatio;typeof f=="number"&&(a=Math.min(a,f)),typeof h=="number"&&(a=Math.max(a,h));var m=a/o,b={x:this.width/2,y:this.height/2},y=this.viewportToFramedGraph(n),F=this.viewportToFramedGraph(b);return{angle:s,x:(y.x-F.x)*(1-m)+l,y:(y.y-F.y)*(1-m)+u,ratio:a}}},{key:"viewRectangle",value:function(){var n=this.viewportToFramedGraph({x:0,y:0}),a=this.viewportToFramedGraph({x:this.width,y:0}),i=this.viewportToFramedGraph({x:0,y:this.height});return{x1:n.x,y1:n.y,x2:a.x,y2:a.y,height:a.y-i.y}}},{key:"framedGraphToViewport",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=!!a.cameraState||!!a.viewportDimensions||!!a.graphDimensions,o=a.matrix?a.matrix:i?kf(a.cameraState||this.camera.getState(),a.viewportDimensions||this.getDimensions(),a.graphDimensions||this.getGraphDimensions(),a.padding||this.getStagePadding()):this.matrix,s=J_(o,n);return{x:(1+s.x)*this.width/2,y:(1-s.y)*this.height/2}}},{key:"viewportToFramedGraph",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=!!a.cameraState||!!a.viewportDimensions||!a.graphDimensions,o=a.matrix?a.matrix:i?kf(a.cameraState||this.camera.getState(),a.viewportDimensions||this.getDimensions(),a.graphDimensions||this.getGraphDimensions(),a.padding||this.getStagePadding(),!0):this.invMatrix,s=J_(o,{x:n.x/this.width*2-1,y:1-n.y/this.height*2});return isNaN(s.x)&&(s.x=0),isNaN(s.y)&&(s.y=0),s}},{key:"viewportToGraph",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.normalizationFunction.inverse(this.viewportToFramedGraph(n,a))}},{key:"graphToViewport",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.framedGraphToViewport(this.normalizationFunction(n),a)}},{key:"getGraphToViewportRatio",value:function(){var n={x:0,y:0},a={x:1,y:1},i=Math.sqrt(Math.pow(n.x-a.x,2)+Math.pow(n.y-a.y,2)),o=this.graphToViewport(n),s=this.graphToViewport(a),l=Math.sqrt(Math.pow(o.x-s.x,2)+Math.pow(o.y-s.y,2));return l/i}},{key:"getBBox",value:function(){return this.nodeExtent}},{key:"getCustomBBox",value:function(){return this.customBBox}},{key:"setCustomBBox",value:function(n){return this.customBBox=n,this.scheduleRender(),this}},{key:"kill",value:function(){this.emit("kill"),this.removeAllListeners(),this.unbindCameraHandlers(),window.removeEventListener("resize",this.activeListeners.handleResize),this.mouseCaptor.kill(),this.touchCaptor.kill(),this.unbindGraphHandlers(),this.clearIndices(),this.clearState(),this.nodeDataCache={},this.edgeDataCache={},this.highlightedNodes.clear(),this.renderFrame&&(cancelAnimationFrame(this.renderFrame),this.renderFrame=null),this.renderHighlightedNodesFrame&&(cancelAnimationFrame(this.renderHighlightedNodesFrame),this.renderHighlightedNodesFrame=null);for(var n=this.container;n.firstChild;)n.removeChild(n.firstChild);this.canvasContexts={},this.webGLContexts={},this.elements={};for(var a in this.nodePrograms)this.nodePrograms[a].kill();for(var i in this.nodeHoverPrograms)this.nodeHoverPrograms[i].kill();for(var o in this.edgePrograms)this.edgePrograms[o].kill();this.nodePrograms={},this.nodeHoverPrograms={},this.edgePrograms={};for(var s in this.elements)this.killLayer(s)}},{key:"scaleSize",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.camera.ratio;return n/this.settings.zoomToSizeRatioFunction(a)*(this.getSetting("itemSizesReference")==="positions"?a*this.graphToViewportRatio:1)}},{key:"getCanvases",value:function(){var n={};for(var a in this.elements)this.elements[a]instanceof HTMLCanvasElement&&(n[a]=this.elements[a]);return n}}])}(i5);const TQ=T.createContext(null),Kwe=TQ.Provider;function s5(){const e=T.useContext(TQ);if(e==null)throw new Error("No context provided: useSigmaContext() can only be used in a descendant of <SigmaContainer>");return e}function Lo(){return s5().sigma}function AQ(){const{sigma:e}=s5();return T.useCallback(t=>{e&&Object.keys(t).forEach(r=>{e.setSetting(r,t[r])})},[e])}function Xv(e){return new Set(Object.keys(e))}const QO=Xv({clickNode:!0,rightClickNode:!0,downNode:!0,enterNode:!0,leaveNode:!0,doubleClickNode:!0,wheelNode:!0,clickEdge:!0,rightClickEdge:!0,downEdge:!0,enterEdge:!0,leaveEdge:!0,doubleClickEdge:!0,wheelEdge:!0,clickStage:!0,rightClickStage:!0,downStage:!0,doubleClickStage:!0,wheelStage:!0,beforeRender:!0,afterRender:!0,kill:!0,upStage:!0,upEdge:!0,upNode:!0,enterStage:!0,leaveStage:!0,resize:!0,afterClear:!0,afterProcess:!0,beforeClear:!0,beforeProcess:!0,moveBody:!0}),e7=Xv({click:!0,rightClick:!0,doubleClick:!0,mouseup:!0,mousedown:!0,mousemove:!0,mousemovebody:!0,mouseleave:!0,mouseenter:!0,wheel:!0}),t7=Xv({touchup:!0,touchdown:!0,touchmove:!0,touchmovebody:!0,tap:!0,doubletap:!0}),r7=Xv({updated:!0});function _Q(){const e=Lo(),t=AQ(),[r,n]=T.useState({});return T.useEffect(()=>{if(!e||!r)return;const a=r,i=Object.keys(a);return i.forEach(o=>{const s=a[o];QO.has(o)&&e.on(o,s),e7.has(o)&&e.getMouseCaptor().on(o,s),t7.has(o)&&e.getTouchCaptor().on(o,s),r7.has(o)&&e.getCamera().on(o,s)}),()=>{e&&i.forEach(o=>{const s=a[o];QO.has(o)&&e.off(o,s),e7.has(o)&&e.getMouseCaptor().off(o,s),t7.has(o)&&e.getTouchCaptor().off(o,s),r7.has(o)&&e.getCamera().off(o,s)})}},[e,r,t]),n}function b0(e,t){if(e===t)return!0;if(typeof e=="object"&&e!=null&&typeof t=="object"&&t!=null){if(Object.keys(e).length!=Object.keys(t).length)return!1;for(const r in e)if(!Object.hasOwn(t,r)||!b0(e[r],t[r]))return!1;return!0}return!1}function DQ(e){const t=Lo(),[r,n]=T.useState(e||{});T.useEffect(()=>{n(u=>b0(u,e||{})?u:e||{})},[e]);const a=T.useCallback(u=>{t.getCamera().animatedZoom(Object.assign(Object.assign({},r),u))},[t,r]),i=T.useCallback(u=>{t.getCamera().animatedUnzoom(Object.assign(Object.assign({},r),u))},[t,r]),o=T.useCallback(u=>{t.getCamera().animatedReset(Object.assign(Object.assign({},r),u))},[t,r]),s=T.useCallback((u,d)=>{t.getCamera().animate(u,Object.assign(Object.assign({},r),d))},[t,r]),l=T.useCallback((u,d)=>{const h=t.getNodeDisplayData(u);h?t.getCamera().animate(h,Object.assign(Object.assign({},r),d)):console.warn(`Node ${u} not found`)},[t,r]);return{zoomIn:a,zoomOut:i,reset:o,goto:s,gotoNode:l}}function Ywe(e){const t=s5(),[r,n]=T.useState(!1),[a,i]=T.useState(t.container),o=T.useCallback(()=>n(s=>!s),[]);return T.useEffect(()=>(document.addEventListener("fullscreenchange",o),()=>document.removeEventListener("fullscreenchange",o)),[o]),T.useEffect(()=>{i(t.container)},[e,t.container]),{toggle:T.useCallback(()=>{var s;s=a,document.fullscreenElement!==s?s.requestFullscreen():document.exitFullscreen&&document.exitFullscreen()},[a]),isFullScreen:r}}const Xwe=T.forwardRef(({graph:e,id:t,className:r,style:n,settings:a={},children:i},o)=>{const s=T.useRef(null),l=T.useRef(null),u={className:`react-sigma ${r||""}`,id:t,style:n},[d,h]=T.useState(null),[f,m]=T.useState(a);T.useEffect(()=>{m(F=>b0(F,a)?F:a)},[a]),T.useEffect(()=>{h(F=>{let x=null;if(l.current!==null){let E=new qr;e&&(E=typeof e=="function"?new e:e);let C=null;F&&(C=F.getCamera().getState(),F.kill()),x=new Vwe(E,l.current,f),C&&x.getCamera().setState(C)}return x})},[l,e,f]),T.useImperativeHandle(o,()=>d,[d]);const b=T.useMemo(()=>d&&s.current?{sigma:d,container:s.current}:null,[d,s]),y=b!==null?Ge.createElement(Kwe,{value:b},i):null;return Ge.createElement("div",Object.assign({},u,{ref:s}),Ge.createElement("div",{className:"sigma-container",ref:l}),y)});var Jwe=`
|
||
precision mediump float;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_border;
|
||
|
||
const float radius = 0.5;
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
vec2 m = gl_PointCoord - vec2(0.5, 0.5);
|
||
float dist = radius - length(m);
|
||
|
||
// No antialiasing for picking mode:
|
||
#ifdef PICKING_MODE
|
||
if (dist > v_border)
|
||
gl_FragColor = v_color;
|
||
else
|
||
gl_FragColor = transparent;
|
||
|
||
#else
|
||
float t = 0.0;
|
||
if (dist > v_border)
|
||
t = 1.0;
|
||
else if (dist > 0.0)
|
||
t = dist / v_border;
|
||
|
||
gl_FragColor = mix(transparent, v_color, t);
|
||
#endif
|
||
}
|
||
`,Zwe=Jwe,Qwe=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_position;
|
||
attribute float a_size;
|
||
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform mat3 u_matrix;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_border;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
gl_Position = vec4(
|
||
(u_matrix * vec3(a_position, 1)).xy,
|
||
0,
|
||
1
|
||
);
|
||
|
||
// Multiply the point size twice:
|
||
// - x SCALING_RATIO to correct the canvas scaling
|
||
// - x 2 to correct the formulae
|
||
gl_PointSize = a_size / u_sizeRatio * u_pixelRatio * 2.0;
|
||
|
||
v_border = (0.5 / a_size) * u_sizeRatio;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,eke=Qwe,RQ=WebGLRenderingContext,n7=RQ.UNSIGNED_BYTE,a7=RQ.FLOAT,tke=["u_sizeRatio","u_pixelRatio","u_matrix"],rke=function(e){function t(){return ra(this,t),oi(this,t,arguments)}return si(t,e),na(t,[{key:"getDefinition",value:function(){return{VERTICES:1,VERTEX_SHADER_SOURCE:eke,FRAGMENT_SHADER_SOURCE:Zwe,METHOD:WebGLRenderingContext.POINTS,UNIFORMS:tke,ATTRIBUTES:[{name:"a_position",size:2,type:a7},{name:"a_size",size:1,type:a7},{name:"a_color",size:4,type:n7,normalized:!0},{name:"a_id",size:4,type:n7,normalized:!0}]}}},{key:"processVisibleItem",value:function(n,a,i){var o=this.array;o[a++]=i.x,o[a++]=i.y,o[a++]=i.size,o[a++]=ps(i.color),o[a++]=n}},{key:"setUniforms",value:function(n,a){var i=n.sizeRatio,o=n.pixelRatio,s=n.matrix,l=a.gl,u=a.uniformLocations,d=u.u_sizeRatio,h=u.u_pixelRatio,f=u.u_matrix;l.uniform1f(h,o),l.uniform1f(d,i),l.uniformMatrix3fv(f,!1,s)}}])}(n5),nke=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute vec2 a_normal;
|
||
attribute float a_normalCoef;
|
||
attribute vec2 a_positionStart;
|
||
attribute vec2 a_positionEnd;
|
||
attribute float a_positionCoef;
|
||
attribute float a_sourceRadius;
|
||
attribute float a_targetRadius;
|
||
attribute float a_sourceRadiusCoef;
|
||
attribute float a_targetRadiusCoef;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_zoomRatio;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform float u_correctionRatio;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying vec2 v_normal;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
vec2 normal = a_normal * a_normalCoef;
|
||
vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;
|
||
|
||
float normalLength = length(normal);
|
||
vec2 unitNormal = normal / normalLength;
|
||
|
||
// These first computations are taken from edge.vert.glsl. Please read it to
|
||
// get better comments on what's happening:
|
||
float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);
|
||
float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;
|
||
|
||
// Here, we move the point to leave space for the arrow heads:
|
||
// Source arrow head
|
||
float sourceRadius = a_sourceRadius * a_sourceRadiusCoef;
|
||
float sourceDirection = sign(sourceRadius);
|
||
float webGLSourceRadius = sourceDirection * sourceRadius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLSourceArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
vec2 sourceCompensationVector =
|
||
vec2(-sourceDirection * unitNormal.y, sourceDirection * unitNormal.x)
|
||
* (webGLSourceRadius + webGLSourceArrowHeadLength);
|
||
|
||
// Target arrow head
|
||
float targetRadius = a_targetRadius * a_targetRadiusCoef;
|
||
float targetDirection = sign(targetRadius);
|
||
float webGLTargetRadius = targetDirection * targetRadius * 2.0 * u_correctionRatio / u_sizeRatio;
|
||
float webGLTargetArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;
|
||
vec2 targetCompensationVector =
|
||
vec2(-targetDirection * unitNormal.y, targetDirection * unitNormal.x)
|
||
* (webGLTargetRadius + webGLTargetArrowHeadLength);
|
||
|
||
// Here is the proper position of the vertex
|
||
gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness + sourceCompensationVector + targetCompensationVector, 1)).xy, 0, 1);
|
||
|
||
v_thickness = webGLThickness / u_zoomRatio;
|
||
|
||
v_normal = unitNormal;
|
||
|
||
v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`,ake=nke,NQ=WebGLRenderingContext,i7=NQ.UNSIGNED_BYTE,Bs=NQ.FLOAT,ike=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness","u_lengthToThicknessRatio"],oke={lengthToThicknessRatio:g0.lengthToThicknessRatio};function LQ(e){var t=xt(xt({},oke),{});return function(r){function n(){return ra(this,n),oi(this,n,arguments)}return si(n,r),na(n,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:ake,FRAGMENT_SHADER_SOURCE:a5,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:ike,ATTRIBUTES:[{name:"a_positionStart",size:2,type:Bs},{name:"a_positionEnd",size:2,type:Bs},{name:"a_normal",size:2,type:Bs},{name:"a_color",size:4,type:i7,normalized:!0},{name:"a_id",size:4,type:i7,normalized:!0},{name:"a_sourceRadius",size:1,type:Bs},{name:"a_targetRadius",size:1,type:Bs}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:Bs},{name:"a_normalCoef",size:1,type:Bs},{name:"a_sourceRadiusCoef",size:1,type:Bs},{name:"a_targetRadiusCoef",size:1,type:Bs}],CONSTANT_DATA:[[0,1,-1,0],[0,-1,1,0],[1,1,0,1],[1,1,0,1],[0,-1,1,0],[1,-1,0,-1]]}}},{key:"processVisibleItem",value:function(i,o,s,l,u){var d=u.size||1,h=s.x,f=s.y,m=l.x,b=l.y,y=ps(u.color),F=m-h,x=b-f,E=s.size||1,C=l.size||1,_=F*F+x*x,D=0,w=0;_&&(_=1/Math.sqrt(_),D=-x*_*d,w=F*_*d);var A=this.array;A[o++]=h,A[o++]=f,A[o++]=m,A[o++]=b,A[o++]=D,A[o++]=w,A[o++]=y,A[o++]=i,A[o++]=E,A[o++]=C}},{key:"setUniforms",value:function(i,o){var s=o.gl,l=o.uniformLocations,u=l.u_matrix,d=l.u_zoomRatio,h=l.u_feather,f=l.u_pixelRatio,m=l.u_correctionRatio,b=l.u_sizeRatio,y=l.u_minEdgeThickness,F=l.u_lengthToThicknessRatio;s.uniformMatrix3fv(u,!1,i.matrix),s.uniform1f(d,i.zoomRatio),s.uniform1f(b,i.sizeRatio),s.uniform1f(m,i.correctionRatio),s.uniform1f(f,i.pixelRatio),s.uniform1f(h,i.antiAliasingFeather),s.uniform1f(y,i.minEdgeThickness),s.uniform1f(F,t.lengthToThicknessRatio)}}])}(f0)}LQ();function ske(e){return fQ([LQ(),ny(e),ny(xt(xt({},e),{},{extremity:"source"}))])}ske();function lke(e){if(Array.isArray(e))return e}function uke(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(d){u=!0,a=d}finally{try{if(!l&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function Q_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function MQ(e,t){if(e){if(typeof e=="string")return Q_(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q_(e,t):void 0}}function cke(){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 dke(e,t){return lke(e)||uke(e,t)||MQ(e,t)||cke()}function hke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pke(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IQ(e){var t=pke(e,"string");return typeof t=="symbol"?t:t+""}function fke(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,IQ(n.key),n)}}function mke(e,t,r){return t&&fke(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ay(e)}function OQ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(OQ=function(){return!!e})()}function eD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gke(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 eD(e)}function bke(e,t,r){return t=ay(t),gke(e,OQ()?Reflect.construct(t,r||[],ay(e).constructor):t.apply(e,r))}function tD(e,t){return tD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},tD(e,t)}function yke(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&&tD(e,t)}function Yd(e,t,r){return(t=IQ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vke(e){if(Array.isArray(e))return Q_(e)}function Fke(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Eke(){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 WS(e){return vke(e)||Fke(e)||MQ(e)||Eke()}function o7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function s7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?o7(Object(r),!0).forEach(function(n){Yd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Ske="relative",xke={drawLabel:void 0,drawHover:void 0,borders:[{size:{value:.1},color:{attribute:"borderColor"}},{size:{fill:!0},color:{attribute:"color"}}]},wke="#000000";function kke(e){var t=e.borders,r=OO(t.filter(function(a){var i=a.size;return"fill"in i}).length),n=`
|
||
precision highp float;
|
||
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
|
||
#ifdef PICKING_MODE
|
||
varying vec4 v_color;
|
||
#else
|
||
// For normal mode, we use the border colors defined in the program:
|
||
`.concat(t.flatMap(function(a,i){var o=a.size;return"attribute"in o?["varying float v_borderSize_".concat(i+1,";")]:[]}).join(`
|
||
`),`
|
||
`).concat(t.flatMap(function(a,i){var o=a.color;return"attribute"in o?["varying vec4 v_borderColor_".concat(i+1,";")]:"value"in o?["uniform vec4 u_borderColor_".concat(i+1,";")]:[]}).join(`
|
||
`),`
|
||
#endif
|
||
|
||
uniform float u_correctionRatio;
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
float dist = length(v_diffVector);
|
||
float aaBorder = 2.0 * u_correctionRatio;
|
||
float v_borderSize_0 = v_radius;
|
||
vec4 v_borderColor_0 = transparent;
|
||
|
||
// No antialiasing for picking mode:
|
||
#ifdef PICKING_MODE
|
||
if (dist > v_radius)
|
||
gl_FragColor = transparent;
|
||
else {
|
||
gl_FragColor = v_color;
|
||
gl_FragColor.a *= bias;
|
||
}
|
||
#else
|
||
// Sizes:
|
||
`).concat(t.flatMap(function(a,i){var o=a.size;if("fill"in o)return[];o=o;var s="attribute"in o?"v_borderSize_".concat(i+1):OO(o.value),l=(o.mode||Ske)==="pixels"?"u_correctionRatio":"v_radius";return[" float borderSize_".concat(i+1," = ").concat(l," * ").concat(s,";")]}).join(`
|
||
`),`
|
||
// Now, let's split the remaining space between "fill" borders:
|
||
float fillBorderSize = (v_radius - (`).concat(t.flatMap(function(a,i){var o=a.size;return"fill"in o?[]:["borderSize_".concat(i+1)]}).join(" + "),") ) / ").concat(r,`;
|
||
`).concat(t.flatMap(function(a,i){var o=a.size;return"fill"in o?[" float borderSize_".concat(i+1," = fillBorderSize;")]:[]}).join(`
|
||
`),`
|
||
|
||
// Finally, normalize all border sizes, to start from the full size and to end with the smallest:
|
||
float adjustedBorderSize_0 = v_radius;
|
||
`).concat(t.map(function(a,i){return" float adjustedBorderSize_".concat(i+1," = adjustedBorderSize_").concat(i," - borderSize_").concat(i+1,";")}).join(`
|
||
`),`
|
||
|
||
// Colors:
|
||
vec4 borderColor_0 = transparent;
|
||
`).concat(t.map(function(a,i){var o=a.color,s=[];return"attribute"in o?s.push(" vec4 borderColor_".concat(i+1," = v_borderColor_").concat(i+1,";")):"transparent"in o?s.push(" vec4 borderColor_".concat(i+1," = vec4(0.0, 0.0, 0.0, 0.0);")):s.push(" vec4 borderColor_".concat(i+1," = u_borderColor_").concat(i+1,";")),s.push(" borderColor_".concat(i+1,".a *= bias;")),s.push(" if (borderSize_".concat(i+1," <= 1.0 * u_correctionRatio) { borderColor_").concat(i+1," = borderColor_").concat(i,"; }")),s.join(`
|
||
`)}).join(`
|
||
`),`
|
||
if (dist > adjustedBorderSize_0) {
|
||
gl_FragColor = borderColor_0;
|
||
} else `).concat(t.map(function(a,i){return"if (dist > adjustedBorderSize_".concat(i,` - aaBorder) {
|
||
gl_FragColor = mix(borderColor_`).concat(i+1,", borderColor_").concat(i,", (dist - adjustedBorderSize_").concat(i,` + aaBorder) / aaBorder);
|
||
} else if (dist > adjustedBorderSize_`).concat(i+1,`) {
|
||
gl_FragColor = borderColor_`).concat(i+1,`;
|
||
} else `)}).join(""),` { /* Nothing to add here */ }
|
||
#endif
|
||
}
|
||
`);return n}function Cke(e){var t=e.borders,r=`
|
||
attribute vec2 a_position;
|
||
attribute float a_size;
|
||
attribute float a_angle;
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_correctionRatio;
|
||
|
||
varying vec2 v_diffVector;
|
||
varying float v_radius;
|
||
|
||
#ifdef PICKING_MODE
|
||
attribute vec4 a_id;
|
||
varying vec4 v_color;
|
||
#else
|
||
`.concat(t.flatMap(function(n,a){var i=n.size;return"attribute"in i?["attribute float a_borderSize_".concat(a+1,";"),"varying float v_borderSize_".concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
`).concat(t.flatMap(function(n,a){var i=n.color;return"attribute"in i?["attribute vec4 a_borderColor_".concat(a+1,";"),"varying vec4 v_borderColor_".concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
#endif
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main() {
|
||
float size = a_size * u_correctionRatio / u_sizeRatio * 4.0;
|
||
vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle));
|
||
vec2 position = a_position + diffVector;
|
||
gl_Position = vec4(
|
||
(u_matrix * vec3(position, 1)).xy,
|
||
0,
|
||
1
|
||
);
|
||
|
||
v_radius = size / 2.0;
|
||
v_diffVector = diffVector;
|
||
|
||
#ifdef PICKING_MODE
|
||
v_color = a_id;
|
||
#else
|
||
`).concat(t.flatMap(function(n,a){var i=n.size;return"attribute"in i?[" v_borderSize_".concat(a+1," = a_borderSize_").concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
`).concat(t.flatMap(function(n,a){var i=n.color;return"attribute"in i?[" v_borderColor_".concat(a+1," = a_borderColor_").concat(a+1,";")]:[]}).join(`
|
||
`),`
|
||
#endif
|
||
}
|
||
`);return r}var BQ=WebGLRenderingContext,l7=BQ.UNSIGNED_BYTE,k1=BQ.FLOAT;function Tke(e){var t,r=s7(s7({},xke),{}),n=r.borders,a=r.drawLabel,i=r.drawHover,o=["u_sizeRatio","u_correctionRatio","u_matrix"].concat(WS(n.flatMap(function(s,l){var u=s.color;return"value"in u?["u_borderColor_".concat(l+1)]:[]})));return t=function(s){yke(l,s);function l(){var u;hke(this,l);for(var d=arguments.length,h=new Array(d),f=0;f<d;f++)h[f]=arguments[f];return u=bke(this,l,[].concat(h)),Yd(eD(u),"drawLabel",a),Yd(eD(u),"drawHover",i),u}return mke(l,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:Cke(r),FRAGMENT_SHADER_SOURCE:kke(r),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:o,ATTRIBUTES:[{name:"a_position",size:2,type:k1},{name:"a_id",size:4,type:l7,normalized:!0},{name:"a_size",size:1,type:k1}].concat(WS(n.flatMap(function(d,h){var f=d.color;return"attribute"in f?[{name:"a_borderColor_".concat(h+1),size:4,type:l7,normalized:!0}]:[]})),WS(n.flatMap(function(d,h){var f=d.size;return"attribute"in f?[{name:"a_borderSize_".concat(h+1),size:1,type:k1}]:[]}))),CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:k1}],CONSTANT_DATA:[[l.ANGLE_1],[l.ANGLE_2],[l.ANGLE_3]]}}},{key:"processVisibleItem",value:function(d,h,f){var m=this.array;m[h++]=f.x,m[h++]=f.y,m[h++]=d,m[h++]=f.size,n.forEach(function(b){var y=b.color;"attribute"in y&&(m[h++]=ps(f[y.attribute]||y.defaultValue||wke))}),n.forEach(function(b){var y=b.size;"attribute"in y&&(m[h++]=f[y.attribute]||y.defaultValue)})}},{key:"setUniforms",value:function(d,h){var f=h.gl,m=h.uniformLocations,b=m.u_sizeRatio,y=m.u_correctionRatio,F=m.u_matrix;f.uniform1f(y,d.correctionRatio),f.uniform1f(b,d.sizeRatio),f.uniformMatrix3fv(F,!1,d.matrix),n.forEach(function(x,E){var C=x.color;if("value"in C){var _=m["u_borderColor_".concat(E+1)],D=Bxe(C.value),w=dke(D,4),A=w[0],I=w[1],M=w[2],L=w[3];f.uniform4f(_,A/255,I/255,M/255,L/255)}})}}]),l}(n5),Yd(t,"ANGLE_1",0),Yd(t,"ANGLE_2",2*Math.PI/3),Yd(t,"ANGLE_3",4*Math.PI/3),t}var Ake=Tke();function _ke(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function PQ(e){var t=_ke(e,"string");return typeof t=="symbol"?t:t+""}function zQ(e,t,r){return(t=PQ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function iy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?u7(Object(r),!0).forEach(function(n){zQ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Dke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rke(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,PQ(n.key),n)}}function Nke(e,t,r){return t&&Rke(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},oy(e)}function HQ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(HQ=function(){return!!e})()}function UQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lke(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 UQ(e)}function Mke(e,t,r){return t=oy(t),Lke(e,HQ()?Reflect.construct(t,r||[],oy(e).constructor):t.apply(e,r))}function rD(e,t){return rD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},rD(e,t)}function Ike(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&&rD(e,t)}function nD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Oke(e){if(Array.isArray(e))return nD(e)}function Bke(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pke(e,t){if(e){if(typeof e=="string")return nD(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nD(e,t):void 0}}function zke(){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 VS(e){return Oke(e)||Bke(e)||Pke(e)||zke()}function GQ(e,t,r,n){var a=Math.pow(1-e,2)*t.x+2*(1-e)*e*r.x+Math.pow(e,2)*n.x,i=Math.pow(1-e,2)*t.y+2*(1-e)*e*r.y+Math.pow(e,2)*n.y;return{x:a,y:i}}function Hke(e,t,r){for(var n=20,a=0,i=e,o=0;o<n;o++){var s=GQ((o+1)/n,e,t,r);a+=Math.sqrt(Math.pow(i.x-s.x,2)+Math.pow(i.y-s.y,2)),i=s}return a}function Uke(e){var t=e.curvatureAttribute,r=e.defaultCurvature,n=e.keepLabelUpright,a=n===void 0?!0:n;return function(i,o,s,l,u){var d=u.edgeLabelSize,h=o[t]||r,f=u.edgeLabelFont,m=u.edgeLabelWeight,b=u.edgeLabelColor.attribute?o[u.edgeLabelColor.attribute]||u.edgeLabelColor.color||"#000":u.edgeLabelColor.color,y=o.label;if(y){i.fillStyle=b,i.font="".concat(m," ").concat(d,"px ").concat(f);var F=!a||s.x<l.x,x=F?s.x:l.x,E=F?s.y:l.y,C=F?l.x:s.x,_=F?l.y:s.y,D=(x+C)/2,w=(E+_)/2,A=C-x,I=_-E,M=Math.sqrt(Math.pow(A,2)+Math.pow(I,2)),L=F?1:-1,U=D+I*h*L,j=w-A*h*L,z=o.size*.7+5,V={x:j-E,y:-(U-x)},X=Math.sqrt(Math.pow(V.x,2)+Math.pow(V.y,2)),q={x:_-j,y:-(C-U)},W=Math.sqrt(Math.pow(q.x,2)+Math.pow(q.y,2));x+=z*V.x/X,E+=z*V.y/X,C+=z*q.x/W,_+=z*q.y/W,U+=z*I/M,j-=z*A/M;var B={x:U,y:j},te={x,y:E},P={x:C,y:_},Z=Hke(te,B,P);if(!(Z<s.size+l.size)){var K=i.measureText(y).width,G=Z-s.size-l.size;if(K>G){var ne="…";for(y=y+ne,K=i.measureText(y).width;K>G&&y.length>1;)y=y.slice(0,-2)+ne,K=i.measureText(y).width;if(y.length<4)return}for(var oe={},de=0,ie=y.length;de<ie;de++){var ue=y[de];oe[ue]||(oe[ue]=i.measureText(ue).width*(1+h*.35))}for(var Ne=.5-K/Z/2,pe=0,Le=y.length;pe<Le;pe++){var Me=y[pe],Ee=GQ(Ne,te,B,P),Te=2*(1-Ne)*(U-x)+2*Ne*(C-U),Re=2*(1-Ne)*(j-E)+2*Ne*(_-j),fe=Math.atan2(Re,Te);i.save(),i.translate(Ee.x,Ee.y),i.rotate(fe),i.fillText(Me,0,0),i.restore(),Ne+=oe[Me]/Z}}}}}function Gke(e){var t=e.arrowHead,r=(t==null?void 0:t.extremity)==="target"||(t==null?void 0:t.extremity)==="both",n=(t==null?void 0:t.extremity)==="source"||(t==null?void 0:t.extremity)==="both",a=`
|
||
precision highp float;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
varying vec2 v_cpA;
|
||
varying vec2 v_cpB;
|
||
varying vec2 v_cpC;
|
||
`.concat(r?`
|
||
varying float v_targetSize;
|
||
varying vec2 v_targetPoint;`:"",`
|
||
`).concat(n?`
|
||
varying float v_sourceSize;
|
||
varying vec2 v_sourcePoint;`:"",`
|
||
`).concat(t?`
|
||
uniform float u_lengthToThicknessRatio;
|
||
uniform float u_widenessToThicknessRatio;`:"",`
|
||
|
||
float det(vec2 a, vec2 b) {
|
||
return a.x * b.y - b.x * a.y;
|
||
}
|
||
|
||
vec2 getDistanceVector(vec2 b0, vec2 b1, vec2 b2) {
|
||
float a = det(b0, b2), b = 2.0 * det(b1, b0), d = 2.0 * det(b2, b1);
|
||
float f = b * d - a * a;
|
||
vec2 d21 = b2 - b1, d10 = b1 - b0, d20 = b2 - b0;
|
||
vec2 gf = 2.0 * (b * d21 + d * d10 + a * d20);
|
||
gf = vec2(gf.y, -gf.x);
|
||
vec2 pp = -f * gf / dot(gf, gf);
|
||
vec2 d0p = b0 - pp;
|
||
float ap = det(d0p, d20), bp = 2.0 * det(d10, d0p);
|
||
float t = clamp((ap + bp) / (2.0 * a + b + d), 0.0, 1.0);
|
||
return mix(mix(b0, b1, t), mix(b1, b2, t), t);
|
||
}
|
||
|
||
float distToQuadraticBezierCurve(vec2 p, vec2 b0, vec2 b1, vec2 b2) {
|
||
return length(getDistanceVector(b0 - p, b1 - p, b2 - p));
|
||
}
|
||
|
||
const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);
|
||
|
||
void main(void) {
|
||
float dist = distToQuadraticBezierCurve(gl_FragCoord.xy, v_cpA, v_cpB, v_cpC);
|
||
float thickness = v_thickness;
|
||
`).concat(r?`
|
||
float distToTarget = length(gl_FragCoord.xy - v_targetPoint);
|
||
float targetArrowLength = v_targetSize + thickness * u_lengthToThicknessRatio;
|
||
if (distToTarget < targetArrowLength) {
|
||
thickness = (distToTarget - v_targetSize) / (targetArrowLength - v_targetSize) * u_widenessToThicknessRatio * thickness;
|
||
}`:"",`
|
||
`).concat(n?`
|
||
float distToSource = length(gl_FragCoord.xy - v_sourcePoint);
|
||
float sourceArrowLength = v_sourceSize + thickness * u_lengthToThicknessRatio;
|
||
if (distToSource < sourceArrowLength) {
|
||
thickness = (distToSource - v_sourceSize) / (sourceArrowLength - v_sourceSize) * u_widenessToThicknessRatio * thickness;
|
||
}`:"",`
|
||
|
||
float halfThickness = thickness / 2.0;
|
||
if (dist < halfThickness) {
|
||
#ifdef PICKING_MODE
|
||
gl_FragColor = v_color;
|
||
#else
|
||
float t = smoothstep(
|
||
halfThickness - v_feather,
|
||
halfThickness,
|
||
dist
|
||
);
|
||
|
||
gl_FragColor = mix(v_color, transparent, t);
|
||
#endif
|
||
} else {
|
||
gl_FragColor = transparent;
|
||
}
|
||
}
|
||
`);return a}function $ke(e){var t=e.arrowHead,r=(t==null?void 0:t.extremity)==="target"||(t==null?void 0:t.extremity)==="both",n=(t==null?void 0:t.extremity)==="source"||(t==null?void 0:t.extremity)==="both",a=`
|
||
attribute vec4 a_id;
|
||
attribute vec4 a_color;
|
||
attribute float a_direction;
|
||
attribute float a_thickness;
|
||
attribute vec2 a_source;
|
||
attribute vec2 a_target;
|
||
attribute float a_current;
|
||
attribute float a_curvature;
|
||
`.concat(r?`attribute float a_targetSize;
|
||
`:"",`
|
||
`).concat(n?`attribute float a_sourceSize;
|
||
`:"",`
|
||
|
||
uniform mat3 u_matrix;
|
||
uniform float u_sizeRatio;
|
||
uniform float u_pixelRatio;
|
||
uniform vec2 u_dimensions;
|
||
uniform float u_minEdgeThickness;
|
||
uniform float u_feather;
|
||
|
||
varying vec4 v_color;
|
||
varying float v_thickness;
|
||
varying float v_feather;
|
||
varying vec2 v_cpA;
|
||
varying vec2 v_cpB;
|
||
varying vec2 v_cpC;
|
||
`).concat(r?`
|
||
varying float v_targetSize;
|
||
varying vec2 v_targetPoint;`:"",`
|
||
`).concat(n?`
|
||
varying float v_sourceSize;
|
||
varying vec2 v_sourcePoint;`:"",`
|
||
`).concat(t?`
|
||
uniform float u_widenessToThicknessRatio;`:"",`
|
||
|
||
const float bias = 255.0 / 254.0;
|
||
const float epsilon = 0.7;
|
||
|
||
vec2 clipspaceToViewport(vec2 pos, vec2 dimensions) {
|
||
return vec2(
|
||
(pos.x + 1.0) * dimensions.x / 2.0,
|
||
(pos.y + 1.0) * dimensions.y / 2.0
|
||
);
|
||
}
|
||
|
||
vec2 viewportToClipspace(vec2 pos, vec2 dimensions) {
|
||
return vec2(
|
||
pos.x / dimensions.x * 2.0 - 1.0,
|
||
pos.y / dimensions.y * 2.0 - 1.0
|
||
);
|
||
}
|
||
|
||
void main() {
|
||
float minThickness = u_minEdgeThickness;
|
||
|
||
// Selecting the correct position
|
||
// Branchless "position = a_source if a_current == 1.0 else a_target"
|
||
vec2 position = a_source * max(0.0, a_current) + a_target * max(0.0, 1.0 - a_current);
|
||
position = (u_matrix * vec3(position, 1)).xy;
|
||
|
||
vec2 source = (u_matrix * vec3(a_source, 1)).xy;
|
||
vec2 target = (u_matrix * vec3(a_target, 1)).xy;
|
||
|
||
vec2 viewportPosition = clipspaceToViewport(position, u_dimensions);
|
||
vec2 viewportSource = clipspaceToViewport(source, u_dimensions);
|
||
vec2 viewportTarget = clipspaceToViewport(target, u_dimensions);
|
||
|
||
vec2 delta = viewportTarget.xy - viewportSource.xy;
|
||
float len = length(delta);
|
||
vec2 normal = vec2(-delta.y, delta.x) * a_direction;
|
||
vec2 unitNormal = normal / len;
|
||
float boundingBoxThickness = len * a_curvature;
|
||
|
||
float curveThickness = max(minThickness, a_thickness / u_sizeRatio);
|
||
v_thickness = curveThickness * u_pixelRatio;
|
||
v_feather = u_feather;
|
||
|
||
v_cpA = viewportSource;
|
||
v_cpB = 0.5 * (viewportSource + viewportTarget) + unitNormal * a_direction * boundingBoxThickness;
|
||
v_cpC = viewportTarget;
|
||
|
||
vec2 viewportOffsetPosition = (
|
||
viewportPosition +
|
||
unitNormal * (boundingBoxThickness / 2.0 + sign(boundingBoxThickness) * (`).concat(t?"curveThickness * u_widenessToThicknessRatio":"curveThickness",` + epsilon)) *
|
||
max(0.0, a_direction) // NOTE: cutting the bounding box in half to avoid overdraw
|
||
);
|
||
|
||
position = viewportToClipspace(viewportOffsetPosition, u_dimensions);
|
||
gl_Position = vec4(position, 0, 1);
|
||
|
||
`).concat(r?`
|
||
v_targetSize = a_targetSize * u_pixelRatio / u_sizeRatio;
|
||
v_targetPoint = viewportTarget;
|
||
`:"",`
|
||
`).concat(n?`
|
||
v_sourceSize = a_sourceSize * u_pixelRatio / u_sizeRatio;
|
||
v_sourcePoint = viewportSource;
|
||
`:"",`
|
||
|
||
#ifdef PICKING_MODE
|
||
// For picking mode, we use the ID as the color:
|
||
v_color = a_id;
|
||
#else
|
||
// For normal mode, we use the color:
|
||
v_color = a_color;
|
||
#endif
|
||
|
||
v_color.a *= bias;
|
||
}
|
||
`);return a}var $Q=.25,jke={arrowHead:null,curvatureAttribute:"curvature",defaultCurvature:$Q},jQ=WebGLRenderingContext,c7=jQ.UNSIGNED_BYTE,Kl=jQ.FLOAT;function Jv(e){var t=iy(iy({},jke),e||{}),r=t,n=r.arrowHead,a=r.curvatureAttribute,i=r.drawLabel,o=(n==null?void 0:n.extremity)==="target"||(n==null?void 0:n.extremity)==="both",s=(n==null?void 0:n.extremity)==="source"||(n==null?void 0:n.extremity)==="both",l=["u_matrix","u_sizeRatio","u_dimensions","u_pixelRatio","u_feather","u_minEdgeThickness"].concat(VS(n?["u_lengthToThicknessRatio","u_widenessToThicknessRatio"]:[]));return function(u){Ike(d,u);function d(){var h;Dke(this,d);for(var f=arguments.length,m=new Array(f),b=0;b<f;b++)m[b]=arguments[b];return h=Mke(this,d,[].concat(m)),zQ(UQ(h),"drawLabel",i||Uke(t)),h}return Nke(d,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:$ke(t),FRAGMENT_SHADER_SOURCE:Gke(t),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:l,ATTRIBUTES:[{name:"a_source",size:2,type:Kl},{name:"a_target",size:2,type:Kl}].concat(VS(o?[{name:"a_targetSize",size:1,type:Kl}]:[]),VS(s?[{name:"a_sourceSize",size:1,type:Kl}]:[]),[{name:"a_thickness",size:1,type:Kl},{name:"a_curvature",size:1,type:Kl},{name:"a_color",size:4,type:c7,normalized:!0},{name:"a_id",size:4,type:c7,normalized:!0}]),CONSTANT_ATTRIBUTES:[{name:"a_current",size:1,type:Kl},{name:"a_direction",size:1,type:Kl}],CONSTANT_DATA:[[0,1],[0,-1],[1,1],[0,-1],[1,1],[1,-1]]}}},{key:"processVisibleItem",value:function(f,m,b,y,F){var x,E=F.size||1,C=b.x,_=b.y,D=y.x,w=y.y,A=ps(F.color),I=(x=F[a])!==null&&x!==void 0?x:$Q,M=this.array;M[m++]=C,M[m++]=_,M[m++]=D,M[m++]=w,o&&(M[m++]=y.size),s&&(M[m++]=b.size),M[m++]=E,M[m++]=I,M[m++]=A,M[m++]=f}},{key:"setUniforms",value:function(f,m){var b=m.gl,y=m.uniformLocations,F=y.u_matrix,x=y.u_pixelRatio,E=y.u_feather,C=y.u_sizeRatio,_=y.u_dimensions,D=y.u_minEdgeThickness;if(b.uniformMatrix3fv(F,!1,f.matrix),b.uniform1f(x,f.pixelRatio),b.uniform1f(C,f.sizeRatio),b.uniform1f(E,f.antiAliasingFeather),b.uniform2f(_,f.width*f.pixelRatio,f.height*f.pixelRatio),b.uniform1f(D,f.minEdgeThickness),n){var w=y.u_lengthToThicknessRatio,A=y.u_widenessToThicknessRatio;b.uniform1f(w,n.lengthToThicknessRatio),b.uniform1f(A,n.widenessToThicknessRatio)}}}]),d}(f0)}Jv();var qke=Jv({arrowHead:g0});Jv({arrowHead:iy(iy({},g0),{},{extremity:"both"})});const Wke=({node:e,move:t})=>{const r=Lo(),{gotoNode:n}=DQ();return T.useEffect(()=>{const a=r.getGraph();if(t){if(e&&a.hasNode(e))try{a.setNodeAttribute(e,"highlighted",!0),n(e)}catch(i){console.error("Error focusing on node:",i)}else r.setCustomBBox(null),r.getCamera().animate({x:.5,y:.5,ratio:1},{duration:0});ht.getState().setMoveToSelectedNode(!1)}else if(e&&a.hasNode(e))try{a.setNodeAttribute(e,"highlighted",!0)}catch(i){console.error("Error highlighting node:",i)}return()=>{if(e&&a.hasNode(e))try{a.setNodeAttribute(e,"highlighted",!1)}catch(i){console.error("Error cleaning up node highlight:",i)}}},[e,t,r,n]),null};function sp(e,t){const r=Lo(),n=T.useRef(t);return b0(n.current,t)||(n.current=t),{positions:T.useCallback(()=>n.current?e(r.getGraph(),n.current):{},[r,n,e]),assign:T.useCallback(()=>{n.current&&e.assign(r.getGraph(),n.current)},[r,n,e])}}function l5(e,t){const r=Lo(),[n,a]=T.useState(!1),[i,o]=T.useState(null),s=T.useRef(t);return b0(s.current,t)||(s.current=t),T.useEffect(()=>{a(!1);let l=null;return s.current&&(l=new e(r.getGraph(),s.current)),o(l),()=>{l!==null&&l.kill()}},[r,s,o,a,e]),{stop:T.useCallback(()=>{i&&(i.stop(),a(!1))},[i,a]),start:T.useCallback(()=>{i&&(i.start(),a(!0))},[i,a]),kill:T.useCallback(()=>{i&&i.kill(),a(!1)},[i,a]),isRunning:n}}var KS,d7;function y0(){if(d7)return KS;d7=1;function e(r){return!r||typeof r!="object"||typeof r=="function"||Array.isArray(r)||r instanceof Set||r instanceof Map||r instanceof RegExp||r instanceof Date}function t(r,n){r=r||{};var a={};for(var i in n){var o=r[i],s=n[i];if(!e(s)){a[i]=t(o,s);continue}o===void 0?a[i]=s:a[i]=o}return a}return KS=t,KS}var YS,h7;function Vke(){if(h7)return YS;h7=1;function e(r){return function(n,a){return n+Math.floor(r()*(a-n+1))}}var t=e(Math.random);return t.createRandom=e,YS=t,YS}var XS,p7;function Kke(){if(p7)return XS;p7=1;var e=Vke().createRandom;function t(n){var a=e(n);return function(i){for(var o=i.length,s=o-1,l=-1;++l<o;){var u=a(l,s),d=i[u];i[u]=i[l],i[l]=d}}}var r=t(Math.random);return r.createShuffleInPlace=t,XS=r,XS}var JS,f7;function Yke(){if(f7)return JS;f7=1;var e=y0(),t=lo(),r=Kke(),n={attributes:{x:"x",y:"y"},center:0,hierarchyAttributes:[],rng:Math.random,scale:1};function a(A,I,M,L,U){this.wrappedCircle=U||null,this.children={},this.countChildren=0,this.id=A||null,this.next=null,this.previous=null,this.x=I||null,this.y=M||null,U?this.r=1010101:this.r=L||999}a.prototype.hasChildren=function(){return this.countChildren>0},a.prototype.addChild=function(A,I){this.children[A]=I,++this.countChildren},a.prototype.getChild=function(A){if(!this.children.hasOwnProperty(A)){var I=new a;this.children[A]=I,++this.countChildren}return this.children[A]},a.prototype.applyPositionToChildren=function(){if(this.hasChildren()){var A=this;for(var I in A.children){var M=A.children[I];M.x+=A.x,M.y+=A.y,M.applyPositionToChildren()}}};function i(A,I,M){for(var L in I.children){var U=I.children[L];U.hasChildren()?i(A,U,M):M[U.id]={x:U.x,y:U.y}}}function o(A,I){var M=A.r-I.r,L=I.x-A.x,U=I.y-A.y;return M<0||M*M<L*L+U*U}function s(A,I){var M=A.r-I.r+1e-6,L=I.x-A.x,U=I.y-A.y;return M>0&&M*M>L*L+U*U}function l(A,I){for(var M=0;M<I.length;++M)if(!s(A,I[M]))return!1;return!0}function u(A){return new a(null,A.x,A.y,A.r)}function d(A,I){var M=A.x,L=A.y,U=A.r,j=I.x,z=I.y,V=I.r,X=j-M,q=z-L,W=V-U,B=Math.sqrt(X*X+q*q);return new a(null,(M+j+X/B*W)/2,(L+z+q/B*W)/2,(B+U+V)/2)}function h(A,I,M){var L=A.x,U=A.y,j=A.r,z=I.x,V=I.y,X=I.r,q=M.x,W=M.y,B=M.r,te=L-z,P=L-q,Z=U-V,K=U-W,G=X-j,ne=B-j,oe=L*L+U*U-j*j,de=oe-z*z-V*V+X*X,ie=oe-q*q-W*W+B*B,ue=P*Z-te*K,Ne=(Z*ie-K*de)/(ue*2)-L,pe=(K*G-Z*ne)/ue,Le=(P*de-te*ie)/(ue*2)-U,Me=(te*ne-P*G)/ue,Ee=pe*pe+Me*Me-1,Te=2*(j+Ne*pe+Le*Me),Re=Ne*Ne+Le*Le-j*j,fe=-(Ee?(Te+Math.sqrt(Te*Te-4*Ee*Re))/(2*Ee):Re/Te);return new a(null,L+Ne+pe*fe,U+Le+Me*fe,fe)}function f(A){switch(A.length){case 1:return u(A[0]);case 2:return d(A[0],A[1]);case 3:return h(A[0],A[1],A[2]);default:throw new Error("graphology-layout/circlepack: Invalid basis length "+A.length)}}function m(A,I){var M,L;if(l(I,A))return[I];for(M=0;M<A.length;++M)if(o(I,A[M])&&l(d(A[M],I),A))return[A[M],I];for(M=0;M<A.length-1;++M)for(L=M+1;L<A.length;++L)if(o(d(A[M],A[L]),I)&&o(d(A[M],I),A[L])&&o(d(A[L],I),A[M])&&l(h(A[M],A[L],I),A))return[A[M],A[L],I];throw new Error("graphology-layout/circlepack: extendBasis failure !")}function b(A){var I=A.wrappedCircle,M=A.next.wrappedCircle,L=I.r+M.r,U=(I.x*M.r+M.x*I.r)/L,j=(I.y*M.r+M.y*I.r)/L;return U*U+j*j}function y(A,I){var M=0,L=A.slice(),U=A.length,j=[],z,V;for(I(L);M<U;)z=L[M],V&&s(V,z)?++M:(j=m(j,z),V=f(j),M=0);return V}function F(A,I,M){var L=A.x-I.x,U,j,z=A.y-I.y,V,X,q=L*L+z*z;q?(j=I.r+M.r,j*=j,X=A.r+M.r,X*=X,j>X?(U=(q+X-j)/(2*q),V=Math.sqrt(Math.max(0,X/q-U*U)),M.x=A.x-U*L-V*z,M.y=A.y-U*z+V*L):(U=(q+j-X)/(2*q),V=Math.sqrt(Math.max(0,j/q-U*U)),M.x=I.x+U*L-V*z,M.y=I.y+U*z+V*L)):(M.x=I.x+M.r,M.y=I.y)}function x(A,I){var M=A.r+I.r-1e-6,L=I.x-A.x,U=I.y-A.y;return M>0&&M*M>L*L+U*U}function E(A,I){var M=A.length;if(M===0)return 0;var L,U,j,z,V,X,q,W,B,te;if(L=A[0],L.x=0,L.y=0,M<=1)return L.r;if(U=A[1],L.x=-U.r,U.x=L.r,U.y=0,M<=2)return L.r+U.r;j=A[2],F(U,L,j),L=new a(null,null,null,null,L),U=new a(null,null,null,null,U),j=new a(null,null,null,null,j),L.next=j.previous=U,U.next=L.previous=j,j.next=U.previous=L;e:for(X=3;X<M;++X){j=A[X],F(L.wrappedCircle,U.wrappedCircle,j),j=new a(null,null,null,null,j),q=U.next,W=L.previous,B=U.wrappedCircle.r,te=L.wrappedCircle.r;do if(B<=te){if(x(q.wrappedCircle,j.wrappedCircle)){U=q,L.next=U,U.previous=L,--X;continue e}B+=q.wrappedCircle.r,q=q.next}else{if(x(W.wrappedCircle,j.wrappedCircle)){L=W,L.next=U,U.previous=L,--X;continue e}te+=W.wrappedCircle.r,W=W.previous}while(q!==W.next);for(j.previous=L,j.next=U,L.next=U.previous=U=j,z=b(L);(j=j.next)!==U;)(V=b(j))<z&&(L=j,z=V);U=L.next}L=[U.wrappedCircle],j=U;for(var P=1e4;(j=j.next)!==U&&--P!==0;)L.push(j.wrappedCircle);for(j=y(L,I),X=0;X<M;++X)L=A[X],L.x-=j.x,L.y-=j.y;return j.r}function C(A,I){var M=0;if(A.hasChildren()){for(var L in A.children){var U=A.children[L];U.hasChildren()&&(U.r=C(U,I))}M=E(Object.values(A.children),I)}return M}function _(A,I){C(A,I);for(var M in A.children){var L=A.children[M];L.applyPositionToChildren()}}function D(A,I,M){if(!t(I))throw new Error("graphology-layout/circlepack: the given graph is not a valid graphology instance.");M=e(M,n);var L={},U={},j=I.nodes(),z=M.center,V=M.hierarchyAttributes,X=r.createShuffleInPlace(M.rng),q=M.scale,W=new a;I.forEachNode(function(G,ne){var oe=ne.size?ne.size:1,de=new a(G,null,null,oe),ie=W;V.forEach(function(ue){var Ne=ne[ue];ie=ie.getChild(Ne)}),ie.addChild(G,de)}),_(W,X),i(I,W,L);var B=j.length,te,P,Z;for(Z=0;Z<B;Z++){var K=j[Z];te=z+q*L[K].x,P=z+q*L[K].y,U[K]={x:te,y:P},A&&(I.setNodeAttribute(K,M.attributes.x,te),I.setNodeAttribute(K,M.attributes.y,P))}return U}var w=D.bind(null,!1);return w.assign=D.bind(null,!0),JS=w,JS}var Xke=Yke();const Jke=On(Xke);function Zke(e={}){return sp(Jke,e)}var ZS,m7;function Qke(){if(m7)return ZS;m7=1;var e=y0(),t=lo(),r={dimensions:["x","y"],center:.5,scale:1};function n(i,o,s){if(!t(o))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");s=e(s,r);var l=s.dimensions;if(!Array.isArray(l)||l.length!==2)throw new Error("graphology-layout/random: given dimensions are invalid.");var u=s.center,d=s.scale,h=Math.PI*2,f=(u-.5)*d,m=o.order,b=l[0],y=l[1];function F(C,_){return _[b]=d*Math.cos(C*h/m)+f,_[y]=d*Math.sin(C*h/m)+f,_}var x=0;if(!i){var E={};return o.forEachNode(function(C){E[C]=F(x++,{})}),E}o.updateEachNodeAttributes(function(C,_){return F(x++,_),_},{attributes:l})}var a=n.bind(null,!1);return a.assign=n.bind(null,!0),ZS=a,ZS}var eCe=Qke();const tCe=On(eCe);function rCe(e={}){return sp(tCe,e)}var Af={},g7;function u5(){if(g7)return Af;g7=1;function e(n){return typeof n!="number"||isNaN(n)?1:n}function t(n,a){var i={},o=function(u){return typeof u>"u"?a:u};typeof a=="function"&&(o=a);var s=function(u){return o(u[n])},l=function(){return o(void 0)};return typeof n=="string"?(i.fromAttributes=s,i.fromGraph=function(u,d){return s(u.getNodeAttributes(d))},i.fromEntry=function(u,d){return s(d)}):typeof n=="function"?(i.fromAttributes=function(){throw new Error("graphology-utils/getters/createNodeValueGetter: irrelevant usage.")},i.fromGraph=function(u,d){return o(n(d,u.getNodeAttributes(d)))},i.fromEntry=function(u,d){return o(n(u,d))}):(i.fromAttributes=l,i.fromGraph=l,i.fromEntry=l),i}function r(n,a){var i={},o=function(u){return typeof u>"u"?a:u};typeof a=="function"&&(o=a);var s=function(u){return o(u[n])},l=function(){return o(void 0)};return typeof n=="string"?(i.fromAttributes=s,i.fromGraph=function(u,d){return s(u.getEdgeAttributes(d))},i.fromEntry=function(u,d){return s(d)},i.fromPartialEntry=i.fromEntry,i.fromMinimalEntry=i.fromEntry):typeof n=="function"?(i.fromAttributes=function(){throw new Error("graphology-utils/getters/createEdgeValueGetter: irrelevant usage.")},i.fromGraph=function(u,d){var h=u.extremities(d);return o(n(d,u.getEdgeAttributes(d),h[0],h[1],u.getNodeAttributes(h[0]),u.getNodeAttributes(h[1]),u.isUndirected(d)))},i.fromEntry=function(u,d,h,f,m,b,y){return o(n(u,d,h,f,m,b,y))},i.fromPartialEntry=function(u,d,h,f){return o(n(u,d,h,f))},i.fromMinimalEntry=function(u,d){return o(n(u,d))}):(i.fromAttributes=l,i.fromGraph=l,i.fromEntry=l,i.fromMinimalEntry=l),i}return Af.createNodeValueGetter=t,Af.createEdgeValueGetter=r,Af.createEdgeWeightGetter=function(n){return r(n,e)},Af}var QS,b7;function qQ(){if(b7)return QS;b7=1;const{createNodeValueGetter:e,createEdgeValueGetter:t}=u5();return QS=function(n,a,i){const{nodeXAttribute:o,nodeYAttribute:s}=i,{attraction:l,repulsion:u,gravity:d,inertia:h,maxMove:f}=i.settings;let{shouldSkipNode:m,shouldSkipEdge:b,isNodeFixed:y}=i;y=e(y),m=e(m,!1),b=t(b,!1);const F=n.filterNodes((C,_)=>!m.fromEntry(C,_)),x=F.length;for(let C=0;C<x;C++){const _=F[C],D=n.getNodeAttributes(_),w=a[_];w?a[_]={dx:w.dx*h,dy:w.dy*h,x:D[o]||0,y:D[s]||0}:a[_]={dx:0,dy:0,x:D[o]||0,y:D[s]||0}}if(u)for(let C=0;C<x;C++){const _=F[C],D=a[_];for(let w=C+1;w<x;w++){const A=F[w],I=a[A],M=I.x-D.x,L=I.y-D.y,U=Math.sqrt(M*M+L*L)||1,j=u/U*M,z=u/U*L;D.dx-=j,D.dy-=z,I.dx+=j,I.dy+=z}}if(l&&n.forEachEdge((C,_,D,w,A,I,M)=>{if(D===w||m.fromEntry(D,A)||m.fromEntry(w,I)||b.fromEntry(C,_,D,w,A,I,M))return;const L=a[D],U=a[w],j=U.x-L.x,z=U.y-L.y,V=Math.sqrt(j*j+z*z)||1,X=l*V*j,q=l*V*z;L.dx+=X,L.dy+=q,U.dx-=X,U.dy-=q}),d)for(let C=0;C<x;C++){const _=F[C],D=a[_],{x:w,y:A}=D,I=Math.sqrt(w*w+A*A)||1;a[_].dx-=w*d*I,a[_].dy-=A*d*I}const E=!1;for(let C=0;C<x;C++){const _=F[C],D=a[_],w=Math.sqrt(D.dx*D.dx+D.dy*D.dy);w>f&&(D.dx*=f/w,D.dy*=f/w),y.fromGraph(n,_)?D.fixed=!0:(D.x+=D.dx,D.y+=D.dy,D.fixed=!1)}return{converged:E}},QS}var C1={},y7;function WQ(){return y7||(y7=1,C1.assignLayoutChanges=function(e,t,r){const{nodeXAttribute:n,nodeYAttribute:a}=r;e.updateEachNodeAttributes((i,o)=>{const s=t[i];return!s||s.fixed||(o[n]=s.x,o[a]=s.y),o},{attributes:["x","y"]})},C1.collectLayoutChanges=function(e){const t={};for(const r in e){const n=e[r];t[r]={x:n.x,y:n.y}}return t}),C1}var ex,v7;function VQ(){return v7||(v7=1,ex={nodeXAttribute:"x",nodeYAttribute:"y",isNodeFixed:"fixed",shouldSkipNode:null,shouldSkipEdge:null,settings:{attraction:5e-4,repulsion:.1,gravity:1e-4,inertia:.6,maxMove:200}}),ex}var tx,F7;function nCe(){if(F7)return tx;F7=1;const e=lo(),t=y0(),r=qQ(),n=WQ(),a=VQ();function i(s,l,u){if(!e(l))throw new Error("graphology-layout-force: the given graph is not a valid graphology instance.");typeof u=="number"?u={maxIterations:u}:u=u||{};const d=u.maxIterations;if(u=t(u,a),typeof d!="number"||d<=0)throw new Error("graphology-layout-force: you should provide a positive number of maximum iterations.");const h={};let f=null,m;for(m=0;m<d&&(f=r(l,h,u),!f.converged);m++);if(s){n.assignLayoutChanges(l,h,u);return}return n.collectLayoutChanges(h)}const o=i.bind(null,!1);return o.assign=i.bind(null,!0),tx=o,tx}var aCe=nCe();const iCe=On(aCe);var rx,E7;function oCe(){if(E7)return rx;E7=1;const e=lo(),t=y0(),r=qQ(),n=WQ(),a=VQ();function i(o,s){if(!e(o))throw new Error("graphology-layout-force/worker: the given graph is not a valid graphology instance.");s=t(s,a),this.callbacks={},s.onConverged&&(this.callbacks.onConverged=s.onConverged),this.graph=o,this.params=s,this.nodeStates={},this.frameID=null,this.running=!1,this.killed=!1}return i.prototype.isRunning=function(){return this.running},i.prototype.runFrame=function(){let{converged:o}=r(this.graph,this.nodeStates,this.params);n.assignLayoutChanges(this.graph,this.nodeStates,this.params),o=!1,o?(this.callbacks.onConverged&&this.callbacks.onConverged(),this.stop()):this.frameID=window.requestAnimationFrame(()=>this.runFrame())},i.prototype.stop=function(){return this.running=!1,this.frameID!==null&&(window.cancelAnimationFrame(this.frameID),this.frameID=null),this},i.prototype.start=function(){if(this.killed)throw new Error("graphology-layout-force/worker.start: layout was killed.");this.running||(this.running=!0,this.runFrame())},i.prototype.kill=function(){this.stop(),delete this.nodeStates,this.killed=!0},rx=i,rx}var sCe=oCe();const lCe=On(sCe);function uCe(e={maxIterations:100}){return sp(iCe,e)}function cCe(e={}){return l5(lCe,e)}var nx,S7;function dCe(){if(S7)return nx;S7=1;var e=0,t=1,r=2,n=3,a=4,i=5,o=6,s=7,l=8,u=9,d=0,h=1,f=2,m=0,b=1,y=2,F=3,x=4,E=5,C=6,_=7,D=8,w=3,A=10,I=3,M=9,L=10;return nx=function(j,z,V){var X,q,W,B,te,P,Z,K,G,ne,oe=z.length,de=V.length,ie=j.adjustSizes,ue=j.barnesHutTheta*j.barnesHutTheta,Ne,pe,Le,Me,Ee,Te,Re,fe=[];for(W=0;W<oe;W+=A)z[W+a]=z[W+r],z[W+i]=z[W+n],z[W+r]=0,z[W+n]=0;if(j.outboundAttractionDistribution){for(Ne=0,W=0;W<oe;W+=A)Ne+=z[W+o];Ne/=oe/A}if(j.barnesHutOptimize){var Ze=1/0,yt=-1/0,qe=1/0,Ke=-1/0,xe,Yt,nr;for(W=0;W<oe;W+=A)Ze=Math.min(Ze,z[W+e]),yt=Math.max(yt,z[W+e]),qe=Math.min(qe,z[W+t]),Ke=Math.max(Ke,z[W+t]);var Pe=yt-Ze,Qe=Ke-qe;for(Pe>Qe?(qe-=(Pe-Qe)/2,Ke=qe+Pe):(Ze-=(Qe-Pe)/2,yt=Ze+Qe),fe[0+m]=-1,fe[0+b]=(Ze+yt)/2,fe[0+y]=(qe+Ke)/2,fe[0+F]=Math.max(yt-Ze,Ke-qe),fe[0+x]=-1,fe[0+E]=-1,fe[0+C]=0,fe[0+_]=0,fe[0+D]=0,X=1,W=0;W<oe;W+=A)for(q=0,nr=w;;)if(fe[q+E]>=0){z[W+e]<fe[q+b]?z[W+t]<fe[q+y]?xe=fe[q+E]:xe=fe[q+E]+M:z[W+t]<fe[q+y]?xe=fe[q+E]+M*2:xe=fe[q+E]+M*3,fe[q+_]=(fe[q+_]*fe[q+C]+z[W+e]*z[W+o])/(fe[q+C]+z[W+o]),fe[q+D]=(fe[q+D]*fe[q+C]+z[W+t]*z[W+o])/(fe[q+C]+z[W+o]),fe[q+C]+=z[W+o],q=xe;continue}else if(fe[q+m]<0){fe[q+m]=W;break}else{if(fe[q+E]=X*M,K=fe[q+F]/2,G=fe[q+E],fe[G+m]=-1,fe[G+b]=fe[q+b]-K,fe[G+y]=fe[q+y]-K,fe[G+F]=K,fe[G+x]=G+M,fe[G+E]=-1,fe[G+C]=0,fe[G+_]=0,fe[G+D]=0,G+=M,fe[G+m]=-1,fe[G+b]=fe[q+b]-K,fe[G+y]=fe[q+y]+K,fe[G+F]=K,fe[G+x]=G+M,fe[G+E]=-1,fe[G+C]=0,fe[G+_]=0,fe[G+D]=0,G+=M,fe[G+m]=-1,fe[G+b]=fe[q+b]+K,fe[G+y]=fe[q+y]-K,fe[G+F]=K,fe[G+x]=G+M,fe[G+E]=-1,fe[G+C]=0,fe[G+_]=0,fe[G+D]=0,G+=M,fe[G+m]=-1,fe[G+b]=fe[q+b]+K,fe[G+y]=fe[q+y]+K,fe[G+F]=K,fe[G+x]=fe[q+x],fe[G+E]=-1,fe[G+C]=0,fe[G+_]=0,fe[G+D]=0,X+=4,z[fe[q+m]+e]<fe[q+b]?z[fe[q+m]+t]<fe[q+y]?xe=fe[q+E]:xe=fe[q+E]+M:z[fe[q+m]+t]<fe[q+y]?xe=fe[q+E]+M*2:xe=fe[q+E]+M*3,fe[q+C]=z[fe[q+m]+o],fe[q+_]=z[fe[q+m]+e],fe[q+D]=z[fe[q+m]+t],fe[xe+m]=fe[q+m],fe[q+m]=-1,z[W+e]<fe[q+b]?z[W+t]<fe[q+y]?Yt=fe[q+E]:Yt=fe[q+E]+M:z[W+t]<fe[q+y]?Yt=fe[q+E]+M*2:Yt=fe[q+E]+M*3,xe===Yt)if(nr--){q=xe;continue}else{nr=w;break}fe[Yt+m]=W;break}}if(j.barnesHutOptimize)for(pe=j.scalingRatio,W=0;W<oe;W+=A)for(q=0;;)if(fe[q+E]>=0)if(Te=Math.pow(z[W+e]-fe[q+_],2)+Math.pow(z[W+t]-fe[q+D],2),ne=fe[q+F],4*ne*ne/Te<ue){if(Le=z[W+e]-fe[q+_],Me=z[W+t]-fe[q+D],ie===!0?Te>0?(Re=pe*z[W+o]*fe[q+C]/Te,z[W+r]+=Le*Re,z[W+n]+=Me*Re):Te<0&&(Re=-pe*z[W+o]*fe[q+C]/Math.sqrt(Te),z[W+r]+=Le*Re,z[W+n]+=Me*Re):Te>0&&(Re=pe*z[W+o]*fe[q+C]/Te,z[W+r]+=Le*Re,z[W+n]+=Me*Re),q=fe[q+x],q<0)break;continue}else{q=fe[q+E];continue}else{if(P=fe[q+m],P>=0&&P!==W&&(Le=z[W+e]-z[P+e],Me=z[W+t]-z[P+t],Te=Le*Le+Me*Me,ie===!0?Te>0?(Re=pe*z[W+o]*z[P+o]/Te,z[W+r]+=Le*Re,z[W+n]+=Me*Re):Te<0&&(Re=-pe*z[W+o]*z[P+o]/Math.sqrt(Te),z[W+r]+=Le*Re,z[W+n]+=Me*Re):Te>0&&(Re=pe*z[W+o]*z[P+o]/Te,z[W+r]+=Le*Re,z[W+n]+=Me*Re)),q=fe[q+x],q<0)break;continue}else for(pe=j.scalingRatio,B=0;B<oe;B+=A)for(te=0;te<B;te+=A)Le=z[B+e]-z[te+e],Me=z[B+t]-z[te+t],ie===!0?(Te=Math.sqrt(Le*Le+Me*Me)-z[B+l]-z[te+l],Te>0?(Re=pe*z[B+o]*z[te+o]/Te/Te,z[B+r]+=Le*Re,z[B+n]+=Me*Re,z[te+r]-=Le*Re,z[te+n]-=Me*Re):Te<0&&(Re=100*pe*z[B+o]*z[te+o],z[B+r]+=Le*Re,z[B+n]+=Me*Re,z[te+r]-=Le*Re,z[te+n]-=Me*Re)):(Te=Math.sqrt(Le*Le+Me*Me),Te>0&&(Re=pe*z[B+o]*z[te+o]/Te/Te,z[B+r]+=Le*Re,z[B+n]+=Me*Re,z[te+r]-=Le*Re,z[te+n]-=Me*Re));for(G=j.gravity/j.scalingRatio,pe=j.scalingRatio,W=0;W<oe;W+=A)Re=0,Le=z[W+e],Me=z[W+t],Te=Math.sqrt(Math.pow(Le,2)+Math.pow(Me,2)),j.strongGravityMode?Te>0&&(Re=pe*z[W+o]*G):Te>0&&(Re=pe*z[W+o]*G/Te),z[W+r]-=Le*Re,z[W+n]-=Me*Re;for(pe=1*(j.outboundAttractionDistribution?Ne:1),Z=0;Z<de;Z+=I)B=V[Z+d],te=V[Z+h],K=V[Z+f],Ee=Math.pow(K,j.edgeWeightInfluence),Le=z[B+e]-z[te+e],Me=z[B+t]-z[te+t],ie===!0?(Te=Math.sqrt(Le*Le+Me*Me)-z[B+l]-z[te+l],j.linLogMode?j.outboundAttractionDistribution?Te>0&&(Re=-pe*Ee*Math.log(1+Te)/Te/z[B+o]):Te>0&&(Re=-pe*Ee*Math.log(1+Te)/Te):j.outboundAttractionDistribution?Te>0&&(Re=-pe*Ee/z[B+o]):Te>0&&(Re=-pe*Ee)):(Te=Math.sqrt(Math.pow(Le,2)+Math.pow(Me,2)),j.linLogMode?j.outboundAttractionDistribution?Te>0&&(Re=-pe*Ee*Math.log(1+Te)/Te/z[B+o]):Te>0&&(Re=-pe*Ee*Math.log(1+Te)/Te):j.outboundAttractionDistribution?(Te=1,Re=-pe*Ee/z[B+o]):(Te=1,Re=-pe*Ee)),Te>0&&(z[B+r]+=Le*Re,z[B+n]+=Me*Re,z[te+r]-=Le*Re,z[te+n]-=Me*Re);var me,ke,Ye,pt,St,gr;if(ie===!0)for(W=0;W<oe;W+=A)z[W+u]!==1&&(me=Math.sqrt(Math.pow(z[W+r],2)+Math.pow(z[W+n],2)),me>L&&(z[W+r]=z[W+r]*L/me,z[W+n]=z[W+n]*L/me),ke=z[W+o]*Math.sqrt((z[W+a]-z[W+r])*(z[W+a]-z[W+r])+(z[W+i]-z[W+n])*(z[W+i]-z[W+n])),Ye=Math.sqrt((z[W+a]+z[W+r])*(z[W+a]+z[W+r])+(z[W+i]+z[W+n])*(z[W+i]+z[W+n]))/2,pt=.1*Math.log(1+Ye)/(1+Math.sqrt(ke)),St=z[W+e]+z[W+r]*(pt/j.slowDown),z[W+e]=St,gr=z[W+t]+z[W+n]*(pt/j.slowDown),z[W+t]=gr);else for(W=0;W<oe;W+=A)z[W+u]!==1&&(ke=z[W+o]*Math.sqrt((z[W+a]-z[W+r])*(z[W+a]-z[W+r])+(z[W+i]-z[W+n])*(z[W+i]-z[W+n])),Ye=Math.sqrt((z[W+a]+z[W+r])*(z[W+a]+z[W+r])+(z[W+i]+z[W+n])*(z[W+i]+z[W+n]))/2,pt=z[W+s]*Math.log(1+Ye)/(1+Math.sqrt(ke)),z[W+s]=Math.min(1,Math.sqrt(pt*(Math.pow(z[W+r],2)+Math.pow(z[W+n],2))/(1+Math.sqrt(ke)))),St=z[W+e]+z[W+r]*(pt/j.slowDown),z[W+e]=St,gr=z[W+t]+z[W+n]*(pt/j.slowDown),z[W+t]=gr);return{}},nx}var Ps={},x7;function KQ(){if(x7)return Ps;x7=1;var e=10,t=3;return Ps.assign=function(r){r=r||{};var n=Array.prototype.slice.call(arguments).slice(1),a,i,o;for(a=0,o=n.length;a<o;a++)if(n[a])for(i in n[a])r[i]=n[a][i];return r},Ps.validateSettings=function(r){return"linLogMode"in r&&typeof r.linLogMode!="boolean"?{message:"the `linLogMode` setting should be a boolean."}:"outboundAttractionDistribution"in r&&typeof r.outboundAttractionDistribution!="boolean"?{message:"the `outboundAttractionDistribution` setting should be a boolean."}:"adjustSizes"in r&&typeof r.adjustSizes!="boolean"?{message:"the `adjustSizes` setting should be a boolean."}:"edgeWeightInfluence"in r&&typeof r.edgeWeightInfluence!="number"?{message:"the `edgeWeightInfluence` setting should be a number."}:"scalingRatio"in r&&!(typeof r.scalingRatio=="number"&&r.scalingRatio>=0)?{message:"the `scalingRatio` setting should be a number >= 0."}:"strongGravityMode"in r&&typeof r.strongGravityMode!="boolean"?{message:"the `strongGravityMode` setting should be a boolean."}:"gravity"in r&&!(typeof r.gravity=="number"&&r.gravity>=0)?{message:"the `gravity` setting should be a number >= 0."}:"slowDown"in r&&!(typeof r.slowDown=="number"||r.slowDown>=0)?{message:"the `slowDown` setting should be a number >= 0."}:"barnesHutOptimize"in r&&typeof r.barnesHutOptimize!="boolean"?{message:"the `barnesHutOptimize` setting should be a boolean."}:"barnesHutTheta"in r&&!(typeof r.barnesHutTheta=="number"&&r.barnesHutTheta>=0)?{message:"the `barnesHutTheta` setting should be a number >= 0."}:null},Ps.graphToByteArrays=function(r,n){var a=r.order,i=r.size,o={},s,l=new Float32Array(a*e),u=new Float32Array(i*t);return s=0,r.forEachNode(function(d,h){o[d]=s,l[s]=h.x,l[s+1]=h.y,l[s+2]=0,l[s+3]=0,l[s+4]=0,l[s+5]=0,l[s+6]=1,l[s+7]=1,l[s+8]=h.size||1,l[s+9]=h.fixed?1:0,s+=e}),s=0,r.forEachEdge(function(d,h,f,m,b,y,F){var x=o[f],E=o[m],C=n(d,h,f,m,b,y,F);l[x+6]+=C,l[E+6]+=C,u[s]=x,u[s+1]=E,u[s+2]=C,s+=t}),{nodes:l,edges:u}},Ps.assignLayoutChanges=function(r,n,a){var i=0;r.updateEachNodeAttributes(function(o,s){return s.x=n[i],s.y=n[i+1],i+=e,a?a(o,s):s})},Ps.readGraphPositions=function(r,n){var a=0;r.forEachNode(function(i,o){n[a]=o.x,n[a+1]=o.y,a+=e})},Ps.collectLayoutChanges=function(r,n,a){for(var i=r.nodes(),o={},s=0,l=0,u=n.length;s<u;s+=e){if(a){var d=Object.assign({},r.getNodeAttributes(i[l]));d.x=n[s],d.y=n[s+1],d=a(i[l],d),o[i[l]]={x:d.x,y:d.y}}else o[i[l]]={x:n[s],y:n[s+1]};l++}return o},Ps.createWorker=function(n){var a=window.URL||window.webkitURL,i=n.toString(),o=a.createObjectURL(new Blob(["("+i+").call(this);"],{type:"text/javascript"})),s=new Worker(o);return a.revokeObjectURL(o),s},Ps}var ax,w7;function YQ(){return w7||(w7=1,ax={linLogMode:!1,outboundAttractionDistribution:!1,adjustSizes:!1,edgeWeightInfluence:1,scalingRatio:1,strongGravityMode:!1,gravity:1,slowDown:1,barnesHutOptimize:!1,barnesHutTheta:.5}),ax}var ix,k7;function hCe(){if(k7)return ix;k7=1;var e=lo(),t=u5().createEdgeWeightGetter,r=dCe(),n=KQ(),a=YQ();function i(l,u,d){if(!e(u))throw new Error("graphology-layout-forceatlas2: the given graph is not a valid graphology instance.");typeof d=="number"&&(d={iterations:d});var h=d.iterations;if(typeof h!="number")throw new Error("graphology-layout-forceatlas2: invalid number of iterations.");if(h<=0)throw new Error("graphology-layout-forceatlas2: you should provide a positive number of iterations.");var f=t("getEdgeWeight"in d?d.getEdgeWeight:"weight").fromEntry,m=typeof d.outputReducer=="function"?d.outputReducer:null,b=n.assign({},a,d.settings),y=n.validateSettings(b);if(y)throw new Error("graphology-layout-forceatlas2: "+y.message);var F=n.graphToByteArrays(u,f),x;for(x=0;x<h;x++)r(b,F.nodes,F.edges);if(l){n.assignLayoutChanges(u,F.nodes,m);return}return n.collectLayoutChanges(u,F.nodes)}function o(l){var u=typeof l=="number"?l:l.order;return{barnesHutOptimize:u>2e3,strongGravityMode:!0,gravity:.05,scalingRatio:10,slowDown:1+Math.log(u)}}var s=i.bind(null,!1);return s.assign=i.bind(null,!0),s.inferSettings=o,ix=s,ix}var pCe=hCe();const fCe=On(pCe);var ox,C7;function mCe(){return C7||(C7=1,ox=function(){var t,r,n={};(function(){var i=0,o=1,s=2,l=3,u=4,d=5,h=6,f=7,m=8,b=9,y=0,F=1,x=2,E=0,C=1,_=2,D=3,w=4,A=5,I=6,M=7,L=8,U=3,j=10,z=3,V=9,X=10;n.exports=function(W,B,te){var P,Z,K,G,ne,oe,de,ie,ue,Ne,pe=B.length,Le=te.length,Me=W.adjustSizes,Ee=W.barnesHutTheta*W.barnesHutTheta,Te,Re,fe,Ze,yt,qe,Ke,xe=[];for(K=0;K<pe;K+=j)B[K+u]=B[K+s],B[K+d]=B[K+l],B[K+s]=0,B[K+l]=0;if(W.outboundAttractionDistribution){for(Te=0,K=0;K<pe;K+=j)Te+=B[K+h];Te/=pe/j}if(W.barnesHutOptimize){var Yt=1/0,nr=-1/0,Pe=1/0,Qe=-1/0,me,ke,Ye;for(K=0;K<pe;K+=j)Yt=Math.min(Yt,B[K+i]),nr=Math.max(nr,B[K+i]),Pe=Math.min(Pe,B[K+o]),Qe=Math.max(Qe,B[K+o]);var pt=nr-Yt,St=Qe-Pe;for(pt>St?(Pe-=(pt-St)/2,Qe=Pe+pt):(Yt-=(St-pt)/2,nr=Yt+St),xe[0+E]=-1,xe[0+C]=(Yt+nr)/2,xe[0+_]=(Pe+Qe)/2,xe[0+D]=Math.max(nr-Yt,Qe-Pe),xe[0+w]=-1,xe[0+A]=-1,xe[0+I]=0,xe[0+M]=0,xe[0+L]=0,P=1,K=0;K<pe;K+=j)for(Z=0,Ye=U;;)if(xe[Z+A]>=0){B[K+i]<xe[Z+C]?B[K+o]<xe[Z+_]?me=xe[Z+A]:me=xe[Z+A]+V:B[K+o]<xe[Z+_]?me=xe[Z+A]+V*2:me=xe[Z+A]+V*3,xe[Z+M]=(xe[Z+M]*xe[Z+I]+B[K+i]*B[K+h])/(xe[Z+I]+B[K+h]),xe[Z+L]=(xe[Z+L]*xe[Z+I]+B[K+o]*B[K+h])/(xe[Z+I]+B[K+h]),xe[Z+I]+=B[K+h],Z=me;continue}else if(xe[Z+E]<0){xe[Z+E]=K;break}else{if(xe[Z+A]=P*V,ie=xe[Z+D]/2,ue=xe[Z+A],xe[ue+E]=-1,xe[ue+C]=xe[Z+C]-ie,xe[ue+_]=xe[Z+_]-ie,xe[ue+D]=ie,xe[ue+w]=ue+V,xe[ue+A]=-1,xe[ue+I]=0,xe[ue+M]=0,xe[ue+L]=0,ue+=V,xe[ue+E]=-1,xe[ue+C]=xe[Z+C]-ie,xe[ue+_]=xe[Z+_]+ie,xe[ue+D]=ie,xe[ue+w]=ue+V,xe[ue+A]=-1,xe[ue+I]=0,xe[ue+M]=0,xe[ue+L]=0,ue+=V,xe[ue+E]=-1,xe[ue+C]=xe[Z+C]+ie,xe[ue+_]=xe[Z+_]-ie,xe[ue+D]=ie,xe[ue+w]=ue+V,xe[ue+A]=-1,xe[ue+I]=0,xe[ue+M]=0,xe[ue+L]=0,ue+=V,xe[ue+E]=-1,xe[ue+C]=xe[Z+C]+ie,xe[ue+_]=xe[Z+_]+ie,xe[ue+D]=ie,xe[ue+w]=xe[Z+w],xe[ue+A]=-1,xe[ue+I]=0,xe[ue+M]=0,xe[ue+L]=0,P+=4,B[xe[Z+E]+i]<xe[Z+C]?B[xe[Z+E]+o]<xe[Z+_]?me=xe[Z+A]:me=xe[Z+A]+V:B[xe[Z+E]+o]<xe[Z+_]?me=xe[Z+A]+V*2:me=xe[Z+A]+V*3,xe[Z+I]=B[xe[Z+E]+h],xe[Z+M]=B[xe[Z+E]+i],xe[Z+L]=B[xe[Z+E]+o],xe[me+E]=xe[Z+E],xe[Z+E]=-1,B[K+i]<xe[Z+C]?B[K+o]<xe[Z+_]?ke=xe[Z+A]:ke=xe[Z+A]+V:B[K+o]<xe[Z+_]?ke=xe[Z+A]+V*2:ke=xe[Z+A]+V*3,me===ke)if(Ye--){Z=me;continue}else{Ye=U;break}xe[ke+E]=K;break}}if(W.barnesHutOptimize)for(Re=W.scalingRatio,K=0;K<pe;K+=j)for(Z=0;;)if(xe[Z+A]>=0)if(qe=Math.pow(B[K+i]-xe[Z+M],2)+Math.pow(B[K+o]-xe[Z+L],2),Ne=xe[Z+D],4*Ne*Ne/qe<Ee){if(fe=B[K+i]-xe[Z+M],Ze=B[K+o]-xe[Z+L],Me===!0?qe>0?(Ke=Re*B[K+h]*xe[Z+I]/qe,B[K+s]+=fe*Ke,B[K+l]+=Ze*Ke):qe<0&&(Ke=-Re*B[K+h]*xe[Z+I]/Math.sqrt(qe),B[K+s]+=fe*Ke,B[K+l]+=Ze*Ke):qe>0&&(Ke=Re*B[K+h]*xe[Z+I]/qe,B[K+s]+=fe*Ke,B[K+l]+=Ze*Ke),Z=xe[Z+w],Z<0)break;continue}else{Z=xe[Z+A];continue}else{if(oe=xe[Z+E],oe>=0&&oe!==K&&(fe=B[K+i]-B[oe+i],Ze=B[K+o]-B[oe+o],qe=fe*fe+Ze*Ze,Me===!0?qe>0?(Ke=Re*B[K+h]*B[oe+h]/qe,B[K+s]+=fe*Ke,B[K+l]+=Ze*Ke):qe<0&&(Ke=-Re*B[K+h]*B[oe+h]/Math.sqrt(qe),B[K+s]+=fe*Ke,B[K+l]+=Ze*Ke):qe>0&&(Ke=Re*B[K+h]*B[oe+h]/qe,B[K+s]+=fe*Ke,B[K+l]+=Ze*Ke)),Z=xe[Z+w],Z<0)break;continue}else for(Re=W.scalingRatio,G=0;G<pe;G+=j)for(ne=0;ne<G;ne+=j)fe=B[G+i]-B[ne+i],Ze=B[G+o]-B[ne+o],Me===!0?(qe=Math.sqrt(fe*fe+Ze*Ze)-B[G+m]-B[ne+m],qe>0?(Ke=Re*B[G+h]*B[ne+h]/qe/qe,B[G+s]+=fe*Ke,B[G+l]+=Ze*Ke,B[ne+s]-=fe*Ke,B[ne+l]-=Ze*Ke):qe<0&&(Ke=100*Re*B[G+h]*B[ne+h],B[G+s]+=fe*Ke,B[G+l]+=Ze*Ke,B[ne+s]-=fe*Ke,B[ne+l]-=Ze*Ke)):(qe=Math.sqrt(fe*fe+Ze*Ze),qe>0&&(Ke=Re*B[G+h]*B[ne+h]/qe/qe,B[G+s]+=fe*Ke,B[G+l]+=Ze*Ke,B[ne+s]-=fe*Ke,B[ne+l]-=Ze*Ke));for(ue=W.gravity/W.scalingRatio,Re=W.scalingRatio,K=0;K<pe;K+=j)Ke=0,fe=B[K+i],Ze=B[K+o],qe=Math.sqrt(Math.pow(fe,2)+Math.pow(Ze,2)),W.strongGravityMode?qe>0&&(Ke=Re*B[K+h]*ue):qe>0&&(Ke=Re*B[K+h]*ue/qe),B[K+s]-=fe*Ke,B[K+l]-=Ze*Ke;for(Re=1*(W.outboundAttractionDistribution?Te:1),de=0;de<Le;de+=z)G=te[de+y],ne=te[de+F],ie=te[de+x],yt=Math.pow(ie,W.edgeWeightInfluence),fe=B[G+i]-B[ne+i],Ze=B[G+o]-B[ne+o],Me===!0?(qe=Math.sqrt(fe*fe+Ze*Ze)-B[G+m]-B[ne+m],W.linLogMode?W.outboundAttractionDistribution?qe>0&&(Ke=-Re*yt*Math.log(1+qe)/qe/B[G+h]):qe>0&&(Ke=-Re*yt*Math.log(1+qe)/qe):W.outboundAttractionDistribution?qe>0&&(Ke=-Re*yt/B[G+h]):qe>0&&(Ke=-Re*yt)):(qe=Math.sqrt(Math.pow(fe,2)+Math.pow(Ze,2)),W.linLogMode?W.outboundAttractionDistribution?qe>0&&(Ke=-Re*yt*Math.log(1+qe)/qe/B[G+h]):qe>0&&(Ke=-Re*yt*Math.log(1+qe)/qe):W.outboundAttractionDistribution?(qe=1,Ke=-Re*yt/B[G+h]):(qe=1,Ke=-Re*yt)),qe>0&&(B[G+s]+=fe*Ke,B[G+l]+=Ze*Ke,B[ne+s]-=fe*Ke,B[ne+l]-=Ze*Ke);var gr,Sr,ar,Nt,br,Fe;if(Me===!0)for(K=0;K<pe;K+=j)B[K+b]!==1&&(gr=Math.sqrt(Math.pow(B[K+s],2)+Math.pow(B[K+l],2)),gr>X&&(B[K+s]=B[K+s]*X/gr,B[K+l]=B[K+l]*X/gr),Sr=B[K+h]*Math.sqrt((B[K+u]-B[K+s])*(B[K+u]-B[K+s])+(B[K+d]-B[K+l])*(B[K+d]-B[K+l])),ar=Math.sqrt((B[K+u]+B[K+s])*(B[K+u]+B[K+s])+(B[K+d]+B[K+l])*(B[K+d]+B[K+l]))/2,Nt=.1*Math.log(1+ar)/(1+Math.sqrt(Sr)),br=B[K+i]+B[K+s]*(Nt/W.slowDown),B[K+i]=br,Fe=B[K+o]+B[K+l]*(Nt/W.slowDown),B[K+o]=Fe);else for(K=0;K<pe;K+=j)B[K+b]!==1&&(Sr=B[K+h]*Math.sqrt((B[K+u]-B[K+s])*(B[K+u]-B[K+s])+(B[K+d]-B[K+l])*(B[K+d]-B[K+l])),ar=Math.sqrt((B[K+u]+B[K+s])*(B[K+u]+B[K+s])+(B[K+d]+B[K+l])*(B[K+d]+B[K+l]))/2,Nt=B[K+f]*Math.log(1+ar)/(1+Math.sqrt(Sr)),B[K+f]=Math.min(1,Math.sqrt(Nt*(Math.pow(B[K+s],2)+Math.pow(B[K+l],2))/(1+Math.sqrt(Sr)))),br=B[K+i]+B[K+s]*(Nt/W.slowDown),B[K+i]=br,Fe=B[K+o]+B[K+l]*(Nt/W.slowDown),B[K+o]=Fe);return{}}})();var a=n.exports;self.addEventListener("message",function(i){var o=i.data;t=new Float32Array(o.nodes),o.edges&&(r=new Float32Array(o.edges)),a(o.settings,t,r),self.postMessage({nodes:t.buffer},[t.buffer])})}),ox}var sx,T7;function gCe(){if(T7)return sx;T7=1;var e=mCe(),t=lo(),r=u5().createEdgeWeightGetter,n=KQ(),a=YQ();function i(o,s){if(s=s||{},!t(o))throw new Error("graphology-layout-forceatlas2/worker: the given graph is not a valid graphology instance.");var l=r("getEdgeWeight"in s?s.getEdgeWeight:"weight").fromEntry,u=n.assign({},a,s.settings),d=n.validateSettings(u);if(d)throw new Error("graphology-layout-forceatlas2/worker: "+d.message);this.worker=null,this.graph=o,this.settings=u,this.getEdgeWeight=l,this.matrices=null,this.running=!1,this.killed=!1,this.outputReducer=typeof s.outputReducer=="function"?s.outputReducer:null,this.handleMessage=this.handleMessage.bind(this);var h=void 0,f=this;this.handleGraphUpdate=function(){f.worker&&f.worker.terminate(),h&&clearTimeout(h),h=setTimeout(function(){h=void 0,f.spawnWorker()},0)},o.on("nodeAdded",this.handleGraphUpdate),o.on("edgeAdded",this.handleGraphUpdate),o.on("nodeDropped",this.handleGraphUpdate),o.on("edgeDropped",this.handleGraphUpdate),this.spawnWorker()}return i.prototype.isRunning=function(){return this.running},i.prototype.spawnWorker=function(){this.worker&&this.worker.terminate(),this.worker=n.createWorker(e),this.worker.addEventListener("message",this.handleMessage),this.running&&(this.running=!1,this.start())},i.prototype.handleMessage=function(o){if(this.running){var s=new Float32Array(o.data.nodes);n.assignLayoutChanges(this.graph,s,this.outputReducer),this.outputReducer&&n.readGraphPositions(this.graph,s),this.matrices.nodes=s,this.askForIterations()}},i.prototype.askForIterations=function(o){var s=this.matrices,l={settings:this.settings,nodes:s.nodes.buffer},u=[s.nodes.buffer];return o&&(l.edges=s.edges.buffer,u.push(s.edges.buffer)),this.worker.postMessage(l,u),this},i.prototype.start=function(){if(this.killed)throw new Error("graphology-layout-forceatlas2/worker.start: layout was killed.");return this.running?this:(this.matrices=n.graphToByteArrays(this.graph,this.getEdgeWeight),this.running=!0,this.askForIterations(!0),this)},i.prototype.stop=function(){return this.running=!1,this},i.prototype.kill=function(){if(this.killed)return this;this.running=!1,this.killed=!0,this.matrices=null,this.worker.terminate(),this.graph.removeListener("nodeAdded",this.handleGraphUpdate),this.graph.removeListener("edgeAdded",this.handleGraphUpdate),this.graph.removeListener("nodeDropped",this.handleGraphUpdate),this.graph.removeListener("edgeDropped",this.handleGraphUpdate)},sx=i,sx}var bCe=gCe();const yCe=On(bCe);function XQ(e={iterations:100}){return sp(fCe,e)}function vCe(e={}){return l5(yCe,e)}var lx,A7;function FCe(){if(A7)return lx;A7=1;var e=0,t=1,r=2,n=3;function a(o,s){return o+"§"+s}function i(){return .01*(.5-Math.random())}return lx=function(s,l){var u=s.margin,d=s.ratio,h=s.expansion,f=s.gridSize,m=s.speed,b,y,F,x,E,C,_=!0,D=l.length,w=D/n|0,A=new Float32Array(w),I=new Float32Array(w),M=1/0,L=1/0,U=-1/0,j=-1/0;for(b=0;b<D;b+=n)F=l[b+e],x=l[b+t],C=l[b+r]*d+u,M=Math.min(M,F-C),U=Math.max(U,F+C),L=Math.min(L,x-C),j=Math.max(j,x+C);var z=U-M,V=j-L,X=(M+U)/2,q=(L+j)/2;M=X-h*z/2,U=X+h*z/2,L=q-h*V/2,j=q+h*V/2;var W=new Array(f*f),B=W.length,te;for(te=0;te<B;te++)W[te]=[];var P,Z,K,G,ne,oe,de,ie,ue,Ne;for(b=0;b<D;b+=n)for(F=l[b+e],x=l[b+t],C=l[b+r]*d+u,P=F-C,Z=F+C,K=x-C,G=x+C,ne=Math.floor(f*(P-M)/(U-M)),oe=Math.floor(f*(Z-M)/(U-M)),de=Math.floor(f*(K-L)/(j-L)),ie=Math.floor(f*(G-L)/(j-L)),ue=ne;ue<=oe;ue++)for(Ne=de;Ne<=ie;Ne++)W[ue*f+Ne].push(b);var pe,Le=new Set,Me,Ee,Te,Re,fe,Ze,yt,qe,Ke,xe,Yt,nr,Pe;for(te=0;te<B;te++)for(pe=W[te],b=0,E=pe.length;b<E;b++)for(Me=pe[b],Te=l[Me+e],fe=l[Me+t],yt=l[Me+r],y=b+1;y<E;y++)Ee=pe[y],Ke=a(Me,Ee),!(B>1&&Le.has(Ke))&&(B>1&&Le.add(Ke),Re=l[Ee+e],Ze=l[Ee+t],qe=l[Ee+r],xe=Re-Te,Yt=Ze-fe,nr=Math.sqrt(xe*xe+Yt*Yt),Pe=nr<yt*d+u+(qe*d+u),Pe&&(_=!1,Ee=Ee/n|0,nr>0?(A[Ee]+=xe/nr*(1+yt),I[Ee]+=Yt/nr*(1+yt)):(A[Ee]+=z*i(),I[Ee]+=V*i())));for(b=0,y=0;b<D;b+=n,y++)l[b+e]+=A[y]*.1*m,l[b+t]+=I[y]*.1*m;return{converged:_}},lx}var tc={},_7;function JQ(){if(_7)return tc;_7=1;var e=3;return tc.validateSettings=function(t){return"gridSize"in t&&typeof t.gridSize!="number"||t.gridSize<=0?{message:"the `gridSize` setting should be a positive number."}:"margin"in t&&typeof t.margin!="number"||t.margin<0?{message:"the `margin` setting should be 0 or a positive number."}:"expansion"in t&&typeof t.expansion!="number"||t.expansion<=0?{message:"the `expansion` setting should be a positive number."}:"ratio"in t&&typeof t.ratio!="number"||t.ratio<=0?{message:"the `ratio` setting should be a positive number."}:"speed"in t&&typeof t.speed!="number"||t.speed<=0?{message:"the `speed` setting should be a positive number."}:null},tc.graphToByteArray=function(t,r){var n=t.order,a=new Float32Array(n*e),i=0;return t.forEachNode(function(o,s){typeof r=="function"&&(s=r(o,s)),a[i]=s.x,a[i+1]=s.y,a[i+2]=s.size||1,i+=e}),a},tc.assignLayoutChanges=function(t,r,n){var a=0;t.forEachNode(function(i){var o={x:r[a],y:r[a+1]};typeof n=="function"&&(o=n(i,o)),t.mergeNodeAttributes(i,o),a+=e})},tc.collectLayoutChanges=function(t,r,n){var a={},i=0;return t.forEachNode(function(o){var s={x:r[i],y:r[i+1]};typeof n=="function"&&(s=n(o,s)),a[o]=s,i+=e}),a},tc.createWorker=function(r){var n=window.URL||window.webkitURL,a=r.toString(),i=n.createObjectURL(new Blob(["("+a+").call(this);"],{type:"text/javascript"})),o=new Worker(i);return n.revokeObjectURL(i),o},tc}var ux,D7;function ZQ(){return D7||(D7=1,ux={gridSize:20,margin:5,expansion:1.1,ratio:1,speed:3}),ux}var cx,R7;function ECe(){if(R7)return cx;R7=1;var e=lo(),t=FCe(),r=JQ(),n=ZQ(),a=500;function i(s,l,u){if(!e(l))throw new Error("graphology-layout-noverlap: the given graph is not a valid graphology instance.");typeof u=="number"?u={maxIterations:u}:u=u||{};var d=u.maxIterations||a;if(typeof d!="number"||d<=0)throw new Error("graphology-layout-force: you should provide a positive number of maximum iterations.");var h=Object.assign({},n,u.settings),f=r.validateSettings(h);if(f)throw new Error("graphology-layout-noverlap: "+f.message);var m=r.graphToByteArray(l,u.inputReducer),b=!1,y;for(y=0;y<d&&!b;y++)b=t(h,m).converged;if(s){r.assignLayoutChanges(l,m,u.outputReducer);return}return r.collectLayoutChanges(l,m,u.outputReducer)}var o=i.bind(null,!1);return o.assign=i.bind(null,!0),cx=o,cx}var SCe=ECe();const xCe=On(SCe);var dx,N7;function wCe(){return N7||(N7=1,dx=function(){var t,r={};(function(){var a=0,i=1,o=2,s=3;function l(d,h){return d+"§"+h}function u(){return .01*(.5-Math.random())}r.exports=function(h,f){var m=h.margin,b=h.ratio,y=h.expansion,F=h.gridSize,x=h.speed,E,C,_,D,w,A,I=!0,M=f.length,L=M/s|0,U=new Float32Array(L),j=new Float32Array(L),z=1/0,V=1/0,X=-1/0,q=-1/0;for(E=0;E<M;E+=s)_=f[E+a],D=f[E+i],A=f[E+o]*b+m,z=Math.min(z,_-A),X=Math.max(X,_+A),V=Math.min(V,D-A),q=Math.max(q,D+A);var W=X-z,B=q-V,te=(z+X)/2,P=(V+q)/2;z=te-y*W/2,X=te+y*W/2,V=P-y*B/2,q=P+y*B/2;var Z=new Array(F*F),K=Z.length,G;for(G=0;G<K;G++)Z[G]=[];var ne,oe,de,ie,ue,Ne,pe,Le,Me,Ee;for(E=0;E<M;E+=s)for(_=f[E+a],D=f[E+i],A=f[E+o]*b+m,ne=_-A,oe=_+A,de=D-A,ie=D+A,ue=Math.floor(F*(ne-z)/(X-z)),Ne=Math.floor(F*(oe-z)/(X-z)),pe=Math.floor(F*(de-V)/(q-V)),Le=Math.floor(F*(ie-V)/(q-V)),Me=ue;Me<=Ne;Me++)for(Ee=pe;Ee<=Le;Ee++)Z[Me*F+Ee].push(E);var Te,Re=new Set,fe,Ze,yt,qe,Ke,xe,Yt,nr,Pe,Qe,me,ke,Ye;for(G=0;G<K;G++)for(Te=Z[G],E=0,w=Te.length;E<w;E++)for(fe=Te[E],yt=f[fe+a],Ke=f[fe+i],Yt=f[fe+o],C=E+1;C<w;C++)Ze=Te[C],Pe=l(fe,Ze),!(K>1&&Re.has(Pe))&&(K>1&&Re.add(Pe),qe=f[Ze+a],xe=f[Ze+i],nr=f[Ze+o],Qe=qe-yt,me=xe-Ke,ke=Math.sqrt(Qe*Qe+me*me),Ye=ke<Yt*b+m+(nr*b+m),Ye&&(I=!1,Ze=Ze/s|0,ke>0?(U[Ze]+=Qe/ke*(1+Yt),j[Ze]+=me/ke*(1+Yt)):(U[Ze]+=W*u(),j[Ze]+=B*u())));for(E=0,C=0;E<M;E+=s,C++)f[E+a]+=U[C]*.1*x,f[E+i]+=j[C]*.1*x;return{converged:I}}})();var n=r.exports;self.addEventListener("message",function(a){var i=a.data;t=new Float32Array(i.nodes);var o=n(i.settings,t);self.postMessage({result:o,nodes:t.buffer},[t.buffer])})}),dx}var hx,L7;function kCe(){if(L7)return hx;L7=1;var e=wCe(),t=lo(),r=JQ(),n=ZQ();function a(i,o){if(o=o||{},!t(i))throw new Error("graphology-layout-noverlap/worker: the given graph is not a valid graphology instance.");var s=Object.assign({},n,o.settings),l=r.validateSettings(s);if(l)throw new Error("graphology-layout-noverlap/worker: "+l.message);this.worker=null,this.graph=i,this.settings=s,this.matrices=null,this.running=!1,this.killed=!1,this.inputReducer=o.inputReducer,this.outputReducer=o.outputReducer,this.callbacks={onConverged:typeof o.onConverged=="function"?o.onConverged:null},this.handleMessage=this.handleMessage.bind(this);var u=!1,d=this;this.handleAddition=function(){u||(u=!0,d.spawnWorker(),setTimeout(function(){u=!1},0))},i.on("nodeAdded",this.handleAddition),i.on("edgeAdded",this.handleAddition),this.spawnWorker()}return a.prototype.isRunning=function(){return this.running},a.prototype.spawnWorker=function(){this.worker&&this.worker.terminate(),this.worker=r.createWorker(e),this.worker.addEventListener("message",this.handleMessage),this.running&&(this.running=!1,this.start())},a.prototype.handleMessage=function(i){if(this.running){var o=new Float32Array(i.data.nodes);if(r.assignLayoutChanges(this.graph,o,this.outputReducer),this.matrices.nodes=o,i.data.result.converged){this.callbacks.onConverged&&this.callbacks.onConverged(),this.stop();return}this.askForIterations()}},a.prototype.askForIterations=function(){var i=this.matrices,o={settings:this.settings,nodes:i.nodes.buffer},s=[i.nodes.buffer];return this.worker.postMessage(o,s),this},a.prototype.start=function(){if(this.killed)throw new Error("graphology-layout-noverlap/worker.start: layout was killed.");return this.running?this:(this.matrices={nodes:r.graphToByteArray(this.graph,this.inputReducer)},this.running=!0,this.askForIterations(),this)},a.prototype.stop=function(){return this.running=!1,this},a.prototype.kill=function(){if(this.killed)return this;this.running=!1,this.killed=!0,this.matrices=null,this.worker.terminate(),this.graph.removeListener("nodeAdded",this.handleAddition),this.graph.removeListener("edgeAdded",this.handleAddition)},hx=a,hx}var CCe=kCe();const TCe=On(CCe);function ACe(e={}){return sp(xCe,e)}function _Ce(e={}){return l5(TCe,e)}var px,M7;function DCe(){if(M7)return px;M7=1;var e=y0(),t=lo(),r={dimensions:["x","y"],center:.5,rng:Math.random,scale:1};function n(i,o,s){if(!t(o))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");s=e(s,r);var l=s.dimensions;if(!Array.isArray(l)||l.length<1)throw new Error("graphology-layout/random: given dimensions are invalid.");var u=l.length,d=s.center,h=s.rng,f=s.scale,m=(d-.5)*f;function b(F){for(var x=0;x<u;x++)F[l[x]]=h()*f+m;return F}if(!i){var y={};return o.forEachNode(function(F){y[F]=b({})}),y}o.updateEachNodeAttributes(function(F,x){return b(x),x},{attributes:l})}var a=n.bind(null,!1);return a.assign=n.bind(null,!0),px=a,px}var RCe=DCe();const NCe=On(RCe);function LCe(e={}){return sp(NCe,e)}var I7=1,MCe=.9,ICe=.8,OCe=.17,fx=.1,mx=.999,BCe=.9999,PCe=.99,zCe=/[\\\/_+.#"@\[\(\{&]/,HCe=/[\\\/_+.#"@\[\(\{&]/g,UCe=/[\s-]/,QQ=/[\s-]/g;function aD(e,t,r,n,a,i,o){if(i===t.length)return a===e.length?I7:PCe;var s=`${a},${i}`;if(o[s]!==void 0)return o[s];for(var l=n.charAt(i),u=r.indexOf(l,a),d=0,h,f,m,b;u>=0;)h=aD(e,t,r,n,u+1,i+1,o),h>d&&(u===a?h*=I7:zCe.test(e.charAt(u-1))?(h*=ICe,m=e.slice(a,u-1).match(HCe),m&&a>0&&(h*=Math.pow(mx,m.length))):UCe.test(e.charAt(u-1))?(h*=MCe,b=e.slice(a,u-1).match(QQ),b&&a>0&&(h*=Math.pow(mx,b.length))):(h*=OCe,a>0&&(h*=Math.pow(mx,u-a))),e.charAt(u)!==t.charAt(i)&&(h*=BCe)),(h<fx&&r.charAt(u-1)===n.charAt(i+1)||n.charAt(i+1)===n.charAt(i)&&r.charAt(u-1)!==n.charAt(i))&&(f=aD(e,t,r,n,u+1,i+2,o),f*fx>h&&(h=f*fx)),h>d&&(d=h),u=r.indexOf(l,u+1);return o[s]=d,d}function O7(e){return e.toLowerCase().replace(QQ," ")}function GCe(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,aD(e,t,O7(e),O7(t),0,0,{})}var gx={exports:{}},bx={};/**
|
||
* @license React
|
||
* use-sync-external-store-shim.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var B7;function $Ce(){if(B7)return bx;B7=1;var e=ov();function t(h,f){return h===f&&(h!==0||1/h===1/f)||h!==h&&f!==f}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,a=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function s(h,f){var m=f(),b=n({inst:{value:m,getSnapshot:f}}),y=b[0].inst,F=b[1];return i(function(){y.value=m,y.getSnapshot=f,l(y)&&F({inst:y})},[h,m,f]),a(function(){return l(y)&&F({inst:y}),h(function(){l(y)&&F({inst:y})})},[h]),o(m),m}function l(h){var f=h.getSnapshot;h=h.value;try{var m=f();return!r(h,m)}catch{return!0}}function u(h,f){return f()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return bx.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,bx}var P7;function jCe(){return P7||(P7=1,gx.exports=$Ce()),gx.exports}var qCe=jCe(),_f='[cmdk-group=""]',yx='[cmdk-group-items=""]',WCe='[cmdk-group-heading=""]',c5='[cmdk-item=""]',z7=`${c5}:not([aria-disabled="true"])`,iD="cmdk-item-select",uc="data-value",VCe=(e,t,r)=>GCe(e,t,r),eee=T.createContext(void 0),v0=()=>T.useContext(eee),tee=T.createContext(void 0),d5=()=>T.useContext(tee),ree=T.createContext(void 0),nee=T.forwardRef((e,t)=>{let r=Xd(()=>{var K,G;return{search:"",value:(G=(K=e.value)!=null?K:e.defaultValue)!=null?G:"",filtered:{count:0,items:new Map,groups:new Set}}}),n=Xd(()=>new Set),a=Xd(()=>new Map),i=Xd(()=>new Map),o=Xd(()=>new Set),s=aee(e),{label:l,children:u,value:d,onValueChange:h,filter:f,shouldFilter:m,loop:b,disablePointerSelection:y=!1,vimBindings:F=!0,...x}=e,E=Aa(),C=Aa(),_=Aa(),D=T.useRef(null),w=aTe();Dc(()=>{if(d!==void 0){let K=d.trim();r.current.value=K,A.emit()}},[d]),Dc(()=>{w(6,z)},[]);let A=T.useMemo(()=>({subscribe:K=>(o.current.add(K),()=>o.current.delete(K)),snapshot:()=>r.current,setState:(K,G,ne)=>{var oe,de,ie;if(!Object.is(r.current[K],G)){if(r.current[K]=G,K==="search")j(),L(),w(1,U);else if(K==="value"&&(ne||w(5,z),((oe=s.current)==null?void 0:oe.value)!==void 0)){let ue=G??"";(ie=(de=s.current).onValueChange)==null||ie.call(de,ue);return}A.emit()}},emit:()=>{o.current.forEach(K=>K())}}),[]),I=T.useMemo(()=>({value:(K,G,ne)=>{var oe;G!==((oe=i.current.get(K))==null?void 0:oe.value)&&(i.current.set(K,{value:G,keywords:ne}),r.current.filtered.items.set(K,M(G,ne)),w(2,()=>{L(),A.emit()}))},item:(K,G)=>(n.current.add(K),G&&(a.current.has(G)?a.current.get(G).add(K):a.current.set(G,new Set([K]))),w(3,()=>{j(),L(),r.current.value||U(),A.emit()}),()=>{i.current.delete(K),n.current.delete(K),r.current.filtered.items.delete(K);let ne=V();w(4,()=>{j(),(ne==null?void 0:ne.getAttribute("id"))===K&&U(),A.emit()})}),group:K=>(a.current.has(K)||a.current.set(K,new Set),()=>{i.current.delete(K),a.current.delete(K)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:E,inputId:_,labelId:C,listInnerRef:D}),[]);function M(K,G){var ne,oe;let de=(oe=(ne=s.current)==null?void 0:ne.filter)!=null?oe:VCe;return K?de(K,r.current.search,G):0}function L(){if(!r.current.search||s.current.shouldFilter===!1)return;let K=r.current.filtered.items,G=[];r.current.filtered.groups.forEach(oe=>{let de=a.current.get(oe),ie=0;de.forEach(ue=>{let Ne=K.get(ue);ie=Math.max(Ne,ie)}),G.push([oe,ie])});let ne=D.current;X().sort((oe,de)=>{var ie,ue;let Ne=oe.getAttribute("id"),pe=de.getAttribute("id");return((ie=K.get(pe))!=null?ie:0)-((ue=K.get(Ne))!=null?ue:0)}).forEach(oe=>{let de=oe.closest(yx);de?de.appendChild(oe.parentElement===de?oe:oe.closest(`${yx} > *`)):ne.appendChild(oe.parentElement===ne?oe:oe.closest(`${yx} > *`))}),G.sort((oe,de)=>de[1]-oe[1]).forEach(oe=>{var de;let ie=(de=D.current)==null?void 0:de.querySelector(`${_f}[${uc}="${encodeURIComponent(oe[0])}"]`);ie==null||ie.parentElement.appendChild(ie)})}function U(){let K=X().find(ne=>ne.getAttribute("aria-disabled")!=="true"),G=K==null?void 0:K.getAttribute(uc);A.setState("value",G||void 0)}function j(){var K,G,ne,oe;if(!r.current.search||s.current.shouldFilter===!1){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let de=0;for(let ie of n.current){let ue=(G=(K=i.current.get(ie))==null?void 0:K.value)!=null?G:"",Ne=(oe=(ne=i.current.get(ie))==null?void 0:ne.keywords)!=null?oe:[],pe=M(ue,Ne);r.current.filtered.items.set(ie,pe),pe>0&&de++}for(let[ie,ue]of a.current)for(let Ne of ue)if(r.current.filtered.items.get(Ne)>0){r.current.filtered.groups.add(ie);break}r.current.filtered.count=de}function z(){var K,G,ne;let oe=V();oe&&(((K=oe.parentElement)==null?void 0:K.firstChild)===oe&&((ne=(G=oe.closest(_f))==null?void 0:G.querySelector(WCe))==null||ne.scrollIntoView({block:"nearest"})),oe.scrollIntoView({block:"nearest"}))}function V(){var K;return(K=D.current)==null?void 0:K.querySelector(`${c5}[aria-selected="true"]`)}function X(){var K;return Array.from(((K=D.current)==null?void 0:K.querySelectorAll(z7))||[])}function q(K){let G=X()[K];G&&A.setState("value",G.getAttribute(uc))}function W(K){var G;let ne=V(),oe=X(),de=oe.findIndex(ue=>ue===ne),ie=oe[de+K];(G=s.current)!=null&&G.loop&&(ie=de+K<0?oe[oe.length-1]:de+K===oe.length?oe[0]:oe[de+K]),ie&&A.setState("value",ie.getAttribute(uc))}function B(K){let G=V(),ne=G==null?void 0:G.closest(_f),oe;for(;ne&&!oe;)ne=K>0?rTe(ne,_f):nTe(ne,_f),oe=ne==null?void 0:ne.querySelector(z7);oe?A.setState("value",oe.getAttribute(uc)):W(K)}let te=()=>q(X().length-1),P=K=>{K.preventDefault(),K.metaKey?te():K.altKey?B(1):W(1)},Z=K=>{K.preventDefault(),K.metaKey?q(0):K.altKey?B(-1):W(-1)};return T.createElement(Kt.div,{ref:t,tabIndex:-1,...x,"cmdk-root":"",onKeyDown:K=>{var G;if((G=x.onKeyDown)==null||G.call(x,K),!K.defaultPrevented)switch(K.key){case"n":case"j":{F&&K.ctrlKey&&P(K);break}case"ArrowDown":{P(K);break}case"p":case"k":{F&&K.ctrlKey&&Z(K);break}case"ArrowUp":{Z(K);break}case"Home":{K.preventDefault(),q(0);break}case"End":{K.preventDefault(),te();break}case"Enter":if(!K.nativeEvent.isComposing&&K.keyCode!==229){K.preventDefault();let ne=V();if(ne){let oe=new Event(iD);ne.dispatchEvent(oe)}}}}},T.createElement("label",{"cmdk-label":"",htmlFor:I.inputId,id:I.labelId,style:oTe},l),Zv(e,K=>T.createElement(tee.Provider,{value:A},T.createElement(eee.Provider,{value:I},K))))}),KCe=T.forwardRef((e,t)=>{var r,n;let a=Aa(),i=T.useRef(null),o=T.useContext(ree),s=v0(),l=aee(e),u=(n=(r=l.current)==null?void 0:r.forceMount)!=null?n:o==null?void 0:o.forceMount;Dc(()=>{if(!u)return s.item(a,o==null?void 0:o.id)},[u]);let d=iee(a,i,[e.value,e.children,i],e.keywords),h=d5(),f=Rc(w=>w.value&&w.value===d.current),m=Rc(w=>u||s.filter()===!1?!0:w.search?w.filtered.items.get(a)>0:!0);T.useEffect(()=>{let w=i.current;if(!(!w||e.disabled))return w.addEventListener(iD,b),()=>w.removeEventListener(iD,b)},[m,e.onSelect,e.disabled]);function b(){var w,A;y(),(A=(w=l.current).onSelect)==null||A.call(w,d.current)}function y(){h.setState("value",d.current,!0)}if(!m)return null;let{disabled:F,value:x,onSelect:E,forceMount:C,keywords:_,...D}=e;return T.createElement(Kt.div,{ref:Rm([i,t]),...D,id:a,"cmdk-item":"",role:"option","aria-disabled":!!F,"aria-selected":!!f,"data-disabled":!!F,"data-selected":!!f,onPointerMove:F||s.getDisablePointerSelection()?void 0:y,onClick:F?void 0:b},e.children)}),YCe=T.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:a,...i}=e,o=Aa(),s=T.useRef(null),l=T.useRef(null),u=Aa(),d=v0(),h=Rc(m=>a||d.filter()===!1?!0:m.search?m.filtered.groups.has(o):!0);Dc(()=>d.group(o),[]),iee(o,s,[e.value,e.heading,l]);let f=T.useMemo(()=>({id:o,forceMount:a}),[a]);return T.createElement(Kt.div,{ref:Rm([s,t]),...i,"cmdk-group":"",role:"presentation",hidden:h?void 0:!0},r&&T.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:u},r),Zv(e,m=>T.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?u:void 0},T.createElement(ree.Provider,{value:f},m))))}),XCe=T.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,a=T.useRef(null),i=Rc(o=>!o.search);return!r&&!i?null:T.createElement(Kt.div,{ref:Rm([a,t]),...n,"cmdk-separator":"",role:"separator"})}),JCe=T.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,a=e.value!=null,i=d5(),o=Rc(d=>d.search),s=Rc(d=>d.value),l=v0(),u=T.useMemo(()=>{var d;let h=(d=l.listInnerRef.current)==null?void 0:d.querySelector(`${c5}[${uc}="${encodeURIComponent(s)}"]`);return h==null?void 0:h.getAttribute("id")},[]);return T.useEffect(()=>{e.value!=null&&i.setState("search",e.value)},[e.value]),T.createElement(Kt.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":u,id:l.inputId,type:"text",value:a?e.value:o,onChange:d=>{a||i.setState("search",d.target.value),r==null||r(d.target.value)}})}),ZCe=T.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...a}=e,i=T.useRef(null),o=T.useRef(null),s=v0();return T.useEffect(()=>{if(o.current&&i.current){let l=o.current,u=i.current,d,h=new ResizeObserver(()=>{d=requestAnimationFrame(()=>{let f=l.offsetHeight;u.style.setProperty("--cmdk-list-height",f.toFixed(1)+"px")})});return h.observe(l),()=>{cancelAnimationFrame(d),h.unobserve(l)}}},[]),T.createElement(Kt.div,{ref:Rm([i,t]),...a,"cmdk-list":"",role:"listbox","aria-label":n,id:s.listId},Zv(e,l=>T.createElement("div",{ref:Rm([o,s.listInnerRef]),"cmdk-list-sizer":""},l)))}),QCe=T.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:a,contentClassName:i,container:o,...s}=e;return T.createElement(wR,{open:r,onOpenChange:n},T.createElement(kR,{container:o},T.createElement(_v,{"cmdk-overlay":"",className:a}),T.createElement(Dv,{"aria-label":e.label,"cmdk-dialog":"",className:i},T.createElement(nee,{ref:t,...s}))))}),eTe=T.forwardRef((e,t)=>Rc(r=>r.filtered.count===0)?T.createElement(Kt.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),tTe=T.forwardRef((e,t)=>{let{progress:r,children:n,label:a="Loading...",...i}=e;return T.createElement(Kt.div,{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},Zv(e,o=>T.createElement("div",{"aria-hidden":!0},o)))}),li=Object.assign(nee,{List:ZCe,Item:KCe,Input:JCe,Group:YCe,Separator:XCe,Dialog:QCe,Empty:eTe,Loading:tTe});function rTe(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function nTe(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function aee(e){let t=T.useRef(e);return Dc(()=>{t.current=e}),t}var Dc=typeof window>"u"?T.useEffect:T.useLayoutEffect;function Xd(e){let t=T.useRef();return t.current===void 0&&(t.current=e()),t}function Rm(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function Rc(e){let t=d5(),r=()=>e(t.snapshot());return qCe.useSyncExternalStore(t.subscribe,r,r)}function iee(e,t,r,n=[]){let a=T.useRef(),i=v0();return Dc(()=>{var o;let s=(()=>{var u;for(let d of r){if(typeof d=="string")return d.trim();if(typeof d=="object"&&"current"in d)return d.current?(u=d.current.textContent)==null?void 0:u.trim():a.current}})(),l=n.map(u=>u.trim());i.value(e,s,l),(o=t.current)==null||o.setAttribute(uc,s),a.current=s}),a}var aTe=()=>{let[e,t]=T.useState(),r=Xd(()=>new Map);return Dc(()=>{r.current.forEach(n=>n()),r.current=new Map},[e]),(n,a)=>{r.current.set(n,a),t({})}};function iTe(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function Zv({asChild:e,children:t},r){return e&&T.isValidElement(t)?T.cloneElement(iTe(t),{ref:t.ref},r(t.props.children)):r(t)}var oTe={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const Qv=T.forwardRef(({className:e,...t},r)=>S.jsx(li,{ref:r,className:ut("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...t}));Qv.displayName=li.displayName;const h5=T.forwardRef(({className:e,...t},r)=>S.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[S.jsx(XFe,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),S.jsx(li.Input,{ref:r,className:ut("placeholder:text-muted-foreground flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));h5.displayName=li.Input.displayName;const e2=T.forwardRef(({className:e,...t},r)=>S.jsx(li.List,{ref:r,className:ut("max-h-[300px] overflow-x-hidden overflow-y-auto",e),...t}));e2.displayName=li.List.displayName;const p5=T.forwardRef((e,t)=>S.jsx(li.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));p5.displayName=li.Empty.displayName;const lp=T.forwardRef(({className:e,...t},r)=>S.jsx(li.Group,{ref:r,className:ut("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t}));lp.displayName=li.Group.displayName;const sTe=T.forwardRef(({className:e,...t},r)=>S.jsx(li.Separator,{ref:r,className:ut("bg-border -mx-1 h-px",e),...t}));sTe.displayName=li.Separator.displayName;const up=T.forwardRef(({className:e,...t},r)=>S.jsx(li.Item,{ref:r,className:ut("data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));up.displayName=li.Item.displayName;const lTe=({layout:e,autoRunFor:t,mainLayout:r})=>{const n=Lo(),[a,i]=T.useState(!1),o=T.useRef(null),{t:s}=Er(),l=T.useCallback(()=>{if(n)try{const d=n.getGraph();if(!d||d.order===0)return;const h=r.positions();wQ(d,h,{duration:300})}catch(d){console.error("Error updating positions:",d),o.current&&(window.clearInterval(o.current),o.current=null,i(!1))}},[n,r]),u=T.useCallback(()=>{if(a){console.log("Stopping layout animation"),o.current&&(window.clearInterval(o.current),o.current=null);try{typeof e.kill=="function"?(e.kill(),console.log("Layout algorithm killed")):typeof e.stop=="function"&&(e.stop(),console.log("Layout algorithm stopped"))}catch(d){console.error("Error stopping layout algorithm:",d)}i(!1)}else console.log("Starting layout animation"),l(),o.current=window.setInterval(()=>{l()},200),i(!0),setTimeout(()=>{if(o.current){console.log("Auto-stopping layout animation after 3 seconds"),window.clearInterval(o.current),o.current=null,i(!1);try{typeof e.kill=="function"?e.kill():typeof e.stop=="function"&&e.stop()}catch(d){console.error("Error stopping layout algorithm:",d)}}},3e3)},[a,e,l]);return T.useEffect(()=>{if(!n){console.log("No sigma instance available");return}let d=null;return t!==void 0&&t>-1&&n.getGraph().order>0&&(console.log("Auto-starting layout animation"),l(),o.current=window.setInterval(()=>{l()},200),i(!0),t>0&&(d=window.setTimeout(()=>{console.log("Auto-stopping layout animation after timeout"),o.current&&(window.clearInterval(o.current),o.current=null),i(!1)},t))),()=>{o.current&&(window.clearInterval(o.current),o.current=null),d&&window.clearTimeout(d),i(!1)}},[t,n,l]),S.jsx(Ot,{size:"icon",onClick:u,tooltip:s(a?"graphPanel.sideBar.layoutsControl.stopAnimation":"graphPanel.sideBar.layoutsControl.startAnimation"),variant:eo,children:a?S.jsx(PFe,{}):S.jsx(GFe,{})})},uTe=()=>{const e=Lo(),{t}=Er(),[r,n]=T.useState("Circular"),[a,i]=T.useState(!1),o=rt.use.graphLayoutMaxIterations(),s=rCe(),l=Zke(),u=LCe(),d=ACe({maxIterations:o,settings:{margin:5,expansion:1.1,gridSize:1,ratio:1,speed:3}}),h=uCe({maxIterations:o,settings:{attraction:3e-4,repulsion:.02,gravity:.02,inertia:.4,maxMove:100}}),f=XQ({iterations:o}),m=_Ce(),b=cCe(),y=vCe(),F=T.useMemo(()=>({Circular:{layout:s},Circlepack:{layout:l},Random:{layout:u},Noverlaps:{layout:d,worker:m},"Force Directed":{layout:h,worker:b},"Force Atlas":{layout:f,worker:y}}),[l,s,h,f,d,u,b,m,y]),x=T.useCallback(E=>{console.debug("Running layout:",E);const{positions:C}=F[E].layout;try{const _=e.getGraph();if(!_){console.error("No graph available");return}const D=C();console.log("Positions calculated, animating nodes"),wQ(_,D,{duration:400}),n(E)}catch(_){console.error("Error running layout:",_)}},[F,e]);return S.jsxs("div",{children:[S.jsx("div",{children:F[r]&&"worker"in F[r]&&S.jsx(lTe,{layout:F[r].worker,mainLayout:F[r].layout})}),S.jsx("div",{children:S.jsxs(Gv,{open:a,onOpenChange:i,children:[S.jsx($v,{asChild:!0,children:S.jsx(Ot,{size:"icon",variant:eo,onClick:()=>i(E=>!E),tooltip:t("graphPanel.sideBar.layoutsControl.layoutGraph"),children:S.jsx(wFe,{})})}),S.jsx(h0,{side:"right",align:"start",sideOffset:8,collisionPadding:5,sticky:"always",className:"p-1 min-w-auto",children:S.jsx(Qv,{children:S.jsx(e2,{children:S.jsx(lp,{children:Object.keys(F).map(E=>S.jsx(up,{onSelect:()=>{x(E)},className:"cursor-pointer text-xs",children:t(`graphPanel.sideBar.layoutsControl.layouts.${E}`)},E))})})})})]})})]})},f5=()=>{const e=T.useContext(HY);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},T1=e=>!!(e.type.startsWith("mouse")&&e.buttons!==0),cTe=({disableHoverEffect:e})=>{const t=Lo(),r=_Q(),n=AQ(),a=rt.use.graphLayoutMaxIterations(),{assign:i}=XQ({iterations:a}),{theme:o}=f5(),s=rt.use.enableHideUnselectedEdges(),l=rt.use.enableEdgeEvents(),u=rt.use.showEdgeLabel(),d=rt.use.showNodeLabel(),h=rt.use.minEdgeSize(),f=rt.use.maxEdgeSize(),m=ht.use.selectedNode(),b=ht.use.focusedNode(),y=ht.use.selectedEdge(),F=ht.use.focusedEdge(),x=ht.use.sigmaGraph(),[E,C]=T.useState(()=>window.matchMedia("(prefers-color-scheme: dark)").matches);return T.useEffect(()=>{if(o==="system"){const _=window.matchMedia("(prefers-color-scheme: dark)"),D=w=>C(w.matches);return _.addEventListener("change",D),()=>_.removeEventListener("change",D)}},[o]),T.useEffect(()=>{if(x&&t){try{typeof t.setGraph=="function"?(t.setGraph(x),console.log("Binding graph to sigma instance")):(t.graph=x,console.warn("Simgma missing setGraph function, set graph property directly"))}catch(_){console.error("Error setting graph on sigma instance:",_)}i(),console.log("Initial layout applied to graph")}},[t,x,i,a]),T.useEffect(()=>{t&&(ht.getState().sigmaInstance||(console.log("Setting sigma instance from GraphControl"),ht.getState().setSigmaInstance(t)))},[t]),T.useEffect(()=>{const{setFocusedNode:_,setSelectedNode:D,setFocusedEdge:w,setSelectedEdge:A,clearSelection:I}=ht.getState(),M={enterNode:L=>{T1(L.event.original)||t.getGraph().hasNode(L.node)&&_(L.node)},leaveNode:L=>{T1(L.event.original)||_(null)},clickNode:L=>{t.getGraph().hasNode(L.node)&&(D(L.node),A(null))},clickStage:()=>I()};return l&&(M.clickEdge=L=>{A(L.edge),D(null)},M.enterEdge=L=>{T1(L.event.original)||w(L.edge)},M.leaveEdge=L=>{T1(L.event.original)||w(null)}),r(M),()=>{try{console.log("Cleaning up graph event listeners")}catch(L){console.warn("Error cleaning up graph event listeners:",L)}}},[r,l,t]),T.useEffect(()=>{if(t&&x){const _=t.getGraph();let D=Number.MAX_SAFE_INTEGER,w=0;_.forEachEdge(I=>{const M=_.getEdgeAttribute(I,"originalWeight")||1;typeof M=="number"&&(D=Math.min(D,M),w=Math.max(w,M))});const A=w-D;if(A>0){const I=f-h;_.forEachEdge(M=>{const L=_.getEdgeAttribute(M,"originalWeight")||1;if(typeof L=="number"){const U=h+I*Math.pow((L-D)/A,.5);_.setEdgeAttribute(M,"size",U)}})}else _.forEachEdge(I=>{_.setEdgeAttribute(I,"size",h)});t.refresh()}},[t,x,h,f]),T.useEffect(()=>{const _=o==="dark"||o==="system"&&window.document.documentElement.classList.contains("dark"),D=_?x_:void 0,w=_?t1e:void 0;n({enableEdgeEvents:l,renderEdgeLabels:u,renderLabels:d,nodeReducer:(A,I)=>{const M=t.getGraph();if(!M.hasNode(A))return console.warn(`Node ${A} not found in graph during theme switch, returning default data`),{...I,highlighted:!1,labelColor:D};const L={...I,highlighted:I.highlighted||!1,labelColor:D};if(!e){L.highlighted=!1;const U=b||m,j=F||y;if(U&&M.hasNode(U))try{(A===U||M.neighbors(U).includes(A))&&(L.highlighted=!0,A===m&&(L.borderColor=e1e))}catch(z){return console.error("Error in nodeReducer:",z),{...I,highlighted:!1,labelColor:D}}else if(j&&M.hasEdge(j))try{M.extremities(j).includes(A)&&(L.highlighted=!0,L.size=3)}catch(z){return console.error("Error accessing edge extremities in nodeReducer:",z),{...I,highlighted:!1,labelColor:D}}else return L;L.highlighted?_&&(L.labelColor=Zge):L.color=Qge}return L},edgeReducer:(A,I)=>{const M=t.getGraph();if(!M.hasEdge(A))return console.warn(`Edge ${A} not found in graph during theme switch, returning default data`),{...I,hidden:!1,labelColor:D,color:w};const L={...I,hidden:!1,labelColor:D,color:w};if(!e){const U=b||m,j=_?n1e:a1e;if(U&&M.hasNode(U))try{s?M.extremities(A).includes(U)||(L.hidden=!0):M.extremities(A).includes(U)&&(L.color=j)}catch(z){return console.error("Error in edgeReducer:",z),{...I,hidden:!1,labelColor:D,color:w}}else{const z=y&&M.hasEdge(y)?y:null,V=F&&M.hasEdge(F)?F:null;(z||V)&&(A===z?L.color=r1e:A===V?L.color=j:s&&(L.hidden=!0))}}return L}})},[m,b,y,F,n,t,e,o,E,s,l,u,d]),null},dTe=()=>{const{zoomIn:e,zoomOut:t,reset:r}=DQ({duration:200,factor:1.5}),n=Lo(),{t:a}=Er(),i=T.useCallback(()=>e(),[e]),o=T.useCallback(()=>t(),[t]),s=T.useCallback(()=>{if(n)try{n.setCustomBBox(null),n.refresh();const d=n.getGraph();if(!(d!=null&&d.order)||d.nodes().length===0){r();return}n.getCamera().animate({x:.5,y:.5,ratio:1.1},{duration:1e3})}catch(d){console.error("Error resetting zoom:",d),r()}},[n,r]),l=T.useCallback(()=>{if(!n)return;const d=n.getCamera(),f=d.angle+Math.PI/8;d.animate({angle:f},{duration:200})},[n]),u=T.useCallback(()=>{if(!n)return;const d=n.getCamera(),f=d.angle-Math.PI/8;d.animate({angle:f},{duration:200})},[n]);return S.jsxs(S.Fragment,{children:[S.jsx(Ot,{variant:eo,onClick:l,tooltip:a("graphPanel.sideBar.zoomControl.rotateCamera"),size:"icon",children:S.jsx(WFe,{})}),S.jsx(Ot,{variant:eo,onClick:u,tooltip:a("graphPanel.sideBar.zoomControl.rotateCameraCounterClockwise"),size:"icon",children:S.jsx(ty,{})}),S.jsx(Ot,{variant:eo,onClick:s,tooltip:a("graphPanel.sideBar.zoomControl.resetZoom"),size:"icon",children:S.jsx(yFe,{})}),S.jsx(Ot,{variant:eo,onClick:i,tooltip:a("graphPanel.sideBar.zoomControl.zoomIn"),size:"icon",children:S.jsx(cEe,{})}),S.jsx(Ot,{variant:eo,onClick:o,tooltip:a("graphPanel.sideBar.zoomControl.zoomOut"),size:"icon",children:S.jsx(hEe,{})})]})},hTe=()=>{const{isFullScreen:e,toggle:t}=Ywe(),{t:r}=Er();return S.jsx(S.Fragment,{children:e?S.jsx(Ot,{variant:eo,onClick:t,tooltip:r("graphPanel.sideBar.fullScreenControl.windowed"),size:"icon",children:S.jsx(MFe,{})}):S.jsx(Ot,{variant:eo,onClick:t,tooltip:r("graphPanel.sideBar.fullScreenControl.fullScreen"),size:"icon",children:S.jsx(NFe,{})})})};var m5="Checkbox",[pTe,Jut]=Ro(m5),[fTe,mTe]=pTe(m5),oee=T.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:a,defaultChecked:i,required:o,disabled:s,value:l="on",onCheckedChange:u,form:d,...h}=e,[f,m]=T.useState(null),b=_r(t,_=>m(_)),y=T.useRef(!1),F=f?d||!!f.closest("form"):!0,[x=!1,E]=cl({prop:a,defaultProp:i,onChange:u}),C=T.useRef(x);return T.useEffect(()=>{const _=f==null?void 0:f.form;if(_){const D=()=>E(C.current);return _.addEventListener("reset",D),()=>_.removeEventListener("reset",D)}},[f,E]),S.jsxs(fTe,{scope:r,state:x,disabled:s,children:[S.jsx(Kt.button,{type:"button",role:"checkbox","aria-checked":cu(x)?"mixed":x,"aria-required":o,"data-state":uee(x),"data-disabled":s?"":void 0,disabled:s,value:l,...h,ref:b,onKeyDown:Gt(e.onKeyDown,_=>{_.key==="Enter"&&_.preventDefault()}),onClick:Gt(e.onClick,_=>{E(D=>cu(D)?!0:!D),F&&(y.current=_.isPropagationStopped(),y.current||_.stopPropagation())})}),F&&S.jsx(gTe,{control:f,bubbles:!y.current,name:n,value:l,checked:x,required:o,disabled:s,form:d,style:{transform:"translateX(-100%)"},defaultChecked:cu(i)?!1:i})]})});oee.displayName=m5;var see="CheckboxIndicator",lee=T.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...a}=e,i=mTe(see,r);return S.jsx(Li,{present:n||cu(i.state)||i.state===!0,children:S.jsx(Kt.span,{"data-state":uee(i.state),"data-disabled":i.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});lee.displayName=see;var gTe=e=>{const{control:t,checked:r,bubbles:n=!0,defaultChecked:a,...i}=e,o=T.useRef(null),s=PJ(r),l=JX(t);T.useEffect(()=>{const d=o.current,h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(s!==r&&m){const b=new Event("click",{bubbles:n});d.indeterminate=cu(r),m.call(d,cu(r)?!1:r),d.dispatchEvent(b)}},[s,r,n]);const u=T.useRef(cu(r)?!1:r);return S.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a??u.current,...i,tabIndex:-1,ref:o,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function cu(e){return e==="indeterminate"}function uee(e){return cu(e)?"indeterminate":e?"checked":"unchecked"}var cee=oee,bTe=lee;const iu=T.forwardRef(({className:e,...t},r)=>S.jsx(cee,{ref:r,className:ut("peer border-primary ring-offset-background focus-visible:ring-ring data-[state=checked]:bg-muted data-[state=checked]:text-muted-foreground h-4 w-4 shrink-0 rounded-sm border focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:S.jsx(bTe,{className:ut("flex items-center justify-center text-current"),children:S.jsx($R,{className:"h-4 w-4"})})}));iu.displayName=cee.displayName;var yTe="Separator",H7="horizontal",vTe=["horizontal","vertical"],dee=T.forwardRef((e,t)=>{const{decorative:r,orientation:n=H7,...a}=e,i=FTe(n)?n:H7,s=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return S.jsx(Kt.div,{"data-orientation":i,...s,...a,ref:t})});dee.displayName=yTe;function FTe(e){return vTe.includes(e)}var hee=dee;const Zf=T.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...n},a)=>S.jsx(hee,{ref:a,decorative:r,orientation:t,className:ut("bg-border shrink-0",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Zf.displayName=hee.displayName;var ETe=[{name:"Aegean Airlines",iataCode:"A3"},{name:"Aeroflot",iataCode:"SU"},{name:"Aerolineas Argentinas",iataCode:"AR"},{name:"Aeromexico",iataCode:"AM"},{name:"Air Algerie",iataCode:"AH"},{name:"Air Arabia",iataCode:"G9"},{name:"Air Canada",iataCode:"AC"},{name:"Air China",iataCode:"CA"},{name:"Air Europa",iataCode:"UX"},{name:"Air France-KLM",iataCode:"AF"},{name:"Air India",iataCode:"AI"},{name:"Air Mauritius",iataCode:"MK"},{name:"Air New Zealand",iataCode:"NZ"},{name:"Air Niugini",iataCode:"PX"},{name:"Air Tahiti",iataCode:"VT"},{name:"Air Tahiti Nui",iataCode:"TN"},{name:"Air Transat",iataCode:"TS"},{name:"AirAsia X",iataCode:"D7"},{name:"AirAsia",iataCode:"AK"},{name:"Aircalin",iataCode:"SB"},{name:"Alaska Airlines",iataCode:"AS"},{name:"Alitalia",iataCode:"AZ"},{name:"All Nippon Airways",iataCode:"NH"},{name:"Allegiant Air",iataCode:"G4"},{name:"American Airlines",iataCode:"AA"},{name:"Asiana Airlines",iataCode:"OZ"},{name:"Avianca",iataCode:"AV"},{name:"Azul Linhas Aereas Brasileiras",iataCode:"AD"},{name:"Azur Air",iataCode:"ZF"},{name:"Beijing Capital Airlines",iataCode:"JD"},{name:"Boliviana de Aviacion",iataCode:"OB"},{name:"British Airways",iataCode:"BA"},{name:"Cathay Pacific",iataCode:"CX"},{name:"Cebu Pacific Air",iataCode:"5J"},{name:"China Airlines",iataCode:"CI"},{name:"China Eastern Airlines",iataCode:"MU"},{name:"China Southern Airlines",iataCode:"CZ"},{name:"Condor",iataCode:"DE"},{name:"Copa Airlines",iataCode:"CM"},{name:"Delta Air Lines",iataCode:"DL"},{name:"Easyfly",iataCode:"VE"},{name:"EasyJet",iataCode:"U2"},{name:"EcoJet",iataCode:"8J"},{name:"Egyptair",iataCode:"MS"},{name:"El Al",iataCode:"LY"},{name:"Emirates Airlines",iataCode:"EK"},{name:"Ethiopian Airlines",iataCode:"ET"},{name:"Etihad Airways",iataCode:"EY"},{name:"EVA Air",iataCode:"BR"},{name:"Fiji Airways",iataCode:"FJ"},{name:"Finnair",iataCode:"AY"},{name:"Flybondi",iataCode:"FO"},{name:"Flydubai",iataCode:"FZ"},{name:"FlySafair",iataCode:"FA"},{name:"Frontier Airlines",iataCode:"F9"},{name:"Garuda Indonesia",iataCode:"GA"},{name:"Go First",iataCode:"G8"},{name:"Gol Linhas Aereas Inteligentes",iataCode:"G3"},{name:"Hainan Airlines",iataCode:"HU"},{name:"Hawaiian Airlines",iataCode:"HA"},{name:"IndiGo Airlines",iataCode:"6E"},{name:"Japan Airlines",iataCode:"JL"},{name:"Jeju Air",iataCode:"7C"},{name:"Jet2",iataCode:"LS"},{name:"JetBlue Airways",iataCode:"B6"},{name:"JetSMART",iataCode:"JA"},{name:"Juneyao Airlines",iataCode:"HO"},{name:"Kenya Airways",iataCode:"KQ"},{name:"Korean Air",iataCode:"KE"},{name:"Kulula.com",iataCode:"MN"},{name:"LATAM Airlines",iataCode:"LA"},{name:"Lion Air",iataCode:"JT"},{name:"LOT Polish Airlines",iataCode:"LO"},{name:"Lufthansa",iataCode:"LH"},{name:"Libyan Airlines",iataCode:"LN"},{name:"Linea Aerea Amaszonas",iataCode:"Z8"},{name:"Malaysia Airlines",iataCode:"MH"},{name:"Nordwind Airlines",iataCode:"N4"},{name:"Norwegian Air Shuttle",iataCode:"DY"},{name:"Oman Air",iataCode:"WY"},{name:"Pakistan International Airlines",iataCode:"PK"},{name:"Pegasus Airlines",iataCode:"PC"},{name:"Philippine Airlines",iataCode:"PR"},{name:"Qantas Group",iataCode:"QF"},{name:"Qatar Airways",iataCode:"QR"},{name:"Republic Airways",iataCode:"YX"},{name:"Royal Air Maroc",iataCode:"AT"},{name:"Ryanair",iataCode:"FR"},{name:"S7 Airlines",iataCode:"S7"},{name:"SAS",iataCode:"SK"},{name:"Satena",iataCode:"9R"},{name:"Saudia",iataCode:"SV"},{name:"Shandong Airlines",iataCode:"SC"},{name:"Sichuan Airlines",iataCode:"3U"},{name:"Singapore Airlines",iataCode:"SQ"},{name:"Sky Airline",iataCode:"H2"},{name:"SkyWest Airlines",iataCode:"OO"},{name:"South African Airways",iataCode:"SA"},{name:"Southwest Airlines",iataCode:"WN"},{name:"SpiceJet",iataCode:"SG"},{name:"Spirit Airlines",iataCode:"NK"},{name:"Spring Airlines",iataCode:"9S"},{name:"SriLankan Airlines",iataCode:"UL"},{name:"Star Peru",iataCode:"2I"},{name:"Sun Country Airlines",iataCode:"SY"},{name:"SunExpress",iataCode:"XQ"},{name:"TAP Air Portugal",iataCode:"TP"},{name:"Thai AirAsia",iataCode:"FD"},{name:"Thai Airways",iataCode:"TG"},{name:"TUI Airways",iataCode:"BY"},{name:"Tunisair",iataCode:"TU"},{name:"Turkish Airlines",iataCode:"TK"},{name:"Ukraine International",iataCode:"PS"},{name:"United Airlines",iataCode:"UA"},{name:"Ural Airlines",iataCode:"U6"},{name:"VietJet Air",iataCode:"VJ"},{name:"Vietnam Airlines",iataCode:"VN"},{name:"Virgin Atlantic Airways",iataCode:"VS"},{name:"Virgin Australia",iataCode:"VA"},{name:"VivaAerobus",iataCode:"VB"},{name:"VOEPASS Linhas Aereas",iataCode:"2Z"},{name:"Volaris",iataCode:"Y4"},{name:"WestJet",iataCode:"WS"},{name:"Wingo",iataCode:"P5"},{name:"Wizz Air",iataCode:"W6"}],STe=[{name:"Aerospatiale/BAC Concorde",iataTypeCode:"SSC"},{name:"Airbus A300",iataTypeCode:"AB3"},{name:"Airbus A310",iataTypeCode:"310"},{name:"Airbus A310-200",iataTypeCode:"312"},{name:"Airbus A310-300",iataTypeCode:"313"},{name:"Airbus A318",iataTypeCode:"318"},{name:"Airbus A319",iataTypeCode:"319"},{name:"Airbus A319neo",iataTypeCode:"31N"},{name:"Airbus A320",iataTypeCode:"320"},{name:"Airbus A320neo",iataTypeCode:"32N"},{name:"Airbus A321",iataTypeCode:"321"},{name:"Airbus A321neo",iataTypeCode:"32Q"},{name:"Airbus A330",iataTypeCode:"330"},{name:"Airbus A330-200",iataTypeCode:"332"},{name:"Airbus A330-300",iataTypeCode:"333"},{name:"Airbus A330-800neo",iataTypeCode:"338"},{name:"Airbus A330-900neo",iataTypeCode:"339"},{name:"Airbus A340",iataTypeCode:"340"},{name:"Airbus A340-200",iataTypeCode:"342"},{name:"Airbus A340-300",iataTypeCode:"343"},{name:"Airbus A340-500",iataTypeCode:"345"},{name:"Airbus A340-600",iataTypeCode:"346"},{name:"Airbus A350",iataTypeCode:"350"},{name:"Airbus A350-900",iataTypeCode:"359"},{name:"Airbus A350-1000",iataTypeCode:"351"},{name:"Airbus A380",iataTypeCode:"380"},{name:"Airbus A380-800",iataTypeCode:"388"},{name:"Antonov An-12",iataTypeCode:"ANF"},{name:"Antonov An-24",iataTypeCode:"AN4"},{name:"Antonov An-26",iataTypeCode:"A26"},{name:"Antonov An-28",iataTypeCode:"A28"},{name:"Antonov An-30",iataTypeCode:"A30"},{name:"Antonov An-32",iataTypeCode:"A32"},{name:"Antonov An-72",iataTypeCode:"AN7"},{name:"Antonov An-124 Ruslan",iataTypeCode:"A4F"},{name:"Antonov An-140",iataTypeCode:"A40"},{name:"Antonov An-148",iataTypeCode:"A81"},{name:"Antonov An-158",iataTypeCode:"A58"},{name:"Antonov An-225 Mriya",iataTypeCode:"A5F"},{name:"Boeing 707",iataTypeCode:"703"},{name:"Boeing 717",iataTypeCode:"717"},{name:"Boeing 720B",iataTypeCode:"B72"},{name:"Boeing 727",iataTypeCode:"727"},{name:"Boeing 727-100",iataTypeCode:"721"},{name:"Boeing 727-200",iataTypeCode:"722"},{name:"Boeing 737 MAX 7",iataTypeCode:"7M7"},{name:"Boeing 737 MAX 8",iataTypeCode:"7M8"},{name:"Boeing 737 MAX 9",iataTypeCode:"7M9"},{name:"Boeing 737 MAX 10",iataTypeCode:"7MJ"},{name:"Boeing 737",iataTypeCode:"737"},{name:"Boeing 737-100",iataTypeCode:"731"},{name:"Boeing 737-200",iataTypeCode:"732"},{name:"Boeing 737-300",iataTypeCode:"733"},{name:"Boeing 737-400",iataTypeCode:"734"},{name:"Boeing 737-500",iataTypeCode:"735"},{name:"Boeing 737-600",iataTypeCode:"736"},{name:"Boeing 737-700",iataTypeCode:"73G"},{name:"Boeing 737-800",iataTypeCode:"738"},{name:"Boeing 737-900",iataTypeCode:"739"},{name:"Boeing 747",iataTypeCode:"747"},{name:"Boeing 747-100",iataTypeCode:"741"},{name:"Boeing 747-200",iataTypeCode:"742"},{name:"Boeing 747-300",iataTypeCode:"743"},{name:"Boeing 747-400",iataTypeCode:"744"},{name:"Boeing 747-400D",iataTypeCode:"74J"},{name:"Boeing 747-8",iataTypeCode:"748"},{name:"Boeing 747SP",iataTypeCode:"74L"},{name:"Boeing 747SR",iataTypeCode:"74R"},{name:"Boeing 757",iataTypeCode:"757"},{name:"Boeing 757-200",iataTypeCode:"752"},{name:"Boeing 757-300",iataTypeCode:"753"},{name:"Boeing 767",iataTypeCode:"767"},{name:"Boeing 767-200",iataTypeCode:"762"},{name:"Boeing 767-300",iataTypeCode:"763"},{name:"Boeing 767-400",iataTypeCode:"764"},{name:"Boeing 777",iataTypeCode:"777"},{name:"Boeing 777-200",iataTypeCode:"772"},{name:"Boeing 777-200LR",iataTypeCode:"77L"},{name:"Boeing 777-300",iataTypeCode:"773"},{name:"Boeing 777-300ER",iataTypeCode:"77W"},{name:"Boeing 787",iataTypeCode:"787"},{name:"Boeing 787-8",iataTypeCode:"788"},{name:"Boeing 787-9",iataTypeCode:"789"},{name:"Boeing 787-10",iataTypeCode:"781"},{name:"Canadair Challenger",iataTypeCode:"CCJ"},{name:"Canadair CL-44",iataTypeCode:"CL4"},{name:"Canadair Regional Jet 100",iataTypeCode:"CR1"},{name:"Canadair Regional Jet 200",iataTypeCode:"CR2"},{name:"Canadair Regional Jet 700",iataTypeCode:"CR7"},{name:"Canadair Regional Jet 705",iataTypeCode:"CRA"},{name:"Canadair Regional Jet 900",iataTypeCode:"CR9"},{name:"Canadair Regional Jet 1000",iataTypeCode:"CRK"},{name:"De Havilland Canada DHC-2 Beaver",iataTypeCode:"DHP"},{name:"De Havilland Canada DHC-2 Turbo-Beaver",iataTypeCode:"DHR"},{name:"De Havilland Canada DHC-3 Otter",iataTypeCode:"DHL"},{name:"De Havilland Canada DHC-4 Caribou",iataTypeCode:"DHC"},{name:"De Havilland Canada DHC-6 Twin Otter",iataTypeCode:"DHT"},{name:"De Havilland Canada DHC-7 Dash 7",iataTypeCode:"DH7"},{name:"De Havilland Canada DHC-8-100 Dash 8 / 8Q",iataTypeCode:"DH1"},{name:"De Havilland Canada DHC-8-200 Dash 8 / 8Q",iataTypeCode:"DH2"},{name:"De Havilland Canada DHC-8-300 Dash 8 / 8Q",iataTypeCode:"DH3"},{name:"De Havilland Canada DHC-8-400 Dash 8Q",iataTypeCode:"DH4"},{name:"De Havilland DH.104 Dove",iataTypeCode:"DHD"},{name:"De Havilland DH.114 Heron",iataTypeCode:"DHH"},{name:"Douglas DC-3",iataTypeCode:"D3F"},{name:"Douglas DC-6",iataTypeCode:"D6F"},{name:"Douglas DC-8-50",iataTypeCode:"D8T"},{name:"Douglas DC-8-62",iataTypeCode:"D8L"},{name:"Douglas DC-8-72",iataTypeCode:"D8Q"},{name:"Douglas DC-9-10",iataTypeCode:"D91"},{name:"Douglas DC-9-20",iataTypeCode:"D92"},{name:"Douglas DC-9-30",iataTypeCode:"D93"},{name:"Douglas DC-9-40",iataTypeCode:"D94"},{name:"Douglas DC-9-50",iataTypeCode:"D95"},{name:"Douglas DC-10",iataTypeCode:"D10"},{name:"Douglas DC-10-10",iataTypeCode:"D1X"},{name:"Douglas DC-10-30",iataTypeCode:"D1Y"},{name:"Embraer 170",iataTypeCode:"E70"},{name:"Embraer 175",iataTypeCode:"E75"},{name:"Embraer 190",iataTypeCode:"E90"},{name:"Embraer 195",iataTypeCode:"E95"},{name:"Embraer E190-E2",iataTypeCode:"290"},{name:"Embraer E195-E2",iataTypeCode:"295"},{name:"Embraer EMB.110 Bandeirante",iataTypeCode:"EMB"},{name:"Embraer EMB.120 Brasilia",iataTypeCode:"EM2"},{name:"Embraer Legacy 600",iataTypeCode:"ER3"},{name:"Embraer Phenom 100",iataTypeCode:"EP1"},{name:"Embraer Phenom 300",iataTypeCode:"EP3"},{name:"Embraer RJ135",iataTypeCode:"ER3"},{name:"Embraer RJ140",iataTypeCode:"ERD"},{name:"Embraer RJ145 Amazon",iataTypeCode:"ER4"},{name:"Ilyushin IL18",iataTypeCode:"IL8"},{name:"Ilyushin IL62",iataTypeCode:"IL6"},{name:"Ilyushin IL76",iataTypeCode:"IL7"},{name:"Ilyushin IL86",iataTypeCode:"ILW"},{name:"Ilyushin IL96-300",iataTypeCode:"I93"},{name:"Ilyushin IL114",iataTypeCode:"I14"},{name:"Lockheed L-182 / 282 / 382 (L-100) Hercules",iataTypeCode:"LOH"},{name:"Lockheed L-188 Electra",iataTypeCode:"LOE"},{name:"Lockheed L-1011 Tristar",iataTypeCode:"L10"},{name:"Lockheed L-1049 Super Constellation",iataTypeCode:"L49"},{name:"McDonnell Douglas MD11",iataTypeCode:"M11"},{name:"McDonnell Douglas MD80",iataTypeCode:"M80"},{name:"McDonnell Douglas MD81",iataTypeCode:"M81"},{name:"McDonnell Douglas MD82",iataTypeCode:"M82"},{name:"McDonnell Douglas MD83",iataTypeCode:"M83"},{name:"McDonnell Douglas MD87",iataTypeCode:"M87"},{name:"McDonnell Douglas MD88",iataTypeCode:"M88"},{name:"McDonnell Douglas MD90",iataTypeCode:"M90"},{name:"Sukhoi Superjet 100-95",iataTypeCode:"SU9"},{name:"Tupolev Tu-134",iataTypeCode:"TU3"},{name:"Tupolev Tu-154",iataTypeCode:"TU5"},{name:"Tupolev Tu-204",iataTypeCode:"T20"},{name:"Yakovlev Yak-40",iataTypeCode:"YK4"},{name:"Yakovlev Yak-42",iataTypeCode:"YK2"}],xTe=[{name:"Adelaide International Airport",iataCode:"ADL"},{name:"Adolfo Suarez Madrid-Barajas Airport",iataCode:"MAD"},{name:"Aeroparque Jorge Newbery Airport",iataCode:"AEP"},{name:"Afonso Pena International Airport",iataCode:"CWB"},{name:"Alfonso Bonilla Aragon International Airport",iataCode:"CLO"},{name:"Amsterdam Airport Schiphol",iataCode:"AMS"},{name:"Arturo Merino Benitez International Airport",iataCode:"SCL"},{name:"Auckland International Airport",iataCode:"AKL"},{name:"Beijing Capital International Airport",iataCode:"PEK"},{name:"Belem Val de Cans International Airport",iataCode:"BEL"},{name:"Belo Horizonte Tancredo Neves International Airport",iataCode:"CNF"},{name:"Berlin-Tegel Airport",iataCode:"TXL"},{name:"Bole International Airport",iataCode:"ADD"},{name:"Brasilia-Presidente Juscelino Kubitschek International Airport",iataCode:"BSB"},{name:"Brisbane International Airport",iataCode:"BNE"},{name:"Brussels Airport",iataCode:"BRU"},{name:"Cairns Airport",iataCode:"CNS"},{name:"Cairo International Airport",iataCode:"CAI"},{name:"Canberra Airport",iataCode:"CBR"},{name:"Capetown International Airport",iataCode:"CPT"},{name:"Charles de Gaulle International Airport",iataCode:"CDG"},{name:"Charlotte Douglas International Airport",iataCode:"CLT"},{name:"Chengdu Shuangliu International Airport",iataCode:"CTU"},{name:"Chhatrapati Shivaji International Airport",iataCode:"BOM"},{name:"Chicago O'Hare International Airport",iataCode:"ORD"},{name:"Chongqing Jiangbei International Airport",iataCode:"CKG"},{name:"Christchurch International Airport",iataCode:"CHC"},{name:"Copenhagen Kastrup Airport",iataCode:"CPH"},{name:"Dallas Fort Worth International Airport",iataCode:"DFW"},{name:"Daniel K. Inouye International Airport",iataCode:"HNL"},{name:"Denver International Airport",iataCode:"DEN"},{name:"Don Mueang International Airport",iataCode:"DMK"},{name:"Dubai International Airport",iataCode:"DXB"},{name:"Dublin Airport",iataCode:"DUB"},{name:"Dusseldorf Airport",iataCode:"DUS"},{name:"El Dorado International Airport",iataCode:"BOG"},{name:"Eleftherios Venizelos International Airport",iataCode:"ATH"},{name:"Faa'a International Airport",iataCode:"PPT"},{name:"Fort Lauderdale Hollywood International Airport",iataCode:"FLL"},{name:"Fortaleza Pinto Martins International Airport",iataCode:"FOR"},{name:"Frankfurt am Main Airport",iataCode:"FRA"},{name:"George Bush Intercontinental Houston Airport",iataCode:"IAH"},{name:"Gold Coast Airport",iataCode:"OOL"},{name:"Guarulhos - Governador Andre Franco Montoro International Airport",iataCode:"GRU"},{name:"Hartsfield-Jackson Atlanta International Airport",iataCode:"ATL"},{name:"Helsinki Vantaa Airport",iataCode:"HEL"},{name:"Hobart International Airport",iataCode:"HBA"},{name:"Hong Kong International Airport",iataCode:"HKG"},{name:"Houari Boumediene Airport",iataCode:"ALG"},{name:"Hurgada International Airport",iataCode:"HRG"},{name:"Incheon International Airport",iataCode:"ICN"},{name:"Indira Gandhi International Airport",iataCode:"DEL"},{name:"Istanbul Airport",iataCode:"IST"},{name:"Jacksons International Airport",iataCode:"POM"},{name:"Jeju International Airport",iataCode:"CJU"},{name:"John F Kennedy International Airport",iataCode:"JFK"},{name:"Jorge Chavez International Airport",iataCode:"LIM"},{name:"Jose Maria Cordova International Airport",iataCode:"MDE"},{name:"Josep Tarradellas Barcelona-El Prat Airport",iataCode:"BCN"},{name:"Kahului Airport",iataCode:"OGG"},{name:"King Abdulaziz International Airport",iataCode:"JED"},{name:"Kuala Lumpur International Airport",iataCode:"KUL"},{name:"Kunming Changshui International Airport",iataCode:"KMG"},{name:"La Tontouta International Airport",iataCode:"NOU"},{name:"Leonardo da Vinci-Fiumicino Airport",iataCode:"FCO"},{name:"London Heathrow Airport",iataCode:"LHR"},{name:"Los Angeles International Airport",iataCode:"LAX"},{name:"McCarran International Airport",iataCode:"LAS"},{name:"Melbourne International Airport",iataCode:"MEL"},{name:"Mexico City International Airport",iataCode:"MEX"},{name:"Miami International Airport",iataCode:"MIA"},{name:"Ministro Pistarini International Airport",iataCode:"EZE"},{name:"Minneapolis-St Paul International/Wold-Chamberlain Airport",iataCode:"MSP"},{name:"Mohammed V International Airport",iataCode:"CMN"},{name:"Moscow Domodedovo Airport",iataCode:"DME"},{name:"Munich Airport",iataCode:"MUC"},{name:"Murtala Muhammed International Airport",iataCode:"LOS"},{name:"Nadi International Airport",iataCode:"NAN"},{name:"Nairobi Jomo Kenyatta International Airport",iataCode:"NBO"},{name:"Narita International Airport",iataCode:"NRT"},{name:"Newark Liberty International Airport",iataCode:"EWR"},{name:"Ninoy Aquino International Airport",iataCode:"MNL"},{name:"Noumea Magenta Airport",iataCode:"GEA"},{name:"O. R. Tambo International Airport",iataCode:"JNB"},{name:"Orlando International Airport",iataCode:"MCO"},{name:"Oslo Lufthavn",iataCode:"OSL"},{name:"Perth Airport",iataCode:"PER"},{name:"Phoenix Sky Harbor International Airport",iataCode:"PHX"},{name:"Recife Guararapes-Gilberto Freyre International Airport",iataCode:"REC"},{name:"Rio de Janeiro Galeao International Airport",iataCode:"GIG"},{name:"Salgado Filho International Airport",iataCode:"POA"},{name:"Salvador Deputado Luis Eduardo Magalhaes International Airport",iataCode:"SSA"},{name:"San Francisco International Airport",iataCode:"SFO"},{name:"Santos Dumont Airport",iataCode:"SDU"},{name:"Sao Paulo-Congonhas Airport",iataCode:"CGH"},{name:"Seattle Tacoma International Airport",iataCode:"SEA"},{name:"Shanghai Hongqiao International Airport",iataCode:"SHA"},{name:"Shanghai Pudong International Airport",iataCode:"PVG"},{name:"Shenzhen Bao'an International Airport",iataCode:"SZX"},{name:"Sheremetyevo International Airport",iataCode:"SVO"},{name:"Singapore Changi Airport",iataCode:"SIN"},{name:"Soekarno-Hatta International Airport",iataCode:"CGK"},{name:'Stockholm-Arlanda Airport"',iataCode:"ARN"},{name:"Suvarnabhumi Airport",iataCode:"BKK"},{name:"Sydney Kingsford Smith International Airport",iataCode:"SYD"},{name:"Taiwan Taoyuan International Airport",iataCode:"TPE"},{name:"Tan Son Nhat International Airport",iataCode:"SGN"},{name:"Tokyo Haneda International Airport",iataCode:"HND"},{name:"Toronto Pearson International Airport",iataCode:"YYZ"},{name:"Tunis Carthage International Airport",iataCode:"TUN"},{name:"Vancouver International Airport",iataCode:"YVR"},{name:"Vienna International Airport",iataCode:"VIE"},{name:"Viracopos International Airport",iataCode:"VCP"},{name:"Vnukovo International Airport",iataCode:"VKO"},{name:"Wellington International Airport",iataCode:"WLG"},{name:"Xi'an Xianyang International Airport",iataCode:"XIY"},{name:"Zhukovsky International Airport",iataCode:"ZIA"},{name:"Zurich Airport",iataCode:"ZRH"}],wTe={airline:ETe,airplane:STe,airport:xTe},kTe=wTe,CTe=["American black bear","Asian black bear","Brown bear","Giant panda","Polar bear","Sloth bear","Spectacled bear","Sun bear"],TTe=["Abert's Towhee","Acadian Flycatcher","Acorn Woodpecker","Alder Flycatcher","Aleutian Tern","Allen's Hummingbird","Altamira Oriole","American Avocet","American Bittern","American Black Duck","American Coot","American Crow","American Dipper","American Golden-Plover","American Goldfinch","American Kestrel","American Oystercatcher","American Pipit","American Redstart","American Robin","American Tree Sparrow","American White Pelican","American Wigeon","American Woodcock","Ancient Murrelet","Anhinga","Anna's Hummingbird","Antillean Nighthawk","Antillean Palm Swift","Aplomado Falcon","Arctic Loon","Arctic Tern","Arctic Warbler","Ash-throated Flycatcher","Ashy Storm-Petrel","Asian Brown Flycatcher","Atlantic Puffin","Audubon's Oriole","Audubon's Shearwater","Aztec Thrush","Azure Gallinule","Bachman's Sparrow","Bachman's Warbler","Bahama Mockingbird","Bahama Swallow","Bahama Woodstar","Baikal Teal","Baird's Sandpiper","Baird's Sparrow","Bald Eagle","Baltimore Oriole","Bananaquit","Band-rumped Storm-Petrel","Band-tailed Gull","Band-tailed Pigeon","Bank Swallow","Bar-tailed Godwit","Barn Owl","Barn Swallow","Barnacle Goose","Barred Owl","Barrow's Goldeneye","Bay-breasted Warbler","Bean Goose","Bell's Vireo","Belted Kingfisher","Bendire's Thrasher","Berylline Hummingbird","Bewick's Wren","Bicknell's Thrush","Black Catbird","Black Guillemot","Black Noddy","Black Oystercatcher","Black Phoebe","Black Rail","Black Rosy-Finch","Black Scoter","Black Skimmer","Black Storm-Petrel","Black Swift","Black Tern","Black Turnstone","Black Vulture","Black-and-white Warbler","Black-backed Wagtail","Black-backed Woodpecker","Black-bellied Plover","Black-bellied Whistling-Duck","Black-billed Cuckoo","Black-billed Magpie","Black-browed Albatross","Black-capped Chickadee","Black-capped Gnatcatcher","Black-capped Petrel","Black-capped Vireo","Black-chinned Hummingbird","Black-chinned Sparrow","Black-crowned Night-Heron","Black-faced Grassquit","Black-footed Albatross","Black-headed Grosbeak","Black-headed Gull","Black-legged Kittiwake","Black-necked Stilt","Black-tailed Gnatcatcher","Black-tailed Godwit","Black-tailed Gull","Black-throated Blue Warbler","Black-throated Gray Warbler","Black-throated Green Warbler","Black-throated Sparrow","Black-vented Oriole","Black-vented Shearwater","Black-whiskered Vireo","Black-winged Stilt","Blackburnian Warbler","Blackpoll Warbler","Blue Bunting","Blue Grosbeak","Blue Grouse","Blue Jay","Blue Mockingbird","Blue-footed Booby","Blue-gray Gnatcatcher","Blue-headed Vireo","Blue-throated Hummingbird","Blue-winged Teal","Blue-winged Warbler","Bluethroat","Boat-tailed Grackle","Bobolink","Bohemian Waxwing","Bonaparte's Gull","Boreal Chickadee","Boreal Owl","Botteri's Sparrow","Brambling","Brandt's Cormorant","Brant","Brewer's Blackbird","Brewer's Sparrow","Bridled Tern","Bridled Titmouse","Bristle-thighed Curlew","Broad-billed Hummingbird","Broad-billed Sandpiper","Broad-tailed Hummingbird","Broad-winged Hawk","Bronzed Cowbird","Brown Booby","Brown Creeper","Brown Jay","Brown Noddy","Brown Pelican","Brown Shrike","Brown Thrasher","Brown-capped Rosy-Finch","Brown-chested Martin","Brown-crested Flycatcher","Brown-headed Cowbird","Brown-headed Nuthatch","Budgerigar","Buff-bellied Hummingbird","Buff-breasted Flycatcher","Buff-breasted Sandpiper","Buff-collared Nightjar","Bufflehead","Buller's Shearwater","Bullock's Oriole","Bumblebee Hummingbird","Burrowing Owl","Bushtit","Cactus Wren","California Condor","California Gnatcatcher","California Gull","California Quail","California Thrasher","California Towhee","Calliope Hummingbird","Canada Goose","Canada Warbler","Canvasback","Canyon Towhee","Canyon Wren","Cape May Warbler","Caribbean Elaenia","Carolina Chickadee","Carolina Parakeet","Carolina Wren","Caspian Tern","Cassin's Auklet","Cassin's Finch","Cassin's Kingbird","Cassin's Sparrow","Cassin's Vireo","Cattle Egret","Cave Swallow","Cedar Waxwing","Cerulean Warbler","Chestnut-backed Chickadee","Chestnut-collared Longspur","Chestnut-sided Warbler","Chihuahuan Raven","Chimney Swift","Chinese Egret","Chipping Sparrow","Chuck-will's-widow","Chukar","Cinnamon Hummingbird","Cinnamon Teal","Citrine Wagtail","Clapper Rail","Clark's Grebe","Clark's Nutcracker","Clay-colored Robin","Clay-colored Sparrow","Cliff Swallow","Colima Warbler","Collared Forest-Falcon","Collared Plover","Common Black-Hawk","Common Chaffinch","Common Crane","Common Cuckoo","Common Eider","Common Goldeneye","Common Grackle","Common Greenshank","Common Ground-Dove","Common House-Martin","Common Loon","Common Merganser","Common Moorhen","Common Murre","Common Nighthawk","Common Pauraque","Common Pochard","Common Poorwill","Common Raven","Common Redpoll","Common Ringed Plover","Common Rosefinch","Common Sandpiper","Common Snipe","Common Swift","Common Tern","Common Yellowthroat","Connecticut Warbler","Cook's Petrel","Cooper's Hawk","Cordilleran Flycatcher","Corn Crake","Cory's Shearwater","Costa's Hummingbird","Couch's Kingbird","Crane Hawk","Craveri's Murrelet","Crescent-chested Warbler","Crested Auklet","Crested Caracara","Crested Myna","Crimson-collared Grosbeak","Crissal Thrasher","Cuban Martin","Curlew Sandpiper","Curve-billed Thrasher","Dark-eyed Junco","Dickcissel","Double-crested Cormorant","Double-striped Thick-knee","Dovekie","Downy Woodpecker","Dunlin","Dusky Flycatcher","Dusky Thrush","Dusky Warbler","Dusky-capped Flycatcher","Eared Grebe","Eared Trogon","Eastern Bluebird","Eastern Kingbird","Eastern Meadowlark","Eastern Phoebe","Eastern Screech-Owl","Eastern Towhee","Eastern Wood-Pewee","Elegant Tern","Elegant Trogon","Elf Owl","Emperor Goose","Eskimo Curlew","Eurasian Blackbird","Eurasian Bullfinch","Eurasian Collared-Dove","Eurasian Coot","Eurasian Curlew","Eurasian Dotterel","Eurasian Hobby","Eurasian Jackdaw","Eurasian Kestrel","Eurasian Oystercatcher","Eurasian Siskin","Eurasian Tree Sparrow","Eurasian Wigeon","Eurasian Woodcock","Eurasian Wryneck","European Golden-Plover","European Starling","European Storm-Petrel","European Turtle-Dove","Evening Grosbeak","Eyebrowed Thrush","Falcated Duck","Fan-tailed Warbler","Far Eastern Curlew","Ferruginous Hawk","Ferruginous Pygmy-Owl","Field Sparrow","Fieldfare","Fish Crow","Five-striped Sparrow","Flame-colored Tanager","Flammulated Owl","Flesh-footed Shearwater","Florida Scrub-Jay","Fork-tailed Flycatcher","Fork-tailed Storm-Petrel","Fork-tailed Swift","Forster's Tern","Fox Sparrow","Franklin's Gull","Fulvous Whistling-Duck","Gadwall","Gambel's Quail","Garganey","Gila Woodpecker","Gilded Flicker","Glaucous Gull","Glaucous-winged Gull","Glossy Ibis","Golden Eagle","Golden-cheeked Warbler","Golden-crowned Kinglet","Golden-crowned Sparrow","Golden-crowned Warbler","Golden-fronted Woodpecker","Golden-winged Warbler","Grace's Warbler","Grasshopper Sparrow","Gray Bunting","Gray Catbird","Gray Flycatcher","Gray Hawk","Gray Jay","Gray Kingbird","Gray Partridge","Gray Silky-flycatcher","Gray Vireo","Gray Wagtail","Gray-breasted Martin","Gray-cheeked Thrush","Gray-crowned Rosy-Finch","Gray-crowned Yellowthroat","Gray-headed Chickadee","Gray-spotted Flycatcher","Gray-tailed Tattler","Great Auk","Great Black-backed Gull","Great Blue Heron","Great Cormorant","Great Crested Flycatcher","Great Egret","Great Frigatebird","Great Gray Owl","Great Horned Owl","Great Kiskadee","Great Knot","Great Skua","Great Spotted Woodpecker","Great-tailed Grackle","Greater Flamingo","Greater Pewee","Greater Prairie-chicken","Greater Roadrunner","Greater Scaup","Greater Shearwater","Greater White-fronted Goose","Greater Yellowlegs","Green Heron","Green Jay","Green Kingfisher","Green Sandpiper","Green Violet-ear","Green-breasted Mango","Green-tailed Towhee","Green-winged Teal","Greenish Elaenia","Groove-billed Ani","Gull-billed Tern","Gyrfalcon","Hairy Woodpecker","Hammond's Flycatcher","Harlequin Duck","Harris's Hawk","Harris's Sparrow","Hawfinch","Heermann's Gull","Henslow's Sparrow","Hepatic Tanager","Herald Petrel","Hermit Thrush","Hermit Warbler","Herring Gull","Himalayan Snowcock","Hoary Redpoll","Hooded Merganser","Hooded Oriole","Hooded Warbler","Hook-billed Kite","Hoopoe","Horned Grebe","Horned Lark","Horned Puffin","House Finch","House Sparrow","House Wren","Hudsonian Godwit","Hutton's Vireo","Iceland Gull","Inca Dove","Indigo Bunting","Island Scrub-Jay","Ivory Gull","Ivory-billed Woodpecker","Jabiru","Jack Snipe","Jungle Nightjar","Juniper Titmouse","Kentucky Warbler","Key West Quail-Dove","Killdeer","King Eider","King Rail","Kirtland's Warbler","Kittlitz's Murrelet","La Sagra's Flycatcher","Labrador Duck","Ladder-backed Woodpecker","Lanceolated Warbler","Lapland Longspur","Large-billed Tern","Lark Bunting","Lark Sparrow","Laughing Gull","Lawrence's Goldfinch","Laysan Albatross","Lazuli Bunting","Le Conte's Sparrow","Le Conte's Thrasher","Leach's Storm-Petrel","Least Auklet","Least Bittern","Least Flycatcher","Least Grebe","Least Sandpiper","Least Storm-Petrel","Least Tern","Lesser Black-backed Gull","Lesser Frigatebird","Lesser Goldfinch","Lesser Nighthawk","Lesser Prairie-chicken","Lesser Scaup","Lesser White-fronted Goose","Lesser Yellowlegs","Lewis's Woodpecker","Limpkin","Lincoln's Sparrow","Little Blue Heron","Little Bunting","Little Curlew","Little Egret","Little Gull","Little Ringed Plover","Little Shearwater","Little Stint","Loggerhead Kingbird","Loggerhead Shrike","Long-billed Curlew","Long-billed Dowitcher","Long-billed Murrelet","Long-billed Thrasher","Long-eared Owl","Long-tailed Jaeger","Long-toed Stint","Louisiana Waterthrush","Lucifer Hummingbird","Lucy's Warbler","MacGillivray's Warbler","Magnificent Frigatebird","Magnificent Hummingbird","Magnolia Warbler","Mallard","Mangrove Cuckoo","Manx Shearwater","Marbled Godwit","Marbled Murrelet","Marsh Sandpiper","Marsh Wren","Masked Booby","Masked Duck","Masked Tityra","McCown's Longspur","McKay's Bunting","Merlin","Mew Gull","Mexican Chickadee","Mexican Jay","Middendorff's Grasshopper-Warbler","Mississippi Kite","Mongolian Plover","Monk Parakeet","Montezuma Quail","Mottled Duck","Mottled Owl","Mottled Petrel","Mountain Bluebird","Mountain Chickadee","Mountain Plover","Mountain Quail","Mourning Dove","Mourning Warbler","Mugimaki Flycatcher","Murphy's Petrel","Muscovy Duck","Mute Swan","Narcissus Flycatcher","Nashville Warbler","Nelson's Sharp-tailed Sparrow","Neotropic Cormorant","Northern Beardless-Tyrannulet","Northern Bobwhite","Northern Cardinal","Northern Flicker","Northern Fulmar","Northern Gannet","Northern Goshawk","Northern Harrier","Northern Hawk Owl","Northern Jacana","Northern Lapwing","Northern Mockingbird","Northern Parula","Northern Pintail","Northern Pygmy-Owl","Northern Rough-winged Swallow","Northern Saw-whet Owl","Northern Shoveler","Northern Shrike","Northern Waterthrush","Northern Wheatear","Northwestern Crow","Nuttall's Woodpecker","Nutting's Flycatcher","Oak Titmouse","Oldsquaw","Olive Sparrow","Olive Warbler","Olive-backed Pipit","Olive-sided Flycatcher","Orange-crowned Warbler","Orchard Oriole","Oriental Cuckoo","Oriental Greenfinch","Oriental Pratincole","Oriental Scops-Owl","Oriental Turtle-Dove","Osprey","Ovenbird","Pacific Golden-Plover","Pacific Loon","Pacific-slope Flycatcher","Paint-billed Crake","Painted Bunting","Painted Redstart","Pallas's Bunting","Palm Warbler","Parakeet Auklet","Parasitic Jaeger","Passenger Pigeon","Pechora Pipit","Pectoral Sandpiper","Pelagic Cormorant","Peregrine Falcon","Phainopepla","Philadelphia Vireo","Pied-billed Grebe","Pigeon Guillemot","Pileated Woodpecker","Pin-tailed Snipe","Pine Bunting","Pine Grosbeak","Pine Siskin","Pine Warbler","Pink-footed Goose","Pink-footed Shearwater","Pinyon Jay","Piping Plover","Plain Chachalaca","Plain-capped Starthroat","Plumbeous Vireo","Pomarine Jaeger","Prairie Falcon","Prairie Warbler","Prothonotary Warbler","Purple Finch","Purple Gallinule","Purple Martin","Purple Sandpiper","Pygmy Nuthatch","Pyrrhuloxia","Razorbill","Red Crossbill","Red Knot","Red Phalarope","Red-bellied Woodpecker","Red-billed Pigeon","Red-billed Tropicbird","Red-breasted Flycatcher","Red-breasted Merganser","Red-breasted Nuthatch","Red-breasted Sapsucker","Red-cockaded Woodpecker","Red-crowned Parrot","Red-eyed Vireo","Red-faced Cormorant","Red-faced Warbler","Red-flanked Bluetail","Red-footed Booby","Red-headed Woodpecker","Red-legged Kittiwake","Red-naped Sapsucker","Red-necked Grebe","Red-necked Phalarope","Red-necked Stint","Red-shouldered Hawk","Red-tailed Hawk","Red-tailed Tropicbird","Red-throated Loon","Red-throated Pipit","Red-whiskered Bulbul","Red-winged Blackbird","Reddish Egret","Redhead","Redwing","Reed Bunting","Rhinoceros Auklet","Ring-billed Gull","Ring-necked Duck","Ring-necked Pheasant","Ringed Kingfisher","Roadside Hawk","Rock Dove","Rock Ptarmigan","Rock Sandpiper","Rock Wren","Rose-breasted Grosbeak","Rose-throated Becard","Roseate Spoonbill","Roseate Tern","Ross's Goose","Ross's Gull","Rough-legged Hawk","Royal Tern","Ruby-crowned Kinglet","Ruby-throated Hummingbird","Ruddy Duck","Ruddy Ground-Dove","Ruddy Quail-Dove","Ruddy Turnstone","Ruff","Ruffed Grouse","Rufous Hummingbird","Rufous-backed Robin","Rufous-capped Warbler","Rufous-crowned Sparrow","Rufous-winged Sparrow","Rustic Bunting","Rusty Blackbird","Sabine's Gull","Sage Grouse","Sage Sparrow","Sage Thrasher","Saltmarsh Sharp-tailed Sparrow","Sanderling","Sandhill Crane","Sandwich Tern","Savannah Sparrow","Say's Phoebe","Scaled Quail","Scaly-naped Pigeon","Scarlet Ibis","Scarlet Tanager","Scissor-tailed Flycatcher","Scott's Oriole","Seaside Sparrow","Sedge Wren","Semipalmated Plover","Semipalmated Sandpiper","Sharp-shinned Hawk","Sharp-tailed Grouse","Sharp-tailed Sandpiper","Shiny Cowbird","Short-billed Dowitcher","Short-eared Owl","Short-tailed Albatross","Short-tailed Hawk","Short-tailed Shearwater","Shy Albatross","Siberian Accentor","Siberian Blue Robin","Siberian Flycatcher","Siberian Rubythroat","Sky Lark","Slate-throated Redstart","Slaty-backed Gull","Slender-billed Curlew","Smew","Smith's Longspur","Smooth-billed Ani","Snail Kite","Snow Bunting","Snow Goose","Snowy Egret","Snowy Owl","Snowy Plover","Solitary Sandpiper","Song Sparrow","Sooty Shearwater","Sooty Tern","Sora","South Polar Skua","Southern Martin","Spectacled Eider","Spoonbill Sandpiper","Spot-billed Duck","Spot-breasted Oriole","Spotted Dove","Spotted Owl","Spotted Rail","Spotted Redshank","Spotted Sandpiper","Spotted Towhee","Sprague's Pipit","Spruce Grouse","Stejneger's Petrel","Steller's Eider","Steller's Jay","Steller's Sea-Eagle","Stilt Sandpiper","Stonechat","Streak-backed Oriole","Streaked Shearwater","Strickland's Woodpecker","Stripe-headed Tanager","Sulphur-bellied Flycatcher","Summer Tanager","Surf Scoter","Surfbird","Swainson's Hawk","Swainson's Thrush","Swainson's Warbler","Swallow-tailed Kite","Swamp Sparrow","Tamaulipas Crow","Tawny-shouldered Blackbird","Temminck's Stint","Tennessee Warbler","Terek Sandpiper","Thayer's Gull","Thick-billed Kingbird","Thick-billed Murre","Thick-billed Parrot","Thick-billed Vireo","Three-toed Woodpecker","Townsend's Solitaire","Townsend's Warbler","Tree Pipit","Tree Swallow","Tricolored Blackbird","Tricolored Heron","Tropical Kingbird","Tropical Parula","Trumpeter Swan","Tufted Duck","Tufted Flycatcher","Tufted Puffin","Tufted Titmouse","Tundra Swan","Turkey Vulture","Upland Sandpiper","Varied Bunting","Varied Thrush","Variegated Flycatcher","Vaux's Swift","Veery","Verdin","Vermilion Flycatcher","Vesper Sparrow","Violet-crowned Hummingbird","Violet-green Swallow","Virginia Rail","Virginia's Warbler","Wandering Albatross","Wandering Tattler","Warbling Vireo","Wedge-rumped Storm-Petrel","Wedge-tailed Shearwater","Western Bluebird","Western Grebe","Western Gull","Western Kingbird","Western Meadowlark","Western Reef-Heron","Western Sandpiper","Western Screech-Owl","Western Scrub-Jay","Western Tanager","Western Wood-Pewee","Whimbrel","Whip-poor-will","Whiskered Auklet","Whiskered Screech-Owl","Whiskered Tern","White Ibis","White Wagtail","White-breasted Nuthatch","White-cheeked Pintail","White-chinned Petrel","White-collared Seedeater","White-collared Swift","White-crowned Pigeon","White-crowned Sparrow","White-eared Hummingbird","White-eyed Vireo","White-faced Ibis","White-faced Storm-Petrel","White-headed Woodpecker","White-rumped Sandpiper","White-tailed Eagle","White-tailed Hawk","White-tailed Kite","White-tailed Ptarmigan","White-tailed Tropicbird","White-throated Needletail","White-throated Robin","White-throated Sparrow","White-throated Swift","White-tipped Dove","White-winged Crossbill","White-winged Dove","White-winged Parakeet","White-winged Scoter","White-winged Tern","Whooper Swan","Whooping Crane","Wild Turkey","Willet","Williamson's Sapsucker","Willow Flycatcher","Willow Ptarmigan","Wilson's Phalarope","Wilson's Plover","Wilson's Storm-Petrel","Wilson's Warbler","Winter Wren","Wood Duck","Wood Sandpiper","Wood Stork","Wood Thrush","Wood Warbler","Worm-eating Warbler","Worthen's Sparrow","Wrentit","Xantus's Hummingbird","Xantus's Murrelet","Yellow Bittern","Yellow Grosbeak","Yellow Rail","Yellow Wagtail","Yellow Warbler","Yellow-bellied Flycatcher","Yellow-bellied Sapsucker","Yellow-billed Cuckoo","Yellow-billed Loon","Yellow-billed Magpie","Yellow-breasted Bunting","Yellow-breasted Chat","Yellow-crowned Night-Heron","Yellow-eyed Junco","Yellow-faced Grassquit","Yellow-footed Gull","Yellow-green Vireo","Yellow-headed Blackbird","Yellow-legged Gull","Yellow-nosed Albatross","Yellow-rumped Warbler","Yellow-throated Vireo","Yellow-throated Warbler","Yucatan Vireo","Zenaida Dove","Zone-tailed Hawk"],ATe=["Abyssinian","American Bobtail","American Curl","American Shorthair","American Wirehair","Balinese","Bengal","Birman","Bombay","British Shorthair","Burmese","Chartreux","Chausie","Cornish Rex","Devon Rex","Donskoy","Egyptian Mau","Exotic Shorthair","Havana","Highlander","Himalayan","Japanese Bobtail","Korat","Kurilian Bobtail","LaPerm","Maine Coon","Manx","Minskin","Munchkin","Nebelung","Norwegian Forest Cat","Ocicat","Ojos Azules","Oriental","Persian","Peterbald","Pixiebob","Ragdoll","Russian Blue","Savannah","Scottish Fold","Selkirk Rex","Serengeti","Siamese","Siberian","Singapura","Snowshoe","Sokoke","Somali","Sphynx","Thai","Tonkinese","Toyger","Turkish Angora","Turkish Van"],_Te=["Amazon River Dolphin","Arnoux's Beaked Whale","Atlantic Humpbacked Dolphin","Atlantic Spotted Dolphin","Atlantic White-Sided Dolphin","Australian Snubfin Dolphin","Australian humpback Dolphin","Blue Whale","Bottlenose Dolphin","Bryde’s whale","Burrunan Dolphin","Chilean Dolphin","Chinese River Dolphin","Chinese White Dolphin","Clymene Dolphin","Commerson’s Dolphin","Costero","Dusky Dolphin","False Killer Whale","Fin Whale","Fraser’s Dolphin","Ganges River Dolphin","Guiana Dolphin","Heaviside’s Dolphin","Hector’s Dolphin","Hourglass Dolphin","Humpback whale","Indo-Pacific Bottlenose Dolphin","Indo-Pacific Hump-backed Dolphin","Irrawaddy Dolphin","Killer Whale (Orca)","La Plata Dolphin","Long-Beaked Common Dolphin","Long-finned Pilot Whale","Longman's Beaked Whale","Melon-headed Whale","Northern Rightwhale Dolphin","Omura’s whale","Pacific White-Sided Dolphin","Pantropical Spotted Dolphin","Peale’s Dolphin","Pygmy Killer Whale","Risso’s Dolphin","Rough-Toothed Dolphin","Sei Whale","Short-Beaked Common Dolphin","Short-finned Pilot Whale","Southern Bottlenose Whale","Southern Rightwhale Dolphin","Sperm Whale","Spinner Dolphin","Striped Dolphin","Tucuxi","White-Beaked Dolphin"],DTe=["Aberdeen Angus","Abergele","Abigar","Abondance","Abyssinian Shorthorned Zebu","Aceh","Achham","Adamawa","Adaptaur","Afar","Africangus","Afrikaner","Agerolese","Alambadi","Alatau","Albanian","Albera","Alderney","Alentejana","Aleutian wild cattle","Aliad Dinka","Alistana-Sanabresa","Allmogekor","Alur","American","American Angus","American Beef Friesian","American Brown Swiss","American Milking Devon","American White Park","Amerifax","Amrit Mahal","Amsterdam Island cattle","Anatolian Black","Andalusian Black","Andalusian Blond","Andalusian Grey","Angeln","Angoni","Ankina","Ankole","Ankole-Watusi","Aracena","Arado","Argentine Criollo","Argentine Friesian","Armorican","Arouquesa","Arsi","Asturian Mountain","Asturian Valley","Aubrac","Aulie-Ata","Aure et Saint-Girons","Australian Braford","Australian Brangus","Australian Charbray","Australian Friesian Sahiwal","Australian Lowline","Australian Milking Zebu","Australian Shorthorn","Austrian Simmental","Austrian Yellow","Avileña-Negra Ibérica","Avétonou","Aweil Dinka","Ayrshire","Azaouak","Azebuado","Azerbaijan Zebu","Azores","Bachaur cattle","Baherie cattle","Bakosi cattle","Balancer","Baoule","Bargur cattle","Barrosã","Barzona","Bazadaise","Beef Freisian","Beefalo","Beefmaker","Beefmaster","Begayt","Belgian Blue","Belgian Red","Belgian Red Pied","Belgian White-and-Red","Belmont Red","Belted Galloway","Bernese","Berrenda cattle","Betizu","Bianca Modenese","Blaarkop","Black Angus","Black Baldy","Black Hereford","Blanca Cacereña","Blanco Orejinegro BON","Blonde d'Aquitaine","Blue Albion","Blue Grey","Bohuskulla","Bonsmara","Boran","Boškarin","Braford","Brahman","Brahmousin","Brangus","Braunvieh","Brava","Breed","British Friesian","British White","Brown Carpathian","Brown Caucasian","Brown Swiss","Bue Lingo","Burlina","Bushuyev","Butana cattle","Buša cattle","Cachena","Caldelana","Camargue","Campbell Island cattle","Canadian Speckle Park","Canadienne","Canaria","Canchim","Caracu","Carinthian Blondvieh","Carora","Charbray","Charolais","Chateaubriand","Chiangus","Chianina","Chillingham cattle","Chinese Black Pied","Cholistani","Coloursided White Back","Commercial","Corriente","Corsican cattle","Costeño con Cuernos","Crioulo Lageano","Cárdena Andaluza","Dajal","Dangi cattle","Danish Black-Pied","Danish Jersey","Danish Red","Deep Red cattle","Deoni","Devon","Dexter cattle","Dhanni","Doayo cattle","Doela","Drakensberger","Droughtmaster","Dulong'","Dutch Belted","Dutch Friesian","Dwarf Lulu","Dølafe","East Anatolian Red","Eastern Finncattle","Eastern Red Polled","Enderby Island cattle","English Longhorn","Ennstaler Bergscheck","Estonian Holstein","Estonian Native","Estonian Red cattle","Finncattle","Finnish Ayrshire","Finnish Holstein-Friesian","Fjäll","Fleckvieh","Florida Cracker cattle","Fogera","French Simmental","Fribourgeoise","Friesian Red and White","Fulani Sudanese","Fēng Cattle","Galician Blond","Galloway cattle","Gangatiri","Gaolao","Garvonesa","Gascon cattle","Gelbvieh","Georgian Mountain cattle","German Angus","German Black Pied Dairy","German Black Pied cattle","German Red Pied","Gir","Glan cattle","Gloucester","Gobra","Greek Shorthorn","Greek Steppe","Greyman cattle","Gudali","Guernsey cattle","Guzerá","Hallikar4","Hanwoo","Hariana cattle","Hartón del Valle","Harzer Rotvieh","Hays Converter","Heck cattle","Hereford","Herens","Highland cattle","Hinterwald","Holando-Argentino","Holstein Friesian cattle","Horro","Hungarian Grey","Huáng Cattle","Hybridmaster","Iberian cattle","Icelandic","Illawarra cattle","Improved Red and White","Indo-Brazilian","Irish Moiled","Israeli Holstein","Israeli Red","Istoben cattle","Istrian cattle","Jamaica Black","Jamaica Hope","Jamaica Red","Japanese Brown","Jarmelista","Javari cattle","Jersey cattle","Jutland cattle","Kabin Buri cattle","Kalmyk cattle","Kamphaeng Saen cattle","Kangayam","Kankrej","Karan Swiss","Kasaragod Dwarf cattle","Kathiawadi","Kazakh Whiteheaded","Kenana cattle","Kenkatha cattle","Kerry cattle","Kherigarh","Khillari cattle","Kholomogory","Korat Wagyu","Kostroma cattle","Krishna Valley cattle","Kurgan cattle","Kuri","La Reina cattle","Lakenvelder cattle","Lampurger","Latvian Blue","Latvian Brown","Latvian Danish Red","Lebedyn","Levantina","Limia cattle","Limousin","Limpurger","Lincoln Red","Lineback","Lithuanian Black-and-White","Lithuanian Light Grey","Lithuanian Red","Lithuanian White-Backed","Lohani cattle","Lourdais","Lucerna cattle","Luing","Madagascar Zebu","Madura","Maine-Anjou","Malnad Gidda","Malvi","Mandalong Special","Mantequera Leonesa","Maramureş Brown","Marchigiana","Maremmana","Marinhoa","Maronesa","Masai","Mashona","Menorquina","Mertolenga","Meuse-Rhine-Issel","Mewati","Milking Shorthorn","Minhota","Mirandesa","Mirkadim","Mocăniţă","Mollie","Monchina","Mongolian","Montbéliarde","Morucha","Murboden","Murnau-Werdenfels","Murray Grey","Muturu","N'Dama","Nagori","Negra Andaluza","Nelore","Nguni","Nimari","Normande","North Bengal Grey","Northern Finncattle","Northern Shorthorn","Norwegian Red","Ongole","Original Simmental","Pajuna","Palmera","Pantaneiro","Parda Alpina","Parthenaise","Pasiega","Pembroke","Philippine Native","Pie Rouge des Plaines","Piedmontese cattle","Pineywoods","Pinzgauer","Pirenaica","Podolac","Podolica","Polish Black-and-White","Polish Red","Poll Shorthorn","Polled Hereford","Polled Shorthorn","Ponwar","Preta","Pulikulam","Punganur","Pustertaler Sprinzen","Qinchaun","Queensland Miniature Boran","RX3","Ramo Grande","Randall","Raramuri Criollo","Rathi","Raya","Red Angus","Red Brangus","Red Chittagong","Red Fulani","Red Gorbatov","Red Holstein","Red Kandhari","Red Mingrelian","Red Poll","Red Polled Østland","Red Sindhi","Retinta","Riggit Galloway","Ringamåla","Rohjan","Romagnola","Romanian Bălţata","Romanian Steppe Gray","Romosinuano","Russian Black Pied","Rätisches Grauvieh","Sahiwal","Salers","Salorn","Sanga","Sanhe","Santa Cruz","Santa Gertrudis","Sayaguesa","Schwyz","Selembu","Senepol","Serbian Pied","Serbian Steppe","Sheko","Shetland","Shorthorn","Siboney de Cuba","Simbrah","Simford","Simmental","Siri","South Devon","Spanish Fighting Bull","Speckle Park","Square Meater","Sussex","Swedish Friesian","Swedish Polled","Swedish Red Pied","Swedish Red Polled","Swedish Red-and-White","Tabapuã","Tarentaise","Tasmanian Grey","Tauros","Telemark","Texas Longhorn","Texon","Thai Black","Thai Fighting Bull","Thai Friesian","Thai Milking Zebu","Tharparkar","Tswana","Tudanca","Tuli","Tulim","Turkish Grey Steppe","Tux-Zillertal","Tyrol Grey","Ukrainian Grey","Umblachery","Valdostana Castana","Valdostana Pezzata Nera","Valdostana Pezzata Rossa","Vaynol","Vechur8","Vestland Fjord","Vestland Red Polled","Vianesa","Volinian Beef","Vorderwald","Vosgienne","Väneko","Waguli","Wagyu","Wangus","Welsh Black","Western Finncattle","White Cáceres","White Fulani","White Lamphun","White Park","Whitebred Shorthorn","Xingjiang Brown","Yakutian","Yanbian","Yanhuang","Yurino","Zebu","Évolène cattle","Żubroń"],RTe=["African Slender-snouted Crocodile","Alligator mississippiensis","American Crocodile","Australian Freshwater Crocodile","Black Caiman","Broad-snouted Caiman","Chinese Alligator","Cuban Crocodile","Cuvier’s Dwarf Caiman","Dwarf Crocodile","Gharial","Morelet’s Crocodile","Mugger Crocodile","New Guinea Freshwater Crocodile","Nile Crocodile","Orinoco Crocodile","Philippine Crocodile","Saltwater Crocodile","Schneider’s Smooth-fronted Caiman","Siamese Crocodile","Spectacled Caiman","Tomistoma","West African Crocodile","Yacare Caiman"],NTe=["Affenpinscher","Afghan Hound","Aidi","Airedale Terrier","Akbash","Akita","Alano Español","Alapaha Blue Blood Bulldog","Alaskan Husky","Alaskan Klee Kai","Alaskan Malamute","Alopekis","Alpine Dachsbracke","American Bulldog","American Bully","American Cocker Spaniel","American English Coonhound","American Foxhound","American Hairless Terrier","American Pit Bull Terrier","American Staffordshire Terrier","American Water Spaniel","Andalusian Hound","Anglo-Français de Petite Vénerie","Appenzeller Sennenhund","Ariegeois","Armant","Armenian Gampr dog","Artois Hound","Australian Cattle Dog","Australian Kelpie","Australian Shepherd","Australian Stumpy Tail Cattle Dog","Australian Terrier","Austrian Black and Tan Hound","Austrian Pinscher","Azawakh","Bakharwal dog","Banjara Hound","Barbado da Terceira","Barbet","Basenji","Basque Shepherd Dog","Basset Artésien Normand","Basset Bleu de Gascogne","Basset Fauve de Bretagne","Basset Hound","Bavarian Mountain Hound","Beagle","Beagle-Harrier","Bearded Collie","Beauceron","Bedlington Terrier","Belgian Shepherd","Bergamasco Shepherd","Berger Picard","Bernese Mountain Dog","Bhotia","Bichon Frisé","Billy","Black Mouth Cur","Black Norwegian Elkhound","Black Russian Terrier","Black and Tan Coonhound","Bloodhound","Blue Lacy","Blue Picardy Spaniel","Bluetick Coonhound","Boerboel","Bohemian Shepherd","Bolognese","Border Collie","Border Terrier","Borzoi","Bosnian Coarse-haired Hound","Boston Terrier","Bouvier des Ardennes","Bouvier des Flandres","Boxer","Boykin Spaniel","Bracco Italiano","Braque Francais","Braque Saint-Germain","Braque d'Auvergne","Braque de l'Ariège","Braque du Bourbonnais","Briard","Briquet Griffon Vendéen","Brittany","Broholmer","Bruno Jura Hound","Brussels Griffon","Bucovina Shepherd Dog","Bull Arab","Bull Terrier","Bulldog","Bullmastiff","Bully Kutta","Burgos Pointer","Cairn Terrier","Campeiro Bulldog","Can de Chira","Canaan Dog","Canadian Eskimo Dog","Cane Corso","Cane Paratore","Cane di Oropa","Cantabrian Water Dog","Cardigan Welsh Corgi","Carea Castellano Manchego","Carolina Dog","Carpathian Shepherd Dog","Catahoula Leopard Dog","Catalan Sheepdog","Caucasian Shepherd Dog","Cavalier King Charles Spaniel","Central Asian Shepherd Dog","Cesky Fousek","Cesky Terrier","Chesapeake Bay Retriever","Chien Français Blanc et Noir","Chien Français Blanc et Orange","Chien Français Tricolore","Chihuahua","Chilean Terrier","Chinese Chongqing Dog","Chinese Crested Dog","Chinook","Chippiparai","Chongqing dog","Chortai","Chow Chow","Cimarrón Uruguayo","Cirneco dell'Etna","Clumber Spaniel","Colombian fino hound","Coton de Tulear","Cretan Hound","Croatian Sheepdog","Curly-Coated Retriever","Cursinu","Czechoslovakian Wolfdog","Cão Fila de São Miguel","Cão da Serra de Aires","Cão de Castro Laboreiro","Cão de Gado Transmontano","Dachshund","Dalmatian","Dandie Dinmont Terrier","Danish-Swedish Farmdog","Denmark Feist","Dingo","Doberman Pinscher","Dogo Argentino","Dogo Guatemalteco","Dogo Sardesco","Dogue Brasileiro","Dogue de Bordeaux","Drentse Patrijshond","Drever","Dunker","Dutch Shepherd","Dutch Smoushond","East European Shepherd","East Siberian Laika","English Cocker Spaniel","English Foxhound","English Mastiff","English Setter","English Shepherd","English Springer Spaniel","English Toy Terrier","Entlebucher Mountain Dog","Estonian Hound","Estrela Mountain Dog","Eurasier","Field Spaniel","Fila Brasileiro","Finnish Hound","Finnish Lapphund","Finnish Spitz","Flat-Coated Retriever","French Bulldog","French Spaniel","Galgo Español","Galician Shepherd Dog","Garafian Shepherd","Gascon Saintongeois","Georgian Shepherd","German Hound","German Longhaired Pointer","German Pinscher","German Roughhaired Pointer","German Shepherd Dog","German Shorthaired Pointer","German Spaniel","German Spitz","German Wirehaired Pointer","Giant Schnauzer","Glen of Imaal Terrier","Golden Retriever","Gordon Setter","Gończy Polski","Grand Anglo-Français Blanc et Noir","Grand Anglo-Français Blanc et Orange","Grand Anglo-Français Tricolore","Grand Basset Griffon Vendéen","Grand Bleu de Gascogne","Grand Griffon Vendéen","Great Dane","Greater Swiss Mountain Dog","Greek Harehound","Greek Shepherd","Greenland Dog","Greyhound","Griffon Bleu de Gascogne","Griffon Fauve de Bretagne","Griffon Nivernais","Gull Dong","Gull Terrier","Hamiltonstövare","Hanover Hound","Harrier","Havanese","Hierran Wolfdog","Hokkaido","Hovawart","Huntaway","Hygen Hound","Hällefors Elkhound","Ibizan Hound","Icelandic Sheepdog","Indian Spitz","Indian pariah dog","Irish Red and White Setter","Irish Setter","Irish Terrier","Irish Water Spaniel","Irish Wolfhound","Istrian Coarse-haired Hound","Istrian Shorthaired Hound","Italian Greyhound","Jack Russell Terrier","Jagdterrier","Japanese Chin","Japanese Spitz","Japanese Terrier","Jindo","Jonangi","Kai Ken","Kaikadi","Kangal Shepherd Dog","Kanni","Karakachan dog","Karelian Bear Dog","Kars","Karst Shepherd","Keeshond","Kerry Beagle","Kerry Blue Terrier","King Charles Spaniel","King Shepherd","Kintamani","Kishu","Kokoni","Kombai","Komondor","Kooikerhondje","Koolie","Koyun dog","Kromfohrländer","Kuchi","Kuvasz","Labrador Retriever","Lagotto Romagnolo","Lakeland Terrier","Lancashire Heeler","Landseer","Lapponian Herder","Large Münsterländer","Leonberger","Levriero Sardo","Lhasa Apso","Lithuanian Hound","Lupo Italiano","Löwchen","Mackenzie River Husky","Magyar agár","Mahratta Greyhound","Maltese","Manchester Terrier","Maremmano-Abruzzese Sheepdog","McNab dog","Miniature American Shepherd","Miniature Bull Terrier","Miniature Fox Terrier","Miniature Pinscher","Miniature Schnauzer","Molossus of Epirus","Montenegrin Mountain Hound","Mountain Cur","Mountain Feist","Mucuchies","Mudhol Hound","Mudi","Neapolitan Mastiff","New Guinea Singing Dog","New Zealand Heading Dog","Newfoundland","Norfolk Terrier","Norrbottenspets","Northern Inuit Dog","Norwegian Buhund","Norwegian Elkhound","Norwegian Lundehund","Norwich Terrier","Nova Scotia Duck Tolling Retriever","Old Croatian Sighthound","Old Danish Pointer","Old English Sheepdog","Old English Terrier","Olde English Bulldogge","Otterhound","Pachon Navarro","Paisley Terrier","Pampas Deerhound","Papillon","Parson Russell Terrier","Pastore della Lessinia e del Lagorai","Patagonian Sheepdog","Patterdale Terrier","Pekingese","Pembroke Welsh Corgi","Perro Majorero","Perro de Pastor Mallorquin","Perro de Presa Canario","Perro de Presa Mallorquin","Peruvian Inca Orchid","Petit Basset Griffon Vendéen","Petit Bleu de Gascogne","Phalène","Pharaoh Hound","Phu Quoc Ridgeback","Picardy Spaniel","Plott Hound","Plummer Terrier","Podenco Canario","Podenco Valenciano","Pointer","Poitevin","Polish Greyhound","Polish Hound","Polish Lowland Sheepdog","Polish Tatra Sheepdog","Pomeranian","Pont-Audemer Spaniel","Poodle","Porcelaine","Portuguese Podengo","Portuguese Pointer","Portuguese Water Dog","Posavac Hound","Pražský Krysařík","Pshdar Dog","Pudelpointer","Pug","Puli","Pumi","Pungsan Dog","Pyrenean Mastiff","Pyrenean Mountain Dog","Pyrenean Sheepdog","Rafeiro do Alentejo","Rajapalayam","Rampur Greyhound","Rat Terrier","Ratonero Bodeguero Andaluz","Ratonero Mallorquin","Ratonero Murciano de Huerta","Ratonero Valenciano","Redbone Coonhound","Rhodesian Ridgeback","Romanian Mioritic Shepherd Dog","Romanian Raven Shepherd Dog","Rottweiler","Rough Collie","Russian Spaniel","Russian Toy","Russo-European Laika","Saarloos Wolfdog","Sabueso Español","Saint Bernard","Saint Hubert Jura Hound","Saint-Usuge Spaniel","Saluki","Samoyed","Sapsali","Sarabi dog","Sardinian Shepherd Dog","Schapendoes","Schillerstövare","Schipperke","Schweizer Laufhund","Schweizerischer Niederlaufhund","Scottish Deerhound","Scottish Terrier","Sealyham Terrier","Segugio Italiano","Segugio Maremmano","Segugio dell'Appennino","Seppala Siberian Sleddog","Serbian Hound","Serbian Tricolour Hound","Serrano Bulldog","Shar Pei","Shetland Sheepdog","Shiba Inu","Shih Tzu","Shikoku","Shiloh Shepherd","Siberian Husky","Silken Windhound","Silky Terrier","Sinhala Hound","Skye Terrier","Sloughi","Slovakian Wirehaired Pointer","Slovenský Cuvac","Slovenský Kopov","Smalandstövare","Small Greek domestic dog","Small Münsterländer","Smooth Collie","Smooth Fox Terrier","Soft-Coated Wheaten Terrier","South Russian Ovcharka","Spanish Mastiff","Spanish Water Dog","Spinone Italiano","Sporting Lucas Terrier","Stabyhoun","Staffordshire Bull Terrier","Standard Schnauzer","Stephens Stock","Styrian Coarse-haired Hound","Sussex Spaniel","Swedish Elkhound","Swedish Lapphund","Swedish Vallhund","Swedish White Elkhound","Taigan","Taiwan Dog","Tamaskan Dog","Teddy Roosevelt Terrier","Telomian","Tenterfield Terrier","Terrier Brasileiro","Thai Bangkaew Dog","Thai Ridgeback","Tibetan Mastiff","Tibetan Spaniel","Tibetan Terrier","Tornjak","Tosa","Toy Fox Terrier","Toy Manchester Terrier","Transylvanian Hound","Treeing Cur","Treeing Feist","Treeing Tennessee Brindle","Treeing Walker Coonhound","Trigg Hound","Tyrolean Hound","Vikhan","Villano de Las Encartaciones","Villanuco de Las Encartaciones","Vizsla","Volpino Italiano","Weimaraner","Welsh Sheepdog","Welsh Springer Spaniel","Welsh Terrier","West Highland White Terrier","West Siberian Laika","Westphalian Dachsbracke","Wetterhoun","Whippet","White Shepherd","White Swiss Shepherd Dog","Wire Fox Terrier","Wirehaired Pointing Griffon","Wirehaired Vizsla","Xiasi Dog","Xoloitzcuintli","Yakutian Laika","Yorkshire Terrier","Šarplaninac"],LTe=["Alaska pollock","Albacore","Amur catfish","Araucanian herring","Argentine hake","Asari","Asian swamp eel","Atlantic cod","Atlantic herring","Atlantic horse mackerel","Atlantic mackerel","Atlantic menhaden","Atlantic salmon","Bigeye scad","Bigeye tuna","Bighead carp","Black carp","Blood cockle","Blue swimming crab","Blue whiting","Bombay-duck","Bonga shad","California pilchard","Cape horse mackerel","Capelin","Catla","Channel catfish","Chilean jack mackerel","Chinese perch","Chinese softshell turtle","Chub mackerel","Chum salmon","Common carp","Crucian carp","Daggertooth pike conger","European anchovy","European pilchard","European sprat","Filipino Venus","Gazami crab","Goldstripe sardinella","Grass carp","Gulf menhaden","Haddock","Hilsa shad","Indian mackerel","Indian oil sardine","Iridescent shark","Japanese anchovy","Japanese cockle","Japanese common catfish","Japanese flying squid","Japanese jack mackerel","Japanese littleneck","Japanese pilchard","Jumbo flying squid","Kawakawa","Korean bullhead","Largehead hairtail","Longtail tuna","Madeiran sardinella","Mandarin fish","Milkfish","Mrigal carp","Narrow-barred Spanish mackerel","Nile perch","Nile tilapia","North Pacific hake","Northern snakehead","Pacific anchoveta","Pacific cod","Pacific herring","Pacific sand lance","Pacific sandlance","Pacific saury","Pacific thread herring","Peruvian anchoveta","Pink salmon","Pollock","Pond loach","Rainbow trout","Rohu","Round sardinella","Short mackerel","Silver carp","Silver cyprinid","Skipjack tuna","Southern African anchovy","Southern rough shrimp","Whiteleg shrimp","Wuchang bream","Yellow croaker","Yellowfin tuna","Yellowhead catfish","Yellowstripe scad"],MTe=["Abaco Barb","Abtenauer","Abyssinian","Aegidienberger","Akhal-Teke","Albanian Horse","Altai Horse","Altèr Real","American Albino","American Cream Draft","American Indian Horse","American Paint Horse","American Quarter Horse","American Saddlebred","American Warmblood","Andalusian Horse","Andravida Horse","Anglo-Arabian","Anglo-Arabo-Sardo","Anglo-Kabarda","Appaloosa","AraAppaloosa","Arabian Horse","Ardennes Horse","Arenberg-Nordkirchen","Argentine Criollo","Asian wild Horse","Assateague Horse","Asturcón","Augeron","Australian Brumby","Australian Draught Horse","Australian Stock Horse","Austrian Warmblood","Auvergne Horse","Auxois","Azerbaijan Horse","Azteca Horse","Baise Horse","Bale","Balearic Horse","Balikun Horse","Baluchi Horse","Banker Horse","Barb Horse","Bardigiano","Bashkir Curly","Basque Mountain Horse","Bavarian Warmblood","Belgian Half-blood","Belgian Horse","Belgian Warmblood","Bhutia Horse","Black Forest Horse","Blazer Horse","Boerperd","Borana","Boulonnais Horse","Brabant","Brandenburger","Brazilian Sport Horse","Breton Horse","Brumby","Budyonny Horse","Burguete Horse","Burmese Horse","Byelorussian Harness Horse","Calabrese Horse","Camargue Horse","Camarillo White Horse","Campeiro","Campolina","Canadian Horse","Canadian Pacer","Carolina Marsh Tacky","Carthusian Horse","Caspian Horse","Castilian Horse","Castillonnais","Catria Horse","Cavallo Romano della Maremma Laziale","Cerbat Mustang","Chickasaw Horse","Chilean Corralero","Choctaw Horse","Cleveland Bay","Clydesdale Horse","Cob","Coldblood Trotter","Colonial Spanish Horse","Colorado Ranger","Comtois Horse","Corsican Horse","Costa Rican Saddle Horse","Cretan Horse","Criollo Horse","Croatian Coldblood","Cuban Criollo","Cumberland Island Horse","Curly Horse","Czech Warmblood","Daliboz","Danish Warmblood","Danube Delta Horse","Dole Gudbrandsdal","Don","Dongola Horse","Draft Trotter","Dutch Harness Horse","Dutch Heavy Draft","Dutch Warmblood","Dzungarian Horse","East Bulgarian","East Friesian Horse","Estonian Draft","Estonian Horse","Falabella","Faroese","Finnhorse","Fjord Horse","Fleuve","Florida Cracker Horse","Foutanké","Frederiksborg Horse","Freiberger","French Trotter","Friesian Cross","Friesian Horse","Friesian Sporthorse","Furioso-North Star","Galiceño","Galician Pony","Gelderland Horse","Georgian Grande Horse","German Warmblood","Giara Horse","Gidran","Groningen Horse","Gypsy Horse","Hackney Horse","Haflinger","Hanoverian Horse","Heck Horse","Heihe Horse","Henson Horse","Hequ Horse","Hirzai","Hispano-Bretón","Holsteiner Horse","Horro","Hungarian Warmblood","Icelandic Horse","Iomud","Irish Draught","Irish Sport Horse sometimes called Irish Hunter","Italian Heavy Draft","Italian Trotter","Jaca Navarra","Jeju Horse","Jutland Horse","Kabarda Horse","Kafa","Kaimanawa Horses","Kalmyk Horse","Karabair","Karabakh Horse","Karachai Horse","Karossier","Kathiawari","Kazakh Horse","Kentucky Mountain Saddle Horse","Kiger Mustang","Kinsky Horse","Kisber Felver","Kiso Horse","Kladruber","Knabstrupper","Konik","Kundudo","Kustanair","Kyrgyz Horse","Latvian Horse","Lipizzan","Lithuanian Heavy Draught","Lokai","Losino Horse","Lusitano","Lyngshest","M'Bayar","M'Par","Mallorquín","Malopolski","Mangalarga","Mangalarga Marchador","Maremmano","Marismeño Horse","Marsh Tacky","Marwari Horse","Mecklenburger","Menorquín","Messara Horse","Metis Trotter","Mezőhegyesi Sport Horse","Međimurje Horse","Miniature Horse","Misaki Horse","Missouri Fox Trotter","Monchina","Mongolian Horse","Mongolian Wild Horse","Monterufolino","Morab","Morgan Horse","Mountain Pleasure Horse","Moyle Horse","Murakoz Horse","Murgese","Mustang Horse","Mérens Horse","Namib Desert Horse","Nangchen Horse","National Show Horse","Nez Perce Horse","Nivernais Horse","Nokota Horse","Noma","Nonius Horse","Nooitgedachter","Nordlandshest","Noriker Horse","Norman Cob","North American Single-Footer Horse","North Swedish Horse","Norwegian Coldblood Trotter","Norwegian Fjord","Novokirghiz","Oberlander Horse","Ogaden","Oldenburg Horse","Orlov trotter","Ostfriesen","Paint","Pampa Horse","Paso Fino","Pentro Horse","Percheron","Persano Horse","Peruvian Paso","Pintabian","Pleven Horse","Poitevin Horse","Posavac Horse","Pottok","Pryor Mountain Mustang","Przewalski's Horse","Pura Raza Española","Purosangue Orientale","Qatgani","Quarab","Quarter Horse","Racking Horse","Retuerta Horse","Rhenish German Coldblood","Rhinelander Horse","Riwoche Horse","Rocky Mountain Horse","Romanian Sporthorse","Rottaler","Russian Don","Russian Heavy Draft","Russian Trotter","Saddlebred","Salerno Horse","Samolaco Horse","San Fratello Horse","Sarcidano Horse","Sardinian Anglo-Arab","Schleswig Coldblood","Schwarzwälder Kaltblut","Selale","Sella Italiano","Selle Français","Shagya Arabian","Shan Horse","Shire Horse","Siciliano Indigeno","Silesian Horse","Sokolsky Horse","Sorraia","South German Coldblood","Soviet Heavy Draft","Spanish Anglo-Arab","Spanish Barb","Spanish Jennet Horse","Spanish Mustang","Spanish Tarpan","Spanish-Norman Horse","Spiti Horse","Spotted Saddle Horse","Standardbred Horse","Suffolk Punch","Swedish Ardennes","Swedish Warmblood","Swedish coldblood trotter","Swiss Warmblood","Taishū Horse","Takhi","Tawleed","Tchernomor","Tennessee Walking Horse","Tersk Horse","Thoroughbred","Tiger Horse","Tinker Horse","Tolfetano","Tori Horse","Trait Du Nord","Trakehner","Tsushima","Tuigpaard","Ukrainian Riding Horse","Unmol Horse","Uzunyayla","Ventasso Horse","Virginia Highlander","Vlaamperd","Vladimir Heavy Draft","Vyatka","Waler","Waler Horse","Walkaloosa","Warlander","Warmblood","Welsh Cob","Westphalian Horse","Wielkopolski","Württemberger","Xilingol Horse","Yakutian Horse","Yili Horse","Yonaguni Horse","Zaniskari","Zhemaichu","Zweibrücker","Žemaitukas"],ITe=["Acacia-ants","Acorn-plum gall","Aerial yellowjacket","Africanized honey bee","Allegheny mound ant","Almond stone wasp","Ant","Arboreal ant","Argentine ant","Asian paper wasp","Baldfaced hornet","Bee","Bigheaded ant","Black and yellow mud dauber","Black carpenter ant","Black imported fire ant","Blue horntail woodwasp","Blue orchard bee","Braconid wasp","Bumble bee","Carpenter ant","Carpenter wasp","Chalcid wasp","Cicada killer","Citrus blackfly parasitoid","Common paper wasp","Crazy ant","Cuckoo wasp","Cynipid gall wasp","Eastern Carpenter bee","Eastern yellowjacket","Elm sawfly","Encyrtid wasp","Erythrina gall wasp","Eulophid wasp","European hornet","European imported fire ant","False honey ant","Fire ant","Forest bachac","Forest yellowjacket","German yellowjacket","Ghost ant","Giant ichneumon wasp","Giant resin bee","Giant wood wasp","Golden northern bumble bee","Golden paper wasp","Gouty oak gall","Grass Carrying Wasp","Great black wasp","Great golden digger wasp","Hackberry nipple gall parasitoid","Honey bee","Horned oak gall","Horse guard wasp","Hunting wasp","Ichneumonid wasp","Keyhole wasp","Knopper gall","Large garden bumble bee","Large oak-apple gall","Leafcutting bee","Little fire ant","Little yellow ant","Long-horned bees","Long-legged ant","Macao paper wasp","Mallow bee","Marble gall","Mossyrose gall wasp","Mud-daubers","Multiflora rose seed chalcid","Oak apple gall wasp","Oak rough bulletgall wasp","Oak saucer gall","Oak shoot sawfly","Odorous house ant","Orange-tailed bumble bee","Orangetailed potter wasp","Oriental chestnut gall wasp","Paper wasp","Pavement ant","Pigeon tremex","Pip gall wasp","Prairie yellowjacket","Pteromalid wasp","Pyramid ant","Raspberry Horntail","Red ant","Red carpenter ant","Red harvester ant","Red imported fire ant","Red wasp","Red wood ant","Red-tailed wasp","Reddish carpenter ant","Rough harvester ant","Sawfly parasitic wasp","Scale parasitoid","Silky ant","Sirex woodwasp","Siricid woodwasp","Smaller yellow ant","Southeastern blueberry bee","Southern fire ant","Southern yellowjacket","Sphecid wasp","Stony gall","Sweat bee","Texas leafcutting ant","Tiphiid wasp","Torymid wasp","Tramp ant","Valentine ant","Velvet ant","Vespid wasp","Weevil parasitoid","Western harvester ant","Western paper wasp","Western thatching ant","Western yellowjacket","White-horned horntail","Willow shoot sawfly","Woodwasp","Wool sower gall maker","Yellow Crazy Ant","Yellow and black potter wasp","Yellow-horned horntail"],OTe=["Asiatic Lion","Barbary Lion","Cape lion","Masai Lion","Northeast Congo Lion","Transvaal lion","West African Lion"],BTe=["Ace","Archie","Bailey","Bandit","Bella","Bentley","Bruno","Buddy","Charlie","Coco","Cookie","Cooper","Daisy","Dixie","Finn","Ginger","Gracie","Gus","Hank","Jack","Jax","Joey","Kobe","Leo","Lola","Louie","Lucy","Maggie","Max","Mia","Milo","Molly","Murphey","Nala","Nova","Ollie","Oreo","Rosie","Scout","Stella","Teddy","Tuffy"],PTe=["American","American Chinchilla","American Fuzzy Lop","American Sable","Argente Brun","Belgian Hare","Beveren","Blanc de Hotot","Britannia Petite","Californian","Champagne D’Argent","Checkered Giant","Cinnamon","Crème D’Argent","Dutch","Dwarf Hotot","English Angora","English Lop","English Spot","Flemish Giant","Florida White","French Angora","French Lop","Giant Angora","Giant Chinchilla","Harlequin","Havana","Himalayan","Holland Lop","Jersey Wooly","Lilac","Lionhead","Mini Lop","Mini Rex","Mini Satin","Netherland Dwarf","New Zealand","Palomino","Polish","Rex","Rhinelander","Satin","Satin Angora","Silver","Silver Fox","Silver Marten","Standard Chinchilla","Tan","Thrianta"],zTe=["Abrocoma","Abrocoma schistacea","Aconaemys","Aconaemys porteri","African brush-tailed porcupine","Andean mountain cavy","Argentine tuco-tuco","Ashy chinchilla rat","Asiatic brush-tailed porcupine","Atherurus","Azara's agouti","Azara's tuco-tuco","Bahia porcupine","Bathyergus","Bathyergus janetta","Bathyergus suillus","Bennett's chinchilla rat","Bicolored-spined porcupine","Black agouti","Black dwarf porcupine","Black-rumped agouti","Black-tailed hairy dwarf porcupine","Bolivian chinchilla rat","Bolivian tuco-tuco","Bonetto's tuco-tuco","Brandt's yellow-toothed cavy","Brazilian guinea pig","Brazilian porcupine","Brazilian tuco-tuco","Bridge's degu","Brown hairy dwarf porcupine","Budin's chinchilla rat, A. budini","Cape porcupine","Catamarca tuco-tuco","Cavia","Central American agouti","Chacoan tuco-tuco","Chilean rock rat","Chinchilla","Coendou","Coiban agouti","Colburn's tuco-tuco","Collared tuco-tuco","Common degu","Common yellow-toothed cavy","Conover's tuco-tuco","Coruro","Crested agouti","Crested porcupine","Cryptomys","Cryptomys bocagei","Cryptomys damarensis","Cryptomys foxi","Cryptomys hottentotus","Cryptomys mechowi","Cryptomys ochraceocinereus","Cryptomys zechi","Ctenomys","Cuniculus","Cuscomys","Cuscomys ashanika","Dactylomys","Dactylomys boliviensis","Dactylomys dactylinus","Dactylomys peruanus","Dasyprocta","Domestic guinea pig","Emily's tuco-tuco","Erethizon","Famatina chinchilla rat","Frosted hairy dwarf porcupine","Fukomys","Fukomys amatus","Fukomys anselli","Fukomys bocagei","Fukomys damarensis","Fukomys darlingi","Fukomys foxi","Fukomys ilariae","Fukomys kafuensis","Fukomys mechowii","Fukomys micklemi","Fukomys occlusus","Fukomys ochraceocinereus","Fukomys whytei","Fukomys zechi","Furtive tuco-tuco","Galea","Georychus","Georychus capensis","Golden viscacha-rat","Goya tuco-tuco","Greater guinea pig","Green acouchi","Haig's tuco-tuco","Heliophobius","Heliophobius argenteocinereus","Heterocephalus","Heterocephalus glaber","Highland tuco-tuco","Hystrix","Indian porcupine","Isla Mocha degu","Kalinowski agouti","Kannabateomys","Kannabateomys amblyonyx","Lagidium","Lagostomus","Lewis' tuco-tuco","Long-tailed chinchilla","Long-tailed porcupine","Los Chalchaleros' viscacha-rat","Lowland paca","Magellanic tuco-tuco","Malayan porcupine","Maule tuco-tuco","Mendoza tuco-tuco","Mexican agouti","Mexican hairy dwarf porcupine","Microcavia","Montane guinea pig","Moon-toothed degu","Mottled tuco-tuco","Mountain degu","Mountain paca","Mountain viscacha-rat","Myoprocta","Natterer's tuco-tuco","North American porcupine","Northern viscacha","Octodon","Octodontomys","Octomys","Olallamys","Olallamys albicauda","Olallamys edax","Orinoco agouti","Paraguaian hairy dwarf porcupine","Pearson's tuco-tuco","Peruvian tuco-tuco","Philippine porcupine","Pipanacoctomys","Plains viscacha","Plains viscacha-rat","Porteous' tuco-tuco","Punta de Vacas chinchilla rat","Red acouchi","Red-rumped agouti","Reddish tuco-tuco","Rio Negro tuco-tuco","Robust tuco-tuco","Roosmalen's dwarf porcupine","Rothschild's porcupine","Ruatan Island agouti","Sage's rock rat","Salinoctomys","Salta tuco-tuco","San Luis tuco-tuco","Santa Catarina's guinea pig","Shiny guinea pig","Shipton's mountain cavy","Short-tailed chinchilla","Silky tuco-tuco","Social tuco-tuco","Southern mountain cavy","Southern tuco-tuco","Southern viscacha","Spalacopus","Spix's yellow-toothed cavy","Steinbach's tuco-tuco","Streaked dwarf porcupine","Strong tuco-tuco","Stump-tailed porcupine","Sumatran porcupine","Sunda porcupine","Talas tuco-tuco","Tawny tuco-tuco","Thick-spined porcupine","Tiny tuco-tuco","Trichys","Tucuman tuco-tuco","Tympanoctomys","Uspallata chinchilla rat","White-toothed tuco-tuco","Wolffsohn's viscacha"],HTe=["Abaco Island boa","Aesculapian snake","African beaked snake","African puff adder","African rock python","African twig snake","African wolf snake","Amazon tree boa","Amazonian palm viper","American Vine Snake","American copperhead","Amethystine python","Anaconda","Andaman cat snake","Andaman cobra","Angolan python","Annulated sea snake","Arabian cobra","Arafura file snake","Arizona black rattlesnake","Arizona coral snake","Aruba rattlesnake","Asian Vine Snake, Whip Snake","Asian cobra","Asian keelback","Asian pipe snake","Asp","Asp viper","Assam keelback","Australian copperhead","Australian scrub python","Baird's rat snake","Baja California lyresnake","Ball Python","Ball python","Bamboo pitviper","Bamboo viper","Banded Flying Snake","Banded cat-eyed snake","Banded krait","Banded pitviper","Banded water cobra","Barbour's pit viper","Barred wolf snake","Beaked sea snake","Beauty rat snake","Beddome's cat snake","Beddome's coral snake","Bimini racer","Bird snake","Bismarck ringed python","Black headed python","Black krait","Black mamba","Black rat snake","Black snake","Black tree cobra","Black-banded trinket snake","Black-headed snake","Black-necked cobra","Black-necked spitting cobra","Black-speckled palm-pitviper","Black-striped keelback","Black-tailed horned pit viper","Blanding's tree snake","Blind snake","Blonde hognose snake","Blood python","Blue krait","Blunt-headed tree snake","Bluntnose viper","Boa","Boa constrictor","Bocourt's water snake","Boelen python","Boiga","Bolivian anaconda","Boomslang","Bornean pitviper","Borneo short-tailed python","Brahminy blind snake","Brazilian coral snake","Brazilian mud Viper","Brazilian smooth snake","Bredl's python","Brongersma's pitviper","Brown snake","Brown spotted pitviper[4]","Brown tree snake","Brown water python","Brown white-lipped python","Buff striped keelback","Bull snake","Burmese keelback","Burmese krait","Burmese python","Burrowing cobra","Burrowing viper","Bush viper","Bushmaster","Buttermilk racer","Calabar python","California kingsnake","Canebrake","Cantil","Cantor's pitviper","Cape cobra","Cape coral snake","Cape gopher snake","Carpet viper","Cascabel","Caspian cobra","Cat snake","Cat-eyed night snake","Cat-eyed snake","Central American lyre snake","Central ranges taipan","Centralian carpet python","Ceylon krait","Chappell Island tiger snake","Checkered garter snake","Checkered keelback","Chicken snake","Chihuahuan ridge-nosed rattlesnake","Children's python","Chinese tree viper","Coachwhip snake","Coastal carpet python","Coastal taipan","Cobra","Collett's snake","Colorado desert sidewinder","Common adder","Common cobra","Common garter snake","Common ground snake","Common keelback","Common lancehead","Common tiger snake","Common worm snake","Congo snake","Congo water cobra","Copperhead","Coral snake","Corn snake","Coronado Island rattlesnake","Cottonmouth","Crossed viper","Crowned snake","Cuban boa","Cuban wood snake","Cyclades blunt-nosed viper","Dauan Island water python","De Schauensee's anaconda","Death Adder","Desert death adder","Desert kingsnake","Desert woma python","Diamond python","Dog-toothed cat snake","Down's tiger snake","Dubois's sea snake","Dumeril's boa","Durango rock rattlesnake","Dusky pigmy rattlesnake","Dusty hognose snake","Dwarf beaked snake","Dwarf boa","Dwarf pipe snake","Dwarf sand adder","Eastern brown snake","Eastern coral snake","Eastern diamondback rattlesnake","Eastern green mamba","Eastern hognose snake","Eastern lyre snake","Eastern mud snake","Eastern racer","Eastern tiger snake","Eastern water cobra","Eastern yellowbelly sad racer","Egg-eater","Egyptian asp","Egyptian cobra","Elegant pitviper","Emerald tree boa","Equatorial spitting cobra","European asp","European smooth snake","Eyelash palm-pitviper","Eyelash pit viper","Eyelash viper","False cobra","False horned viper","False water cobra","Fan-Si-Pan horned pitviper","Fea's viper","Fer-de-lance","Fierce snake","Fifty pacer","Fishing snake","Flat-nosed pitviper","Flinders python","Flying snake","Forest cobra","Forest flame snake","Forsten's cat snake","Fox snake, three species of Pantherophis","Gaboon viper","Garter snake","Giant Malagasy hognose snake","Godman's pit viper","Gold tree cobra","Gold-ringed cat snake","Golden tree snake","Grand Canyon rattlesnake","Grass snake","Gray cat snake","Great Basin rattlesnake","Great Lakes bush viper","Great Plains rat snake","Green anaconda","Green cat-eyed snake","Green mamba","Green palm viper","Green rat snake","Green snake","Green tree pit viper","Green tree python","Grey Lora","Grey-banded kingsnake","Ground snake","Guatemalan palm viper","Guatemalan tree viper","Habu","Habu pit viper","Hagen's pitviper","Hairy bush viper","Halmahera python","Hardwicke's sea snake","Harlequin coral snake","High Woods coral snake","Hill keelback","Himalayan keelback","Hogg Island boa","Hognose snake","Hognosed viper","Honduran palm viper","Hook Nosed Sea Snake","Hopi rattlesnake","Horned adder","Horned desert viper","Horned viper","Horseshoe pitviper","Hundred pacer","Hutton's tree viper","Ikaheka snake","Indian cobra","Indian flying snake","Indian krait","Indian python","Indian tree viper","Indigo snake","Indochinese spitting cobra","Indonesian water python","Inland carpet python","Inland taipan","Jamaican Tree Snake","Jamaican boa","Jan's hognose snake","Japanese forest rat snake","Japanese rat snake","Japanese striped snake","Javan spitting cobra","Jerdon's pitviper","Jumping viper","Jungle carpet python","Kanburian pit viper","Kaulback's lance-headed pitviper","Kayaudi dwarf reticulated python","Kaznakov's viper","Keelback","Kham Plateau pitviper","Khasi Hills keelback","King Island tiger snake","King brown","King cobra","King rat snake","King snake","Krait","Krefft's tiger snake","Lance-headed rattlesnake","Lancehead","Large shield snake","Large-eyed pitviper","Large-scaled tree viper","Leaf viper","Leaf-nosed viper","Lesser black krait","Levant viper","Long-nosed adder","Long-nosed tree snake","Long-nosed viper","Long-nosed whip snake","Long-tailed rattlesnake","Longnosed worm snake","Lora","Lyre snake","Machete savane","Macklot's python","Madagascar ground boa","Madagascar tree boa","Malabar rock pitviper","Malayan krait","Malayan long-glanded coral snake","Malayan pit viper","Malcolm's tree viper","Mamba","Mamushi","Manchurian Black Water Snake","Mandalay cobra","Mandarin rat snake","Mangrove pit viper","Mangrove snake","Mangshan pitviper","Many-banded krait","Many-banded tree snake","Many-horned adder","Many-spotted cat snake","Massasauga rattlesnake","McMahon's viper","Mexican black kingsnake","Mexican green rattlesnake","Mexican hognose snake","Mexican palm-pitviper","Mexican parrot snake","Mexican racer","Mexican vine snake","Mexican west coast rattlesnake","Midget faded rattlesnake","Milk snake","Moccasin snake","Modest keelback","Mojave desert sidewinder","Mojave rattlesnake","Mole viper","Mollucan python","Moluccan flying snake","Montpellier snake","Motuo bamboo pitviper","Mountain adder","Mozambique spitting cobra","Mud adder","Mud snake","Mussurana","Namaqua dwarf adder","Namib dwarf sand adder","Narrowhead Garter Snake","New Guinea carpet python","Nichell snake","Nicobar Island keelback","Nicobar bamboo pitviper","Night snake","Nightingale adder","Nilgiri keelback","Nitsche's bush viper","Nitsche's tree viper","North Philippine cobra","North eastern king snake","Northeastern hill krait","Northern black-tailed rattlesnake","Northern tree snake","Northern water snake","Northern white-lipped python","Northwestern carpet python","Nose-horned viper","Nubian spitting cobra","Oaxacan small-headed rattlesnake","Oenpelli python","Olive python","Olive sea snake","Orange-collared keelback","Ornate flying snake","Palestine viper","Pallas' viper","Palm viper","Papuan python","Paradise flying snake","Parrot snake","Patchnose snake","Paupan taipan","Pelagic sea snake","Peninsula tiger snake","Peringuey's adder","Perrotet's shieldtail snake","Persian rat snake","Philippine cobra","Philippine pitviper","Pine snake","Pipe snake","Pit viper","Pointed-scaled pit viper[5]","Pope's tree viper","Portuguese viper","Prairie kingsnake","Puerto Rican boa","Puff adder","Pygmy python","Python","Queen snake","Racer","Raddysnake","Rainbow boa","Rat snake","Rattler","Rattlesnake","Red blood python","Red diamond rattlesnake","Red spitting cobra","Red-backed rat snake","Red-bellied black snake","Red-headed krait","Red-necked keelback","Red-tailed bamboo pitviper","Red-tailed boa","Red-tailed pipe snake","Reticulated python","Rhinoceros viper","Rhombic night adder","Ribbon snake","Rinkhals","Rinkhals cobra","River jack","Rosy boa","Rough green snake","Rough-scaled bush viper","Rough-scaled python","Rough-scaled tree viper","Royal python","Rubber boa","Rufous beaked snake","Rungwe tree viper","San Francisco garter snake","Sand adder","Sand boa","Savu python","Saw-scaled viper","Scarlet kingsnake","Schlegel's viper","Schultze's pitviper","Sea snake","Sedge viper","Selayer reticulated python","Sharp-nosed viper","Shield-nosed cobra","Shield-tailed snake","Siamese palm viper","Side-striped palm-pitviper","Sidewinder","Sikkim keelback","Sinai desert cobra","Sind krait","Small-eyed snake","Smooth green snake","Smooth snake","Snorkel viper","Snouted cobra","Sonoran sidewinder","South American hognose snake","South eastern corn snake","Southern Indonesian spitting cobra","Southern Pacific rattlesnake","Southern Philippine cobra","Southern black racer","Southern white-lipped python","Southwestern black spitting cobra","Southwestern blackhead snake","Southwestern carpet python","Southwestern speckled rattlesnake","Speckle-bellied keelback","Speckled kingsnake","Spectacled cobra","Spiny bush viper","Spitting cobra","Spotted python","Sri Lankan pit viper","Stejneger's bamboo pitviper","Stiletto snake","Stimson's python","Stoke's sea snake","Storm water cobra","Striped snake","Sumatran short-tailed python","Sumatran tree viper","Sunbeam snake","Taipan","Taiwan cobra","Tan racer","Tancitaran dusky rattlesnake","Tanimbar python","Tasmanian tiger snake","Tawny cat snake","Temple pit viper","Temple viper","Tentacled snake","Texas Coral Snake","Texas blind snake","Texas garter snake","Texas lyre snake","Texas night snake","Thai cobra","Three-lined ground snake","Tibetan bamboo pitviper","Tic polonga","Tiger pit viper","Tiger rattlesnake","Tiger snake","Tigre snake","Timber rattlesnake","Timor python","Titanboa","Tree boa","Tree snake","Tree viper","Trinket snake","Tropical rattlesnake","Twig snake","Twin Headed King Snake","Twin-Barred tree snake","Twin-spotted rat snake","Twin-spotted rattlesnake","Undulated pit viper","Uracoan rattlesnake","Ursini's viper","Urutu","Vine snake","Viper","Viper Adder","Vipera ammodytes","Wagler's pit viper","Wart snake","Water adder","Water moccasin","Water snake","West Indian racer","Western blind snake","Western carpet python","Western coral snake","Western diamondback rattlesnake","Western green mamba","Western ground snake","Western hog-nosed viper","Western mud snake","Western tiger snake","Western woma python","Wetar Island python","Whip snake","White-lipped keelback","White-lipped python","White-lipped tree viper","Wirot's pit viper","Wolf snake","Woma python","Worm snake","Wutu","Wynaad keelback","Yarara","Yellow anaconda","Yellow-banded sea snake","Yellow-bellied sea snake","Yellow-lined palm viper","Yellow-lipped sea snake","Yellow-striped rat snake","Yunnan keelback","Zebra snake","Zebra spitting cobra"],UTe=["bat","bear","bee","bird","butterfly","cat","cow","crocodile","deer","dog","dolphin","eagle","elephant","fish","flamingo","fox","frog","gecko","giraffe","gorilla","hamster","hippopotamus","horse","kangaroo","koala","lion","monkey","ostrich","panda","parrot","peacock","penguin","polar bear","rabbit","rhinoceros","sea lion","shark","snake","squirrel","tiger","turtle","whale","wolf","zebra"],GTe={bear:CTe,bird:TTe,cat:ATe,cetacean:_Te,cow:DTe,crocodilia:RTe,dog:NTe,fish:LTe,horse:MTe,insect:ITe,lion:OTe,pet_name:BTe,rabbit:PTe,rodent:zTe,snake:HTe,type:UTe},$Te=GTe,jTe=["{{person.name}}","{{company.name}}"],qTe=["Redhold","Treeflex","Trippledex","Kanlam","Bigtax","Daltfresh","Toughjoyfax","Mat Lam Tam","Otcom","Tres-Zap","Y-Solowarm","Tresom","Voltsillam","Biodex","Greenlam","Viva","Matsoft","Temp","Zoolab","Subin","Rank","Job","Stringtough","Tin","It","Home Ing","Zamit","Sonsing","Konklab","Alpha","Latlux","Voyatouch","Alphazap","Holdlamis","Zaam-Dox","Sub-Ex","Quo Lux","Bamity","Ventosanzap","Lotstring","Hatity","Tempsoft","Overhold","Fixflex","Konklux","Zontrax","Tampflex","Span","Namfix","Transcof","Stim","Fix San","Sonair","Stronghold","Fintone","Y-find","Opela","Lotlux","Ronstring","Zathin","Duobam","Keylex"],WTe=["0.#.#","0.##","#.##","#.#","#.#.#"],VTe={author:jTe,name:qTe,version:WTe},KTe=VTe,YTe=["A.A. Milne","Agatha Christie","Alan Moore and Dave Gibbons","Albert Camus","Aldous Huxley","Alexander Pope","Alexandre Dumas","Alice Walker","Andrew Lang","Anne Frank","Anthony Burgess","Anthony Trollope","Antoine de Saint-Exupéry","Anton Chekhov","Anton Pavlovich Chekhov","Arthur Conan Doyle","Arthur Schopenhauer","Aylmer Maude","Ayn Rand","Beatrix Potter","Benjamin Disraeli","Benjamin Jowett","Bernard Shaw","Bertrand Russell","Bhagavanlal Indrajit","Boris Pasternak","Bram Stoker","Brian Evenson","C.E. Brock","C.S. Lewis","Carson McCallers","Charles Dickens","Charles E. Derbyshire","Charlotte Brontë","Charlotte Perkins Gilman","Chinua Achebe","Clifford R. Adams","Constance Garnett","Cormac McCarthy","D.H. Lawrence","Dan Brown","Daniel Defoe","Dante Alighieri","Dashiell Hammett","David Widger","David Wyllie","Dean Koontz","Don DeLillo","E.M. Forster","Edgar Allan Poe","Edgar Rice Burroughs","Elizabeth Cleghorn Gaskell","Elizabeth Von Arnim","Emily Brontë","Erich Remarque","Ernest Hemingway","Evelyn Waugh","F. Scott Fitzgerald","Ford Madox Ford","Frances Hodgson Burnett","Frank Herbert","Frank T. Merrill","Franz Kafka","Friedrich Wilhelm Nietzsche","Fyodor Dostoyevsky","G.K. Chesterton","Gabriel Garcia Marquez","Geoffrey Chaucer","George Eliot","George Grossmith","George Orwell","George R. R. Martin","George Saunders","Grady Ward","Graham Greene","Gustave Doré","Gustave Flaubert","Guy de Maupassant","Günter Grass","H.G. Wells","H.P. Lovecraft","Harper Lee","Harriet Beecher Stowe","Haruki Murakami","Henrik Ibsen","Henry David Thoreau","Henry Fielding","Henry James","Henry Miller","Henry Morley","Herman Melville","Hermann Broch","Homer","Honoré de Balzac","Ian McEwan","Isabel Florence Hapgood","Italo Calvino","J.D. Salinger","J.K. Rowling","J.M. Barrie","J.R.R. Tolkien","Jack Kerouac","Jack London","Jacob Grimm","Jacqueline Crooks","James Baldwin","James Dickey","James Ellroy","James Joyce","James Patterson","Jane Austen","Johann Wolfgang von Goethe","John Bunyan","John Camden Hotten","John Dos Passos","John Green","John Grisham","John Kennedy Toole","John Milton","John Ormsby","John Steinbeck","John Updike","Jonathan Franzen","Jonathan Swift","Joseph Conrad","Joseph Heller","José Rizal","Judy Blume","Jules Verne","Junot Diaz","Karl Marx","Kazuo Ishiguro","Ken Follett","Ken Kesey","Kenneth Grahame","Khaled Hosseini","Kingsley Amis","Kurt Vonnegut","L. Frank Baum","L.M. Montgomery","Laurence Sterne","Leo Tolstoy","Lewis Carroll","Louisa May Alcott","Louise Maude","Malcolm Lowry","Marcel Proust","Margaret Atwood","Margaret Mitchell","Marilynne Robinson","Mark Twain","Martin Amis","Mary Shelley","Michael Chabon","Miguel de Cervantes","Mikhail Bulgakov","Muriel Spark","Nancy Mitford","Nathanael West","Nathaniel Hawthorne","Neil Gaiman","Niccolo Machiavelli","Norman Mailer","Oscar Levy","Oscar Wilde","P.G. Wodehouse","Paulo Coelho","Peter Carey","Philip Pullman","Philip Roth","Plato","R.L. Stine","Rachel Kushner","Ralph Ellison","Ray Bradbury","Raymond Chandler","Richard Wagner","Richard Wright","Richard Yates","Roald Dahl","Robert Graves","Robert Louis Stevenson","Robert Penn Warren","Rudyard Kipling","Salman Rushdie","Samuel Beckett","Samuel Butler","Samuel Richardson","Saul Bellow","Shivaram Parashuram Bhide","Sir Arthur Conan Doyle","Sir Richard Francis Burton","Stendhal","Stephen Hawking","Stephen King","Sun Tzu","Suzanne Collins","T. Smollett","T.S. Eliot","Theodore Alois Buckley","Theodore Dreiser","Thomas Hardy","Thomas Love Peacock","Thomas Mann","Toni Morrison","Truman Capote","V.S. Naipaul","Vance Packard","Vatsyayana","Victor Hugo","Virgil","Virginia Woolf","Vladimir Nabokov","Voltaire","W.G. Sebald","W.K. Marriott","Walker Percy","Walt Whitman","Walter Scott","Wilhelm Grimm","Wilkie Collins","William Faulkner","William Gibson","William Golding","William Makepeace Thackeray","William Shakespeare","Zadie Smith"],XTe=["Audiobook","Ebook","Hardcover","Paperback"],JTe=["Adventure","Biography","Business","Children's Literature","Classic","Comedy","Comic","Detective","Drama","Fantasy","Graphic Novel","Historical Fiction","Horror","Memoir","Mystery","Mythology","Philosophy","Poetry","Psychology","Religion","Romance","Science Fiction","Thriller","Western","Young Adult"],ZTe=["Academic Press","Ace Books","Addison-Wesley","Adis International","Airiti Press","Allen Ltd","Andrews McMeel Publishing","Anova Books","Anvil Press Poetry","Applewood Books","Apress","Athabasca University Press","Atheneum Books","Atheneum Publishers","Atlantic Books","Atlas Press","BBC Books","Ballantine Books","Banner of Truth Trust","Bantam Books","Bantam Spectra","Barrie & Jenkins","Basic Books","Belknap Press","Bella Books","Bellevue Literary Press","Berg Publishers","Berkley Books","Bison Books","Black Dog Publishing","Black Library","Black Sparrow Books","Blackie and Son Limited","Blackstaff Press","Blackwell Publishing","Bloodaxe Books","Bloomsbury Publishing Plc","Blue Ribbon Books","Book League of America","Book Works","Booktrope","Borgo Press","Bowes & Bowes","Boydell & Brewer","Breslov Research Institute","Brill","Brimstone Press","Broadview Press","Burns & Oates","Butterworth-Heinemann","Caister Academic Press","Cambridge University Press","Candlewick Press","Canongate Books","Carcanet Press","Carlton Books","Carlton Publishing Group","Carnegie Mellon University Press","Casemate Publishers","Cengage Learning","Central European University Press","Chambers Harrap","Charles Scribner's Sons","Chatto and Windus","Chick Publications","Chronicle Books","Churchill Livingstone","Cisco Press","City Lights Publishers","Cloverdale Corporation","D. Appleton & Company","D. Reidel","DAW Books","Da Capo Press","Daedalus Publishing","Dalkey Archive Press","Darakwon Press","David & Charles","Dedalus Books","Del Rey Books","E. P. Dutton","ECW Press","Earthscan","Edupedia Publications","Eel Pie Publishing","Eerdmans Publishing","Ellora's Cave","Elsevier","Emerald Group Publishing","Etruscan Press","FabJob","Faber and Faber","Fairview Press","Farrar, Straus & Giroux","Fearless Books","Felony & Mayhem Press","Firebrand Books","Flame Tree Publishing","Focal Press","G-Unit Books","G. P. Putnam's Sons","Gaspereau Press","Gay Men's Press","Gefen Publishing House","George H. Doran Company","George Newnes","George Routledge & Sons","Godwit Press","Golden Cockerel Press","HMSO","Hachette Book Group USA","Hackett Publishing Company","Hamish Hamilton","Happy House","Harcourt Assessment","Harcourt Trade Publishers","Harlequin Enterprises Ltd","Harper & Brothers","Harper & Row","HarperCollins","HarperPrism","HarperTrophy","Harry N. Abrams, Inc.","Harvard University Press","Harvest House","Harvill Press at Random House","Hawthorne Books","Hay House","Haynes Manuals","Heyday Books","Hodder & Stoughton","Hodder Headline","Hogarth Press","Holland Park Press","Holt McDougal","Horizon Scientific Press","Ian Allan Publishing","Ignatius Press","Imperial War Museum","Indiana University Press","J. M. Dent","Jaico Publishing House","Jarrolds Publishing","John Blake Publishing","Karadi Tales","Kensington Books","Kessinger Publishing","Kodansha","Kogan Page","Koren Publishers Jerusalem","Ladybird Books","Leaf Books","Leafwood Publishers","Left Book Club","Legend Books","Lethe Press","Libertas Academica","Liberty Fund","Library of America","Lion Hudson","Macmillan Publishers","Mainstream Publishing","Manchester University Press","Mandrake Press","Mandrake of Oxford","Manning Publications","Manor House Publishing","Mapin Publishing","Marion Boyars Publishers","Mark Batty Publisher","Marshall Cavendish","Marshall Pickering","Martinus Nijhoff Publishers","Mascot Books","Matthias Media","McClelland and Stewart","McFarland & Company","McGraw Hill Financial","McGraw-Hill Education","Medknow Publications","Naiad Press","Nauka","NavPress","New Directions Publishing","New English Library","New Holland Publishers","New Village Press","Newnes","No Starch Press","Nonesuch Press","O'Reilly Media","Oberon Books","Open Court Publishing Company","Open University Press","Orchard Books","Orion Books","Packt Publishing","Palgrave Macmillan","Pan Books","Pantheon Books at Random House","Papadakis Publisher","Parachute Publishing","Parragon","Pathfinder Press","Paulist Press","Pavilion Books","Peace Hill Press","Pecan Grove Press","Pen and Sword Books","Penguin Books","Random House","Reed Elsevier","Reed Publishing","SAGE Publications","Salt Publishing","Sams Publishing","Schocken Books","Scholastic Press","Seagull Books","Secker & Warburg","Shambhala Publications","Shire Books","Shoemaker & Hoard Publishers","Shuter & Shooter Publishers","Sidgwick & Jackson","Signet Books","Simon & Schuster","St. Martin's Press","T & T Clark","Tachyon Publications","Tammi","Target Books","Tarpaulin Sky Press","Tartarus Press","Tate Publishing & Enterprises","Taunton Press","Taylor & Francis","Ten Speed Press","UCL Press","Unfinished Monument Press","United States Government Publishing Office","University of Akron Press","University of Alaska Press","University of California Press","University of Chicago Press","University of Michigan Press","University of Minnesota Press","University of Nebraska Press","Velazquez Press","Verso Books","Victor Gollancz Ltd","Viking Press","Vintage Books","Vintage Books at Random House","Virago Press","Virgin Publishing","Voyager Books","Zed Books","Ziff Davis Media","Zondervan"],QTe=["A Song of Ice and Fire","Anna Karenina","Colonel Race","Discworld","Dune","Harry Potter","Hercule Poirot","His Dark Materials","Jane Austen Murder Mysteries","Little Women","Outlander","Percy Jackson","Sherlock Holmes","The Arc of a Scythe","The Bartimaeus Trilogy","The Border Trilogy","The Chronicles of Narnia","The Dark Tower","The Dresden Files","The Eighth Life","The Foundation Series","The Hitchhiker's Guide to the Galaxy","The Hunger Games","The Infinity Cycle","The Inheritance Cycle","The Lord of the Rings","The Maze Runner","The Prison Healer","The Red Rising Saga","The Southern Reach","The Wheel of Time","Thursday Next Series","Twilight","War and Peace"],e3e=["1984","20,000 Leagues Under the Sea","A Bend in the River","A Brief History of Time","A Clockwork Orange","A Confederacy of Dunces","A Doll's House","A Handful of Dust","A Modest Proposal","A Passage to India","A Portrait of the Artist as a Young Man","A Room with a View","A Study in Scarlet","A Tale of Two Cities","A Wrinkle in Time","Absalom, Absalom!","Adventures of Huckleberry Finn","Alice's Adventures in Wonderland","All Quiet on the Western Front","All the King's Men","American Pastoral","An American Tragedy","And Then There Were None","Animal Farm","Anna Karenina","Anne of Green Gables","Are You There God? It's Me, Margaret","As I Lay Dying","Atlas Shrugged","Atonement","Austerlitz","Beloved","Beyond Good and Evil","Bible","Bleak House","Blood Meridian","Brave New World","Brideshead Revisited","Candide","Carmilla","Catch-22","Charlie and the Chocolate Factory","Charlotte's Web","Clarissa","Cranford","Crime and Punishment","Dao De Jing: A Minimalist Translation","David Copperfield","Deliverance","Don Quixote","Dora","Dr. Zhivago","Dracula","Dubliners","Dune","East of Eden","Emma","Fahrenheit 451","Faust","For Whom the Bell Tolls","Frankenstein","Freakonomics","Go Tell It on the Mountain","Gone with the Wind","Great Expectations","Grimms' Fairy Tales","Gulliver's Travels","Hamlet","Harry Potter and the Sorcerer's Stone","Heart of Darkness","Herzog","His Dark Materials","Hitting the line","Housekeeping","I, Claudius","If on a Winter's Night a Traveler","In Cold Blood","In Search of Lost Time","Invisible Man","It","Jane Eyre","Josefine Mutzenbacher","Jude the Obscure","L.A. Confidential","Leaves of Grass","Les Miserables","Life of Pi","Little Women","Lolita","Long Walk to Freedom","Lord Jim","Lord of the Flies","Lucky Jim","Madame Bovary","Malone Dies","Meditations","Men Without Women","Metamorphosis","Middlemarch","Midnight's Children","Moby Dick","Money","Mrs. Dalloway","My Bondage and My Freedom","My Life","Native Son","Neuromancer","Never Let Me Go","Nightmare Abbey","Nineteen Eighty Four","Nostromo","Notes from the Underground","Of Mice and Men","Oliver Twist","On the Duty of Civil Disobedience","On the Road","One Flew Over the Cuckoo's Nest","One Hundred Years of Solitude","One Thousand and One Nights","Oscar and Lucinda","Pale Fire","Paradise Lost","Peter Pan","Portnoy's Complaint","Pride and Prejudice","Rabbit, Run","Republic","Revolutionary Road","Robinson Crusoe","Romeo and Juliet","Ruth Fielding in Alaska","Scoop","Second Treatise of Government","Slaughterhouse Five","Stories of Anton Chekhov","Sybil","Tess of the d'Urbervilles","The Adventures of Augie March","The Adventures of Huckleberry Finn","The Adventures of Sherlock Holmes","The Adventures of Tom Sawyer","The Aeneid","The Alchemist","The Ambassadors","The Art of War","The Big Sleep","The Black Sheep","The Blue Castle","The Brief Wondrous Life of Oscar Wao","The Brothers Karamazov","The Call of the Wild","The Canterbury Tales","The Catcher in the Rye","The Color Purple","The Complete Works of Edgar Allen Poe","The Corrections","The Count of Monte Cristo","The Day of the Locust","The Diary of a Nobody","The Diary of a Young Girl","The Divine Comedy","The Enchanted April","The Fountainhead","The Golden Bowl","The Golden Notebook","The Good Soldier","The Grapes of Wrath","The Great Gatsby","The Handmaid's Tale","The Heart is a Lonely Hunter","The Heart of the Matter","The Hobbit","The Hound of the Baskervilles","The Idiot","The Iliad","The King in Yellow","The Kite Runner","The Lion, the Witch, and the Wardrobe","The Little Prince","The Lord of the Rings","The Magic Mountain","The Maltese Falcon","The Master and Margarita","The Moviegoer","The Naked and the Dead","The Odyssey","The Old Man and the Sea","The Pickwick Papers","The Picture of Dorian Gray","The Pilgrim's Progress","The Pillars of the Earth","The Plague","The Portrait of a Lady","The Prime of Miss Jean Brodie","The Prince","The Problems of Philosophy","The Prophet","The Pursuit of Love","The Rainbow","The Red and the Black","The Remains of the Day","The Republic","The Scarlet Letter","The Sleepwalkers","The Sound and the Fury","The Stand","The Strange Case of Dr. Jekyll and Mr. Hyde","The Stranger","The Sun Also Rises","The Thirty-Nine Steps","The Three Musketeers","The Time Machine","The Tin Drum","The Trial","The War of the Worlds","The Waste Land","The Way We Live Now","The Wind in the Willows","The Woman in White","The Wonderful Wizard of Oz","The Works of Edgar Allan Poe","The Yellow Wallpaper","Things Fall Apart","Tinker, Tailor, Soldier, Spy","To Kill a Mockingbird","To the Lighthouse","Tom Jones","Treasure Island","Tristram Shandy","Tropic of Cancer","U.S.A. Trilogy","Ulysses","Uncle Tom's Cabin","Under the Volcano","Underworld","Vanity Fair","Walden","War and Peace","Watchmen","Winnie-the-Pooh","Wuthering Heights"],t3e={author:YTe,format:XTe,genre:JTe,publisher:ZTe,series:QTe,title:e3e},r3e=t3e,n3e=["###-###-####","(###) ###-####","1-###-###-####","###.###.####"],a3e={formats:n3e},i3e=a3e,o3e=["azure","black","blue","cyan","fuchsia","gold","green","grey","indigo","ivory","lavender","lime","magenta","maroon","mint green","olive","orange","orchid","pink","plum","purple","red","salmon","silver","sky blue","tan","teal","turquoise","violet","white","yellow"],s3e={human:o3e},l3e=s3e,u3e=["Automotive","Baby","Beauty","Books","Clothing","Computers","Electronics","Games","Garden","Grocery","Health","Home","Industrial","Jewelry","Kids","Movies","Music","Outdoors","Shoes","Sports","Tools","Toys"],c3e=["Discover the {{animal.type}}-like agility of our {{commerce.product}}, perfect for {{word.adjective}} users","Discover the {{word.adjective}} new {{commerce.product}} with an exciting mix of {{commerce.productMaterial}} ingredients","Ergonomic {{commerce.product}} made with {{commerce.productMaterial}} for all-day {{word.adjective}} support","Experience the {{color.human}} brilliance of our {{commerce.product}}, perfect for {{word.adjective}} environments","Featuring {{science.chemical_element.name}}-enhanced technology, our {{commerce.product}} offers unparalleled {{word.adjective}} performance","Innovative {{commerce.product}} featuring {{word.adjective}} technology and {{commerce.productMaterial}} construction","Introducing the {{location.country}}-inspired {{commerce.product}}, blending {{word.adjective}} style with local craftsmanship","New {{color.human}} {{commerce.product}} with ergonomic design for {{word.adjective}} comfort",'New {{commerce.product}} model with {{number.int({"min": 1, "max": 100})}} GB RAM, {{number.int({"min": 1, "max": 1000})}} GB storage, and {{word.adjective}} features',"Our {{animal.type}}-friendly {{commerce.product}} ensures {{word.adjective}} comfort for your pets","Our {{food.adjective}}-inspired {{commerce.product}} brings a taste of luxury to your {{word.adjective}} lifestyle","Professional-grade {{commerce.product}} perfect for {{word.adjective}} training and recreational use","Savor the {{food.adjective}} essence in our {{commerce.product}}, designed for {{word.adjective}} culinary adventures","Stylish {{commerce.product}} designed to make you stand out with {{word.adjective}} looks","The sleek and {{word.adjective}} {{commerce.product}} comes with {{color.human}} LED lighting for smart functionality","The {{color.human}} {{commerce.product}} combines {{location.country}} aesthetics with {{science.chemical_element.name}}-based durability","The {{company.catchPhrase}} {{commerce.product}} offers reliable performance and {{word.adjective}} design","The {{person.firstName}} {{commerce.product}} is the latest in a series of {{word.adjective}} products from {{company.name}}","{{commerce.productAdjective}} {{commerce.product}} designed with {{commerce.productMaterial}} for {{word.adjective}} performance","{{company.name}}'s most advanced {{commerce.product}} technology increases {{word.adjective}} capabilities"],d3e={adjective:["Awesome","Bespoke","Electronic","Elegant","Ergonomic","Fantastic","Fresh","Frozen","Generic","Gorgeous","Handcrafted","Handmade","Incredible","Intelligent","Licensed","Luxurious","Modern","Oriental","Practical","Recycled","Refined","Rustic","Sleek","Small","Soft","Tasty","Unbranded"],material:["Aluminum","Bamboo","Bronze","Ceramic","Concrete","Cotton","Gold","Granite","Marble","Metal","Plastic","Rubber","Silk","Steel","Wooden"],product:["Bacon","Ball","Bike","Car","Chair","Cheese","Chicken","Chips","Computer","Fish","Gloves","Hat","Keyboard","Mouse","Pants","Pizza","Salad","Sausages","Shirt","Shoes","Soap","Table","Towels","Tuna"]},h3e={department:u3e,product_description:c3e,product_name:d3e},p3e=h3e,f3e=["AI-driven","Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Compatible","Configurable","Cross-platform","Customer-focused","Customizable","Decentralized","Devolved","Digitized","Distributed","Diverse","Enhanced","Ergonomic","Exclusive","Expanded","Extended","Face to face","Focused","Front-line","Fully-configurable","Fundamental","Future-proofed","Grass-roots","Horizontal","Immersive","Implemented","Innovative","Integrated","Intuitive","Managed","Monitored","Multi-tiered","Networked","Open-architected","Open-source","Operative","Optimized","Optional","Organic","Organized","Persevering","Persistent","Phased","Polarised","Proactive","Profit-focused","Profound","Programmable","Progressive","Public-key","Quality-focused","Reactive","Realigned","Reduced","Reverse-engineered","Robust","Seamless","Secured","Self-enabling","Sharable","Smart","Stand-alone","Streamlined","Sustainable","Synchronised","Team-oriented","Total","Triple-buffered","Universal","Upgradable","User-centric","User-friendly","Versatile","Virtual","Visionary"],m3e=["24/7","AI-driven","B2B","B2C","back-end","best-of-breed","bleeding-edge","collaborative","compelling","cross-media","cross-platform","customized","cutting-edge","decentralized","distributed","dynamic","efficient","end-to-end","enterprise","extensible","frictionless","front-end","generative","global","granular","holistic","immersive","impactful","innovative","integrated","interactive","intuitive","killer","leading-edge","magnetic","mission-critical","next-generation","one-to-one","open-source","out-of-the-box","plug-and-play","proactive","quantum","real-time","revolutionary","rich","robust","scalable","seamless","smart","sticky","strategic","sustainable","synergistic","transparent","turn-key","ubiquitous","user-centric","value-added","vertical","viral","virtual","visionary","world-class"],g3e=["AI","ROI","applications","architectures","blockchains","channels","communities","content","convergence","deliverables","e-commerce","experiences","functionalities","infrastructures","initiatives","interfaces","large language models","lifetime value","markets","methodologies","metrics","mindshare","models","networks","niches","paradigms","partnerships","platforms","relationships","schemas","smart contracts","solutions","supply-chains","synergies","systems","technologies","users","web services"],b3e=["aggregate","architect","benchmark","brand","collaborate","cultivate","deliver","deploy","disintermediate","drive","embrace","empower","enable","engage","engineer","enhance","evolve","expedite","exploit","extend","facilitate","gamify","generate","grow","harness","implement","incentivize","incubate","innovate","integrate","iterate","leverage","maximize","mesh","monetize","optimize","orchestrate","productize","redefine","reinvent","repurpose","revolutionize","scale","seize","simplify","strategize","streamline","syndicate","synthesize","target","transform","transition","unleash","utilize","visualize","whiteboard"],y3e=["24 hour","24/7","AI-powered","actuating","analyzing","asymmetric","asynchronous","attitude-oriented","bifurcated","bottom-line","clear-thinking","client-driven","client-server","cloud-native","coherent","cohesive","composite","content-based","context-sensitive","contextually-based","data-driven","dedicated","demand-driven","directional","discrete","disintermediate","dynamic","eco-centric","empowering","encompassing","executive","explicit","exuding","fault-tolerant","fresh-thinking","full-range","global","heuristic","high-level","holistic","homogeneous","human-resource","hybrid","immersive","impactful","incremental","intangible","interactive","intermediate","leading edge","local","logistical","maximized","methodical","mission-critical","mobile","modular","motivating","national","needs-based","neutral","next generation","optimal","optimizing","radical","real-time","reciprocal","regional","resilient","responsive","scalable","secondary","stable","static","sustainable","system-worthy","systematic","systemic","tangible","tertiary","transitional","uniform","user-facing","value-added","well-modulated","zero administration","zero defect","zero tolerance","zero trust"],v3e=["Group","Inc","LLC","and Sons"],F3e=["{{person.last_name.generic}} - {{person.last_name.generic}}","{{person.last_name.generic}} {{company.legal_entity_type}}","{{person.last_name.generic}}, {{person.last_name.generic}} and {{person.last_name.generic}}"],E3e=["ability","access","adapter","algorithm","alliance","analyzer","application","approach","architecture","archive","array","artificial intelligence","attitude","benchmark","budgetary management","capability","capacity","challenge","circuit","collaboration","complexity","concept","conglomeration","contingency","core","customer loyalty","data-warehouse","database","definition","emulation","encoding","encryption","firmware","flexibility","focus group","forecast","frame","framework","function","functionalities","generative AI","hardware","help-desk","hierarchy","hub","implementation","infrastructure","initiative","installation","instruction set","interface","internet solution","intranet","knowledge base","knowledge user","leverage","local area network","matrices","matrix","methodology","microservice","middleware","migration","model","moderator","monitoring","moratorium","neural-net","open architecture","orchestration","paradigm","parallelism","policy","portal","pricing structure","process improvement","product","productivity","project","projection","protocol","service-desk","software","solution","standardization","strategy","structure","success","support","synergy","system engine","task-force","throughput","time-frame","toolset","utilisation","website","workforce"],S3e={adjective:f3e,buzz_adjective:m3e,buzz_noun:g3e,buzz_verb:b3e,descriptor:y3e,legal_entity_type:v3e,name_pattern:F3e,noun:E3e},x3e=S3e,w3e=["avatar","category","comment","createdAt","email","group","id","name","password","phone","status","title","token","updatedAt"],k3e={column:w3e},C3e=k3e,T3e={wide:["April","August","December","February","January","July","June","March","May","November","October","September"],abbr:["Apr","Aug","Dec","Feb","Jan","Jul","Jun","Mar","May","Nov","Oct","Sep"]},A3e={wide:["Friday","Monday","Saturday","Sunday","Thursday","Tuesday","Wednesday"],abbr:["Fri","Mon","Sat","Sun","Thu","Tue","Wed"]},_3e={month:T3e,weekday:A3e},D3e=_3e,R3e=["Auto Loan","Checking","Credit Card","Home Loan","Investment","Money Market","Personal Loan","Savings"],N3e=["34##-######-####L","37##-######-####L"],L3e=["30[0-5]#-######-###L","36##-######-###L","54##-####-####-###L"],M3e=["6011-####-####-###L","64[4-9]#-####-####-###L","65##-####-####-###L"],I3e=["3528-####-####-###L","3529-####-####-###L","35[3-8]#-####-####-###L"],O3e=["2[221-720]-####-####-###L","5[1-5]##-####-####-###L"],B3e=["4###########L","4###-####-####-###L"],P3e={american_express:N3e,diners_club:L3e,discover:M3e,jcb:I3e,mastercard:O3e,visa:B3e},z3e=P3e,H3e=[{name:"UAE Dirham",code:"AED",symbol:""},{name:"Afghani",code:"AFN",symbol:"؋"},{name:"Lek",code:"ALL",symbol:"Lek"},{name:"Armenian Dram",code:"AMD",symbol:""},{name:"Netherlands Antillian Guilder",code:"ANG",symbol:"ƒ"},{name:"Kwanza",code:"AOA",symbol:""},{name:"Argentine Peso",code:"ARS",symbol:"$"},{name:"Australian Dollar",code:"AUD",symbol:"$"},{name:"Aruban Guilder",code:"AWG",symbol:"ƒ"},{name:"Azerbaijanian Manat",code:"AZN",symbol:"ман"},{name:"Convertible Marks",code:"BAM",symbol:"KM"},{name:"Barbados Dollar",code:"BBD",symbol:"$"},{name:"Taka",code:"BDT",symbol:""},{name:"Bulgarian Lev",code:"BGN",symbol:"лв"},{name:"Bahraini Dinar",code:"BHD",symbol:""},{name:"Burundi Franc",code:"BIF",symbol:""},{name:"Bermudian Dollar (customarily known as Bermuda Dollar)",code:"BMD",symbol:"$"},{name:"Brunei Dollar",code:"BND",symbol:"$"},{name:"Boliviano boliviano",code:"BOB",symbol:"Bs"},{name:"Brazilian Real",code:"BRL",symbol:"R$"},{name:"Bahamian Dollar",code:"BSD",symbol:"$"},{name:"Pula",code:"BWP",symbol:"P"},{name:"Belarusian Ruble",code:"BYN",symbol:"Rbl"},{name:"Belize Dollar",code:"BZD",symbol:"BZ$"},{name:"Canadian Dollar",code:"CAD",symbol:"$"},{name:"Congolese Franc",code:"CDF",symbol:""},{name:"Swiss Franc",code:"CHF",symbol:"CHF"},{name:"Chilean Peso",code:"CLP",symbol:"$"},{name:"Yuan Renminbi",code:"CNY",symbol:"¥"},{name:"Colombian Peso",code:"COP",symbol:"$"},{name:"Costa Rican Colon",code:"CRC",symbol:"₡"},{name:"Cuban Peso",code:"CUP",symbol:"₱"},{name:"Cape Verde Escudo",code:"CVE",symbol:""},{name:"Czech Koruna",code:"CZK",symbol:"Kč"},{name:"Djibouti Franc",code:"DJF",symbol:""},{name:"Danish Krone",code:"DKK",symbol:"kr"},{name:"Dominican Peso",code:"DOP",symbol:"RD$"},{name:"Algerian Dinar",code:"DZD",symbol:""},{name:"Egyptian Pound",code:"EGP",symbol:"£"},{name:"Nakfa",code:"ERN",symbol:""},{name:"Ethiopian Birr",code:"ETB",symbol:""},{name:"Euro",code:"EUR",symbol:"€"},{name:"Fiji Dollar",code:"FJD",symbol:"$"},{name:"Falkland Islands Pound",code:"FKP",symbol:"£"},{name:"Pound Sterling",code:"GBP",symbol:"£"},{name:"Lari",code:"GEL",symbol:""},{name:"Cedi",code:"GHS",symbol:""},{name:"Gibraltar Pound",code:"GIP",symbol:"£"},{name:"Dalasi",code:"GMD",symbol:""},{name:"Guinea Franc",code:"GNF",symbol:""},{name:"Quetzal",code:"GTQ",symbol:"Q"},{name:"Guyana Dollar",code:"GYD",symbol:"$"},{name:"Hong Kong Dollar",code:"HKD",symbol:"$"},{name:"Lempira",code:"HNL",symbol:"L"},{name:"Gourde",code:"HTG",symbol:""},{name:"Forint",code:"HUF",symbol:"Ft"},{name:"Rupiah",code:"IDR",symbol:"Rp"},{name:"New Israeli Sheqel",code:"ILS",symbol:"₪"},{name:"Bhutanese Ngultrum",code:"BTN",symbol:"Nu"},{name:"Indian Rupee",code:"INR",symbol:"₹"},{name:"Iraqi Dinar",code:"IQD",symbol:""},{name:"Iranian Rial",code:"IRR",symbol:"﷼"},{name:"Iceland Krona",code:"ISK",symbol:"kr"},{name:"Jamaican Dollar",code:"JMD",symbol:"J$"},{name:"Jordanian Dinar",code:"JOD",symbol:""},{name:"Yen",code:"JPY",symbol:"¥"},{name:"Kenyan Shilling",code:"KES",symbol:""},{name:"Som",code:"KGS",symbol:"лв"},{name:"Riel",code:"KHR",symbol:"៛"},{name:"Comoro Franc",code:"KMF",symbol:""},{name:"North Korean Won",code:"KPW",symbol:"₩"},{name:"Won",code:"KRW",symbol:"₩"},{name:"Kuwaiti Dinar",code:"KWD",symbol:""},{name:"Cayman Islands Dollar",code:"KYD",symbol:"$"},{name:"Tenge",code:"KZT",symbol:"лв"},{name:"Kip",code:"LAK",symbol:"₭"},{name:"Lebanese Pound",code:"LBP",symbol:"£"},{name:"Sri Lanka Rupee",code:"LKR",symbol:"₨"},{name:"Liberian Dollar",code:"LRD",symbol:"$"},{name:"Libyan Dinar",code:"LYD",symbol:""},{name:"Moroccan Dirham",code:"MAD",symbol:""},{name:"Moldovan Leu",code:"MDL",symbol:""},{name:"Malagasy Ariary",code:"MGA",symbol:""},{name:"Denar",code:"MKD",symbol:"ден"},{name:"Kyat",code:"MMK",symbol:""},{name:"Tugrik",code:"MNT",symbol:"₮"},{name:"Pataca",code:"MOP",symbol:""},{name:"Ouguiya",code:"MRU",symbol:""},{name:"Mauritius Rupee",code:"MUR",symbol:"₨"},{name:"Rufiyaa",code:"MVR",symbol:""},{name:"Kwacha",code:"MWK",symbol:""},{name:"Mexican Peso",code:"MXN",symbol:"$"},{name:"Malaysian Ringgit",code:"MYR",symbol:"RM"},{name:"Metical",code:"MZN",symbol:"MT"},{name:"Naira",code:"NGN",symbol:"₦"},{name:"Cordoba Oro",code:"NIO",symbol:"C$"},{name:"Norwegian Krone",code:"NOK",symbol:"kr"},{name:"Nepalese Rupee",code:"NPR",symbol:"₨"},{name:"New Zealand Dollar",code:"NZD",symbol:"$"},{name:"Rial Omani",code:"OMR",symbol:"﷼"},{name:"Balboa",code:"PAB",symbol:"B/."},{name:"Nuevo Sol",code:"PEN",symbol:"S/."},{name:"Kina",code:"PGK",symbol:""},{name:"Philippine Peso",code:"PHP",symbol:"Php"},{name:"Pakistan Rupee",code:"PKR",symbol:"₨"},{name:"Zloty",code:"PLN",symbol:"zł"},{name:"Guarani",code:"PYG",symbol:"Gs"},{name:"Qatari Rial",code:"QAR",symbol:"﷼"},{name:"New Leu",code:"RON",symbol:"lei"},{name:"Serbian Dinar",code:"RSD",symbol:"Дин."},{name:"Russian Ruble",code:"RUB",symbol:"руб"},{name:"Rwanda Franc",code:"RWF",symbol:""},{name:"Saudi Riyal",code:"SAR",symbol:"﷼"},{name:"Solomon Islands Dollar",code:"SBD",symbol:"$"},{name:"Seychelles Rupee",code:"SCR",symbol:"₨"},{name:"Sudanese Pound",code:"SDG",symbol:""},{name:"Swedish Krona",code:"SEK",symbol:"kr"},{name:"Singapore Dollar",code:"SGD",symbol:"$"},{name:"Saint Helena Pound",code:"SHP",symbol:"£"},{name:"Leone",code:"SLE",symbol:""},{name:"Somali Shilling",code:"SOS",symbol:"S"},{name:"Surinam Dollar",code:"SRD",symbol:"$"},{name:"South Sudanese pound",code:"SSP",symbol:""},{name:"Dobra",code:"STN",symbol:"Db"},{name:"Syrian Pound",code:"SYP",symbol:"£"},{name:"Lilangeni",code:"SZL",symbol:""},{name:"Baht",code:"THB",symbol:"฿"},{name:"Somoni",code:"TJS",symbol:""},{name:"Manat",code:"TMT",symbol:""},{name:"Tunisian Dinar",code:"TND",symbol:""},{name:"Pa'anga",code:"TOP",symbol:""},{name:"Turkish Lira",code:"TRY",symbol:"₺"},{name:"Trinidad and Tobago Dollar",code:"TTD",symbol:"TT$"},{name:"New Taiwan Dollar",code:"TWD",symbol:"NT$"},{name:"Tanzanian Shilling",code:"TZS",symbol:""},{name:"Hryvnia",code:"UAH",symbol:"₴"},{name:"Uganda Shilling",code:"UGX",symbol:""},{name:"US Dollar",code:"USD",symbol:"$"},{name:"Peso Uruguayo",code:"UYU",symbol:"$U"},{name:"Uzbekistan Sum",code:"UZS",symbol:"лв"},{name:"Venezuelan bolívar",code:"VES",symbol:"Bs"},{name:"Dong",code:"VND",symbol:"₫"},{name:"Vatu",code:"VUV",symbol:""},{name:"Tala",code:"WST",symbol:""},{name:"CFA Franc BEAC",code:"XAF",symbol:""},{name:"East Caribbean Dollar",code:"XCD",symbol:"$"},{name:"CFA Franc BCEAO",code:"XOF",symbol:""},{name:"CFP Franc",code:"XPF",symbol:""},{name:"Yemeni Rial",code:"YER",symbol:"﷼"},{name:"Rand",code:"ZAR",symbol:"R"},{name:"Lesotho Loti",code:"LSL",symbol:""},{name:"Namibia Dollar",code:"NAD",symbol:"N$"},{name:"Zambian Kwacha",code:"ZMW",symbol:"K"},{name:"Zimbabwe Dollar",code:"ZWL",symbol:""}],U3e=["A {{finance.transactionType}} for {{finance.currencyCode}} {{finance.amount}} was made at {{company.name}} via card ending ****{{string.numeric(4)}} on account ***{{string.numeric(4)}}.","A {{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} occurred at {{company.name}} using a card ending in ****{{string.numeric(4)}} for account ***{{string.numeric(4)}}.","Payment of {{finance.currencyCode}} {{finance.amount}} for {{finance.transactionType}} at {{company.name}}, processed with card ending ****{{string.numeric(4)}} linked to account ***{{string.numeric(4)}}.","Transaction alert: {{finance.transactionType}} at {{company.name}} using card ending ****{{string.numeric(4)}} for an amount of {{finance.currencyCode}} {{finance.amount}} on account ***{{string.numeric(4)}}.","You made a {{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} at {{company.name}} using card ending in ****{{string.numeric(4)}} from account ***{{string.numeric(4)}}.","Your {{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} at {{company.name}} was successful. Charged via card ****{{string.numeric(4)}} to account ***{{string.numeric(4)}}.","{{finance.transactionType}} at {{company.name}} with a card ending in ****{{string.numeric(4)}} for {{finance.currencyCode}} {{finance.amount}} from account ***{{string.numeric(4)}}.","{{finance.transactionType}} confirmed at {{company.name}} for {{finance.currencyCode}} {{finance.amount}}, card ending in ****{{string.numeric(4)}} associated with account ***{{string.numeric(4)}}.","{{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} at {{company.name}} charged to account ending in {{string.numeric(4)}} using card ending in ****{{string.numeric(4)}}.","{{finance.transactionType}} processed at {{company.name}} for {{finance.currencyCode}} {{finance.amount}}, using card ending ****{{string.numeric(4)}}. Account: ***{{string.numeric(4)}}.","{{finance.transactionType}} transaction at {{company.name}} using card ending with ****{{string.numeric(4)}} for {{finance.currencyCode}} {{finance.amount}} in account ***{{string.numeric(4)}}."],G3e=["deposit","invoice","payment","withdrawal"],$3e={account_type:R3e,credit_card:z3e,currency:H3e,transaction_description_pattern:U3e,transaction_type:G3e},j3e=$3e,q3e=["bitter","creamy","crispy","crunchy","delicious","fluffy","fresh","golden","juicy","moist","rich","salty","savory","smoky","sour","spicy","sweet","tangy","tender","zesty"],W3e=["A classic pie filled with delicious {{food.meat}} and {{food.adjective}} {{food.ingredient}}, baked in a {{food.adjective}} pastry crust and topped with a golden-brown lattice.","A delightful tart combining {{food.adjective}} {{food.vegetable}} and sweet {{food.fruit}}, set in a buttery pastry shell and finished with a hint of {{food.spice}}.","A heartwarming {{food.ethnic_category}} soup, featuring fresh {{food.ingredient}} and an aromatic blend of traditional spices.","A robust {{food.adjective}} stew featuring {{food.ethnic_category}} flavors, loaded with {{food.adjective}} meat, {{food.adjective}} vegetables, and a {{food.adjective}}, {{food.adjective}} broth.","A simple {{food.fruit}} pie. No fancy stuff. Just pie.","A slow-roasted {{animal.bird}} with a {{food.adjective}}, {{food.adjective}} exterior. Stuffed with {{food.fruit}} and covered in {{food.fruit}} sauce. Sides with {{food.vegetable}} puree and wild {{food.vegetable}}.","A special {{color.human}} {{food.ingredient}} from {{location.country}}. To support the strong flavor it is sided with a tablespoon of {{food.spice}}.","A succulent {{food.meat}} steak, encased in a {{food.adjective}} {{food.spice}} crust, served with a side of {{food.spice}} mashed {{food.vegetable}}.","An exquisite {{food.meat}} roast, infused with the essence of {{food.fruit}}, slow-roasted to bring out its natural flavors and served with a side of creamy {{food.vegetable}}","Baked {{food.ingredient}}-stuffed {{food.meat}}, seasoned with {{food.spice}} and {{food.adjective}} herbs, accompanied by roasted {{food.vegetable}} medley.","Crispy fried {{food.meat}} bites, seasoned with {{food.spice}} and served with a tangy {{food.fruit}} dipping sauce.","Fresh mixed greens tossed with {{food.spice}}-rubbed {{food.meat}}, {{food.vegetable}}, and a light dressing.","Fresh {{food.ingredient}} with a pinch of {{food.spice}}, topped by a caramelized {{food.fruit}} with whipped cream","Grilled {{food.meat}} kebabs, marinated in {{food.ethnic_category}} spices and served with a fresh {{food.vegetable}} and {{food.fruit}} salad.","Hearty {{food.ingredient}} and {{food.meat}} stew, slow-cooked with {{food.spice}} and {{food.vegetable}} for a comforting, flavorful meal.","Juicy {{food.meat}}, grilled to your liking and drizzled with a bold {{food.spice}} sauce, served alongside roasted {{food.vegetable}}.","Our {{food.adjective}} {{food.meat}}, slow-cooked to perfection, accompanied by steamed {{food.vegetable}} and a rich, savory gravy.","Tender {{food.meat}} skewers, glazed with a sweet and tangy {{food.fruit}} sauce, served over a bed of fragrant jasmine rice.","Tenderly braised {{food.meat}} in a rich {{food.spice}} and {{food.vegetable}} sauce, served with a side of creamy {{food.vegetable}}.","Three {{food.ingredient}} with {{food.vegetable}}, {{food.vegetable}}, {{food.vegetable}}, {{food.vegetable}} and {{food.ingredient}}. With a side of baked {{food.fruit}}, and your choice of {{food.ingredient}} or {{food.ingredient}}.",'{{number.int({"min":1, "max":99})}}-day aged {{food.meat}} steak, with choice of {{number.int({"min":2, "max":4})}} sides.'],V3e=["California maki","Peking duck","Philadelphia maki","arepas","barbecue ribs","bruschette with tomato","bunny chow","caesar salad","caprese salad","cauliflower penne","cheeseburger","chicken fajitas","chicken milanese","chicken parm","chicken wings","chilli con carne","ebiten maki","fettuccine alfredo","fish and chips","french fries with sausages","french toast","hummus","katsu curry","kebab","lasagne","linguine with clams","massaman curry","meatballs with sauce","mushroom risotto","pappardelle alla bolognese","pasta and beans","pasta carbonara","pasta with tomato and basil","pho","pierogi","pizza","poke","pork belly buns","pork sausage roll","poutine","ricotta stuffed ravioli","risotto with seafood","salmon nigiri","scotch eggs","seafood paella","som tam","souvlaki","stinky tofu","sushi","tacos","teriyaki chicken donburi","tiramisù","tuna sashimi","vegetable soup"],K3e=["{{food.adjective}} {{food.ethnic_category}} stew","{{food.adjective}} {{food.meat}} with {{food.vegetable}}","{{food.ethnic_category}} {{food.ingredient}} soup","{{food.fruit}} and {{food.fruit}} tart","{{food.fruit}} pie","{{food.fruit}}-glazed {{food.meat}} skewers","{{food.fruit}}-infused {{food.meat}} roast","{{food.ingredient}} and {{food.meat}} pie","{{food.ingredient}}-infused {{food.meat}}","{{food.meat}} steak","{{food.meat}} with {{food.fruit}} sauce","{{food.spice}}-crusted {{food.meat}}","{{food.spice}}-rubbed {{food.meat}} salad","{{food.vegetable}} salad","{{person.first_name.generic}}'s special {{food.ingredient}}"],Y3e=["Ainu","Albanian","American","Andhra","Anglo-Indian","Arab","Argentine","Armenian","Assyrian","Awadhi","Azerbaijani","Balochi","Bangladeshi","Bashkir","Belarusian","Bengali","Berber","Brazilian","British","Buddhist","Bulgarian","Cajun","Cantonese","Caribbean","Chechen","Chinese","Chinese Islamic","Circassian","Crimean Tatar","Cypriot","Czech","Danish","Egyptian","English","Eritrean","Estonian","Ethiopian","Filipino","French","Georgian","German","Goan","Goan Catholic","Greek","Gujarati","Hyderabad","Indian","Indian Chinese","Indian Singaporean","Indonesian","Inuit","Irish","Italian","Italian-American","Jamaican","Japanese","Jewish - Israeli","Karnataka","Kazakh","Keralite","Korean","Kurdish","Laotian","Latvian","Lebanese","Lithuanian","Louisiana Creole","Maharashtrian","Malay","Malaysian Chinese","Malaysian Indian","Mangalorean","Mediterranean","Mennonite","Mexican","Mordovian","Mughal","Native American","Nepalese","New Mexican","Odia","Pakistani","Parsi","Pashtun","Pennsylvania Dutch","Peranakan","Persian","Peruvian","Polish","Portuguese","Punjabi","Québécois","Rajasthani","Romani","Romanian","Russian","Sami","Serbian","Sindhi","Slovak","Slovenian","Somali","South Indian","Soviet","Spanish","Sri Lankan","Taiwanese","Tamil","Tatar","Texan","Thai","Turkish","Udupi","Ukrainian","Vietnamese","Yamal","Zambian","Zanzibari"],X3e=["apple","apricot","aubergine","avocado","banana","berry","blackberry","blood orange","blueberry","bush tomato","butternut pumpkin","cantaloupe","cavalo","cherry","corella pear","cranberry","cumquat","currant","custard apple","custard apples daikon","date","dragonfruit","dried apricot","elderberry","feijoa","fig","fingerlime","goji berry","grape","grapefruit","guava","honeydew melon","incaberry","jarrahdale pumpkin","juniper berry","kiwi fruit","kiwiberry","lemon","lime","longan","loquat","lychee","mandarin","mango","mangosteen","melon","mulberry","nashi pear","nectarine","olive","orange","papaw","papaya","passionfruit","peach","pear","pineapple","plum","pomegranate","prune","rockmelon","snowpea","sprout","starfruit","strawberry","sultana","tangelo","tomato","watermelon"],J3e=["achacha","adzuki beans","agar","agave syrup","ajowan seed","albacore tuna","alfalfa","allspice","almond oil","almonds","amaranth","amchur","anchovies","aniseed","annatto seed","apple cider vinegar","apple juice","apple juice concentrate","apples","apricots","arborio rice","arrowroot","artichoke","arugula","asafoetida","asian greens","asian noodles","asparagus","aubergine","avocado","avocado oil","avocado spread","bacon","baking powder","baking soda","balsamic vinegar","bamboo shoots","banana","barberry","barley","barramundi","basil basmati rice","bay leaves","bean shoots","bean sprouts","beans","beef","beef stock","beetroot","berries","besan","black eyed beans","blackberries","blood oranges","blue cheese","blue eye trevalla","blue swimmer crab","blueberries","bocconcini","bok choy","bonito flakes","bonza","borlotti beans","bran","brazil nut","bread","brie","broccoli","broccolini","brown flour","brown mushrooms","brown rice","brown rice vinegar","brussels sprouts","buckwheat","buckwheat flour","buckwheat noodles","bulghur","bush tomato","butter","butter beans","buttermilk","butternut lettuce","butternut pumpkin","cabbage","cacao","cake","calamari","camellia tea oil","camembert","camomile","candle nut","cannellini beans","canola oil","cantaloupe","capers","capsicum","caraway seed","cardamom","carob carrot","carrot","cashews","cassia bark","cauliflower","cavalo","cayenne","celery","celery seed","cheddar","cherries","chestnut","chia seeds","chicken","chicken stock","chickory","chickpea","chilli pepper","chinese cabbage","chinese five spice","chives","choy sum","cinnamon","clams","cloves","cocoa powder","coconut","coconut oil","coconut water","coffee","common cultivated mushrooms","corella pear","coriander leaves","coriander seed","corn oil","corn syrup","corn tortilla","cornichons","cornmeal","cos lettuce","cottage cheese","cous cous","crabs","cranberry","cream","cream cheese","cucumber","cumin","cumquat","currants","curry leaves","curry powder","custard apples","dandelion","dark chocolate","dashi","dates","dill","dragonfruit","dried apricots","dried chinese broccoli","duck","edam","edamame","eggplant","eggs","elderberry","endive","english spinach","enoki mushrooms","extra virgin olive oil","farmed prawns","feijoa","fennel","fennel seeds","fenugreek","feta","figs","file powder","fingerlime","fish sauce","fish stock","flat mushrooms","flathead","flaxseed","flaxseed oil","flounder","flour","freekeh","french eschallots","fresh chillies","fromage blanc","fruit","galangal","garam masala","garlic","goat cheese","goat milk","goji berry","grape seed oil","grapefruit","grapes","green beans","green pepper","green tea","green tea noodles","greenwheat freekeh","gruyere","guava","gula melaka","haloumi","ham","haricot beans","harissa","hazelnut","hijiki","hiramasa kingfish","hokkien noodles","honey","honeydew melon","horseradish","hot smoked salmon","hummus","iceberg lettuce","incaberries","jarrahdale pumpkin","jasmine rice","jelly","jerusalem artichoke","jewfish","jicama","juniper berries","kale","kangaroo","kecap manis","kenchur","kidney beans","kidneys","kiwi berries","kiwi fruit","kohlrabi","kokam","kombu","koshihikari rice","kudzu","kumera","lamb","lavender flowers","leeks","lemon","lemongrass","lentils","lettuce","licorice","lime leaves","limes","liver","lobster","longan","loquats","lotus root","lychees","macadamia nut","macadamia oil","mace","mackerel","mahi mahi","mahlab","malt vinegar","mandarins","mango","mangosteens","maple syrup","margarine","marigold","marjoram","mastic","melon","milk","milk chocolate","mint","miso","molasses","monkfish","morwong","mountain bread","mozzarella","muesli","mulberries","mullet","mung beans","mussels","mustard","mustard seed","nashi pear","nasturtium","nectarines","nori","nutmeg","nutritional yeast","nuts","oat flour","oatmeal","oats","octopus","okra","olive oil","olives","omega spread","onion","oranges","oregano","oyster mushrooms","oyster sauce","oysters","pandanus leaves","papaw","papaya","paprik","parmesan cheese","parrotfish","parsley","parsnip","passionfruit","pasta","peaches","peanuts","pear","pear juice","pears","peas","pecan nut","pecorino","pepitas","peppercorns","peppermint","peppers","persimmon","pine nut","pineapple","pinto beans","pistachio nut","plums","polenta","pomegranate","poppy seed","porcini mushrooms","pork","potato flour","potatoes","provolone","prunes","pumpkin","pumpkin seed","purple carrot","purple rice","quark","quince","quinoa","radicchio","radish","raisin","raspberry","red cabbage","red lentils","red pepper","red wine","red wine vinegar","redfish","rhubarb","rice flour","rice noodles","rice paper","rice syrup","ricemilk","ricotta","rockmelon","rose water","rosemary","rye","rye bread","safflower oil","saffron","sage","sake","salmon","sardines","sausages","scallops","sea salt","semolina","sesame oil","sesame seeds","shark","shiitake mushrooms","silverbeet","slivered almonds","smoked trout","snapper","snowpea sprouts","snowpeas","soba","sour dough bread","soy","soy beans","soy flour","soy milk","soy sauce","soymilk","spearmint","spelt","spelt bread","spinach","spring onions","sprouts","squash","squid","star anise","star fruit","starfruit","stevia","strawberries","sugar","sultanas","sun-dried tomatoes","sunflower oil","sunflower seeds","sweet chilli sauce","sweet potato","swiss chard","swordfish","szechuan pepperberry","tabasco","tahini","taleggio cheese","tamari","tamarillo","tangelo","tapioca","tapioca flour","tarragon","tea","tea oil","tempeh","thyme","tinned","tofu","tom yum","tomatoes","trout","tuna","turkey","turmeric","turnips","unbleached flour","vanilla beans","vegetable oil","vegetable spaghetti","vegetable stock","vermicelli noodles","vinegar","wakame","walnut","warehou","wasabi","water","watercress","watermelon","wattleseed","wheat","wheatgrass juice","white bread","white flour","white rice","white wine","white wine vinegar","whiting wild rice","wholegrain bread","wholemeal","wholewheat flour","william pear","yeast","yellow papaw","yellowtail kingfish","yoghurt","yogurt","zucchini"],Z3e=["beef","chicken","crocodile","duck","emu","goose","kangaroo","lamb","ostrich","pigeon","pork","quail","rabbit","salmon","turkey","venison"],Q3e=["achiote seed","ajwain seed","ajwan seed","allspice","amchoor","anise","anise star","aniseed","annatto seed","arrowroot","asafoetida","baharat","balti masala","balti stir fry mix","basil","bay leaves","bbq","caraway seed","cardamom","cassia","cayenne pepper","celery","chamomile","chervil","chilli","chilli pepper","chillies","china star","chives","cinnamon","cloves","colombo","coriander","cumin","curly leaf parsley","curry","dhansak","dill","fennel seed","fenugreek","fines herbes","five spice","french lavender","galangal","garam masala","garlic","german chamomile","ginger","green cardamom","herbes de provence","jalfrezi","jerk","kaffir leaves","korma","lavender","lemon grass","lemon pepper","lime leaves","liquorice root","mace","mango","marjoram","methi","mint","mustard","nutmeg","onion seed","orange zest","oregano","paprika","parsley","pepper","peppercorns","pimento","piri piri","poppy seed","pot marjoram","poudre de colombo","ras-el-hanout","rice paper","rogan josh","rose baie","rosemary","saffron","sage","sesame seed","spearmint","sumac","sweet basil","sweet laurel","tagine","tandoori masala","tarragon","thyme","tikka masala","turmeric","vanilla","zahtar"],eAe=["artichoke","arugula","asian greens","asparagus","bean shoots","bean sprouts","beans","beetroot","bok choy","broccoli","broccolini","brussels sprouts","butternut lettuce","cabbage","capers","carob carrot","carrot","cauliflower","celery","chilli pepper","chinese cabbage","chives","cornichons","cos lettuce","cucumber","dried chinese broccoli","eggplant","endive","english spinach","french eschallots","fresh chillies","garlic","green beans","green pepper","hijiki","iceberg lettuce","jerusalem artichoke","jicama","kale","kohlrabi","leeks","lettuce","okra","onion","parsnip","peas","peppers","potatoes","pumpkin","purple carrot","radicchio","radish","raspberry","red cabbage","red pepper","rhubarb","snowpea sprouts","spinach","squash","sun dried tomatoes","sweet potato","swiss chard","turnips","zucchini"],tAe={adjective:q3e,description_pattern:W3e,dish:V3e,dish_pattern:K3e,ethnic_category:Y3e,fruit:X3e,ingredient:J3e,meat:Z3e,spice:Q3e,vegetable:eAe},rAe=tAe,nAe=["1080p","auxiliary","back-end","bluetooth","cross-platform","digital","haptic","mobile","multi-byte","neural","online","open-source","optical","primary","redundant","solid state","virtual","wireless"],aAe=["backing up","bypassing","calculating","compressing","connecting","copying","generating","hacking","indexing","navigating","overriding","parsing","programming","quantifying","synthesizing","transmitting"],iAe=["alarm","application","array","bandwidth","bus","capacitor","card","circuit","driver","feed","firewall","hard drive","interface","matrix","microchip","monitor","panel","pixel","port","program","protocol","sensor","system","transmitter"],oAe=["I'll {{verb}} the {{adjective}} {{abbreviation}} {{noun}}, that should {{noun}} the {{abbreviation}} {{noun}}!","If we {{verb}} the {{noun}}, we can get to the {{abbreviation}} {{noun}} through the {{adjective}} {{abbreviation}} {{noun}}!","The {{abbreviation}} {{noun}} is down, {{verb}} the {{adjective}} {{noun}} so we can {{verb}} the {{abbreviation}} {{noun}}!","Try to {{verb}} the {{abbreviation}} {{noun}}, maybe it will {{verb}} the {{adjective}} {{noun}}!","Use the {{adjective}} {{abbreviation}} {{noun}}, then you can {{verb}} the {{adjective}} {{noun}}!","We need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!","You can't {{verb}} the {{noun}} without {{ingverb}} the {{adjective}} {{abbreviation}} {{noun}}!","{{ingverb}} the {{noun}} won't do anything, we need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!"],sAe=["back up","bypass","calculate","compress","connect","copy","generate","hack","index","input","navigate","override","parse","program","quantify","reboot","synthesize","transmit"],lAe={adjective:nAe,ingverb:aAe,noun:iAe,phrase:oAe,verb:sAe},uAe=lAe,cAe=["com","biz","info","name","net","org"],dAe=["example.org","example.com","example.net"],hAe=["gmail.com","yahoo.com","hotmail.com"],pAe={domain_suffix:cAe,example_email:dAe,free_email:hAe},fAe=pAe,mAe=["#####","####","###"],gAe=["Abilene","Akron","Alafaya","Alameda","Albany","Albuquerque","Alexandria","Alhambra","Aliso Viejo","Allen","Allentown","Aloha","Alpharetta","Altadena","Altamonte Springs","Altoona","Amarillo","Ames","Anaheim","Anchorage","Anderson","Ankeny","Ann Arbor","Annandale","Antelope","Antioch","Apex","Apopka","Apple Valley","Appleton","Arcadia","Arden-Arcade","Arecibo","Arlington","Arlington Heights","Arvada","Ashburn","Asheville","Aspen Hill","Atascocita","Athens-Clarke County","Atlanta","Attleboro","Auburn","Augusta-Richmond County","Aurora","Austin","Avondale","Azusa","Bakersfield","Baldwin Park","Baltimore","Barnstable Town","Bartlett","Baton Rouge","Battle Creek","Bayamon","Bayonne","Baytown","Beaumont","Beavercreek","Beaverton","Bedford","Bel Air South","Bell Gardens","Belleville","Bellevue","Bellflower","Bellingham","Bend","Bentonville","Berkeley","Berwyn","Bethesda","Bethlehem","Billings","Biloxi","Binghamton","Birmingham","Bismarck","Blacksburg","Blaine","Bloomington","Blue Springs","Boca Raton","Boise City","Bolingbrook","Bonita Springs","Bossier City","Boston","Bothell","Boulder","Bountiful","Bowie","Bowling Green","Boynton Beach","Bozeman","Bradenton","Brandon","Brentwood","Bridgeport","Bristol","Brockton","Broken Arrow","Brookhaven","Brookline","Brooklyn Park","Broomfield","Brownsville","Bryan","Buckeye","Buena Park","Buffalo","Buffalo Grove","Burbank","Burien","Burke","Burleson","Burlington","Burnsville","Caguas","Caldwell","Camarillo","Cambridge","Camden","Canton","Cape Coral","Carlsbad","Carmel","Carmichael","Carolina","Carrollton","Carson","Carson City","Cary","Casa Grande","Casas Adobes","Casper","Castle Rock","Castro Valley","Catalina Foothills","Cathedral City","Catonsville","Cedar Hill","Cedar Park","Cedar Rapids","Centennial","Centreville","Ceres","Cerritos","Champaign","Chandler","Chapel Hill","Charleston","Charlotte","Charlottesville","Chattanooga","Cheektowaga","Chesapeake","Chesterfield","Cheyenne","Chicago","Chico","Chicopee","Chino","Chino Hills","Chula Vista","Cicero","Cincinnati","Citrus Heights","Clarksville","Clearwater","Cleveland","Cleveland Heights","Clifton","Clovis","Coachella","Coconut Creek","Coeur d'Alene","College Station","Collierville","Colorado Springs","Colton","Columbia","Columbus","Commerce City","Compton","Concord","Conroe","Conway","Coon Rapids","Coral Gables","Coral Springs","Corona","Corpus Christi","Corvallis","Costa Mesa","Council Bluffs","Country Club","Covina","Cranston","Cupertino","Cutler Bay","Cuyahoga Falls","Cypress","Dale City","Dallas","Daly City","Danbury","Danville","Davenport","Davie","Davis","Dayton","Daytona Beach","DeKalb","DeSoto","Dearborn","Dearborn Heights","Decatur","Deerfield Beach","Delano","Delray Beach","Deltona","Denton","Denver","Des Moines","Des Plaines","Detroit","Diamond Bar","Doral","Dothan","Downers Grove","Downey","Draper","Dublin","Dubuque","Duluth","Dundalk","Dunwoody","Durham","Eagan","East Hartford","East Honolulu","East Lansing","East Los Angeles","East Orange","East Providence","Eastvale","Eau Claire","Eden Prairie","Edina","Edinburg","Edmond","El Cajon","El Centro","El Dorado Hills","El Monte","El Paso","Elgin","Elizabeth","Elk Grove","Elkhart","Ellicott City","Elmhurst","Elyria","Encinitas","Enid","Enterprise","Erie","Escondido","Euclid","Eugene","Euless","Evanston","Evansville","Everett","Fairfield","Fall River","Fargo","Farmington","Farmington Hills","Fayetteville","Federal Way","Findlay","Fishers","Flagstaff","Flint","Florence-Graham","Florin","Florissant","Flower Mound","Folsom","Fond du Lac","Fontana","Fort Collins","Fort Lauderdale","Fort Myers","Fort Pierce","Fort Smith","Fort Wayne","Fort Worth","Fountain Valley","Fountainebleau","Framingham","Franklin","Frederick","Freeport","Fremont","Fresno","Frisco","Fullerton","Gainesville","Gaithersburg","Galveston","Garden Grove","Gardena","Garland","Gary","Gastonia","Georgetown","Germantown","Gilbert","Gilroy","Glen Burnie","Glendale","Glendora","Glenview","Goodyear","Grand Forks","Grand Island","Grand Junction","Grand Prairie","Grand Rapids","Grapevine","Great Falls","Greeley","Green Bay","Greensboro","Greenville","Greenwood","Gresham","Guaynabo","Gulfport","Hacienda Heights","Hackensack","Haltom City","Hamilton","Hammond","Hampton","Hanford","Harlingen","Harrisburg","Harrisonburg","Hartford","Hattiesburg","Haverhill","Hawthorne","Hayward","Hemet","Hempstead","Henderson","Hendersonville","Hesperia","Hialeah","Hicksville","High Point","Highland","Highlands Ranch","Hillsboro","Hilo","Hoboken","Hoffman Estates","Hollywood","Homestead","Honolulu","Hoover","Houston","Huntersville","Huntington","Huntington Beach","Huntington Park","Huntsville","Hutchinson","Idaho Falls","Independence","Indianapolis","Indio","Inglewood","Iowa City","Irondequoit","Irvine","Irving","Jackson","Jacksonville","Janesville","Jefferson City","Jeffersonville","Jersey City","Johns Creek","Johnson City","Joliet","Jonesboro","Joplin","Jupiter","Jurupa Valley","Kalamazoo","Kannapolis","Kansas City","Kearny","Keller","Kendale Lakes","Kendall","Kenner","Kennewick","Kenosha","Kent","Kentwood","Kettering","Killeen","Kingsport","Kirkland","Kissimmee","Knoxville","Kokomo","La Crosse","La Habra","La Mesa","La Mirada","Lacey","Lafayette","Laguna Niguel","Lake Charles","Lake Elsinore","Lake Forest","Lake Havasu City","Lake Ridge","Lakeland","Lakeville","Lakewood","Lancaster","Lansing","Laredo","Largo","Las Cruces","Las Vegas","Lauderhill","Lawrence","Lawton","Layton","League City","Lee's Summit","Leesburg","Lehi","Lehigh Acres","Lenexa","Levittown","Lewisville","Lexington-Fayette","Lincoln","Linden","Little Rock","Littleton","Livermore","Livonia","Lodi","Logan","Lombard","Lompoc","Long Beach","Longmont","Longview","Lorain","Los Angeles","Louisville/Jefferson County","Loveland","Lowell","Lubbock","Lynchburg","Lynn","Lynwood","Macon-Bibb County","Madera","Madison","Malden","Manchester","Manhattan","Mansfield","Manteca","Maple Grove","Margate","Maricopa","Marietta","Marysville","Mayaguez","McAllen","McKinney","McLean","Medford","Melbourne","Memphis","Menifee","Mentor","Merced","Meriden","Meridian","Mesa","Mesquite","Metairie","Methuen Town","Miami","Miami Beach","Miami Gardens","Middletown","Midland","Midwest City","Milford","Millcreek","Milpitas","Milwaukee","Minneapolis","Minnetonka","Minot","Miramar","Mishawaka","Mission","Mission Viejo","Missoula","Missouri City","Mobile","Modesto","Moline","Monroe","Montebello","Monterey Park","Montgomery","Moore","Moreno Valley","Morgan Hill","Mount Pleasant","Mount Prospect","Mount Vernon","Mountain View","Muncie","Murfreesboro","Murray","Murrieta","Nampa","Napa","Naperville","Nashua","Nashville-Davidson","National City","New Bedford","New Braunfels","New Britain","New Brunswick","New Haven","New Orleans","New Rochelle","New York","Newark","Newport Beach","Newport News","Newton","Niagara Falls","Noblesville","Norfolk","Normal","Norman","North Bethesda","North Charleston","North Highlands","North Las Vegas","North Lauderdale","North Little Rock","North Miami","North Miami Beach","North Port","North Richland Hills","Norwalk","Novato","Novi","O'Fallon","Oak Lawn","Oak Park","Oakland","Oakland Park","Ocala","Oceanside","Odessa","Ogden","Oklahoma City","Olathe","Olympia","Omaha","Ontario","Orange","Orem","Orland Park","Orlando","Oro Valley","Oshkosh","Overland Park","Owensboro","Oxnard","Palatine","Palm Bay","Palm Beach Gardens","Palm Coast","Palm Desert","Palm Harbor","Palm Springs","Palmdale","Palo Alto","Paradise","Paramount","Parker","Parma","Pasadena","Pasco","Passaic","Paterson","Pawtucket","Peabody","Pearl City","Pearland","Pembroke Pines","Pensacola","Peoria","Perris","Perth Amboy","Petaluma","Pflugerville","Pharr","Philadelphia","Phoenix","Pico Rivera","Pine Bluff","Pine Hills","Pinellas Park","Pittsburg","Pittsburgh","Pittsfield","Placentia","Plainfield","Plano","Plantation","Pleasanton","Plymouth","Pocatello","Poinciana","Pomona","Pompano Beach","Ponce","Pontiac","Port Arthur","Port Charlotte","Port Orange","Port St. Lucie","Portage","Porterville","Portland","Portsmouth","Potomac","Poway","Providence","Provo","Pueblo","Quincy","Racine","Raleigh","Rancho Cordova","Rancho Cucamonga","Rancho Palos Verdes","Rancho Santa Margarita","Rapid City","Reading","Redding","Redlands","Redmond","Redondo Beach","Redwood City","Reno","Renton","Reston","Revere","Rialto","Richardson","Richland","Richmond","Rio Rancho","Riverside","Riverton","Riverview","Roanoke","Rochester","Rochester Hills","Rock Hill","Rockford","Rocklin","Rockville","Rockwall","Rocky Mount","Rogers","Rohnert Park","Rosemead","Roseville","Roswell","Round Rock","Rowland Heights","Rowlett","Royal Oak","Sacramento","Saginaw","Salem","Salina","Salinas","Salt Lake City","Sammamish","San Angelo","San Antonio","San Bernardino","San Bruno","San Buenaventura (Ventura)","San Clemente","San Diego","San Francisco","San Jacinto","San Jose","San Juan","San Leandro","San Luis Obispo","San Marcos","San Mateo","San Rafael","San Ramon","San Tan Valley","Sandy","Sandy Springs","Sanford","Santa Ana","Santa Barbara","Santa Clara","Santa Clarita","Santa Cruz","Santa Fe","Santa Maria","Santa Monica","Santa Rosa","Santee","Sarasota","Savannah","Sayreville","Schaumburg","Schenectady","Scottsdale","Scranton","Seattle","Severn","Shawnee","Sheboygan","Shoreline","Shreveport","Sierra Vista","Silver Spring","Simi Valley","Sioux City","Sioux Falls","Skokie","Smyrna","Somerville","South Bend","South Gate","South Hill","South Jordan","South San Francisco","South Valley","South Whittier","Southaven","Southfield","Sparks","Spokane","Spokane Valley","Spring","Spring Hill","Spring Valley","Springdale","Springfield","St. Charles","St. Clair Shores","St. Cloud","St. George","St. Joseph","St. Louis","St. Louis Park","St. Paul","St. Peters","St. Petersburg","Stamford","State College","Sterling Heights","Stillwater","Stockton","Stratford","Strongsville","Suffolk","Sugar Land","Summerville","Sunnyvale","Sunrise","Sunrise Manor","Surprise","Syracuse","Tacoma","Tallahassee","Tamarac","Tamiami","Tampa","Taunton","Taylor","Taylorsville","Temecula","Tempe","Temple","Terre Haute","Texas City","The Hammocks","The Villages","The Woodlands","Thornton","Thousand Oaks","Tigard","Tinley Park","Titusville","Toledo","Toms River","Tonawanda","Topeka","Torrance","Town 'n' Country","Towson","Tracy","Trenton","Troy","Trujillo Alto","Tuckahoe","Tucson","Tulare","Tulsa","Turlock","Tuscaloosa","Tustin","Twin Falls","Tyler","Union City","University","Upland","Urbana","Urbandale","Utica","Vacaville","Valdosta","Vallejo","Vancouver","Victoria","Victorville","Vineland","Virginia Beach","Visalia","Vista","Waco","Waipahu","Waldorf","Walnut Creek","Waltham","Warner Robins","Warren","Warwick","Washington","Waterbury","Waterloo","Watsonville","Waukegan","Waukesha","Wauwatosa","Wellington","Wesley Chapel","West Allis","West Babylon","West Covina","West Des Moines","West Hartford","West Haven","West Jordan","West Lafayette","West New York","West Palm Beach","West Sacramento","West Seneca","West Valley City","Westfield","Westland","Westminster","Weston","Weymouth Town","Wheaton","White Plains","Whittier","Wichita","Wichita Falls","Wilmington","Wilson","Winston-Salem","Woodbury","Woodland","Worcester","Wylie","Wyoming","Yakima","Yonkers","Yorba Linda","York","Youngstown","Yuba City","Yucaipa","Yuma"],bAe=["{{location.city_prefix}} {{person.first_name.generic}}{{location.city_suffix}}","{{location.city_prefix}} {{person.first_name.generic}}","{{person.first_name.generic}}{{location.city_suffix}}","{{person.last_name.generic}}{{location.city_suffix}}","{{location.city_name}}"],yAe=["North","East","West","South","New","Lake","Port","Fort"],vAe=["town","ton","land","ville","berg","burgh","boro","borough","bury","view","port","mouth","stad","stead","furt","chester","cester","fort","field","haven","side","shire","worth"],FAe=["Africa","Antarctica","Asia","Australia","Europe","North America","South America"],EAe=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory (Chagos Archipelago)","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Cook Islands","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Curacao","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Faroe Islands","Falkland Islands (Malvinas)","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (Vatican City State)","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Democratic People's Republic of Korea","Republic of Korea","Kuwait","Kyrgyz Republic","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","North Macedonia","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn Islands","Poland","Portugal","Puerto Rico","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saint Barthelemy","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Martin","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard & Jan Mayen Islands","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Virgin Islands, British","Virgin Islands, U.S.","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"],SAe=["Adams County","Calhoun County","Carroll County","Clark County","Clay County","Crawford County","Douglas County","Fayette County","Franklin County","Grant County","Greene County","Hamilton County","Hancock County","Henry County","Jackson County","Jefferson County","Johnson County","Lake County","Lawrence County","Lee County","Lincoln County","Logan County","Madison County","Marion County","Marshall County","Monroe County","Montgomery County","Morgan County","Perry County","Pike County","Polk County","Scott County","Union County","Warren County","Washington County","Wayne County","Avon","Bedfordshire","Berkshire","Borders","Buckinghamshire","Cambridgeshire","Central","Cheshire","Cleveland","Clwyd","Cornwall","County Antrim","County Armagh","County Down","County Fermanagh","County Londonderry","County Tyrone","Cumbria","Derbyshire","Devon","Dorset","Dumfries and Galloway","Durham","Dyfed","East Sussex","Essex","Fife","Gloucestershire","Grampian","Greater Manchester","Gwent","Gwynedd County","Hampshire","Herefordshire","Hertfordshire","Highlands and Islands","Humberside","Isle of Wight","Kent","Lancashire","Leicestershire","Lincolnshire","Lothian","Merseyside","Mid Glamorgan","Norfolk","North Yorkshire","Northamptonshire","Northumberland","Nottinghamshire","Oxfordshire","Powys","Rutland","Shropshire","Somerset","South Glamorgan","South Yorkshire","Staffordshire","Strathclyde","Suffolk","Surrey","Tayside","Tyne and Wear","Warwickshire","West Glamorgan","West Midlands","West Sussex","West Yorkshire","Wiltshire","Worcestershire"],xAe={cardinal:["North","East","South","West"],cardinal_abbr:["N","E","S","W"],ordinal:["Northeast","Northwest","Southeast","Southwest"],ordinal_abbr:["NE","NW","SE","SW"]},wAe=[{name:"Afrikaans",alpha2:"af",alpha3:"afr"},{name:"Azerbaijani",alpha2:"az",alpha3:"aze"},{name:"Maldivian",alpha2:"dv",alpha3:"div"},{name:"Farsi/Persian",alpha2:"fa",alpha3:"fas"},{name:"Latvian",alpha2:"lv",alpha3:"lav"},{name:"Indonesian",alpha2:"id",alpha3:"ind"},{name:"Nepali",alpha2:"ne",alpha3:"nep"},{name:"Thai",alpha2:"th",alpha3:"tha"},{name:"Uzbek",alpha2:"uz",alpha3:"uzb"},{name:"Yoruba",alpha2:"yo",alpha3:"yor"},{name:"Pashto",alpha2:"ps",alpha3:"pus"},{name:"English",alpha2:"en",alpha3:"eng"},{name:"Urdu",alpha2:"ur",alpha3:"urd"},{name:"German",alpha2:"de",alpha3:"deu"},{name:"French",alpha2:"fr",alpha3:"fra"},{name:"Spanish",alpha2:"es",alpha3:"spa"},{name:"Italian",alpha2:"it",alpha3:"ita"},{name:"Dutch",alpha2:"nl",alpha3:"nld"},{name:"Russian",alpha2:"ru",alpha3:"rus"},{name:"Portuguese",alpha2:"pt",alpha3:"por"},{name:"Polish",alpha2:"pl",alpha3:"pol"},{name:"Arabic",alpha2:"ar",alpha3:"ara"},{name:"Japanese",alpha2:"ja",alpha3:"jpn"},{name:"Chinese",alpha2:"zh",alpha3:"zho"},{name:"Hindi",alpha2:"hi",alpha3:"hin"},{name:"Bengali",alpha2:"bn",alpha3:"ben"},{name:"Gujarati",alpha2:"gu",alpha3:"guj"},{name:"Tamil",alpha2:"ta",alpha3:"tam"},{name:"Telugu",alpha2:"te",alpha3:"tel"},{name:"Punjabi",alpha2:"pa",alpha3:"pan"},{name:"Vietnamese",alpha2:"vi",alpha3:"vie"},{name:"Korean",alpha2:"ko",alpha3:"kor"},{name:"Turkish",alpha2:"tr",alpha3:"tur"},{name:"Swedish",alpha2:"sv",alpha3:"swe"},{name:"Greek",alpha2:"el",alpha3:"ell"},{name:"Czech",alpha2:"cs",alpha3:"ces"},{name:"Hungarian",alpha2:"hu",alpha3:"hun"},{name:"Romanian",alpha2:"ro",alpha3:"ron"},{name:"Ukrainian",alpha2:"uk",alpha3:"ukr"},{name:"Norwegian",alpha2:"no",alpha3:"nor"},{name:"Serbian",alpha2:"sr",alpha3:"srp"},{name:"Croatian",alpha2:"hr",alpha3:"hrv"},{name:"Slovak",alpha2:"sk",alpha3:"slk"},{name:"Slovenian",alpha2:"sl",alpha3:"slv"},{name:"Icelandic",alpha2:"is",alpha3:"isl"},{name:"Finnish",alpha2:"fi",alpha3:"fin"},{name:"Danish",alpha2:"da",alpha3:"dan"},{name:"Swahili",alpha2:"sw",alpha3:"swa"},{name:"Bashkir",alpha2:"ba",alpha3:"bak"},{name:"Basque",alpha2:"eu",alpha3:"eus"},{name:"Catalan",alpha2:"ca",alpha3:"cat"},{name:"Galician",alpha2:"gl",alpha3:"glg"},{name:"Esperanto",alpha2:"eo",alpha3:"epo"},{name:"Fijian",alpha2:"fj",alpha3:"fij"},{name:"Malagasy",alpha2:"mg",alpha3:"mlg"},{name:"Maltese",alpha2:"mt",alpha3:"mlt"},{name:"Albanian",alpha2:"sq",alpha3:"sqi"},{name:"Armenian",alpha2:"hy",alpha3:"hye"},{name:"Georgian",alpha2:"ka",alpha3:"kat"},{name:"Macedonian",alpha2:"mk",alpha3:"mkd"},{name:"Kazakh",alpha2:"kk",alpha3:"kaz"},{name:"Haitian Creole",alpha2:"ht",alpha3:"hat"},{name:"Mongolian",alpha2:"mn",alpha3:"mon"},{name:"Kyrgyz",alpha2:"ky",alpha3:"kir"},{name:"Finnish",alpha2:"fi",alpha3:"fin"},{name:"Tagalog",alpha2:"tl",alpha3:"tgl"},{name:"Malay",alpha2:"ms",alpha3:"msa"},{name:"Tajik",alpha2:"tg",alpha3:"tgk"},{name:"Swati",alpha2:"ss",alpha3:"ssw"},{name:"Tatar",alpha2:"tt",alpha3:"tat"},{name:"Zulu",alpha2:"zu",alpha3:"zul"}],kAe=["#####","#####-####"],CAe=["Apt. ###","Suite ###"],TAe=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],AAe=["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],_Ae={normal:"{{location.buildingNumber}} {{location.street}}",full:"{{location.buildingNumber}} {{location.street}} {{location.secondaryAddress}}"},DAe=["10th Street","11th Street","12th Street","13th Street","14th Street","15th Street","16th Street","1st Avenue","1st Street","2nd Avenue","2nd Street","3rd Avenue","3rd Street","4th Avenue","4th Street","5th Avenue","5th Street","6th Avenue","6th Street","7th Avenue","7th Street","8th Avenue","8th Street","9th Street","A Street","Abbey Road","Adams Avenue","Adams Street","Airport Road","Albany Road","Albert Road","Albion Street","Alexandra Road","Alfred Street","Alma Street","Ash Close","Ash Grove","Ash Road","Ash Street","Aspen Close","Atlantic Avenue","Avenue Road","Back Lane","Baker Street","Balmoral Road","Barn Close","Barton Road","Bath Road","Bath Street","Bay Street","Beach Road","Bedford Road","Beech Close","Beech Drive","Beech Grove","Beech Road","Beechwood Avenue","Bell Lane","Belmont Road","Birch Avenue","Birch Close","Birch Grove","Birch Road","Blind Lane","Bluebell Close","Boundary Road","Bramble Close","Bramley Close","Bridge Road","Bridge Street","Broad Lane","Broad Street","Broadway","Broadway Avenue","Broadway Street","Brook Lane","Brook Road","Brook Street","Brookside","Buckingham Road","Cambridge Street","Canal Street","Castle Close","Castle Lane","Castle Road","Castle Street","Cavendish Road","Cedar Avenue","Cedar Close","Cedar Grove","Cedar Road","Cedar Street","Cemetery Road","Center Avenue","Center Road","Center Street","Central Avenue","Central Street","Chapel Close","Chapel Hill","Chapel Road","Chapel Street","Charles Street","Cherry Close","Cherry Street","Cherry Tree Close","Chester Road","Chestnut Close","Chestnut Drive","Chestnut Grove","Chestnut Street","Church Avenue","Church Close","Church Hill","Church Lane","Church Path","Church Road","Church Street","Church View","Church Walk","Claremont Road","Clarence Road","Clarence Street","Clarendon Road","Clark Street","Clay Lane","Cleveland Street","Cliff Road","Clifton Road","Clinton Street","College Avenue","College Street","Columbia Avenue","Commerce Street","Commercial Road","Commercial Street","Common Lane","Coronation Avenue","Coronation Road","County Line Road","County Road","Court Street","Cow Lane","Crescent Road","Cromwell Road","Cross Lane","Cross Street","Crown Street","Cumberland Street","Dale Street","Dark Lane","Davis Street","Depot Street","Derby Road","Derwent Close","Devonshire Road","Division Street","Douglas Road","Duke Street","E 10th Street","E 11th Street","E 12th Street","E 14th Street","E 1st Street","E 2nd Street","E 3rd Street","E 4th Avenue","E 4th Street","E 5th Street","E 6th Avenue","E 6th Street","E 7th Street","E 8th Street","E 9th Street","E Bridge Street","E Broad Street","E Broadway","E Broadway Street","E Cedar Street","E Center Street","E Central Avenue","E Church Street","E Elm Street","E Franklin Street","E Front Street","E Grand Avenue","E High Street","E Jackson Street","E Jefferson Street","E Main","E Main Street","E Maple Street","E Market Street","E North Street","E Oak Street","E Park Avenue","E Pine Street","E River Road","E South Street","E State Street","E Union Street","E Walnut Street","E Washington Avenue","E Washington Street","E Water Street","East Avenue","East Road","East Street","Edward Street","Elm Close","Elm Grove","Elm Road","Elm Street","Euclid Avenue","Fairfield Road","Farm Close","Ferry Road","Field Close","Field Lane","First Avenue","First Street","Fore Street","Forest Avenue","Forest Road","Fourth Avenue","Franklin Avenue","Franklin Road","Franklin Street","Front Street","Frontage Road","Garden Close","Garden Street","George Street","Gladstone Road","Glebe Close","Gloucester Road","Gordon Road","Gordon Street","Grand Avenue","Grange Avenue","Grange Close","Grange Road","Grant Street","Green Close","Green Lane","Green Street","Greenville Road","Greenway","Greenwood Road","Grove Lane","Grove Road","Grove Street","Hall Lane","Hall Street","Harrison Avenue","Harrison Street","Hawthorn Avenue","Hawthorn Close","Hazel Close","Hazel Grove","Heath Road","Heather Close","Henry Street","Heron Close","Hickory Street","High Road","High Street","Highfield Avenue","Highfield Close","Highfield Road","Highland Avenue","Hill Road","Hill Street","Hillside","Hillside Avenue","Hillside Close","Hillside Road","Holly Close","Honeysuckle Close","Howard Road","Howard Street","Jackson Avenue","Jackson Street","James Street","Jefferson Avenue","Jefferson Street","Johnson Street","Jubilee Close","Juniper Close","Kent Road","Kestrel Close","King Street","King's Road","Kingfisher Close","Kings Highway","Kingsway","Laburnum Grove","Lafayette Street","Lake Avenue","Lake Drive","Lake Road","Lake Street","Lancaster Road","Lansdowne Road","Larch Close","Laurel Close","Lawrence Street","Lee Street","Liberty Street","Lime Grove","Lincoln Avenue","Lincoln Highway","Lincoln Road","Lincoln Street","Locust Street","Lodge Close","Lodge Lane","London Road","Long Lane","Low Road","Madison Avenue","Madison Street","Main","Main Avenue","Main Road","Main Street","Main Street E","Main Street N","Main Street S","Main Street W","Manchester Road","Manor Close","Manor Drive","Manor Gardens","Manor Road","Manor Way","Maple Avenue","Maple Close","Maple Drive","Maple Road","Maple Street","Market Place","Market Square","Market Street","Marlborough Road","Marsh Lane","Martin Luther King Boulevard","Martin Luther King Drive","Martin Luther King Jr Boulevard","Mary Street","Mayfield Road","Meadow Close","Meadow Drive","Meadow Lane","Meadow View","Meadow Way","Memorial Drive","Middle Street","Mill Close","Mill Lane","Mill Road","Mill Street","Milton Road","Milton Street","Monroe Street","Moor Lane","Moss Lane","Mount Pleasant","Mount Street","Mulberry Street","N 1st Street","N 2nd Street","N 3rd Street","N 4th Street","N 5th Street","N 6th Street","N 7th Street","N 8th Street","N 9th Street","N Bridge Street","N Broad Street","N Broadway","N Broadway Street","N Cedar Street","N Center Street","N Central Avenue","N Chestnut Street","N Church Street","N College Street","N Court Street","N Division Street","N East Street","N Elm Street","N Franklin Street","N Front Street","N Harrison Street","N High Street","N Jackson Street","N Jefferson Street","N Lincoln Street","N Locust Street","N Main","N Main Avenue","N Main Street","N Maple Street","N Market Street","N Monroe Street","N Oak Street","N Park Street","N Pearl Street","N Pine Street","N Poplar Street","N Railroad Street","N State Street","N Union Street","N Walnut Street","N Washington Avenue","N Washington Street","N Water Street","Nelson Road","Nelson Street","New Lane","New Road","New Street","Newton Road","Nightingale Close","Norfolk Road","North Avenue","North Lane","North Road","North Street","Northfield Road","Oak Avenue","Oak Drive","Oak Lane","Oak Road","Oak Street","Oakfield Road","Oaklands","Old Lane","Old Military Road","Old Road","Old State Road","Orchard Drive","Orchard Lane","Orchard Road","Orchard Street","Oxford Road","Oxford Street","Park Avenue","Park Crescent","Park Drive","Park Lane","Park Place","Park Road","Park Street","Park View","Parkside","Pearl Street","Pennsylvania Avenue","Pine Close","Pine Grove","Pine Street","Pinfold Lane","Pleasant Street","Poplar Avenue","Poplar Close","Poplar Road","Poplar Street","Post Road","Pound Lane","Princes Street","Princess Street","Priory Close","Priory Road","Prospect Avenue","Prospect Place","Prospect Road","Prospect Street","Quarry Lane","Quarry Road","Queen's Road","Railroad Avenue","Railroad Street","Railway Street","Rectory Close","Rectory Lane","Richmond Close","Richmond Road","Ridge Road","River Road","River Street","Riverside","Riverside Avenue","Riverside Drive","Roman Road","Roman Way","Rowan Close","Russell Street","S 10th Street","S 14th Street","S 1st Avenue","S 1st Street","S 2nd Street","S 3rd Street","S 4th Street","S 5th Street","S 6th Street","S 7th Street","S 8th Street","S 9th Street","S Bridge Street","S Broad Street","S Broadway","S Broadway Street","S Center Street","S Central Avenue","S Chestnut Street","S Church Street","S College Street","S Division Street","S East Street","S Elm Street","S Franklin Street","S Front Street","S Grand Avenue","S High Street","S Jackson Street","S Jefferson Street","S Lincoln Street","S Main","S Main Avenue","S Main Street","S Maple Street","S Market Street","S Mill Street","S Monroe Street","S Oak Street","S Park Street","S Pine Street","S Railroad Street","S State Street","S Union Street","S Walnut Street","S Washington Avenue","S Washington Street","S Water Street","S West Street","Salisbury Road","Sandringham Road","Sandy Lane","School Close","School Lane","School Road","School Street","Second Avenue","Silver Street","Skyline Drive","Smith Street","Somerset Road","South Avenue","South Drive","South Road","South Street","South View","Spring Gardens","Spring Street","Springfield Close","Springfield Road","Spruce Street","St Andrew's Road","St Andrews Close","St George's Road","St John's Road","St Mary's Close","St Mary's Road","Stanley Road","Stanley Street","State Avenue","State Line Road","State Road","State Street","Station Road","Station Street","Stoney Lane","Sycamore Avenue","Sycamore Close","Sycamore Drive","Sycamore Street","Talbot Road","Tennyson Road","The Avenue","The Beeches","The Causeway","The Chase","The Coppice","The Copse","The Crescent","The Croft","The Dell","The Drive","The Fairway","The Glebe","The Grange","The Green","The Grove","The Hawthorns","The Lane","The Laurels","The Limes","The Maltings","The Meadows","The Mews","The Mount","The Oaks","The Orchard","The Oval","The Paddock","The Paddocks","The Poplars","The Ridgeway","The Ridings","The Rise","The Sidings","The Spinney","The Square","The Willows","The Woodlands","Third Avenue","Third Street","Tower Road","Trinity Road","Tudor Close","Union Avenue","Union Street","University Avenue","University Drive","Valley Road","Veterans Memorial Drive","Veterans Memorial Highway","Vicarage Close","Vicarage Lane","Vicarage Road","Victoria Place","Victoria Road","Victoria Street","Vine Street","W 10th Street","W 11th Street","W 12th Street","W 14th Street","W 1st Street","W 2nd Street","W 3rd Street","W 4th Avenue","W 4th Street","W 5th Street","W 6th Avenue","W 6th Street","W 7th Street","W 8th Street","W 9th Street","W Bridge Street","W Broad Street","W Broadway","W Broadway Avenue","W Broadway Street","W Center Street","W Central Avenue","W Chestnut Street","W Church Street","W Division Street","W Elm Street","W Franklin Street","W Front Street","W Grand Avenue","W High Street","W Jackson Street","W Jefferson Street","W Lake Street","W Main","W Main Street","W Maple Street","W Market Street","W Monroe Street","W North Street","W Oak Street","W Park Street","W Pine Street","W River Road","W South Street","W State Street","W Union Street","W Walnut Street","W Washington Avenue","W Washington Street","Walnut Close","Walnut Street","Warren Close","Warren Road","Washington Avenue","Washington Boulevard","Washington Road","Washington Street","Water Lane","Water Street","Waterloo Road","Waterside","Watery Lane","Waverley Road","Well Lane","Wellington Road","Wellington Street","West Avenue","West End","West Lane","West Road","West Street","West View","Western Avenue","Western Road","Westfield Road","Westgate","William Street","Willow Close","Willow Drive","Willow Grove","Willow Road","Willow Street","Windermere Road","Windmill Close","Windmill Lane","Windsor Avenue","Windsor Close","Windsor Drive","Wood Lane","Wood Street","Woodland Close","Woodland Road","Woodlands","Woodlands Avenue","Woodlands Close","Woodlands Road","Woodside","Woodside Road","Wren Close","Yew Tree Close","York Road","York Street"],RAe=["{{person.first_name.generic}} {{location.street_suffix}}","{{person.last_name.generic}} {{location.street_suffix}}","{{location.street_name}}"],NAe=["Alley","Avenue","Branch","Bridge","Brook","Brooks","Burg","Burgs","Bypass","Camp","Canyon","Cape","Causeway","Center","Centers","Circle","Circles","Cliff","Cliffs","Club","Common","Corner","Corners","Course","Court","Courts","Cove","Coves","Creek","Crescent","Crest","Crossing","Crossroad","Curve","Dale","Dam","Divide","Drive","Drives","Estate","Estates","Expressway","Extension","Extensions","Fall","Falls","Ferry","Field","Fields","Flat","Flats","Ford","Fords","Forest","Forge","Forges","Fork","Forks","Fort","Freeway","Garden","Gardens","Gateway","Glen","Glens","Green","Greens","Grove","Groves","Harbor","Harbors","Haven","Heights","Highway","Hill","Hills","Hollow","Inlet","Island","Islands","Isle","Junction","Junctions","Key","Keys","Knoll","Knolls","Lake","Lakes","Land","Landing","Lane","Light","Lights","Loaf","Lock","Locks","Lodge","Loop","Mall","Manor","Manors","Meadow","Meadows","Mews","Mill","Mills","Mission","Motorway","Mount","Mountain","Mountains","Neck","Orchard","Oval","Overpass","Park","Parks","Parkway","Parkways","Pass","Passage","Path","Pike","Pine","Pines","Place","Plain","Plains","Plaza","Point","Points","Port","Ports","Prairie","Radial","Ramp","Ranch","Rapid","Rapids","Rest","Ridge","Ridges","River","Road","Roads","Route","Row","Rue","Run","Shoal","Shoals","Shore","Shores","Skyway","Spring","Springs","Spur","Spurs","Square","Squares","Station","Stravenue","Stream","Street","Streets","Summit","Terrace","Throughway","Trace","Track","Trafficway","Trail","Tunnel","Turnpike","Underpass","Union","Unions","Valley","Valleys","Via","Viaduct","View","Views","Village","Villages","Ville","Vista","Walk","Walks","Wall","Way","Ways","Well","Wells"],LAe={building_number:mAe,city_name:gAe,city_pattern:bAe,city_prefix:yAe,city_suffix:vAe,continent:FAe,country:EAe,county:SAe,direction:xAe,language:wAe,postcode:kAe,secondary_address:CAe,state:TAe,state_abbr:AAe,street_address:_Ae,street_name:DAe,street_pattern:RAe,street_suffix:NAe},MAe=LAe,IAe=["a","ab","abbas","abduco","abeo","abscido","absconditus","absens","absorbeo","absque","abstergo","absum","abundans","abutor","accedo","accendo","acceptus","accommodo","accusamus","accusantium","accusator","acer","acerbitas","acervus","acidus","acies","acquiro","acsi","ad","adamo","adaugeo","addo","adduco","ademptio","adeo","adeptio","adfectus","adfero","adficio","adflicto","adhaero","adhuc","adicio","adimpleo","adinventitias","adipisci","adipiscor","adiuvo","administratio","admiratio","admitto","admoneo","admoveo","adnuo","adopto","adsidue","adstringo","adsuesco","adsum","adulatio","adulescens","aduro","advenio","adversus","advoco","aedificium","aeger","aegre","aegrotatio","aegrus","aeneus","aequitas","aequus","aer","aestas","aestivus","aestus","aetas","aeternus","ager","aggero","aggredior","agnitio","agnosco","ago","ait","aiunt","alias","alienus","alii","alioqui","aliqua","aliquam","aliquid","alius","allatus","alo","alter","altus","alveus","amaritudo","ambitus","ambulo","amet","amicitia","amiculum","amissio","amita","amitto","amo","amor","amoveo","amplexus","amplitudo","amplus","ancilla","angelus","angulus","angustus","animadverto","animi","animus","annus","anser","ante","antea","antepono","antiquus","aperiam","aperio","aperte","apostolus","apparatus","appello","appono","appositus","approbo","apto","aptus","apud","aqua","ara","aranea","arbitro","arbor","arbustum","arca","arceo","arcesso","architecto","arcus","argentum","argumentum","arguo","arma","armarium","aro","ars","articulus","artificiose","arto","arx","ascisco","ascit","asper","asperiores","aspernatur","aspicio","asporto","assentator","assumenda","astrum","at","atavus","ater","atque","atqui","atrocitas","atrox","attero","attollo","attonbitus","auctor","auctus","audacia","audax","audentia","audeo","audio","auditor","aufero","aureus","aurum","aut","autem","autus","auxilium","avaritia","avarus","aveho","averto","baiulus","balbus","barba","bardus","basium","beatae","beatus","bellicus","bellum","bene","beneficium","benevolentia","benigne","bestia","bibo","bis","blandior","blanditiis","bonus","bos","brevis","cado","caecus","caelestis","caelum","calamitas","calcar","calco","calculus","callide","campana","candidus","canis","canonicus","canto","capillus","capio","capitulus","capto","caput","carbo","carcer","careo","caries","cariosus","caritas","carmen","carpo","carus","casso","caste","casus","catena","caterva","cattus","cauda","causa","caute","caveo","cavus","cedo","celebrer","celer","celo","cena","cenaculum","ceno","censura","centum","cerno","cernuus","certe","certus","cervus","cetera","charisma","chirographum","cibo","cibus","cicuta","cilicium","cimentarius","ciminatio","cinis","circumvenio","cito","civis","civitas","clam","clamo","claro","clarus","claudeo","claustrum","clementia","clibanus","coadunatio","coaegresco","coepi","coerceo","cogito","cognatus","cognomen","cogo","cohaero","cohibeo","cohors","colligo","collum","colo","color","coma","combibo","comburo","comedo","comes","cometes","comis","comitatus","commemoro","comminor","commodi","commodo","communis","comparo","compello","complectus","compono","comprehendo","comptus","conatus","concedo","concido","conculco","condico","conduco","confero","confido","conforto","confugo","congregatio","conicio","coniecto","conitor","coniuratio","conor","conqueror","conscendo","consectetur","consequatur","consequuntur","conservo","considero","conspergo","constans","consuasor","contabesco","contego","contigo","contra","conturbo","conventus","convoco","copia","copiose","cornu","corona","corporis","corpus","correptius","corrigo","corroboro","corrumpo","corrupti","coruscus","cotidie","crapula","cras","crastinus","creator","creber","crebro","credo","creo","creptio","crepusculum","cresco","creta","cribro","crinis","cruciamentum","crudelis","cruentus","crur","crustulum","crux","cubicularis","cubitum","cubo","cui","cuius","culpa","culpo","cultellus","cultura","cum","cumque","cunabula","cunae","cunctatio","cupiditas","cupiditate","cupio","cuppedia","cupressus","cur","cura","curatio","curia","curiositas","curis","curo","curriculum","currus","cursim","curso","cursus","curto","curtus","curvo","custodia","damnatio","damno","dapifer","debeo","debilito","debitis","decens","decerno","decet","decimus","decipio","decor","decretum","decumbo","dedecor","dedico","deduco","defaeco","defendo","defero","defessus","defetiscor","deficio","defleo","defluo","defungo","degenero","degero","degusto","deinde","delectatio","delectus","delego","deleniti","deleo","delibero","delicate","delinquo","deludo","demens","demergo","demitto","demo","demonstro","demoror","demulceo","demum","denego","denique","dens","denuncio","denuo","deorsum","depereo","depono","depopulo","deporto","depraedor","deprecator","deprimo","depromo","depulso","deputo","derelinquo","derideo","deripio","deserunt","desidero","desino","desipio","desolo","desparatus","despecto","dicta","dignissimos","distinctio","dolor","dolore","dolorem","doloremque","dolores","doloribus","dolorum","ducimus","ea","eaque","earum","eius","eligendi","enim","eos","error","esse","est","et","eum","eveniet","ex","excepturi","exercitationem","expedita","explicabo","facere","facilis","fuga","fugiat","fugit","harum","hic","id","illo","illum","impedit","in","incidunt","infit","inflammatio","inventore","ipsa","ipsam","ipsum","iste","itaque","iure","iusto","labore","laboriosam","laborum","laudantium","libero","magnam","magni","maiores","maxime","minima","minus","modi","molestiae","molestias","mollitia","nam","natus","necessitatibus","nemo","neque","nesciunt","nihil","nisi","nobis","non","nostrum","nulla","numquam","occaecati","ocer","odio","odit","officia","officiis","omnis","optio","paens","pariatur","patior","patria","patrocinor","patruus","pauci","paulatim","pauper","pax","peccatus","pecco","pecto","pectus","pecus","peior","pel","perferendis","perspiciatis","placeat","porro","possimus","praesentium","provident","quae","quaerat","quam","quas","quasi","qui","quia","quibusdam","quidem","quis","quisquam","quo","quod","quos","ratione","recusandae","reiciendis","rem","repellat","repellendus","reprehenderit","repudiandae","rerum","saepe","sapiente","sed","sequi","similique","sint","sit","socius","sodalitas","sol","soleo","solio","solitudo","solium","sollers","sollicito","solum","solus","soluta","solutio","solvo","somniculosus","somnus","sonitus","sono","sophismata","sopor","sordeo","sortitus","spargo","speciosus","spectaculum","speculum","sperno","spero","spes","spiculum","spiritus","spoliatio","sponte","stabilis","statim","statua","stella","stillicidium","stipes","stips","sto","strenuus","strues","studio","stultus","suadeo","suasoria","sub","subito","subiungo","sublime","subnecto","subseco","substantia","subvenio","succedo","succurro","sufficio","suffoco","suffragium","suggero","sui","sulum","sum","summa","summisse","summopere","sumo","sumptus","sunt","supellex","super","suppellex","supplanto","suppono","supra","surculus","surgo","sursum","suscipio","suscipit","suspendo","sustineo","suus","synagoga","tabella","tabernus","tabesco","tabgo","tabula","taceo","tactus","taedium","talio","talis","talus","tam","tamdiu","tamen","tametsi","tamisium","tamquam","tandem","tantillus","tantum","tardus","tego","temeritas","temperantia","templum","tempora","tempore","temporibus","temptatio","tempus","tenax","tendo","teneo","tener","tenetur","tenuis","tenus","tepesco","tepidus","ter","terebro","teres","terga","tergeo","tergiversatio","tergo","tergum","termes","terminatio","tero","terra","terreo","territo","terror","tersus","tertius","testimonium","texo","textilis","textor","textus","thalassinus","theatrum","theca","thema","theologus","thermae","thesaurus","thesis","thorax","thymbra","thymum","tibi","timidus","timor","titulus","tolero","tollo","tondeo","tonsor","torqueo","torrens","tot","totam","totidem","toties","totus","tracto","trado","traho","trans","tredecim","tremo","trepide","tres","tribuo","tricesimus","triduana","tripudio","tristis","triumphus","trucido","truculenter","tubineus","tui","tum","tumultus","tunc","turba","turbo","turpis","tutamen","tutis","tyrannus","uberrime","ubi","ulciscor","ullam","ullus","ulterius","ultio","ultra","umbra","umerus","umquam","una","unde","undique","universe","unus","urbanus","urbs","uredo","usitas","usque","ustilo","ustulo","usus","ut","uter","uterque","utilis","utique","utor","utpote","utrimque","utroque","utrum","uxor","vaco","vacuus","vado","vae","valde","valens","valeo","valetudo","validus","vallum","vapulus","varietas","varius","vehemens","vel","velit","velociter","velum","velut","venia","veniam","venio","ventito","ventosus","ventus","venustas","ver","verbera","verbum","vere","verecundia","vereor","vergo","veritas","veritatis","vero","versus","verto","verumtamen","verus","vesco","vesica","vesper","vespillo","vester","vestigium","vestrum","vetus","via","vicinus","vicissitudo","victoria","victus","videlicet","video","viduo","vigilo","vigor","vilicus","vilis","vilitas","villa","vinco","vinculum","vindico","vinitor","vinum","vir","virga","virgo","viridis","viriliter","virtus","vis","viscus","vita","vitae","vitiosus","vitium","vito","vivo","vix","vobis","vociferor","voco","volaticus","volo","volubilis","voluntarius","volup","voluptas","voluptate","voluptatem","voluptates","voluptatibus","voluptatum","volutabrum","volva","vomer","vomica","vomito","vorago","vorax","voro","vos","votum","voveo","vox","vulariter","vulgaris","vulgivagus","vulgo","vulgus","vulnero","vulnus","vulpes","vulticulus","xiphias"],OAe={word:IAe},BAe=OAe,PAe={title:"English",code:"en",language:"en",endonym:"English",dir:"ltr",script:"Latn"},zAe=PAe,HAe=['"Awaken, My Love!"',"(What's The Story) Morning Glory?","- Tragedy +","13 Reasons Why (Season 3)","21st Century Breakdown","30 De Febrero","432 Hz Deep Healing","5-Star","528 Hz Meditation Music","54+1","8 Mile","808s & Heartbreak","9 To 5 And Odd Jobs","A Beautiful Lie","A Day At The Races","A Day Without Rain","A Fever You Can't Sweat Out","A Gangsta's Pain","A Gift & A Curse","A Hard Day's Night","A Head Full Of Dreams","A Kind Of Magic","A Million Ways To Murder","A Moment Apart","A Song For Every Moon","A Thousand Suns","A Winter Romance","ABBA","AI YoungBoy","AJ Tracey","Act One","After Hours","Agent Provocateur","All About You","All I Know So Far: Setlist","All Or Nothing","All Out","All Over The Place","All Stand Together","All The Lost Souls","All The Things I Never Said","All Things Must Pass","Alleen","Alright, Still","Alta Suciedad","America","American Heartbreak","American Teen","And Justice For None","Animal Songs","Another Friday Night","Anything Goes","Ao Vivo Em São Paulo","Ao Vivo No Ibirapuera","Apricot Princess","Aqui E Agora (Ao Vivo)","Arcane League Of Legends","Ardipithecus","Aretha Now","Around The Fur","Arrival","Artist 2.0","As She Pleases","Ascend","Ashlyn","Astro Lounge","At Night, Alone.","At. Long. Last. ASAP","Atlas","Audioslave","Aura","Austin","Awake","Away From The Sun","Ayayay!","Baby On Baby","Back For Everything","Back From The Edge","Back In Black","Back To Black","Back To The Game","Bad","Bahía Ducati","Baila","Barbie The Album","Battleground","Bayou Country","Bcos U Will Never B Free","Be","Be Here Now","Beautiful Mind","Beautiful Thugger Girls","Beautiful Trauma","Beauty And The Beast","Beggars Banquet","Being Funny In A Foreign Language","Berlin Lebt","Berry Is On Top","Best White Noise For Baby Sleep - Loopable With No Fade","Big Baby DRAM","Bigger, Better, Faster, More!","Billy Talent II","Black Star Elephant","Blackout","Blank Face LP","Bleach","Blizzard Of Ozz","Blonde","Blood Sugar Sex Magik","Bloom","Blowin' Your Mind!","Blu Celeste","Blue","Blue Banisters","Blue Hawaii","Blue Neighbourhood","Bluebird Days","Bobby Tarantino","Bobby Tarantino II","Bon Iver","Born Pink","Born To Run","Brand New Eyes","Break The Cycle","Breakfast In America","Breakthrough","Brett Young","Bridge Over Troubled Water","Bright: The Album","Brol","Buds","Buena Vista Social Club","Built On Glass","Bury Me At Makeout Creek","Busyhead","By The Way","CB6","CNCO","California Sunrise","Californication","Call Me Irresponsible","Calm","Camino Palmero","Camp","Caracal","Carbon Fiber Hits","Carnival","Carry On","Cartel De Santa","Certified Lover Boy","Chaaama","Chama Meu Nome","Chapter 1: Snake Oil","Chapter 2: Swamp Savant","Chapter One","Charlie's Angels","Cherry Bomb","Chief","Chocolate Factory","Chosen","Chris Brown","Christina Aguilera","Chromatica","Church","City Of Evil","Clandestino","Clouds","Coco","Collision Course","Colour Vision","Combat Rock","Come Around Sundown","Come Away With Me","Come Home The Kids Miss You","Come What(ever) May","Commando","Common Sense","Communion","Conditions","Confident","Confrontation","Control The Streets, Volume 2","Corinne Bailey Rae","Costello Music","Cottonwood","Covers, Vol. 2","Cozy Tapes Vol. 2: Too Cozy","Crash Talk","Crazy Love","Crazysexycool","Crowded House","Cruisin' With Junior H","Culture","Current Mood","DS2","Dale","Danger Days: The True Lives Of The Fabulous Killjoys","Dangerous Woman","Dangerous: The Double Album","Dark Horse","Day69","Daydream","De Fiesta","De Viaje","DeAnn","Death Race For Love","Delirium","Delta","Demidevil","Depression Cherry","Descendants","Desgenerados Mixtape","Destin","Destiny Fulfilled","Desvelado","Detroit 2","Dex Meets Dexter","Dharma","Die A Legend","Different World","Dig Your Roots","Digital Druglord","Dirt","Disclaimer I / II","Discovery","Disraeli Gears","Disumano","Dizzy Up The Girl","Don't Play That Song","Donda","Donde Quiero Estar","Doo-Wops & Hooligans","Down The Way","Dr. Feelgood","Dream Your Life Away","Dreaming Out Loud","Drip Harder","Drive","Drones","Dropped Outta College","Drowning","Dua Warna Cinta","Dulce Beat","Dusty In Memphis","Dutty Rock","Dying To Live","ENR","East Atlanta Love Letter","Editorial","Edna","El Abayarde","El Amor En Los Tiempos Del Perreo","El Camino","El Comienzo","El Dorado","El Karma","El Mal Querer","El Malo","El Trabajo Es La Suerte","El Viaje De Copperpot","Electric Ladyland","Emotion","En Tus Planes","Endless Summer Vacation","Enter The Wu-Tang (36 Chambers)","Equals (=)","Estrella","Euphoria","Europop","Evermore","Every Kingdom","Everyday Life","Evolve","Expectations","Face Yourself","Facelift","Fallin'","Fancy You","Fantasía","Favourite Worst Nightmare","Fear Of The Dark","Fearless","Feel Something","Feels Like Home","Femme Fatale","Ferxxocalipsis","Fifty Shades Darker","Fifty Shades Freed","Fifty Shades Of Grey","Final (Vol.1)","Finding Beauty In Negative Spaces","Fine Line","First Impressions Of Earth","First Steps","Five Seconds Flat","Folklore","For Emma, Forever Ago","Forajido EP 1","Forever","Forever Young","Formula Of Love: O+T=<3","Free 6lack","Freudian","Frozen II","Full Moon Fever","Funhouse","Funk Wav Bounces Vol.1","Future History","FutureSex/LoveSounds","Fuzzybrain","Gallery","Gangsta's Paradise","Gemini","Gemini Rights","Generationwhy","Get A Grip","Get Up","Gettin' Old","Girl","Gladiator","Glisten","Globalization","Gloria","Glory Days","God's Project","Gold Skies","Golden","Good Evening","Good Thing","Goodbye Yellow Brick Road","Gossip Columns","Got Your Six","Graceland","Graduation","Grand Champ","Grandson, Vol. 1","Green River","Guerra","Ha*Ash Primera Fila - Hecho Realidad","Haiz","Hamilton","Happy Endings","Harry Styles","Hasta La Raíz","Hatful Of Hollow","Head In The Clouds","Heard It In A Past Life","Heart Shaped World","Heartbeat City","Heartbreak On A Full Moon / Cuffing Season - 12 Days Of Christmas","Heaven Or Hell","Heaven knows","Hellbilly Deluxe","Hellboy","Help!","Her Loss","Here Comes The Cowboy","Hey World","High School Musical","High Tide In The Snake's Nest","Historias De Un Capricornio","Hndrxx","Hombres G (Devuélveme A Mi Chica)","Homerun","Homework","Hot Fuss","Hot Pink","Hot Sauce / Hello Future","Hot Space","Hotel Diablo","Houses Of The Holy","How Big, How Blue, How Beautiful","How I'm Feeling","How To Be Human","How To Save A Life","How To: Friend, Love, Freefall","Hozier","Human","Huncho Jack, Jack Huncho","Hunter Hayes","Hysteria","I Am...Sasha Fierce","I Can't Handle Change","I Met You When I Was 18. (The Playlist)","I Never Liked You","I Never Loved A Man The Way I Love You","I See You","I Think You Think Too Much Of Me","I Used To Know Her","I Used To Think I Could Fly","I'm Comin' Over","Ich & Keine Maske","If You Can Believe Your Eyes & Ears","Il Ballo Della Vita","Ill Communication","Imagination & The Misfit Kid","Imagine","Immortalized","In A Perfect World...","In Colour","In My Own Words","In Rainbows","In Return","In The Lonely Hour","Infest","Innuendo","Inter Shibuya - La Mafia","Interstellar","Is This It","It Was Written","It's Not Me, It's You","It's Only Me","Ivory","JackBoys","Jamie","Jazz","Jibrail & Iblis","Jordi","Jordin Sparks","Jose","Just As I Am","Just Cause Y'all Waited 2","Just Like You","Justified","K-12 / After School","K.I.D.S.","K.O.","K.O.B. Live","KG0516","KOD","Kane Brown","Kid A","Kid Krow","Kids See Ghosts","Kids in Love","Kinks (You Really Got Me)","Know-It-All","Konvicted","Kring","LANY","LM5","La Criatura","La Flaca","La Melodia De La Calle","La Revolucion","Lady Lady","Lady Wood","Langit Mong Bughaw","Las Que No Iban A Salir","Last Day Of Summer","Last Year Was Complicated","Layers","Layover","Lazarus","Led Zeppelin","Left Of The Middle","Leftoverture","Legends Never Die","Let's Skip To The Wedding","Let's Talk About Love","Licensed To Ill","Life In Cartoon Motion","Life Thru A Lens","Lifelines","Like..?","Lil Big Pac","Lil Boat","Lil Boat 2","Lil Boat 3.5","Lil Kiwi","Lil Pump","Limon Y Sal","Listen Without Prejudice","Little Voice","Live On Red Barn Radio I & II","Lo Que Andábamos Buscando","Lofi Fruits Music 2021","London Calling","Los Campeones Del Pueblo","Los Extraterrestres","Los Favoritos 2","Lost","Lost In Love","Loud","Love Sick","Love Story","Love Stuff","Love Yourself: Tear","Lover","Luca Brasi 2: Gangsta Grillz","Lust For Life","Luv Is Rage","M!ssundaztood","Ma Fleur","Made In Lagos","Mafia Bidness","Magazines Or Novels","Mainstream Sellout","Majestic","Make It Big","Make Yourself","Making Mirrors","Mamma Mia! Here We Go Again","Man Of The Woods","Manic","Me And My Gang","Meduza","Meet The Orphans","Meet The Woo","Melim","Mellon Collie And The Infinite Sadness","Melly vs. Melvin","Memories...Do Not Open","Menagerie","Midnights","Minecraft - Volume Alpha","Minutes To Midnight","Mix Pa Llorar En Tu Cuarto","Modo Avión","Monkey Business","Mono.","Montana","Montevallo","Moosetape","Morning View","Motivan2","Moving Pictures","Mr. Davis","Mr. Misunderstood","Mulan","Mura Masa","Music From The Edge Of Heaven","Music Of The Sun","My House","My Kinda Party","My Krazy Life","My Liver Will Handle What My Heart Can't","My Moment","My Own Lane","My Turn","My Worlds","Na Praia (Ao Vivo)","Nakamura","Nation Of Two","Navegando","Need You Now","Neon Future III","Neotheater","Never Trust A Happy Song","New English","News Of The World","Nicole","Night & Day","Nimmerland","Nimrod","Nine Track Mind","No Angel","No Me Pidas Perdón","No More Drama","No Protection","No Strings Attached","No Time To Die","Nobody Is Listening","Non Stop Erotic Cabaret","Non-Fiction","Northsbest","Nostalgia","Nostalgia, Ultra","Notes On A Conditional Form","Now Or Never","O Embaixador (Ao Vivo)","O My Heart","OK Computer","Ocean","Ocean Avenue","Ocean Eyes","Odisea","Oh My My","Oh, What A Life","On The 6","One In A Million","One More Light","One Of These Nights","Open Up And Say...Ahh!","Ordinary Man","Origins","Out Of The Blue","Over It","OzuTochi","PTSD","Pa Las Baby's Y Belikeada","Pa Que Hablen","Pa' Luego Es Tarde","Pa' Otro La 'O","Pablo Honey","Pain Is Love","Pain Is Temporary","Painting Pictures","Palmen Aus Plastik 2","Para Mi Ex","Para Siempre","Partners In Crime","Pawn Shop","Pegasus / Neon Shark VS Pegasus","Pet Sounds","Piece By Piece","Pier Pressure","Pineapple Sunrise","Piseiro 2020 Ao Vivo","Planet Pit","Plans","Play Deep","Playa Saturno","Por Primera Vez","Por Vida","Positions","Post Human: Survival Horror","Poster Girl","Prazer, Eu Sou Ferrugem (Ao Vivo)","Pretty Girls Like Trap Music","Pretty. Odd.","Prince Royce","Prisma","Prometo","Providence","Puberty 2","Punisher","Purgatory","Purple Rain","Que Bendición","Queen Of The Clouds","Quiero Volver","R&G (Rhythm & Gangsta): The Masterpiece","Raise!","Ransom 2","Rapunzel","Rare","Re Mida","Ready To Die","Realer","Rebelde","Reclassified","Recovery","Recuerden Mi Estilo","Reggatta De Blanc","Regulate… G Funk Era","Reik","Reise, Reise","Relapse","Relaxing Piano Lullabies And Natural Sleep Aid For Baby Sleep Music","Religiously. The Album.","Replay","Results May Vary","Revenge","Revolve","Revolver","Ricky Martin","Rien 100 Rien","Ripcord","Rise And Fall, Rage And Grace","Rise Of An Empire","Robin Hood: Prince Of Thieves","Rock N Roll Jesus","Romance","Romances","Ronan","Royal Blood","Rumours","Sad Boyz 4 Life II","San Lucas","Santana World","Saturation III","Sauce Boyz","Savage Mode","Saxobeats","Scarlet","Schwarzes Herz","Seal The Deal & Let's Boogie","Section.80","Segundo Romance","Sehnsucht","Shake The Snow Globe","Shang-Chi And The Legend Of The Ten Rings: The Album","Sheer Heart Attack","Shiesty Season","Shock Value","Shoot For The Stars, Aim For The Moon","Signed Sealed And Delivered","Signos","Silent Alarm","Simplemente Gracias","Sin Bandera","Sing Me A Lullaby, My Sweet Temptation","Sinner","Sirio","Sit Still, Look Pretty","Skin","Slowhand","Smash","Smithereens","Snow Cougar","Social Cues","Some Girls","Song Hits From Holiday Inn","Songs For Dads","Songs For The Deaf","Songs For You, Truths For Me","Songs In The Key Of Life","Souled Out","Sounds Of Silence","Soy Como Quiero Ser","Speak Now","Speak Your Mind","Speakerboxxx/The Love Below","Spider-Man: Into The Spider-Verse","Split Decision","Square Up","SremmLife","Starboy","Stay +","Stay Dangerous","Staying At Tamara's","Steppenwolf","Stick Season","Still Bill","Straight Outta Compton","Strange Trails","Stronger","Suavemente","Sublime","Suck It and See","Sucker","Sueños","Sugar","Summer Forever","Summer,","Sunset Season","Sunshine On Leith","Surfer Rosa","Sweet Talker","SweetSexySavage","System Of A Down","TA13OO","Talk That Talk","Talking Heads: 77","Tangled Up","Tango In The Night","Taxi Driver","Taylor Swift","Tell Me It's Real","Ten","Ten Summoner's Tales","Terra Sem Cep (Ao Vivo)","Terral","Testing","Tha Carter III","Thank Me Later","That's Christmas To Me","The Academy","The Adventures Of Bobby Ray","The Album","The Andy Williams Christmas Album","The Aviary","The Balcony","The Battle Of Los Angeles","The Beatles (White Album)","The Beginning","The Better Life","The Big Day","The Book","The Breakfast Club","The Cars","The Colour And The Shape","The Death Of Peace Of Mind","The Diary Of Alicia Keys","The Documentary","The Emancipation Of Mimi","The Eminem Show","The End Of Everything","The Final Countdown","The Forever Story","The Foundation","The Goat","The Golden Child","The Good Parts","The Greatest Showman: Reimagined","The Green Trip","The Hardest Love","The Head And The Heart","The Human Condition","The Infamous","The Lady Killer","The Last Don II","The Lion King","The Lockdown Sessions","The London Sessions","The Lord Of The Rings: The Fellowship Of The Ring","The Lost Boy","The Magic Of Christmas / The Christmas Song","The Marshall Mathers LP","The Martin Garrix Collection","The Melodic Blue","The Mockingbird & The Crow","The Pains Of Growing","The Papercut Chronicles","The Perfect Luv Tape","The Pinkprint","The Predator","The Queen Is Dead","The ReVe Festival: Finale","The Rise And Fall Of Ziggy Stardust And The Spiders From Mars","The Rising Tied","The River","The Stone Roses","The Story Of Us","The Stranger","The Sufferer & The Witness","The Sun's Tirade","The Temptations Sing Smokey","The Time Of Our Lives","The Way It Is","The Wonderful World Of Sam Cooke","The Writing's On The Wall","The Young And The Hopeless","Therapy","Therapy Session","There Is More (Live)","There Is Nothing Left To Lose","These Things Happen","Third Eye Blind","This Is Me...Then","This Unruly Mess I've Made","Threat to Survival","Thrill Of The Chase","Time","Timelezz","To Let A Good Thing Die","To Pimp A Butterfly","Toast To Our Differences","Todos Os Cantos, Vol. 1 (Ao Vivo)","Too Hard","Torches X","Total Xanarchy","Toto IV","Toulouse Street","Tourist History","Toxicity","Tragic Kingdom","Tranquility Base Hotel & Casino","Traumazine","Traveler","Tres Hombres","Trip At Knight","Tron: Legacy","True Blue","True Colors","Trustfall","Tu Veneno Mortal","Tudo Em Paz","Ubuntu","Ugly Is Beautiful","Ultra 2021","Una Mattina","Unbroken","Uncovered","Under Pressure","Unsponsored Content","Unstoppable","Unwritten","Urban Flora","Urban Hymns","Use Your Illusion I","Veneer","Versions Of Me","Vibes","Vice Versa","Vices & Virtues","Victory","Vida","Viejo Marihuano","Visualízate","Walk Away","Walk Me Home...","Watch The Throne","Wave","We Broke The Rules","We Love You Tecca","We Love You Tecca 2","Weezer (Green Album)","Welcome To The Madhouse","Westlife","What A Time To Be Alive","What Do You Think About The Car?","What Is Love?","What Makes You Country","What Separates Me From You","What You See Is What You Get / What You See Ain't Always What You Get","When It's Dark Out","When We All Fall Asleep, Where Do We Go?","Where The Light Is","While The World Was Burning","White Pony","Whitney","Who Really Cares","Who You Are","Who's Next","Wide Open","Wilder Mind","Wildfire","Willy And The Poor Boys","Wings / You Never Walk Alone","Wish","Wish You Were Here","Without Warning","Wonder","X&Y","XOXO","Y Que Quede Claro","YBN: The Mixtape","Yo Creo","You Will Regret","Youngblood","Younger Now","Youth"],UAe=["$NOT","$uicideboy$","(G)I-DLE","*NSYNC","2 Chainz","21 Savage","6LACK","? & The Mysterians","A Boogie Wit da Hoodie","A Taste of Honey","A Tribe Called Quest","A-Ha","ABBA","AC/DC","AJ Tracey","ATEEZ","Ace of Base","Adele","Ado","Aerosmith","Agust D","Aitana","Al Dexter & his Troopers","Al Green","Al Jolson","Al Martino","Alan Jackson","Alannah Myles","Alec Benjamin","Alejandro Sanz","Alesso","Alfredo Olivas","Ali Gatie","Alice In Chains","Alina Baraz","All Time Low","All-4-One","All-American Rejects","Alok","America","American Quartet","Amii Stewart","Amitabh Bhattacharya","Ana Castela","Anderson .Paak","Andy Grammer","Angus & Julia Stone","Anirudh Ravichander","Anita Ward","Anitta","Anton Karas","Anuel AA","Arcade Fire","Archie Bell & The Drells","Archies","Aretha Franklin","Arizona Zervas","Armin van Buuren","Arthur Conley","Artie Shaw","Asake","Asees Kaur","Association","Atif Aslam","Audioslave","Aventura","Avril Lavigne","Aya Nakamura","B J Thomas","B.o.B","BLACKPINK","BONES","BROCKHAMPTON","BTS","Baby Keem","Bachman-Turner Overdrive","Backstreet Boys","Bad Bunny","Badshah","Bailey Zimmerman","Banda El Recodo","Barbra Streisand","Barry White","Bazzi","Bebe Rexha","Becky G","Becky Hill","Bee Gees","Ben Bernie","Ben Howard","Ben Selvin","Berlin","Bessie Smith","Bethel Music","Bette Midler","Beyonce","Bibi Blocksberg","Bibi und Tina","BigXthaPlug","Bill Doggett","Bill Haley & his Comets","Bill Withers","Billy Davis Jr","Billy Joel","Billy Paul","Billy Preston","Billy Swan","Birdy","Bizarrap","Blake Shelton","Blur","Bob Marley & The Wailers","Bob Seger","Bobby Darin","Bobby Lewis","Bobby McFerrin","Bobby Vinton","Boney M.","Bonez MC","Bonnie Tyler","Booba","Boston","BoyWithUke","Boyce Avenue","Bradley Cooper","Bread","Brent Faiyaz","Brett Young","Bring Me The Horizon","Britney Spears","Brooks & Dunn","Bruce Channel","Bruno & Marrone","Bryan Adams","Bryce Vine","Buddy Holly","Burna Boy","C. Tangana","CKay","CRO","Camilo","Capital Bra","Captain & Tennille","Cardi B","Carin Leon","Carlos Vives","Carly Simon","Carpenters","Cavetown","Celine Dion","Central Cee","Chaka Khan","Champs","Charlie Rich","Chayanne","Cheat Codes","Cher","Chic","Chicago","Chris Brown","Chris Isaak","Chris Young","Christina Aguilera","Christina Perri","Christopher Cross","Chuck Berry","Ciara","Cigarettes After Sex","Cliff Edwards (Ukelele Ike)","Cody Johnson","Colbie Caillat","Colby O'Donis","Cole Swindell","Coleman Hawkins","Contours","Coolio","Count Basie","Cris Mj","Culture Club","Cyndi Lauper","D-Block Europe","DAY6","DJ Khaled","DJ Luian","DJ Nelson","DMX","DNCE","DaVido","Dadju","Daft Punk","Dan + Shay","Daniel Powter","Danny Ocean","Darius Rucker","Dave","David Bowie","David Guetta","Daya","Dean Martin","Deee-Lite","Deep Purple","Deftones","Demi Lovato","Dennis Lloyd","Denzel Curry","Dermot Kennedy","Desiigner","Devo","Dewa 19","Dexys Midnight Runners","Diddy","Dido","Die drei !!!","Diego & Victor Hugo","Diljit Dosanjh","Dimitri Vegas & Like Mike","Dinah Shore","Dionne Warwick","Dire Straits","Disclosure","Dixie Cups","Doja Cat","Dolly Parton","Don Diablo","Don Henley","Don McLean","Don Omar","Donna Summer","Donovan","Dr. Dre","Drake","Dreamville","Dua Lipa","EMF","ENHYPEN","Earth, Wind & Fire","Ed Sheeran","Eddie Cantor","Eddie Cochran","Eddy Howard","Edgar Winter Group","Edwin Hawkins Singers","Edwin Starr","El Alfa","Eladio Carrion","Electric Light Orchestra","Elevation Worship","Ella Henderson","Ellie Goulding","Elton John","Elvis Presley","Empire of the Sun","En Vogue","Enrique Iglesias","Eslabon Armado","Ethel Waters","Etta James","Evanescence","Exile","Extreme","Faith Hill","Fall Out Boy","Fanny Brice","Farruko","Fats Domino","Fats Waller","Feid","Felix Jaehn","Fergie","Fetty Wap","Fiersa Besari","Fifth Harmony","Fine Young Cannibals","Five Finger Death Punch","Fleetwood Mac","Flo-Rida","Florence + The Machine","Flume","Foo Fighters","Foreigner","Foster The People","Four Aces","Frank Ocean","Frank Sinatra","Frankie Avalon","Frankie Valli","Fred Astaire","Freda Payne","Freddie Dredd","Freddy Fender","French Montana","Fuerza Regida","Fujii Kaze","Future","G-Eazy","Garfunkel and Oates","Gary Lewis & The Playboys","Gary Numan","Gene Autry","Gene Chandler","Gene Vincent","George Michael","George Strait","Gera MX","Ghost","Ghostemane","Gigi D'Agostino","Gladys Knight & The Pips","Glass Animals","Glee Cast","Gloria Gaynor","Godsmack","Gorillaz","Gotye","Grand Funk Railroad","Green Day","Grouplove","Grupo Firme","Grupo Marca Registrada","Gryffin","Gucci Mane","Guess Who","Gunna","Gusttavo Lima","Guy Mitchell","Gwen Stefani","Gzuz","H.E.R.","HARDY","Hailee Steinfeld","Halsey","Hans Zimmer","Harris Jayaraj","Harry Chapin","Harry James","Harry Nilsson","Harry Styles","Hayley Williams","Herb Alpert","Herman's Hermits","Hillsong UNITED","Hillsong Worship","Hollywood Undead","Honey Cone","Hoobastank","Hues Corporation","I Prevail","ITZY","IVE","Ice Cube","Ice Spice","Iggy Azalea","Imagine Dragons","Incubus","Internet Money","Isaac Hayes","J Geils Band","J. Cole","JAY-Z","JJ Lin","JP Saxe","JVKE","Jack Harlow","Jack Johnson","Jackie Wilson","Jacquees","James Arthur","James Brown","James TW","James Taylor","Jamie Foxx","Janet Jackson","Janis Joplin","Jason Aldean","Jason Mraz","Jay Chou","Jay Sean","Jay Wheeler","Jaymes Young","Jean Knight","Jeezy","Jennifer Lopez","Jennifer Warnes","Jeremih","Jeremy Zucker","Jerry Lee Lewis","Jerry Murad's Harmonicats","Jess Glynne","Jessie J","Jewel","Jimi Hendrix","Jimin","Jimmie Rodgers","Jimmy Dean","Jo Stafford","Joan Jett & The Blackhearts","Joao Gilberto","Joel Corry","John Fred & The Playboy Band","John Legend","John Mayer","John Williams","Johnnie Ray","Johnnie Taylor","Johnny Cash","Johnny Horton","Johnny Mathis","Johnny Mercer","Johnny Nash","Joji","Jon Bellion","Jonas Blue","Jonas Brothers","Joni James","Jorja Smith","Juan Gabriel","Juan Luis Guerra 4.40","Juanes","Juice Newton","Julia Michaels","Justin Bieber","Justin Quiles","KALEO","KAROL G","KAYTRANADA","KK","KSI","KYLE","Kacey Musgraves","Kane Brown","Kanye West","Karan Aujla","Kate Smith","Katy Perry","Kay Kyser","Ke$ha","Kehlani","Kelly Clarkson","Kenny Chesney","Kenny Loggins","Kenny Rogers","Kenshi Yonezu","Kenya Grace","Kevin Gates","Key Glock","Khalid","Kim Carnes","Kim Petras","Kimbra","Kina","King Gnu","Kings of Leon","Kingsmen","Kitty Kallen","Kodak Black","Kodaline","Kollegah","Kool & The Gang","Kungs","Kygo","Kylie Minogue","LE SSERAFIM","LISA","LMFAO","LUDMILLA","La Adictiva Banda San José de Mesillas","La Oreja de Van Gogh","Labrinth","Lady Antebellum","Lady GaGa","Lainey Wilson","Lana Del Rey","Latto","Lauryn Hill","Lauv","League of Legends","Lee Brice","Leon Bridges","Leona Lewis","Lesley Gore","Leslie Odom Jr.","Liam Payne","Lifehouse","Lil Baby","Lil Dicky","Lil Durk","Lil Mosey","Lil Nas X","Lil Pump","Lil Skies","Lil Tjay","Lil Uzi Vert","Lil Yachty","Lil' Kim","Lil' Wayne","Lin-Manuel Miranda","Linkin Park","Lionel Richie","Lipps Inc","Lisa Loeb","Little Peggy March","Little Richard","Lofi Fruits Music","Lord Huron","Los Del Rio","Los Dos Carnales","Los Lobos","Los Temerarios","Los Tigres Del Norte","Los Tucanes De Tijuana","Lou Reed","Loud Luxury","Louis Jordan","Louis Tomlinson","Love Unlimited","Lovin' Spoonful","Luan Santana","Luciano","Luis Miguel","Luis R Conriquez","Lulu","Lunay","Lupe Fiasco","M","MAX","MC Hammer","MC Ryan SP","MKTO","Mabel","Machine Gun Kelly","Madison Beer","Madonna","Mahalini","Major Lazer","Mambo Kingz","Maneskin","Marco Antonio Solís","Margaret Whiting","Maria Becerra","Mario","Mario Lanza","Mark Ronson","Maroon 5","Marshmello","Martin Garrix","Mary Ford","Mary J Blige","Mary J. Blige","Mary Wells","Matoma","Mau y Ricky","Meek Mill","Megadeth","Melanie","Melanie Martinez","Melendi","Men At Work","Metro Boomin","Michael Bublé","Michael Jackson","Michael McDonald","Michael Sembello","Miguel","Mike Posner","Miley Cyrus","Milky Chance","Minnie Riperton","Miracle Tones","Miranda Lambert","Mohit Chauhan","Mon Laferte","Moneybagg Yo","Monsta X","Mora","Morad","Morat","Mother Mother","Motley Crue","Ms. Lauryn Hill","Mumford & Sons","Muse","Mya","Myke Towers","NCT 127","NCT DREAM","NEFFEX","Nadin Amizah","Nancy Sinatra","Nat King Cole","Nate Smith","Natti Natasha","Nayer","Neil Diamond","Neil Sedaka","Nekfeu","Nelly","New Vaudeville Band","Next","Nickelback","Nicki Minaj","Nicki Nicole","Nicky Jam","Nina Simone","Ninho","Nipsey Hussle","Nirvana","Niska","No Doubt","Norah Jones","Normani","OMI","ONE OK ROCK","Oasis","Official HIGE DANdism","Offset","Old Dominion","Oliver Heldens","Olivia Rodrigo","Omah Lay","One Direction","Otis Redding","OutKast","Owl City","P Diddy","P!nk","PLK","PNL","Pamungkas","Passenger","Pat Boone","Patsy Cline","Patti LaBelle","Patti Page","Paul & Paula","Paul Revere & the Raiders","Paul Robeson","Paul Russell","Paul Whiteman","Paula Abdul","Peaches & Herb","Pearl Jam","Pee Wee Hunt","Pee Wee King","Pentatonix","Percy Faith","Percy Sledge","Peso Pluma","Peter Cetera","Peter Gabriel","Peter, Paul & Mary","Pharrell Williams","Pierce The Veil","Pineapple StormTv","Pink Floyd","Pink Sweat$","Piso 21","Pitbull","Plan B","Player","Polo G","Pop Smoke","Portugal. The Man","Pouya","Prince","Prince Royce","Pusha T","Quality Control","Queen","Quinn XCII","R. Kelly","RAF Camora","RAYE","REM","REO Speedwagon","Radiohead","Rag'n'Bone Man","Rage Against The Machine","Rahat Fateh Ali Khan","Rainbow Kitten Surprise","Rammstein","Rauw Alejandro","Ray Charles","Ray Parker Jr","Ray Stevens","Red Foley","Red Hot Chili Peppers","Red Velvet","Regard","Regina Belle","Reik","Rels B","Rema","Ricardo Arjona","Rich The Kid","Rick Astley","Rick Dees & his Cast of Idiots","Rick Ross","Rick Springfield","Ricky Martin","Ricky Nelson","Rihanna","Rita Ora","Ritchie Valens","Rizky Febian","Rob Thomas","Roberta Flack","Robin Schulz","Robin Thicke","Rod Stewart","Rod Wave","Roddy Ricch","Roger Miller","Romeo Santos","Rosemary Clooney","Roxette","Roy Acuff","Roy Orbison","Rudimental","Ruel","Ruth B.","Ryan Lewis","SCH","SEVENTEEN","SWV","Sabaton","Sabrina Carpenter","Sachet Tandon","Sachin-Jigar","Sade","Sam Cooke","Sam Feldt","Sam Hunt","Sam Smith","Sam The Sham & The Pharaohs","Sammy Davis Jr","Sammy Kaye","Santana","Sasha Alex Sloan","Savage Garden","Saweetie","Scorpions","Sean Kingston","Sean Paul","Sebastian Yatra","Sech","Seeb","Sezen Aksu","Sfera Ebbasta","Shaggy","Shania Twain","Shawn Mendes","Sheena Easton","Shinedown","Shubh","Sia","Sid Sriram","Sidhu Moose Wala","Silk","Silver Convention","Simon & Garfunkel","Sinead O'Connor","Sir Mix-a-Lot","Sister Sledge","Ski Mask The Slump God","Skillet","Skrillex","Sleeping At Last","Smokey Robinson","Snoop Dogg","Snow Patrol","Soda Stereo","Sonu Nigam","Sophie Ellis-Bextor","Spencer Davis Group","Spice Girls","Stan Getz","Starland Vocal Band","Stephen Sanchez","Steve Aoki","Steve Lacy","Steve Winwood","Stevie B","Sting","Stormzy","Strawberry Alarm Clock","Stray Kids","Stromae","Sublime","Sum 41","Summer Walker","Supertramp","Survivor","Swedish House Mafia","System Of A Down","T-Pain","T.I.","TAEYEON","TKKG","TLC","TOMORROW X TOGETHER","TOTO","TWICE","Tag Team","Tainy","Tammi Terrell","Tanishk Bagchi","Tate McRae","Taylor Swift","Tears For Fears","Tems","Tennessee Ernie Ford","Terence Trent D'Arby","Teresa Brewer","Terry Jacks","The Ames Brothers","The Animals","The B52s","The Bangles","The Beatles","The Black Eyed Peas","The Black Keys","The Box Tops","The Chainsmokers","The Chiffons","The Chordettes","The Clash","The Coasters","The Commodores","The Cowsills","The Cranberries","The Crew-Cuts","The Cure","The Detroit Spinners","The Diamonds","The Doobie Brothers","The Doors","The Drifters","The Emotions","The Eurythmics","The Fireballs","The Flamingos","The Foundations","The Four Seasons","The Fray","The Game","The Go Gos","The Goo Goo Dolls","The Head And The Heart","The Hollies","The Ink Spots","The Isley Brothers","The Jackson 5","The Kid LAROI","The Killers","The Kingston Trio","The Kooks","The Lemon Pipers","The Living Tombstone","The Lumineers","The Mamas & The Papas","The Marvelettes","The McCoys","The Mills Brothers","The Miracles","The Monkees","The Moody Blues","The National","The Neighbourhood","The Notorious B.I.G.","The O'Jays","The Offspring","The Osmonds","The Partridge Family","The Penguins","The Pet Shop Boys","The Platters","The Righteous Brothers","The Rolling Stones","The Ronettes","The Score","The Script","The Seekers","The Shangri-Las","The Smashing Pumpkins","The Staple Singers","The Strokes","The Supremes","The Temptations","The Turtles","The Vamps","The Verve","The Village People","The Weavers","The White Stripes","The Young Rascals","The Zombies","Thelma Houston","Thomas Rhett","Three Days Grace","Three Dog Night","Three Man Down","Timbaland","Timmy Trumpet","Toby Keith","Tom Jones","Tom Petty and the Heartbreakers","Tommy Dorsey","Tommy Edwards","Tommy James & the Shondells","Tone Loc","Toni Braxton","Topic","Tory Lanez","Tove Lo","Trevor Daniel","Trey Songz","Trippie Redd","Trueno","Tulsi Kumar","Tulus","Twenty One Pilots","Two Feet","Ty Dolla $ign","Tyga","Tyler Hubbard","U2","UB40","UZI","Ufo361","Upchurch","V","Vampire Weekend","Van McCoy","Van Morrison","Vance Joy","Vanessa Carlton","Vanessa Williams","Vera Lynn","Vernon Dalhart","Vicente Fernandez","Vishal-Shekhar","Volbeat","WILLOW","Wale","Wallows","Weezer","Wham!","Whitney Houston","Why Don't We","Wilbert Harrison","Wilson Phillips","Wiz Khalifa","Woody Guthrie","Wyclef Jean","XXXTENTACION","Xavi","YG","YNW Melly","YOASOBI","Yandel","Years & Years","Yeat","Yo Gotti","Young Dolph","Young Miko","Young Thug","YoungBoy Never Broke Again","Yung Gravy","Yuuri","Yuvan Shankar Raja","ZAYN","ZZ Top","Zac Brown Band","Zach Bryan","Zara Larsson","aespa","benny blanco","blink-182","d4vd","deadmau5","girl in red","gnash","iann dior","will.i.am"],GAe=["Acid House","Acid Jazz","Acid Rock","Acoustic","Acoustic Blues","Afro-Pop","Afrobeat","Alt-Rock","Alternative","Ambient","American Trad Rock","Americana","Anime","Arena Rock","Art-Rock","Avant-Garde","Avant-Punk","Baladas y Boleros","Barbershop","Baroque","Bebop","Big Band","Black Metal","Blue Note","Bluegrass","Blues","Boogaloo","Bop","Bossa Nova","Bounce","Brazilian Funk","Breakbeat","Britpop","CCM","Cajun","Cantopop","Celtic","Celtic Folk","Chamber Music","Chant","Chanukah","Chicago Blues","Chicago House","Chicano","Children’s Music","Chill","Choral","Christian","Christmas","Classical","Club","College Rock","Conjunto","Cool Jazz","Country","Crunk","Dance","Dancehall","Death Metal","Deep House","Delta Blues","Detroit Techno","Dirty South","Disco","Disney","Dixieland","Doo-wop","Downtempo","Dream Pop","Drill","Drinking Songs","Drone","Drum'n'bass","Dub","Dubstep","EDM","Early Music","East Coast Rap","Easter","Easy Listening","Eclectic","Electric Blues","Electro","Electronic","Electronica","Emo","Enka","Environmental","Ethio-jazz","Experimental","Experimental Rock","Flamenco","Folk","Folk-Rock","Forro","French Pop","Funk","Fusion","Gangsta Rap","Garage","German Folk","German Pop","Glam Rock","Gospel","Goth","Grime","Grindcore","Groove","Grunge","Hair Metal","Halloween","Happy","Hard Bop","Hard Dance","Hard Rock","Hardcore","Hardcore Punk","Hardcore Rap","Hardstyle","Healing","Heavy Metal","High Classical","Hip Hop","Holiday","Honky Tonk","House","IDM","Impressionist","Indie","Industrial","Instrumental","J-Dance","J-Idol","J-Pop","J-Punk","J-Rock","J-Ska","J-Synth","Jackin House","Jam Bands","Japanese Pop","Jazz","Jungle","K-Pop","Karaoke","Kayokyoku","Kids","Kitsch","Klezmer","Krautrock","Latin","Latin Jazz","Latin Rap","Local","Lounge","Lullabies","MPB","Mainstream Jazz","Malay","Mandopop","March","Mariachi","Mawwal","Medieval","Meditation","Metal","Metalcore","Minimal Techno","Minimalism","Modern","Motown","Mugham","Musicals","Musique Concrète","Nature","Neo-Soul","Nerdcore","New Acoustic","New Age","New Mex","New Wave","No Wave","Noise","Nordic","Novelty","OPM","Oi!","Old School Rap","Opera","Orchestral","Original Score","Outlaw Country","Pagode","Party","Piano","Polka","Pop","Pop Film","Pop Latino","Post Dubstep","Power Pop","Praise & Worship","Progressive House","Progressive Rock","Proto-punk","Psych Rock","Psychedelic","Punk","Punk Rock","Qawwali","Quiet Storm","R&B","Ragtime","Rainy Day","Rap","Reggae","Reggaeton","Regional Mexicano","Relaxation","Renaissance","Retro","Rock","Rockabilly","Rocksteady","Romance","Romantic","Roots Reggae","Roots Rock","SKA","Sad","Salsa","Samba","Second Line","Sertanejo","Shaabi","Shoegaze","Sleep","Smooth Jazz","Soft Rock","Soul","Soundtrack","Southern Gospel","Southern Rock","Space Rock","Stage And Screen","Steampunk","Summer","Surf","Swamp Pop","Swing","Synth Pop","Tango","Techno","Teen Pop","Tejano","Tex-Mex","Thanksgiving","Traditional","Trance","Trip Hop","Tropical","Underground Rap","Urban","Urban Cowboy","West Coast Rap","Western Swing","World","Worldbeat","Zydeco"],$Ae=["(Everything I Do) I Do it For You","(Ghost) Riders in the Sky","(I Can't Get No) Satisfaction","(I've Got a Gal In) Kalamazoo","(I've Had) the Time of My Life","(It's No) Sin","(Just Like) Starting Over","(Let Me Be Your) Teddy Bear","(Put Another Nickel In) Music! Music! Music!","(Sexual) Healing","(Sittin' On) the Dock of the Bay","(They Long to Be) Close to You","(You Keep Me) Hangin' On","(You're My) Soul & Inspiration","(Your Love Keeps Lifting Me) Higher & Higher","12th Street Rag","1999","19th Nervous Breakdown","50 Ways to Leave Your Lover","9 to 5","96 Tears","A Boy Named Sue","A Hard Day's Night","A String of Pearls","A Thousand Miles","A Tree in the Meadow","A Whiter Shade of Pale","A Whole New World (Aladdin's Theme)","A Woman in Love","A-Tisket A-Tasket","ABC","Abracadabra","Ac-cent-tchu-ate the Positive","Addicted to Love","After You've Gone","Afternoon Delight","Again","Against All Odds (Take a Look At Me Now)","Ain't Misbehavin'","Ain't No Mountain High Enough","Ain't No Sunshine","Ain't That a Shame","Airplanes","All Along the Watchtower","All I Have to Do is Dream","All I Wanna Do","All My Lovin' (You're Never Gonna Get It)","All Night Long (All Night)","All Out of Love","All Shook Up","All You Need is Love","Alone","Alone Again (Naturally)","Always On My Mind","American Pie","American Woman","Angie","Another Brick in the Wall (part 2)","Another Day in Paradise","Another Night","Another One Bites the Dust","Apologize","April Showers","Aquarius/Let The Sunshine In","Are You Lonesome Tonight?","Arthur's Theme (Best That You Can Do)","As Time Goes By","At Last","At the Hop","Auf Wiederseh'n Sweetheart","Baby Baby","Baby Come Back","Baby Got Back","Baby Love","Baby One More Time","Bad Day","Bad Girls","Bad Moon Rising","Bad Romance","Bad, Bad Leroy Brown","Baker Street","Ball of Confusion (That's What the World is Today)","Ballad of the Green Berets","Ballerina","Band On the Run","Band of Gold","Battle of New Orleans","Be Bop a Lula","Be My Baby","Be My Love","Beat It","Beautiful Day","Beauty & the Beast","Because I Love You (The Postman Song)","Because You Loved Me","Because of You","Before The Next Teardrop Falls","Begin the Beguine","Behind Closed Doors","Being With You","Believe","Ben","Bennie & the Jets","Besame Mucho","Best of My Love","Bette Davis Eyes","Big Bad John","Big Girls Don't Cry","Billie Jean","Bitter Sweet Symphony","Black Or White","Black Velvet","Blaze of Glory","Bleeding Love","Blue Suede Shoes","Blue Tango","Blueberry Hill","Blurred Lines","Body & Soul","Bohemian Rhapsody","Boogie Oogie Oogie","Boogie Woogie Bugle Boy","Boom Boom Pow","Born in the USA","Born to Be Wild","Born to Run","Boulevard of Broken Dreams","Brand New Key","Brandy (You're A Fine Girl)","Breaking Up is Hard to Do","Breathe","Bridge Over Troubled Water","Brother Louie","Brother, Can You Spare a Dime?","Brown Eyed Girl","Brown Sugar","Build Me Up Buttercup","Burn","Buttons & Bows","Bye Bye Love","Bye Bye, Blackbird","Bye, Bye, Bye","Caldonia Boogie (What Makes Your Big Head So Hard)","California Dreamin'","California Girls","Call Me","Call Me Maybe","Can You Feel the Love Tonight","Can't Buy Me Love","Can't Get Enough of Your Love, Babe","Can't Help Falling in Love","Candle in the Wind '97","Candy Man","Car Wash","Careless Whisper","Cars","Cat's in the Cradle","Cathy's Clown","Celebration","Centerfold","Chain of Fools","Chances Are","Change the World","Chapel of Love","Chattanooga Choo Choo","Chattanoogie Shoe-Shine Boy","Check On It","Cheek to Cheek","Cherish","Cherry Pink & Apple Blossom White","Cold, Cold Heart","Colors of the Wind","Come On Eileen","Come On-a My House","Come Together","Coming Up","Cracklin' Rosie","Crazy","Crazy For You","Crazy Little Thing Called Love","Crazy in Love","Creep","Crimson & Clover","Crocodile Rock","Cry","Cry Like a Baby","Crying","Da Doo Ron Ron (When He Walked Me Home)","Dance to the Music","Dancing Queen","Dancing in the Dark","Dancing in the Street","Dardanella","Daydream Believer","December 1963 (Oh What a Night)","Delicado","Dilemma","Disco Duck","Disco Lady","Disturbia","Dizzy","Do That to Me One More Time","Do Wah Diddy Diddy","Do Ya Think I'm Sexy?","Do You Love Me?","Don't Be Cruel","Don't Fence Me In","Don't Go Breaking My Heart","Don't Leave Me This Way","Don't Let the Stars Get in Your Eyes","Don't Let the Sun Go Down On Me","Don't Speak","Don't Stop 'Til You Get Enough","Don't Worry Be Happy","Don't You (Forget About Me)","Don't You Want Me","Doo Wop (That Thing)","Down","Down Hearted Blues","Down Under","Downtown","Dreamlover","Dreams","Drop it Like It's Hot","Drops of Jupiter (Tell Me)","Duke of Earl","E.T.","Earth Angel","Ebony & Ivory","Eight Days a Week","Empire State Of Mind","End of the Road","Endless Love","Escape (The Pina Colada Song)","Eve of Destruction","Every Breath You Take","Every Little Thing She Does is Magic","Everybody Loves Somebody","Everybody Wants to Rule the World","Everyday People","Eye of the Tiger","Faith","Fallin'","Fame","Family Affair","Fantasy","Fast Car","Feel Good Inc","Feel Like Making Love","Fire & Rain","Firework","Flashdance. What a Feeling","Fly Robin Fly","Foolish Games","Footloose","For What It's Worth (Stop, Hey What's That Sound)","Fortunate Son","Frankenstein","Freak Me","Freebird","Frenesi","Funkytown","Gangsta's Paradise","Georgia On My Mind","Georgy Girl","Get Back","Get Down Tonight","Get Off of My Cloud","Ghostbusters","Gimme Some Lovin'","Girls Just Wanna Have Fun","Give Me Everything","Gives You Hell","Glamorous","Glory of Love","Go Your Own Way","God Bless America","God Bless the Child","Gold Digger","Gonna Make You Sweat (Everybody Dance Now)","Good Lovin'","Good Times","Good Vibrations","Goodbye Yellow Brick Road","Goodnight, Irene","Got to Give it Up","Grease","Great Balls of Fire","Greatest Love of All","Green Onions","Green River","Green Tambourine","Grenade","Groove is in the Heart","Groovin'","Gypsies, Tramps & Thieves","Hair","Hang On Sloopy","Hanging by a Moment","Hanky Panky","Happy Days Are Here Again","Happy Together","Harbour Lights","Hard to Say I'm Sorry","Harper Valley PTA","Have You Ever Really Loved a Woman?","He'll Have to Go","He's So Fine","He's a Rebel","Heart of Glass","Heart of Gold","Heartbreak Hotel","Hello Dolly","Hello, I Love You, Won't You Tell Me Your Name?","Help Me, Rhonda","Help!","Here Without You","Here in My Heart","Hero","Hey Baby","Hey Jude","Hey Paula","Hey There","Hey There Delilah","Hey Ya!","Higher Love","Hips don't lie","Hit the Road, Jack","Hold On","Hollaback Girl","Honey","Honky Tonk","Honky Tonk Woman","Horse With No Name","Hot Child In The City","Hot Stuff","Hotel California","Hound Dog","House of the Rising Sun","How Deep is Your Love?","How Do I Live?","How Do You Mend a Broken Heart","How High the Moon","How Much is That Doggy in the Window?","How Will I Know","How You Remind Me","How to Save a Life","Hungry Heart","Hurt So Good","I Believe I Can Fly","I Can Dream, Can't I?","I Can Help","I Can See Clearly Now","I Can't Get Next to You","I Can't Get Started","I Can't Go For That (No Can Do)","I Can't Help Myself (Sugar Pie, Honey Bunch)","I Can't Stop Loving You","I Don't Want to Miss a Thing","I Fall to Pieces","I Feel Fine","I Feel For You","I Feel Love","I Get Around","I Got You (I Feel Good)","I Got You Babe","I Gotta Feeling","I Heard it Through the Grapevine","I Honestly Love You","I Just Called to Say I Love You","I Just Wanna Be Your Everything","I Kissed A Girl","I Love Rock 'n' Roll","I Need You Now","I Only Have Eyes For You","I Shot the Sheriff","I Still Haven't Found What I'm Looking For","I Swear","I Think I Love You","I Walk the Line","I Wanna Dance With Somebody (Who Loves Me)","I Wanna Love You","I Want You Back","I Want to Hold Your Hand","I Want to Know What Love Is","I Went to Your Wedding","I Will Always Love You","I Will Follow Him","I Will Survive","I Write the Songs","I'll Be Missing You","I'll Be There","I'll Make Love to You","I'll Never Smile Again","I'll Take You There","I'll Walk Alone","I'll be seeing you","I'm Looking Over a Four Leaf Clover","I'm So Lonesome I Could Cry","I'm Sorry","I'm Walking Behind You","I'm Your Boogie Man","I'm Yours","I'm a Believer","I've Heard That Song Before","If (They Made Me a King)","If I Didn't Care","If You Don't Know Me By Now","If You Leave Me Now","Imagine","In Da Club","In the End","In the Ghetto","In the Mood","In the Summertime","In the Year 2525 (Exordium & Terminus)","Incense & Peppermints","Indian Reservation (The Lament Of The Cherokee Reservation Indian)","Instant Karma","Iris","Ironic","Irreplaceable","It Had to Be You","It's All in the Game","It's My Party","It's Now Or Never","It's Still Rock 'n' Roll to Me","It's Too Late","Jack & Diane","Jailhouse Rock","Jessie's Girl","Jive Talkin'","Johnny B Goode","Joy to the World","Judy in Disguise (With Glasses)","Jump","Jumpin' Jack Flash","Just Dance","Just My Imagination (Running Away With Me)","Just the Way You Are","Kansas City","Karma Chameleon","Keep On Loving You","Killing Me Softly With His Song","King of the Road","Kiss","Kiss & Say Goodbye","Kiss From a Rose","Kiss Me","Kiss On My List","Kiss You All Over","Knock On Wood","Knock Three Times","Kokomo","Kryptonite","Kung Fu Fighting","La Bamba","Lady","Lady Marmalade (Voulez-Vous Coucher Aver Moi Ce Soir?)","Last Train to Clarksville","Layla","Le Freak","Leader of the Pack","Lean On Me","Leaving, on a Jet Plane","Let Me Call You Sweetheart","Let Me Love You","Let it Be","Let it Snow! Let it Snow! Let it Snow!","Let's Dance","Let's Get it On","Let's Groove","Let's Hear it For the Boy","Let's Stay Together","Light My Fire","Lights","Like a Prayer","Like a Rolling Stone","Like a Virgin","Little Darlin'","Little Things Mean a Lot","Live & Let Die","Livin' La Vida Loca","Livin' On a Prayer","Living For the City","Locked Out Of Heaven","Lola","Lonely Boy","Long Cool Woman in a Black Dress","Long Tall Sally","Look Away","Lookin' Out My Back Door","Lose Yourself","Losing My Religion","Louie Louie","Love Child","Love Hangover","Love In This Club","Love Is Blue (L'Amour Est Bleu)","Love Letters in the Sand","Love Me Do","Love Me Tender","Love Shack","Love Theme From 'A Star is Born' (Evergreen)","Love Train","Love Will Keep Us Together","Love is a Many Splendoured Thing","Love to Love You Baby","Love's Theme","Loving You","Low","Macarena","Mack the Knife","Maggie May","Magic","Magic Carpet Ride","Make Love to Me","Make it With You","Makin' Whoopee","Mama Told Me Not to Come","Man in the Mirror","Manana (Is Soon Enough For Me)","Maneater","Maniac","Maybellene","Me & Bobby McGee","Me & Mrs Jones","Memories Are Made of This","Mercy Mercy Me (The Ecology)","Mickey","Midnight Train to Georgia","Minnie the Moocher","Miss You","Miss You Much","Mister Sandman","Mmmbop","Mona Lisa","Monday Monday","Money For Nothing","Mony Mony","Mood Indigo","Moonlight Cocktail","Moonlight Serenade","More Than Words","More Than a Feeling","Morning Train (Nine to Five)","Mr Big Stuff","Mr Brightside","Mr Tambourine Man","Mrs Brown You've Got a Lovely Daughter","Mrs Robinson","Mule Train","Music","My Blue Heaven","My Boyfriend's Back","My Eyes Adored You","My Girl","My Guy","My Heart Will Go On","My Life","My Love","My Man","My Prayer","My Sharona","My Sweet Lord","Na Na Hey Hey (Kiss Him Goodbye)","Nature Boy","Near You","Need You Now","Need You Tonight","Never Gonna Give You Up","Night & Day","Night Fever","Nights in White Satin","No One","No Scrubs","Nobody Does it Better","Nothin' on You","Nothing Compares 2 U","Nothing's Gonna Stop Us Now","Ode To Billie Joe","Oh Happy Day","Oh My Papa (O Mein Papa)","Oh, Pretty Woman","Ol' Man River","Ole Buttermilk Sky","On Bended Knee","On My Own","On the Atchison, Topeka & the Santa Fe","One","One Bad Apple","One More Try","One O'Clock Jump","One Sweet Day","One of These Nights","One of Us","Only The Lonely (Know The Way I Feel)","Only You (And You Alone)","Open Arms","Over There","Over the Rainbow","Paint it Black","Papa Don't Preach","Papa Was a Rolling Stone","Papa's Got a Brand New Bag","Paper Doll","Paper Planes","Paperback Writer","Party Rock Anthem","Peg o' My Heart","Peggy Sue","Pennies From Heaven","Penny Lane","People","People Got to Be Free","Personality","Philadelphia Freedom","Physical","Piano Man","Pick Up the Pieces","Pistol Packin' Mama","Play That Funky Music","Please Mr Postman","Poker Face","Pon De Replay","Pony Time","Pop Muzik","Prisoner of Love","Private Eyes","Promiscuous","Proud Mary","Purple Haze","Purple Rain","Puttin' on the Ritz","Que sera sera (Whatever will be will be)","Queen of Hearts","Rag Doll","Rag Mop","Rags to Riches","Raindrops Keep Falling On My Head","Rapture","Ray of Light","Reach Out (I'll Be There)","Red Red Wine","Rehab","Respect","Return to Sender","Reunited","Revolution","Rhapsody in Blue","Rhinestone Cowboy","Rich Girl","Riders On the Storm","Right Back Where We Started From","Ring My Bell","Ring of Fire","Rock Around the Clock","Rock With You","Rock Your Baby","Rock the Boat","Rock the Casbah","Roll Over Beethoven","Roll With It","Rolling In The Deep","Rosanna","Roses Are Red","Royals","Ruby Tuesday","Rudolph, the Red-Nosed Reindeer","Rum & Coca-Cola","Runaround Sue","Runaway","Running Scared","Rush Rush","Sailing","Save the Best For Last","Save the Last Dance For Me","Say It Right","Say My Name","Say Say Say","Say You, Say Me","School's Out","Seasons in the Sun","Secret Love","Sentimental Journey","Sexyback","Sh-Boom (Life Could Be a Dream)","Shadow Dancing","Shake Down","Shake You Down","She Drives Me Crazy","She Loves You","She's a Lady","Shining Star","Shop Around","Shout","Silly Love Songs","Since U Been Gone","Sing, Sing, Sing (With A Swing)","Singing The Blues","Single Ladies (Put A Ring On It)","Sir Duke","Sixteen Tons","Sledgehammer","Sleep Walk","Sleepy Lagoon","Slow Poke","Smells Like Teen Spirit","Smoke Gets in Your Eyes","Smoke On the Water","Smoke! Smoke! Smoke! (That Cigarette)","Smooth","So Much in Love","Soldier Boy","Some Enchanted Evening","Some of These Days","Somebody That I Used to Know","Somebody to Love","Someday","Somethin' Stupid","Something","Soul Man","Spanish Harlem","Spill the Wine","Spinning Wheel","Spirit in the Sky","St George & the Dragonette","St Louis Blues","Stagger Lee","Stairway to Heaven","Stand By Me","Stardust","Stars & Stripes Forever","Stay (I Missed You)","Stayin' Alive","Stop! in the Name of Love","Stormy Weather (Keeps Rainin' All the Time)","Straight Up","Strange Fruit","Stranger On the Shore","Strangers in the Night","Strawberry Fields Forever","Streets of Philadelphia","Stronger","Stuck On You","Sugar Shack","Sugar Sugar","Summer in the City","Summertime Blues","Sunday, Monday or Always","Sunshine Superman","Sunshine of Your Love","Superstar","Superstition","Surfin' USA","Suspicious Minds","Swanee","Sweet Caroline (Good Times Never Seemed So Good)","Sweet Child O' Mine","Sweet Dreams (Are Made of This)","Sweet Georgia Brown","Sweet Home Alabama","Sweet Soul Music","Swinging On a Star","T For Texas (Blue Yodel No 1)","TSOP (The Sound of Philadelphia)","Take Me Home, Country Roads","Take My Breath Away","Take On Me","Take The 'A' Train","Take a Bow","Tammy","Tangerine","Tears in Heaven","Tears of a Clown","Temperature","Tennessee Waltz","Tequila","Tha Crossroads","Thank You (Falettinme be Mice Elf Again)","That Lucky Old Sun (Just Rolls Around Heaven All Day)","That Old Black Magic","That'll Be the Day","That's Amore","That's What Friends Are For","That's the Way (I Like It)","That's the Way Love Goes","The Boy is Mine","The Boys of Summer","The Christmas Song (Chestnuts Roasting On An Open Fire)","The End of the World","The First Time Ever I Saw Your Face","The Girl From Ipanema","The Glow-Worm","The Great Pretender","The Gypsy","The Hustle","The Joker","The Last Dance","The Letter","The Loco-Motion","The Long & Winding Road","The Love You Save","The Morning After","The Power of Love","The Prisoner's Song","The Reason","The Rose","The Sign","The Song From Moulin Rouge (Where Is Your Heart)","The Sounds of Silence","The Streak","The Sweet Escape","The Thing","The Tide is High","The Tracks of My Tears","The Twist","The Wanderer","The Way We Were","The Way You Look Tonight","The Way You Move","Theme From 'A Summer Place'","Theme From 'Greatest American Hero' (Believe It Or Not)","Theme From 'Shaft'","There goes my baby","These Boots Are Made For Walking","Third Man Theme","This Diamond Ring","This Guy's in Love With You","This Land is Your Land","This Love","This Ole House","This Used to Be My Playground","Three Coins in the Fountain","Three Times a Lady","Thrift Shop","Thriller","Ticket to Ride","Tie a Yellow Ribbon 'round the Old Oak Tree","Tiger Rag","Tighten Up","Tik-Toc","Till I Waltz Again With You","Till The End of Time","Time After Time","Time of the Season","To Sir, with Love","Tom Dooley","Tonight's the Night (Gonna Be Alright)","Too Close","Too Young","Tossing & Turning","Total Eclipse of the Heart","Touch Me","Toxic","Travellin' Band","Travellin' Man","Truly Madly Deeply","Turn! Turn! Turn! (To Everything There is a Season)","Tutti Frutti","Twist & Shout","Two Hearts","U Can't Touch This","U Got it Bad","Umbrella","Un-Break My Heart","Unbelievable","Unchained Melody","Uncle Albert (Admiral Halsey)","Under the Boardwalk","Under the Bridge","Unforgettable","Up Around the Bend","Up Up & Away","Up Where We Belong","Upside Down","Use Somebody","Vaya Con Dios (may God Be With You)","Venus","Vision of Love","Viva La Vida","Vogue","Volare","Wabash Cannonball","Waiting For a Girl Like You","Wake Me Up Before You Go Go","Wake Up Little Susie","Walk Don't Run","Walk Like a Man","Walk Like an Egyptian","Walk On By","Walk On the Wild Side","Walk This Way","Wannabe","Want Ads","Wanted","War","Waterfalls","Wayward Wind","We Are Family","We Are Young","We Are the Champions","We Are the World","We Belong Together","We Built This City","We Can Work it Out","We Didn't Start the Fire","We Found Love","We Got The Beat","We Will Rock You","We've Only Just Begun","Weak","Wedding Bell Blues","West End Blues","West End Girls","What Goes Around Comes Around","What a Fool Believes","What'd I Say","What's Going On?","What's Love Got to Do With It?","Whatcha Say","Wheel of Fortune","When Doves Cry","When You Wish Upon a Star","When a Man Loves a Woman","Where Did Our Love Go","Where is the Love?","Whip It","Whispering","White Christmas","White Rabbit","Whole Lotta Love","Whole Lotta Shakin' Goin' On","Whoomp! (There it Is)","Why Do Fools Fall in Love?","Why Don't You Believe Me?","Wichita Lineman","Wicked Game","Wild Thing","Wild Wild West","Will It Go Round In Circles","Will You Love Me Tomorrow","Winchester Cathedral","Wind Beneath My Wings","Wipe Out","Wishing Well","With Or Without You","Without Me","Without You","Woman","Won't Get Fooled Again","Wooly Bully","Working My Way Back to You","YMCA","Yakety Yak","Yeah!","Yellow Rose of Texas","Yesterday","You Ain't Seen Nothin' Yet","You Always Hurt the One You Love","You Are the Sunshine of My Life","You Belong With Me","You Belong to Me","You Can't Hurry Love","You Don't Bring Me Flowers","You Don't Have to Be a Star (To Be in My Show)","You Light Up My Life","You Make Me Feel Brand New","You Make Me Feel Like Dancing","You Really Got Me","You Send Me","You Sexy Thing","You Were Meant for Me","You make Me Wanna","You'll Never Know","You're Beautiful","You're So Vain","You're Still the One","You're the One That I Want","You've Got a Friend","You've Lost That Lovin' Feelin'","Your Cheatin' Heart","Your Song"],jAe={album:HAe,artist:UAe,genre:GAe,song_name:$Ae},qAe=jAe,WAe=["activist","artist","author","blogger","business owner","coach","creator","designer","developer","dreamer","educator","engineer","entrepreneur","environmentalist","film lover","filmmaker","foodie","founder","friend","gamer","geek","grad","inventor","leader","model","musician","nerd","parent","patriot","person","philosopher","photographer","public speaker","scientist","singer","streamer","student","teacher","traveler","veteran","writer"],VAe=["{{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}","{{word.noun}} {{person.bio_supporter}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}} {{internet.emoji}}"],KAe=["advocate","devotee","enthusiast","fan","junkie","lover","supporter"],YAe={generic:["Aaliyah","Aaron","Abagail","Abbey","Abbie","Abbigail","Abby","Abdiel","Abdul","Abdullah","Abe","Abel","Abelardo","Abigail","Abigale","Abigayle","Abner","Abraham","Ada","Adah","Adalberto","Adaline","Adam","Adan","Addie","Addison","Adela","Adelbert","Adele","Adelia","Adeline","Adell","Adella","Adelle","Aditya","Adolf","Adolfo","Adolph","Adolphus","Adonis","Adrain","Adrian","Adriana","Adrianna","Adriel","Adrien","Adrienne","Afton","Aglae","Agnes","Agustin","Agustina","Ahmad","Ahmed","Aida","Aidan","Aiden","Aileen","Aimee","Aisha","Aiyana","Akeem","Al","Alaina","Alan","Alana","Alanis","Alanna","Alayna","Alba","Albert","Alberta","Albertha","Alberto","Albin","Albina","Alda","Alden","Alec","Aleen","Alejandra","Alejandrin","Alek","Alena","Alene","Alessandra","Alessandro","Alessia","Aletha","Alex","Alexa","Alexander","Alexandra","Alexandre","Alexandrea","Alexandria","Alexandrine","Alexandro","Alexane","Alexanne","Alexie","Alexis","Alexys","Alexzander","Alf","Alfonso","Alfonzo","Alford","Alfred","Alfreda","Alfredo","Ali","Alia","Alice","Alicia","Alisa","Alisha","Alison","Alivia","Aliya","Aliyah","Aliza","Alize","Allan","Allen","Allene","Allie","Allison","Ally","Alphonso","Alta","Althea","Alva","Alvah","Alvena","Alvera","Alverta","Alvina","Alvis","Alyce","Alycia","Alysa","Alysha","Alyson","Alysson","Amalia","Amanda","Amani","Amara","Amari","Amaya","Amber","Ambrose","Amelia","Amelie","Amely","America","Americo","Amie","Amina","Amir","Amira","Amiya","Amos","Amparo","Amy","Amya","Ana","Anabel","Anabelle","Anahi","Anais","Anastacio","Anastasia","Anderson","Andre","Andreane","Andreanne","Andres","Andrew","Andy","Angel","Angela","Angelica","Angelina","Angeline","Angelita","Angelo","Angie","Angus","Anibal","Anika","Anissa","Anita","Aniya","Aniyah","Anjali","Anna","Annabel","Annabell","Annabelle","Annalise","Annamae","Annamarie","Anne","Annetta","Annette","Annie","Ansel","Ansley","Anthony","Antoinette","Antone","Antonetta","Antonette","Antonia","Antonietta","Antonina","Antonio","Antwan","Antwon","Anya","April","Ara","Araceli","Aracely","Arch","Archibald","Ardella","Arden","Ardith","Arely","Ari","Ariane","Arianna","Aric","Ariel","Arielle","Arjun","Arlene","Arlie","Arlo","Armand","Armando","Armani","Arnaldo","Arne","Arno","Arnold","Arnoldo","Arnulfo","Aron","Art","Arthur","Arturo","Arvel","Arvid","Arvilla","Aryanna","Asa","Asha","Ashlee","Ashleigh","Ashley","Ashly","Ashlynn","Ashton","Ashtyn","Asia","Assunta","Astrid","Athena","Aubree","Aubrey","Audie","Audra","Audreanne","Audrey","August","Augusta","Augustine","Augustus","Aurelia","Aurelie","Aurelio","Aurore","Austen","Austin","Austyn","Autumn","Ava","Avery","Avis","Axel","Ayana","Ayden","Ayla","Aylin","Baby","Bailee","Bailey","Barbara","Barney","Baron","Barrett","Barry","Bart","Bartholome","Barton","Baylee","Beatrice","Beau","Beaulah","Bell","Bella","Belle","Ben","Benedict","Benjamin","Bennett","Bennie","Benny","Benton","Berenice","Bernadette","Bernadine","Bernard","Bernardo","Berneice","Bernhard","Bernice","Bernie","Berniece","Bernita","Berry","Bert","Berta","Bertha","Bertram","Bertrand","Beryl","Bessie","Beth","Bethany","Bethel","Betsy","Bette","Bettie","Betty","Bettye","Beulah","Beverly","Bianka","Bill","Billie","Billy","Birdie","Blair","Blaise","Blake","Blanca","Blanche","Blaze","Bo","Bobbie","Bobby","Bonita","Bonnie","Boris","Boyd","Brad","Braden","Bradford","Bradley","Bradly","Brady","Braeden","Brain","Brandi","Brando","Brandon","Brandt","Brandy","Brandyn","Brannon","Branson","Brant","Braulio","Braxton","Brayan","Breana","Breanna","Breanne","Brenda","Brendan","Brenden","Brendon","Brenna","Brennan","Brennon","Brent","Bret","Brett","Bria","Brian","Briana","Brianne","Brice","Bridget","Bridgette","Bridie","Brielle","Brigitte","Brionna","Brisa","Britney","Brittany","Brock","Broderick","Brody","Brook","Brooke","Brooklyn","Brooks","Brown","Bruce","Bryana","Bryce","Brycen","Bryon","Buck","Bud","Buddy","Buford","Bulah","Burdette","Burley","Burnice","Buster","Cade","Caden","Caesar","Caitlyn","Cale","Caleb","Caleigh","Cali","Calista","Callie","Camden","Cameron","Camila","Camilla","Camille","Camren","Camron","Camryn","Camylle","Candace","Candelario","Candice","Candida","Candido","Cara","Carey","Carissa","Carlee","Carleton","Carley","Carli","Carlie","Carlo","Carlos","Carlotta","Carmel","Carmela","Carmella","Carmelo","Carmen","Carmine","Carol","Carolanne","Carole","Carolina","Caroline","Carolyn","Carolyne","Carrie","Carroll","Carson","Carter","Cary","Casandra","Casey","Casimer","Casimir","Casper","Cassandra","Cassandre","Cassidy","Cassie","Catalina","Caterina","Catharine","Catherine","Cathrine","Cathryn","Cathy","Cayla","Ceasar","Cecelia","Cecil","Cecile","Cecilia","Cedrick","Celestine","Celestino","Celia","Celine","Cesar","Chad","Chadd","Chadrick","Chaim","Chance","Chandler","Chanel","Chanelle","Charity","Charlene","Charles","Charley","Charlie","Charlotte","Chase","Chasity","Chauncey","Chaya","Chaz","Chelsea","Chelsey","Chelsie","Chesley","Chester","Chet","Cheyanne","Cheyenne","Chloe","Chris","Christ","Christa","Christelle","Christian","Christiana","Christina","Christine","Christop","Christophe","Christopher","Christy","Chyna","Ciara","Cicero","Cielo","Cierra","Cindy","Citlalli","Clair","Claire","Clara","Clarabelle","Clare","Clarissa","Clark","Claud","Claude","Claudia","Claudie","Claudine","Clay","Clemens","Clement","Clementina","Clementine","Clemmie","Cleo","Cleora","Cleta","Cletus","Cleve","Cleveland","Clifford","Clifton","Clint","Clinton","Clotilde","Clovis","Cloyd","Clyde","Coby","Cody","Colby","Cole","Coleman","Colin","Colleen","Collin","Colt","Colten","Colton","Columbus","Concepcion","Conner","Connie","Connor","Conor","Conrad","Constance","Constantin","Consuelo","Cooper","Cora","Coralie","Corbin","Cordelia","Cordell","Cordia","Cordie","Corene","Corine","Cornelius","Cornell","Corrine","Cortez","Cortney","Cory","Coty","Courtney","Coy","Craig","Crawford","Creola","Cristal","Cristian","Cristina","Cristobal","Cristopher","Cruz","Crystal","Crystel","Cullen","Curt","Curtis","Cydney","Cynthia","Cyril","Cyrus","D'angelo","Dagmar","Dahlia","Daija","Daisha","Daisy","Dakota","Dale","Dallas","Dallin","Dalton","Damaris","Dameon","Damian","Damien","Damion","Damon","Dan","Dana","Dandre","Dane","Dangelo","Danial","Daniela","Daniella","Danielle","Danika","Dannie","Danny","Dante","Danyka","Daphne","Daphnee","Daphney","Darby","Daren","Darian","Dariana","Darien","Dario","Darion","Darius","Darlene","Daron","Darrel","Darrell","Darren","Darrick","Darrin","Darrion","Darron","Darryl","Darwin","Daryl","Dashawn","Dasia","Dave","David","Davin","Davion","Davon","Davonte","Dawn","Dawson","Dax","Dayana","Dayna","Dayne","Dayton","Dean","Deangelo","Deanna","Deborah","Declan","Dedric","Dedrick","Dee","Deion","Deja","Dejah","Dejon","Dejuan","Delaney","Delbert","Delfina","Delia","Delilah","Dell","Della","Delmer","Delores","Delpha","Delphia","Delphine","Delta","Demarco","Demarcus","Demario","Demetris","Demetrius","Demond","Dena","Denis","Dennis","Deon","Deondre","Deontae","Deonte","Dereck","Derek","Derick","Deron","Derrick","Deshaun","Deshawn","Desiree","Desmond","Dessie","Destany","Destin","Destinee","Destiney","Destini","Destiny","Devan","Devante","Deven","Devin","Devon","Devonte","Devyn","Dewayne","Dewitt","Dexter","Diamond","Diana","Dianna","Diego","Dillan","Dillon","Dimitri","Dina","Dino","Dion","Dixie","Dock","Dolly","Dolores","Domenic","Domenica","Domenick","Domenico","Domingo","Dominic","Dominique","Don","Donald","Donato","Donavon","Donna","Donnell","Donnie","Donny","Dora","Dorcas","Dorian","Doris","Dorothea","Dorothy","Dorris","Dortha","Dorthy","Doug","Douglas","Dovie","Doyle","Drake","Drew","Duane","Dudley","Dulce","Duncan","Durward","Dustin","Dusty","Dwight","Dylan","Earl","Earlene","Earline","Earnest","Earnestine","Easter","Easton","Ebba","Ebony","Ed","Eda","Edd","Eddie","Eden","Edgar","Edgardo","Edison","Edmond","Edmund","Edna","Eduardo","Edward","Edwardo","Edwin","Edwina","Edyth","Edythe","Effie","Efrain","Efren","Eileen","Einar","Eino","Eladio","Elaina","Elbert","Elda","Eldon","Eldora","Eldred","Eldridge","Eleanora","Eleanore","Eleazar","Electa","Elena","Elenor","Elenora","Eleonore","Elfrieda","Eli","Elian","Eliane","Elias","Eliezer","Elijah","Elinor","Elinore","Elisa","Elisabeth","Elise","Eliseo","Elisha","Elissa","Eliza","Elizabeth","Ella","Ellen","Ellie","Elliot","Elliott","Ellis","Ellsworth","Elmer","Elmira","Elmo","Elmore","Elna","Elnora","Elody","Eloisa","Eloise","Elouise","Eloy","Elroy","Elsa","Else","Elsie","Elta","Elton","Elva","Elvera","Elvie","Elvis","Elwin","Elwyn","Elyse","Elyssa","Elza","Emanuel","Emelia","Emelie","Emely","Emerald","Emerson","Emery","Emie","Emil","Emile","Emilia","Emiliano","Emilie","Emilio","Emily","Emma","Emmalee","Emmanuel","Emmanuelle","Emmet","Emmett","Emmie","Emmitt","Emmy","Emory","Ena","Enid","Enoch","Enola","Enos","Enrico","Enrique","Ephraim","Era","Eriberto","Eric","Erica","Erich","Erick","Ericka","Erik","Erika","Erin","Erling","Erna","Ernest","Ernestina","Ernestine","Ernesto","Ernie","Ervin","Erwin","Eryn","Esmeralda","Esperanza","Esta","Esteban","Estefania","Estel","Estell","Estella","Estelle","Estevan","Esther","Estrella","Etha","Ethan","Ethel","Ethelyn","Ethyl","Ettie","Eudora","Eugene","Eugenia","Eula","Eulah","Eulalia","Euna","Eunice","Eusebio","Eva","Evalyn","Evan","Evangeline","Evans","Eve","Eveline","Evelyn","Everardo","Everett","Everette","Evert","Evie","Ewald","Ewell","Ezekiel","Ezequiel","Ezra","Fabian","Fabiola","Fae","Fannie","Fanny","Fatima","Faustino","Fausto","Favian","Fay","Faye","Federico","Felicia","Felicita","Felicity","Felipa","Felipe","Felix","Felton","Fermin","Fern","Fernando","Ferne","Fidel","Filiberto","Filomena","Finn","Fiona","Flavie","Flavio","Fleta","Fletcher","Flo","Florence","Florencio","Florian","Florida","Florine","Flossie","Floy","Floyd","Ford","Forest","Forrest","Foster","Frances","Francesca","Francesco","Francis","Francisca","Francisco","Franco","Frank","Frankie","Franz","Fred","Freda","Freddie","Freddy","Frederic","Frederick","Frederik","Frederique","Fredrick","Fredy","Freeda","Freeman","Freida","Frida","Frieda","Friedrich","Fritz","Furman","Gabe","Gabriel","Gabriella","Gabrielle","Gaetano","Gage","Gail","Gardner","Garett","Garfield","Garland","Garnet","Garnett","Garret","Garrett","Garrick","Garrison","Garry","Garth","Gaston","Gavin","Gayle","Gene","General","Genesis","Genevieve","Gennaro","Genoveva","Geo","Geoffrey","George","Georgette","Georgiana","Georgianna","Geovanni","Geovanny","Geovany","Gerald","Geraldine","Gerard","Gerardo","Gerda","Gerhard","Germaine","German","Gerry","Gerson","Gertrude","Gia","Gianni","Gideon","Gilbert","Gilberto","Gilda","Giles","Gillian","Gina","Gino","Giovani","Giovanna","Giovanni","Giovanny","Gisselle","Giuseppe","Gladyce","Gladys","Glen","Glenda","Glenna","Glennie","Gloria","Godfrey","Golda","Golden","Gonzalo","Gordon","Grace","Gracie","Graciela","Grady","Graham","Grant","Granville","Grayce","Grayson","Green","Greg","Gregg","Gregoria","Gregorio","Gregory","Greta","Gretchen","Greyson","Griffin","Grover","Guadalupe","Gudrun","Guido","Guillermo","Guiseppe","Gunnar","Gunner","Gus","Gussie","Gust","Gustave","Guy","Gwen","Gwendolyn","Hadley","Hailee","Hailey","Hailie","Hal","Haleigh","Haley","Halie","Halle","Hallie","Hank","Hanna","Hannah","Hans","Hardy","Harley","Harmon","Harmony","Harold","Harrison","Harry","Harvey","Haskell","Hassan","Hassie","Hattie","Haven","Hayden","Haylee","Hayley","Haylie","Hazel","Hazle","Heath","Heather","Heaven","Heber","Hector","Heidi","Helen","Helena","Helene","Helga","Hellen","Helmer","Heloise","Henderson","Henri","Henriette","Henry","Herbert","Herman","Hermann","Hermina","Herminia","Herminio","Hershel","Herta","Hertha","Hester","Hettie","Hilario","Hilbert","Hilda","Hildegard","Hillard","Hillary","Hilma","Hilton","Hipolito","Hiram","Hobart","Holden","Hollie","Hollis","Holly","Hope","Horace","Horacio","Hortense","Hosea","Houston","Howard","Howell","Hoyt","Hubert","Hudson","Hugh","Hulda","Humberto","Hunter","Hyman","Ian","Ibrahim","Icie","Ida","Idell","Idella","Ignacio","Ignatius","Ike","Ila","Ilene","Iliana","Ima","Imani","Imelda","Immanuel","Imogene","Ines","Irma","Irving","Irwin","Isaac","Isabel","Isabell","Isabella","Isabelle","Isac","Isadore","Isai","Isaiah","Isaias","Isidro","Ismael","Isobel","Isom","Israel","Issac","Itzel","Iva","Ivah","Ivory","Ivy","Izabella","Izaiah","Jabari","Jace","Jacey","Jacinthe","Jacinto","Jack","Jackeline","Jackie","Jacklyn","Jackson","Jacky","Jaclyn","Jacquelyn","Jacques","Jacynthe","Jada","Jade","Jaden","Jadon","Jadyn","Jaeden","Jaida","Jaiden","Jailyn","Jaime","Jairo","Jakayla","Jake","Jakob","Jaleel","Jalen","Jalon","Jalyn","Jamaal","Jamal","Jamar","Jamarcus","Jamel","Jameson","Jamey","Jamie","Jamil","Jamir","Jamison","Jammie","Jan","Jana","Janae","Jane","Janelle","Janessa","Janet","Janice","Janick","Janie","Janis","Janiya","Jannie","Jany","Jaquan","Jaquelin","Jaqueline","Jared","Jaren","Jarod","Jaron","Jarred","Jarrell","Jarret","Jarrett","Jarrod","Jarvis","Jasen","Jasmin","Jason","Jasper","Jaunita","Javier","Javon","Javonte","Jay","Jayce","Jaycee","Jayda","Jayde","Jayden","Jaydon","Jaylan","Jaylen","Jaylin","Jaylon","Jayme","Jayne","Jayson","Jazlyn","Jazmin","Jazmyn","Jazmyne","Jean","Jeanette","Jeanie","Jeanne","Jed","Jedediah","Jedidiah","Jeff","Jefferey","Jeffery","Jeffrey","Jeffry","Jena","Jenifer","Jennie","Jennifer","Jennings","Jennyfer","Jensen","Jerad","Jerald","Jeramie","Jeramy","Jerel","Jeremie","Jeremy","Jermain","Jermaine","Jermey","Jerod","Jerome","Jeromy","Jerrell","Jerrod","Jerrold","Jerry","Jess","Jesse","Jessica","Jessie","Jessika","Jessy","Jessyca","Jesus","Jett","Jettie","Jevon","Jewel","Jewell","Jillian","Jimmie","Jimmy","Jo","Joan","Joana","Joanie","Joanne","Joannie","Joanny","Joany","Joaquin","Jocelyn","Jodie","Jody","Joe","Joel","Joelle","Joesph","Joey","Johan","Johann","Johanna","Johathan","John","Johnathan","Johnathon","Johnnie","Johnny","Johnpaul","Johnson","Jolie","Jon","Jonas","Jonatan","Jonathan","Jonathon","Jordan","Jordane","Jordi","Jordon","Jordy","Jordyn","Jorge","Jose","Josefa","Josefina","Joseph","Josephine","Josh","Joshua","Joshuah","Josiah","Josiane","Josianne","Josie","Josue","Jovan","Jovani","Jovanny","Jovany","Joy","Joyce","Juana","Juanita","Judah","Judd","Jude","Judge","Judson","Judy","Jules","Julia","Julian","Juliana","Julianne","Julie","Julien","Juliet","Julio","Julius","June","Junior","Junius","Justen","Justice","Justina","Justine","Juston","Justus","Justyn","Juvenal","Juwan","Kacey","Kaci","Kacie","Kade","Kaden","Kadin","Kaela","Kaelyn","Kaia","Kailee","Kailey","Kailyn","Kaitlin","Kaitlyn","Kale","Kaleb","Kaleigh","Kaley","Kali","Kallie","Kameron","Kamille","Kamren","Kamron","Kamryn","Kane","Kara","Kareem","Karelle","Karen","Kari","Kariane","Karianne","Karina","Karine","Karl","Karlee","Karley","Karli","Karlie","Karolann","Karson","Kasandra","Kasey","Kassandra","Katarina","Katelin","Katelyn","Katelynn","Katharina","Katherine","Katheryn","Kathleen","Kathlyn","Kathryn","Kathryne","Katlyn","Katlynn","Katrina","Katrine","Kattie","Kavon","Kay","Kaya","Kaycee","Kayden","Kayla","Kaylah","Kaylee","Kayleigh","Kayley","Kayli","Kaylie","Kaylin","Keagan","Keanu","Keara","Keaton","Keegan","Keeley","Keely","Keenan","Keira","Keith","Kellen","Kelley","Kelli","Kellie","Kelly","Kelsi","Kelsie","Kelton","Kelvin","Ken","Kendall","Kendra","Kendrick","Kenna","Kennedi","Kennedy","Kenneth","Kennith","Kenny","Kenton","Kenya","Kenyatta","Kenyon","Keon","Keshaun","Keshawn","Keven","Kevin","Kevon","Keyon","Keyshawn","Khalid","Khalil","Kian","Kiana","Kianna","Kiara","Kiarra","Kiel","Kiera","Kieran","Kiley","Kim","Kimberly","King","Kip","Kira","Kirk","Kirsten","Kirstin","Kitty","Kobe","Koby","Kody","Kolby","Kole","Korbin","Korey","Kory","Kraig","Kris","Krista","Kristian","Kristin","Kristina","Kristofer","Kristoffer","Kristopher","Kristy","Krystal","Krystel","Krystina","Kurt","Kurtis","Kyla","Kyle","Kylee","Kyleigh","Kyler","Kylie","Kyra","Lacey","Lacy","Ladarius","Lafayette","Laila","Laisha","Lamar","Lambert","Lamont","Lance","Landen","Lane","Laney","Larissa","Laron","Larry","Larue","Laura","Laurel","Lauren","Laurence","Lauretta","Lauriane","Laurianne","Laurie","Laurine","Laury","Lauryn","Lavada","Lavern","Laverna","Laverne","Lavina","Lavinia","Lavon","Lavonne","Lawrence","Lawson","Layla","Layne","Lazaro","Lea","Leann","Leanna","Leanne","Leatha","Leda","Lee","Leif","Leila","Leilani","Lela","Lelah","Leland","Lelia","Lempi","Lemuel","Lenna","Lennie","Lenny","Lenora","Lenore","Leo","Leola","Leon","Leonard","Leonardo","Leone","Leonel","Leonie","Leonor","Leonora","Leopold","Leopoldo","Leora","Lera","Lesley","Leslie","Lesly","Lessie","Lester","Leta","Letha","Letitia","Levi","Lew","Lewis","Lexi","Lexie","Lexus","Lia","Liam","Liana","Libbie","Libby","Lila","Lilian","Liliana","Liliane","Lilla","Lillian","Lilliana","Lillie","Lilly","Lily","Lilyan","Lina","Lincoln","Linda","Lindsay","Lindsey","Linnea","Linnie","Linwood","Lionel","Lisa","Lisandro","Lisette","Litzy","Liza","Lizeth","Lizzie","Llewellyn","Lloyd","Logan","Lois","Lola","Lolita","Loma","Lon","London","Lonie","Lonnie","Lonny","Lonzo","Lora","Loraine","Loren","Lorena","Lorenz","Lorenza","Lorenzo","Lori","Lorine","Lorna","Lottie","Lou","Louie","Louisa","Lourdes","Louvenia","Lowell","Loy","Loyal","Loyce","Lucas","Luciano","Lucie","Lucienne","Lucile","Lucinda","Lucio","Lucious","Lucius","Lucy","Ludie","Ludwig","Lue","Luella","Luigi","Luis","Luisa","Lukas","Lula","Lulu","Luna","Lupe","Lura","Lurline","Luther","Luz","Lyda","Lydia","Lyla","Lynn","Lyric","Lysanne","Mabel","Mabelle","Mable","Mac","Macey","Maci","Macie","Mack","Mackenzie","Macy","Madaline","Madalyn","Maddison","Madeline","Madelyn","Madelynn","Madge","Madie","Madilyn","Madisen","Madison","Madisyn","Madonna","Madyson","Mae","Maegan","Maeve","Mafalda","Magali","Magdalen","Magdalena","Maggie","Magnolia","Magnus","Maia","Maida","Maiya","Major","Makayla","Makenna","Makenzie","Malachi","Malcolm","Malika","Malinda","Mallie","Mallory","Malvina","Mandy","Manley","Manuel","Manuela","Mara","Marc","Marcel","Marcelina","Marcelino","Marcella","Marcelle","Marcellus","Marcelo","Marcia","Marco","Marcos","Marcus","Margaret","Margarete","Margarett","Margaretta","Margarette","Margarita","Marge","Margie","Margot","Margret","Marguerite","Maria","Mariah","Mariam","Marian","Mariana","Mariane","Marianna","Marianne","Mariano","Maribel","Marie","Mariela","Marielle","Marietta","Marilie","Marilou","Marilyne","Marina","Mario","Marion","Marisa","Marisol","Maritza","Marjolaine","Marjorie","Marjory","Mark","Markus","Marlee","Marlen","Marlene","Marley","Marlin","Marlon","Marques","Marquis","Marquise","Marshall","Marta","Martin","Martina","Martine","Marty","Marvin","Mary","Maryam","Maryjane","Maryse","Mason","Mateo","Mathew","Mathias","Mathilde","Matilda","Matilde","Matt","Matteo","Mattie","Maud","Maude","Maudie","Maureen","Maurice","Mauricio","Maurine","Maverick","Mavis","Max","Maxie","Maxime","Maximilian","Maximillia","Maximillian","Maximo","Maximus","Maxine","Maxwell","May","Maya","Maybell","Maybelle","Maye","Maymie","Maynard","Mayra","Mazie","Mckayla","Mckenna","Mckenzie","Meagan","Meaghan","Meda","Megane","Meggie","Meghan","Mekhi","Melany","Melba","Melisa","Melissa","Mellie","Melody","Melvin","Melvina","Melyna","Melyssa","Mercedes","Meredith","Merl","Merle","Merlin","Merritt","Mertie","Mervin","Meta","Mia","Micaela","Micah","Michael","Michaela","Michale","Micheal","Michel","Michele","Michelle","Miguel","Mikayla","Mike","Mikel","Milan","Miles","Milford","Miller","Millie","Milo","Milton","Mina","Minerva","Minnie","Miracle","Mireille","Mireya","Misael","Missouri","Misty","Mitchel","Mitchell","Mittie","Modesta","Modesto","Mohamed","Mohammad","Mohammed","Moises","Mollie","Molly","Mona","Monica","Monique","Monroe","Monserrat","Monserrate","Montana","Monte","Monty","Morgan","Moriah","Morris","Mortimer","Morton","Mose","Moses","Moshe","Mossie","Mozell","Mozelle","Muhammad","Muriel","Murl","Murphy","Murray","Mustafa","Mya","Myah","Mylene","Myles","Myra","Myriam","Myrl","Myrna","Myron","Myrtice","Myrtie","Myrtis","Myrtle","Nadia","Nakia","Name","Nannie","Naomi","Naomie","Napoleon","Narciso","Nash","Nasir","Nat","Natalia","Natalie","Natasha","Nathan","Nathanael","Nathanial","Nathaniel","Nathen","Nayeli","Neal","Ned","Nedra","Neha","Neil","Nelda","Nella","Nelle","Nellie","Nels","Nelson","Neoma","Nestor","Nettie","Neva","Newell","Newton","Nia","Nicholas","Nicholaus","Nichole","Nick","Nicklaus","Nickolas","Nico","Nicola","Nicolas","Nicole","Nicolette","Nigel","Nikita","Nikki","Nikko","Niko","Nikolas","Nils","Nina","Noah","Noble","Noe","Noel","Noelia","Noemi","Noemie","Noemy","Nola","Nolan","Nona","Nora","Norbert","Norberto","Norene","Norma","Norris","Norval","Norwood","Nova","Novella","Nya","Nyah","Nyasia","Obie","Oceane","Ocie","Octavia","Oda","Odell","Odessa","Odie","Ofelia","Okey","Ola","Olaf","Ole","Olen","Oleta","Olga","Olin","Oliver","Ollie","Oma","Omari","Omer","Ona","Onie","Opal","Ophelia","Ora","Oral","Oran","Oren","Orie","Orin","Orion","Orland","Orlando","Orlo","Orpha","Orrin","Orval","Orville","Osbaldo","Osborne","Oscar","Osvaldo","Oswald","Oswaldo","Otha","Otho","Otilia","Otis","Ottilie","Ottis","Otto","Ova","Owen","Ozella","Pablo","Paige","Palma","Pamela","Pansy","Paolo","Paris","Parker","Pascale","Pasquale","Pat","Patience","Patricia","Patrick","Patsy","Pattie","Paul","Paula","Pauline","Paxton","Payton","Pearl","Pearlie","Pearline","Pedro","Peggie","Penelope","Percival","Percy","Perry","Pete","Peter","Petra","Peyton","Philip","Phoebe","Phyllis","Pierce","Pierre","Pietro","Pink","Pinkie","Piper","Polly","Porter","Precious","Presley","Preston","Price","Prince","Princess","Priscilla","Providenci","Prudence","Queen","Queenie","Quentin","Quincy","Quinn","Quinten","Quinton","Rachael","Rachel","Rachelle","Rae","Raegan","Rafael","Rafaela","Raheem","Rahsaan","Rahul","Raina","Raleigh","Ralph","Ramiro","Ramon","Ramona","Randal","Randall","Randi","Randy","Ransom","Raoul","Raphael","Raphaelle","Raquel","Rashad","Rashawn","Rasheed","Raul","Raven","Ray","Raymond","Raymundo","Reagan","Reanna","Reba","Rebeca","Rebecca","Rebeka","Rebekah","Reece","Reed","Reese","Regan","Reggie","Reginald","Reid","Reilly","Reina","Reinhold","Remington","Rene","Renee","Ressie","Reta","Retha","Retta","Reuben","Reva","Rex","Rey","Reyes","Reymundo","Reyna","Reynold","Rhea","Rhett","Rhianna","Rhiannon","Rhoda","Ricardo","Richard","Richie","Richmond","Rick","Rickey","Rickie","Ricky","Rico","Rigoberto","Riley","Rita","River","Robb","Robbie","Robert","Roberta","Roberto","Robin","Robyn","Rocio","Rocky","Rod","Roderick","Rodger","Rodolfo","Rodrick","Rodrigo","Roel","Rogelio","Roger","Rogers","Rolando","Rollin","Roma","Romaine","Roman","Ron","Ronaldo","Ronny","Roosevelt","Rory","Rosa","Rosalee","Rosalia","Rosalind","Rosalinda","Rosalyn","Rosamond","Rosanna","Rosario","Roscoe","Rose","Rosella","Roselyn","Rosemarie","Rosemary","Rosendo","Rosetta","Rosie","Rosina","Roslyn","Ross","Rossie","Rowan","Rowena","Rowland","Roxane","Roxanne","Roy","Royal","Royce","Rozella","Ruben","Rubie","Ruby","Rubye","Rudolph","Rudy","Rupert","Russ","Russel","Russell","Rusty","Ruth","Ruthe","Ruthie","Ryan","Ryann","Ryder","Rylan","Rylee","Ryleigh","Ryley","Sabina","Sabrina","Sabryna","Sadie","Sadye","Sage","Saige","Sallie","Sally","Salma","Salvador","Salvatore","Sam","Samanta","Samantha","Samara","Samir","Sammie","Sammy","Samson","Sandra","Sandrine","Sandy","Sanford","Santa","Santiago","Santina","Santino","Santos","Sarah","Sarai","Sarina","Sasha","Saul","Savanah","Savanna","Savannah","Savion","Scarlett","Schuyler","Scot","Scottie","Scotty","Seamus","Sean","Sebastian","Sedrick","Selena","Selina","Selmer","Serena","Serenity","Seth","Shad","Shaina","Shakira","Shana","Shane","Shanel","Shanelle","Shania","Shanie","Shaniya","Shanna","Shannon","Shanny","Shanon","Shany","Sharon","Shaun","Shawn","Shawna","Shaylee","Shayna","Shayne","Shea","Sheila","Sheldon","Shemar","Sheridan","Sherman","Sherwood","Shirley","Shyann","Shyanne","Sibyl","Sid","Sidney","Sienna","Sierra","Sigmund","Sigrid","Sigurd","Silas","Sim","Simeon","Simone","Sincere","Sister","Skye","Skyla","Skylar","Sofia","Soledad","Solon","Sonia","Sonny","Sonya","Sophia","Sophie","Spencer","Stacey","Stacy","Stan","Stanford","Stanley","Stanton","Stefan","Stefanie","Stella","Stephan","Stephania","Stephanie","Stephany","Stephen","Stephon","Sterling","Steve","Stevie","Stewart","Stone","Stuart","Summer","Sunny","Susan","Susana","Susanna","Susie","Suzanne","Sven","Syble","Sydnee","Sydney","Sydni","Sydnie","Sylvan","Sylvester","Sylvia","Tabitha","Tad","Talia","Talon","Tamara","Tamia","Tania","Tanner","Tanya","Tara","Taryn","Tate","Tatum","Tatyana","Taurean","Tavares","Taya","Taylor","Teagan","Ted","Telly","Terence","Teresa","Terrance","Terrell","Terrence","Terrill","Terry","Tess","Tessie","Tevin","Thad","Thaddeus","Thalia","Thea","Thelma","Theo","Theodora","Theodore","Theresa","Therese","Theresia","Theron","Thomas","Thora","Thurman","Tia","Tiana","Tianna","Tiara","Tierra","Tiffany","Tillman","Timmothy","Timmy","Timothy","Tina","Tito","Titus","Tobin","Toby","Tod","Tom","Tomas","Tomasa","Tommie","Toney","Toni","Tony","Torey","Torrance","Torrey","Toy","Trace","Tracey","Tracy","Travis","Travon","Tre","Tremaine","Tremayne","Trent","Trenton","Tressa","Tressie","Treva","Trever","Trevion","Trevor","Trey","Trinity","Trisha","Tristian","Tristin","Triston","Troy","Trudie","Trycia","Trystan","Turner","Twila","Tyler","Tyra","Tyree","Tyreek","Tyrel","Tyrell","Tyrese","Tyrique","Tyshawn","Tyson","Ubaldo","Ulices","Ulises","Una","Unique","Urban","Uriah","Uriel","Ursula","Vada","Valentin","Valentina","Valentine","Valerie","Vallie","Van","Vance","Vanessa","Vaughn","Veda","Velda","Vella","Velma","Velva","Vena","Verda","Verdie","Vergie","Verla","Verlie","Vern","Verna","Verner","Vernice","Vernie","Vernon","Verona","Veronica","Vesta","Vicenta","Vicente","Vickie","Vicky","Victor","Victoria","Vida","Vidal","Vilma","Vince","Vincent","Vincenza","Vincenzo","Vinnie","Viola","Violet","Violette","Virgie","Virgil","Virginia","Virginie","Vita","Vito","Viva","Vivian","Viviane","Vivianne","Vivien","Vivienne","Vladimir","Wade","Waino","Waldo","Walker","Wallace","Walter","Walton","Wanda","Ward","Warren","Watson","Wava","Waylon","Wayne","Webster","Weldon","Wellington","Wendell","Wendy","Werner","Westley","Weston","Whitney","Wilber","Wilbert","Wilburn","Wiley","Wilford","Wilfred","Wilfredo","Wilfrid","Wilhelm","Wilhelmine","Will","Willa","Willard","William","Willie","Willis","Willow","Willy","Wilma","Wilmer","Wilson","Wilton","Winfield","Winifred","Winnifred","Winona","Winston","Woodrow","Wyatt","Wyman","Xander","Xavier","Xzavier","Yadira","Yasmeen","Yasmin","Yasmine","Yazmin","Yesenia","Yessenia","Yolanda","Yoshiko","Yvette","Yvonne","Zachariah","Zachary","Zachery","Zack","Zackary","Zackery","Zakary","Zander","Zane","Zaria","Zechariah","Zelda","Zella","Zelma","Zena","Zetta","Zion","Zita","Zoe","Zoey","Zoie","Zoila","Zola","Zora","Zula"],female:["Ada","Adrienne","Agnes","Alberta","Alexandra","Alexis","Alice","Alicia","Alison","Allison","Alma","Alyssa","Amanda","Amber","Amelia","Amy","Ana","Andrea","Angel","Angela","Angelica","Angelina","Angie","Anita","Ann","Anna","Anne","Annette","Annie","Antoinette","Antonia","April","Arlene","Ashley","Audrey","Barbara","Beatrice","Becky","Belinda","Bernadette","Bernice","Bertha","Bessie","Beth","Bethany","Betsy","Betty","Beulah","Beverly","Billie","Blanca","Blanche","Bobbie","Bonnie","Brandi","Brandy","Brenda","Bridget","Brittany","Brooke","Camille","Candace","Candice","Carla","Carmen","Carol","Carole","Caroline","Carolyn","Carrie","Casey","Cassandra","Catherine","Cathy","Cecelia","Cecilia","Celia","Charlene","Charlotte","Chelsea","Cheryl","Christie","Christina","Christine","Christy","Cindy","Claire","Clara","Claudia","Colleen","Connie","Constance","Cora","Courtney","Cristina","Crystal","Cynthia","Daisy","Dana","Danielle","Darla","Darlene","Dawn","Deanna","Debbie","Deborah","Debra","Delia","Della","Delores","Denise","Desiree","Diana","Diane","Dianna","Dianne","Dixie","Dolores","Donna","Dora","Doreen","Doris","Dorothy","Ebony","Edith","Edna","Eileen","Elaine","Eleanor","Elena","Elisa","Elizabeth","Ella","Ellen","Eloise","Elsa","Elsie","Elvira","Emily","Emma","Erica","Erika","Erin","Erma","Ernestine","Essie","Estelle","Esther","Ethel","Eula","Eunice","Eva","Evelyn","Faith","Fannie","Faye","Felicia","Flora","Florence","Frances","Francis","Freda","Gail","Gayle","Geneva","Genevieve","Georgia","Geraldine","Gertrude","Gina","Ginger","Gladys","Glenda","Gloria","Grace","Gretchen","Guadalupe","Gwen","Gwendolyn","Hannah","Harriet","Hattie","Hazel","Heather","Heidi","Helen","Henrietta","Hilda","Holly","Hope","Ida","Inez","Irene","Iris","Irma","Isabel","Jackie","Jacqueline","Jacquelyn","Jaime","Jamie","Jan","Jana","Jane","Janet","Janice","Janie","Janis","Jasmine","Jean","Jeanette","Jeanne","Jeannette","Jeannie","Jenna","Jennie","Jennifer","Jenny","Jessica","Jessie","Jill","Jo","Joan","Joann","Joanna","Joanne","Jodi","Jody","Johanna","Johnnie","Josefina","Josephine","Joy","Joyce","Juana","Juanita","Judith","Judy","Julia","Julie","June","Kara","Karen","Kari","Karla","Kate","Katherine","Kathleen","Kathryn","Kathy","Katie","Katrina","Kay","Kayla","Kelley","Kelli","Kellie","Kelly","Kendra","Kerry","Kim","Kimberly","Krista","Kristen","Kristi","Kristie","Kristin","Kristina","Kristine","Kristy","Krystal","Lana","Latoya","Laura","Lauren","Laurie","Laverne","Leah","Lee","Leigh","Lela","Lena","Leona","Leslie","Leticia","Lila","Lillian","Lillie","Linda","Lindsay","Lindsey","Lisa","Lois","Lola","Lora","Lorena","Lorene","Loretta","Lori","Lorraine","Louise","Lucia","Lucille","Lucy","Lula","Luz","Lydia","Lynda","Lynette","Lynn","Lynne","Mabel","Mable","Madeline","Mae","Maggie","Mamie","Mandy","Marcella","Marcia","Margaret","Margarita","Margie","Marguerite","Maria","Marian","Marianne","Marie","Marilyn","Marion","Marjorie","Marlene","Marsha","Marta","Martha","Mary","Maryann","Mattie","Maureen","Maxine","May","Megan","Meghan","Melanie","Melba","Melinda","Melissa","Melody","Mercedes","Meredith","Michele","Michelle","Mildred","Mindy","Minnie","Miranda","Miriam","Misty","Molly","Mona","Monica","Monique","Muriel","Myra","Myrtle","Nadine","Nancy","Naomi","Natalie","Natasha","Nellie","Nettie","Nichole","Nicole","Nina","Nora","Norma","Olga","Olive","Olivia","Ollie","Opal","Ora","Pam","Pamela","Pat","Patricia","Patsy","Patti","Patty","Paula","Paulette","Pauline","Pearl","Peggy","Penny","Phyllis","Priscilla","Rachael","Rachel","Ramona","Raquel","Rebecca","Regina","Renee","Rhonda","Rita","Roberta","Robin","Robyn","Rochelle","Rosa","Rosalie","Rose","Rosemarie","Rosemary","Rosie","Roxanne","Ruby","Ruth","Sabrina","Sadie","Sally","Samantha","Sandra","Sandy","Sara","Sarah","Shannon","Shari","Sharon","Shawna","Sheila","Shelia","Shelley","Shelly","Sheri","Sherri","Sherry","Sheryl","Shirley","Silvia","Sonia","Sonja","Sonya","Sophia","Sophie","Stacey","Stacy","Stella","Stephanie","Sue","Susan","Susie","Suzanne","Sylvia","Tabitha","Tamara","Tami","Tammy","Tanya","Tara","Tasha","Teresa","Teri","Terri","Terry","Thelma","Theresa","Tiffany","Tina","Toni","Tonya","Tracey","Traci","Tracy","Tricia","Valerie","Vanessa","Velma","Vera","Verna","Veronica","Vicki","Vickie","Vicky","Victoria","Viola","Violet","Virginia","Vivian","Wanda","Wendy","Whitney","Willie","Wilma","Winifred","Yolanda","Yvette","Yvonne"],male:["Aaron","Abel","Abraham","Adam","Adrian","Al","Alan","Albert","Alberto","Alejandro","Alex","Alexander","Alfonso","Alfred","Alfredo","Allan","Allen","Alonzo","Alton","Alvin","Amos","Andre","Andres","Andrew","Andy","Angel","Angelo","Anthony","Antonio","Archie","Armando","Arnold","Arthur","Arturo","Aubrey","Austin","Barry","Ben","Benjamin","Bennie","Benny","Bernard","Bert","Bill","Billy","Blake","Bob","Bobby","Boyd","Brad","Bradford","Bradley","Brandon","Brendan","Brent","Brett","Brian","Bruce","Bryan","Bryant","Byron","Caleb","Calvin","Cameron","Carl","Carlos","Carlton","Carroll","Cary","Casey","Cecil","Cedric","Cesar","Chad","Charles","Charlie","Chester","Chris","Christian","Christopher","Clarence","Clark","Claude","Clay","Clayton","Clifford","Clifton","Clint","Clinton","Clyde","Cody","Colin","Conrad","Corey","Cornelius","Cory","Courtney","Craig","Curtis","Dale","Dallas","Damon","Dan","Dana","Daniel","Danny","Darin","Darnell","Darrel","Darrell","Darren","Darrin","Darryl","Daryl","Dave","David","Dean","Delbert","Dennis","Derek","Derrick","Devin","Dewey","Dexter","Domingo","Dominic","Dominick","Don","Donald","Donnie","Doug","Douglas","Doyle","Drew","Duane","Dustin","Dwayne","Dwight","Earl","Earnest","Ed","Eddie","Edgar","Edmond","Edmund","Eduardo","Edward","Edwin","Elbert","Elias","Elijah","Ellis","Elmer","Emanuel","Emilio","Emmett","Enrique","Eric","Erick","Erik","Ernest","Ernesto","Ervin","Eugene","Evan","Everett","Felipe","Felix","Fernando","Floyd","Forrest","Francis","Francisco","Frank","Frankie","Franklin","Fred","Freddie","Frederick","Fredrick","Gabriel","Garrett","Garry","Gary","Gene","Geoffrey","George","Gerald","Gerard","Gerardo","Gilbert","Gilberto","Glen","Glenn","Gordon","Grady","Grant","Greg","Gregg","Gregory","Guadalupe","Guillermo","Gustavo","Guy","Harold","Harry","Harvey","Hector","Henry","Herbert","Herman","Homer","Horace","Howard","Hubert","Hugh","Hugo","Ian","Ignacio","Ira","Irvin","Irving","Isaac","Ismael","Israel","Ivan","Jack","Jackie","Jacob","Jaime","Jake","James","Jamie","Jan","Jared","Jason","Javier","Jay","Jean","Jeff","Jeffery","Jeffrey","Jerald","Jeremiah","Jeremy","Jermaine","Jerome","Jerry","Jesse","Jessie","Jesus","Jim","Jimmie","Jimmy","Jody","Joe","Joel","Joey","John","Johnathan","Johnnie","Johnny","Jon","Jonathan","Jonathon","Jordan","Jorge","Jose","Joseph","Josh","Joshua","Juan","Julian","Julio","Julius","Justin","Karl","Keith","Kelly","Kelvin","Ken","Kenneth","Kenny","Kent","Kerry","Kevin","Kim","Kirk","Kristopher","Kurt","Kyle","Lamar","Lance","Larry","Laurence","Lawrence","Lee","Leland","Leo","Leon","Leonard","Leroy","Leslie","Lester","Levi","Lewis","Lionel","Lloyd","Lonnie","Loren","Lorenzo","Louis","Lowell","Lucas","Luis","Luke","Luther","Lyle","Lynn","Mack","Malcolm","Manuel","Marc","Marco","Marcos","Marcus","Mario","Marion","Mark","Marlon","Marshall","Martin","Marty","Marvin","Mathew","Matt","Matthew","Maurice","Max","Melvin","Merle","Michael","Micheal","Miguel","Mike","Milton","Mitchell","Morris","Moses","Myron","Nathan","Nathaniel","Neal","Neil","Nelson","Nicholas","Nick","Nicolas","Noah","Noel","Norman","Oliver","Omar","Orlando","Orville","Oscar","Otis","Owen","Pablo","Pat","Patrick","Paul","Pedro","Percy","Perry","Pete","Peter","Phil","Philip","Phillip","Preston","Rafael","Ralph","Ramiro","Ramon","Randal","Randall","Randolph","Randy","Raul","Ray","Raymond","Reginald","Rene","Rex","Ricardo","Richard","Rick","Rickey","Ricky","Robert","Roberto","Robin","Roderick","Rodney","Rodolfo","Rogelio","Roger","Roland","Rolando","Roman","Ron","Ronald","Ronnie","Roosevelt","Ross","Roy","Ruben","Rudolph","Rudy","Rufus","Russell","Ryan","Salvador","Salvatore","Sam","Sammy","Samuel","Santiago","Santos","Saul","Scott","Sean","Sergio","Seth","Shane","Shannon","Shaun","Shawn","Sheldon","Sherman","Sidney","Simon","Spencer","Stanley","Stephen","Steve","Steven","Stewart","Stuart","Sylvester","Taylor","Ted","Terence","Terrance","Terrell","Terrence","Terry","Theodore","Thomas","Tim","Timmy","Timothy","Toby","Todd","Tom","Tomas","Tommie","Tommy","Tony","Tracy","Travis","Trevor","Troy","Tyler","Tyrone","Van","Vernon","Victor","Vincent","Virgil","Wade","Wallace","Walter","Warren","Wayne","Wendell","Wesley","Wilbert","Wilbur","Wilfred","Willard","William","Willie","Willis","Wilson","Winston","Wm","Woodrow","Zachary"]},XAe=["Agender","Androgyne","Androgynous","Bigender","Cis female","Cis male","Cis man","Cis woman","Cis","Cisgender female","Cisgender male","Cisgender man","Cisgender woman","Cisgender","Demi-boy","Demi-girl","Demi-man","Demi-woman","Demiflux","Demigender","F2M","FTM","Female to male trans man","Female to male transgender man","Female to male transsexual man","Female to male","Gender fluid","Gender neutral","Gender nonconforming","Gender questioning","Gender variant","Genderflux","Genderqueer","Hermaphrodite","Intersex man","Intersex person","Intersex woman","Intersex","M2F","MTF","Male to female trans woman","Male to female transgender woman","Male to female transsexual woman","Male to female","Man","Multigender","Neither","Neutrois","Non-binary","Omnigender","Other","Pangender","Polygender","T* man","T* woman","Trans female","Trans male","Trans man","Trans person","Trans woman","Trans","Transsexual female","Transsexual male","Transsexual man","Transsexual person","Transsexual woman","Transsexual","Transgender female","Transgender person","Transmasculine","Trigender","Two* person","Two-spirit person","Two-spirit","Woman","Xenogender"],JAe=["Solutions","Program","Brand","Security","Research","Marketing","Directives","Implementation","Integration","Functionality","Response","Paradigm","Tactics","Identity","Markets","Group","Division","Applications","Optimization","Operations","Infrastructure","Intranet","Communications","Web","Branding","Quality","Assurance","Mobility","Accounts","Data","Creative","Configuration","Accountability","Interactions","Factors","Usability","Metrics"],ZAe=["Lead","Senior","Direct","Corporate","Dynamic","Future","Product","National","Regional","District","Central","Global","Customer","Investor","International","Legacy","Forward","Internal","Human","Chief","Principal"],QAe=["{{person.jobDescriptor}} {{person.jobArea}} {{person.jobType}}"],e4e=["Supervisor","Associate","Executive","Liaison","Officer","Manager","Engineer","Specialist","Director","Coordinator","Administrator","Architect","Analyst","Designer","Planner","Orchestrator","Technician","Developer","Producer","Consultant","Assistant","Facilitator","Agent","Representative","Strategist"],t4e={generic:["Abbott","Abernathy","Abshire","Adams","Altenwerth","Anderson","Ankunding","Armstrong","Auer","Aufderhar","Bahringer","Bailey","Balistreri","Barrows","Bartell","Bartoletti","Barton","Bashirian","Batz","Bauch","Baumbach","Bayer","Beahan","Beatty","Bechtelar","Becker","Bednar","Beer","Beier","Berge","Bergnaum","Bergstrom","Bernhard","Bernier","Bins","Blanda","Blick","Block","Bode","Boehm","Bogan","Bogisich","Borer","Bosco","Botsford","Boyer","Boyle","Bradtke","Brakus","Braun","Breitenberg","Brekke","Brown","Bruen","Buckridge","Carroll","Carter","Cartwright","Casper","Cassin","Champlin","Christiansen","Cole","Collier","Collins","Conn","Connelly","Conroy","Considine","Corkery","Cormier","Corwin","Cremin","Crist","Crona","Cronin","Crooks","Cruickshank","Cummerata","Cummings","D'Amore","Dach","Daniel","Dare","Daugherty","Davis","Deckow","Denesik","Dibbert","Dickens","Dicki","Dickinson","Dietrich","Donnelly","Dooley","Douglas","Doyle","DuBuque","Durgan","Ebert","Effertz","Emard","Emmerich","Erdman","Ernser","Fadel","Fahey","Farrell","Fay","Feeney","Feest","Feil","Ferry","Fisher","Flatley","Frami","Franecki","Franey","Friesen","Fritsch","Funk","Gerhold","Gerlach","Gibson","Gislason","Gleason","Gleichner","Glover","Goldner","Goodwin","Gorczany","Gottlieb","Goyette","Grady","Graham","Grant","Green","Greenfelder","Greenholt","Grimes","Gulgowski","Gusikowski","Gutkowski","Gutmann","Haag","Hackett","Hagenes","Hahn","Haley","Halvorson","Hamill","Hammes","Hand","Hane","Hansen","Harber","Harris","Hartmann","Harvey","Hauck","Hayes","Heaney","Heathcote","Hegmann","Heidenreich","Heller","Herman","Hermann","Hermiston","Herzog","Hessel","Hettinger","Hickle","Hilll","Hills","Hilpert","Hintz","Hirthe","Hodkiewicz","Hoeger","Homenick","Hoppe","Howe","Howell","Hudson","Huel","Huels","Hyatt","Jacobi","Jacobs","Jacobson","Jakubowski","Jaskolski","Jast","Jenkins","Jerde","Johns","Johnson","Johnston","Jones","Kassulke","Kautzer","Keebler","Keeling","Kemmer","Kerluke","Kertzmann","Kessler","Kiehn","Kihn","Kilback","King","Kirlin","Klein","Kling","Klocko","Koch","Koelpin","Koepp","Kohler","Konopelski","Koss","Kovacek","Kozey","Krajcik","Kreiger","Kris","Kshlerin","Kub","Kuhic","Kuhlman","Kuhn","Kulas","Kunde","Kunze","Kuphal","Kutch","Kuvalis","Labadie","Lakin","Lang","Langosh","Langworth","Larkin","Larson","Leannon","Lebsack","Ledner","Leffler","Legros","Lehner","Lemke","Lesch","Leuschke","Lind","Lindgren","Littel","Little","Lockman","Lowe","Lubowitz","Lueilwitz","Luettgen","Lynch","MacGyver","Macejkovic","Maggio","Mann","Mante","Marks","Marquardt","Marvin","Mayer","Mayert","McClure","McCullough","McDermott","McGlynn","McKenzie","McLaughlin","Medhurst","Mertz","Metz","Miller","Mills","Mitchell","Moen","Mohr","Monahan","Moore","Morar","Morissette","Mosciski","Mraz","Mueller","Muller","Murazik","Murphy","Murray","Nader","Nicolas","Nienow","Nikolaus","Nitzsche","Nolan","O'Connell","O'Conner","O'Hara","O'Keefe","O'Kon","O'Reilly","Oberbrunner","Okuneva","Olson","Ondricka","Orn","Ortiz","Osinski","Pacocha","Padberg","Pagac","Parisian","Parker","Paucek","Pfannerstill","Pfeffer","Pollich","Pouros","Powlowski","Predovic","Price","Prohaska","Prosacco","Purdy","Quigley","Quitzon","Rath","Ratke","Rau","Raynor","Reichel","Reichert","Reilly","Reinger","Rempel","Renner","Reynolds","Rice","Rippin","Ritchie","Robel","Roberts","Rodriguez","Rogahn","Rohan","Rolfson","Romaguera","Roob","Rosenbaum","Rowe","Ruecker","Runolfsdottir","Runolfsson","Runte","Russel","Rutherford","Ryan","Sanford","Satterfield","Sauer","Sawayn","Schaden","Schaefer","Schamberger","Schiller","Schimmel","Schinner","Schmeler","Schmidt","Schmitt","Schneider","Schoen","Schowalter","Schroeder","Schulist","Schultz","Schumm","Schuppe","Schuster","Senger","Shanahan","Shields","Simonis","Sipes","Skiles","Smith","Smitham","Spencer","Spinka","Sporer","Stamm","Stanton","Stark","Stehr","Steuber","Stiedemann","Stokes","Stoltenberg","Stracke","Streich","Stroman","Strosin","Swaniawski","Swift","Terry","Thiel","Thompson","Tillman","Torp","Torphy","Towne","Toy","Trantow","Tremblay","Treutel","Tromp","Turcotte","Turner","Ullrich","Upton","Vandervort","Veum","Volkman","Von","VonRueden","Waelchi","Walker","Walsh","Walter","Ward","Waters","Watsica","Weber","Wehner","Weimann","Weissnat","Welch","West","White","Wiegand","Wilderman","Wilkinson","Will","Williamson","Willms","Windler","Wintheiser","Wisoky","Wisozk","Witting","Wiza","Wolf","Wolff","Wuckert","Wunsch","Wyman","Yost","Yundt","Zboncak","Zemlak","Ziemann","Zieme","Zulauf"]},r4e={generic:[{value:"{{person.last_name.generic}}",weight:95},{value:"{{person.last_name.generic}}-{{person.last_name.generic}}",weight:5}]},n4e={generic:["Addison","Alex","Anderson","Angel","Arden","August","Austin","Avery","Bailey","Billie","Blake","Bowie","Brooklyn","Cameron","Charlie","Corey","Dakota","Drew","Elliott","Ellis","Emerson","Finley","Gray","Greer","Harper","Hayden","Jaden","James","Jamie","Jordan","Jules","Kai","Kendall","Kennedy","Kyle","Leslie","Logan","London","Marlowe","Micah","Nico","Noah","North","Parker","Phoenix","Quinn","Reagan","Reese","Reign","Riley","River","Robin","Rory","Rowan","Ryan","Sage","Sasha","Sawyer","Shawn","Shiloh","Skyler","Taylor"],female:["Abigail","Adele","Alex","Alice","Alisha","Amber","Amelia","Amora","Anaïs","Angelou","Anika","Anise","Annabel","Anne","Aphrodite","Aretha","Arya","Ashton","Aster","Audrey","Avery","Bailee","Bay","Belle","Beth","Billie","Blair","Blaise","Blake","Blanche","Blue","Bree","Brielle","Brienne","Brooke","Caleen","Candice","Caprice","Carelyn","Caylen","Celine","Cerise","Cia","Claire","Claudia","Clementine","Coral","Coraline","Dahlia","Dakota","Dawn","Della","Demi","Denise","Denver","Devine","Devon","Diana","Dylan","Ebony","Eden","Eleanor","Elein","Elizabeth","Ellen","Elodie","Eloise","Ember","Emma","Erin","Eyre","Faith","Farrah","Fawn","Fayre","Fern","France","Francis","Frida","Genisis","Georgia","Grace","Gwen","Harley","Harper","Hazel","Helen","Hippolyta","Holly","Hope","Imani","Iowa","Ireland","Irene","Iris","Isa","Isla","Ivy","Jade","Jane","Jazz","Jean","Jess","Jett","Jo","Joan","Jolie","Jordan","Josie","Journey","Joy","Jules","Julien","Juliet","Juniper","Justice","Kali","Karma","Kat","Kate","Kennedy","Keva","Kylie","Lake","Lane","Lark","Layla","Lee","Leigh","Leona","Lexi","London","Lou","Louise","Love","Luna","Lux","Lynn","Lyric","Maddie","Mae","Marie","Matilda","Maude","Maybel","Meadow","Medusa","Mercy","Michelle","Mirabel","Monroe","Morgan","Nalia","Naomi","Nova","Olive","Paige","Parker","Pax","Pearl","Penelope","Phoenix","Quinn","Rae","Rain","Raven","Ray","Raye","Rebel","Reese","Reeve","Regan","Riley","River","Robin","Rory","Rose","Royal","Ruth","Rylie","Sage","Sam","Saturn","Scout","Serena","Sky","Skylar","Sofia","Sophia","Storm","Sue","Suzanne","Sydney","Taylen","Taylor","Teagan","Tempest","Tenley","Thea","Trinity","Valerie","Venus","Vera","Violet","Willow","Winter","Xena","Zaylee","Zion","Zoe"],male:["Ace","Aiden","Alexander","Ander","Anthony","Asher","August","Aziel","Bear","Beckham","Benjamin","Buddy","Calvin","Carter","Charles","Christopher","Clyde","Cooper","Daniel","David","Dior","Dylan","Elijah","Ellis","Emerson","Ethan","Ezra","Fletcher","Flynn","Gabriel","Grayson","Gus","Hank","Harrison","Hendrix","Henry","Houston","Hudson","Hugh","Isaac","Jack","Jackson","Jacob","Jakobe","James","Jaxon","Jaxtyn","Jayden","John","Joseph","Josiah","Jude","Julian","Karsyn","Kenji","Kobe","Kylo","Lennon","Leo","Levi","Liam","Lincoln","Logan","Louis","Lucas","Lucky","Luke","Mason","Mateo","Matthew","Maverick","Michael","Monroe","Nixon","Ocean","Oliver","Otis","Otto","Owen","Ozzy","Parker","Rocky","Samuel","Sebastian","Sonny","Teddy","Theo","Theodore","Thomas","Truett","Walter","Warren","Watson","William","Wison","Wyatt","Ziggy","Zyair"]},a4e=[{value:"{{person.firstName}} {{person.lastName}}",weight:49},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}}",weight:7},{value:"{{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:7},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:1}],i4e={generic:["Dr.","Miss","Mr.","Mrs.","Ms."],female:["Dr.","Miss","Mrs.","Ms."],male:["Dr.","Mr."]},o4e=["female","male"],s4e=["Jr.","Sr.","I","II","III","IV","V","MD","DDS","PhD","DVM"],l4e=["Aquarius","Pisces","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn"],u4e={bio_part:WAe,bio_pattern:VAe,bio_supporter:KAe,first_name:YAe,gender:XAe,job_area:JAe,job_descriptor:ZAe,job_title_pattern:QAe,job_type:e4e,last_name:t4e,last_name_pattern:r4e,middle_name:n4e,name:a4e,prefix:i4e,sex:o4e,suffix:s4e,western_zodiac_sign:l4e},c4e=u4e,d4e=["!##-!##-####","(!##) !##-####","1-!##-!##-####","!##.!##.####","!##-!##-#### x###","(!##) !##-#### x###","1-!##-!##-#### x###","!##.!##.#### x###","!##-!##-#### x####","(!##) !##-#### x####","1-!##-!##-#### x####","!##.!##.#### x####","!##-!##-#### x#####","(!##) !##-#### x#####","1-!##-!##-#### x#####","!##.!##.#### x#####"],h4e=["+1!##!######"],p4e=["(!##) !##-####"],f4e={human:d4e,international:h4e,national:p4e},m4e=f4e,g4e={format:m4e},b4e=g4e,y4e=[{symbol:"H",name:"Hydrogen",atomicNumber:1},{symbol:"He",name:"Helium",atomicNumber:2},{symbol:"Li",name:"Lithium",atomicNumber:3},{symbol:"Be",name:"Beryllium",atomicNumber:4},{symbol:"B",name:"Boron",atomicNumber:5},{symbol:"C",name:"Carbon",atomicNumber:6},{symbol:"N",name:"Nitrogen",atomicNumber:7},{symbol:"O",name:"Oxygen",atomicNumber:8},{symbol:"F",name:"Fluorine",atomicNumber:9},{symbol:"Ne",name:"Neon",atomicNumber:10},{symbol:"Na",name:"Sodium",atomicNumber:11},{symbol:"Mg",name:"Magnesium",atomicNumber:12},{symbol:"Al",name:"Aluminium",atomicNumber:13},{symbol:"Si",name:"Silicon",atomicNumber:14},{symbol:"P",name:"Phosphorus",atomicNumber:15},{symbol:"S",name:"Sulfur",atomicNumber:16},{symbol:"Cl",name:"Chlorine",atomicNumber:17},{symbol:"Ar",name:"Argon",atomicNumber:18},{symbol:"K",name:"Potassium",atomicNumber:19},{symbol:"Ca",name:"Calcium",atomicNumber:20},{symbol:"Sc",name:"Scandium",atomicNumber:21},{symbol:"Ti",name:"Titanium",atomicNumber:22},{symbol:"V",name:"Vanadium",atomicNumber:23},{symbol:"Cr",name:"Chromium",atomicNumber:24},{symbol:"Mn",name:"Manganese",atomicNumber:25},{symbol:"Fe",name:"Iron",atomicNumber:26},{symbol:"Co",name:"Cobalt",atomicNumber:27},{symbol:"Ni",name:"Nickel",atomicNumber:28},{symbol:"Cu",name:"Copper",atomicNumber:29},{symbol:"Zn",name:"Zinc",atomicNumber:30},{symbol:"Ga",name:"Gallium",atomicNumber:31},{symbol:"Ge",name:"Germanium",atomicNumber:32},{symbol:"As",name:"Arsenic",atomicNumber:33},{symbol:"Se",name:"Selenium",atomicNumber:34},{symbol:"Br",name:"Bromine",atomicNumber:35},{symbol:"Kr",name:"Krypton",atomicNumber:36},{symbol:"Rb",name:"Rubidium",atomicNumber:37},{symbol:"Sr",name:"Strontium",atomicNumber:38},{symbol:"Y",name:"Yttrium",atomicNumber:39},{symbol:"Zr",name:"Zirconium",atomicNumber:40},{symbol:"Nb",name:"Niobium",atomicNumber:41},{symbol:"Mo",name:"Molybdenum",atomicNumber:42},{symbol:"Tc",name:"Technetium",atomicNumber:43},{symbol:"Ru",name:"Ruthenium",atomicNumber:44},{symbol:"Rh",name:"Rhodium",atomicNumber:45},{symbol:"Pd",name:"Palladium",atomicNumber:46},{symbol:"Ag",name:"Silver",atomicNumber:47},{symbol:"Cd",name:"Cadmium",atomicNumber:48},{symbol:"In",name:"Indium",atomicNumber:49},{symbol:"Sn",name:"Tin",atomicNumber:50},{symbol:"Sb",name:"Antimony",atomicNumber:51},{symbol:"Te",name:"Tellurium",atomicNumber:52},{symbol:"I",name:"Iodine",atomicNumber:53},{symbol:"Xe",name:"Xenon",atomicNumber:54},{symbol:"Cs",name:"Caesium",atomicNumber:55},{symbol:"Ba",name:"Barium",atomicNumber:56},{symbol:"La",name:"Lanthanum",atomicNumber:57},{symbol:"Ce",name:"Cerium",atomicNumber:58},{symbol:"Pr",name:"Praseodymium",atomicNumber:59},{symbol:"Nd",name:"Neodymium",atomicNumber:60},{symbol:"Pm",name:"Promethium",atomicNumber:61},{symbol:"Sm",name:"Samarium",atomicNumber:62},{symbol:"Eu",name:"Europium",atomicNumber:63},{symbol:"Gd",name:"Gadolinium",atomicNumber:64},{symbol:"Tb",name:"Terbium",atomicNumber:65},{symbol:"Dy",name:"Dysprosium",atomicNumber:66},{symbol:"Ho",name:"Holmium",atomicNumber:67},{symbol:"Er",name:"Erbium",atomicNumber:68},{symbol:"Tm",name:"Thulium",atomicNumber:69},{symbol:"Yb",name:"Ytterbium",atomicNumber:70},{symbol:"Lu",name:"Lutetium",atomicNumber:71},{symbol:"Hf",name:"Hafnium",atomicNumber:72},{symbol:"Ta",name:"Tantalum",atomicNumber:73},{symbol:"W",name:"Tungsten",atomicNumber:74},{symbol:"Re",name:"Rhenium",atomicNumber:75},{symbol:"Os",name:"Osmium",atomicNumber:76},{symbol:"Ir",name:"Iridium",atomicNumber:77},{symbol:"Pt",name:"Platinum",atomicNumber:78},{symbol:"Au",name:"Gold",atomicNumber:79},{symbol:"Hg",name:"Mercury",atomicNumber:80},{symbol:"Tl",name:"Thallium",atomicNumber:81},{symbol:"Pb",name:"Lead",atomicNumber:82},{symbol:"Bi",name:"Bismuth",atomicNumber:83},{symbol:"Po",name:"Polonium",atomicNumber:84},{symbol:"At",name:"Astatine",atomicNumber:85},{symbol:"Rn",name:"Radon",atomicNumber:86},{symbol:"Fr",name:"Francium",atomicNumber:87},{symbol:"Ra",name:"Radium",atomicNumber:88},{symbol:"Ac",name:"Actinium",atomicNumber:89},{symbol:"Th",name:"Thorium",atomicNumber:90},{symbol:"Pa",name:"Protactinium",atomicNumber:91},{symbol:"U",name:"Uranium",atomicNumber:92},{symbol:"Np",name:"Neptunium",atomicNumber:93},{symbol:"Pu",name:"Plutonium",atomicNumber:94},{symbol:"Am",name:"Americium",atomicNumber:95},{symbol:"Cm",name:"Curium",atomicNumber:96},{symbol:"Bk",name:"Berkelium",atomicNumber:97},{symbol:"Cf",name:"Californium",atomicNumber:98},{symbol:"Es",name:"Einsteinium",atomicNumber:99},{symbol:"Fm",name:"Fermium",atomicNumber:100},{symbol:"Md",name:"Mendelevium",atomicNumber:101},{symbol:"No",name:"Nobelium",atomicNumber:102},{symbol:"Lr",name:"Lawrencium",atomicNumber:103},{symbol:"Rf",name:"Rutherfordium",atomicNumber:104},{symbol:"Db",name:"Dubnium",atomicNumber:105},{symbol:"Sg",name:"Seaborgium",atomicNumber:106},{symbol:"Bh",name:"Bohrium",atomicNumber:107},{symbol:"Hs",name:"Hassium",atomicNumber:108},{symbol:"Mt",name:"Meitnerium",atomicNumber:109},{symbol:"Ds",name:"Darmstadtium",atomicNumber:110},{symbol:"Rg",name:"Roentgenium",atomicNumber:111},{symbol:"Cn",name:"Copernicium",atomicNumber:112},{symbol:"Nh",name:"Nihonium",atomicNumber:113},{symbol:"Fl",name:"Flerovium",atomicNumber:114},{symbol:"Mc",name:"Moscovium",atomicNumber:115},{symbol:"Lv",name:"Livermorium",atomicNumber:116},{symbol:"Ts",name:"Tennessine",atomicNumber:117},{symbol:"Og",name:"Oganesson",atomicNumber:118}],v4e=[{name:"meter",symbol:"m"},{name:"second",symbol:"s"},{name:"mole",symbol:"mol"},{name:"ampere",symbol:"A"},{name:"kelvin",symbol:"K"},{name:"candela",symbol:"cd"},{name:"kilogram",symbol:"kg"},{name:"radian",symbol:"rad"},{name:"hertz",symbol:"Hz"},{name:"newton",symbol:"N"},{name:"pascal",symbol:"Pa"},{name:"joule",symbol:"J"},{name:"watt",symbol:"W"},{name:"coulomb",symbol:"C"},{name:"volt",symbol:"V"},{name:"ohm",symbol:"Ω"},{name:"tesla",symbol:"T"},{name:"degree Celsius",symbol:"°C"},{name:"lumen",symbol:"lm"},{name:"becquerel",symbol:"Bq"},{name:"gray",symbol:"Gy"},{name:"sievert",symbol:"Sv"},{name:"steradian",symbol:"sr"},{name:"farad",symbol:"F"},{name:"siemens",symbol:"S"},{name:"weber",symbol:"Wb"},{name:"henry",symbol:"H"},{name:"lux",symbol:"lx"},{name:"katal",symbol:"kat"}],F4e={chemical_element:y4e,unit:v4e},E4e=F4e,S4e=["ants","bats","bears","bees","birds","buffalo","cats","chickens","cattle","dogs","dolphins","ducks","elephants","fishes","foxes","frogs","geese","goats","horses","kangaroos","lions","monkeys","owls","oxen","penguins","people","pigs","rabbits","sheep","tigers","whales","wolves","zebras","banshees","crows","black cats","chimeras","ghosts","conspirators","dragons","dwarves","elves","enchanters","exorcists","sons","foes","giants","gnomes","goblins","gooses","griffins","lycanthropes","nemesis","ogres","oracles","prophets","sorcerors","spiders","spirits","vampires","warlocks","vixens","werewolves","witches","worshipers","zombies","druids"],x4e=["{{location.state}} {{team.creature}}"],w4e={creature:S4e,name:x4e},k4e=w4e,C4e=["Adventure Road Bicycle","BMX Bicycle","City Bicycle","Cruiser Bicycle","Cyclocross Bicycle","Dual-Sport Bicycle","Fitness Bicycle","Flat-Foot Comfort Bicycle","Folding Bicycle","Hybrid Bicycle","Mountain Bicycle","Recumbent Bicycle","Road Bicycle","Tandem Bicycle","Touring Bicycle","Track/Fixed-Gear Bicycle","Triathlon/Time Trial Bicycle","Tricycle"],T4e=["Diesel","Electric","Gasoline","Hybrid"],A4e=["Aston Martin","Audi","BMW","BYD","Bentley","Bugatti","Cadillac","Chevrolet","Chrysler","Citroën","Dodge","Ferrari","Fiat","Ford","Honda","Hyundai","Jaguar","Jeep","Kia","Lamborghini","Land Rover","MG","Mahindra & Mahindra","Maruti","Maserati","Mazda","Mercedes Benz","Mini","Mitsubishi","NIO","Nissan","Peugeot","Polestar","Porsche","Renault","Rivian","Rolls Royce","Skoda","Smart","Subaru","Suzuki","Tata","Tesla","Toyota","Vauxhall","Volkswagen","Volvo"],_4e=["1","2","911","A4","A8","ATS","Accord","Alpine","Altima","Aventador","Beetle","CTS","CX-9","Camaro","Camry","Challenger","Charger","Civic","Colorado","Corvette","Countach","Cruze","Durango","El Camino","Element","Escalade","Expedition","Explorer","F-150","Fiesta","Focus","Fortwo","Golf","Grand Caravan","Grand Cherokee","Impala","Jetta","Land Cruiser","LeBaron","Malibu","Mercielago","Model 3","Model S","Model T","Model X","Model Y","Mustang","PT Cruiser","Prius","Ranchero","Roadster","Sentra","Silverado","Spyder","Taurus","V90","Volt","Wrangler","XC90","XTS"],D4e=["Cargo Van","Convertible","Coupe","Crew Cab Pickup","Extended Cab Pickup","Hatchback","Minivan","Passenger Van","SUV","Sedan","Wagon"],R4e={bicycle_type:C4e,fuel:T4e,manufacturer:A4e,model:_4e,type:D4e},N4e=R4e,L4e=["abandoned","able","acceptable","acclaimed","accomplished","accurate","aching","acidic","actual","admired","adolescent","advanced","affectionate","afraid","aged","aggravating","aggressive","agile","agitated","agreeable","ajar","alarmed","alert","alienated","alive","all","altruistic","amazing","ambitious","ample","amused","angelic","anguished","animated","annual","another","antique","any","apprehensive","appropriate","apt","arid","artistic","ashamed","assured","astonishing","athletic","austere","authentic","authorized","avaricious","average","aware","awesome","awful","babyish","back","bad","baggy","bare","basic","beloved","beneficial","best","better","big","biodegradable","bitter","black","black-and-white","blank","blaring","bleak","blind","blond","blue","blushing","bogus","boiling","bony","boring","bossy","both","bouncy","bowed","brave","breakable","bright","brilliant","brisk","broken","brown","bruised","bulky","burdensome","burly","bustling","busy","buttery","buzzing","calculating","candid","carefree","careless","caring","cautious","cavernous","celebrated","charming","cheap","cheerful","chilly","chubby","circular","classic","clean","clear","clear-cut","close","closed","cloudy","clueless","clumsy","cluttered","coarse","colorful","colorless","colossal","comfortable","common","compassionate","competent","complete","complicated","concerned","concrete","confused","considerate","content","cool","cooperative","coordinated","corny","corrupt","courageous","courteous","crafty","crazy","creamy","creative","criminal","critical","crooked","crowded","cruel","crushing","cuddly","cultivated","cumbersome","curly","cute","damaged","damp","dapper","dark","darling","dazzling","dead","deadly","deafening","dearest","decent","decisive","deep","defenseless","defensive","deficient","definite","definitive","delectable","delicious","delirious","dense","dental","dependable","dependent","descriptive","deserted","determined","devoted","different","difficult","digital","diligent","dim","direct","dirty","discrete","disloyal","dismal","distant","distinct","distorted","doting","downright","drab","dramatic","dreary","dual","dull","dutiful","each","early","earnest","easy","ecstatic","edible","educated","elastic","elderly","electric","elegant","elementary","elliptical","eminent","emotional","empty","enchanted","enchanting","energetic","enlightened","enraged","entire","equatorial","essential","esteemed","ethical","everlasting","every","evil","exalted","excellent","excitable","excited","exhausted","exotic","expensive","experienced","expert","extra-large","extroverted","failing","faint","fair","fake","familiar","fantastic","far","far-flung","far-off","faraway","fat","fatal","fatherly","favorable","favorite","fearless","feline","filthy","fine","finished","firm","first","firsthand","fixed","flashy","flawed","flawless","flickering","flimsy","flowery","fluffy","flustered","focused","fond","foolhardy","foolish","forceful","formal","forsaken","fortunate","fragrant","frail","frank","free","french","frequent","friendly","frightened","frilly","frivolous","frizzy","front","frozen","frugal","fruitful","functional","funny","fussy","fuzzy","gaseous","general","gentle","genuine","gifted","gigantic","giving","glaring","glass","gleaming","glittering","gloomy","glorious","glossy","glum","golden","good","good-natured","gorgeous","graceful","gracious","grandiose","granular","grave","gray","great","greedy","grim","grimy","gripping","grizzled","grouchy","grounded","growing","grown","grubby","gruesome","grumpy","guilty","gullible","gummy","hairy","handsome","handy","happy","happy-go-lucky","hard-to-find","harmful","hasty","hateful","haunting","heartfelt","heavenly","heavy","hefty","helpful","helpless","hidden","hoarse","hollow","homely","honorable","honored","hopeful","hospitable","hot","huge","humble","humiliating","hungry","hurtful","husky","icy","ideal","idealistic","idolized","ignorant","ill","ill-fated","illiterate","illustrious","imaginary","imaginative","immaculate","immediate","immense","impartial","impassioned","impeccable","impish","impolite","important","impossible","impractical","impressionable","impressive","improbable","impure","inborn","incomparable","incomplete","inconsequential","indelible","indolent","inexperienced","infamous","infatuated","inferior","infinite","informal","innocent","insecure","insidious","insignificant","insistent","instructive","intelligent","intent","interesting","internal","international","intrepid","ironclad","irresponsible","jagged","jam-packed","jaunty","jealous","jittery","joyful","joyous","jubilant","judicious","juicy","jumbo","junior","juvenile","kaleidoscopic","key","knotty","knowledgeable","known","kooky","kosher","lanky","last","lasting","late","lavish","lawful","lazy","leading","lean","left","legal","light","lighthearted","likable","likely","limited","limp","limping","linear","lined","liquid","little","live","lively","livid","lone","lonely","long","long-term","lost","lovable","lovely","low","lucky","lumbering","lumpy","lustrous","mad","made-up","magnificent","majestic","major","male","mammoth","married","marvelous","massive","mature","meager","mealy","mean","measly","meaty","mediocre","medium","memorable","menacing","merry","messy","metallic","mild","milky","mindless","minor","minty","miserable","miserly","misguided","mixed","moist","monstrous","monthly","monumental","moral","motionless","muddy","muffled","multicolored","mundane","murky","mushy","musty","muted","mysterious","narrow","natural","naughty","nautical","near","neat","necessary","needy","negative","neglected","negligible","neighboring","nervous","new","next","nice","nifty","nimble","nippy","nocturnal","normal","noted","noteworthy","noxious","numb","nutritious","obedient","oblong","obvious","odd","oddball","official","oily","old","old-fashioned","only","optimal","optimistic","orange","orderly","ordinary","ornate","ornery","other","our","outgoing","outlandish","outlying","outrageous","outstanding","oval","overcooked","overdue","palatable","pale","paltry","parallel","parched","partial","passionate","pastel","peaceful","peppery","perfumed","perky","personal","pertinent","pessimistic","petty","phony","physical","pink","pitiful","plain","pleasant","pleased","pleasing","plump","pointed","pointless","polished","polite","political","poor","portly","posh","possible","potable","powerful","powerless","practical","precious","present","prestigious","pretty","pricey","prickly","primary","prime","private","probable","productive","profitable","profuse","proper","proud","prudent","punctual","puny","pure","purple","pushy","putrid","puzzled","qualified","quarrelsome","quarterly","queasy","querulous","questionable","quick","quick-witted","quiet","quintessential","quixotic","radiant","ragged","rapid","rare","raw","realistic","reasonable","recent","reckless","rectangular","red","reflecting","regal","regular","remarkable","remorseful","repentant","respectful","responsible","rewarding","rich","right","rigid","ripe","roasted","robust","rosy","rotating","rotten","rough","round","rowdy","royal","rubbery","ruddy","rundown","runny","rural","rusty","sad","salty","same","sandy","sarcastic","sardonic","scaly","scared","scary","scented","scientific","scornful","scratchy","second","second-hand","secondary","secret","self-assured","self-reliant","selfish","sentimental","separate","serene","serpentine","severe","shabby","shadowy","shady","shallow","shameful","shameless","shimmering","shiny","shocked","shoddy","short","short-term","showy","shrill","shy","sick","silent","silky","silver","similar","simple","simplistic","sinful","sizzling","skeletal","sleepy","slight","slimy","slow","slushy","small","smart","smoggy","smooth","smug","snappy","snarling","sneaky","sniveling","snoopy","sociable","soft","soggy","somber","some","sophisticated","sore","sorrowful","soulful","soupy","sour","spanish","sparkling","sparse","specific","speedy","spherical","spiffy","spirited","spiteful","splendid","spotless","square","squeaky","squiggly","stable","staid","stained","stale","standard","stark","steel","steep","sticky","stiff","stingy","stormy","straight","strange","strict","strident","striking","strong","stunning","stupendous","sturdy","stylish","subdued","submissive","substantial","subtle","suburban","sudden","sugary","sunny","super","superb","superficial","superior","supportive","sure-footed","surprised","svelte","sweet","swift","talkative","tall","tame","tangible","tasty","tattered","taut","tedious","teeming","tempting","tender","tense","tepid","terrible","that","these","thick","thin","thorny","thorough","those","thrifty","tidy","tight","timely","tinted","tiny","tired","torn","total","tough","tragic","trained","triangular","tricky","trim","trivial","troubled","true","trusting","trustworthy","trusty","turbulent","twin","ugly","ultimate","unaware","uncomfortable","uncommon","unconscious","understated","uneven","unfinished","unfit","unfortunate","unhappy","unhealthy","uniform","unimportant","unique","unkempt","unknown","unlawful","unlined","unlucky","unpleasant","unrealistic","unripe","unruly","unselfish","unsightly","unsteady","unsung","untidy","untimely","untried","untrue","unused","unusual","unwelcome","unwieldy","unwilling","unwritten","upbeat","upright","upset","urban","usable","useless","utilized","utter","vague","vain","valuable","variable","vast","velvety","vengeful","vibrant","victorious","violent","vivacious","vivid","voluminous","warlike","warm","warmhearted","warped","wasteful","waterlogged","watery","wavy","wealthy","weary","webbed","wee","weekly","weighty","weird","well-documented","well-groomed","well-lit","well-made","well-off","well-to-do","well-worn","which","whimsical","whirlwind","whispered","white","whole","whopping","wicked","wide","wide-eyed","wiggly","willing","wilted","winding","windy","winged","wise","witty","wobbly","woeful","wonderful","wordy","worldly","worse","worst","worthless","worthwhile","worthy","wrathful","wretched","writhing","wrong","wry","yearly","yellow","yellowish","young","youthful","yummy","zany","zealous","zesty"],M4e=["abnormally","absentmindedly","accidentally","acidly","actually","adventurously","afterwards","almost","always","angrily","annually","anxiously","arrogantly","awkwardly","badly","bashfully","beautifully","bitterly","bleakly","blindly","blissfully","boastfully","boldly","bravely","briefly","brightly","briskly","broadly","busily","calmly","carefully","carelessly","cautiously","certainly","cheerfully","clearly","cleverly","closely","coaxingly","colorfully","commonly","continually","coolly","correctly","courageously","crossly","cruelly","curiously","daily","daintily","dearly","deceivingly","deeply","defiantly","deliberately","delightfully","diligently","dimly","doubtfully","dreamily","easily","elegantly","energetically","enormously","enthusiastically","equally","especially","even","evenly","eventually","exactly","excitedly","extremely","fairly","faithfully","famously","far","fast","fatally","ferociously","fervently","fiercely","fondly","foolishly","fortunately","frankly","frantically","freely","frenetically","frightfully","fully","furiously","generally","generously","gently","gladly","gleefully","gracefully","gratefully","greatly","greedily","happily","hastily","healthily","heavily","helpfully","helplessly","highly","honestly","hopelessly","hourly","hungrily","immediately","innocently","inquisitively","instantly","intensely","intently","interestingly","inwardly","irritably","jaggedly","jealously","joshingly","jovially","joyfully","joyously","jubilantly","judgementally","justly","keenly","kiddingly","kindheartedly","kindly","kissingly","knavishly","knottily","knowingly","knowledgeably","kookily","lazily","less","lightly","likely","limply","lively","loftily","longingly","loosely","loudly","lovingly","loyally","madly","majestically","meaningfully","mechanically","merrily","miserably","mockingly","monthly","more","mortally","mostly","mysteriously","naturally","nearly","neatly","needily","nervously","never","nicely","noisily","not","obediently","obnoxiously","oddly","offensively","officially","often","only","openly","optimistically","overconfidently","owlishly","painfully","partially","patiently","perfectly","physically","playfully","politely","poorly","positively","potentially","powerfully","promptly","properly","punctually","quaintly","quarrelsomely","queasily","questionably","questioningly","quicker","quickly","quietly","quirkily","quizzically","rapidly","rarely","readily","really","reassuringly","recklessly","regularly","reluctantly","repeatedly","reproachfully","restfully","righteously","rightfully","rigidly","roughly","rudely","sadly","safely","scarcely","scarily","searchingly","sedately","seemingly","seldom","selfishly","separately","seriously","shakily","sharply","sheepishly","shrilly","shyly","silently","sleepily","slowly","smoothly","softly","solemnly","solidly","sometimes","soon","speedily","stealthily","sternly","strictly","successfully","suddenly","surprisingly","suspiciously","sweetly","swiftly","sympathetically","tenderly","tensely","terribly","thankfully","thoroughly","thoughtfully","tightly","tomorrow","too","tremendously","triumphantly","truly","truthfully","ultimately","unabashedly","unaccountably","unbearably","unethically","unexpectedly","unfortunately","unimpressively","unnaturally","unnecessarily","upbeat","upliftingly","upright","upside-down","upward","upwardly","urgently","usefully","uselessly","usually","utterly","vacantly","vaguely","vainly","valiantly","vastly","verbally","very","viciously","victoriously","violently","vivaciously","voluntarily","warmly","weakly","wearily","well","wetly","wholly","wildly","willfully","wisely","woefully","wonderfully","worriedly","wrongly","yawningly","yearly","yearningly","yesterday","yieldingly","youthfully"],I4e=["after","although","and","as","because","before","but","consequently","even","finally","for","furthermore","hence","how","however","if","inasmuch","incidentally","indeed","instead","lest","likewise","meanwhile","nor","now","once","or","provided","since","so","supposing","than","that","though","till","unless","until","what","when","whenever","where","whereas","wherever","whether","which","while","who","whoever","whose","why","yet"],O4e=["yuck","oh","phooey","blah","boo","whoa","yowza","huzzah","boohoo","fooey","geez","pfft","ew","ah","yum","brr","hm","yahoo","aha","woot","drat","gah","meh","psst","aw","ugh","yippee","eek","gee","bah","gadzooks","duh","ha","mmm","ouch","phew","ack","uh-huh","gosh","hmph","pish","zowie","er","ick","oof","um"],B4e=["CD","SUV","abacus","academics","accelerator","accompanist","account","accountability","acquaintance","ad","adaptation","address","adrenalin","adult","advancement","advertisement","adviser","affect","affiliate","aftermath","agreement","airbus","aircraft","airline","airmail","airman","airport","alb","alert","allegation","alliance","alligator","allocation","almighty","amendment","amnesty","analogy","angle","annual","antelope","anticodon","apparatus","appliance","approach","apricot","arcade","archaeology","armchair","armoire","asset","assist","atrium","attraction","availability","avalanche","awareness","babushka","backbone","backburn","bakeware","bandwidth","bar","barge","baritone","barracks","baseboard","basket","bathhouse","bathrobe","battle","begonia","behest","bell","bench","bend","beret","best-seller","bid","bidet","bin","birdbath","birdcage","birth","blight","blossom","blowgun","bob","bog","bonfire","bonnet","bookcase","bookend","boulevard","bourgeoisie","bowler","bowling","boyfriend","brace","bracelet","bran","breastplate","brief","brochure","brook","brush","bug","bump","bungalow","cafe","cake","calculus","cannon","cantaloupe","cap","cappelletti","captain","caption","carboxyl","cardboard","carnival","case","casement","cash","casket","cassava","castanet","catalyst","cauliflower","cellar","celsius","cemetery","ceramic","ceramics","certification","chainstay","chairperson","challenge","championship","chap","chapel","character","characterization","charlatan","charm","chasuble","cheese","cheetah","chiffonier","chops","chow","cinder","cinema","circumference","citizen","clamp","clavicle","cleaner","climb","co-producer","coal","coast","cod","coil","coin","coliseum","collaboration","collectivization","colon","colonialism","comestible","commercial","commodity","community","comparison","completion","complication","compromise","concentration","configuration","confusion","conservation","conservative","consistency","contractor","contrail","convection","conversation","cook","coordination","cop-out","cope","cork","cornet","corporation","corral","cosset","costume","couch","council","councilman","countess","courtroom","cow","creator","creature","crest","cricket","crocodile","cross-contamination","cruelty","cuckoo","curl","custody","custom","cutlet","cutover","cycle","daddy","dandelion","dash","daughter","dead","decision","deck","declaration","decongestant","decryption","deduction","deed","deer","defendant","density","department","dependency","deployment","depot","derby","descendant","descent","design","designation","desk","detective","devastation","developing","developmental","devil","diagram","digestive","digit","dime","director","disadvantage","disappointment","disclosure","disconnection","discourse","dish","disk","disposer","distinction","diver","diversity","dividend","divine","doing","doorpost","doubter","draft","draw","dream","dredger","dress","drive","drug","duffel","dulcimer","dusk","duster","dwell","e-mail","earth","ecliptic","ectoderm","edge","editor","effector","eggplant","electronics","elevation","elevator","elver","embarrassment","embossing","emergent","encouragement","entry","epic","equal","essence","eternity","ethyl","euphonium","event","exasperation","excess","executor","exhaust","expansion","expense","experience","exploration","extension","extent","exterior","eyebrow","eyeliner","farm","farmer","fat","fax","feather","fedora","fellow","fen","fencing","ferret","festival","fibre","filter","final","finding","finer","finger","fireplace","fisherman","fishery","fit","flame","flat","fledgling","flight","flint","flood","flu","fog","fold","folklore","follower","following","foodstuffs","footrest","forage","forager","forgery","fork","formamide","formation","formula","fort","fowl","fraudster","freckle","freezing","freight","fuel","fun","fund","fundraising","futon","gallery","galoshes","gastropod","gazebo","gerbil","ghost","giant","gift","giggle","glider","gloom","goat","godfather","godparent","going","goodwill","governance","government","gown","gradient","graffiti","grandpa","grandson","granny","grass","gray","gripper","grouper","guacamole","guard","guidance","guide","gym","gymnast","habit","haircut","halt","hamburger","hammock","handful","handle","handover","harp","haversack","hawk","heartache","heartbeat","heating","hello","help","hepatitis","heroine","hexagon","hierarchy","hippodrome","honesty","hoof","hope","horde","hornet","horst","hose","hospitalization","hovel","hovercraft","hubris","humidity","humor","hundred","hunger","hunt","husband","hutch","hydrant","hydrocarbon","hydrolyse","hydrolyze","hyena","hygienic","hyphenation","ice-cream","icebreaker","igloo","ignorance","illusion","impact","import","importance","impostor","in-joke","incandescence","independence","individual","information","injunction","innovation","insolence","inspection","instance","institute","instruction","instructor","integer","intellect","intent","interchange","interior","intervention","interviewer","invite","iridescence","issue","jacket","jazz","jellyfish","jet","jogging","joy","juggernaut","jump","jungle","junior","jury","kettledrum","kick","kielbasa","kinase","king","kiss","kit","knickers","knight","knitting","knuckle","label","labourer","lace","lady","lamp","language","larva","lashes","laughter","lava","lawmaker","lay","leading","league","legend","legging","legislature","lender","license","lid","lieu","lifestyle","lift","linseed","litter","loaf","lobster","longboat","lotion","lounge","louse","lox","loyalty","luck","lyre","maestro","mainstream","maintainer","majority","makeover","making","mallard","management","manner","mantua","marathon","march","marimba","marketplace","marksman","markup","marten","massage","masterpiece","mathematics","meadow","meal","meander","meatloaf","mechanic","median","membership","mentor","merit","metabolite","metal","middle","midwife","milestone","millet","minion","minister","minor","minority","mixture","mobility","molasses","mom","moment","monasticism","monocle","monster","morbidity","morning","mortise","mountain","mouser","mousse","mozzarella","muscat","mythology","napkin","necklace","nectarine","negotiation","nephew","nerve","netsuke","newsletter","newsprint","newsstand","nightlife","noon","nougat","nucleotidase","nudge","numeracy","numeric","nun","obedience","obesity","object","obligation","ocelot","octave","offset","oil","omelet","onset","opera","operating","optimal","orchid","order","ostrich","other","outlaw","outrun","outset","overcoat","overheard","overload","ownership","pacemaker","packaging","paintwork","palate","pants","pantyhose","papa","parade","parsnip","partridge","passport","pasta","patroller","pear","pearl","pecan","pendant","peninsula","pension","peony","pepper","perfection","permafrost","perp","petal","petticoat","pharmacopoeia","phrase","pick","piglet","pigpen","pigsty","pile","pillbox","pillow","pilot","pine","pinstripe","place","plain","planula","plastic","platter","platypus","pleasure","pliers","plugin","plumber","pneumonia","pocket-watch","poetry","polarisation","polyester","pomelo","pop","poppy","popularity","populist","porter","possession","postbox","precedent","premeditation","premier","premise","premium","pressure","presume","priesthood","printer","privilege","procurement","produce","programme","prohibition","promise","pronoun","providence","provider","provision","publication","publicity","pulse","punctuation","pupil","puppet","puritan","quart","quinoa","quit","railway","range","rationale","ravioli","rawhide","reach","reasoning","reboot","receptor","recommendation","reconsideration","recovery","redesign","relative","release","remark","reorganisation","repeat","replacement","reporter","representation","republican","request","requirement","reservation","resolve","resource","responsibility","restaurant","retention","retrospectivity","reward","ribbon","rim","riser","roadway","role","rosemary","roundabout","rubric","ruin","rule","runway","rust","safe","sailor","saloon","sand","sandbar","sanity","sarong","sauerkraut","saw","scaffold","scale","scarification","scenario","schedule","schnitzel","scholarship","scorn","scorpion","scout","scrap","scratch","seafood","seagull","seal","season","secrecy","secret","section","sediment","self-confidence","sermon","sesame","settler","shadowbox","shark","shipper","shore","shoulder","sideboard","siege","sightseeing","signature","silk","simple","singing","skean","skeleton","skyline","skyscraper","slide","slime","slipper","smog","smoke","sock","soliloquy","solution","solvency","someplace","sonar","sonata","sonnet","soup","soybean","space","spear","spirit","spork","sport","spring","sprinkles","squid","stall","starboard","statue","status","stay","steak","steeple","step","step-mother","sticker","stir-fry","stitcher","stock","stool","story","strait","stranger","strategy","straw","stump","subexpression","submitter","subsidy","substitution","suitcase","summary","summer","sunbeam","sundae","supplier","surface","sushi","suspension","sustenance","swanling","swath","sweatshop","swim","swine","swing","switch","switchboard","swordfish","synergy","t-shirt","tabletop","tackle","tail","tapioca","taro","tarragon","taxicab","teammate","technician","technologist","tectonics","tenant","tenement","tennis","tentacle","teriyaki","term","testimonial","testing","thigh","thongs","thorn","thread","thunderbolt","thyme","tinderbox","toaster","tomatillo","tomb","tomography","tool","tooth","toothbrush","toothpick","topsail","traditionalism","traffic","translation","transom","transparency","trash","travel","tray","trench","tribe","tributary","trick","trolley","tuba","tuber","tune-up","turret","tusk","tuxedo","typeface","typewriter","unblinking","underneath","underpants","understanding","unibody","unique","unit","utilization","valentine","validity","valley","valuable","vanadyl","vein","velocity","venom","version","verve","vestment","veto","viability","vibraphone","vibration","vicinity","video","violin","vision","vista","vol","volleyball","wafer","waist","wallaby","warming","wasabi","waterspout","wear","wedding","whack","whale","wheel","widow","wilderness","willow","window","wombat","word","worth","wriggler","yak","yarmulke","yeast","yin","yogurt","zebra","zen"],P4e=["a","abaft","aboard","about","above","absent","across","afore","after","against","along","alongside","amid","amidst","among","amongst","an","anenst","anti","apropos","apud","around","as","aside","astride","at","athwart","atop","barring","before","behind","below","beneath","beside","besides","between","beyond","but","by","circa","concerning","considering","despite","down","during","except","excepting","excluding","failing","following","for","forenenst","from","given","in","including","inside","into","lest","like","mid","midst","minus","modulo","near","next","notwithstanding","of","off","on","onto","opposite","out","outside","over","pace","past","per","plus","pro","qua","regarding","round","sans","save","since","than","the","through","throughout","till","times","to","toward","towards","under","underneath","unlike","until","unto","up","upon","versus","via","vice","with","within","without","worth"],z4e=["abnegate","abscond","abseil","absolve","accentuate","accept","access","accessorise","accompany","account","accredit","achieve","acknowledge","acquire","adjourn","adjudge","admonish","adumbrate","advocate","afford","airbrush","ameliorate","amend","amount","anaesthetise","analyse","anesthetize","anneal","annex","antagonize","ape","apologise","apostrophize","appertain","appreciate","appropriate","approximate","arbitrate","archive","arraign","arrange","ascertain","ascribe","assail","atomize","attend","attest","attribute","augment","avow","axe","baa","banish","bank","baptise","battle","beard","beep","behold","belabor","bemuse","besmirch","bestride","better","bewail","bicycle","bide","bind","biodegrade","blacken","blaspheme","bleach","blend","blink","bliss","bloom","bludgeon","bobble","boggle","bolster","book","boom","bootleg","border","bore","boss","braid","brand","brandish","break","breed","broadcast","broadside","brood","browse","buck","burgeon","bus","butter","buzzing","camouflage","cannibalise","canter","cap","capitalise","capitalize","capsize","card","carouse","carp","carpool","catalog","catalyze","catch","categorise","cease","celebrate","censor","certify","char","charter","chase","chatter","chime","chip","christen","chromakey","chunder","chunter","cinch","circle","circulate","circumnavigate","clamor","clamour","claw","cleave","clinch","clinking","clone","clonk","coagulate","coexist","coincide","collaborate","colligate","colorize","colour","comb","come","commandeer","commemorate","communicate","compete","conceal","conceptualize","conclude","concrete","condense","cone","confide","confirm","confiscate","confound","confute","congregate","conjecture","connect","consign","construe","contradict","contrast","contravene","controvert","convalesce","converse","convince","convoke","coop","cop","corner","covenant","cow","crackle","cram","crank","creak","creaking","cripple","croon","cross","crumble","crystallize","culminate","culture","curry","curse","customise","cycle","dally","dampen","darn","debit","debut","decide","decode","decouple","decriminalize","deduce","deduct","deflate","deflect","deform","defrag","degenerate","degrease","delete","delight","deliquesce","demob","demobilise","democratize","demonstrate","denitrify","deny","depart","depend","deplore","deploy","deprave","depute","dereference","describe","desecrate","deselect","destock","detain","develop","devise","dial","dicker","digitize","dilate","disapprove","disarm","disbar","discontinue","disgorge","dishearten","dishonor","disinherit","dislocate","dispense","display","dispose","disrespect","dissemble","ditch","divert","dock","doodle","downchange","downshift","dowse","draft","drag","drain","dramatize","drowse","drum","dwell","economise","edge","efface","egg","eke","electrify","embalm","embed","embody","emboss","emerge","emphasise","emphasize","emulsify","encode","endow","enfold","engage","engender","enhance","enlist","enrage","enrich","enroll","entice","entomb","entrench","entwine","equate","essay","etch","eulogise","even","evince","exacerbate","exaggerate","exalt","exempt","exonerate","expatiate","explode","expostulate","extract","extricate","eyeglasses","fabricate","facilitate","factorise","factorize","fail","fall","familiarize","fashion","father","fathom","fax","federate","feminize","fence","fess","fictionalize","fiddle","fidget","fill","flash","fleck","flight","floodlight","floss","fluctuate","fluff","fly","focalise","foot","forearm","forecast","foretell","forgather","forgo","fork","form","forswear","founder","fraternise","fray","frizz","fumigate","function","furlough","fuss","gad","gallivant","galvanize","gape","garage","garrote","gasp","gestate","give","glimmer","glisten","gloat","gloss","glow","gnash","gnaw","goose","govern","grade","graduate","graft","grok","guest","guilt","gulp","gum","gurn","gust","gut","guzzle","ham","harangue","harvest","hassle","haul","haze","headline","hearten","heighten","highlight","hoick","hold","hole","hollow","holster","home","homeschool","hoot","horn","horse","hotfoot","house","hover","howl","huddle","huff","hunger","hunt","husk","hype","hypothesise","hypothesize","idle","ignite","imagineer","impact","impanel","implode","incinerate","incline","inculcate","industrialize","ingratiate","inhibit","inject","innovate","inscribe","insert","insist","inspect","institute","institutionalize","intend","intermarry","intermesh","intermix","internalise","internalize","internationalize","intrigue","inure","inveigle","inventory","investigate","irk","iterate","jaywalk","jell","jeopardise","jiggle","jive","joint","jot","jut","keel","knife","knit","know","kowtow","lack","lampoon","large","leap","lecture","legitimize","lend","libel","liberalize","license","ligate","list","lobotomise","lock","log","loose","low","lowball","machine","magnetize","major","make","malfunction","manage","manipulate","maroon","masculinize","mash","mask","masquerade","massage","masticate","materialise","matter","maul","memorise","merge","mesh","metabolise","microblog","microchip","micromanage","militate","mill","minister","minor","misappropriate","miscalculate","misfire","misjudge","miskey","mismatch","mispronounce","misread","misreport","misspend","mob","mobilise","mobilize","moisten","mooch","moor","moralise","mortar","mosh","mothball","motivate","motor","mould","mount","muddy","mummify","mutate","mystify","nab","narrate","narrowcast","nasalise","nauseate","navigate","neaten","neck","neglect","norm","notarize","object","obscure","observe","obsess","obstruct","obtrude","offend","offset","option","orchestrate","orient","orientate","outbid","outdo","outfit","outflank","outfox","outnumber","outrank","outrun","outsource","overburden","overcharge","overcook","overdub","overfeed","overload","overplay","overproduce","overreact","override","overspend","overstay","overtrain","overvalue","overwork","own","oxidise","oxidize","oxygenate","pace","pack","pale","pant","paralyse","parody","part","pause","pave","penalise","persecute","personalise","perspire","pertain","peter","pike","pillory","pinion","pip","pity","pivot","pixellate","plagiarise","plait","plan","please","pluck","ponder","popularize","portray","prance","preclude","preheat","prejudge","preregister","presell","preside","pretend","print","prioritize","probate","probe","proceed","procrastinate","profane","progress","proliferate","proofread","propound","proselytise","provision","pry","publicize","puff","pull","pulp","pulverize","purse","put","putrefy","quadruple","quaff","quantify","quarrel","quash","quaver","question","quiet","quintuple","quip","quit","rag","rally","ramp","randomize","rationalise","rationalize","ravage","ravel","react","readies","readjust","readmit","ready","reapply","rear","reassemble","rebel","reboot","reborn","rebound","rebuff","rebuild","rebuke","recede","reckon","reclassify","recompense","reconstitute","record","recount","redact","redevelop","redound","redraw","redress","reel","refer","reference","refine","reflate","refute","regulate","reiterate","rejigger","rejoin","rekindle","relaunch","relieve","remand","remark","reopen","reorient","replicate","repossess","represent","reprimand","reproach","reprove","repurpose","requite","reschedule","resort","respray","restructure","retool","retract","revere","revitalise","revoke","reword","rewrite","ride","ridge","rim","ring","rise","rival","roger","rosin","rot","rout","row","rue","rule","safeguard","sashay","sate","satirise","satirize","satisfy","saturate","savour","scale","scamper","scar","scare","scarper","scent","schematise","scheme","schlep","scoff","scoop","scope","scotch","scowl","scrabble","scram","scramble","scrape","screw","scruple","scrutinise","scuffle","scuttle","search","secularize","see","segregate","sell","sense","sensitize","sequester","serenade","serialize","serve","service","settle","sew","shaft","sham","shampoo","shanghai","shear","sheathe","shell","shinny","shirk","shoot","shoulder","shout","shovel","showboat","shred","shrill","shudder","shush","sidetrack","sign","silt","sin","singe","sit","sizzle","skateboard","ski","slake","slap","slather","sleet","slink","slip","slope","slump","smarten","smuggle","snack","sneak","sniff","snoop","snow","snowplow","snuggle","soap","solace","solder","solicit","source","spark","spattering","spectacles","spectate","spellcheck","spew","spice","spirit","splash","splay","split","splosh","splurge","spook","square","squirm","stabilise","stable","stack","stage","stake","starch","state","statement","stiffen","stigmatize","sting","stint","stoop","store","storyboard","stratify","structure","stuff","stunt","substantiate","subtract","suckle","suffice","suffocate","summarise","sun","sunbathe","sunder","sup","surge","surprise","swat","swathe","sway","swear","swelter","swerve","swill","swing","symbolise","synthesise","syringe","table","tabulate","tag","tame","tank","tankful","tarry","task","taxicab","team","telescope","tenant","terraform","terrorise","testify","think","throbbing","thump","tighten","toady","toe","tough","tousle","traduce","train","transcend","transplant","trash","treasure","treble","trek","trial","tromp","trouser","trust","tune","tut","twine","twist","typify","unbalance","uncork","uncover","underachieve","undergo","underplay","unearth","unfreeze","unfurl","unlearn","unscramble","unzip","uproot","upsell","usher","vacation","vamoose","vanish","vary","veg","venture","verify","vet","veto","volunteer","vulgarise","waft","wallop","waltz","warp","wash","waver","weary","weatherize","wedge","weep","weight","welcome","westernise","westernize","while","whine","whisper","whistle","whitewash","whup","wilt","wing","wire","wisecrack","wolf","wound","wring","writ","yak","yawn","yearn","yuppify"],H4e={adjective:L4e,adverb:M4e,conjunction:I4e,interjection:O4e,noun:B4e,preposition:P4e,verb:z4e},U4e=H4e,G4e={airline:kTe,animal:$Te,app:KTe,book:r3e,cell_phone:i3e,color:l3e,commerce:p3e,company:x3e,database:C3e,date:D3e,finance:j3e,food:rAe,hacker:uAe,internet:fAe,location:MAe,lorem:BAe,metadata:zAe,music:qAe,person:c4e,phone_number:b4e,science:E4e,team:k4e,vehicle:N4e,word:U4e},pee=G4e,Xt=class extends Error{};function $4e(e){let t=Object.getPrototypeOf(e);do{for(let r of Object.getOwnPropertyNames(t))typeof e[r]=="function"&&r!=="constructor"&&(e[r]=e[r].bind(e));t=Object.getPrototypeOf(t)}while(t!==Object.prototype)}var cp=class{constructor(t){this.faker=t,$4e(this)}},Sn=class extends cp{constructor(t){super(t),this.faker=t}},fee=(e=>(e.Narrowbody="narrowbody",e.Regional="regional",e.Widebody="widebody",e))(fee||{}),j4e=["0","1","2","3","4","5","6","7","8","9"],q4e=["0","O","1","I","L"],W4e={regional:20,narrowbody:35,widebody:60},V4e={regional:["A","B","C","D"],narrowbody:["A","B","C","D","E","F"],widebody:["A","B","C","D","E","F","G","H","J","K"]},K4e=class extends Sn{airport(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airport)}airline(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airline)}airplane(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airplane)}recordLocator(t={}){let{allowNumerics:r=!1,allowVisuallySimilarCharacters:n=!1}=t,a=[];return r||a.push(...j4e),n||a.push(...q4e),this.faker.string.alphanumeric({length:6,casing:"upper",exclude:a})}seat(t={}){let{aircraftType:r="narrowbody"}=t,n=W4e[r],a=V4e[r],i=this.faker.number.int({min:1,max:n}),o=this.faker.helpers.arrayElement(a);return`${i}${o}`}aircraftType(){return this.faker.helpers.enumValue(fee)}flightNumber(t={}){let{length:r={min:1,max:4},addLeadingZeros:n=!1}=t,a=this.faker.string.numeric({length:r,allowLeadingZeros:!1});return n?a.padStart(4,"0"):a}},mee=(e=>(e.SRGB="sRGB",e.DisplayP3="display-p3",e.REC2020="rec2020",e.A98RGB="a98-rgb",e.ProphotoRGB="prophoto-rgb",e))(mee||{}),gee=(e=>(e.RGB="rgb",e.RGBA="rgba",e.HSL="hsl",e.HSLA="hsla",e.HWB="hwb",e.CMYK="cmyk",e.LAB="lab",e.LCH="lch",e.COLOR="color",e))(gee||{});function Y4e(e,t){let{prefix:r,casing:n}=t;switch(n){case"upper":{e=e.toUpperCase();break}case"lower":{e=e.toLowerCase();break}}return r&&(e=r+e),e}function bee(e){return e.map(t=>{if(t%1!==0){let r=new ArrayBuffer(4);new DataView(r).setFloat32(0,t);let n=new Uint8Array(r);return bee([...n]).replaceAll(" ","")}return(t>>>0).toString(2).padStart(8,"0")}).join(" ")}function yi(e){return Math.round(e*100)}function X4e(e,t="rgb",r="sRGB"){switch(t){case"rgba":return`rgba(${e[0]}, ${e[1]}, ${e[2]}, ${e[3]})`;case"color":return`color(${r} ${e[0]} ${e[1]} ${e[2]})`;case"cmyk":return`cmyk(${yi(e[0])}%, ${yi(e[1])}%, ${yi(e[2])}%, ${yi(e[3])}%)`;case"hsl":return`hsl(${e[0]}deg ${yi(e[1])}% ${yi(e[2])}%)`;case"hsla":return`hsl(${e[0]}deg ${yi(e[1])}% ${yi(e[2])}% / ${yi(e[3])})`;case"hwb":return`hwb(${e[0]} ${yi(e[1])}% ${yi(e[2])}%)`;case"lab":return`lab(${yi(e[0])}% ${e[1]} ${e[2]})`;case"lch":return`lch(${yi(e[0])}% ${e[1]} ${e[2]})`;case"rgb":return`rgb(${e[0]}, ${e[1]}, ${e[2]})`}}function rc(e,t,r="rgb",n="sRGB"){switch(t){case"css":return X4e(e,r,n);case"binary":return bee(e);case"decimal":return e}}var J4e=class extends Sn{human(){return this.faker.helpers.arrayElement(this.faker.definitions.color.human)}space(){return this.faker.helpers.arrayElement(this.faker.definitions.color.space)}cssSupportedFunction(){return this.faker.helpers.enumValue(gee)}cssSupportedSpace(){return this.faker.helpers.enumValue(mee)}rgb(t={}){let{format:r="hex",includeAlpha:n=!1,prefix:a="#",casing:i="lower"}=t,o,s="rgb";return r==="hex"?(o=this.faker.string.hexadecimal({length:n?8:6,prefix:""}),o=Y4e(o,{prefix:a,casing:i}),o):(o=Array.from({length:3},()=>this.faker.number.int(255)),n&&(o.push(this.faker.number.float({multipleOf:.01})),s="rgba"),rc(o,r,s))}cmyk(t={}){let{format:r="decimal"}=t,n=Array.from({length:4},()=>this.faker.number.float({multipleOf:.01}));return rc(n,r,"cmyk")}hsl(t={}){let{format:r="decimal",includeAlpha:n=!1}=t,a=[this.faker.number.int(360)];for(let i=0;i<(t!=null&&t.includeAlpha?3:2);i++)a.push(this.faker.number.float({multipleOf:.01}));return rc(a,r,n?"hsla":"hsl")}hwb(t={}){let{format:r="decimal"}=t,n=[this.faker.number.int(360)];for(let a=0;a<2;a++)n.push(this.faker.number.float({multipleOf:.01}));return rc(n,r,"hwb")}lab(t={}){let{format:r="decimal"}=t,n=[this.faker.number.float({multipleOf:1e-6})];for(let a=0;a<2;a++)n.push(this.faker.number.float({min:-100,max:100,multipleOf:1e-4}));return rc(n,r,"lab")}lch(t={}){let{format:r="decimal"}=t,n=[this.faker.number.float({multipleOf:1e-6})];for(let a=0;a<2;a++)n.push(this.faker.number.float({max:230,multipleOf:.1}));return rc(n,r,"lch")}colorByCSSColorSpace(t={}){let{format:r="decimal",space:n="sRGB"}=t,a=Array.from({length:3},()=>this.faker.number.float({multipleOf:1e-4}));return rc(a,r,"color",n)}},yee=(e=>(e.Legacy="legacy",e.Segwit="segwit",e.Bech32="bech32",e.Taproot="taproot",e))(yee||{}),Z4e=(e=>(e.Mainnet="mainnet",e.Testnet="testnet",e))(Z4e||{}),Q4e={legacy:{prefix:{mainnet:"1",testnet:"m"},length:{min:26,max:34},casing:"mixed",exclude:"0OIl"},segwit:{prefix:{mainnet:"3",testnet:"2"},length:{min:26,max:34},casing:"mixed",exclude:"0OIl"},bech32:{prefix:{mainnet:"bc1",testnet:"tb1"},length:{min:42,max:42},casing:"lower",exclude:"1bBiIoO"},taproot:{prefix:{mainnet:"bc1p",testnet:"tb1p"},length:{min:62,max:62},casing:"lower",exclude:"1bBiIoO"}},vee=typeof Buffer>"u"?e=>{let t=new TextEncoder().encode(e),r=Array.from(t,n=>String.fromCodePoint(n)).join("");return btoa(r)}:e=>Buffer.from(e).toString("base64"),U7=typeof Buffer>"u"?e=>vee(e).replaceAll("+","-").replaceAll("/","_").replaceAll(/=+$/g,""):e=>Buffer.from(e).toString("base64url");function Dh(e){let{deprecated:t,since:r,until:n,proposed:a}=e,i=`[@faker-js/faker]: ${t} is deprecated`;r&&(i+=` since v${r}`),n&&(i+=` and will be removed in v${n}`),a&&(i+=`. Please use ${a} instead`),console.warn(`${i}.`)}var e_e=Object.fromEntries([["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"]]),t_e=Object.fromEntries([["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"]]),r_e=Object.fromEntries([["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ","a"],["ُ","u"],["ِ","i"]]),n_e=Object.fromEntries([["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"]]),a_e=Object.fromEntries([["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"]]),i_e=Object.fromEntries([["א","a"],["ב","b"],["ג","g"],["ד","d"],["ה","h"],["ו","v"],["ז","z"],["ח","ch"],["ט","t"],["י","y"],["כ","k"],["ך","kh"],["ל","l"],["ם","m"],["מ","m"],["ן","n"],["נ","n"],["ס","s"],["ע","a"],["פ","f"],["ף","ph"],["צ","ts"],["ץ","ts"],["ק","k"],["ר","r"],["ש","sh"],["ת","t"],["ו","v"]]),G7={...e_e,...t_e,...r_e,...a_e,...n_e,...i_e},o_e=(e=>(e.Any="any",e.Loopback="loopback",e.PrivateA="private-a",e.PrivateB="private-b",e.PrivateC="private-c",e.TestNet1="test-net-1",e.TestNet2="test-net-2",e.TestNet3="test-net-3",e.LinkLocal="link-local",e.Multicast="multicast",e))(o_e||{}),s_e={any:"0.0.0.0/0",loopback:"127.0.0.0/8","private-a":"10.0.0.0/8","private-b":"172.16.0.0/12","private-c":"192.168.0.0/16","test-net-1":"192.0.2.0/24","test-net-2":"198.51.100.0/24","test-net-3":"203.0.113.0/24","link-local":"169.254.0.0/16",multicast:"224.0.0.0/4"};function $7(e){return/^[a-z][a-z-]*[a-z]$/i.exec(e)!==null}function j7(e,t){let r=e.helpers.slugify(t);if($7(r))return r;let n=e.helpers.slugify(e.lorem.word());return $7(n)?n:e.string.alpha({casing:"lower",length:e.number.int({min:4,max:8})})}function vx(e,t){return Math.floor((e.number.int(256)+t)/2).toString(16).padStart(2,"0")}var l_e=class extends Sn{email(t={}){let{firstName:r,lastName:n,provider:a=this.faker.helpers.arrayElement(this.faker.definitions.internet.free_email),allowSpecialCharacters:i=!1}=t,o=this.username({firstName:r,lastName:n});if(o=o.replaceAll(/[^A-Za-z0-9._+-]+/g,""),o=o.substring(0,50),i){let s=[..."._-"],l=[...".!#$%&'*+-/=?^_`{|}~"];o=o.replace(this.faker.helpers.arrayElement(s),this.faker.helpers.arrayElement(l))}return o=o.replaceAll(/\.{2,}/g,"."),o=o.replace(/^\./,""),o=o.replace(/\.$/,""),`${o}@${a}`}exampleEmail(t={}){let{firstName:r,lastName:n,allowSpecialCharacters:a=!1}=t,i=this.faker.helpers.arrayElement(this.faker.definitions.internet.example_email);return this.email({firstName:r,lastName:n,provider:i,allowSpecialCharacters:a})}userName(t={}){return Dh({deprecated:"faker.internet.userName()",proposed:"faker.internet.username()",since:"9.1.0",until:"10.0.0"}),this.username(t)}username(t={}){let{firstName:r=this.faker.person.firstName(),lastName:n=this.faker.person.lastName(),lastName:a}=t,i=this.faker.helpers.arrayElement([".","_"]),o=this.faker.number.int(99),s=[()=>`${r}${i}${n}${o}`,()=>`${r}${i}${n}`];a||s.push(()=>`${r}${o}`);let l=this.faker.helpers.arrayElement(s)();return l=l.normalize("NFKD").replaceAll(/[\u0300-\u036F]/g,""),l=[...l].map(u=>{if(G7[u])return G7[u];let d=u.codePointAt(0)??Number.NaN;return d<128?u:d.toString(36)}).join(""),l=l.toString().replaceAll("'",""),l=l.replaceAll(" ",""),l}displayName(t={}){let{firstName:r=this.faker.person.firstName(),lastName:n=this.faker.person.lastName()}=t,a=this.faker.helpers.arrayElement([".","_"]),i=this.faker.number.int(99),o=[()=>`${r}${i}`,()=>`${r}${a}${n}`,()=>`${r}${a}${n}${i}`],s=this.faker.helpers.arrayElement(o)();return s=s.toString().replaceAll("'",""),s=s.replaceAll(" ",""),s}protocol(){let t=["http","https"];return this.faker.helpers.arrayElement(t)}httpMethod(){let t=["GET","POST","PUT","DELETE","PATCH"];return this.faker.helpers.arrayElement(t)}httpStatusCode(t={}){let{types:r=Object.keys(this.faker.definitions.internet.http_status_code)}=t,n=this.faker.helpers.arrayElement(r);return this.faker.helpers.arrayElement(this.faker.definitions.internet.http_status_code[n])}url(t={}){let{appendSlash:r=this.faker.datatype.boolean(),protocol:n="https"}=t;return`${n}://${this.domainName()}${r?"/":""}`}domainName(){return`${this.domainWord()}.${this.domainSuffix()}`}domainSuffix(){return this.faker.helpers.arrayElement(this.faker.definitions.internet.domain_suffix)}domainWord(){let t=j7(this.faker,this.faker.word.adjective()),r=j7(this.faker,this.faker.word.noun());return`${t}-${r}`.toLowerCase()}ip(){return this.faker.datatype.boolean()?this.ipv4():this.ipv6()}ipv4(t={}){let{network:r="any",cidrBlock:n=s_e[r]}=t;if(!/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2}$/.test(n))throw new Xt(`Invalid CIDR block provided: ${n}. Must be in the format x.x.x.x/y.`);let[a,i]=n.split("/"),o=4294967295>>>Number.parseInt(i),[s,l,u,d]=a.split(".").map(Number),h=(s<<24|l<<16|u<<8|d)&~o,f=this.faker.number.int(o),m=h|f;return[m>>>24&255,m>>>16&255,m>>>8&255,m&255].join(".")}ipv6(){return Array.from({length:8},()=>this.faker.string.hexadecimal({length:4,casing:"lower",prefix:""})).join(":")}port(){return this.faker.number.int(65535)}userAgent(){return this.faker.helpers.fake(this.faker.definitions.internet.user_agent_pattern)}color(t={}){let{redBase:r=0,greenBase:n=0,blueBase:a=0}=t,i=vx(this.faker,r),o=vx(this.faker,n),s=vx(this.faker,a);return`#${i}${o}${s}`}mac(t={}){typeof t=="string"&&(t={separator:t});let{separator:r=":"}=t,n,a="";for([":","-",""].includes(r)||(r=":"),n=0;n<12;n++)a+=this.faker.number.hex(15),n%2===1&&n!==11&&(a+=r);return a}password(t={}){let r=/[aeiouAEIOU]$/,n=/[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]$/,a=(u,d,h,f)=>{if(f.length>=u)return f;d&&(h=n.test(f)?r:n);let m=this.faker.number.int(94)+33,b=String.fromCodePoint(m);return d&&(b=b.toLowerCase()),h.test(b)?a(u,d,h,f+b):a(u,d,h,f)},{length:i=15,memorable:o=!1,pattern:s=/\w/,prefix:l=""}=t;return a(i,o,s,l)}emoji(t={}){let{types:r=Object.keys(this.faker.definitions.internet.emoji)}=t,n=this.faker.helpers.arrayElement(r);return this.faker.helpers.arrayElement(this.faker.definitions.internet.emoji[n])}jwtAlgorithm(){return this.faker.helpers.arrayElement(this.faker.definitions.internet.jwt_algorithm)}jwt(t={}){let{refDate:r=this.faker.defaultRefDate()}=t,n=this.faker.date.recent({refDate:r}),{header:a={alg:this.jwtAlgorithm(),typ:"JWT"},payload:i={iat:Math.round(n.valueOf()/1e3),exp:Math.round(this.faker.date.soon({refDate:n}).valueOf()/1e3),nbf:Math.round(this.faker.date.anytime({refDate:r}).valueOf()/1e3),iss:this.faker.company.name(),sub:this.faker.string.uuid(),aud:this.faker.string.uuid(),jti:this.faker.string.uuid()}}=t,o=U7(JSON.stringify(a)),s=U7(JSON.stringify(i)),l=this.faker.string.alphanumeric(64);return`${o}.${s}.${l}`}},Fee=(e=>(e.Female="female",e.Male="male",e))(Fee||{});function Df(e,t,r){let{generic:n,female:a,male:i}=r;switch(t){case"female":return a??n;case"male":return i??n;default:return n??e.helpers.arrayElement([a,i])??[]}}var u_e=class extends Sn{firstName(t){return this.faker.helpers.arrayElement(Df(this.faker,t,this.faker.definitions.person.first_name))}lastName(t){var r;if(((r=this.faker.rawDefinitions.person)==null?void 0:r.last_name_pattern)!=null){let n=this.faker.helpers.weightedArrayElement(Df(this.faker,t,this.faker.rawDefinitions.person.last_name_pattern));return this.faker.helpers.fake(n)}return this.faker.helpers.arrayElement(Df(this.faker,t,this.faker.definitions.person.last_name))}middleName(t){return this.faker.helpers.arrayElement(Df(this.faker,t,this.faker.definitions.person.middle_name))}fullName(t={}){let{sex:r=this.faker.helpers.arrayElement(["female","male"]),firstName:n=this.firstName(r),lastName:a=this.lastName(r)}=t,i=this.faker.helpers.weightedArrayElement(this.faker.definitions.person.name);return this.faker.helpers.mustache(i,{"person.prefix":()=>this.prefix(r),"person.firstName":()=>n,"person.middleName":()=>this.middleName(r),"person.lastName":()=>a,"person.suffix":()=>this.suffix()})}gender(){return this.faker.helpers.arrayElement(this.faker.definitions.person.gender)}sex(){return this.faker.helpers.arrayElement(this.faker.definitions.person.sex)}sexType(){return this.faker.helpers.enumValue(Fee)}bio(){let{bio_pattern:t}=this.faker.definitions.person;return this.faker.helpers.fake(t)}prefix(t){return this.faker.helpers.arrayElement(Df(this.faker,t,this.faker.definitions.person.prefix))}suffix(){return this.faker.helpers.arrayElement(this.faker.definitions.person.suffix)}jobTitle(){return this.faker.helpers.fake(this.faker.definitions.person.job_title_pattern)}jobDescriptor(){return this.faker.helpers.arrayElement(this.faker.definitions.person.job_descriptor)}jobArea(){return this.faker.helpers.arrayElement(this.faker.definitions.person.job_area)}jobType(){return this.faker.helpers.arrayElement(this.faker.definitions.person.job_type)}zodiacSign(){return this.faker.helpers.arrayElement(this.faker.definitions.person.western_zodiac_sign)}},c_e=23283064365386963e-26,d_e=1/9007199254740992,{imul:oD,trunc:sD}=Math;function q7(e){return typeof e=="number"?Eee(e):h_e(e)}function Eee(e){let t=Array.from({length:624});t[0]=e;for(let r=1;r!==624;++r){let n=t[r-1]^t[r-1]>>>30;t[r]=sD(oD(1812433253,n)+r)}return t}function h_e(e){let t=Eee(19650218),r=1,n=0;for(let a=Math.max(624,e.length);a!==0;--a){let i=t[r-1]^t[r-1]>>>30;t[r]=sD((t[r]^oD(i,1664525))+e[n]+n),r++,n++,r>=624&&(t[0]=t[623],r=1),n>=e.length&&(n=0)}for(let a=623;a!==0;a--)t[r]=sD((t[r]^oD(t[r-1]^t[r-1]>>>30,1566083941))-r),r++,r>=624&&(t[0]=t[623],r=1);return t[0]=2147483648,t}function Fx(e){for(let r=0;r!==227;++r){let n=(e[r]&2147483648)+(e[r+1]&2147483647);e[r]=e[r+397]^n>>>1^-(n&1)&2567483615}for(let r=227;r!==623;++r){let n=(e[r]&2147483648)+(e[r+1]&2147483647);e[r]=e[r+397-624]^n>>>1^-(n&1)&2567483615}let t=(e[623]&2147483648)+(e[0]&2147483647);return e[623]=e[396]^t>>>1^-(t&1)&2567483615,e}var p_e=class{constructor(t=Math.random()*Number.MAX_SAFE_INTEGER,r=Fx(q7(t)),n=0){this.states=r,this.index=n}nextU32(){let t=this.states[this.index];return t^=this.states[this.index]>>>11,t^=t<<7&2636928640,t^=t<<15&4022730752,t^=t>>>18,++this.index>=624&&(this.states=Fx(this.states),this.index=0),t>>>0}nextF32(){return this.nextU32()*c_e}nextU53(){let t=this.nextU32()>>>5,r=this.nextU32()>>>6;return t*67108864+r}nextF53(){return this.nextU53()*d_e}seed(t){this.states=Fx(q7(t)),this.index=0}};function See(){return Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER)}function f_e(e=See()){let t=new p_e(e);return{next(){return t.nextF53()},seed(r){t.seed(r)}}}var m_e=class extends cp{boolean(t={}){typeof t=="number"&&(t={probability:t});let{probability:r=.5}=t;return r<=0?!1:r>=1?!0:this.faker.number.float()<r}};function js(e,t="refDate"){let r=new Date(e);if(Number.isNaN(r.valueOf()))throw new Xt(`Invalid ${t} date: ${e.toString()}`);return r}var sy=()=>{throw new Xt("You cannot edit the locale data on the faker instance")};function g_e(e){let t={};return new Proxy(e,{has(){return!0},get(r,n){return typeof n=="symbol"||n==="nodeType"?r[n]:n in t?t[n]:t[n]=b_e(n,r[n])},set:sy,deleteProperty:sy})}function lD(e,...t){if(e===null)throw new Xt(`The locale data for '${t.join(".")}' aren't applicable to this locale.
|
||
If you think this is a bug, please report it at: https://github.com/faker-js/faker`);if(e===void 0)throw new Xt(`The locale data for '${t.join(".")}' are missing in this locale.
|
||
Please contribute the missing data to the project or use a locale/Faker instance that has these data.
|
||
For more information see https://fakerjs.dev/guide/localization.html`)}function b_e(e,t={}){return new Proxy(t,{has(r,n){return r[n]!=null},get(r,n){let a=r[n];return typeof n=="symbol"||n==="nodeType"||lD(a,e,n.toString()),a},set:sy,deleteProperty:sy})}var xee=class extends cp{anytime(t={}){let{refDate:r=this.faker.defaultRefDate()}=t,n=js(r).getTime();return this.between({from:n-1e3*60*60*24*365,to:n+1e3*60*60*24*365})}past(t={}){let{years:r=1,refDate:n=this.faker.defaultRefDate()}=t;if(r<=0)throw new Xt("Years must be greater than 0.");let a=js(n).getTime();return this.between({from:a-r*365*24*3600*1e3,to:a-1e3})}future(t={}){let{years:r=1,refDate:n=this.faker.defaultRefDate()}=t;if(r<=0)throw new Xt("Years must be greater than 0.");let a=js(n).getTime();return this.between({from:a+1e3,to:a+r*365*24*3600*1e3})}between(t){if(t==null||t.from==null||t.to==null)throw new Xt("Must pass an options object with `from` and `to` values.");let{from:r,to:n}=t,a=js(r,"from").getTime(),i=js(n,"to").getTime();if(a>i)throw new Xt("`from` date must be before `to` date.");return new Date(this.faker.number.int({min:a,max:i}))}betweens(t){if(t==null||t.from==null||t.to==null)throw new Xt("Must pass an options object with `from` and `to` values.");let{from:r,to:n,count:a=3}=t;return this.faker.helpers.multiple(()=>this.between({from:r,to:n}),{count:a}).sort((i,o)=>i.getTime()-o.getTime())}recent(t={}){let{days:r=1,refDate:n=this.faker.defaultRefDate()}=t;if(r<=0)throw new Xt("Days must be greater than 0.");let a=js(n).getTime();return this.between({from:a-r*24*3600*1e3,to:a-1e3})}soon(t={}){let{days:r=1,refDate:n=this.faker.defaultRefDate()}=t;if(r<=0)throw new Xt("Days must be greater than 0.");let a=js(n).getTime();return this.between({from:a+1e3,to:a+r*24*3600*1e3})}birthdate(t={}){let{mode:r="age",min:n=18,max:a=80,refDate:i=this.faker.defaultRefDate(),mode:o,min:s,max:l}=t;if([s,l,o].filter(h=>h!=null).length%3!==0)throw new Xt("The 'min', 'max', and 'mode' options must be set together.");let u=js(i),d=u.getUTCFullYear();switch(r){case"age":{let h=new Date(u).setUTCFullYear(d-a-1)+864e5,f=new Date(u).setUTCFullYear(d-n);if(h>f)throw new Xt(`Max age ${a} should be greater than or equal to min age ${n}.`);return this.between({from:h,to:f})}case"year":{let h=new Date(Date.UTC(0,0,2)).setUTCFullYear(n),f=new Date(Date.UTC(0,11,30)).setUTCFullYear(a);if(h>f)throw new Xt(`Max year ${a} should be greater than or equal to min year ${n}.`);return this.between({from:h,to:f})}}}},y_e=class extends xee{constructor(t){super(t),this.faker=t}month(t={}){let{abbreviated:r=!1,context:n=!1}=t,a=this.faker.definitions.date.month,i;r?i=n&&a.abbr_context!=null?"abbr_context":"abbr":i=n&&a.wide_context!=null?"wide_context":"wide";let o=a[i];return lD(o,"date.month",i),this.faker.helpers.arrayElement(o)}weekday(t={}){let{abbreviated:r=!1,context:n=!1}=t,a=this.faker.definitions.date.weekday,i;r?i=n&&a.abbr_context!=null?"abbr_context":"abbr":i=n&&a.wide_context!=null?"wide_context":"wide";let o=a[i];return lD(o,"date.weekday",i),this.faker.helpers.arrayElement(o)}timeZone(){return this.faker.helpers.arrayElement(this.faker.definitions.date.time_zone)}},v_e=/\.|\(/;function F_e(e,t,r=[t,t.rawDefinitions]){if(e.length===0)throw new Xt("Eval expression cannot be empty.");if(r.length===0)throw new Xt("Eval entrypoints cannot be empty.");let n=r,a=e;do{let o;a.startsWith("(")?[o,n]=E_e(a,n,e):[o,n]=x_e(a,n),a=a.substring(o),n=n.filter(s=>s!=null).map(s=>Array.isArray(s)?t.helpers.arrayElement(s):s)}while(a.length>0&&n.length>0);if(n.length===0)throw new Xt(`Cannot resolve expression '${e}'`);let i=n[0];return typeof i=="function"?i():i}function E_e(e,t,r){let[n,a]=S_e(e),i=e[n+1];switch(i){case".":case"(":case void 0:break;default:throw new Xt(`Expected dot ('.'), open parenthesis ('('), or nothing after function call but got '${i}'`)}return[n+(i==="."?2:1),t.map(o=>typeof o=="function"?o(...a):(console.warn(`[@faker-js/faker]: Invoking expressions which are not functions is deprecated since v9.0 and will be removed in v10.0.
|
||
Please remove the parentheses or replace the expression with an actual function.
|
||
${r}
|
||
${" ".repeat(r.length-e.length)}^`),o))]}function S_e(e){let t=e.indexOf(")",1);if(t===-1)throw new Xt(`Missing closing parenthesis in '${e}'`);for(;t!==-1;){let n=e.substring(1,t);try{return[t,JSON.parse(`[${n}]`)]}catch{if(!n.includes("'")&&!n.includes('"'))try{return[t,JSON.parse(`["${n}"]`)]}catch{}}t=e.indexOf(")",t+1)}t=e.lastIndexOf(")");let r=e.substring(1,t);return[t,[r]]}function x_e(e,t){let r=v_e.exec(e),n=((r==null?void 0:r[0])??"")===".",a=(r==null?void 0:r.index)??e.length,i=e.substring(0,a);if(i.length===0)throw new Xt(`Expression parts cannot be empty in '${e}'`);let o=e[a+1];if(n&&(o==null||o==="."||o==="("))throw new Xt(`Found dot without property name in '${e}'`);return[a+(n?1:0),t.map(s=>w_e(s,i))]}function w_e(e,t){switch(typeof e){case"function":{try{e=e()}catch{return}return e==null?void 0:e[t]}case"object":return e==null?void 0:e[t];default:return}}function k_e(e){let t=C_e(e.replace(/L?$/,"0"));return t===0?0:10-t}function C_e(e){e=e.replaceAll(/[\s-]/g,"");let t=0,r=!1;for(let n=e.length-1;n>=0;n--){let a=Number.parseInt(e[n]);r&&(a*=2,a>9&&(a=a%10+1)),t+=a,r=!r}return t%10}function W7(e,t,r,n){let a=1;if(t)switch(t){case"?":{a=e.datatype.boolean()?0:1;break}case"*":{let i=1;for(;e.datatype.boolean();)i*=2;a=e.number.int({min:0,max:i});break}case"+":{let i=1;for(;e.datatype.boolean();)i*=2;a=e.number.int({min:1,max:i});break}default:throw new Xt("Unknown quantifier symbol provided.")}else r!=null&&n!=null?a=e.number.int({min:Number.parseInt(r),max:Number.parseInt(n)}):r!=null&&n==null&&(a=Number.parseInt(r));return a}function T_e(e,t=""){let r=/(.)\{(\d+),(\d+)\}/,n=/(.)\{(\d+)\}/,a=/\[(\d+)-(\d+)\]/,i,o,s,l,u=r.exec(t);for(;u!=null;)i=Number.parseInt(u[2]),o=Number.parseInt(u[3]),i>o&&(s=o,o=i,i=s),l=e.number.int({min:i,max:o}),t=t.slice(0,u.index)+u[1].repeat(l)+t.slice(u.index+u[0].length),u=r.exec(t);for(u=n.exec(t);u!=null;)l=Number.parseInt(u[2]),t=t.slice(0,u.index)+u[1].repeat(l)+t.slice(u.index+u[0].length),u=n.exec(t);for(u=a.exec(t);u!=null;)i=Number.parseInt(u[1]),o=Number.parseInt(u[2]),i>o&&(s=o,o=i,i=s),t=t.slice(0,u.index)+e.number.int({min:i,max:o}).toString()+t.slice(u.index+u[0].length),u=a.exec(t);return t}function wee(e,t="",r="#"){let n="";for(let a=0;a<t.length;a++)t.charAt(a)===r?n+=e.number.int(9):t.charAt(a)==="!"?n+=e.number.int({min:2,max:9}):n+=t.charAt(a);return n}var kee=class extends cp{slugify(t=""){return t.normalize("NFKD").replaceAll(/[\u0300-\u036F]/g,"").replaceAll(" ","-").replaceAll(/[^\w.-]+/g,"")}replaceSymbols(t=""){let r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],n="";for(let a=0;a<t.length;a++)t.charAt(a)==="#"?n+=this.faker.number.int(9):t.charAt(a)==="?"?n+=this.arrayElement(r):t.charAt(a)==="*"?n+=this.faker.datatype.boolean()?this.arrayElement(r):this.faker.number.int(9):n+=t.charAt(a);return n}replaceCreditCardSymbols(t="6453-####-####-####-###L",r="#"){t=T_e(this.faker,t),t=wee(this.faker,t,r);let n=k_e(t);return t.replace("L",String(n))}fromRegExp(t){var f;let r=!1;t instanceof RegExp&&(r=t.flags.includes("i"),t=t.toString(),t=((f=/\/(.+?)\//.exec(t))==null?void 0:f[1])??"");let n,a,i,o=/([.A-Za-z0-9])(?:\{(\d+)(?:,(\d+)|)\}|(\?|\*|\+))(?![^[]*]|[^{]*})/,s=o.exec(t);for(;s!=null;){let m=s[2],b=s[3],y=s[4];i=W7(this.faker,y,m,b);let F;s[1]==="."?F=this.faker.string.alphanumeric(i):r?F=this.faker.string.fromCharacters([s[1].toLowerCase(),s[1].toUpperCase()],i):F=s[1].repeat(i),t=t.slice(0,s.index)+F+t.slice(s.index+s[0].length),s=o.exec(t)}let l=/(\d-\d|\w-\w|\d|\w|[-!@#$&()`.+,/"])/,u=/\[(\^|)(-|)(.+?)\](?:\{(\d+)(?:,(\d+)|)\}|(\?|\*|\+)|)/;for(s=u.exec(t);s!=null;){let m=s[1]==="^",b=s[2]==="-",y=s[4],F=s[5],x=s[6],E=[],C=s[3],_=l.exec(C);for(b&&E.push(45);_!=null;){if(_[0].includes("-")){let w=_[0].split("-").map(A=>A.codePointAt(0)??Number.NaN);if(n=w[0],a=w[1],n>a)throw new Xt("Character range provided is out of order.");for(let A=n;A<=a;A++)if(r&&Number.isNaN(Number(String.fromCodePoint(A)))){let I=String.fromCodePoint(A);E.push(I.toUpperCase().codePointAt(0)??Number.NaN,I.toLowerCase().codePointAt(0)??Number.NaN)}else E.push(A)}else r&&Number.isNaN(Number(_[0]))?E.push(_[0].toUpperCase().codePointAt(0)??Number.NaN,_[0].toLowerCase().codePointAt(0)??Number.NaN):E.push(_[0].codePointAt(0)??Number.NaN);C=C.substring(_[0].length),_=l.exec(C)}if(i=W7(this.faker,x,y,F),m){let w=-1;for(let A=48;A<=57;A++){if(w=E.indexOf(A),w>-1){E.splice(w,1);continue}E.push(A)}for(let A=65;A<=90;A++){if(w=E.indexOf(A),w>-1){E.splice(w,1);continue}E.push(A)}for(let A=97;A<=122;A++){if(w=E.indexOf(A),w>-1){E.splice(w,1);continue}E.push(A)}}let D=this.multiple(()=>String.fromCodePoint(this.arrayElement(E)),{count:i}).join("");t=t.slice(0,s.index)+D+t.slice(s.index+s[0].length),s=u.exec(t)}let d=/(.)\{(\d+),(\d+)\}/;for(s=d.exec(t);s!=null;){if(n=Number.parseInt(s[2]),a=Number.parseInt(s[3]),n>a)throw new Xt("Numbers out of order in {} quantifier.");i=this.faker.number.int({min:n,max:a}),t=t.slice(0,s.index)+s[1].repeat(i)+t.slice(s.index+s[0].length),s=d.exec(t)}let h=/(.)\{(\d+)\}/;for(s=h.exec(t);s!=null;)i=Number.parseInt(s[2]),t=t.slice(0,s.index)+s[1].repeat(i)+t.slice(s.index+s[0].length),s=h.exec(t);return t}shuffle(t,r={}){let{inplace:n=!1}=r;n||(t=[...t]);for(let a=t.length-1;a>0;--a){let i=this.faker.number.int(a);[t[a],t[i]]=[t[i],t[a]]}return t}uniqueArray(t,r){if(Array.isArray(t)){let a=[...new Set(t)];return this.shuffle(a).splice(0,r)}let n=new Set;try{if(typeof t=="function"){let a=1e3*r,i=0;for(;n.size<r&&i<a;)n.add(t()),i++}}catch{}return[...n]}mustache(t,r){if(t==null)return"";for(let n in r){let a=new RegExp(`{{${n}}}`,"g"),i=r[n];typeof i=="string"&&(i=i.replaceAll("$","$$$$")),t=t.replace(a,i)}return t}maybe(t,r={}){if(this.faker.datatype.boolean(r))return t()}objectKey(t){let r=Object.keys(t);return this.arrayElement(r)}objectValue(t){let r=this.faker.helpers.objectKey(t);return t[r]}objectEntry(t){let r=this.faker.helpers.objectKey(t);return[r,t[r]]}arrayElement(t){if(t.length===0)throw new Xt("Cannot get value from empty dataset.");let r=t.length>1?this.faker.number.int({max:t.length-1}):0;return t[r]}weightedArrayElement(t){if(t.length===0)throw new Xt("weightedArrayElement expects an array with at least one element");if(!t.every(i=>i.weight>0))throw new Xt("weightedArrayElement expects an array of { weight, value } objects where weight is a positive number");let r=t.reduce((i,{weight:o})=>i+o,0),n=this.faker.number.float({min:0,max:r}),a=0;for(let{weight:i,value:o}of t)if(a+=i,n<a)return o;return t.at(-1).value}arrayElements(t,r){if(t.length===0)return[];let n=this.rangeToNumber(r??{min:1,max:t.length});if(n>=t.length)return this.shuffle(t);if(n<=0)return[];let a=[...t],i=t.length,o=i-n,s,l;for(;i-- >o;)l=this.faker.number.int(i),s=a[l],a[l]=a[i],a[i]=s;return a.slice(o)}enumValue(t){let r=Object.keys(t).filter(a=>Number.isNaN(Number(a))),n=this.arrayElement(r);return t[n]}rangeToNumber(t){return typeof t=="number"?t:this.faker.number.int(t)}multiple(t,r={}){let n=this.rangeToNumber(r.count??3);return n<=0?[]:Array.from({length:n},t)}},A_e=class extends kee{constructor(t){super(t),this.faker=t}fake(t){t=typeof t=="string"?t:this.arrayElement(t);let r=t.search(/{{[a-z]/),n=t.indexOf("}}",r);if(r===-1||n===-1)return t;let a=t.substring(r+2,n+2).replace("}}","").replace("{{",""),i=F_e(a,this.faker),o=String(i),s=t.substring(0,r)+o+t.substring(n+2);return this.fake(s)}},__e=class extends cp{int(t={}){typeof t=="number"&&(t={max:t});let{min:r=0,max:n=Number.MAX_SAFE_INTEGER,multipleOf:a=1}=t;if(!Number.isInteger(a))throw new Xt("multipleOf should be an integer.");if(a<=0)throw new Xt("multipleOf should be greater than 0.");let i=Math.ceil(r/a),o=Math.floor(n/a);if(i===o)return i*a;if(o<i)throw n>=r?new Xt(`No suitable integer value between ${r} and ${n} found.`):new Xt(`Max ${n} should be greater than min ${r}.`);let s=this.faker._randomizer.next(),l=o-i+1;return Math.floor(s*l+i)*a}float(t={}){typeof t=="number"&&(t={max:t});let{min:r=0,max:n=1,fractionDigits:a,multipleOf:i,multipleOf:o=a==null?void 0:10**-a}=t;if(n===r)return r;if(n<r)throw new Xt(`Max ${n} should be greater than min ${r}.`);if(a!=null){if(i!=null)throw new Xt("multipleOf and fractionDigits cannot be set at the same time.");if(!Number.isInteger(a))throw new Xt("fractionDigits should be an integer.");if(a<0)throw new Xt("fractionDigits should be greater than or equal to 0.")}if(o!=null){if(o<=0)throw new Xt("multipleOf should be greater than 0.");let s=Math.log10(o),l=o<1&&Number.isInteger(s)?10**-s:1/o;return this.int({min:r*l,max:n*l})/l}return this.faker._randomizer.next()*(n-r)+r}binary(t={}){typeof t=="number"&&(t={max:t});let{min:r=0,max:n=1}=t;return this.int({max:n,min:r}).toString(2)}octal(t={}){typeof t=="number"&&(t={max:t});let{min:r=0,max:n=7}=t;return this.int({max:n,min:r}).toString(8)}hex(t={}){typeof t=="number"&&(t={max:t});let{min:r=0,max:n=15}=t;return this.int({max:n,min:r}).toString(16)}bigInt(t={}){(typeof t=="bigint"||typeof t=="number"||typeof t=="string"||typeof t=="boolean")&&(t={max:t});let r=BigInt(t.min??0),n=BigInt(t.max??r+BigInt(999999999999999));if(n===r)return r;if(n<r)throw new Xt(`Max ${n} should be larger then min ${r}.`);let a=n-r,i=BigInt(this.faker.string.numeric({length:a.toString(10).length,allowLeadingZeros:!0}))%(a+BigInt(1));return r+i}romanNumeral(t={}){typeof t=="number"&&(t={max:t});let{min:r=1,max:n=3999}=t;if(r<1)throw new Xt(`Min value ${r} should be 1 or greater.`);if(n>3999)throw new Xt(`Max value ${n} should be 3999 or less.`);let a=this.int({min:r,max:n}),i=[["M",1e3],["CM",900],["D",500],["CD",400],["C",100],["XC",90],["L",50],["XL",40],["X",10],["IX",9],["V",5],["IV",4],["I",1]],o="";for(let[s,l]of i)o+=s.repeat(Math.floor(a/l)),a%=l;return o}},Cee="0123456789ABCDEFGHJKMNPQRSTVWXYZ";function D_e(e){let t=e.valueOf(),r="";for(let n=10;n>0;n--){let a=t%32;r=Cee[a]+r,t=(t-a)/32}return r}var A1=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZ"],_1=[..."abcdefghijklmnopqrstuvwxyz"],V7=[..."0123456789"],R_e=class extends cp{fromCharacters(t,r=1){if(r=this.faker.helpers.rangeToNumber(r),r<=0)return"";if(typeof t=="string"&&(t=[...t]),t.length===0)throw new Xt("Unable to generate string: No characters to select from.");return this.faker.helpers.multiple(()=>this.faker.helpers.arrayElement(t),{count:r}).join("")}alpha(t={}){typeof t=="number"&&(t={length:t});let r=this.faker.helpers.rangeToNumber(t.length??1);if(r<=0)return"";let{casing:n="mixed"}=t,{exclude:a=[]}=t;typeof a=="string"&&(a=[...a]);let i;switch(n){case"upper":{i=[...A1];break}case"lower":{i=[..._1];break}case"mixed":{i=[..._1,...A1];break}}return i=i.filter(o=>!a.includes(o)),this.fromCharacters(i,r)}alphanumeric(t={}){typeof t=="number"&&(t={length:t});let r=this.faker.helpers.rangeToNumber(t.length??1);if(r<=0)return"";let{casing:n="mixed"}=t,{exclude:a=[]}=t;typeof a=="string"&&(a=[...a]);let i=[...V7];switch(n){case"upper":{i.push(...A1);break}case"lower":{i.push(..._1);break}case"mixed":{i.push(..._1,...A1);break}}return i=i.filter(o=>!a.includes(o)),this.fromCharacters(i,r)}binary(t={}){let{prefix:r="0b"}=t,n=r;return n+=this.fromCharacters(["0","1"],t.length??1),n}octal(t={}){let{prefix:r="0o"}=t,n=r;return n+=this.fromCharacters(["0","1","2","3","4","5","6","7"],t.length??1),n}hexadecimal(t={}){let{casing:r="mixed",prefix:n="0x"}=t,a=this.faker.helpers.rangeToNumber(t.length??1);if(a<=0)return n;let i=this.fromCharacters(["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","A","B","C","D","E","F"],a);return r==="upper"?i=i.toUpperCase():r==="lower"&&(i=i.toLowerCase()),`${n}${i}`}numeric(t={}){typeof t=="number"&&(t={length:t});let r=this.faker.helpers.rangeToNumber(t.length??1);if(r<=0)return"";let{allowLeadingZeros:n=!0}=t,{exclude:a=[]}=t;typeof a=="string"&&(a=[...a]);let i=V7.filter(s=>!a.includes(s));if(i.length===0||i.length===1&&!n&&i[0]==="0")throw new Xt("Unable to generate numeric string, because all possible digits are excluded.");let o="";return!n&&!a.includes("0")&&(o+=this.faker.helpers.arrayElement(i.filter(s=>s!=="0"))),o+=this.fromCharacters(i,r-o.length),o}sample(t=10){t=this.faker.helpers.rangeToNumber(t);let r={min:33,max:125},n="";for(;n.length<t;)n+=String.fromCodePoint(this.faker.number.int(r));return n}uuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll("x",()=>this.faker.number.hex({min:0,max:15})).replaceAll("y",()=>this.faker.number.hex({min:8,max:11}))}ulid(t={}){let{refDate:r=this.faker.defaultRefDate()}=t,n=js(r);return D_e(n)+this.fromCharacters(Cee,16)}nanoid(t=21){if(t=this.faker.helpers.rangeToNumber(t),t<=0)return"";let r=[{value:()=>this.alphanumeric(1),weight:62},{value:()=>this.faker.helpers.arrayElement(["_","-"]),weight:2}],n="";for(;n.length<t;){let a=this.faker.helpers.weightedArrayElement(r);n+=a()}return n}symbol(t=1){return this.fromCharacters(["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_","`","{","|","}","~"],t)}},Tee=class{constructor(t={}){gt(this,"_defaultRefDate",()=>new Date);gt(this,"_randomizer");gt(this,"datatype",new m_e(this));gt(this,"date",new xee(this));gt(this,"helpers",new kee(this));gt(this,"number",new __e(this));gt(this,"string",new R_e(this));let{randomizer:r,seed:n}=t;r!=null&&n!=null&&r.seed(n),this._randomizer=r??f_e(n)}get defaultRefDate(){return this._defaultRefDate}setDefaultRefDate(t=()=>new Date){typeof t=="function"?this._defaultRefDate=t:this._defaultRefDate=()=>new Date(t)}seed(t=See()){return this._randomizer.seed(t),t}};new Tee;function N_e(e){let t={};for(let r of e)for(let n in r){let a=r[n];t[n]===void 0?t[n]={...a}:t[n]={...a,...t[n]}}return t}var L_e=class extends Sn{dog(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.dog)}cat(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cat)}snake(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.snake)}bear(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.bear)}lion(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.lion)}cetacean(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cetacean)}horse(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.horse)}bird(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.bird)}cow(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cow)}fish(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.fish)}crocodilia(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.crocodilia)}insect(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.insect)}rabbit(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.rabbit)}rodent(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.rodent)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.type)}petName(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.pet_name)}},M_e=class extends Sn{author(){return this.faker.helpers.arrayElement(this.faker.definitions.book.author)}format(){return this.faker.helpers.arrayElement(this.faker.definitions.book.format)}genre(){return this.faker.helpers.arrayElement(this.faker.definitions.book.genre)}publisher(){return this.faker.helpers.arrayElement(this.faker.definitions.book.publisher)}series(){return this.faker.helpers.arrayElement(this.faker.definitions.book.series)}title(){return this.faker.helpers.arrayElement(this.faker.definitions.book.title)}},I_e={0:[[1999999,2],[2279999,3],[2289999,4],[3689999,3],[3699999,4],[6389999,3],[6397999,4],[6399999,7],[6449999,3],[6459999,7],[6479999,3],[6489999,7],[6549999,3],[6559999,4],[6999999,3],[8499999,4],[8999999,5],[9499999,6],[9999999,7]],1:[[99999,3],[299999,2],[349999,3],[399999,4],[499999,3],[699999,2],[999999,4],[3979999,3],[5499999,4],[6499999,5],[6799999,4],[6859999,5],[7139999,4],[7169999,3],[7319999,4],[7399999,7],[7749999,5],[7753999,7],[7763999,5],[7764999,7],[7769999,5],[7782999,7],[7899999,5],[7999999,4],[8004999,5],[8049999,5],[8379999,5],[8384999,7],[8671999,5],[8675999,4],[8697999,5],[9159999,6],[9165059,7],[9168699,6],[9169079,7],[9195999,6],[9196549,7],[9729999,6],[9877999,4],[9911499,6],[9911999,7],[9989899,6],[9999999,7]]},O_e=class extends Sn{department(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.department)}productName(){return`${this.productAdjective()} ${this.productMaterial()} ${this.product()}`}price(t={}){let{dec:r=2,max:n=1e3,min:a=1,symbol:i=""}=t;if(a<0||n<0)return`${i}0`;if(a===n)return`${i}${a.toFixed(r)}`;let o=this.faker.number.float({min:a,max:n,fractionDigits:r});if(r===0)return`${i}${o.toFixed(r)}`;let s=o*10**r%10,l=this.faker.helpers.weightedArrayElement([{weight:5,value:9},{weight:3,value:5},{weight:1,value:0},{weight:1,value:this.faker.number.int({min:0,max:9})}]),u=(1/10)**r,d=s*u,h=l*u,f=o-d+h;return a<=f&&f<=n?`${i}${f.toFixed(r)}`:`${i}${o.toFixed(r)}`}productAdjective(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.adjective)}productMaterial(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.material)}product(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.product)}productDescription(){return this.faker.helpers.fake(this.faker.definitions.commerce.product_description)}isbn(t={}){var y;typeof t=="number"&&(t={variant:t});let{variant:r=13,separator:n="-"}=t,a="978",[i,o]=this.faker.helpers.objectEntry(I_e),s=this.faker.string.numeric(8),l=Number.parseInt(s.slice(0,-1)),u=(y=o.find(([F])=>l<=F))==null?void 0:y[1];if(!u)throw new Xt(`Unable to find a registrant length for the group ${i}`);let d=s.slice(0,u),h=s.slice(u),f=[a,i,d,h];r===10&&f.shift();let m=f.join(""),b=0;for(let F=0;F<r-1;F++){let x=r===10?F+1:F%2?3:1;b+=x*Number.parseInt(m[F])}return b=r===10?b%11:(10-b%10)%10,f.push(b===10?"X":b.toString()),f.join(n)}},B_e=class extends Sn{name(){return this.faker.helpers.fake(this.faker.definitions.company.name_pattern)}catchPhrase(){return[this.catchPhraseAdjective(),this.catchPhraseDescriptor(),this.catchPhraseNoun()].join(" ")}buzzPhrase(){return[this.buzzVerb(),this.buzzAdjective(),this.buzzNoun()].join(" ")}catchPhraseAdjective(){return this.faker.helpers.arrayElement(this.faker.definitions.company.adjective)}catchPhraseDescriptor(){return this.faker.helpers.arrayElement(this.faker.definitions.company.descriptor)}catchPhraseNoun(){return this.faker.helpers.arrayElement(this.faker.definitions.company.noun)}buzzAdjective(){return this.faker.helpers.arrayElement(this.faker.definitions.company.buzz_adjective)}buzzVerb(){return this.faker.helpers.arrayElement(this.faker.definitions.company.buzz_verb)}buzzNoun(){return this.faker.helpers.arrayElement(this.faker.definitions.company.buzz_noun)}},P_e=class extends Sn{column(){return this.faker.helpers.arrayElement(this.faker.definitions.database.column)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.database.type)}collation(){return this.faker.helpers.arrayElement(this.faker.definitions.database.collation)}engine(){return this.faker.helpers.arrayElement(this.faker.definitions.database.engine)}mongodbObjectId(){return this.faker.string.hexadecimal({length:24,casing:"lower",prefix:""})}},z_e={alpha:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],formats:[{country:"AL",total:28,bban:[{type:"n",count:8},{type:"c",count:16}],format:"ALkk bbbs sssx cccc cccc cccc cccc"},{country:"AD",total:24,bban:[{type:"n",count:8},{type:"c",count:12}],format:"ADkk bbbb ssss cccc cccc cccc"},{country:"AT",total:20,bban:[{type:"n",count:5},{type:"n",count:11}],format:"ATkk bbbb bccc cccc cccc"},{country:"AZ",total:28,bban:[{type:"a",count:4},{type:"n",count:20}],format:"AZkk bbbb cccc cccc cccc cccc cccc"},{country:"BH",total:22,bban:[{type:"a",count:4},{type:"c",count:14}],format:"BHkk bbbb cccc cccc cccc cc"},{country:"BE",total:16,bban:[{type:"n",count:3},{type:"n",count:9}],format:"BEkk bbbc cccc ccxx"},{country:"BA",total:20,bban:[{type:"n",count:6},{type:"n",count:10}],format:"BAkk bbbs sscc cccc ccxx"},{country:"BR",total:29,bban:[{type:"n",count:13},{type:"n",count:10},{type:"a",count:1},{type:"c",count:1}],format:"BRkk bbbb bbbb ssss sccc cccc ccct n"},{country:"BG",total:22,bban:[{type:"a",count:4},{type:"n",count:6},{type:"c",count:8}],format:"BGkk bbbb ssss ddcc cccc cc"},{country:"CR",total:22,bban:[{type:"n",count:1},{type:"n",count:3},{type:"n",count:14}],format:"CRkk xbbb cccc cccc cccc cc"},{country:"HR",total:21,bban:[{type:"n",count:7},{type:"n",count:10}],format:"HRkk bbbb bbbc cccc cccc c"},{country:"CY",total:28,bban:[{type:"n",count:8},{type:"c",count:16}],format:"CYkk bbbs ssss cccc cccc cccc cccc"},{country:"CZ",total:24,bban:[{type:"n",count:10},{type:"n",count:10}],format:"CZkk bbbb ssss sscc cccc cccc"},{country:"DK",total:18,bban:[{type:"n",count:4},{type:"n",count:10}],format:"DKkk bbbb cccc cccc cc"},{country:"DO",total:28,bban:[{type:"a",count:4},{type:"n",count:20}],format:"DOkk bbbb cccc cccc cccc cccc cccc"},{country:"TL",total:23,bban:[{type:"n",count:3},{type:"n",count:16}],format:"TLkk bbbc cccc cccc cccc cxx"},{country:"EE",total:20,bban:[{type:"n",count:4},{type:"n",count:12}],format:"EEkk bbss cccc cccc cccx"},{country:"FO",total:18,bban:[{type:"n",count:4},{type:"n",count:10}],format:"FOkk bbbb cccc cccc cx"},{country:"FI",total:18,bban:[{type:"n",count:6},{type:"n",count:8}],format:"FIkk bbbb bbcc cccc cx"},{country:"FR",total:27,bban:[{type:"n",count:10},{type:"c",count:11},{type:"n",count:2}],format:"FRkk bbbb bggg ggcc cccc cccc cxx"},{country:"GE",total:22,bban:[{type:"a",count:2},{type:"n",count:16}],format:"GEkk bbcc cccc cccc cccc cc"},{country:"DE",total:22,bban:[{type:"n",count:8},{type:"n",count:10}],format:"DEkk bbbb bbbb cccc cccc cc"},{country:"GI",total:23,bban:[{type:"a",count:4},{type:"c",count:15}],format:"GIkk bbbb cccc cccc cccc ccc"},{country:"GR",total:27,bban:[{type:"n",count:7},{type:"c",count:16}],format:"GRkk bbbs sssc cccc cccc cccc ccc"},{country:"GL",total:18,bban:[{type:"n",count:4},{type:"n",count:10}],format:"GLkk bbbb cccc cccc cc"},{country:"GT",total:28,bban:[{type:"c",count:4},{type:"c",count:4},{type:"c",count:16}],format:"GTkk bbbb mmtt cccc cccc cccc cccc"},{country:"HU",total:28,bban:[{type:"n",count:8},{type:"n",count:16}],format:"HUkk bbbs sssk cccc cccc cccc cccx"},{country:"IS",total:26,bban:[{type:"n",count:6},{type:"n",count:16}],format:"ISkk bbbb sscc cccc iiii iiii ii"},{country:"IE",total:22,bban:[{type:"c",count:4},{type:"n",count:6},{type:"n",count:8}],format:"IEkk aaaa bbbb bbcc cccc cc"},{country:"IL",total:23,bban:[{type:"n",count:6},{type:"n",count:13}],format:"ILkk bbbn nncc cccc cccc ccc"},{country:"IT",total:27,bban:[{type:"a",count:1},{type:"n",count:10},{type:"c",count:12}],format:"ITkk xaaa aabb bbbc cccc cccc ccc"},{country:"JO",total:30,bban:[{type:"a",count:4},{type:"n",count:4},{type:"n",count:18}],format:"JOkk bbbb nnnn cccc cccc cccc cccc cc"},{country:"KZ",total:20,bban:[{type:"n",count:3},{type:"c",count:13}],format:"KZkk bbbc cccc cccc cccc"},{country:"XK",total:20,bban:[{type:"n",count:4},{type:"n",count:12}],format:"XKkk bbbb cccc cccc cccc"},{country:"KW",total:30,bban:[{type:"a",count:4},{type:"c",count:22}],format:"KWkk bbbb cccc cccc cccc cccc cccc cc"},{country:"LV",total:21,bban:[{type:"a",count:4},{type:"c",count:13}],format:"LVkk bbbb cccc cccc cccc c"},{country:"LB",total:28,bban:[{type:"n",count:4},{type:"c",count:20}],format:"LBkk bbbb cccc cccc cccc cccc cccc"},{country:"LI",total:21,bban:[{type:"n",count:5},{type:"c",count:12}],format:"LIkk bbbb bccc cccc cccc c"},{country:"LT",total:20,bban:[{type:"n",count:5},{type:"n",count:11}],format:"LTkk bbbb bccc cccc cccc"},{country:"LU",total:20,bban:[{type:"n",count:3},{type:"c",count:13}],format:"LUkk bbbc cccc cccc cccc"},{country:"MK",total:19,bban:[{type:"n",count:3},{type:"c",count:10},{type:"n",count:2}],format:"MKkk bbbc cccc cccc cxx"},{country:"MT",total:31,bban:[{type:"a",count:4},{type:"n",count:5},{type:"c",count:18}],format:"MTkk bbbb ssss sccc cccc cccc cccc ccc"},{country:"MR",total:27,bban:[{type:"n",count:10},{type:"n",count:13}],format:"MRkk bbbb bsss sscc cccc cccc cxx"},{country:"MU",total:30,bban:[{type:"a",count:4},{type:"n",count:4},{type:"n",count:15},{type:"a",count:3}],format:"MUkk bbbb bbss cccc cccc cccc 000d dd"},{country:"MC",total:27,bban:[{type:"n",count:10},{type:"c",count:11},{type:"n",count:2}],format:"MCkk bbbb bsss sscc cccc cccc cxx"},{country:"MD",total:24,bban:[{type:"c",count:2},{type:"c",count:18}],format:"MDkk bbcc cccc cccc cccc cccc"},{country:"ME",total:22,bban:[{type:"n",count:3},{type:"n",count:15}],format:"MEkk bbbc cccc cccc cccc xx"},{country:"NL",total:18,bban:[{type:"a",count:4},{type:"n",count:10}],format:"NLkk bbbb cccc cccc cc"},{country:"NO",total:15,bban:[{type:"n",count:4},{type:"n",count:7}],format:"NOkk bbbb cccc ccx"},{country:"PK",total:24,bban:[{type:"a",count:4},{type:"n",count:16}],format:"PKkk bbbb cccc cccc cccc cccc"},{country:"PS",total:29,bban:[{type:"c",count:4},{type:"n",count:9},{type:"n",count:12}],format:"PSkk bbbb xxxx xxxx xccc cccc cccc c"},{country:"PL",total:28,bban:[{type:"n",count:8},{type:"n",count:16}],format:"PLkk bbbs sssx cccc cccc cccc cccc"},{country:"PT",total:25,bban:[{type:"n",count:8},{type:"n",count:13}],format:"PTkk bbbb ssss cccc cccc cccx x"},{country:"QA",total:29,bban:[{type:"a",count:4},{type:"c",count:21}],format:"QAkk bbbb cccc cccc cccc cccc cccc c"},{country:"RO",total:24,bban:[{type:"a",count:4},{type:"c",count:16}],format:"ROkk bbbb cccc cccc cccc cccc"},{country:"SM",total:27,bban:[{type:"a",count:1},{type:"n",count:10},{type:"c",count:12}],format:"SMkk xaaa aabb bbbc cccc cccc ccc"},{country:"SA",total:24,bban:[{type:"n",count:2},{type:"c",count:18}],format:"SAkk bbcc cccc cccc cccc cccc"},{country:"RS",total:22,bban:[{type:"n",count:3},{type:"n",count:15}],format:"RSkk bbbc cccc cccc cccc xx"},{country:"SK",total:24,bban:[{type:"n",count:10},{type:"n",count:10}],format:"SKkk bbbb ssss sscc cccc cccc"},{country:"SI",total:19,bban:[{type:"n",count:5},{type:"n",count:10}],format:"SIkk bbss sccc cccc cxx"},{country:"ES",total:24,bban:[{type:"n",count:10},{type:"n",count:10}],format:"ESkk bbbb gggg xxcc cccc cccc"},{country:"SE",total:24,bban:[{type:"n",count:3},{type:"n",count:17}],format:"SEkk bbbc cccc cccc cccc cccc"},{country:"CH",total:21,bban:[{type:"n",count:5},{type:"c",count:12}],format:"CHkk bbbb bccc cccc cccc c"},{country:"TN",total:24,bban:[{type:"n",count:5},{type:"n",count:15}],format:"TNkk bbss sccc cccc cccc cccc"},{country:"TR",total:26,bban:[{type:"n",count:5},{type:"n",count:1},{type:"n",count:16}],format:"TRkk bbbb bxcc cccc cccc cccc cc"},{country:"AE",total:23,bban:[{type:"n",count:3},{type:"n",count:16}],format:"AEkk bbbc cccc cccc cccc ccc"},{country:"GB",total:22,bban:[{type:"a",count:4},{type:"n",count:6},{type:"n",count:8}],format:"GBkk bbbb ssss sscc cccc cc"},{country:"VG",total:24,bban:[{type:"a",count:4},{type:"n",count:16}],format:"VGkk bbbb cccc cccc cccc cccc"}],iso3166:["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],mod97:e=>{let t=0;for(let r of e)t=(t*10+ +r)%97;return t},pattern10:["01","02","03","04","05","06","07","08","09"],pattern100:["001","002","003","004","005","006","007","008","009"],toDigitString:e=>e.replaceAll(/[A-Z]/gi,t=>String((t.toUpperCase().codePointAt(0)??Number.NaN)-55))},zs=z_e;function H_e(e){let t="";for(let r=0;r<e.length;r+=4)t+=`${e.substring(r,r+4)} `;return t.trimEnd()}var U_e=class extends Sn{accountNumber(e={}){typeof e=="number"&&(e={length:e});let{length:t=8}=e;return this.faker.string.numeric({length:t,allowLeadingZeros:!0})}accountName(){return[this.faker.helpers.arrayElement(this.faker.definitions.finance.account_type),"Account"].join(" ")}routingNumber(){let e=this.faker.string.numeric({length:8,allowLeadingZeros:!0}),t=0;for(let r=0;r<e.length;r+=3)t+=Number(e[r])*3,t+=Number(e[r+1])*7,t+=Number(e[r+2])||0;return`${e}${Math.ceil(t/10)*10-t}`}maskedNumber(e={}){Dh({deprecated:"faker.finance.maskedNumber()",proposed:"faker.finance.iban().replace(/(?<=.{4})\\w(?=.{2})/g, '*') or a similar approach",since:"9.3.0",until:"10.0.0"}),typeof e=="number"&&(e={length:e});let{ellipsis:t=!0,length:r=4,parens:n=!0}=e,a=this.faker.string.numeric({length:r});return t&&(a=`...${a}`),n&&(a=`(${a})`),a}amount(e={}){let{autoFormat:t=!1,dec:r=2,max:n=1e3,min:a=0,symbol:i=""}=e,o=this.faker.number.float({max:n,min:a,fractionDigits:r}),s=t?o.toLocaleString(void 0,{minimumFractionDigits:r}):o.toFixed(r);return i+s}transactionType(){return this.faker.helpers.arrayElement(this.faker.definitions.finance.transaction_type)}currency(){return this.faker.helpers.arrayElement(this.faker.definitions.finance.currency)}currencyCode(){return this.currency().code}currencyName(){return this.currency().name}currencySymbol(){let e;do e=this.currency().symbol;while(e.length===0);return e}bitcoinAddress(e={}){let{type:t=this.faker.helpers.enumValue(yee),network:r="mainnet"}=e,n=Q4e[t],a=n.prefix[r],i=this.faker.number.int(n.length),o=this.faker.string.alphanumeric({length:i-a.length,casing:n.casing,exclude:n.exclude});return a+o}litecoinAddress(){let e=this.faker.number.int({min:26,max:33});return this.faker.string.fromCharacters("LM3")+this.faker.string.fromCharacters("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",e-1)}creditCardNumber(e={}){typeof e=="string"&&(e={issuer:e});let{issuer:t=""}=e,r,n=this.faker.definitions.finance.credit_card,a=t.toLowerCase();if(a in n)r=this.faker.helpers.arrayElement(n[a]);else if(t.includes("#"))r=t;else{let i=this.faker.helpers.objectValue(n);r=this.faker.helpers.arrayElement(i)}return r=r.replaceAll("/",""),this.faker.helpers.replaceCreditCardSymbols(r)}creditCardCVV(){return this.faker.string.numeric({length:3,allowLeadingZeros:!0})}creditCardIssuer(){return this.faker.helpers.objectKey(this.faker.definitions.finance.credit_card)}pin(e={}){typeof e=="number"&&(e={length:e});let{length:t=4}=e;if(t<1)throw new Xt("minimum length is 1");return this.faker.string.numeric({length:t,allowLeadingZeros:!0})}ethereumAddress(){return this.faker.string.hexadecimal({length:40,casing:"lower"})}iban(e={}){let{countryCode:t,formatted:r=!1}=e,n=t?zs.formats.find(l=>l.country===t):this.faker.helpers.arrayElement(zs.formats);if(!n)throw new Xt(`Country code ${t} not supported.`);let a="",i=0;for(let l of n.bban){let u=l.count;for(i+=l.count;u>0;)l.type==="a"?a+=this.faker.helpers.arrayElement(zs.alpha):l.type==="c"?this.faker.datatype.boolean(.8)?a+=this.faker.number.int(9):a+=this.faker.helpers.arrayElement(zs.alpha):u>=3&&this.faker.datatype.boolean(.3)?this.faker.datatype.boolean()?(a+=this.faker.helpers.arrayElement(zs.pattern100),u-=2):(a+=this.faker.helpers.arrayElement(zs.pattern10),u--):a+=this.faker.number.int(9),u--;a=a.substring(0,i)}let o=98-zs.mod97(zs.toDigitString(`${a}${n.country}00`));o<10&&(o=`0${o}`);let s=`${n.country}${o}${a}`;return r?H_e(s):s}bic(e={}){let{includeBranchCode:t=this.faker.datatype.boolean()}=e,r=this.faker.string.alpha({length:4,casing:"upper"}),n=this.faker.helpers.arrayElement(zs.iso3166),a=this.faker.string.alphanumeric({length:2,casing:"upper"}),i=t?this.faker.datatype.boolean()?this.faker.string.alphanumeric({length:3,casing:"upper"}):"XXX":"";return`${r}${n}${a}${i}`}transactionDescription(){return this.faker.helpers.fake(this.faker.definitions.finance.transaction_description_pattern)}};function K7(e){return e.split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}var G_e=class extends Sn{adjective(){return this.faker.helpers.arrayElement(this.faker.definitions.food.adjective)}description(){return this.faker.helpers.fake(this.faker.definitions.food.description_pattern)}dish(){return this.faker.datatype.boolean()?K7(this.faker.helpers.fake(this.faker.definitions.food.dish_pattern)):K7(this.faker.helpers.arrayElement(this.faker.definitions.food.dish))}ethnicCategory(){return this.faker.helpers.arrayElement(this.faker.definitions.food.ethnic_category)}fruit(){return this.faker.helpers.arrayElement(this.faker.definitions.food.fruit)}ingredient(){return this.faker.helpers.arrayElement(this.faker.definitions.food.ingredient)}meat(){return this.faker.helpers.arrayElement(this.faker.definitions.food.meat)}spice(){return this.faker.helpers.arrayElement(this.faker.definitions.food.spice)}vegetable(){return this.faker.helpers.arrayElement(this.faker.definitions.food.vegetable)}},$_e=" ",j_e=class extends Sn{branch(){let e=this.faker.hacker.noun().replace(" ","-"),t=this.faker.hacker.verb().replace(" ","-");return`${e}-${t}`}commitEntry(e={}){let{merge:t=this.faker.datatype.boolean({probability:.2}),eol:r="CRLF",refDate:n}=e,a=[`commit ${this.faker.git.commitSha()}`];t&&a.push(`Merge: ${this.commitSha({length:7})} ${this.commitSha({length:7})}`);let i=this.faker.person.firstName(),o=this.faker.person.lastName(),s=this.faker.person.fullName({firstName:i,lastName:o}),l=this.faker.internet.username({firstName:i,lastName:o}),u=this.faker.helpers.arrayElement([s,l]),d=this.faker.internet.email({firstName:i,lastName:o});u=u.replaceAll(/^[.,:;"\\']|[<>\n]|[.,:;"\\']$/g,""),a.push(`Author: ${u} <${d}>`,`Date: ${this.commitDate({refDate:n})}`,"",`${$_e.repeat(4)}${this.commitMessage()}`,"");let h=r==="CRLF"?`\r
|
||
`:`
|
||
`;return a.join(h)}commitMessage(){return`${this.faker.hacker.verb()} ${this.faker.hacker.adjective()} ${this.faker.hacker.noun()}`}commitDate(e={}){let{refDate:t=this.faker.defaultRefDate()}=e,r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=this.faker.date.recent({days:1,refDate:t}),i=r[a.getUTCDay()],o=n[a.getUTCMonth()],s=a.getUTCDate(),l=a.getUTCHours().toString().padStart(2,"0"),u=a.getUTCMinutes().toString().padStart(2,"0"),d=a.getUTCSeconds().toString().padStart(2,"0"),h=a.getUTCFullYear(),f=this.faker.number.int({min:-11,max:12}),m=Math.abs(f).toString().padStart(2,"0"),b="00",y=f>=0?"+":"-";return`${i} ${o} ${s} ${l}:${u}:${d} ${h} ${y}${m}${b}`}commitSha(e={}){let{length:t=40}=e;return this.faker.string.hexadecimal({length:t,casing:"lower",prefix:""})}},q_e=class extends Sn{abbreviation(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.abbreviation)}adjective(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.adjective)}noun(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.noun)}verb(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.verb)}ingverb(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.ingverb)}phrase(){let t={abbreviation:this.abbreviation,adjective:this.adjective,ingverb:this.ingverb,noun:this.noun,verb:this.verb},r=this.faker.helpers.arrayElement(this.faker.definitions.hacker.phrase);return this.faker.helpers.mustache(r,t)}},W_e=class extends Sn{avatar(){return this.faker.helpers.arrayElement([this.personPortrait,this.avatarGitHub])()}avatarGitHub(){return`https://avatars.githubusercontent.com/u/${this.faker.number.int(1e8)}`}personPortrait(t={}){let{sex:r=this.faker.person.sexType(),size:n=512}=t;return`https://cdn.jsdelivr.net/gh/faker-js/assets-person-portrait/${r}/${n}/${this.faker.number.int({min:0,max:99})}.jpg`}avatarLegacy(){return Dh({deprecated:"faker.image.avatarLegacy()",proposed:"faker.image.avatar() or faker.image.personPortrait()",since:"9.0.2",until:"10.0.0"}),`https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/${this.faker.number.int(1249)}.jpg`}url(t={}){let{width:r=this.faker.number.int({min:1,max:3999}),height:n=this.faker.number.int({min:1,max:3999})}=t;return this.faker.helpers.arrayElement([this.urlLoremFlickr,({width:a,height:i})=>this.urlPicsumPhotos({width:a,height:i,grayscale:!1,blur:0})])({width:r,height:n})}urlLoremFlickr(t={}){let{width:r=this.faker.number.int({min:1,max:3999}),height:n=this.faker.number.int({min:1,max:3999}),category:a}=t;return`https://loremflickr.com/${r}/${n}${a==null?"":`/${a}`}?lock=${this.faker.number.int()}`}urlPicsumPhotos(t={}){let{width:r=this.faker.number.int({min:1,max:3999}),height:n=this.faker.number.int({min:1,max:3999}),grayscale:a=this.faker.datatype.boolean(),blur:i=this.faker.number.int({max:10})}=t,o=`https://picsum.photos/seed/${this.faker.string.alphanumeric({length:{min:5,max:10}})}/${r}/${n}`,s=typeof i=="number"&&i>=1&&i<=10;return(a||s)&&(o+="?",a&&(o+="grayscale"),a&&s&&(o+="&"),s&&(o+=`blur=${i}`)),o}urlPlaceholder(t={}){Dh({deprecated:"faker.image.urlPlaceholder()",proposed:"faker.image.url() or faker.image.dataUri()",since:"9.4.0",until:"10.0.0"});let{width:r=this.faker.number.int({min:1,max:3500}),height:n=this.faker.number.int({min:1,max:3500}),backgroundColor:a=this.faker.color.rgb({format:"hex",prefix:""}),textColor:i=this.faker.color.rgb({format:"hex",prefix:""}),format:o=this.faker.helpers.arrayElement(["gif","jpeg","jpg","png","webp"]),text:s=this.faker.lorem.words()}=t,l="https://via.placeholder.com";return l+=`/${r}`,l+=`x${n}`,l+=`/${a}`,l+=`/${i}`,l+=`.${o}`,l+=`?text=${encodeURIComponent(s)}`,l}dataUri(t={}){let{width:r=this.faker.number.int({min:1,max:3999}),height:n=this.faker.number.int({min:1,max:3999}),color:a=this.faker.color.rgb(),type:i=this.faker.helpers.arrayElement(["svg-uri","svg-base64"])}=t,o=`<svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" width="${r}" height="${n}"><rect width="100%" height="100%" fill="${a}"/><text x="${r/2}" y="${n/2}" font-size="20" alignment-baseline="middle" text-anchor="middle" fill="white">${r}x${n}</text></svg>`;return i==="svg-uri"?`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(o)}`:`data:image/svg+xml;base64,${vee(o)}`}},V_e=class extends Sn{zipCode(t={}){typeof t=="string"&&(t={format:t});let{state:r}=t;if(r!=null){let a=this.faker.definitions.location.postcode_by_state[r];if(a==null)throw new Xt(`No zip code definition found for state "${r}"`);return this.faker.helpers.fake(a)}let{format:n=this.faker.definitions.location.postcode}=t;return typeof n=="string"&&(n=[n]),n=this.faker.helpers.arrayElement(n),this.faker.helpers.replaceSymbols(n)}city(){return this.faker.helpers.fake(this.faker.definitions.location.city_pattern)}buildingNumber(){return this.faker.helpers.arrayElement(this.faker.definitions.location.building_number).replaceAll(/#+/g,t=>this.faker.string.numeric({length:t.length,allowLeadingZeros:!1}))}street(){return this.faker.helpers.fake(this.faker.definitions.location.street_pattern)}streetAddress(t={}){typeof t=="boolean"&&(t={useFullAddress:t});let{useFullAddress:r}=t,n=this.faker.definitions.location.street_address[r?"full":"normal"];return this.faker.helpers.fake(n)}secondaryAddress(){return this.faker.helpers.fake(this.faker.definitions.location.secondary_address).replaceAll(/#+/g,t=>this.faker.string.numeric({length:t.length,allowLeadingZeros:!1}))}county(){return this.faker.helpers.arrayElement(this.faker.definitions.location.county)}country(){return this.faker.helpers.arrayElement(this.faker.definitions.location.country)}continent(){return this.faker.helpers.arrayElement(this.faker.definitions.location.continent)}countryCode(t={}){typeof t=="string"&&(t={variant:t});let{variant:r="alpha-2"}=t,n=(()=>{switch(r){case"numeric":return"numeric";case"alpha-3":return"alpha3";case"alpha-2":return"alpha2"}})();return this.faker.helpers.arrayElement(this.faker.definitions.location.country_code)[n]}state(t={}){let{abbreviated:r=!1}=t,n=r?this.faker.definitions.location.state_abbr:this.faker.definitions.location.state;return this.faker.helpers.arrayElement(n)}latitude(t={}){let{max:r=90,min:n=-90,precision:a=4}=t;return this.faker.number.float({min:n,max:r,fractionDigits:a})}longitude(t={}){let{max:r=180,min:n=-180,precision:a=4}=t;return this.faker.number.float({max:r,min:n,fractionDigits:a})}direction(t={}){let{abbreviated:r=!1}=t;return r?this.faker.helpers.arrayElement([...this.faker.definitions.location.direction.cardinal_abbr,...this.faker.definitions.location.direction.ordinal_abbr]):this.faker.helpers.arrayElement([...this.faker.definitions.location.direction.cardinal,...this.faker.definitions.location.direction.ordinal])}cardinalDirection(t={}){let{abbreviated:r=!1}=t;return r?this.faker.helpers.arrayElement(this.faker.definitions.location.direction.cardinal_abbr):this.faker.helpers.arrayElement(this.faker.definitions.location.direction.cardinal)}ordinalDirection(t={}){let{abbreviated:r=!1}=t;return r?this.faker.helpers.arrayElement(this.faker.definitions.location.direction.ordinal_abbr):this.faker.helpers.arrayElement(this.faker.definitions.location.direction.ordinal)}nearbyGPSCoordinate(t={}){let{origin:r,radius:n=10,isMetric:a=!1}=t;if(r==null)return[this.latitude(),this.longitude()];let i=this.faker.number.float({max:2*Math.PI,fractionDigits:5}),o=a?n:n*1.60934,s=this.faker.number.float({max:o,fractionDigits:3})*.995,l=4e4/360,u=s/l,d=[r[0]+Math.sin(i)*u,r[1]+Math.cos(i)*u];return d[0]=d[0]%180,(d[0]<-90||d[0]>90)&&(d[0]=Math.sign(d[0])*180-d[0],d[1]+=180),d[1]=(d[1]%360+540)%360-180,[d[0],d[1]]}timeZone(){return this.faker.helpers.arrayElement(this.faker.definitions.location.time_zone)}language(){return this.faker.helpers.arrayElement(this.faker.definitions.location.language)}};function K_e(e,t,r=n=>n){let n={};for(let a of e){let i=t(a);n[i]===void 0&&(n[i]=[]),n[i].push(r(a))}return n}var Ex={fail:()=>{throw new Xt("No words found that match the given length.")},closest:(e,t)=>{let r=K_e(e,s=>s.length),n=Object.keys(r).map(Number),a=Math.min(...n),i=Math.max(...n),o=Math.min(t.min-a,i-t.max);return e.filter(s=>s.length===t.min-o||s.length===t.max+o)},shortest:e=>{let t=Math.min(...e.map(r=>r.length));return e.filter(r=>r.length===t)},longest:e=>{let t=Math.max(...e.map(r=>r.length));return e.filter(r=>r.length===t)},"any-length":e=>[...e]};function Zl(e){let{wordList:t,length:r,strategy:n="any-length"}=e;if(r!=null){let a=typeof r=="number"?o=>o.length===r:o=>o.length>=r.min&&o.length<=r.max,i=t.filter(a);return i.length>0?i:typeof r=="number"?Ex[n](t,{min:r,max:r}):Ex[n](t,r)}else if(n==="shortest"||n==="longest")return Ex[n](t);return[...t]}var Y_e=class extends Sn{word(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.lorem.word}))}words(t=3){return this.faker.helpers.multiple(()=>this.word(),{count:t}).join(" ")}sentence(t={min:3,max:10}){let r=this.words(t);return`${r.charAt(0).toUpperCase()+r.substring(1)}.`}slug(t=3){let r=this.words(t);return this.faker.helpers.slugify(r)}sentences(t={min:2,max:6},r=" "){return this.faker.helpers.multiple(()=>this.sentence(),{count:t}).join(r)}paragraph(t=3){return this.sentences(t)}paragraphs(t=3,r=`
|
||
`){return this.faker.helpers.multiple(()=>this.paragraph(),{count:t}).join(r)}text(){let t=["sentence","sentences","paragraph","paragraphs","lines"],r=this.faker.helpers.arrayElement(t);return this[r]()}lines(t={min:1,max:5}){return this.sentences(t,`
|
||
`)}},X_e=class extends Sn{album(){return this.faker.helpers.arrayElement(this.faker.definitions.music.album)}artist(){return this.faker.helpers.arrayElement(this.faker.definitions.music.artist)}genre(){return this.faker.helpers.arrayElement(this.faker.definitions.music.genre)}songName(){return this.faker.helpers.arrayElement(this.faker.definitions.music.song_name)}},J_e=class extends Sn{number(e={}){let{style:t="human"}=e,r=this.faker.definitions.phone_number.format[t];if(!r)throw new Error(`No definitions for ${t} in this locale`);let n=this.faker.helpers.arrayElement(r);return wee(this.faker,n)}imei(){return this.faker.helpers.replaceCreditCardSymbols("##-######-######-L","#")}},Z_e=class extends Sn{chemicalElement(){return this.faker.helpers.arrayElement(this.faker.definitions.science.chemical_element)}unit(){return this.faker.helpers.arrayElement(this.faker.definitions.science.unit)}},Q_e=["video","audio","image","text","application"],eDe=["application/pdf","audio/mpeg","audio/wav","image/png","image/jpeg","image/gif","video/mp4","video/mpeg","text/html"],tDe=["en","wl","ww"],Y7={index:"o",slot:"s",mac:"x",pci:"p"},rDe=["SUN","MON","TUE","WED","THU","FRI","SAT"],nDe=class extends Sn{fileName(t={}){let{extensionCount:r=1}=t,n=this.faker.word.words().toLowerCase().replaceAll(/\W/g,"_"),a=this.faker.helpers.multiple(()=>this.fileExt(),{count:r}).join(".");return a.length===0?n:`${n}.${a}`}commonFileName(t){return`${this.fileName({extensionCount:0})}.${t||this.commonFileExt()}`}mimeType(){let t=Object.keys(this.faker.definitions.system.mime_type);return this.faker.helpers.arrayElement(t)}commonFileType(){return this.faker.helpers.arrayElement(Q_e)}commonFileExt(){return this.fileExt(this.faker.helpers.arrayElement(eDe))}fileType(){let t=this.faker.definitions.system.mime_type,r=new Set(Object.keys(t).map(n=>n.split("/")[0]));return this.faker.helpers.arrayElement([...r])}fileExt(t){let r=this.faker.definitions.system.mime_type;if(typeof t=="string")return this.faker.helpers.arrayElement(r[t].extensions);let n=new Set(Object.values(r).flatMap(({extensions:a})=>a));return this.faker.helpers.arrayElement([...n])}directoryPath(){let t=this.faker.definitions.system.directory_path;return this.faker.helpers.arrayElement(t)}filePath(){return`${this.directoryPath()}/${this.fileName()}`}semver(){return[this.faker.number.int(9),this.faker.number.int(20),this.faker.number.int(20)].join(".")}networkInterface(t={}){let{interfaceType:r=this.faker.helpers.arrayElement(tDe),interfaceSchema:n=this.faker.helpers.objectKey(Y7)}=t,a,i="";switch(n){case"index":{a=this.faker.string.numeric();break}case"slot":{a=`${this.faker.string.numeric()}${this.faker.helpers.maybe(()=>`f${this.faker.string.numeric()}`)??""}${this.faker.helpers.maybe(()=>`d${this.faker.string.numeric()}`)??""}`;break}case"mac":{a=this.faker.internet.mac("");break}case"pci":{i=this.faker.helpers.maybe(()=>`P${this.faker.string.numeric()}`)??"",a=`${this.faker.string.numeric()}s${this.faker.string.numeric()}${this.faker.helpers.maybe(()=>`f${this.faker.string.numeric()}`)??""}${this.faker.helpers.maybe(()=>`d${this.faker.string.numeric()}`)??""}`;break}}return`${i}${r}${Y7[n]}${a}`}cron(t={}){let{includeYear:r=!1,includeNonStandard:n=!1}=t,a=[this.faker.number.int(59),"*"],i=[this.faker.number.int(23),"*"],o=[this.faker.number.int({min:1,max:31}),"*","?"],s=[this.faker.number.int({min:1,max:12}),"*"],l=[this.faker.number.int(6),this.faker.helpers.arrayElement(rDe),"*","?"],u=[this.faker.number.int({min:1970,max:2099}),"*"],d=this.faker.helpers.arrayElement(a),h=this.faker.helpers.arrayElement(i),f=this.faker.helpers.arrayElement(o),m=this.faker.helpers.arrayElement(s),b=this.faker.helpers.arrayElement(l),y=this.faker.helpers.arrayElement(u),F=`${d} ${h} ${f} ${m} ${b}`;r&&(F+=` ${y}`);let x=["@annually","@daily","@hourly","@monthly","@reboot","@weekly","@yearly"];return!n||this.faker.datatype.boolean()?F:this.faker.helpers.arrayElement(x)}},aDe=class extends Sn{vehicle(){return`${this.manufacturer()} ${this.model()}`}manufacturer(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.manufacturer)}model(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.model)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.type)}fuel(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.fuel)}vin(){let t=["o","i","q","O","I","Q"];return`${this.faker.string.alphanumeric({length:10,casing:"upper",exclude:t})}${this.faker.string.alpha({length:1,casing:"upper",exclude:t})}${this.faker.string.alphanumeric({length:1,casing:"upper",exclude:t})}${this.faker.string.numeric({length:5,allowLeadingZeros:!0})}`}color(){return this.faker.color.human()}vrm(){return`${this.faker.string.alpha({length:2,casing:"upper"})}${this.faker.string.numeric({length:2,allowLeadingZeros:!0})}${this.faker.string.alpha({length:3,casing:"upper"})}`}bicycle(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.bicycle_type)}},iDe=class extends Sn{adjective(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.word.adjective}))}adverb(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.word.adverb}))}conjunction(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.word.conjunction}))}interjection(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.word.interjection}))}noun(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.word.noun}))}preposition(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.word.preposition}))}verb(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(Zl({...t,wordList:this.faker.definitions.word.verb}))}sample(t={}){let r=this.faker.helpers.shuffle([this.adjective,this.adverb,this.conjunction,this.interjection,this.noun,this.preposition,this.verb]);for(let n of r)try{return n(t)}catch{continue}throw new Xt("No matching word data available for the current locale")}words(t={}){typeof t=="number"&&(t={count:t});let{count:r={min:1,max:3}}=t;return this.faker.helpers.multiple(()=>this.sample(),{count:r}).join(" ")}},Aee=class extends Tee{constructor(r){super({randomizer:r.randomizer,seed:r.seed});gt(this,"rawDefinitions");gt(this,"definitions");gt(this,"airline",new K4e(this));gt(this,"animal",new L_e(this));gt(this,"book",new M_e(this));gt(this,"color",new J4e(this));gt(this,"commerce",new O_e(this));gt(this,"company",new B_e(this));gt(this,"database",new P_e(this));gt(this,"date",new y_e(this));gt(this,"finance",new U_e(this));gt(this,"food",new G_e(this));gt(this,"git",new j_e(this));gt(this,"hacker",new q_e(this));gt(this,"helpers",new A_e(this));gt(this,"image",new W_e(this));gt(this,"internet",new l_e(this));gt(this,"location",new V_e(this));gt(this,"lorem",new Y_e(this));gt(this,"music",new X_e(this));gt(this,"person",new u_e(this));gt(this,"phone",new J_e(this));gt(this,"science",new Z_e(this));gt(this,"system",new nDe(this));gt(this,"vehicle",new aDe(this));gt(this,"word",new iDe(this));let{locale:n}=r;if(Array.isArray(n)){if(n.length===0)throw new Xt("The locale option must contain at least one locale definition.");n=N_e(n)}this.rawDefinitions=n,this.definitions=g_e(this.rawDefinitions)}get address(){return Dh({deprecated:"faker.address",proposed:"faker.location",since:"8.0",until:"10.0"}),this.location}get name(){return Dh({deprecated:"faker.name",proposed:"faker.person",since:"8.0",until:"10.0"}),this.person}getMetadata(){return this.rawDefinitions.metadata??{}}},oDe=["Academy Color Encoding System (ACES)","Adobe RGB","Adobe Wide Gamut RGB","British Standard Colour (BS)","CIE 1931 XYZ","CIELAB","CIELUV","CIEUVW","CMY","CMYK","DCI-P3","Display-P3","Federal Standard 595C","HKS","HSL","HSLA","HSLuv","HSV","HWB","LCh","LMS","Munsell Color System","Natural Color System (NSC)","Pantone Matching System (PMS)","ProPhoto RGB Color Space","RAL","RG","RGBA","RGK","Rec. 2020","Rec. 2100","Rec. 601","Rec. 709","Uniform Color Spaces (UCSs)","YDbDr","YIQ","YPbPr","sRGB","sYCC","scRGB","xvYCC"],sDe={space:oDe},lDe=sDe,uDe=["ascii_bin","ascii_general_ci","cp1250_bin","cp1250_general_ci","utf8_bin","utf8_general_ci","utf8_unicode_ci"],cDe=["ARCHIVE","BLACKHOLE","CSV","InnoDB","MEMORY","MyISAM"],dDe=["bigint","binary","bit","blob","boolean","date","datetime","decimal","double","enum","float","geometry","int","mediumint","point","real","serial","set","smallint","text","time","timestamp","tinyint","varchar"],hDe={collation:uDe,engine:cDe,type:dDe},pDe=hDe,_ee=["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montserrat","America/Nassau","America/New_York","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"],fDe={time_zone:_ee},mDe=fDe,gDe=["ADP","AGP","AI","API","ASCII","CLI","COM","CSS","DNS","DRAM","EXE","FTP","GB","HDD","HEX","HTTP","IB","IP","JBOD","JSON","OCR","PCI","PNG","RAM","RSS","SAS","SCSI","SDD","SMS","SMTP","SQL","SSD","SSL","TCP","THX","TLS","UDP","USB","UTF8","VGA","XML","XSS"],bDe={abbreviation:gDe},yDe=bDe,vDe={smiley:["😀","😃","😄","😁","😆","😅","🤣","😂","🙂","🙃","😉","😊","😇","🥰","😍","🤩","😘","😗","☺️","😚","😙","🥲","😋","😛","😜","🤪","😝","🤑","🤗","🤭","🤫","🤔","🤐","🤨","😐","😑","😶","😶🌫️","😏","😒","🙄","😬","😮💨","🤥","😌","😔","😪","🤤","😴","😷","🤒","🤕","🤢","🤮","🤧","🥵","🥶","🥴","😵","😵💫","🤯","🤠","🥳","🥸","😎","🤓","🧐","😕","😟","🙁","☹️","😮","😯","😲","😳","🥺","😦","😧","😨","😰","😥","😢","😭","😱","😖","😣","😞","😓","😩","😫","🥱","😤","😡","😠","🤬","😈","👿","💀","☠️","💩","🤡","👹","👺","👻","👽","👾","🤖","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🙈","🙉","🙊","💋","💌","💘","💝","💖","💗","💓","💞","💕","💟","❣️","💔","❤️🔥","❤️🩹","❤️","🧡","💛","💚","💙","💜","🤎","🖤","🤍","💯","💢","💥","💫","💦","💨","🕳️","💣","💬","👁️🗨️","🗨️","🗯️","💭","💤"],body:["👋","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","🤚","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🖐️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","✋","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","🖖","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","👌","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","🤌","🤌🏻","🤌🏼","🤌🏽","🤌🏾","🤌🏿","🤏","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","✌️","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","🤞","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤟","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤘","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤙","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","👈","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👉","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👆","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","🖕","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","👇","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","☝️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","👍","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👎","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","✊","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","👊","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","🤛","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤜","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","👏","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","🙌","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","👐","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","🤲","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤝","🙏","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","✍️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","💅","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","🤳","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","💪","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","🦾","🦿","🦵","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦶","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","👂","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","🦻","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","👃","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","🧠","🫀","🫁","🦷","🦴","👀","👁️","👅","👄"],person:["👶","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","🧒","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","👦","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👧","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","🧑","🧑🏻","🧑🏼","🧑🏽","🧑🏾","🧑🏿","👱","👱🏻","👱🏼","👱🏽","👱🏾","👱🏿","👨","👨🏻","👨🏼","👨🏽","👨🏾","👨🏿","🧔","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔♂️","🧔🏻♂️","🧔🏼♂️","🧔🏽♂️","🧔🏾♂️","🧔🏿♂️","🧔♀️","🧔🏻♀️","🧔🏼♀️","🧔🏽♀️","🧔🏾♀️","🧔🏿♀️","👨🦰","👨🏻🦰","👨🏼🦰","👨🏽🦰","👨🏾🦰","👨🏿🦰","👨🦱","👨🏻🦱","👨🏼🦱","👨🏽🦱","👨🏾🦱","👨🏿🦱","👨🦳","👨🏻🦳","👨🏼🦳","👨🏽🦳","👨🏾🦳","👨🏿🦳","👨🦲","👨🏻🦲","👨🏼🦲","👨🏽🦲","👨🏾🦲","👨🏿🦲","👩","👩🏻","👩🏼","👩🏽","👩🏾","👩🏿","👩🦰","👩🏻🦰","👩🏼🦰","👩🏽🦰","👩🏾🦰","👩🏿🦰","🧑🦰","🧑🏻🦰","🧑🏼🦰","🧑🏽🦰","🧑🏾🦰","🧑🏿🦰","👩🦱","👩🏻🦱","👩🏼🦱","👩🏽🦱","👩🏾🦱","👩🏿🦱","🧑🦱","🧑🏻🦱","🧑🏼🦱","🧑🏽🦱","🧑🏾🦱","🧑🏿🦱","👩🦳","👩🏻🦳","👩🏼🦳","👩🏽🦳","👩🏾🦳","👩🏿🦳","🧑🦳","🧑🏻🦳","🧑🏼🦳","🧑🏽🦳","🧑🏾🦳","🧑🏿🦳","👩🦲","👩🏻🦲","👩🏼🦲","👩🏽🦲","👩🏾🦲","👩🏿🦲","🧑🦲","🧑🏻🦲","🧑🏼🦲","🧑🏽🦲","🧑🏾🦲","🧑🏿🦲","👱♀️","👱🏻♀️","👱🏼♀️","👱🏽♀️","👱🏾♀️","👱🏿♀️","👱♂️","👱🏻♂️","👱🏼♂️","👱🏽♂️","👱🏾♂️","👱🏿♂️","🧓","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","👴","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👵","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","🙍","🙍🏻","🙍🏼","🙍🏽","🙍🏾","🙍🏿","🙍♂️","🙍🏻♂️","🙍🏼♂️","🙍🏽♂️","🙍🏾♂️","🙍🏿♂️","🙍♀️","🙍🏻♀️","🙍🏼♀️","🙍🏽♀️","🙍🏾♀️","🙍🏿♀️","🙎","🙎🏻","🙎🏼","🙎🏽","🙎🏾","🙎🏿","🙎♂️","🙎🏻♂️","🙎🏼♂️","🙎🏽♂️","🙎🏾♂️","🙎🏿♂️","🙎♀️","🙎🏻♀️","🙎🏼♀️","🙎🏽♀️","🙎🏾♀️","🙎🏿♀️","🙅","🙅🏻","🙅🏼","🙅🏽","🙅🏾","🙅🏿","🙅♂️","🙅🏻♂️","🙅🏼♂️","🙅🏽♂️","🙅🏾♂️","🙅🏿♂️","🙅♀️","🙅🏻♀️","🙅🏼♀️","🙅🏽♀️","🙅🏾♀️","🙅🏿♀️","🙆","🙆🏻","🙆🏼","🙆🏽","🙆🏾","🙆🏿","🙆♂️","🙆🏻♂️","🙆🏼♂️","🙆🏽♂️","🙆🏾♂️","🙆🏿♂️","🙆♀️","🙆🏻♀️","🙆🏼♀️","🙆🏽♀️","🙆🏾♀️","🙆🏿♀️","💁","💁🏻","💁🏼","💁🏽","💁🏾","💁🏿","💁♂️","💁🏻♂️","💁🏼♂️","💁🏽♂️","💁🏾♂️","💁🏿♂️","💁♀️","💁🏻♀️","💁🏼♀️","💁🏽♀️","💁🏾♀️","💁🏿♀️","🙋","🙋🏻","🙋🏼","🙋🏽","🙋🏾","🙋🏿","🙋♂️","🙋🏻♂️","🙋🏼♂️","🙋🏽♂️","🙋🏾♂️","🙋🏿♂️","🙋♀️","🙋🏻♀️","🙋🏼♀️","🙋🏽♀️","🙋🏾♀️","🙋🏿♀️","🧏","🧏🏻","🧏🏼","🧏🏽","🧏🏾","🧏🏿","🧏♂️","🧏🏻♂️","🧏🏼♂️","🧏🏽♂️","🧏🏾♂️","🧏🏿♂️","🧏♀️","🧏🏻♀️","🧏🏼♀️","🧏🏽♀️","🧏🏾♀️","🧏🏿♀️","🙇","🙇🏻","🙇🏼","🙇🏽","🙇🏾","🙇🏿","🙇♂️","🙇🏻♂️","🙇🏼♂️","🙇🏽♂️","🙇🏾♂️","🙇🏿♂️","🙇♀️","🙇🏻♀️","🙇🏼♀️","🙇🏽♀️","🙇🏾♀️","🙇🏿♀️","🤦","🤦🏻","🤦🏼","🤦🏽","🤦🏾","🤦🏿","🤦♂️","🤦🏻♂️","🤦🏼♂️","🤦🏽♂️","🤦🏾♂️","🤦🏿♂️","🤦♀️","🤦🏻♀️","🤦🏼♀️","🤦🏽♀️","🤦🏾♀️","🤦🏿♀️","🤷","🤷🏻","🤷🏼","🤷🏽","🤷🏾","🤷🏿","🤷♂️","🤷🏻♂️","🤷🏼♂️","🤷🏽♂️","🤷🏾♂️","🤷🏿♂️","🤷♀️","🤷🏻♀️","🤷🏼♀️","🤷🏽♀️","🤷🏾♀️","🤷🏿♀️","🧑⚕️","🧑🏻⚕️","🧑🏼⚕️","🧑🏽⚕️","🧑🏾⚕️","🧑🏿⚕️","👨⚕️","👨🏻⚕️","👨🏼⚕️","👨🏽⚕️","👨🏾⚕️","👨🏿⚕️","👩⚕️","👩🏻⚕️","👩🏼⚕️","👩🏽⚕️","👩🏾⚕️","👩🏿⚕️","🧑🎓","🧑🏻🎓","🧑🏼🎓","🧑🏽🎓","🧑🏾🎓","🧑🏿🎓","👨🎓","👨🏻🎓","👨🏼🎓","👨🏽🎓","👨🏾🎓","👨🏿🎓","👩🎓","👩🏻🎓","👩🏼🎓","👩🏽🎓","👩🏾🎓","👩🏿🎓","🧑🏫","🧑🏻🏫","🧑🏼🏫","🧑🏽🏫","🧑🏾🏫","🧑🏿🏫","👨🏫","👨🏻🏫","👨🏼🏫","👨🏽🏫","👨🏾🏫","👨🏿🏫","👩🏫","👩🏻🏫","👩🏼🏫","👩🏽🏫","👩🏾🏫","👩🏿🏫","🧑⚖️","🧑🏻⚖️","🧑🏼⚖️","🧑🏽⚖️","🧑🏾⚖️","🧑🏿⚖️","👨⚖️","👨🏻⚖️","👨🏼⚖️","👨🏽⚖️","👨🏾⚖️","👨🏿⚖️","👩⚖️","👩🏻⚖️","👩🏼⚖️","👩🏽⚖️","👩🏾⚖️","👩🏿⚖️","🧑🌾","🧑🏻🌾","🧑🏼🌾","🧑🏽🌾","🧑🏾🌾","🧑🏿🌾","👨🌾","👨🏻🌾","👨🏼🌾","👨🏽🌾","👨🏾🌾","👨🏿🌾","👩🌾","👩🏻🌾","👩🏼🌾","👩🏽🌾","👩🏾🌾","👩🏿🌾","🧑🍳","🧑🏻🍳","🧑🏼🍳","🧑🏽🍳","🧑🏾🍳","🧑🏿🍳","👨🍳","👨🏻🍳","👨🏼🍳","👨🏽🍳","👨🏾🍳","👨🏿🍳","👩🍳","👩🏻🍳","👩🏼🍳","👩🏽🍳","👩🏾🍳","👩🏿🍳","🧑🔧","🧑🏻🔧","🧑🏼🔧","🧑🏽🔧","🧑🏾🔧","🧑🏿🔧","👨🔧","👨🏻🔧","👨🏼🔧","👨🏽🔧","👨🏾🔧","👨🏿🔧","👩🔧","👩🏻🔧","👩🏼🔧","👩🏽🔧","👩🏾🔧","👩🏿🔧","🧑🏭","🧑🏻🏭","🧑🏼🏭","🧑🏽🏭","🧑🏾🏭","🧑🏿🏭","👨🏭","👨🏻🏭","👨🏼🏭","👨🏽🏭","👨🏾🏭","👨🏿🏭","👩🏭","👩🏻🏭","👩🏼🏭","👩🏽🏭","👩🏾🏭","👩🏿🏭","🧑💼","🧑🏻💼","🧑🏼💼","🧑🏽💼","🧑🏾💼","🧑🏿💼","👨💼","👨🏻💼","👨🏼💼","👨🏽💼","👨🏾💼","👨🏿💼","👩💼","👩🏻💼","👩🏼💼","👩🏽💼","👩🏾💼","👩🏿💼","🧑🔬","🧑🏻🔬","🧑🏼🔬","🧑🏽🔬","🧑🏾🔬","🧑🏿🔬","👨🔬","👨🏻🔬","👨🏼🔬","👨🏽🔬","👨🏾🔬","👨🏿🔬","👩🔬","👩🏻🔬","👩🏼🔬","👩🏽🔬","👩🏾🔬","👩🏿🔬","🧑💻","🧑🏻💻","🧑🏼💻","🧑🏽💻","🧑🏾💻","🧑🏿💻","👨💻","👨🏻💻","👨🏼💻","👨🏽💻","👨🏾💻","👨🏿💻","👩💻","👩🏻💻","👩🏼💻","👩🏽💻","👩🏾💻","👩🏿💻","🧑🎤","🧑🏻🎤","🧑🏼🎤","🧑🏽🎤","🧑🏾🎤","🧑🏿🎤","👨🎤","👨🏻🎤","👨🏼🎤","👨🏽🎤","👨🏾🎤","👨🏿🎤","👩🎤","👩🏻🎤","👩🏼🎤","👩🏽🎤","👩🏾🎤","👩🏿🎤","🧑🎨","🧑🏻🎨","🧑🏼🎨","🧑🏽🎨","🧑🏾🎨","🧑🏿🎨","👨🎨","👨🏻🎨","👨🏼🎨","👨🏽🎨","👨🏾🎨","👨🏿🎨","👩🎨","👩🏻🎨","👩🏼🎨","👩🏽🎨","👩🏾🎨","👩🏿🎨","🧑✈️","🧑🏻✈️","🧑🏼✈️","🧑🏽✈️","🧑🏾✈️","🧑🏿✈️","👨✈️","👨🏻✈️","👨🏼✈️","👨🏽✈️","👨🏾✈️","👨🏿✈️","👩✈️","👩🏻✈️","👩🏼✈️","👩🏽✈️","👩🏾✈️","👩🏿✈️","🧑🚀","🧑🏻🚀","🧑🏼🚀","🧑🏽🚀","🧑🏾🚀","🧑🏿🚀","👨🚀","👨🏻🚀","👨🏼🚀","👨🏽🚀","👨🏾🚀","👨🏿🚀","👩🚀","👩🏻🚀","👩🏼🚀","👩🏽🚀","👩🏾🚀","👩🏿🚀","🧑🚒","🧑🏻🚒","🧑🏼🚒","🧑🏽🚒","🧑🏾🚒","🧑🏿🚒","👨🚒","👨🏻🚒","👨🏼🚒","👨🏽🚒","👨🏾🚒","👨🏿🚒","👩🚒","👩🏻🚒","👩🏼🚒","👩🏽🚒","👩🏾🚒","👩🏿🚒","👮","👮🏻","👮🏼","👮🏽","👮🏾","👮🏿","👮♂️","👮🏻♂️","👮🏼♂️","👮🏽♂️","👮🏾♂️","👮🏿♂️","👮♀️","👮🏻♀️","👮🏼♀️","👮🏽♀️","👮🏾♀️","👮🏿♀️","🕵️","🕵🏻","🕵🏼","🕵🏽","🕵🏾","🕵🏿","🕵️♂️","🕵🏻♂️","🕵🏼♂️","🕵🏽♂️","🕵🏾♂️","🕵🏿♂️","🕵️♀️","🕵🏻♀️","🕵🏼♀️","🕵🏽♀️","🕵🏾♀️","🕵🏿♀️","💂","💂🏻","💂🏼","💂🏽","💂🏾","💂🏿","💂♂️","💂🏻♂️","💂🏼♂️","💂🏽♂️","💂🏾♂️","💂🏿♂️","💂♀️","💂🏻♀️","💂🏼♀️","💂🏽♀️","💂🏾♀️","💂🏿♀️","🥷","🥷🏻","🥷🏼","🥷🏽","🥷🏾","🥷🏿","👷","👷🏻","👷🏼","👷🏽","👷🏾","👷🏿","👷♂️","👷🏻♂️","👷🏼♂️","👷🏽♂️","👷🏾♂️","👷🏿♂️","👷♀️","👷🏻♀️","👷🏼♀️","👷🏽♀️","👷🏾♀️","👷🏿♀️","🤴","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","👸","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👳","👳🏻","👳🏼","👳🏽","👳🏾","👳🏿","👳♂️","👳🏻♂️","👳🏼♂️","👳🏽♂️","👳🏾♂️","👳🏿♂️","👳♀️","👳🏻♀️","👳🏼♀️","👳🏽♀️","👳🏾♀️","👳🏿♀️","👲","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","🧕","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🤵","🤵🏻","🤵🏼","🤵🏽","🤵🏾","🤵🏿","🤵♂️","🤵🏻♂️","🤵🏼♂️","🤵🏽♂️","🤵🏾♂️","🤵🏿♂️","🤵♀️","🤵🏻♀️","🤵🏼♀️","🤵🏽♀️","🤵🏾♀️","🤵🏿♀️","👰","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰♂️","👰🏻♂️","👰🏼♂️","👰🏽♂️","👰🏾♂️","👰🏿♂️","👰♀️","👰🏻♀️","👰🏼♀️","👰🏽♀️","👰🏾♀️","👰🏿♀️","🤰","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤱","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","👩🍼","👩🏻🍼","👩🏼🍼","👩🏽🍼","👩🏾🍼","👩🏿🍼","👨🍼","👨🏻🍼","👨🏼🍼","👨🏽🍼","👨🏾🍼","👨🏿🍼","🧑🍼","🧑🏻🍼","🧑🏼🍼","🧑🏽🍼","🧑🏾🍼","🧑🏿🍼","👼","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","🎅","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🤶","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🧑🎄","🧑🏻🎄","🧑🏼🎄","🧑🏽🎄","🧑🏾🎄","🧑🏿🎄","🦸","🦸🏻","🦸🏼","🦸🏽","🦸🏾","🦸🏿","🦸♂️","🦸🏻♂️","🦸🏼♂️","🦸🏽♂️","🦸🏾♂️","🦸🏿♂️","🦸♀️","🦸🏻♀️","🦸🏼♀️","🦸🏽♀️","🦸🏾♀️","🦸🏿♀️","🦹","🦹🏻","🦹🏼","🦹🏽","🦹🏾","🦹🏿","🦹♂️","🦹🏻♂️","🦹🏼♂️","🦹🏽♂️","🦹🏾♂️","🦹🏿♂️","🦹♀️","🦹🏻♀️","🦹🏼♀️","🦹🏽♀️","🦹🏾♀️","🦹🏿♀️","🧙","🧙🏻","🧙🏼","🧙🏽","🧙🏾","🧙🏿","🧙♂️","🧙🏻♂️","🧙🏼♂️","🧙🏽♂️","🧙🏾♂️","🧙🏿♂️","🧙♀️","🧙🏻♀️","🧙🏼♀️","🧙🏽♀️","🧙🏾♀️","🧙🏿♀️","🧚","🧚🏻","🧚🏼","🧚🏽","🧚🏾","🧚🏿","🧚♂️","🧚🏻♂️","🧚🏼♂️","🧚🏽♂️","🧚🏾♂️","🧚🏿♂️","🧚♀️","🧚🏻♀️","🧚🏼♀️","🧚🏽♀️","🧚🏾♀️","🧚🏿♀️","🧛","🧛🏻","🧛🏼","🧛🏽","🧛🏾","🧛🏿","🧛♂️","🧛🏻♂️","🧛🏼♂️","🧛🏽♂️","🧛🏾♂️","🧛🏿♂️","🧛♀️","🧛🏻♀️","🧛🏼♀️","🧛🏽♀️","🧛🏾♀️","🧛🏿♀️","🧜","🧜🏻","🧜🏼","🧜🏽","🧜🏾","🧜🏿","🧜♂️","🧜🏻♂️","🧜🏼♂️","🧜🏽♂️","🧜🏾♂️","🧜🏿♂️","🧜♀️","🧜🏻♀️","🧜🏼♀️","🧜🏽♀️","🧜🏾♀️","🧜🏿♀️","🧝","🧝🏻","🧝🏼","🧝🏽","🧝🏾","🧝🏿","🧝♂️","🧝🏻♂️","🧝🏼♂️","🧝🏽♂️","🧝🏾♂️","🧝🏿♂️","🧝♀️","🧝🏻♀️","🧝🏼♀️","🧝🏽♀️","🧝🏾♀️","🧝🏿♀️","🧞","🧞♂️","🧞♀️","🧟","🧟♂️","🧟♀️","💆","💆🏻","💆🏼","💆🏽","💆🏾","💆🏿","💆♂️","💆🏻♂️","💆🏼♂️","💆🏽♂️","💆🏾♂️","💆🏿♂️","💆♀️","💆🏻♀️","💆🏼♀️","💆🏽♀️","💆🏾♀️","💆🏿♀️","💇","💇🏻","💇🏼","💇🏽","💇🏾","💇🏿","💇♂️","💇🏻♂️","💇🏼♂️","💇🏽♂️","💇🏾♂️","💇🏿♂️","💇♀️","💇🏻♀️","💇🏼♀️","💇🏽♀️","💇🏾♀️","💇🏿♀️","🚶","🚶🏻","🚶🏼","🚶🏽","🚶🏾","🚶🏿","🚶♂️","🚶🏻♂️","🚶🏼♂️","🚶🏽♂️","🚶🏾♂️","🚶🏿♂️","🚶♀️","🚶🏻♀️","🚶🏼♀️","🚶🏽♀️","🚶🏾♀️","🚶🏿♀️","🧍","🧍🏻","🧍🏼","🧍🏽","🧍🏾","🧍🏿","🧍♂️","🧍🏻♂️","🧍🏼♂️","🧍🏽♂️","🧍🏾♂️","🧍🏿♂️","🧍♀️","🧍🏻♀️","🧍🏼♀️","🧍🏽♀️","🧍🏾♀️","🧍🏿♀️","🧎","🧎🏻","🧎🏼","🧎🏽","🧎🏾","🧎🏿","🧎♂️","🧎🏻♂️","🧎🏼♂️","🧎🏽♂️","🧎🏾♂️","🧎🏿♂️","🧎♀️","🧎🏻♀️","🧎🏼♀️","🧎🏽♀️","🧎🏾♀️","🧎🏿♀️","🧑🦯","🧑🏻🦯","🧑🏼🦯","🧑🏽🦯","🧑🏾🦯","🧑🏿🦯","👨🦯","👨🏻🦯","👨🏼🦯","👨🏽🦯","👨🏾🦯","👨🏿🦯","👩🦯","👩🏻🦯","👩🏼🦯","👩🏽🦯","👩🏾🦯","👩🏿🦯","🧑🦼","🧑🏻🦼","🧑🏼🦼","🧑🏽🦼","🧑🏾🦼","🧑🏿🦼","👨🦼","👨🏻🦼","👨🏼🦼","👨🏽🦼","👨🏾🦼","👨🏿🦼","👩🦼","👩🏻🦼","👩🏼🦼","👩🏽🦼","👩🏾🦼","👩🏿🦼","🧑🦽","🧑🏻🦽","🧑🏼🦽","🧑🏽🦽","🧑🏾🦽","🧑🏿🦽","👨🦽","👨🏻🦽","👨🏼🦽","👨🏽🦽","👨🏾🦽","👨🏿🦽","👩🦽","👩🏻🦽","👩🏼🦽","👩🏽🦽","👩🏾🦽","👩🏿🦽","🏃","🏃🏻","🏃🏼","🏃🏽","🏃🏾","🏃🏿","🏃♂️","🏃🏻♂️","🏃🏼♂️","🏃🏽♂️","🏃🏾♂️","🏃🏿♂️","🏃♀️","🏃🏻♀️","🏃🏼♀️","🏃🏽♀️","🏃🏾♀️","🏃🏿♀️","💃","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","🕺","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕴️","🕴🏻","🕴🏼","🕴🏽","🕴🏾","🕴🏿","👯","👯♂️","👯♀️","🧖","🧖🏻","🧖🏼","🧖🏽","🧖🏾","🧖🏿","🧖♂️","🧖🏻♂️","🧖🏼♂️","🧖🏽♂️","🧖🏾♂️","🧖🏿♂️","🧖♀️","🧖🏻♀️","🧖🏼♀️","🧖🏽♀️","🧖🏾♀️","🧖🏿♀️","🧗","🧗🏻","🧗🏼","🧗🏽","🧗🏾","🧗🏿","🧗♂️","🧗🏻♂️","🧗🏼♂️","🧗🏽♂️","🧗🏾♂️","🧗🏿♂️","🧗♀️","🧗🏻♀️","🧗🏼♀️","🧗🏽♀️","🧗🏾♀️","🧗🏿♀️","🤺","🏇","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","⛷️","🏂","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏌️","🏌🏻","🏌🏼","🏌🏽","🏌🏾","🏌🏿","🏌️♂️","🏌🏻♂️","🏌🏼♂️","🏌🏽♂️","🏌🏾♂️","🏌🏿♂️","🏌️♀️","🏌🏻♀️","🏌🏼♀️","🏌🏽♀️","🏌🏾♀️","🏌🏿♀️","🏄","🏄🏻","🏄🏼","🏄🏽","🏄🏾","🏄🏿","🏄♂️","🏄🏻♂️","🏄🏼♂️","🏄🏽♂️","🏄🏾♂️","🏄🏿♂️","🏄♀️","🏄🏻♀️","🏄🏼♀️","🏄🏽♀️","🏄🏾♀️","🏄🏿♀️","🚣","🚣🏻","🚣🏼","🚣🏽","🚣🏾","🚣🏿","🚣♂️","🚣🏻♂️","🚣🏼♂️","🚣🏽♂️","🚣🏾♂️","🚣🏿♂️","🚣♀️","🚣🏻♀️","🚣🏼♀️","🚣🏽♀️","🚣🏾♀️","🚣🏿♀️","🏊","🏊🏻","🏊🏼","🏊🏽","🏊🏾","🏊🏿","🏊♂️","🏊🏻♂️","🏊🏼♂️","🏊🏽♂️","🏊🏾♂️","🏊🏿♂️","🏊♀️","🏊🏻♀️","🏊🏼♀️","🏊🏽♀️","🏊🏾♀️","🏊🏿♀️","⛹️","⛹🏻","⛹🏼","⛹🏽","⛹🏾","⛹🏿","⛹️♂️","⛹🏻♂️","⛹🏼♂️","⛹🏽♂️","⛹🏾♂️","⛹🏿♂️","⛹️♀️","⛹🏻♀️","⛹🏼♀️","⛹🏽♀️","⛹🏾♀️","⛹🏿♀️","🏋️","🏋🏻","🏋🏼","🏋🏽","🏋🏾","🏋🏿","🏋️♂️","🏋🏻♂️","🏋🏼♂️","🏋🏽♂️","🏋🏾♂️","🏋🏿♂️","🏋️♀️","🏋🏻♀️","🏋🏼♀️","🏋🏽♀️","🏋🏾♀️","🏋🏿♀️","🚴","🚴🏻","🚴🏼","🚴🏽","🚴🏾","🚴🏿","🚴♂️","🚴🏻♂️","🚴🏼♂️","🚴🏽♂️","🚴🏾♂️","🚴🏿♂️","🚴♀️","🚴🏻♀️","🚴🏼♀️","🚴🏽♀️","🚴🏾♀️","🚴🏿♀️","🚵","🚵🏻","🚵🏼","🚵🏽","🚵🏾","🚵🏿","🚵♂️","🚵🏻♂️","🚵🏼♂️","🚵🏽♂️","🚵🏾♂️","🚵🏿♂️","🚵♀️","🚵🏻♀️","🚵🏼♀️","🚵🏽♀️","🚵🏾♀️","🚵🏿♀️","🤸","🤸🏻","🤸🏼","🤸🏽","🤸🏾","🤸🏿","🤸♂️","🤸🏻♂️","🤸🏼♂️","🤸🏽♂️","🤸🏾♂️","🤸🏿♂️","🤸♀️","🤸🏻♀️","🤸🏼♀️","🤸🏽♀️","🤸🏾♀️","🤸🏿♀️","🤼","🤼♂️","🤼♀️","🤽","🤽🏻","🤽🏼","🤽🏽","🤽🏾","🤽🏿","🤽♂️","🤽🏻♂️","🤽🏼♂️","🤽🏽♂️","🤽🏾♂️","🤽🏿♂️","🤽♀️","🤽🏻♀️","🤽🏼♀️","🤽🏽♀️","🤽🏾♀️","🤽🏿♀️","🤾","🤾🏻","🤾🏼","🤾🏽","🤾🏾","🤾🏿","🤾♂️","🤾🏻♂️","🤾🏼♂️","🤾🏽♂️","🤾🏾♂️","🤾🏿♂️","🤾♀️","🤾🏻♀️","🤾🏼♀️","🤾🏽♀️","🤾🏾♀️","🤾🏿♀️","🤹","🤹🏻","🤹🏼","🤹🏽","🤹🏾","🤹🏿","🤹♂️","🤹🏻♂️","🤹🏼♂️","🤹🏽♂️","🤹🏾♂️","🤹🏿♂️","🤹♀️","🤹🏻♀️","🤹🏼♀️","🤹🏽♀️","🤹🏾♀️","🤹🏿♀️","🧘","🧘🏻","🧘🏼","🧘🏽","🧘🏾","🧘🏿","🧘♂️","🧘🏻♂️","🧘🏼♂️","🧘🏽♂️","🧘🏾♂️","🧘🏿♂️","🧘♀️","🧘🏻♀️","🧘🏼♀️","🧘🏽♀️","🧘🏾♀️","🧘🏿♀️","🛀","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛌","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🧑🤝🧑","🧑🏻🤝🧑🏻","🧑🏻🤝🧑🏼","🧑🏻🤝🧑🏽","🧑🏻🤝🧑🏾","🧑🏻🤝🧑🏿","🧑🏼🤝🧑🏻","🧑🏼🤝🧑🏼","🧑🏼🤝🧑🏽","🧑🏼🤝🧑🏾","🧑🏼🤝🧑🏿","🧑🏽🤝🧑🏻","🧑🏽🤝🧑🏼","🧑🏽🤝🧑🏽","🧑🏽🤝🧑🏾","🧑🏽🤝🧑🏿","🧑🏾🤝🧑🏻","🧑🏾🤝🧑🏼","🧑🏾🤝🧑🏽","🧑🏾🤝🧑🏾","🧑🏾🤝🧑🏿","🧑🏿🤝🧑🏻","🧑🏿🤝🧑🏼","🧑🏿🤝🧑🏽","🧑🏿🤝🧑🏾","🧑🏿🤝🧑🏿","👭","👭🏻","👩🏻🤝👩🏼","👩🏻🤝👩🏽","👩🏻🤝👩🏾","👩🏻🤝👩🏿","👩🏼🤝👩🏻","👭🏼","👩🏼🤝👩🏽","👩🏼🤝👩🏾","👩🏼🤝👩🏿","👩🏽🤝👩🏻","👩🏽🤝👩🏼","👭🏽","👩🏽🤝👩🏾","👩🏽🤝👩🏿","👩🏾🤝👩🏻","👩🏾🤝👩🏼","👩🏾🤝👩🏽","👭🏾","👩🏾🤝👩🏿","👩🏿🤝👩🏻","👩🏿🤝👩🏼","👩🏿🤝👩🏽","👩🏿🤝👩🏾","👭🏿","👫","👫🏻","👩🏻🤝👨🏼","👩🏻🤝👨🏽","👩🏻🤝👨🏾","👩🏻🤝👨🏿","👩🏼🤝👨🏻","👫🏼","👩🏼🤝👨🏽","👩🏼🤝👨🏾","👩🏼🤝👨🏿","👩🏽🤝👨🏻","👩🏽🤝👨🏼","👫🏽","👩🏽🤝👨🏾","👩🏽🤝👨🏿","👩🏾🤝👨🏻","👩🏾🤝👨🏼","👩🏾🤝👨🏽","👫🏾","👩🏾🤝👨🏿","👩🏿🤝👨🏻","👩🏿🤝👨🏼","👩🏿🤝👨🏽","👩🏿🤝👨🏾","👫🏿","👬","👬🏻","👨🏻🤝👨🏼","👨🏻🤝👨🏽","👨🏻🤝👨🏾","👨🏻🤝👨🏿","👨🏼🤝👨🏻","👬🏼","👨🏼🤝👨🏽","👨🏼🤝👨🏾","👨🏼🤝👨🏿","👨🏽🤝👨🏻","👨🏽🤝👨🏼","👬🏽","👨🏽🤝👨🏾","👨🏽🤝👨🏿","👨🏾🤝👨🏻","👨🏾🤝👨🏼","👨🏾🤝👨🏽","👬🏾","👨🏾🤝👨🏿","👨🏿🤝👨🏻","👨🏿🤝👨🏼","👨🏿🤝👨🏽","👨🏿🤝👨🏾","👬🏿","💏","💏🏻","💏🏼","💏🏽","💏🏾","💏🏿","🧑🏻❤️💋🧑🏼","🧑🏻❤️💋🧑🏽","🧑🏻❤️💋🧑🏾","🧑🏻❤️💋🧑🏿","🧑🏼❤️💋🧑🏻","🧑🏼❤️💋🧑🏽","🧑🏼❤️💋🧑🏾","🧑🏼❤️💋🧑🏿","🧑🏽❤️💋🧑🏻","🧑🏽❤️💋🧑🏼","🧑🏽❤️💋🧑🏾","🧑🏽❤️💋🧑🏿","🧑🏾❤️💋🧑🏻","🧑🏾❤️💋🧑🏼","🧑🏾❤️💋🧑🏽","🧑🏾❤️💋🧑🏿","🧑🏿❤️💋🧑🏻","🧑🏿❤️💋🧑🏼","🧑🏿❤️💋🧑🏽","🧑🏿❤️💋🧑🏾","👩❤️💋👨","👩🏻❤️💋👨🏻","👩🏻❤️💋👨🏼","👩🏻❤️💋👨🏽","👩🏻❤️💋👨🏾","👩🏻❤️💋👨🏿","👩🏼❤️💋👨🏻","👩🏼❤️💋👨🏼","👩🏼❤️💋👨🏽","👩🏼❤️💋👨🏾","👩🏼❤️💋👨🏿","👩🏽❤️💋👨🏻","👩🏽❤️💋👨🏼","👩🏽❤️💋👨🏽","👩🏽❤️💋👨🏾","👩🏽❤️💋👨🏿","👩🏾❤️💋👨🏻","👩🏾❤️💋👨🏼","👩🏾❤️💋👨🏽","👩🏾❤️💋👨🏾","👩🏾❤️💋👨🏿","👩🏿❤️💋👨🏻","👩🏿❤️💋👨🏼","👩🏿❤️💋👨🏽","👩🏿❤️💋👨🏾","👩🏿❤️💋👨🏿","👨❤️💋👨","👨🏻❤️💋👨🏻","👨🏻❤️💋👨🏼","👨🏻❤️💋👨🏽","👨🏻❤️💋👨🏾","👨🏻❤️💋👨🏿","👨🏼❤️💋👨🏻","👨🏼❤️💋👨🏼","👨🏼❤️💋👨🏽","👨🏼❤️💋👨🏾","👨🏼❤️💋👨🏿","👨🏽❤️💋👨🏻","👨🏽❤️💋👨🏼","👨🏽❤️💋👨🏽","👨🏽❤️💋👨🏾","👨🏽❤️💋👨🏿","👨🏾❤️💋👨🏻","👨🏾❤️💋👨🏼","👨🏾❤️💋👨🏽","👨🏾❤️💋👨🏾","👨🏾❤️💋👨🏿","👨🏿❤️💋👨🏻","👨🏿❤️💋👨🏼","👨🏿❤️💋👨🏽","👨🏿❤️💋👨🏾","👨🏿❤️💋👨🏿","👩❤️💋👩","👩🏻❤️💋👩🏻","👩🏻❤️💋👩🏼","👩🏻❤️💋👩🏽","👩🏻❤️💋👩🏾","👩🏻❤️💋👩🏿","👩🏼❤️💋👩🏻","👩🏼❤️💋👩🏼","👩🏼❤️💋👩🏽","👩🏼❤️💋👩🏾","👩🏼❤️💋👩🏿","👩🏽❤️💋👩🏻","👩🏽❤️💋👩🏼","👩🏽❤️💋👩🏽","👩🏽❤️💋👩🏾","👩🏽❤️💋👩🏿","👩🏾❤️💋👩🏻","👩🏾❤️💋👩🏼","👩🏾❤️💋👩🏽","👩🏾❤️💋👩🏾","👩🏾❤️💋👩🏿","👩🏿❤️💋👩🏻","👩🏿❤️💋👩🏼","👩🏿❤️💋👩🏽","👩🏿❤️💋👩🏾","👩🏿❤️💋👩🏿","💑","💑🏻","💑🏼","💑🏽","💑🏾","💑🏿","🧑🏻❤️🧑🏼","🧑🏻❤️🧑🏽","🧑🏻❤️🧑🏾","🧑🏻❤️🧑🏿","🧑🏼❤️🧑🏻","🧑🏼❤️🧑🏽","🧑🏼❤️🧑🏾","🧑🏼❤️🧑🏿","🧑🏽❤️🧑🏻","🧑🏽❤️🧑🏼","🧑🏽❤️🧑🏾","🧑🏽❤️🧑🏿","🧑🏾❤️🧑🏻","🧑🏾❤️🧑🏼","🧑🏾❤️🧑🏽","🧑🏾❤️🧑🏿","🧑🏿❤️🧑🏻","🧑🏿❤️🧑🏼","🧑🏿❤️🧑🏽","🧑🏿❤️🧑🏾","👩❤️👨","👩🏻❤️👨🏻","👩🏻❤️👨🏼","👩🏻❤️👨🏽","👩🏻❤️👨🏾","👩🏻❤️👨🏿","👩🏼❤️👨🏻","👩🏼❤️👨🏼","👩🏼❤️👨🏽","👩🏼❤️👨🏾","👩🏼❤️👨🏿","👩🏽❤️👨🏻","👩🏽❤️👨🏼","👩🏽❤️👨🏽","👩🏽❤️👨🏾","👩🏽❤️👨🏿","👩🏾❤️👨🏻","👩🏾❤️👨🏼","👩🏾❤️👨🏽","👩🏾❤️👨🏾","👩🏾❤️👨🏿","👩🏿❤️👨🏻","👩🏿❤️👨🏼","👩🏿❤️👨🏽","👩🏿❤️👨🏾","👩🏿❤️👨🏿","👨❤️👨","👨🏻❤️👨🏻","👨🏻❤️👨🏼","👨🏻❤️👨🏽","👨🏻❤️👨🏾","👨🏻❤️👨🏿","👨🏼❤️👨🏻","👨🏼❤️👨🏼","👨🏼❤️👨🏽","👨🏼❤️👨🏾","👨🏼❤️👨🏿","👨🏽❤️👨🏻","👨🏽❤️👨🏼","👨🏽❤️👨🏽","👨🏽❤️👨🏾","👨🏽❤️👨🏿","👨🏾❤️👨🏻","👨🏾❤️👨🏼","👨🏾❤️👨🏽","👨🏾❤️👨🏾","👨🏾❤️👨🏿","👨🏿❤️👨🏻","👨🏿❤️👨🏼","👨🏿❤️👨🏽","👨🏿❤️👨🏾","👨🏿❤️👨🏿","👩❤️👩","👩🏻❤️👩🏻","👩🏻❤️👩🏼","👩🏻❤️👩🏽","👩🏻❤️👩🏾","👩🏻❤️👩🏿","👩🏼❤️👩🏻","👩🏼❤️👩🏼","👩🏼❤️👩🏽","👩🏼❤️👩🏾","👩🏼❤️👩🏿","👩🏽❤️👩🏻","👩🏽❤️👩🏼","👩🏽❤️👩🏽","👩🏽❤️👩🏾","👩🏽❤️👩🏿","👩🏾❤️👩🏻","👩🏾❤️👩🏼","👩🏾❤️👩🏽","👩🏾❤️👩🏾","👩🏾❤️👩🏿","👩🏿❤️👩🏻","👩🏿❤️👩🏼","👩🏿❤️👩🏽","👩🏿❤️👩🏾","👩🏿❤️👩🏿","👪","👨👩👦","👨👩👧","👨👩👧👦","👨👩👦👦","👨👩👧👧","👨👨👦","👨👨👧","👨👨👧👦","👨👨👦👦","👨👨👧👧","👩👩👦","👩👩👧","👩👩👧👦","👩👩👦👦","👩👩👧👧","👨👦","👨👦👦","👨👧","👨👧👦","👨👧👧","👩👦","👩👦👦","👩👧","👩👧👦","👩👧👧","🗣️","👤","👥","🫂","👣"],nature:["🐵","🐒","🦍","🦧","🐶","🐕","🦮","🐕🦺","🐩","🐺","🦊","🦝","🐱","🐈","🐈⬛","🦁","🐯","🐅","🐆","🐴","🐎","🦄","🦓","🦌","🦬","🐮","🐂","🐃","🐄","🐷","🐖","🐗","🐽","🐏","🐑","🐐","🐪","🐫","🦙","🦒","🐘","🦣","🦏","🦛","🐭","🐁","🐀","🐹","🐰","🐇","🐿️","🦫","🦔","🦇","🐻","🐻❄️","🐨","🐼","🦥","🦦","🦨","🦘","🦡","🐾","🦃","🐔","🐓","🐣","🐤","🐥","🐦","🐧","🕊️","🦅","🦆","🦢","🦉","🦤","🪶","🦩","🦚","🦜","🐸","🐊","🐢","🦎","🐍","🐲","🐉","🦕","🦖","🐳","🐋","🐬","🦭","🐟","🐠","🐡","🦈","🐙","🐚","🐌","🦋","🐛","🐜","🐝","🪲","🐞","🦗","🪳","🕷️","🕸️","🦂","🦟","🪰","🪱","🦠","💐","🌸","💮","🏵️","🌹","🥀","🌺","🌻","🌼","🌷","🌱","🪴","🌲","🌳","🌴","🌵","🌾","🌿","☘️","🍀","🍁","🍂","🍃"],food:["🍇","🍈","🍉","🍊","🍋","🍌","🍍","🥭","🍎","🍏","🍐","🍑","🍒","🍓","🫐","🥝","🍅","🫒","🥥","🥑","🍆","🥔","🥕","🌽","🌶️","🫑","🥒","🥬","🥦","🧄","🧅","🍄","🥜","🌰","🍞","🥐","🥖","🫓","🥨","🥯","🥞","🧇","🧀","🍖","🍗","🥩","🥓","🍔","🍟","🍕","🌭","🥪","🌮","🌯","🫔","🥙","🧆","🥚","🍳","🥘","🍲","🫕","🥣","🥗","🍿","🧈","🧂","🥫","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🥮","🍡","🥟","🥠","🥡","🦀","🦞","🦐","🦑","🦪","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🧁","🥧","🍫","🍬","🍭","🍮","🍯","🍼","🥛","☕","🫖","🍵","🍶","🍾","🍷","🍸","🍹","🍺","🍻","🥂","🥃","🥤","🧋","🧃","🧉","🧊","🥢","🍽️","🍴","🥄","🔪","🏺"],travel:["🌍","🌎","🌏","🌐","🗺️","🗾","🧭","🏔️","⛰️","🌋","🗻","🏕️","🏖️","🏜️","🏝️","🏞️","🏟️","🏛️","🏗️","🧱","🪨","🪵","🛖","🏘️","🏚️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏨","🏩","🏪","🏫","🏬","🏭","🏯","🏰","💒","🗼","🗽","⛪","🕌","🛕","🕍","⛩️","🕋","⛲","⛺","🌁","🌃","🏙️","🌄","🌅","🌆","🌇","🌉","♨️","🎠","🎡","🎢","💈","🎪","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚝","🚞","🚋","🚌","🚍","🚎","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🛻","🚚","🚛","🚜","🏎️","🏍️","🛵","🦽","🦼","🛺","🚲","🛴","🛹","🛼","🚏","🛣️","🛤️","🛢️","⛽","🚨","🚥","🚦","🛑","🚧","⚓","⛵","🛶","🚤","🛳️","⛴️","🛥️","🚢","✈️","🛩️","🛫","🛬","🪂","💺","🚁","🚟","🚠","🚡","🛰️","🚀","🛸","🛎️","🧳","⌛","⏳","⌚","⏰","⏱️","⏲️","🕰️","🕛","🕧","🕐","🕜","🕑","🕝","🕒","🕞","🕓","🕟","🕔","🕠","🕕","🕡","🕖","🕢","🕗","🕣","🕘","🕤","🕙","🕥","🕚","🕦","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌡️","☀️","🌝","🌞","🪐","⭐","🌟","🌠","🌌","☁️","⛅","⛈️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌀","🌈","🌂","☂️","☔","⛱️","⚡","❄️","☃️","⛄","☄️","🔥","💧","🌊"],activity:["🎃","🎄","🎆","🎇","🧨","✨","🎈","🎉","🎊","🎋","🎍","🎎","🎏","🎐","🎑","🧧","🎀","🎁","🎗️","🎟️","🎫","🎖️","🏆","🏅","🥇","🥈","🥉","⚽","⚾","🥎","🏀","🏐","🏈","🏉","🎾","🥏","🎳","🏏","🏑","🏒","🥍","🏓","🏸","🥊","🥋","🥅","⛳","⛸️","🎣","🤿","🎽","🎿","🛷","🥌","🎯","🪀","🪁","🎱","🔮","🪄","🧿","🎮","🕹️","🎰","🎲","🧩","🧸","🪅","🪆","♠️","♥️","♦️","♣️","♟️","🃏","🀄","🎴","🎭","🖼️","🎨","🧵","🪡","🧶","🪢"],object:["👓","🕶️","🥽","🥼","🦺","👔","👕","👖","🧣","🧤","🧥","🧦","👗","👘","🥻","🩱","🩲","🩳","👙","👚","👛","👜","👝","🛍️","🎒","🩴","👞","👟","🥾","🥿","👠","👡","🩰","👢","👑","👒","🎩","🎓","🧢","🪖","⛑️","📿","💄","💍","💎","🔇","🔈","🔉","🔊","📢","📣","📯","🔔","🔕","🎼","🎵","🎶","🎙️","🎚️","🎛️","🎤","🎧","📻","🎷","🪗","🎸","🎹","🎺","🎻","🪕","🥁","🪘","📱","📲","☎️","📞","📟","📠","🔋","🔌","💻","🖥️","🖨️","⌨️","🖱️","🖲️","💽","💾","💿","📀","🧮","🎥","🎞️","📽️","🎬","📺","📷","📸","📹","📼","🔍","🔎","🕯️","💡","🔦","🏮","🪔","📔","📕","📖","📗","📘","📙","📚","📓","📒","📃","📜","📄","📰","🗞️","📑","🔖","🏷️","💰","🪙","💴","💵","💶","💷","💸","💳","🧾","💹","✉️","📧","📨","📩","📤","📥","📦","📫","📪","📬","📭","📮","🗳️","✏️","✒️","🖋️","🖊️","🖌️","🖍️","📝","💼","📁","📂","🗂️","📅","📆","🗒️","🗓️","📇","📈","📉","📊","📋","📌","📍","📎","🖇️","📏","📐","✂️","🗃️","🗄️","🗑️","🔒","🔓","🔏","🔐","🔑","🗝️","🔨","🪓","⛏️","⚒️","🛠️","🗡️","⚔️","🔫","🪃","🏹","🛡️","🪚","🔧","🪛","🔩","⚙️","🗜️","⚖️","🦯","🔗","⛓️","🪝","🧰","🧲","🪜","⚗️","🧪","🧫","🧬","🔬","🔭","📡","💉","🩸","💊","🩹","🩺","🚪","🛗","🪞","🪟","🛏️","🛋️","🪑","🚽","🪠","🚿","🛁","🪤","🪒","🧴","🧷","🧹","🧺","🧻","🪣","🧼","🪥","🧽","🧯","🛒","🚬","⚰️","🪦","⚱️","🗿","🪧"],symbol:["🏧","🚮","🚰","♿","🚹","🚺","🚻","🚼","🚾","🛂","🛃","🛄","🛅","⚠️","🚸","⛔","🚫","🚳","🚭","🚯","🚱","🚷","📵","🔞","☢️","☣️","⬆️","↗️","➡️","↘️","⬇️","↙️","⬅️","↖️","↕️","↔️","↩️","↪️","⤴️","⤵️","🔃","🔄","🔙","🔚","🔛","🔜","🔝","🛐","⚛️","🕉️","✡️","☸️","☯️","✝️","☦️","☪️","☮️","🕎","🔯","♈","♉","♊","♋","♌","♍","♎","♏","♐","♑","♒","♓","⛎","🔀","🔁","🔂","▶️","⏩","⏭️","⏯️","◀️","⏪","⏮️","🔼","⏫","🔽","⏬","⏸️","⏹️","⏺️","⏏️","🎦","🔅","🔆","📶","📳","📴","♀️","♂️","⚧️","✖️","➕","➖","➗","♾️","‼️","⁉️","❓","❔","❕","❗","〰️","💱","💲","⚕️","♻️","⚜️","🔱","📛","🔰","⭕","✅","☑️","✔️","❌","❎","➰","➿","〽️","✳️","✴️","❇️","©️","®️","™️","#️⃣","*️⃣","0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣","🔟","🔠","🔡","🔢","🔣","🔤","🅰️","🆎","🅱️","🆑","🆒","🆓","ℹ️","🆔","Ⓜ️","🆕","🆖","🅾️","🆗","🅿️","🆘","🆙","🆚","🈁","🈂️","🈷️","🈶","🈯","🉐","🈹","🈚","🈲","🉑","🈸","🈴","🈳","㊗️","㊙️","🈺","🈵","🔴","🟠","🟡","🟢","🔵","🟣","🟤","⚫","⚪","🟥","🟧","🟨","🟩","🟦","🟪","🟫","⬛","⬜","◼️","◻️","◾","◽","▪️","▫️","🔶","🔷","🔸","🔹","🔺","🔻","💠","🔘","🔳","🔲"],flag:["🏁","🚩","🎌","🏴","🏳️","🏳️🌈","🏳️⚧️","🏴☠️","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇴🇲","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇶🇦","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇼🇫","🇼🇸","🇽🇰","🇾🇪","🇾🇹","🇿🇦","🇿🇲","🇿🇼"]},FDe={informational:[100,101,102,103],success:[200,201,202,203,204,205,206,207,208,226],redirection:[300,301,302,303,304,305,306,307,308],clientError:[400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,421,422,423,424,425,426,428,429,431,451],serverError:[500,501,502,503,504,505,506,507,508,510,511]},EDe=["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512","PS256","PS384","PS512","none"],SDe=['Mozilla/5.0 (compatible; MSIE {{number.int({"min":6,"max":10})}}.0; Windows NT {{helpers.arrayElement(["5.1","5.2","6.0","6.1","6.2","6.3","10.0"])}}; Trident/{{number.int({"min":4,"max":7})}}.0)','Mozilla/5.0 (Windows NT {{helpers.arrayElement(["5.1","5.2","6.0","6.1","6.2","6.3","10.0"])}}; Win64; x64) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Chrome/{{number.int({"min":55,"max":131})}}.{{system.semver}} Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}} Edg/{{number.int({"min":110,"max":131})}}.{{system.semver}}','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Version/16.1 Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}}','Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:{{number.int({"min":75, "max":133})}}.0) Gecko/20100101 Firefox/{{number.int({"min":75, "max":133})}}.0','Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_15_7) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Chrome/{{number.int({"min":55,"max":131})}}.{{system.semver}} Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}}','Mozilla/5.0 (X11; Linux x86_64; rv:{{number.int({"min":75,"max":133})}}.0) Gecko/20100101 Firefox/{{number.int({"min":75,"max":133})}}.0',"FakerBot/{{system.semver}}","Googlebot/2.1 (+http://www.google.com/bot.html)",'Mozilla/5.0 (iPhone; CPU iPhone OS {{number.int({"min":10,"max":18})}}_{{number.int({"min":0,"max":4})}} like Mac OS X) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Version/{{number.int({"min":10,"max":18})}}_{{number.int({"min":0,"max":4})}} Mobile/15E148 Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}','Mozilla/5.0 (Linux; Android {{number.int({"min":5,"max":13})}}; {{helpers.arrayElement(["SM-G998U","SM-G998B","SM-G998N","SM-G998P","SM-T800"])}}) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Chrome/{{number.int({"min":55,"max":131})}}.{{system.semver}} Mobile Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}'],xDe={emoji:vDe,http_status_code:FDe,jwt_algorithm:EDe,user_agent_pattern:SDe},wDe=xDe,kDe=[{alpha2:"AD",alpha3:"AND",numeric:"020"},{alpha2:"AE",alpha3:"ARE",numeric:"784"},{alpha2:"AF",alpha3:"AFG",numeric:"004"},{alpha2:"AG",alpha3:"ATG",numeric:"028"},{alpha2:"AI",alpha3:"AIA",numeric:"660"},{alpha2:"AL",alpha3:"ALB",numeric:"008"},{alpha2:"AM",alpha3:"ARM",numeric:"051"},{alpha2:"AO",alpha3:"AGO",numeric:"024"},{alpha2:"AQ",alpha3:"ATA",numeric:"010"},{alpha2:"AR",alpha3:"ARG",numeric:"032"},{alpha2:"AS",alpha3:"ASM",numeric:"016"},{alpha2:"AT",alpha3:"AUT",numeric:"040"},{alpha2:"AU",alpha3:"AUS",numeric:"036"},{alpha2:"AW",alpha3:"ABW",numeric:"533"},{alpha2:"AX",alpha3:"ALA",numeric:"248"},{alpha2:"AZ",alpha3:"AZE",numeric:"031"},{alpha2:"BA",alpha3:"BIH",numeric:"070"},{alpha2:"BB",alpha3:"BRB",numeric:"052"},{alpha2:"BD",alpha3:"BGD",numeric:"050"},{alpha2:"BE",alpha3:"BEL",numeric:"056"},{alpha2:"BF",alpha3:"BFA",numeric:"854"},{alpha2:"BG",alpha3:"BGR",numeric:"100"},{alpha2:"BH",alpha3:"BHR",numeric:"048"},{alpha2:"BI",alpha3:"BDI",numeric:"108"},{alpha2:"BJ",alpha3:"BEN",numeric:"204"},{alpha2:"BL",alpha3:"BLM",numeric:"652"},{alpha2:"BM",alpha3:"BMU",numeric:"060"},{alpha2:"BN",alpha3:"BRN",numeric:"096"},{alpha2:"BO",alpha3:"BOL",numeric:"068"},{alpha2:"BQ",alpha3:"BES",numeric:"535"},{alpha2:"BR",alpha3:"BRA",numeric:"076"},{alpha2:"BS",alpha3:"BHS",numeric:"044"},{alpha2:"BT",alpha3:"BTN",numeric:"064"},{alpha2:"BV",alpha3:"BVT",numeric:"074"},{alpha2:"BW",alpha3:"BWA",numeric:"072"},{alpha2:"BY",alpha3:"BLR",numeric:"112"},{alpha2:"BZ",alpha3:"BLZ",numeric:"084"},{alpha2:"CA",alpha3:"CAN",numeric:"124"},{alpha2:"CC",alpha3:"CCK",numeric:"166"},{alpha2:"CD",alpha3:"COD",numeric:"180"},{alpha2:"CF",alpha3:"CAF",numeric:"140"},{alpha2:"CG",alpha3:"COG",numeric:"178"},{alpha2:"CH",alpha3:"CHE",numeric:"756"},{alpha2:"CI",alpha3:"CIV",numeric:"384"},{alpha2:"CK",alpha3:"COK",numeric:"184"},{alpha2:"CL",alpha3:"CHL",numeric:"152"},{alpha2:"CM",alpha3:"CMR",numeric:"120"},{alpha2:"CN",alpha3:"CHN",numeric:"156"},{alpha2:"CO",alpha3:"COL",numeric:"170"},{alpha2:"CR",alpha3:"CRI",numeric:"188"},{alpha2:"CU",alpha3:"CUB",numeric:"192"},{alpha2:"CV",alpha3:"CPV",numeric:"132"},{alpha2:"CW",alpha3:"CUW",numeric:"531"},{alpha2:"CX",alpha3:"CXR",numeric:"162"},{alpha2:"CY",alpha3:"CYP",numeric:"196"},{alpha2:"CZ",alpha3:"CZE",numeric:"203"},{alpha2:"DE",alpha3:"DEU",numeric:"276"},{alpha2:"DJ",alpha3:"DJI",numeric:"262"},{alpha2:"DK",alpha3:"DNK",numeric:"208"},{alpha2:"DM",alpha3:"DMA",numeric:"212"},{alpha2:"DO",alpha3:"DOM",numeric:"214"},{alpha2:"DZ",alpha3:"DZA",numeric:"012"},{alpha2:"EC",alpha3:"ECU",numeric:"218"},{alpha2:"EE",alpha3:"EST",numeric:"233"},{alpha2:"EG",alpha3:"EGY",numeric:"818"},{alpha2:"EH",alpha3:"ESH",numeric:"732"},{alpha2:"ER",alpha3:"ERI",numeric:"232"},{alpha2:"ES",alpha3:"ESP",numeric:"724"},{alpha2:"ET",alpha3:"ETH",numeric:"231"},{alpha2:"FI",alpha3:"FIN",numeric:"246"},{alpha2:"FJ",alpha3:"FJI",numeric:"242"},{alpha2:"FK",alpha3:"FLK",numeric:"238"},{alpha2:"FM",alpha3:"FSM",numeric:"583"},{alpha2:"FO",alpha3:"FRO",numeric:"234"},{alpha2:"FR",alpha3:"FRA",numeric:"250"},{alpha2:"GA",alpha3:"GAB",numeric:"266"},{alpha2:"GB",alpha3:"GBR",numeric:"826"},{alpha2:"GD",alpha3:"GRD",numeric:"308"},{alpha2:"GE",alpha3:"GEO",numeric:"268"},{alpha2:"GF",alpha3:"GUF",numeric:"254"},{alpha2:"GG",alpha3:"GGY",numeric:"831"},{alpha2:"GH",alpha3:"GHA",numeric:"288"},{alpha2:"GI",alpha3:"GIB",numeric:"292"},{alpha2:"GL",alpha3:"GRL",numeric:"304"},{alpha2:"GM",alpha3:"GMB",numeric:"270"},{alpha2:"GN",alpha3:"GIN",numeric:"324"},{alpha2:"GP",alpha3:"GLP",numeric:"312"},{alpha2:"GQ",alpha3:"GNQ",numeric:"226"},{alpha2:"GR",alpha3:"GRC",numeric:"300"},{alpha2:"GS",alpha3:"SGS",numeric:"239"},{alpha2:"GT",alpha3:"GTM",numeric:"320"},{alpha2:"GU",alpha3:"GUM",numeric:"316"},{alpha2:"GW",alpha3:"GNB",numeric:"624"},{alpha2:"GY",alpha3:"GUY",numeric:"328"},{alpha2:"HK",alpha3:"HKG",numeric:"344"},{alpha2:"HM",alpha3:"HMD",numeric:"334"},{alpha2:"HN",alpha3:"HND",numeric:"340"},{alpha2:"HR",alpha3:"HRV",numeric:"191"},{alpha2:"HT",alpha3:"HTI",numeric:"332"},{alpha2:"HU",alpha3:"HUN",numeric:"348"},{alpha2:"ID",alpha3:"IDN",numeric:"360"},{alpha2:"IE",alpha3:"IRL",numeric:"372"},{alpha2:"IL",alpha3:"ISR",numeric:"376"},{alpha2:"IM",alpha3:"IMN",numeric:"833"},{alpha2:"IN",alpha3:"IND",numeric:"356"},{alpha2:"IO",alpha3:"IOT",numeric:"086"},{alpha2:"IQ",alpha3:"IRQ",numeric:"368"},{alpha2:"IR",alpha3:"IRN",numeric:"364"},{alpha2:"IS",alpha3:"ISL",numeric:"352"},{alpha2:"IT",alpha3:"ITA",numeric:"380"},{alpha2:"JE",alpha3:"JEY",numeric:"832"},{alpha2:"JM",alpha3:"JAM",numeric:"388"},{alpha2:"JO",alpha3:"JOR",numeric:"400"},{alpha2:"JP",alpha3:"JPN",numeric:"392"},{alpha2:"KE",alpha3:"KEN",numeric:"404"},{alpha2:"KG",alpha3:"KGZ",numeric:"417"},{alpha2:"KH",alpha3:"KHM",numeric:"116"},{alpha2:"KI",alpha3:"KIR",numeric:"296"},{alpha2:"KM",alpha3:"COM",numeric:"174"},{alpha2:"KN",alpha3:"KNA",numeric:"659"},{alpha2:"KP",alpha3:"PRK",numeric:"408"},{alpha2:"KR",alpha3:"KOR",numeric:"410"},{alpha2:"KW",alpha3:"KWT",numeric:"414"},{alpha2:"KY",alpha3:"CYM",numeric:"136"},{alpha2:"KZ",alpha3:"KAZ",numeric:"398"},{alpha2:"LA",alpha3:"LAO",numeric:"418"},{alpha2:"LB",alpha3:"LBN",numeric:"422"},{alpha2:"LC",alpha3:"LCA",numeric:"662"},{alpha2:"LI",alpha3:"LIE",numeric:"438"},{alpha2:"LK",alpha3:"LKA",numeric:"144"},{alpha2:"LR",alpha3:"LBR",numeric:"430"},{alpha2:"LS",alpha3:"LSO",numeric:"426"},{alpha2:"LT",alpha3:"LTU",numeric:"440"},{alpha2:"LU",alpha3:"LUX",numeric:"442"},{alpha2:"LV",alpha3:"LVA",numeric:"428"},{alpha2:"LY",alpha3:"LBY",numeric:"434"},{alpha2:"MA",alpha3:"MAR",numeric:"504"},{alpha2:"MC",alpha3:"MCO",numeric:"492"},{alpha2:"MD",alpha3:"MDA",numeric:"498"},{alpha2:"ME",alpha3:"MNE",numeric:"499"},{alpha2:"MF",alpha3:"MAF",numeric:"663"},{alpha2:"MG",alpha3:"MDG",numeric:"450"},{alpha2:"MH",alpha3:"MHL",numeric:"584"},{alpha2:"MK",alpha3:"MKD",numeric:"807"},{alpha2:"ML",alpha3:"MLI",numeric:"466"},{alpha2:"MM",alpha3:"MMR",numeric:"104"},{alpha2:"MN",alpha3:"MNG",numeric:"496"},{alpha2:"MO",alpha3:"MAC",numeric:"446"},{alpha2:"MP",alpha3:"MNP",numeric:"580"},{alpha2:"MQ",alpha3:"MTQ",numeric:"474"},{alpha2:"MR",alpha3:"MRT",numeric:"478"},{alpha2:"MS",alpha3:"MSR",numeric:"500"},{alpha2:"MT",alpha3:"MLT",numeric:"470"},{alpha2:"MU",alpha3:"MUS",numeric:"480"},{alpha2:"MV",alpha3:"MDV",numeric:"462"},{alpha2:"MW",alpha3:"MWI",numeric:"454"},{alpha2:"MX",alpha3:"MEX",numeric:"484"},{alpha2:"MY",alpha3:"MYS",numeric:"458"},{alpha2:"MZ",alpha3:"MOZ",numeric:"508"},{alpha2:"NA",alpha3:"NAM",numeric:"516"},{alpha2:"NC",alpha3:"NCL",numeric:"540"},{alpha2:"NE",alpha3:"NER",numeric:"562"},{alpha2:"NF",alpha3:"NFK",numeric:"574"},{alpha2:"NG",alpha3:"NGA",numeric:"566"},{alpha2:"NI",alpha3:"NIC",numeric:"558"},{alpha2:"NL",alpha3:"NLD",numeric:"528"},{alpha2:"NO",alpha3:"NOR",numeric:"578"},{alpha2:"NP",alpha3:"NPL",numeric:"524"},{alpha2:"NR",alpha3:"NRU",numeric:"520"},{alpha2:"NU",alpha3:"NIU",numeric:"570"},{alpha2:"NZ",alpha3:"NZL",numeric:"554"},{alpha2:"OM",alpha3:"OMN",numeric:"512"},{alpha2:"PA",alpha3:"PAN",numeric:"591"},{alpha2:"PE",alpha3:"PER",numeric:"604"},{alpha2:"PF",alpha3:"PYF",numeric:"258"},{alpha2:"PG",alpha3:"PNG",numeric:"598"},{alpha2:"PH",alpha3:"PHL",numeric:"608"},{alpha2:"PK",alpha3:"PAK",numeric:"586"},{alpha2:"PL",alpha3:"POL",numeric:"616"},{alpha2:"PM",alpha3:"SPM",numeric:"666"},{alpha2:"PN",alpha3:"PCN",numeric:"612"},{alpha2:"PR",alpha3:"PRI",numeric:"630"},{alpha2:"PS",alpha3:"PSE",numeric:"275"},{alpha2:"PT",alpha3:"PRT",numeric:"620"},{alpha2:"PW",alpha3:"PLW",numeric:"585"},{alpha2:"PY",alpha3:"PRY",numeric:"600"},{alpha2:"QA",alpha3:"QAT",numeric:"634"},{alpha2:"RE",alpha3:"REU",numeric:"638"},{alpha2:"RO",alpha3:"ROU",numeric:"642"},{alpha2:"RS",alpha3:"SRB",numeric:"688"},{alpha2:"RU",alpha3:"RUS",numeric:"643"},{alpha2:"RW",alpha3:"RWA",numeric:"646"},{alpha2:"SA",alpha3:"SAU",numeric:"682"},{alpha2:"SB",alpha3:"SLB",numeric:"090"},{alpha2:"SC",alpha3:"SYC",numeric:"690"},{alpha2:"SD",alpha3:"SDN",numeric:"729"},{alpha2:"SE",alpha3:"SWE",numeric:"752"},{alpha2:"SG",alpha3:"SGP",numeric:"702"},{alpha2:"SH",alpha3:"SHN",numeric:"654"},{alpha2:"SI",alpha3:"SVN",numeric:"705"},{alpha2:"SJ",alpha3:"SJM",numeric:"744"},{alpha2:"SK",alpha3:"SVK",numeric:"703"},{alpha2:"SL",alpha3:"SLE",numeric:"694"},{alpha2:"SM",alpha3:"SMR",numeric:"674"},{alpha2:"SN",alpha3:"SEN",numeric:"686"},{alpha2:"SO",alpha3:"SOM",numeric:"706"},{alpha2:"SR",alpha3:"SUR",numeric:"740"},{alpha2:"SS",alpha3:"SSD",numeric:"728"},{alpha2:"ST",alpha3:"STP",numeric:"678"},{alpha2:"SV",alpha3:"SLV",numeric:"222"},{alpha2:"SX",alpha3:"SXM",numeric:"534"},{alpha2:"SY",alpha3:"SYR",numeric:"760"},{alpha2:"SZ",alpha3:"SWZ",numeric:"748"},{alpha2:"TC",alpha3:"TCA",numeric:"796"},{alpha2:"TD",alpha3:"TCD",numeric:"148"},{alpha2:"TF",alpha3:"ATF",numeric:"260"},{alpha2:"TG",alpha3:"TGO",numeric:"768"},{alpha2:"TH",alpha3:"THA",numeric:"764"},{alpha2:"TJ",alpha3:"TJK",numeric:"762"},{alpha2:"TK",alpha3:"TKL",numeric:"772"},{alpha2:"TL",alpha3:"TLS",numeric:"626"},{alpha2:"TM",alpha3:"TKM",numeric:"795"},{alpha2:"TN",alpha3:"TUN",numeric:"788"},{alpha2:"TO",alpha3:"TON",numeric:"776"},{alpha2:"TR",alpha3:"TUR",numeric:"792"},{alpha2:"TT",alpha3:"TTO",numeric:"780"},{alpha2:"TV",alpha3:"TUV",numeric:"798"},{alpha2:"TW",alpha3:"TWN",numeric:"158"},{alpha2:"TZ",alpha3:"TZA",numeric:"834"},{alpha2:"UA",alpha3:"UKR",numeric:"804"},{alpha2:"UG",alpha3:"UGA",numeric:"800"},{alpha2:"UM",alpha3:"UMI",numeric:"581"},{alpha2:"US",alpha3:"USA",numeric:"840"},{alpha2:"UY",alpha3:"URY",numeric:"858"},{alpha2:"UZ",alpha3:"UZB",numeric:"860"},{alpha2:"VA",alpha3:"VAT",numeric:"336"},{alpha2:"VC",alpha3:"VCT",numeric:"670"},{alpha2:"VE",alpha3:"VEN",numeric:"862"},{alpha2:"VG",alpha3:"VGB",numeric:"092"},{alpha2:"VI",alpha3:"VIR",numeric:"850"},{alpha2:"VN",alpha3:"VNM",numeric:"704"},{alpha2:"VU",alpha3:"VUT",numeric:"548"},{alpha2:"WF",alpha3:"WLF",numeric:"876"},{alpha2:"WS",alpha3:"WSM",numeric:"882"},{alpha2:"YE",alpha3:"YEM",numeric:"887"},{alpha2:"YT",alpha3:"MYT",numeric:"175"},{alpha2:"ZA",alpha3:"ZAF",numeric:"710"},{alpha2:"ZM",alpha3:"ZMB",numeric:"894"},{alpha2:"ZW",alpha3:"ZWE",numeric:"716"}],CDe={country_code:kDe,time_zone:_ee},TDe=CDe,ADe={title:"Base",code:"base"},_De=ADe,DDe=["/Applications","/bin","/boot","/boot/defaults","/dev","/etc","/etc/defaults","/etc/mail","/etc/namedb","/etc/periodic","/etc/ppp","/home","/home/user","/home/user/dir","/lib","/Library","/lost+found","/media","/mnt","/net","/Network","/opt","/opt/bin","/opt/include","/opt/lib","/opt/sbin","/opt/share","/private","/private/tmp","/private/var","/proc","/rescue","/root","/sbin","/selinux","/srv","/sys","/System","/tmp","/Users","/usr","/usr/X11R6","/usr/bin","/usr/include","/usr/lib","/usr/libdata","/usr/libexec","/usr/local/bin","/usr/local/src","/usr/obj","/usr/ports","/usr/sbin","/usr/share","/usr/src","/var","/var/log","/var/mail","/var/spool","/var/tmp","/var/yp"],RDe={"application/epub+zip":{extensions:["epub"]},"application/gzip":{extensions:["gz"]},"application/java-archive":{extensions:["jar","war","ear"]},"application/json":{extensions:["json","map"]},"application/ld+json":{extensions:["jsonld"]},"application/msword":{extensions:["doc","dot"]},"application/octet-stream":{extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/ogg":{extensions:["ogx"]},"application/pdf":{extensions:["pdf"]},"application/rtf":{extensions:["rtf"]},"application/vnd.amazon.ebook":{extensions:["azw"]},"application/vnd.apple.installer+xml":{extensions:["mpkg"]},"application/vnd.mozilla.xul+xml":{extensions:["xul"]},"application/vnd.ms-excel":{extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-fontobject":{extensions:["eot"]},"application/vnd.ms-powerpoint":{extensions:["ppt","pps","pot"]},"application/vnd.oasis.opendocument.presentation":{extensions:["odp"]},"application/vnd.oasis.opendocument.spreadsheet":{extensions:["ods"]},"application/vnd.oasis.opendocument.text":{extensions:["odt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extensions:["docx"]},"application/vnd.rar":{extensions:["rar"]},"application/vnd.visio":{extensions:["vsd","vst","vss","vsw"]},"application/x-7z-compressed":{extensions:["7z"]},"application/x-abiword":{extensions:["abw"]},"application/x-bzip":{extensions:["bz"]},"application/x-bzip2":{extensions:["bz2","boz"]},"application/x-csh":{extensions:["csh"]},"application/x-freearc":{extensions:["arc"]},"application/x-httpd-php":{extensions:["php"]},"application/x-sh":{extensions:["sh"]},"application/x-tar":{extensions:["tar"]},"application/xhtml+xml":{extensions:["xhtml","xht"]},"application/xml":{extensions:["xml","xsl","xsd","rng"]},"application/zip":{extensions:["zip"]},"audio/3gpp":{extensions:["3gpp"]},"audio/3gpp2":{extensions:["3g2"]},"audio/aac":{extensions:["aac"]},"audio/midi":{extensions:["mid","midi","kar","rmi"]},"audio/mpeg":{extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/ogg":{extensions:["oga","ogg","spx","opus"]},"audio/opus":{extensions:["opus"]},"audio/wav":{extensions:["wav"]},"audio/webm":{extensions:["weba"]},"font/otf":{extensions:["otf"]},"font/ttf":{extensions:["ttf"]},"font/woff":{extensions:["woff"]},"font/woff2":{extensions:["woff2"]},"image/avif":{extensions:["avif"]},"image/bmp":{extensions:["bmp"]},"image/gif":{extensions:["gif"]},"image/jpeg":{extensions:["jpeg","jpg","jpe"]},"image/png":{extensions:["png"]},"image/svg+xml":{extensions:["svg","svgz"]},"image/tiff":{extensions:["tif","tiff"]},"image/vnd.microsoft.icon":{extensions:["ico"]},"image/webp":{extensions:["webp"]},"text/calendar":{extensions:["ics","ifb"]},"text/css":{extensions:["css"]},"text/csv":{extensions:["csv"]},"text/html":{extensions:["html","htm","shtml"]},"text/javascript":{extensions:["js","mjs"]},"text/plain":{extensions:["txt","text","conf","def","list","log","in","ini"]},"video/3gpp":{extensions:["3gp","3gpp"]},"video/3gpp2":{extensions:["3g2"]},"video/mp2t":{extensions:["ts"]},"video/mp4":{extensions:["mp4","mp4v","mpg4"]},"video/mpeg":{extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/ogg":{extensions:["ogv"]},"video/webm":{extensions:["webm"]},"video/x-msvideo":{extensions:["avi"]}},NDe={directory_path:DDe,mime_type:RDe},LDe=NDe,MDe={color:lDe,database:pDe,date:mDe,hacker:yDe,internet:wDe,location:TDe,metadata:_De,system:LDe},IDe=MDe,ODe=new Aee({locale:[pee,IDe]}),Sx,X7;function BDe(){return X7||(X7=1,Sx=function(t){return t!==null&&typeof t=="function"&&typeof t.prototype=="object"&&typeof t.prototype.addUndirectedEdgeWithKey=="function"&&typeof t.prototype.dropNode=="function"}),Sx}var Go={},xx,J7;function PDe(){if(J7)return xx;J7=1;var e=lo();return xx=function(r){if(!e(r))throw new Error("graphology-metrics/simple-size: the given graph is not a valid graphology instance.");if(!r.multi)return r.size;var n=0,a=0;function i(){n++}function o(){a++}return r.forEachNode(function(s){r.type!=="directed"&&r.forEachUndirectedNeighbor(s,i),r.type!=="undirected"&&r.forEachOutNeighbor(s,o)}),n/2+a},xx}var Z7;function zDe(){if(Z7)return Go;Z7=1;var e=lo(),t=PDe();function r(o,s){return 2*s/(o*(o-1))}function n(o,s){return s/(o*(o-1))}function a(o,s){var l=o*(o-1);return s/(l+l/2)}function i(o,s,l){var u,d;if(arguments.length>3){if(u=l,d=arguments[3],typeof u!="number"||u<0)throw new Error("graphology-metrics/density: given order is not a valid number.");if(typeof d!="number"||d<0)throw new Error("graphology-metrics/density: given size is not a valid number.")}else{if(!e(l))throw new Error("graphology-metrics/density: given graph is not a valid graphology instance.");u=l.order,d=l.size,l.multi&&s===!1&&(d=t(l))}if(u<2)return 0;o===null&&(o=l.type),s===null&&(s=l.multi);var h;return o==="undirected"?h=r:o==="directed"?h=n:h=a,h(u,d)}return Go.abstractDensity=i,Go.density=i.bind(null,null,null),Go.directedDensity=i.bind(null,"directed",!1),Go.undirectedDensity=i.bind(null,"undirected",!1),Go.mixedDensity=i.bind(null,"mixed",!1),Go.multiDirectedDensity=i.bind(null,"directed",!0),Go.multiUndirectedDensity=i.bind(null,"undirected",!0),Go.multiMixedDensity=i.bind(null,"mixed",!0),Go}var wx,Q7;function HDe(){if(Q7)return wx;Q7=1;var e=BDe(),t=zDe().abstractDensity;function r(a,i){if(!e(a))throw new Error("graphology-generators/random/erdos-renyi: invalid Graph constructor.");var o=i.order,s=i.probability,l=i.rng||Math.random,u=new a;if(typeof i.approximateSize=="number"&&(s=t(u.type,!1,o,i.approximateSize)),typeof o!="number"||o<=0)throw new Error("graphology-generators/random/erdos-renyi: invalid `order`. Should be a positive number.");if(typeof s!="number"||s<0||s>1)throw new Error("graphology-generators/random/erdos-renyi: invalid `probability`. Should be a number between 0 and 1. Or maybe you gave an `approximateSize` exceeding the graph's density.");if(typeof l!="function")throw new Error("graphology-generators/random/erdos-renyi: invalid `rng`. Should be a function.");var d,h;for(d=0;d<o;d++)u.addNode(d);if(s<=0)return u;for(d=0;d<o;d++)for(h=d+1;h<o;h++)u.type!=="directed"&&l()<s&&u.addUndirectedEdge(d,h),u.type!=="undirected"&&(l()<s&&u.addDirectedEdge(d,h),l()<s&&u.addDirectedEdge(h,d));return u}function n(a,i){if(!e(a))throw new Error("graphology-generators/random/erdos-renyi: invalid Graph constructor.");var o=i.order,s=i.probability,l=i.rng||Math.random,u=new a;if(typeof i.approximateSize=="number"&&(s=t(u.type,!1,o,i.approximateSize)),typeof o!="number"||o<=0)throw new Error("graphology-generators/random/erdos-renyi: invalid `order`. Should be a positive number.");if(typeof s!="number"||s<0||s>1)throw new Error("graphology-generators/random/erdos-renyi: invalid `probability`. Should be a number between 0 and 1. Or maybe you gave an `approximateSize` exceeding the graph's density.");if(typeof l!="function")throw new Error("graphology-generators/random/erdos-renyi: invalid `rng`. Should be a function.");for(var d=0;d<o;d++)u.addNode(d);if(s<=0)return u;var h=-1,f=Math.log(1-s),m,b;if(u.type!=="undirected")for(b=0;b<o;){for(m=Math.log(1-l()),h+=1+(m/f|0),b===h&&h++;b<o&&o<=h;)h-=o,b++,b===h&&h++;b<o&&u.addDirectedEdge(b,h)}if(h=-1,u.type!=="directed")for(b=1;b<o;){for(m=Math.log(1-l()),h+=1+(m/f|0);h>=b&&b<o;)h-=b,b++;b<o&&u.addUndirectedEdge(b,h)}return u}return r.sparse=n,wx=r,wx}var UDe=HDe();const GDe=On(UDe);var db={exports:{}},$De=db.exports,eB;function jDe(){return eB||(eB=1,function(e){(function(t,r,n){function a(l){var u=this,d=s();u.next=function(){var h=2091639*u.s0+u.c*23283064365386963e-26;return u.s0=u.s1,u.s1=u.s2,u.s2=h-(u.c=h|0)},u.c=1,u.s0=d(" "),u.s1=d(" "),u.s2=d(" "),u.s0-=d(l),u.s0<0&&(u.s0+=1),u.s1-=d(l),u.s1<0&&(u.s1+=1),u.s2-=d(l),u.s2<0&&(u.s2+=1),d=null}function i(l,u){return u.c=l.c,u.s0=l.s0,u.s1=l.s1,u.s2=l.s2,u}function o(l,u){var d=new a(l),h=u&&u.state,f=d.next;return f.int32=function(){return d.next()*4294967296|0},f.double=function(){return f()+(f()*2097152|0)*11102230246251565e-32},f.quick=f,h&&(typeof h=="object"&&i(h,d),f.state=function(){return i(d,{})}),f}function s(){var l=4022871197,u=function(d){d=String(d);for(var h=0;h<d.length;h++){l+=d.charCodeAt(h);var f=.02519603282416938*l;l=f>>>0,f-=l,f*=l,l=f>>>0,f-=l,l+=f*4294967296}return(l>>>0)*23283064365386963e-26};return u}r&&r.exports?r.exports=o:this.alea=o})($De,e)}(db)),db.exports}var hb={exports:{}},qDe=hb.exports,tB;function WDe(){return tB||(tB=1,function(e){(function(t,r,n){function a(s){var l=this,u="";l.x=0,l.y=0,l.z=0,l.w=0,l.next=function(){var h=l.x^l.x<<11;return l.x=l.y,l.y=l.z,l.z=l.w,l.w^=l.w>>>19^h^h>>>8},s===(s|0)?l.x=s:u+=s;for(var d=0;d<u.length+64;d++)l.x^=u.charCodeAt(d)|0,l.next()}function i(s,l){return l.x=s.x,l.y=s.y,l.z=s.z,l.w=s.w,l}function o(s,l){var u=new a(s),d=l&&l.state,h=function(){return(u.next()>>>0)/4294967296};return h.double=function(){do var f=u.next()>>>11,m=(u.next()>>>0)/4294967296,b=(f+m)/(1<<21);while(b===0);return b},h.int32=u.next,h.quick=h,d&&(typeof d=="object"&&i(d,u),h.state=function(){return i(u,{})}),h}r&&r.exports?r.exports=o:this.xor128=o})(qDe,e)}(hb)),hb.exports}var pb={exports:{}},VDe=pb.exports,rB;function KDe(){return rB||(rB=1,function(e){(function(t,r,n){function a(s){var l=this,u="";l.next=function(){var h=l.x^l.x>>>2;return l.x=l.y,l.y=l.z,l.z=l.w,l.w=l.v,(l.d=l.d+362437|0)+(l.v=l.v^l.v<<4^(h^h<<1))|0},l.x=0,l.y=0,l.z=0,l.w=0,l.v=0,s===(s|0)?l.x=s:u+=s;for(var d=0;d<u.length+64;d++)l.x^=u.charCodeAt(d)|0,d==u.length&&(l.d=l.x<<10^l.x>>>4),l.next()}function i(s,l){return l.x=s.x,l.y=s.y,l.z=s.z,l.w=s.w,l.v=s.v,l.d=s.d,l}function o(s,l){var u=new a(s),d=l&&l.state,h=function(){return(u.next()>>>0)/4294967296};return h.double=function(){do var f=u.next()>>>11,m=(u.next()>>>0)/4294967296,b=(f+m)/(1<<21);while(b===0);return b},h.int32=u.next,h.quick=h,d&&(typeof d=="object"&&i(d,u),h.state=function(){return i(u,{})}),h}r&&r.exports?r.exports=o:this.xorwow=o})(VDe,e)}(pb)),pb.exports}var fb={exports:{}},YDe=fb.exports,nB;function XDe(){return nB||(nB=1,function(e){(function(t,r,n){function a(s){var l=this;l.next=function(){var d=l.x,h=l.i,f,m;return f=d[h],f^=f>>>7,m=f^f<<24,f=d[h+1&7],m^=f^f>>>10,f=d[h+3&7],m^=f^f>>>3,f=d[h+4&7],m^=f^f<<7,f=d[h+7&7],f=f^f<<13,m^=f^f<<9,d[h]=m,l.i=h+1&7,m};function u(d,h){var f,m=[];if(h===(h|0))m[0]=h;else for(h=""+h,f=0;f<h.length;++f)m[f&7]=m[f&7]<<15^h.charCodeAt(f)+m[f+1&7]<<13;for(;m.length<8;)m.push(0);for(f=0;f<8&&m[f]===0;++f);for(f==8?m[7]=-1:m[f],d.x=m,d.i=0,f=256;f>0;--f)d.next()}u(l,s)}function i(s,l){return l.x=s.x.slice(),l.i=s.i,l}function o(s,l){s==null&&(s=+new Date);var u=new a(s),d=l&&l.state,h=function(){return(u.next()>>>0)/4294967296};return h.double=function(){do var f=u.next()>>>11,m=(u.next()>>>0)/4294967296,b=(f+m)/(1<<21);while(b===0);return b},h.int32=u.next,h.quick=h,d&&(d.x&&i(d,u),h.state=function(){return i(u,{})}),h}r&&r.exports?r.exports=o:this.xorshift7=o})(YDe,e)}(fb)),fb.exports}var mb={exports:{}},JDe=mb.exports,aB;function ZDe(){return aB||(aB=1,function(e){(function(t,r,n){function a(s){var l=this;l.next=function(){var d=l.w,h=l.X,f=l.i,m,b;return l.w=d=d+1640531527|0,b=h[f+34&127],m=h[f=f+1&127],b^=b<<13,m^=m<<17,b^=b>>>15,m^=m>>>12,b=h[f]=b^m,l.i=f,b+(d^d>>>16)|0};function u(d,h){var f,m,b,y,F,x=[],E=128;for(h===(h|0)?(m=h,h=null):(h=h+"\0",m=0,E=Math.max(E,h.length)),b=0,y=-32;y<E;++y)h&&(m^=h.charCodeAt((y+32)%h.length)),y===0&&(F=m),m^=m<<10,m^=m>>>15,m^=m<<4,m^=m>>>13,y>=0&&(F=F+1640531527|0,f=x[y&127]^=m+F,b=f==0?b+1:0);for(b>=128&&(x[(h&&h.length||0)&127]=-1),b=127,y=4*128;y>0;--y)m=x[b+34&127],f=x[b=b+1&127],m^=m<<13,f^=f<<17,m^=m>>>15,f^=f>>>12,x[b]=m^f;d.w=F,d.X=x,d.i=b}u(l,s)}function i(s,l){return l.i=s.i,l.w=s.w,l.X=s.X.slice(),l}function o(s,l){s==null&&(s=+new Date);var u=new a(s),d=l&&l.state,h=function(){return(u.next()>>>0)/4294967296};return h.double=function(){do var f=u.next()>>>11,m=(u.next()>>>0)/4294967296,b=(f+m)/(1<<21);while(b===0);return b},h.int32=u.next,h.quick=h,d&&(d.X&&i(d,u),h.state=function(){return i(u,{})}),h}r&&r.exports?r.exports=o:this.xor4096=o})(JDe,e)}(mb)),mb.exports}var gb={exports:{}},QDe=gb.exports,iB;function e6e(){return iB||(iB=1,function(e){(function(t,r,n){function a(s){var l=this,u="";l.next=function(){var h=l.b,f=l.c,m=l.d,b=l.a;return h=h<<25^h>>>7^f,f=f-m|0,m=m<<24^m>>>8^b,b=b-h|0,l.b=h=h<<20^h>>>12^f,l.c=f=f-m|0,l.d=m<<16^f>>>16^b,l.a=b-h|0},l.a=0,l.b=0,l.c=-1640531527,l.d=1367130551,s===Math.floor(s)?(l.a=s/4294967296|0,l.b=s|0):u+=s;for(var d=0;d<u.length+20;d++)l.b^=u.charCodeAt(d)|0,l.next()}function i(s,l){return l.a=s.a,l.b=s.b,l.c=s.c,l.d=s.d,l}function o(s,l){var u=new a(s),d=l&&l.state,h=function(){return(u.next()>>>0)/4294967296};return h.double=function(){do var f=u.next()>>>11,m=(u.next()>>>0)/4294967296,b=(f+m)/(1<<21);while(b===0);return b},h.int32=u.next,h.quick=h,d&&(typeof d=="object"&&i(d,u),h.state=function(){return i(u,{})}),h}r&&r.exports?r.exports=o:this.tychei=o})(QDe,e)}(gb)),gb.exports}var bb={exports:{}};const t6e={},r6e=Object.freeze(Object.defineProperty({__proto__:null,default:t6e},Symbol.toStringTag,{value:"Module"})),n6e=nhe(r6e);var a6e=bb.exports,oB;function i6e(){return oB||(oB=1,function(e){(function(t,r,n){var a=256,i=6,o=52,s="random",l=n.pow(a,i),u=n.pow(2,o),d=u*2,h=a-1,f;function m(_,D,w){var A=[];D=D==!0?{entropy:!0}:D||{};var I=x(F(D.entropy?[_,C(r)]:_??E(),3),A),M=new b(A),L=function(){for(var U=M.g(i),j=l,z=0;U<u;)U=(U+z)*a,j*=a,z=M.g(1);for(;U>=d;)U/=2,j/=2,z>>>=1;return(U+z)/j};return L.int32=function(){return M.g(4)|0},L.quick=function(){return M.g(4)/4294967296},L.double=L,x(C(M.S),r),(D.pass||w||function(U,j,z,V){return V&&(V.S&&y(V,M),U.state=function(){return y(M,{})}),z?(n[s]=U,j):U})(L,I,"global"in D?D.global:this==n,D.state)}function b(_){var D,w=_.length,A=this,I=0,M=A.i=A.j=0,L=A.S=[];for(w||(_=[w++]);I<a;)L[I]=I++;for(I=0;I<a;I++)L[I]=L[M=h&M+_[I%w]+(D=L[I])],L[M]=D;(A.g=function(U){for(var j,z=0,V=A.i,X=A.j,q=A.S;U--;)j=q[V=h&V+1],z=z*a+q[h&(q[V]=q[X=h&X+j])+(q[X]=j)];return A.i=V,A.j=X,z})(a)}function y(_,D){return D.i=_.i,D.j=_.j,D.S=_.S.slice(),D}function F(_,D){var w=[],A=typeof _,I;if(D&&A=="object")for(I in _)try{w.push(F(_[I],D-1))}catch{}return w.length?w:A=="string"?_:_+"\0"}function x(_,D){for(var w=_+"",A,I=0;I<w.length;)D[h&I]=h&(A^=D[h&I]*19)+w.charCodeAt(I++);return C(D)}function E(){try{var _;return f&&(_=f.randomBytes)?_=_(a):(_=new Uint8Array(a),(t.crypto||t.msCrypto).getRandomValues(_)),C(_)}catch{var D=t.navigator,w=D&&D.plugins;return[+new Date,t,w,t.screen,C(r)]}}function C(_){return String.fromCharCode.apply(0,_)}if(x(n.random(),r),e.exports){e.exports=m;try{f=n6e}catch{}}else n["seed"+s]=m})(typeof self<"u"?self:a6e,[],Math)}(bb)),bb.exports}var kx,sB;function o6e(){if(sB)return kx;sB=1;var e=jDe(),t=WDe(),r=KDe(),n=XDe(),a=ZDe(),i=e6e(),o=i6e();return o.alea=e,o.xor128=t,o.xorwow=r,o.xorshift7=n,o.xor4096=a,o.tychei=i,kx=o,kx}var s6e=o6e();const ly=On(s6e),l6e=()=>{const[e,t]=T.useState(ODe);T.useEffect(()=>{const a=new URLSearchParams(document.location.search).get("seed");if(a){ly(a,{global:!0});const i=new Aee({locale:pee});i.seed(Math.random()),t(i)}},[]);const r=T.useCallback(()=>{ht.getState().reset();const n=GDe(Th,{order:100,probability:.1});return n.nodes().forEach(a=>{n.mergeNodeAttributes(a,{label:e.person.fullName(),size:e.number.int({min:nu,max:Kb}),color:Ff(),x:Math.random(),y:Math.random(),borderColor:Ff(),borderSize:e.number.float({min:0,max:1,multipleOf:.1}),pictoColor:Ff(),image:e.image.urlLoremFlickr()})}),n.edges().forEach(a=>{n.mergeEdgeAttributes(a,{label:e.lorem.words(e.number.int({min:1,max:3})),size:e.number.float({min:1,max:5}),color:Ff()})}),n},[e]);return{faker:e,randomColor:Ff,randomGraph:r}},Yl=({checked:e,onCheckedChange:t,label:r})=>{const n=`checkbox-${r.toLowerCase().replace(/\s+/g,"-")}`;return S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx(iu,{id:n,checked:e,onCheckedChange:t}),S.jsx("label",{htmlFor:n,className:"text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:r})]})},Cx=({value:e,onEditFinished:t,label:r,min:n,max:a,defaultValue:i})=>{const{t:o}=Er(),[s,l]=T.useState(e),u=`input-${r.toLowerCase().replace(/\s+/g,"-")}`;T.useEffect(()=>{l(e)},[e]);const d=T.useCallback(m=>{const b=m.target.value.trim();if(b.length===0){l(null);return}const y=Number.parseInt(b);if(!isNaN(y)&&y!==s){if(n!==void 0&&y<n||a!==void 0&&y>a)return;l(y)}},[s,n,a]),h=T.useCallback(()=>{s!==null&&e!==s&&t(s)},[e,s,t]),f=T.useCallback(()=>{i!==void 0&&e!==i&&(l(i),t(i))},[i,e,t]);return S.jsxs("div",{className:"flex flex-col gap-2",children:[S.jsx("label",{htmlFor:u,className:"text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:r}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{id:u,type:"number",value:s===null?"":s,onChange:d,className:"h-6 w-full min-w-0 pr-1",min:n,max:a,onBlur:h,onKeyDown:m=>{m.key==="Enter"&&h()}}),i!==void 0&&S.jsx(Ot,{variant:"ghost",size:"icon",className:"h-6 w-6 flex-shrink-0 hover:bg-muted text-muted-foreground hover:text-foreground",onClick:f,type:"button",title:o("graphPanel.sideBar.settings.resetToDefault"),children:S.jsx(wJ,{className:"h-3.5 w-3.5"})})]})]})};function u6e(){const[e,t]=T.useState(!1),r=rt.use.showPropertyPanel(),n=rt.use.showNodeSearchBar(),a=rt.use.showNodeLabel(),i=rt.use.enableEdgeEvents(),o=rt.use.enableNodeDrag(),s=rt.use.enableHideUnselectedEdges(),l=rt.use.showEdgeLabel(),u=rt.use.minEdgeSize(),d=rt.use.maxEdgeSize(),h=rt.use.graphQueryMaxDepth(),f=rt.use.graphMaxNodes(),m=rt.use.backendMaxGraphNodes(),b=rt.use.graphLayoutMaxIterations(),y=rt.use.enableHealthCheck(),{randomGraph:F}=l6e(),x=T.useCallback(()=>rt.setState(V=>({enableNodeDrag:!V.enableNodeDrag})),[]),E=T.useCallback(()=>rt.setState(V=>({enableEdgeEvents:!V.enableEdgeEvents})),[]),C=T.useCallback(()=>rt.setState(V=>({enableHideUnselectedEdges:!V.enableHideUnselectedEdges})),[]),_=T.useCallback(()=>rt.setState(V=>({showEdgeLabel:!V.showEdgeLabel})),[]),D=T.useCallback(()=>rt.setState(V=>({showPropertyPanel:!V.showPropertyPanel})),[]),w=T.useCallback(()=>rt.setState(V=>({showNodeSearchBar:!V.showNodeSearchBar})),[]),A=T.useCallback(()=>rt.setState(V=>({showNodeLabel:!V.showNodeLabel})),[]),I=T.useCallback(()=>rt.setState(V=>({enableHealthCheck:!V.enableHealthCheck})),[]),M=T.useCallback(V=>{if(V<1)return;rt.setState({graphQueryMaxDepth:V});const X=rt.getState().queryLabel;rt.getState().setQueryLabel(""),setTimeout(()=>{rt.getState().setQueryLabel(X)},300)},[]),L=T.useCallback(V=>{const X=m||1e3;V<1||V>X||rt.getState().setGraphMaxNodes(V,!0)},[m]),U=T.useCallback(V=>{V<1||rt.setState({graphLayoutMaxIterations:V})},[]);T.useCallback(()=>{const V=F();ht.getState().setSigmaGraph(V)},[F]);const{t:j}=Er(),z=()=>t(!1);return S.jsx(S.Fragment,{children:S.jsxs(Gv,{open:e,onOpenChange:t,children:[S.jsx($v,{asChild:!0,children:S.jsx(Ot,{variant:eo,tooltip:j("graphPanel.sideBar.settings.settings"),size:"icon",children:S.jsx(eEe,{})})}),S.jsx(h0,{side:"right",align:"end",sideOffset:8,collisionPadding:5,className:"p-2 max-w-[200px]",onCloseAutoFocus:V=>V.preventDefault(),children:S.jsxs("div",{className:"flex flex-col gap-2",children:[S.jsx(Yl,{checked:y,onCheckedChange:I,label:j("graphPanel.sideBar.settings.healthCheck")}),S.jsx(Zf,{}),S.jsx(Yl,{checked:r,onCheckedChange:D,label:j("graphPanel.sideBar.settings.showPropertyPanel")}),S.jsx(Yl,{checked:n,onCheckedChange:w,label:j("graphPanel.sideBar.settings.showSearchBar")}),S.jsx(Zf,{}),S.jsx(Yl,{checked:a,onCheckedChange:A,label:j("graphPanel.sideBar.settings.showNodeLabel")}),S.jsx(Yl,{checked:o,onCheckedChange:x,label:j("graphPanel.sideBar.settings.nodeDraggable")}),S.jsx(Zf,{}),S.jsx(Yl,{checked:l,onCheckedChange:_,label:j("graphPanel.sideBar.settings.showEdgeLabel")}),S.jsx(Yl,{checked:s,onCheckedChange:C,label:j("graphPanel.sideBar.settings.hideUnselectedEdges")}),S.jsx(Yl,{checked:i,onCheckedChange:E,label:j("graphPanel.sideBar.settings.edgeEvents")}),S.jsxs("div",{className:"flex flex-col gap-2",children:[S.jsx("label",{htmlFor:"edge-size-min",className:"text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:j("graphPanel.sideBar.settings.edgeSizeRange")}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx(ea,{id:"edge-size-min",type:"number",value:u,onChange:V=>{const X=Number(V.target.value);!isNaN(X)&&X>=1&&X<=d&&rt.setState({minEdgeSize:X})},className:"h-6 w-16 min-w-0 pr-1",min:1,max:Math.min(d,10)}),S.jsx("span",{children:"-"}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{id:"edge-size-max",type:"number",value:d,onChange:V=>{const X=Number(V.target.value);!isNaN(X)&&X>=u&&X>=1&&X<=10&&rt.setState({maxEdgeSize:X})},className:"h-6 w-16 min-w-0 pr-1",min:u,max:10}),S.jsx(Ot,{variant:"ghost",size:"icon",className:"h-6 w-6 flex-shrink-0 hover:bg-muted text-muted-foreground hover:text-foreground",onClick:()=>rt.setState({minEdgeSize:1,maxEdgeSize:5}),type:"button",title:j("graphPanel.sideBar.settings.resetToDefault"),children:S.jsx(wJ,{className:"h-3.5 w-3.5"})})]})]})]}),S.jsx(Zf,{}),S.jsx(Cx,{label:j("graphPanel.sideBar.settings.maxQueryDepth"),min:1,value:h,defaultValue:3,onEditFinished:M}),S.jsx(Cx,{label:`${j("graphPanel.sideBar.settings.maxNodes")} (≤ ${m||1e3})`,min:1,max:m||1e3,value:f,defaultValue:m||1e3,onEditFinished:L}),S.jsx(Cx,{label:j("graphPanel.sideBar.settings.maxLayoutIterations"),min:1,max:30,value:b,defaultValue:15,onEditFinished:U}),!1,S.jsx(Ot,{onClick:z,variant:"outline",size:"sm",className:"ml-auto px-4",children:j("graphPanel.sideBar.settings.save")})]})})]})})}const c6e="ENTRIES",Dee="KEYS",Ree="VALUES",pa="";class Tx{constructor(t,r){const n=t._tree,a=Array.from(n.keys());this.set=t,this._type=r,this._path=a.length>0?[{node:n,keys:a}]:[]}next(){const t=this.dive();return this.backtrack(),t}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:t,keys:r}=Gd(this._path);if(Gd(r)===pa)return{done:!1,value:this.result()};const n=t.get(Gd(r));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const t=Gd(this._path).keys;t.pop(),!(t.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:t})=>Gd(t)).filter(t=>t!==pa).join("")}value(){return Gd(this._path).node.get(pa)}result(){switch(this._type){case Ree:return this.value();case Dee:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const Gd=e=>e[e.length-1],d6e=(e,t,r)=>{const n=new Map;if(t===void 0)return n;const a=t.length+1,i=a+r,o=new Uint8Array(i*a).fill(r+1);for(let s=0;s<a;++s)o[s]=s;for(let s=1;s<i;++s)o[s*a]=s;return Nee(e,t,r,n,o,1,a,""),n},Nee=(e,t,r,n,a,i,o,s)=>{const l=i*o;e:for(const u of e.keys())if(u===pa){const d=a[l-1];d<=r&&n.set(s,[e.get(u),d])}else{let d=i;for(let h=0;h<u.length;++h,++d){const f=u[h],m=o*d,b=m-o;let y=a[m];const F=Math.max(0,d-r-1),x=Math.min(o-1,d+r);for(let E=F;E<x;++E){const C=f!==t[E],_=a[b+E]+ +C,D=a[b+E+1]+1,w=a[m+E]+1,A=a[m+E+1]=Math.min(_,D,w);A<y&&(y=A)}if(y>r)continue e}Nee(e.get(u),t,r,n,a,d,o,s+u)}};class ou{constructor(t=new Map,r=""){this._size=void 0,this._tree=t,this._prefix=r}atPrefix(t){if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");const[r,n]=uy(this._tree,t.slice(this._prefix.length));if(r===void 0){const[a,i]=g5(n);for(const o of a.keys())if(o!==pa&&o.startsWith(i)){const s=new Map;return s.set(o.slice(i.length),a.get(o)),new ou(s,t)}}return new ou(r,t)}clear(){this._size=void 0,this._tree.clear()}delete(t){return this._size=void 0,h6e(this._tree,t)}entries(){return new Tx(this,c6e)}forEach(t){for(const[r,n]of this)t(r,n,this)}fuzzyGet(t,r){return d6e(this._tree,t,r)}get(t){const r=uD(this._tree,t);return r!==void 0?r.get(pa):void 0}has(t){const r=uD(this._tree,t);return r!==void 0&&r.has(pa)}keys(){return new Tx(this,Dee)}set(t,r){if(typeof t!="string")throw new Error("key must be a string");return this._size=void 0,Ax(this._tree,t).set(pa,r),this}get size(){if(this._size)return this._size;this._size=0;const t=this.entries();for(;!t.next().done;)this._size+=1;return this._size}update(t,r){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const n=Ax(this._tree,t);return n.set(pa,r(n.get(pa))),this}fetch(t,r){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const n=Ax(this._tree,t);let a=n.get(pa);return a===void 0&&n.set(pa,a=r()),a}values(){return new Tx(this,Ree)}[Symbol.iterator](){return this.entries()}static from(t){const r=new ou;for(const[n,a]of t)r.set(n,a);return r}static fromObject(t){return ou.from(Object.entries(t))}}const uy=(e,t,r=[])=>{if(t.length===0||e==null)return[e,r];for(const n of e.keys())if(n!==pa&&t.startsWith(n))return r.push([e,n]),uy(e.get(n),t.slice(n.length),r);return r.push([e,t]),uy(void 0,"",r)},uD=(e,t)=>{if(t.length===0||e==null)return e;for(const r of e.keys())if(r!==pa&&t.startsWith(r))return uD(e.get(r),t.slice(r.length))},Ax=(e,t)=>{const r=t.length;e:for(let n=0;e&&n<r;){for(const i of e.keys())if(i!==pa&&t[n]===i[0]){const o=Math.min(r-n,i.length);let s=1;for(;s<o&&t[n+s]===i[s];)++s;const l=e.get(i);if(s===i.length)e=l;else{const u=new Map;u.set(i.slice(s),l),e.set(t.slice(n,n+s),u),e.delete(i),e=u}n+=s;continue e}const a=new Map;return e.set(t.slice(n),a),a}return e},h6e=(e,t)=>{const[r,n]=uy(e,t);if(r!==void 0){if(r.delete(pa),r.size===0)Lee(n);else if(r.size===1){const[a,i]=r.entries().next().value;Mee(n,a,i)}}},Lee=e=>{if(e.length===0)return;const[t,r]=g5(e);if(t.delete(r),t.size===0)Lee(e.slice(0,-1));else if(t.size===1){const[n,a]=t.entries().next().value;n!==pa&&Mee(e.slice(0,-1),n,a)}},Mee=(e,t,r)=>{if(e.length===0)return;const[n,a]=g5(e);n.set(a+t,r),n.delete(a)},g5=e=>e[e.length-1],b5="or",Iee="and",p6e="and_not";class Fc{constructor(t){if((t==null?void 0:t.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const r=t.autoVacuum==null||t.autoVacuum===!0?Rx:t.autoVacuum;this._options={...Dx,...t,autoVacuum:r,searchOptions:{...lB,...t.searchOptions||{}},autoSuggestOptions:{...y6e,...t.autoSuggestOptions||{}}},this._index=new ou,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=dD,this.addFields(this._options.fields)}add(t){const{extractField:r,tokenize:n,processTerm:a,fields:i,idField:o}=this._options,s=r(t,o);if(s==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);if(this._idToShortId.has(s))throw new Error(`MiniSearch: duplicate ID ${s}`);const l=this.addDocumentId(s);this.saveStoredFields(l,t);for(const u of i){const d=r(t,u);if(d==null)continue;const h=n(d.toString(),u),f=this._fieldIds[u],m=new Set(h).size;this.addFieldLength(l,f,this._documentCount-1,m);for(const b of h){const y=a(b,u);if(Array.isArray(y))for(const F of y)this.addTerm(f,l,F);else y&&this.addTerm(f,l,y)}}}addAll(t){for(const r of t)this.add(r)}addAllAsync(t,r={}){const{chunkSize:n=10}=r,a={chunk:[],promise:Promise.resolve()},{chunk:i,promise:o}=t.reduce(({chunk:s,promise:l},u,d)=>(s.push(u),(d+1)%n===0?{chunk:[],promise:l.then(()=>new Promise(h=>setTimeout(h,0))).then(()=>this.addAll(s))}:{chunk:s,promise:l}),a);return o.then(()=>this.addAll(i))}remove(t){const{tokenize:r,processTerm:n,extractField:a,fields:i,idField:o}=this._options,s=a(t,o);if(s==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);const l=this._idToShortId.get(s);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${s}: it is not in the index`);for(const u of i){const d=a(t,u);if(d==null)continue;const h=r(d.toString(),u),f=this._fieldIds[u],m=new Set(h).size;this.removeFieldLength(l,f,this._documentCount,m);for(const b of h){const y=n(b,u);if(Array.isArray(y))for(const F of y)this.removeTerm(f,l,F);else y&&this.removeTerm(f,l,y)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(s),this._fieldLength.delete(l),this._documentCount-=1}removeAll(t){if(t)for(const r of t)this.remove(r);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new ou,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(t){const r=this._idToShortId.get(t);if(r==null)throw new Error(`MiniSearch: cannot discard document with ID ${t}: it is not in the index`);this._idToShortId.delete(t),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach((n,a)=>{this.removeFieldLength(r,a,this._documentCount,n)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:t,minDirtCount:r,batchSize:n,batchWait:a}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:a},{minDirtCount:r,minDirtFactor:t})}discardAll(t){const r=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of t)this.discard(n)}finally{this._options.autoVacuum=r}this.maybeAutoVacuum()}replace(t){const{idField:r,extractField:n}=this._options,a=n(t,r);this.discard(a),this.add(t)}vacuum(t={}){return this.conditionalVacuum(t)}conditionalVacuum(t,r){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&r,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=dD,this.performVacuuming(t,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(r)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(t),this._currentVacuum)}async performVacuuming(t,r){const n=this._dirtCount;if(this.vacuumConditionsMet(r)){const a=t.batchSize||cD.batchSize,i=t.batchWait||cD.batchWait;let o=1;for(const[s,l]of this._index){for(const[u,d]of l)for(const[h]of d)this._documentIds.has(h)||(d.size<=1?l.delete(u):d.delete(h));this._index.get(s).size===0&&this._index.delete(s),o%a===0&&await new Promise(u=>setTimeout(u,i)),o+=1}this._dirtCount-=n}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(t){if(t==null)return!0;let{minDirtCount:r,minDirtFactor:n}=t;return r=r||Rx.minDirtCount,n=n||Rx.minDirtFactor,this.dirtCount>=r&&this.dirtFactor>=n}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(t){return this._idToShortId.has(t)}getStoredFields(t){const r=this._idToShortId.get(t);if(r!=null)return this._storedFields.get(r)}search(t,r={}){const{searchOptions:n}=this._options,a={...n,...r},i=this.executeQuery(t,r),o=[];for(const[s,{score:l,terms:u,match:d}]of i){const h=u.length||1,f={id:this._documentIds.get(s),score:l*h,terms:Object.keys(d),queryTerms:u,match:d};Object.assign(f,this._storedFields.get(s)),(a.filter==null||a.filter(f))&&o.push(f)}return t===Fc.wildcard&&a.boostDocument==null||o.sort(cB),o}autoSuggest(t,r={}){r={...this._options.autoSuggestOptions,...r};const n=new Map;for(const{score:i,terms:o}of this.search(t,r)){const s=o.join(" "),l=n.get(s);l!=null?(l.score+=i,l.count+=1):n.set(s,{score:i,terms:o,count:1})}const a=[];for(const[i,{score:o,terms:s,count:l}]of n)a.push({suggestion:i,terms:s,score:o/l});return a.sort(cB),a}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(t,r){if(r==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(t),r)}static async loadJSONAsync(t,r){if(r==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(t),r)}static getDefault(t){if(Dx.hasOwnProperty(t))return _x(Dx,t);throw new Error(`MiniSearch: unknown option "${t}"`)}static loadJS(t,r){const{index:n,documentIds:a,fieldLength:i,storedFields:o,serializationVersion:s}=t,l=this.instantiateMiniSearch(t,r);l._documentIds=D1(a),l._fieldLength=D1(i),l._storedFields=D1(o);for(const[u,d]of l._documentIds)l._idToShortId.set(d,u);for(const[u,d]of n){const h=new Map;for(const f of Object.keys(d)){let m=d[f];s===1&&(m=m.ds),h.set(parseInt(f,10),D1(m))}l._index.set(u,h)}return l}static async loadJSAsync(t,r){const{index:n,documentIds:a,fieldLength:i,storedFields:o,serializationVersion:s}=t,l=this.instantiateMiniSearch(t,r);l._documentIds=await R1(a),l._fieldLength=await R1(i),l._storedFields=await R1(o);for(const[d,h]of l._documentIds)l._idToShortId.set(h,d);let u=0;for(const[d,h]of n){const f=new Map;for(const m of Object.keys(h)){let b=h[m];s===1&&(b=b.ds),f.set(parseInt(m,10),await R1(b))}++u%1e3===0&&await Oee(0),l._index.set(d,f)}return l}static instantiateMiniSearch(t,r){const{documentCount:n,nextId:a,fieldIds:i,averageFieldLength:o,dirtCount:s,serializationVersion:l}=t;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const u=new Fc(r);return u._documentCount=n,u._nextId=a,u._idToShortId=new Map,u._fieldIds=i,u._avgFieldLength=o,u._dirtCount=s||0,u._index=new ou,u}executeQuery(t,r={}){if(t===Fc.wildcard)return this.executeWildcardQuery(r);if(typeof t!="string"){const f={...r,...t,queries:void 0},m=t.queries.map(b=>this.executeQuery(b,f));return this.combineResults(m,f.combineWith)}const{tokenize:n,processTerm:a,searchOptions:i}=this._options,o={tokenize:n,processTerm:a,...i,...r},{tokenize:s,processTerm:l}=o,h=s(t).flatMap(f=>l(f)).filter(f=>!!f).map(b6e(o)).map(f=>this.executeQuerySpec(f,o));return this.combineResults(h,o.combineWith)}executeQuerySpec(t,r){const n={...this._options.searchOptions,...r},a=(n.fields||this._options.fields).reduce((y,F)=>({...y,[F]:_x(n.boost,F)||1}),{}),{boostDocument:i,weights:o,maxFuzzy:s,bm25:l}=n,{fuzzy:u,prefix:d}={...lB.weights,...o},h=this._index.get(t.term),f=this.termResults(t.term,t.term,1,t.termBoost,h,a,i,l);let m,b;if(t.prefix&&(m=this._index.atPrefix(t.term)),t.fuzzy){const y=t.fuzzy===!0?.2:t.fuzzy,F=y<1?Math.min(s,Math.round(t.term.length*y)):y;F&&(b=this._index.fuzzyGet(t.term,F))}if(m)for(const[y,F]of m){const x=y.length-t.term.length;if(!x)continue;b==null||b.delete(y);const E=d*y.length/(y.length+.3*x);this.termResults(t.term,y,E,t.termBoost,F,a,i,l,f)}if(b)for(const y of b.keys()){const[F,x]=b.get(y);if(!x)continue;const E=u*y.length/(y.length+x);this.termResults(t.term,y,E,t.termBoost,F,a,i,l,f)}return f}executeWildcardQuery(t){const r=new Map,n={...this._options.searchOptions,...t};for(const[a,i]of this._documentIds){const o=n.boostDocument?n.boostDocument(i,"",this._storedFields.get(a)):1;r.set(a,{score:o,terms:[],match:{}})}return r}combineResults(t,r=b5){if(t.length===0)return new Map;const n=r.toLowerCase(),a=f6e[n];if(!a)throw new Error(`Invalid combination operator: ${r}`);return t.reduce(a)||new Map}toJSON(){const t=[];for(const[r,n]of this._index){const a={};for(const[i,o]of n)a[i]=Object.fromEntries(o);t.push([r,a])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:t,serializationVersion:2}}termResults(t,r,n,a,i,o,s,l,u=new Map){if(i==null)return u;for(const d of Object.keys(o)){const h=o[d],f=this._fieldIds[d],m=i.get(f);if(m==null)continue;let b=m.size;const y=this._avgFieldLength[f];for(const F of m.keys()){if(!this._documentIds.has(F)){this.removeTerm(f,F,r),b-=1;continue}const x=s?s(this._documentIds.get(F),r,this._storedFields.get(F)):1;if(!x)continue;const E=m.get(F),C=this._fieldLength.get(F)[f],_=g6e(E,b,this._documentCount,C,y,l),D=n*a*h*x*_,w=u.get(F);if(w){w.score+=D,v6e(w.terms,t);const A=_x(w.match,r);A?A.push(d):w.match[r]=[d]}else u.set(F,{score:D,terms:[t],match:{[r]:[d]}})}}return u}addTerm(t,r,n){const a=this._index.fetch(n,dB);let i=a.get(t);if(i==null)i=new Map,i.set(r,1),a.set(t,i);else{const o=i.get(r);i.set(r,(o||0)+1)}}removeTerm(t,r,n){if(!this._index.has(n)){this.warnDocumentChanged(r,t,n);return}const a=this._index.fetch(n,dB),i=a.get(t);i==null||i.get(r)==null?this.warnDocumentChanged(r,t,n):i.get(r)<=1?i.size<=1?a.delete(t):i.delete(r):i.set(r,i.get(r)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(t,r,n){for(const a of Object.keys(this._fieldIds))if(this._fieldIds[a]===r){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(t)} has changed before removal: term "${n}" was not present in field "${a}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(t){const r=this._nextId;return this._idToShortId.set(t,r),this._documentIds.set(r,t),this._documentCount+=1,this._nextId+=1,r}addFields(t){for(let r=0;r<t.length;r++)this._fieldIds[t[r]]=r}addFieldLength(t,r,n,a){let i=this._fieldLength.get(t);i==null&&this._fieldLength.set(t,i=[]),i[r]=a;const s=(this._avgFieldLength[r]||0)*n+a;this._avgFieldLength[r]=s/(n+1)}removeFieldLength(t,r,n,a){if(n===1){this._avgFieldLength[r]=0;return}const i=this._avgFieldLength[r]*n-a;this._avgFieldLength[r]=i/(n-1)}saveStoredFields(t,r){const{storeFields:n,extractField:a}=this._options;if(n==null||n.length===0)return;let i=this._storedFields.get(t);i==null&&this._storedFields.set(t,i={});for(const o of n){const s=a(r,o);s!==void 0&&(i[o]=s)}}}Fc.wildcard=Symbol("*");const _x=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0,f6e={[b5]:(e,t)=>{for(const r of t.keys()){const n=e.get(r);if(n==null)e.set(r,t.get(r));else{const{score:a,terms:i,match:o}=t.get(r);n.score=n.score+a,n.match=Object.assign(n.match,o),uB(n.terms,i)}}return e},[Iee]:(e,t)=>{const r=new Map;for(const n of t.keys()){const a=e.get(n);if(a==null)continue;const{score:i,terms:o,match:s}=t.get(n);uB(a.terms,o),r.set(n,{score:a.score+i,terms:a.terms,match:Object.assign(a.match,s)})}return r},[p6e]:(e,t)=>{for(const r of t.keys())e.delete(r);return e}},m6e={k:1.2,b:.7,d:.5},g6e=(e,t,r,n,a,i)=>{const{k:o,b:s,d:l}=i;return Math.log(1+(r-t+.5)/(t+.5))*(l+e*(o+1)/(e+o*(1-s+s*n/a)))},b6e=e=>(t,r,n)=>{const a=typeof e.fuzzy=="function"?e.fuzzy(t,r,n):e.fuzzy||!1,i=typeof e.prefix=="function"?e.prefix(t,r,n):e.prefix===!0,o=typeof e.boostTerm=="function"?e.boostTerm(t,r,n):1;return{term:t,fuzzy:a,prefix:i,termBoost:o}},Dx={idField:"id",extractField:(e,t)=>e[t],tokenize:e=>e.split(F6e),processTerm:e=>e.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(e,t)=>{typeof(console==null?void 0:console[e])=="function"&&console[e](t)},autoVacuum:!0},lB={combineWith:b5,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:m6e},y6e={combineWith:Iee,prefix:(e,t,r)=>t===r.length-1},cD={batchSize:1e3,batchWait:10},dD={minDirtFactor:.1,minDirtCount:20},Rx={...cD,...dD},v6e=(e,t)=>{e.includes(t)||e.push(t)},uB=(e,t)=>{for(const r of t)e.includes(r)||e.push(r)},cB=({score:e},{score:t})=>t-e,dB=()=>new Map,D1=e=>{const t=new Map;for(const r of Object.keys(e))t.set(parseInt(r,10),e[r]);return t},R1=async e=>{const t=new Map;let r=0;for(const n of Object.keys(e))t.set(parseInt(n,10),e[n]),++r%1e3===0&&await Oee(0);return t},Oee=e=>new Promise(t=>setTimeout(t,e)),F6e=/[\n\r\p{Z}\p{P}]+/u,E6e={index:new Fc({fields:[]})};T.createContext(E6e);const hB=({label:e,color:t,hidden:r,labels:n={}})=>Ge.createElement("div",{className:"node"},Ge.createElement("span",{className:"render "+(r?"circle":"disc"),style:{backgroundColor:t||"#000"}}),Ge.createElement("span",{className:`label ${r?"text-muted":""} ${e?"":"text-italic"}`},e||n.no_label||"No label")),S6e=({label:e,color:t,source:r,target:n,hidden:a,directed:i,labels:o={}})=>Ge.createElement("div",{className:"edge"},Ge.createElement(hB,Object.assign({},r,{labels:o})),Ge.createElement("div",{className:"body"},Ge.createElement("div",{className:"render"},Ge.createElement("span",{className:a?"dotted":"dash",style:{borderColor:t||"#000"}})," ",i&&Ge.createElement("span",{className:"arrow",style:{borderTopColor:t||"#000"}})),Ge.createElement("span",{className:`label ${a?"text-muted":""} ${e?"":"fst-italic"}`},e||o.no_label||"No label")),Ge.createElement(hB,Object.assign({},n,{labels:o}))),x6e=({id:e,labels:t})=>{const r=Lo(),n=T.useMemo(()=>{const a=r.getGraph().getEdgeAttributes(e),i=r.getSetting("nodeReducer"),o=r.getSetting("edgeReducer"),s=r.getGraph().getNodeAttributes(r.getGraph().source(e)),l=r.getGraph().getNodeAttributes(r.getGraph().target(e));return Object.assign(Object.assign(Object.assign({color:r.getSetting("defaultEdgeColor"),directed:r.getGraph().isDirected(e)},a),o?o(e,a):{}),{source:Object.assign(Object.assign({color:r.getSetting("defaultNodeColor")},s),i?i(e,s):{}),target:Object.assign(Object.assign({color:r.getSetting("defaultNodeColor")},l),i?i(e,l):{})})},[r,e]);return Ge.createElement(S6e,Object.assign({},n,{labels:t}))};function y5(e,t){const[r,n]=T.useState(e);return T.useEffect(()=>{const a=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(a)}},[e,t]),r}function w6e({fetcher:e,preload:t,filterFn:r,renderOption:n,getOptionValue:a,notFound:i,loadingSkeleton:o,ariaLabel:s,placeholder:l="Select...",value:u,onChange:d,onFocus:h,disabled:f=!1,className:m,noResultsMessage:b}){const[y,F]=T.useState(!1),[x,E]=T.useState(!1),[C,_]=T.useState([]),[D,w]=T.useState(!1),[A,I]=T.useState(null),[M,L]=T.useState(""),U=y5(M,t?0:150),j=T.useRef(null);T.useEffect(()=>{F(!0)},[]),T.useEffect(()=>{const W=B=>{j.current&&!j.current.contains(B.target)&&x&&E(!1)};return document.addEventListener("mousedown",W),()=>{document.removeEventListener("mousedown",W)}},[x]);const z=T.useCallback(async W=>{try{w(!0),I(null);const B=await e(W);_(B)}catch(B){I(B instanceof Error?B.message:"Failed to fetch options")}finally{w(!1)}},[e]);T.useEffect(()=>{y&&(t?U&&_(W=>W.filter(B=>r?r(B,U):!0)):z(U))},[y,U,t,r,z]),T.useEffect(()=>{!y||!u||z(u)},[y,u,z]);const V=T.useCallback(W=>{d(W),requestAnimationFrame(()=>{const B=document.activeElement;B==null||B.blur(),E(!1)})},[d]),X=T.useCallback(()=>{E(!0),z(M)},[M,z]),q=T.useCallback(W=>{W.target.closest(".cmd-item")&&W.preventDefault()},[]);return S.jsx("div",{ref:j,className:ut(f&&"cursor-not-allowed opacity-50",m),onMouseDown:q,children:S.jsxs(Qv,{shouldFilter:!1,className:"bg-transparent",children:[S.jsxs("div",{children:[S.jsx(h5,{placeholder:l,value:M,className:"max-h-8","aria-label":s,onFocus:X,onValueChange:W=>{L(W),x||E(!0)}}),D&&S.jsx("div",{className:"absolute top-1/2 right-2 flex -translate-y-1/2 transform items-center",children:S.jsx(jR,{className:"h-4 w-4 animate-spin"})})]}),S.jsxs(e2,{hidden:!x,children:[A&&S.jsx("div",{className:"text-destructive p-4 text-center",children:A}),D&&C.length===0&&(o||S.jsx(k6e,{})),!D&&!A&&C.length===0&&(i||S.jsx(p5,{children:b||"No results found."})),S.jsx(lp,{children:C.map((W,B)=>S.jsxs(Ge.Fragment,{children:[S.jsx(up,{value:a(W),onSelect:V,onMouseMove:()=>h(a(W)),className:"truncate cmd-item",children:n(W)},a(W)+`${B}`),B!==C.length-1&&S.jsx("div",{className:"bg-foreground/10 h-[1px]"},`divider-${B}`)]},a(W)+`-fragment-${B}`))})]})]})})}function k6e(){return S.jsx(lp,{children:S.jsx(up,{disabled:!0,children:S.jsxs("div",{className:"flex w-full items-center gap-2",children:[S.jsx("div",{className:"bg-muted h-6 w-6 animate-pulse rounded-full"}),S.jsxs("div",{className:"flex flex-1 flex-col gap-1",children:[S.jsx("div",{className:"bg-muted h-4 w-24 animate-pulse rounded"}),S.jsx("div",{className:"bg-muted h-3 w-16 animate-pulse rounded"})]})]})})})}const Nx="__message_item",C6e=({id:e})=>{const t=ht.use.sigmaGraph();if(!(t!=null&&t.hasNode(e)))return null;const r=t.getNodeAttribute(e,"label")||e,n=t.getNodeAttribute(e,"color")||"#666",a=t.getNodeAttribute(e,"size")||4;return S.jsxs("div",{className:"flex items-center gap-2 p-2 text-sm",children:[S.jsx("div",{className:"rounded-full flex-shrink-0",style:{width:Math.max(8,Math.min(a*2,16)),height:Math.max(8,Math.min(a*2,16)),backgroundColor:n}}),S.jsx("span",{className:"truncate",children:r})]})};function T6e(e){return S.jsxs("div",{children:[e.type==="nodes"&&S.jsx(C6e,{id:e.id}),e.type==="edges"&&S.jsx(x6e,{id:e.id}),e.type==="message"&&S.jsx("div",{children:e.message})]})}const A6e=({onChange:e,onFocus:t,value:r})=>{const{t:n}=Er(),a=ht.use.sigmaGraph(),i=ht.use.searchEngine();T.useEffect(()=>{a&&ht.getState().resetSearchEngine()},[a]),T.useEffect(()=>{if(!a||a.nodes().length===0||i)return;const s=new Fc({idField:"id",fields:["label"],searchOptions:{prefix:!0,fuzzy:.2,boost:{label:2}}}),l=a.nodes().filter(u=>a.hasNode(u)).map(u=>({id:u,label:a.getNodeAttribute(u,"label")}));l.length>0&&s.addAll(l),ht.getState().setSearchEngine(s)},[a,i]);const o=T.useCallback(async s=>{if(t&&t(null),!a||!i)return[];if(a.nodes().length===0)return[];if(!s)return a.nodes().filter(d=>a.hasNode(d)).slice(0,u1).map(d=>({id:d,type:"nodes"}));let l=i.search(s).filter(u=>a.hasNode(u.id)).map(u=>({id:u.id,type:"nodes"}));if(l.length<5){const u=new Set(l.map(h=>h.id)),d=a.nodes().filter(h=>{if(u.has(h)||!a.hasNode(h))return!1;const f=a.getNodeAttribute(h,"label");return f&&typeof f=="string"&&!f.toLowerCase().startsWith(s.toLowerCase())&&f.toLowerCase().includes(s.toLowerCase())}).map(h=>({id:h,type:"nodes"}));l=[...l,...d]}return l.length<=u1?l:[...l.slice(0,u1),{type:"message",id:Nx,message:n("graphPanel.search.message",{count:l.length-u1})}]},[a,i,t,n]);return S.jsx(w6e,{className:"bg-background/60 w-24 rounded-xl border-1 opacity-60 backdrop-blur-lg transition-all hover:w-fit hover:opacity-100 w-full",fetcher:o,renderOption:T6e,getOptionValue:s=>s.id,value:r&&r.type!=="message"?r.id:null,onChange:s=>{s!==Nx&&e(s?{id:s,type:"nodes"}:null)},onFocus:s=>{s!==Nx&&t&&t(s?{id:s,type:"nodes"}:null)},ariaLabel:n("graphPanel.search.placeholder"),placeholder:n("graphPanel.search.placeholder"),noResultsMessage:n("graphPanel.search.placeholder")})},_6e=({...e})=>S.jsx(A6e,{...e});function D6e({fetcher:e,preload:t,filterFn:r,renderOption:n,getOptionValue:a,getDisplayValue:i,notFound:o,loadingSkeleton:s,ariaLabel:l,placeholder:u="Select...",searchPlaceholder:d,value:h,onChange:f,disabled:m=!1,className:b,triggerClassName:y,searchInputClassName:F,noResultsMessage:x,triggerTooltip:E,clearable:C=!0,debounceTime:_=150}){const[D,w]=T.useState(!1),[A,I]=T.useState(!1),[M,L]=T.useState([]),[U,j]=T.useState(!1),[z,V]=T.useState(null),[X,q]=T.useState(h),[W,B]=T.useState(null),[te,P]=T.useState(""),Z=y5(te,t?0:_),[K,G]=T.useState([]),[ne,oe]=T.useState(null);T.useEffect(()=>{w(!0),q(h)},[h]),T.useEffect(()=>{h&&(!M.length||!W)?oe(S.jsx("div",{children:h})):W&&oe(null)},[h,M.length,W]),T.useEffect(()=>{if(h&&M.length>0){const ie=M.find(ue=>a(ue)===h);ie&&B(ie)}},[h,M,a]),T.useEffect(()=>{D||(async()=>{try{j(!0),V(null);const ue=await e("");G(ue),L(ue)}catch(ue){V(ue instanceof Error?ue.message:"Failed to fetch options")}finally{j(!1)}})()},[D,e]),T.useEffect(()=>{const ie=async()=>{try{j(!0),V(null);const ue=await e(Z);G(ue),L(ue)}catch(ue){V(ue instanceof Error?ue.message:"Failed to fetch options")}finally{j(!1)}};D&&t?t&&L(Z?K.filter(ue=>r?r(ue,Z):!0):K):ie()},[e,Z,D,t,r]);const de=T.useCallback(ie=>{const ue=C&&ie===X?"":ie;q(ue),B(M.find(Ne=>a(Ne)===ue)||null),f(ue),I(!1)},[X,f,C,M,a]);return S.jsxs(Gv,{open:A,onOpenChange:I,children:[S.jsx($v,{asChild:!0,children:S.jsxs(Ot,{variant:"outline",role:"combobox","aria-expanded":A,"aria-label":l,className:ut("justify-between",m&&"cursor-not-allowed opacity-50",y),disabled:m,tooltip:E,side:"bottom",children:[h==="*"?S.jsx("div",{children:"*"}):W?i(W):ne||u,S.jsx(dFe,{className:"opacity-50",size:10})]})}),S.jsx(h0,{className:ut("p-0",b),onCloseAutoFocus:ie=>ie.preventDefault(),align:"start",sideOffset:8,collisionPadding:5,children:S.jsxs(Qv,{shouldFilter:!1,children:[S.jsxs("div",{className:"relative w-full border-b",children:[S.jsx(h5,{placeholder:d||"Search...",value:te,onValueChange:ie=>{P(ie)},className:F}),U&&M.length>0&&S.jsx("div",{className:"absolute top-1/2 right-2 flex -translate-y-1/2 transform items-center",children:S.jsx(jR,{className:"h-4 w-4 animate-spin"})})]}),S.jsxs(e2,{children:[z&&S.jsx("div",{className:"text-destructive p-4 text-center",children:z}),U&&M.length===0&&(s||S.jsx(R6e,{})),!U&&!z&&M.length===0&&(o||S.jsx(p5,{children:x||"No results found."})),S.jsx(lp,{children:M.map(ie=>{const ue=a(ie),Ne=te.trim()===""?"":ue;return S.jsxs(up,{value:Ne,onSelect:()=>{de(ue)},className:"truncate",children:[n(ie),S.jsx($R,{className:ut("ml-auto h-3 w-3",X===ue?"opacity-100":"opacity-0")})]},ue)})})]})]})})]})}function R6e(){return S.jsx(lp,{children:S.jsx(up,{disabled:!0,children:S.jsxs("div",{className:"flex w-full items-center gap-2",children:[S.jsx("div",{className:"bg-muted h-6 w-6 animate-pulse rounded-full"}),S.jsxs("div",{className:"flex flex-1 flex-col gap-1",children:[S.jsx("div",{className:"bg-muted h-4 w-24 animate-pulse rounded"}),S.jsx("div",{className:"bg-muted h-3 w-16 animate-pulse rounded"})]})]})})})}class Si{static getHistory(){try{const t=localStorage.getItem(this.STORAGE_KEY);if(!t)return[];const r=JSON.parse(t);return r.version!==this.VERSION?(console.warn(`Search history version mismatch. Expected ${this.VERSION}, got ${r.version}. Clearing history.`),this.clearHistory(),[]):Array.isArray(r.items)?r.items.sort((n,a)=>a.lastAccessed!==n.lastAccessed?a.lastAccessed-n.lastAccessed:(a.accessCount||0)-(n.accessCount||0)):(console.warn("Invalid search history format. Clearing history."),this.clearHistory(),[])}catch(t){return console.error("Error reading search history:",t),this.clearHistory(),[]}}static addToHistory(t){if(!(!t||typeof t!="string"||t.trim()===""))try{const r=this.getHistory(),n=Date.now(),a=t.trim(),i=r.findIndex(s=>s.label===a);if(i>=0){const s=r[i];s.lastAccessed=n,s.accessCount=(s.accessCount||0)+1,r.splice(i,1),r.unshift(s)}else r.unshift({label:a,lastAccessed:n,accessCount:1});r.length>this.MAX_HISTORY&&r.splice(this.MAX_HISTORY);const o={items:r,version:this.VERSION};localStorage.setItem(this.STORAGE_KEY,JSON.stringify(o))}catch(r){console.error("Error saving search history:",r)}}static clearHistory(){try{localStorage.removeItem(this.STORAGE_KEY)}catch(t){console.error("Error clearing search history:",t)}}static async initializeWithDefaults(t){if(this.getHistory().length===0&&t.length>0)try{const n=Date.now(),i={items:t.map((o,s)=>({label:o.trim(),lastAccessed:n-s,accessCount:0})),version:this.VERSION};localStorage.setItem(this.STORAGE_KEY,JSON.stringify(i))}catch(n){console.error("Error initializing search history with defaults:",n)}}static getRecentSearches(t=10){return this.getHistory().filter(n=>n.accessCount>0).slice(0,t)}static getPopularRecommendations(t){const n=this.getHistory().filter(a=>a.accessCount===0);return t?n.slice(0,t):n}static getHistoryLabels(t){const n=this.getHistory().map(a=>a.label);return t?n.slice(0,t):n}static hasLabel(t){return!t||typeof t!="string"?!1:this.getHistory().some(n=>n.label===t.trim())}static removeLabel(t){if(!(!t||typeof t!="string"))try{const r=this.getHistory(),n=t.trim(),a=r.filter(i=>i.label!==n);if(a.length!==r.length){const i={items:a,version:this.VERSION};localStorage.setItem(this.STORAGE_KEY,JSON.stringify(i))}}catch(r){console.error("Error removing label from search history:",r)}}static getStats(){const t=this.getHistory(),r=t.filter(i=>i.accessCount>0).length,n=t.filter(i=>i.accessCount===0).length;let a=0;try{const i=localStorage.getItem(this.STORAGE_KEY);a=i?i.length:0}catch{}return{totalItems:t.length,recentSearches:r,popularRecommendations:n,storageSize:a}}}gt(Si,"STORAGE_KEY","lightrag_search_history"),gt(Si,"MAX_HISTORY",i1e),gt(Si,"VERSION",o1e);const N6e=()=>{const{t:e}=Er(),t=rt.use.queryLabel(),[r,n]=T.useState(!1),[a,i]=T.useState(0),[o,s]=T.useState(0),l=T.useCallback(()=>r?e("graphPanel.graphLabels.refreshingTooltip"):!t||t==="*"?e("graphPanel.graphLabels.refreshGlobalTooltip"):e("graphPanel.graphLabels.refreshCurrentLabelTooltip",{label:t}),[t,e,r]);T.useEffect(()=>{(async()=>{if(Si.getHistory().length===0)try{const m=await VI(k_);await Si.initializeWithDefaults(m)}catch(m){console.error("Failed to initialize search history:",m)}})()},[]);const u=T.useCallback(async h=>{let f=[];if(!h||h.trim()===""||h.trim()==="*")f=Si.getHistoryLabels(c1);else try{const b=await b1e(h.trim(),NY);f=b.length<=c1?b:[...b.slice(0,c1),"..."]}catch(b){console.error("Search API failed, falling back to local history search:",b);const y=Si.getHistory(),F=h.toLowerCase().trim();f=y.filter(x=>x.label.toLowerCase().includes(F)).map(x=>x.label).slice(0,c1)}return["*",...f.filter(b=>b!=="*")]},[a]),d=T.useCallback(async()=>{n(!0),ht.getState().setTypeColorMap(new Map);try{let h=t;if((!h||h.trim()==="")&&(rt.getState().setQueryLabel("*"),h="*"),h&&h!=="*")console.log(`Refreshing current label: ${h}`),ht.getState().setGraphDataFetchAttempted(!1),ht.getState().setLastSuccessfulQueryLabel(""),ht.getState().incrementGraphDataVersion();else{console.log("Refreshing global data and popular labels");try{const f=await VI(k_);if(Si.clearHistory(),f.length===0){const m=["entity","relationship","document","concept"];await Si.initializeWithDefaults(m)}else await Si.initializeWithDefaults(f)}catch(f){console.error("Failed to reload popular labels:",f);const m=["entity","relationship","document"];Si.clearHistory(),await Si.initializeWithDefaults(m)}ht.getState().setGraphDataFetchAttempted(!1),ht.getState().setLastSuccessfulQueryLabel(""),ht.getState().incrementGraphDataVersion(),await new Promise(f=>setTimeout(f,0)),i(f=>f+1),s(f=>f+1)}}catch(h){console.error("Error during refresh:",h)}finally{n(!1)}},[t]);return S.jsxs("div",{className:"flex items-center",children:[S.jsx(Ot,{size:"icon",variant:eo,onClick:d,tooltip:l(),className:"mr-2",disabled:r,children:S.jsx(xJ,{className:`h-4 w-4 ${r?"animate-spin":""}`})}),S.jsx(D6e,{className:"min-w-[300px]",triggerClassName:"max-h-8",searchInputClassName:"max-h-8",triggerTooltip:e("graphPanel.graphLabels.selectTooltip"),fetcher:u,renderOption:h=>S.jsx("div",{style:{whiteSpace:"pre"},children:h}),getOptionValue:h=>h,getDisplayValue:h=>S.jsx("div",{style:{whiteSpace:"pre"},children:h}),notFound:S.jsx("div",{className:"py-6 text-center text-sm",children:e("graphPanel.graphLabels.noLabels")}),ariaLabel:e("graphPanel.graphLabels.label"),placeholder:e("graphPanel.graphLabels.placeholder"),searchPlaceholder:e("graphPanel.graphLabels.placeholder"),noResultsMessage:e("graphPanel.graphLabels.noLabels"),value:t!==null?t:"*",onChange:h=>{const f=rt.getState().queryLabel;h==="..."&&(h="*"),h===f&&h!=="*"&&(h="*"),h&&h!=="*"&&h!=="..."&&h.trim()!==""&&Si.addToHistory(h),ht.getState().setGraphDataFetchAttempted(!1),rt.getState().setQueryLabel(h)},clearable:!1,debounceTime:500},o)]})},Bee=({text:e,className:t,tooltipClassName:r,tooltip:n,side:a,onClick:i})=>n?S.jsx(Ea,{delayDuration:200,children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{className:ut(t,i!==void 0?"cursor-pointer":void 0),onClick:i,children:e})}),S.jsx(da,{side:a,className:r,children:n})]})}):S.jsx("label",{className:ut(t,i!==void 0?"cursor-pointer":void 0),onClick:i,children:e}),L6e={unknown:"unknown",未知:"unknown",other:"other",其它:"other",concept:"concept",object:"concept",type:"concept",category:"concept",model:"concept",project:"concept",condition:"concept",rule:"concept",regulation:"concept",article:"concept",law:"concept",legalclause:"concept",policy:"concept",disease:"concept",概念:"concept",对象:"concept",类别:"concept",分类:"concept",模型:"concept",项目:"concept",条件:"concept",规则:"concept",法律:"concept",法律条款:"concept",条文:"concept",政策:"policy",疾病:"concept",method:"method",process:"method",方法:"method",过程:"method",artifact:"artifact",technology:"artifact",tech:"artifact",product:"artifact",equipment:"artifact",device:"artifact",stuff:"artifact",component:"artifact",material:"artifact",chemical:"artifact",drug:"artifact",medicine:"artifact",food:"artifact",weapon:"artifact",arms:"artifact",人工制品:"artifact",人造物品:"artifact",技术:"technology",科技:"technology",产品:"artifact",设备:"artifact",装备:"artifact",物品:"artifact",材料:"artifact",化学:"artifact",药物:"artifact",食品:"artifact",武器:"artifact",军火:"artifact",naturalobject:"naturalobject",natural:"naturalobject",phenomena:"naturalobject",substance:"naturalobject",plant:"naturalobject",自然对象:"naturalobject",自然物体:"naturalobject",自然现象:"naturalobject",物质:"naturalobject",物体:"naturalobject",data:"data",figure:"data",value:"data",数据:"data",数字:"data",数值:"data",content:"content",book:"content",video:"content",内容:"content",作品:"content",书籍:"content",视频:"content",organization:"organization",org:"organization",company:"organization",组织:"organization",公司:"organization",机构:"organization",组织机构:"organization",event:"event",事件:"event",activity:"event",活动:"event",person:"person",people:"person",human:"person",role:"person",人物:"person",人类:"person",人:"person",角色:"person",creature:"creature",animal:"creature",beings:"creature",being:"creature",alien:"creature",ghost:"creature",动物:"creature",生物:"creature",神仙:"creature",鬼怪:"creature",妖怪:"creature",location:"location",geography:"location",geo:"location",place:"location",address:"location",地点:"location",位置:"location",地址:"location",地理:"location",地域:"location"},pB={person:"#4169E1",creature:"#bd7ebe",organization:"#00cc00",location:"#cf6d17",event:"#00bfa0",concept:"#e3493b",method:"#b71c1c",content:"#0f558a",data:"#0000ff",artifact:"#4421af",naturalobject:"#b2e061",other:"#f4d371",unknown:"#b0b0b0"},M6e=["#84a3e1","#5a2c6d","#2F4F4F","#003366","#9b3a31","#00CED1","#b300b3","#0f705d","#ff99cc","#6ef7b3","#cd071e"],fB=e=>{const t="#5D6D7E",r=e?e.toLowerCase():"unknown",n=ht.getState().typeColorMap,a=L6e[r],i=a||r;if(n.has(i))return n.get(i)||t;if(a){const d=pB[a],h=new Map(n);return h.set(a,d),ht.setState({typeColorMap:h}),d}const o=new Set(Array.from(n.entries()).filter(([,d])=>!Object.values(pB).includes(d)).map(([,d])=>d)),l=M6e.find(d=>!o.has(d))||t,u=new Map(n);return u.set(r,l),ht.setState({typeColorMap:u}),l},I6e=e=>{if(!e)return console.log("Graph validation failed: graph is null"),!1;if(!Array.isArray(e.nodes)||!Array.isArray(e.edges))return console.log("Graph validation failed: nodes or edges is not an array"),!1;if(e.nodes.length===0)return console.log("Graph validation failed: nodes array is empty"),!1;for(const t of e.nodes)if(!t.id||!t.labels||!t.properties)return console.log("Graph validation failed: invalid node structure"),!1;for(const t of e.edges)if(!t.id||!t.source||!t.target)return console.log("Graph validation failed: invalid edge structure"),!1;for(const t of e.edges){const r=e.getNode(t.source),n=e.getNode(t.target);if(r==null||n==null)return console.log("Graph validation failed: edge references non-existent node"),!1}return console.log("Graph validation passed"),!0},O6e=async(e,t,r)=>{let n=null;ht.getState().setLabelsFetchAttempted(!0);const a=e||"*";try{console.log(`Fetching graph label: ${a}, depth: ${t}, nodes: ${r}`),n=await OY(a,t,r)}catch(o){return Mn.getState().setErrorMessage(ka(o),"Query Graphs Error!"),null}let i=null;if(n){const o={},s={};for(let h=0;h<n.nodes.length;h++){const f=n.nodes[h];o[f.id]=h,f.x=Math.random(),f.y=Math.random(),f.degree=0,f.size=10}for(let h=0;h<n.edges.length;h++){const f=n.edges[h];s[f.id]=h;const m=o[f.source],b=o[f.target];if(m!==void 0&&b!==void 0){const y=n.nodes[m];if(!y){console.error(`Source node ${f.source} is undefined`);continue}const F=n.nodes[b];if(!F){console.error(`Target node ${f.target} is undefined`);continue}y.degree+=1,F.degree+=1}}let l=Number.MAX_SAFE_INTEGER,u=0;for(const h of n.nodes)l=Math.min(l,h.degree),u=Math.max(u,h.degree);const d=u-l;if(d>0){const h=Kb-nu;for(const f of n.nodes)f.size=Math.round(nu+h*Math.pow((f.degree-l)/d,.5))}i=new f1e,i.nodes=n.nodes,i.edges=n.edges,i.nodeIdMap=o,i.edgeIdMap=s,I6e(i)||(i=null,console.warn("Invalid graph data")),console.log("Graph data loaded")}return{rawGraph:i,is_truncated:n.is_truncated}},B6e=e=>{var s,l;const t=rt.getState().minEdgeSize,r=rt.getState().maxEdgeSize;if(!e||!e.nodes.length)return console.log("No graph data available, skipping sigma graph creation"),null;const n=new Th;for(const u of(e==null?void 0:e.nodes)??[]){ly(u.id+Date.now().toString(),{global:!0});const d=Math.random(),h=Math.random();n.addNode(u.id,{label:u.labels.join(", "),color:u.color,x:d,y:h,size:u.size,borderColor:w_,borderSize:.2})}for(const u of(e==null?void 0:e.edges)??[]){const d=((s=u.properties)==null?void 0:s.weight)!==void 0?Number(u.properties.weight):1;u.dynamicId=n.addEdge(u.source,u.target,{label:((l=u.properties)==null?void 0:l.keywords)||void 0,size:d,originalWeight:d,type:"curvedNoArrow"})}let a=Number.MAX_SAFE_INTEGER,i=0;n.forEachEdge(u=>{const d=n.getEdgeAttribute(u,"originalWeight")||1;a=Math.min(a,d),i=Math.max(i,d)});const o=i-a;if(o>0){const u=r-t;n.forEachEdge(d=>{const h=n.getEdgeAttribute(d,"originalWeight")||1,f=t+u*Math.pow((h-a)/o,.5);n.setEdgeAttribute(d,"size",f)})}else n.forEachEdge(u=>{n.setEdgeAttribute(u,"size",t)});return n},P6e=()=>{const{t:e}=Er(),t=rt.use.queryLabel(),r=ht.use.rawGraph(),n=ht.use.sigmaGraph(),a=rt.use.graphQueryMaxDepth(),i=rt.use.graphMaxNodes(),o=ht.use.isFetching(),s=ht.use.nodeToExpand(),l=ht.use.nodeToPrune(),u=ht.use.graphDataVersion(),d=T.useRef(!1),h=T.useRef(!1),f=T.useRef(!1),m=T.useCallback(E=>(r==null?void 0:r.getNode(E))||null,[r]),b=T.useCallback((E,C=!0)=>(r==null?void 0:r.getEdge(E,C))||null,[r]),y=T.useRef(!1);T.useEffect(()=>{if(!t&&(r!==null||n!==null)){const E=ht.getState();E.reset(),E.setGraphDataFetchAttempted(!1),E.setLabelsFetchAttempted(!1),d.current=!1,h.current=!1}},[t,r,n]),T.useEffect(()=>{if(!y.current&&!(!t&&f.current)&&!o&&!ht.getState().graphDataFetchAttempted){y.current=!0,ht.getState().setGraphDataFetchAttempted(!0);const E=ht.getState();E.setIsFetching(!0),E.clearSelection(),E.sigmaGraph&&E.sigmaGraph.forEachNode(A=>{var I;(I=E.sigmaGraph)==null||I.setNodeAttribute(A,"highlighted",!1)}),console.log("Preparing graph data...");const C=t,_=a,D=i;let w;C?w=O6e(C,_,D):(console.log("Query label is empty, show empty graph"),w=Promise.resolve({rawGraph:null,is_truncated:!1})),w.then(A=>{const I=ht.getState(),M=A==null?void 0:A.rawGraph;if(M&&M.nodes&&M.nodes.forEach(L=>{var j;const U=(j=L.properties)==null?void 0:j.entity_type;L.color=fB(U)}),A!=null&&A.is_truncated&&lr.info(e("graphPanel.dataIsTruncated","Graph data is truncated to Max Nodes")),I.reset(),!M||!M.nodes||M.nodes.length===0){const L=new Th;L.addNode("empty-graph-node",{label:e("graphPanel.emptyGraph"),color:"#5D6D7E",x:.5,y:.5,size:15,borderColor:w_,borderSize:.2}),I.setSigmaGraph(L),I.setRawGraph(null),I.setGraphIsEmpty(!0);const U=Mn.getState().message,j=U&&U.includes("Authentication required");!j&&C&&rt.getState().setQueryLabel(""),j?console.log("Keep queryLabel for post-login reload"):I.setLastSuccessfulQueryLabel(""),console.log(`Graph data is empty, created graph with empty graph node. Auth error: ${j}`)}else{const L=B6e(M);M.buildDynamicMap(),I.setSigmaGraph(L),I.setRawGraph(M),I.setGraphIsEmpty(!1),I.setLastSuccessfulQueryLabel(C),I.setMoveToSelectedNode(!0)}d.current=!0,h.current=!0,y.current=!1,I.setIsFetching(!1),(!M||!M.nodes||M.nodes.length===0)&&!C&&(f.current=!0)}).catch(A=>{console.error("Error fetching graph data:",A);const I=ht.getState();I.setIsFetching(!1),d.current=!1,y.current=!1,I.setGraphDataFetchAttempted(!1),I.setLastSuccessfulQueryLabel("")})}},[t,a,i,o,e,u]),T.useEffect(()=>{s&&((async C=>{var _,D,w,A,I,M;if(!(!C||!n||!r))try{const L=r.getNode(C);if(!L){console.error("Node not found:",C);return}const U=L.labels[0];if(!U){console.error("Node has no label:",C);return}const j=await OY(U,2,1e3);if(!j||!j.nodes||!j.edges){console.error("Failed to fetch extended graph");return}const z=[];for(const Ee of j.nodes){ly(Ee.id,{global:!0});const Te=(_=Ee.properties)==null?void 0:_.entity_type,Re=fB(Te);z.push({id:Ee.id,labels:Ee.labels,properties:Ee.properties,size:10,x:Math.random(),y:Math.random(),color:Re,degree:0})}const V=[];for(const Ee of j.edges)V.push({id:Ee.id,source:Ee.source,target:Ee.target,type:Ee.type,properties:Ee.properties,dynamicId:""});const X={};n.forEachNode(Ee=>{X[Ee]={x:n.getNodeAttribute(Ee,"x"),y:n.getNodeAttribute(Ee,"y")}});const q=new Set(n.nodes()),W=new Set,B=new Set,te=1;let P=0,Z=Number.MAX_SAFE_INTEGER,K=0;n.forEachNode(Ee=>{const Te=n.degree(Ee);P=Math.max(P,Te)}),n.forEachEdge(Ee=>{const Te=n.getEdgeAttribute(Ee,"originalWeight")||1;Z=Math.min(Z,Te),K=Math.max(K,Te)});for(const Ee of z){if(q.has(Ee.id))continue;V.some(Re=>Re.source===C&&Re.target===Ee.id||Re.target===C&&Re.source===Ee.id)&&W.add(Ee.id)}const G=new Map,ne=new Map,oe=new Set;for(const Ee of V){const Te=q.has(Ee.source)||W.has(Ee.source),Re=q.has(Ee.target)||W.has(Ee.target);Te&&Re?(B.add(Ee.id),W.has(Ee.source)?G.set(Ee.source,(G.get(Ee.source)||0)+1):q.has(Ee.source)&&ne.set(Ee.source,(ne.get(Ee.source)||0)+1),W.has(Ee.target)?G.set(Ee.target,(G.get(Ee.target)||0)+1):q.has(Ee.target)&&ne.set(Ee.target,(ne.get(Ee.target)||0)+1)):(n.hasNode(Ee.source)?oe.add(Ee.source):W.has(Ee.source)&&(oe.add(Ee.source),G.set(Ee.source,(G.get(Ee.source)||0)+1)),n.hasNode(Ee.target)?oe.add(Ee.target):W.has(Ee.target)&&(oe.add(Ee.target),G.set(Ee.target,(G.get(Ee.target)||0)+1)))}const de=(Ee,Te,Re,fe)=>{const Ze=fe-Re||1,yt=Kb-nu;for(const qe of Te)if(Ee.hasNode(qe)){let Ke=Ee.degree(qe);Ke+=1;const xe=Math.min(Ke,fe+1),Yt=Math.round(nu+yt*Math.pow((xe-Re)/Ze,.5));Ee.setNodeAttribute(qe,"size",Yt)}},ie=(Ee,Te,Re)=>{const fe=rt.getState().minEdgeSize,Ze=rt.getState().maxEdgeSize,yt=Re-Te||1,qe=Ze-fe;Ee.forEachEdge(Ke=>{const xe=Ee.getEdgeAttribute(Ke,"originalWeight")||1,Yt=fe+qe*Math.pow((xe-Te)/yt,.5);Ee.setEdgeAttribute(Ke,"size",Yt)})};if(W.size===0){de(n,oe,te,P),lr.info(e("graphPanel.propertiesView.node.noNewNodes"));return}for(const[,Ee]of G.entries())P=Math.max(P,Ee);for(const[Ee,Te]of ne.entries()){const fe=n.degree(Ee)+Te;P=Math.max(P,fe)}const ue=P-te||1,Ne=Kb-nu,pe=((D=ht.getState().sigmaInstance)==null?void 0:D.getCamera().ratio)||1,Le=Math.max(Math.sqrt(L.size)*4,Math.sqrt(W.size)*3)/pe;ly(Date.now().toString(),{global:!0});const Me=Math.random()*2*Math.PI;console.log("nodeSize:",L.size,"nodesToAdd:",W.size),console.log("cameraRatio:",Math.round(pe*100)/100,"spreadFactor:",Math.round(Le*100)/100);for(const Ee of W){const Te=z.find(xe=>xe.id===Ee),Re=G.get(Ee)||0,fe=Math.min(Re,P+1),Ze=Math.round(nu+Ne*Math.pow((fe-te)/ue,.5)),yt=2*Math.PI*(Array.from(W).indexOf(Ee)/W.size),qe=((w=X[Ee])==null?void 0:w.x)||X[L.id].x+Math.cos(Me+yt)*Le,Ke=((A=X[Ee])==null?void 0:A.y)||X[L.id].y+Math.sin(Me+yt)*Le;n.addNode(Ee,{label:Te.labels.join(", "),color:Te.color,x:qe,y:Ke,size:Ze,borderColor:w_,borderSize:.2}),r.getNode(Ee)||(Te.size=Ze,Te.x=qe,Te.y=Ke,Te.degree=Re,r.nodes.push(Te),r.nodeIdMap[Ee]=r.nodes.length-1)}for(const Ee of B){const Te=V.find(fe=>fe.id===Ee);if(n.hasEdge(Te.source,Te.target))continue;const Re=((I=Te.properties)==null?void 0:I.weight)!==void 0?Number(Te.properties.weight):1;Z=Math.min(Z,Re),K=Math.max(K,Re),Te.dynamicId=n.addEdge(Te.source,Te.target,{label:((M=Te.properties)==null?void 0:M.keywords)||void 0,size:Re,originalWeight:Re,type:"curvedNoArrow"}),r.getEdge(Te.id,!1)?console.error("Edge already exists in rawGraph:",Te.id):(r.edges.push(Te),r.edgeIdMap[Te.id]=r.edges.length-1,r.edgeDynamicIdMap[Te.dynamicId]=r.edges.length-1)}if(r.buildDynamicMap(),ht.getState().resetSearchEngine(),de(n,oe,te,P),ie(n,Z,K),n.hasNode(C)){const Ee=n.degree(C),Te=Math.min(Ee,P+1),Re=Math.round(nu+Ne*Math.pow((Te-te)/ue,.5));n.setNodeAttribute(C,"size",Re),L.size=Re,L.degree=Ee}}catch(L){console.error("Error expanding node:",L)}})(s),window.setTimeout(()=>{ht.getState().triggerNodeExpand(null)},0))},[s,n,r,e]);const F=T.useCallback((E,C)=>{const _=new Set([E]);return C.forEachNode(D=>{if(D===E)return;const w=C.neighbors(D);w.length===1&&w[0]===E&&_.add(D)}),_},[]);return T.useEffect(()=>{l&&((C=>{if(!(!C||!n||!r))try{const _=ht.getState();if(!n.hasNode(C)){console.error("Node not found:",C);return}const D=F(C,n);if(D.size===n.nodes().length){lr.error(e("graphPanel.propertiesView.node.deleteAllNodesError"));return}_.clearSelection();for(const w of D){n.dropNode(w);const A=r.nodeIdMap[w];if(A!==void 0){const I=r.edges.filter(M=>M.source===w||M.target===w);for(const M of I){const L=r.edgeIdMap[M.id];if(L!==void 0){r.edges.splice(L,1);for(const[U,j]of Object.entries(r.edgeIdMap))j>L&&(r.edgeIdMap[U]=j-1);delete r.edgeIdMap[M.id],delete r.edgeDynamicIdMap[M.dynamicId]}}r.nodes.splice(A,1);for(const[M,L]of Object.entries(r.nodeIdMap))L>A&&(r.nodeIdMap[M]=L-1);delete r.nodeIdMap[w]}}r.buildDynamicMap(),ht.getState().resetSearchEngine(),D.size>1&&lr.info(e("graphPanel.propertiesView.node.nodesRemoved",{count:D.size}))}catch(_){console.error("Error pruning node:",_)}})(l),window.setTimeout(()=>{ht.getState().triggerNodePrune(null)},0))},[l,n,r,F,e]),{lightrageGraph:T.useCallback(()=>{if(n)return n;console.log("Creating new Sigma graph instance");const E=new Th;return ht.getState().setSigmaGraph(E),E},[n]),getNode:m,getEdge:b}},z6e=({name:e})=>{const{t}=Er(),r=n=>{const a=`graphPanel.propertiesView.node.propertyNames.${n}`,i=t(a);return i===a?n:i};return S.jsx("span",{className:"text-primary/60 tracking-wide whitespace-nowrap",children:r(e)})},H6e=({onClick:e})=>S.jsx("div",{children:S.jsx(HFe,{className:"h-3 w-3 text-gray-500 hover:text-gray-700 cursor-pointer",onClick:e})}),U6e=({value:e,onClick:t,tooltip:r})=>S.jsx("div",{className:"flex items-center gap-1 overflow-hidden",children:S.jsx(Bee,{className:"hover:bg-primary/20 rounded p-1 overflow-hidden text-ellipsis whitespace-nowrap",tooltipClassName:"max-w-80 -translate-x-15",text:e,tooltip:r||(typeof e=="string"?e:JSON.stringify(e,null,2)),side:"left",onClick:t})}),G6e=({isOpen:e,onClose:t,onSave:r,propertyName:n,initialValue:a,isSubmitting:i=!1})=>{const{t:o}=Er(),[s,l]=T.useState(""),[u,d]=T.useState(null);T.useEffect(()=>{e&&l(a)},[e,a]);const h=b=>{const y=`graphPanel.propertiesView.node.propertyNames.${b}`,F=o(y);return F===y?b:F},f=b=>{switch(b){case"description":return{className:"max-h-[50vh] min-h-[10em] resize-y",style:{height:"70vh",minHeight:"20em",resize:"vertical"}};case"entity_id":return{rows:2,className:"",style:{}};case"keywords":return{rows:4,className:"",style:{}};default:return{rows:5,className:"",style:{}}}},m=async()=>{if(s.trim()!==""){d(null);try{await r(s),t()}catch(b){console.error("Save error:",b),d(typeof b=="object"&&b!==null&&b.message||o("common.saveFailed"))}}};return S.jsx(rp,{open:e,onOpenChange:b=>!b&&t(),children:S.jsxs(qc,{className:"sm:max-w-md",children:[S.jsxs(Wc,{children:[S.jsx(Vc,{children:o("graphPanel.propertiesView.editProperty",{property:h(n)})}),S.jsx(Kc,{children:o("graphPanel.propertiesView.editPropertyDescription")})]}),u&&S.jsx("div",{className:"bg-destructive/15 text-destructive px-4 py-2 rounded-md text-sm mt-2",children:u}),S.jsx("div",{className:"grid gap-4 py-4",children:(()=>{const b=f(n);return n==="description"?S.jsx("textarea",{value:s,onChange:y=>l(y.target.value),className:`border-input focus-visible:ring-ring flex w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 ${b.className}`,style:b.style,disabled:i}):S.jsx("textarea",{value:s,onChange:y=>l(y.target.value),rows:b.rows,className:`border-input focus-visible:ring-ring flex w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 ${b.className}`,disabled:i})})()}),S.jsxs(Uv,{children:[S.jsx(Ot,{type:"button",variant:"outline",onClick:t,disabled:i,children:o("common.cancel")}),S.jsx(Ot,{type:"button",onClick:m,disabled:i,children:i?S.jsxs(S.Fragment,{children:[S.jsx("span",{className:"mr-2",children:S.jsxs("svg",{className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[S.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),S.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),o("common.saving")]}):o("common.save")})]})]})})},$6e=({name:e,value:t,onClick:r,nodeId:n,edgeId:a,entityId:i,dynamicId:o,entityType:s,sourceId:l,targetId:u,onValueChange:d,isEditable:h=!1,tooltip:f})=>{const{t:m}=Er(),[b,y]=T.useState(!1),[F,x]=T.useState(!1),[E,C]=T.useState(t);T.useEffect(()=>{C(t)},[t]);const _=()=>{h&&!b&&y(!0)},D=()=>{y(!1)},w=async A=>{if(F||A===String(E)){y(!1);return}x(!0);try{if(s==="node"&&i&&n){let I={[e]:A};if(e==="entity_id"){if(await R1e(A)){lr.error(m("graphPanel.propertiesView.errors.duplicateName"));return}I={entity_name:A}}await _1e(i,I,!0);try{await ht.getState().updateNodeAndSelect(n,i,e,A)}catch(M){throw console.error("Error updating node in graph:",M),new Error("Failed to update node in graph")}lr.success(m("graphPanel.propertiesView.success.entityUpdated"))}else if(s==="edge"&&l&&u&&a&&o){const I={[e]:A};await D1e(l,u,I);try{await ht.getState().updateEdgeAndSelect(a,o,l,u,e,A)}catch(M){throw console.error(`Error updating edge ${l}->${u} in graph:`,M),new Error("Failed to update edge in graph")}lr.success(m("graphPanel.propertiesView.success.relationUpdated"))}y(!1),C(A),d==null||d(A)}catch(I){console.error("Error updating property:",I),lr.error(m("graphPanel.propertiesView.errors.updateFailed"))}finally{x(!1)}};return S.jsxs("div",{className:"flex items-center gap-1 overflow-hidden",children:[S.jsx(z6e,{name:e}),S.jsx(H6e,{onClick:_}),":",S.jsx(U6e,{value:E,onClick:r,tooltip:f||(typeof E=="string"?E:JSON.stringify(E,null,2))}),S.jsx(G6e,{isOpen:b,onClose:D,onSave:w,propertyName:e,initialValue:String(E),isSubmitting:F})]})},j6e=()=>{const{getNode:e,getEdge:t}=P6e(),r=ht.use.selectedNode(),n=ht.use.focusedNode(),a=ht.use.selectedEdge(),i=ht.use.focusedEdge(),o=ht.use.graphDataVersion(),[s,l]=T.useState(null),[u,d]=T.useState(null);return T.useEffect(()=>{let h=null,f=null;n?(h="node",f=e(n)):r?(h="node",f=e(r)):i?(h="edge",f=t(i,!0)):a&&(h="edge",f=t(a,!0)),f?(h=="node"?l(q6e(f)):l(W6e(f)),d(h)):(l(null),d(null))},[n,r,i,a,o,l,d,e,t]),s?S.jsx("div",{className:"bg-background/80 max-w-xs rounded-lg border-2 p-2 text-xs backdrop-blur-lg",children:u=="node"?S.jsx(V6e,{node:s}):S.jsx(K6e,{edge:s})}):S.jsx(S.Fragment,{})},q6e=e=>{const t=ht.getState(),r=[];if(t.sigmaGraph&&t.rawGraph)try{if(!t.sigmaGraph.hasNode(e.id))return console.warn("Node not found in sigmaGraph:",e.id),{...e,relationships:[]};const n=t.sigmaGraph.edges(e.id);for(const a of n){if(!t.sigmaGraph.hasEdge(a))continue;const i=t.rawGraph.getEdge(a,!0);if(i){const s=e.id===i.source?i.target:i.source;if(!t.sigmaGraph.hasNode(s))continue;const l=t.rawGraph.getNode(s);l&&r.push({type:"Neighbour",id:s,label:l.properties.entity_id?l.properties.entity_id:l.labels.join(", ")})}}}catch(n){console.error("Error refining node properties:",n)}return{...e,relationships:r}},W6e=e=>{const t=ht.getState();let r,n;if(t.sigmaGraph&&t.rawGraph)try{if(!t.sigmaGraph.hasEdge(e.dynamicId))return console.warn("Edge not found in sigmaGraph:",e.id,"dynamicId:",e.dynamicId),{...e,sourceNode:void 0,targetNode:void 0};t.sigmaGraph.hasNode(e.source)&&(r=t.rawGraph.getNode(e.source)),t.sigmaGraph.hasNode(e.target)&&(n=t.rawGraph.getNode(e.target))}catch(a){console.error("Error refining edge properties:",a)}return{...e,sourceNode:r,targetNode:n}},Zo=({name:e,value:t,onClick:r,tooltip:n,nodeId:a,edgeId:i,dynamicId:o,entityId:s,entityType:l,sourceId:u,targetId:d,isEditable:h=!1})=>{const{t:f}=Er(),m=x=>{const E=`graphPanel.propertiesView.node.propertyNames.${x}`,C=f(E);return C===E?x:C},b=x=>typeof x=="string"?x.replace(/<SEP>/g,`;
|
||
`):typeof x=="string"?x:JSON.stringify(x,null,2),y=b(t),F=n||b(t);return h&&(e==="description"||e==="entity_id"||e==="keywords")?S.jsx($6e,{name:e,value:t,onClick:r,nodeId:a,entityId:s,edgeId:i,dynamicId:o,entityType:l,sourceId:u,targetId:d,isEditable:!0,tooltip:n||(typeof t=="string"?t:JSON.stringify(t,null,2))}):S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("span",{className:"text-primary/60 tracking-wide whitespace-nowrap",children:m(e)}),":",S.jsx(Bee,{className:"hover:bg-primary/20 rounded p-1 overflow-hidden text-ellipsis",tooltipClassName:"max-w-96 -translate-x-13",text:y,tooltip:F,side:"left",onClick:r})]})},V6e=({node:e})=>{const{t}=Er(),r=()=>{ht.getState().triggerNodeExpand(e.id)},n=()=>{ht.getState().triggerNodePrune(e.id)};return S.jsxs("div",{className:"flex flex-col gap-2",children:[S.jsxs("div",{className:"flex justify-between items-center",children:[S.jsx("h3",{className:"text-md pl-1 font-bold tracking-wide text-blue-700",children:t("graphPanel.propertiesView.node.title")}),S.jsxs("div",{className:"flex gap-3",children:[S.jsx(Ot,{size:"icon",variant:"ghost",className:"h-7 w-7 border border-gray-400 hover:bg-gray-200 dark:border-gray-600 dark:hover:bg-gray-700",onClick:r,tooltip:t("graphPanel.propertiesView.node.expandNode"),children:S.jsx(FFe,{className:"h-4 w-4 text-gray-700 dark:text-gray-300"})}),S.jsx(Ot,{size:"icon",variant:"ghost",className:"h-7 w-7 border border-gray-400 hover:bg-gray-200 dark:border-gray-600 dark:hover:bg-gray-700",onClick:n,tooltip:t("graphPanel.propertiesView.node.pruneNode"),children:S.jsx(KFe,{className:"h-4 w-4 text-gray-900 dark:text-gray-300"})})]})]}),S.jsxs("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:[S.jsx(Zo,{name:t("graphPanel.propertiesView.node.id"),value:String(e.id)}),S.jsx(Zo,{name:t("graphPanel.propertiesView.node.labels"),value:e.labels.join(", "),onClick:()=>{ht.getState().setSelectedNode(e.id,!0)}}),S.jsx(Zo,{name:t("graphPanel.propertiesView.node.degree"),value:e.degree})]}),S.jsx("h3",{className:"text-md pl-1 font-bold tracking-wide text-amber-700",children:t("graphPanel.propertiesView.node.properties")}),S.jsx("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:Object.keys(e.properties).sort().map(a=>a==="created_at"?null:S.jsx(Zo,{name:a,value:e.properties[a],nodeId:String(e.id),entityId:e.properties.entity_id,entityType:"node",isEditable:a==="description"||a==="entity_id"},a))}),e.relationships.length>0&&S.jsxs(S.Fragment,{children:[S.jsx("h3",{className:"text-md pl-1 font-bold tracking-wide text-emerald-700",children:t("graphPanel.propertiesView.node.relationships")}),S.jsx("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:e.relationships.map(({type:a,id:i,label:o})=>S.jsx(Zo,{name:a,value:o,onClick:()=>{ht.getState().setSelectedNode(i,!0)}},i))})]})]})},K6e=({edge:e})=>{const{t}=Er();return S.jsxs("div",{className:"flex flex-col gap-2",children:[S.jsx("h3",{className:"text-md pl-1 font-bold tracking-wide text-violet-700",children:t("graphPanel.propertiesView.edge.title")}),S.jsxs("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:[S.jsx(Zo,{name:t("graphPanel.propertiesView.edge.id"),value:e.id}),e.type&&S.jsx(Zo,{name:t("graphPanel.propertiesView.edge.type"),value:e.type}),S.jsx(Zo,{name:t("graphPanel.propertiesView.edge.source"),value:e.sourceNode?e.sourceNode.labels.join(", "):e.source,onClick:()=>{ht.getState().setSelectedNode(e.source,!0)}}),S.jsx(Zo,{name:t("graphPanel.propertiesView.edge.target"),value:e.targetNode?e.targetNode.labels.join(", "):e.target,onClick:()=>{ht.getState().setSelectedNode(e.target,!0)}})]}),S.jsx("h3",{className:"text-md pl-1 font-bold tracking-wide text-amber-700",children:t("graphPanel.propertiesView.edge.properties")}),S.jsx("div",{className:"bg-primary/5 max-h-96 overflow-auto rounded p-1",children:Object.keys(e.properties).sort().map(r=>{var n,a;return r==="created_at"?null:S.jsx(Zo,{name:r,value:e.properties[r],edgeId:String(e.id),dynamicId:String(e.dynamicId),entityType:"edge",sourceId:((n=e.sourceNode)==null?void 0:n.properties.entity_id)||e.source,targetId:((a=e.targetNode)==null?void 0:a.properties.entity_id)||e.target,isEditable:r==="description"||r==="keywords"},r)})})]})},Y6e=()=>{const{t:e}=Er(),t=rt.use.graphQueryMaxDepth(),r=rt.use.graphMaxNodes();return S.jsxs("div",{className:"absolute bottom-4 left-[calc(1rem+2.5rem)] flex items-center gap-2 text-xs text-gray-400",children:[S.jsxs("div",{children:[e("graphPanel.sideBar.settings.depth"),": ",t]}),S.jsxs("div",{children:[e("graphPanel.sideBar.settings.max"),": ",r]})]})},Nc=T.forwardRef(({className:e,...t},r)=>S.jsx("div",{ref:r,className:ut("bg-card text-card-foreground rounded-xl border shadow",e),...t}));Nc.displayName="Card";const Nm=T.forwardRef(({className:e,...t},r)=>S.jsx("div",{ref:r,className:ut("flex flex-col space-y-1.5 p-6",e),...t}));Nm.displayName="CardHeader";const Lm=T.forwardRef(({className:e,...t},r)=>S.jsx("div",{ref:r,className:ut("leading-none font-semibold tracking-tight",e),...t}));Lm.displayName="CardTitle";const t2=T.forwardRef(({className:e,...t},r)=>S.jsx("div",{ref:r,className:ut("text-muted-foreground text-sm",e),...t}));t2.displayName="CardDescription";const Mm=T.forwardRef(({className:e,...t},r)=>S.jsx("div",{ref:r,className:ut("p-6 pt-0",e),...t}));Mm.displayName="CardContent";const X6e=T.forwardRef(({className:e,...t},r)=>S.jsx("div",{ref:r,className:ut("flex items-center p-6 pt-0",e),...t}));X6e.displayName="CardFooter";function J6e(e,t){return T.useReducer((r,n)=>t[r][n]??r,e)}var v5="ScrollArea",[Pee,_ct]=Ro(v5),[Z6e,uo]=Pee(v5),zee=T.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:i=600,...o}=e,[s,l]=T.useState(null),[u,d]=T.useState(null),[h,f]=T.useState(null),[m,b]=T.useState(null),[y,F]=T.useState(null),[x,E]=T.useState(0),[C,_]=T.useState(0),[D,w]=T.useState(!1),[A,I]=T.useState(!1),M=_r(t,U=>l(U)),L=jv(a);return S.jsx(Z6e,{scope:r,type:n,dir:L,scrollHideDelay:i,scrollArea:s,viewport:u,onViewportChange:d,content:h,onContentChange:f,scrollbarX:m,onScrollbarXChange:b,scrollbarXEnabled:D,onScrollbarXEnabledChange:w,scrollbarY:y,onScrollbarYChange:F,scrollbarYEnabled:A,onScrollbarYEnabledChange:I,onCornerWidthChange:E,onCornerHeightChange:_,children:S.jsx(Kt.div,{dir:L,...o,ref:M,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":C+"px",...e.style}})})});zee.displayName=v5;var Hee="ScrollAreaViewport",Uee=T.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...i}=e,o=uo(Hee,r),s=T.useRef(null),l=_r(t,s,o.onViewportChange);return S.jsxs(S.Fragment,{children:[S.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),S.jsx(Kt.div,{"data-radix-scroll-area-viewport":"",...i,ref:l,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style},children:S.jsx("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});Uee.displayName=Hee;var fs="ScrollAreaScrollbar",F5=T.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=uo(fs,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:o}=a,s=e.orientation==="horizontal";return T.useEffect(()=>(s?i(!0):o(!0),()=>{s?i(!1):o(!1)}),[s,i,o]),a.type==="hover"?S.jsx(Q6e,{...n,ref:t,forceMount:r}):a.type==="scroll"?S.jsx(eRe,{...n,ref:t,forceMount:r}):a.type==="auto"?S.jsx(Gee,{...n,ref:t,forceMount:r}):a.type==="always"?S.jsx(E5,{...n,ref:t}):null});F5.displayName=fs;var Q6e=T.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=uo(fs,e.__scopeScrollArea),[i,o]=T.useState(!1);return T.useEffect(()=>{const s=a.scrollArea;let l=0;if(s){const u=()=>{window.clearTimeout(l),o(!0)},d=()=>{l=window.setTimeout(()=>o(!1),a.scrollHideDelay)};return s.addEventListener("pointerenter",u),s.addEventListener("pointerleave",d),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",u),s.removeEventListener("pointerleave",d)}}},[a.scrollArea,a.scrollHideDelay]),S.jsx(Li,{present:r||i,children:S.jsx(Gee,{"data-state":i?"visible":"hidden",...n,ref:t})})}),eRe=T.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=uo(fs,e.__scopeScrollArea),i=e.orientation==="horizontal",o=n2(()=>l("SCROLL_END"),100),[s,l]=J6e("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return T.useEffect(()=>{if(s==="idle"){const u=window.setTimeout(()=>l("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(u)}},[s,a.scrollHideDelay,l]),T.useEffect(()=>{const u=a.viewport,d=i?"scrollLeft":"scrollTop";if(u){let h=u[d];const f=()=>{const m=u[d];h!==m&&(l("SCROLL"),o()),h=m};return u.addEventListener("scroll",f),()=>u.removeEventListener("scroll",f)}},[a.viewport,i,l,o]),S.jsx(Li,{present:r||s!=="hidden",children:S.jsx(E5,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Gt(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:Gt(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),Gee=T.forwardRef((e,t)=>{const r=uo(fs,e.__scopeScrollArea),{forceMount:n,...a}=e,[i,o]=T.useState(!1),s=e.orientation==="horizontal",l=n2(()=>{if(r.viewport){const u=r.viewport.offsetWidth<r.viewport.scrollWidth,d=r.viewport.offsetHeight<r.viewport.scrollHeight;o(s?u:d)}},10);return Rh(r.viewport,l),Rh(r.content,l),S.jsx(Li,{present:n||i,children:S.jsx(E5,{"data-state":i?"visible":"hidden",...a,ref:t})})}),E5=T.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,a=uo(fs,e.__scopeScrollArea),i=T.useRef(null),o=T.useRef(0),[s,l]=T.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=Vee(s.viewport,s.content),d={...n,sizes:s,onSizesChange:l,hasThumb:u>0&&u<1,onThumbChange:f=>i.current=f,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:f=>o.current=f};function h(f,m){return oRe(f,o.current,s,m)}return r==="horizontal"?S.jsx(tRe,{...d,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const f=a.viewport.scrollLeft,m=mB(f,s,a.dir);i.current.style.transform=`translate3d(${m}px, 0, 0)`}},onWheelScroll:f=>{a.viewport&&(a.viewport.scrollLeft=f)},onDragScroll:f=>{a.viewport&&(a.viewport.scrollLeft=h(f,a.dir))}}):r==="vertical"?S.jsx(rRe,{...d,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const f=a.viewport.scrollTop,m=mB(f,s);i.current.style.transform=`translate3d(0, ${m}px, 0)`}},onWheelScroll:f=>{a.viewport&&(a.viewport.scrollTop=f)},onDragScroll:f=>{a.viewport&&(a.viewport.scrollTop=h(f))}}):null}),tRe=T.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,i=uo(fs,e.__scopeScrollArea),[o,s]=T.useState(),l=T.useRef(null),u=_r(t,l,i.onScrollbarXChange);return T.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),S.jsx(jee,{"data-orientation":"horizontal",...a,ref:u,sizes:r,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":r2(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.x),onDragScroll:d=>e.onDragScroll(d.x),onWheelScroll:(d,h)=>{if(i.viewport){const f=i.viewport.scrollLeft+d.deltaX;e.onWheelScroll(f),Yee(f,h)&&d.preventDefault()}},onResize:()=>{l.current&&i.viewport&&o&&n({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:dy(o.paddingLeft),paddingEnd:dy(o.paddingRight)}})}})}),rRe=T.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,i=uo(fs,e.__scopeScrollArea),[o,s]=T.useState(),l=T.useRef(null),u=_r(t,l,i.onScrollbarYChange);return T.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),S.jsx(jee,{"data-orientation":"vertical",...a,ref:u,sizes:r,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":r2(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.y),onDragScroll:d=>e.onDragScroll(d.y),onWheelScroll:(d,h)=>{if(i.viewport){const f=i.viewport.scrollTop+d.deltaY;e.onWheelScroll(f),Yee(f,h)&&d.preventDefault()}},onResize:()=>{l.current&&i.viewport&&o&&n({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:dy(o.paddingTop),paddingEnd:dy(o.paddingBottom)}})}})}),[nRe,$ee]=Pee(fs),jee=T.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:i,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:u,onWheelScroll:d,onResize:h,...f}=e,m=uo(fs,r),[b,y]=T.useState(null),F=_r(t,M=>y(M)),x=T.useRef(null),E=T.useRef(""),C=m.viewport,_=n.content-n.viewport,D=fa(d),w=fa(l),A=n2(h,10);function I(M){if(x.current){const L=M.clientX-x.current.left,U=M.clientY-x.current.top;u({x:L,y:U})}}return T.useEffect(()=>{const M=L=>{const U=L.target;(b==null?void 0:b.contains(U))&&D(L,_)};return document.addEventListener("wheel",M,{passive:!1}),()=>document.removeEventListener("wheel",M,{passive:!1})},[C,b,_,D]),T.useEffect(w,[n,w]),Rh(b,A),Rh(m.content,A),S.jsx(nRe,{scope:r,scrollbar:b,hasThumb:a,onThumbChange:fa(i),onThumbPointerUp:fa(o),onThumbPositionChange:w,onThumbPointerDown:fa(s),children:S.jsx(Kt.div,{...f,ref:F,style:{position:"absolute",...f.style},onPointerDown:Gt(e.onPointerDown,M=>{M.button===0&&(M.target.setPointerCapture(M.pointerId),x.current=b.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",m.viewport&&(m.viewport.style.scrollBehavior="auto"),I(M))}),onPointerMove:Gt(e.onPointerMove,I),onPointerUp:Gt(e.onPointerUp,M=>{const L=M.target;L.hasPointerCapture(M.pointerId)&&L.releasePointerCapture(M.pointerId),document.body.style.webkitUserSelect=E.current,m.viewport&&(m.viewport.style.scrollBehavior=""),x.current=null})})})}),cy="ScrollAreaThumb",qee=T.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=$ee(cy,e.__scopeScrollArea);return S.jsx(Li,{present:r||a.hasThumb,children:S.jsx(aRe,{ref:t,...n})})}),aRe=T.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,i=uo(cy,r),o=$ee(cy,r),{onThumbPositionChange:s}=o,l=_r(t,h=>o.onThumbChange(h)),u=T.useRef(void 0),d=n2(()=>{u.current&&(u.current(),u.current=void 0)},100);return T.useEffect(()=>{const h=i.viewport;if(h){const f=()=>{if(d(),!u.current){const m=sRe(h,s);u.current=m,s()}};return s(),h.addEventListener("scroll",f),()=>h.removeEventListener("scroll",f)}},[i.viewport,d,s]),S.jsx(Kt.div,{"data-state":o.hasThumb?"visible":"hidden",...a,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Gt(e.onPointerDownCapture,h=>{const m=h.target.getBoundingClientRect(),b=h.clientX-m.left,y=h.clientY-m.top;o.onThumbPointerDown({x:b,y})}),onPointerUp:Gt(e.onPointerUp,o.onThumbPointerUp)})});qee.displayName=cy;var S5="ScrollAreaCorner",Wee=T.forwardRef((e,t)=>{const r=uo(S5,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?S.jsx(iRe,{...e,ref:t}):null});Wee.displayName=S5;var iRe=T.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=uo(S5,r),[i,o]=T.useState(0),[s,l]=T.useState(0),u=!!(i&&s);return Rh(a.scrollbarX,()=>{var h;const d=((h=a.scrollbarX)==null?void 0:h.offsetHeight)||0;a.onCornerHeightChange(d),l(d)}),Rh(a.scrollbarY,()=>{var h;const d=((h=a.scrollbarY)==null?void 0:h.offsetWidth)||0;a.onCornerWidthChange(d),o(d)}),u?S.jsx(Kt.div,{...n,ref:t,style:{width:i,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function dy(e){return e?parseInt(e,10):0}function Vee(e,t){const r=e/t;return isNaN(r)?0:r}function r2(e){const t=Vee(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function oRe(e,t,r,n="ltr"){const a=r2(r),i=a/2,o=t||i,s=a-o,l=r.scrollbar.paddingStart+o,u=r.scrollbar.size-r.scrollbar.paddingEnd-s,d=r.content-r.viewport,h=n==="ltr"?[0,d]:[d*-1,0];return Kee([l,u],h)(e)}function mB(e,t,r="ltr"){const n=r2(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-a,o=t.content-t.viewport,s=i-n,l=r==="ltr"?[0,o]:[o*-1,0],u=U_(e,l);return Kee([0,o],[0,s])(u)}function Kee(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Yee(e,t){return e>0&&e<t}var sRe=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){const i={left:e.scrollLeft,top:e.scrollTop},o=r.left!==i.left,s=r.top!==i.top;(o||s)&&t(),r=i,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function n2(e,t){const r=fa(e),n=T.useRef(0);return T.useEffect(()=>()=>window.clearTimeout(n.current),[]),T.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Rh(e,t){const r=fa(t);Da(()=>{let n=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}var Xee=zee,lRe=Uee,uRe=Wee;const x5=T.forwardRef(({className:e,children:t,...r},n)=>S.jsxs(Xee,{ref:n,className:ut("relative overflow-hidden",e),...r,children:[S.jsx(lRe,{className:"h-full w-full rounded-[inherit]",children:t}),S.jsx(Jee,{}),S.jsx(uRe,{})]}));x5.displayName=Xee.displayName;const Jee=T.forwardRef(({className:e,orientation:t="vertical",...r},n)=>S.jsx(F5,{ref:n,orientation:t,className:ut("flex touch-none transition-colors select-none",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:S.jsx(qee,{className:"bg-border relative flex-1 rounded-full"})}));Jee.displayName=F5.displayName;const cRe=({className:e})=>{const{t}=Er(),r=ht.use.typeColorMap();return!r||r.size===0?null:S.jsxs(Nc,{className:`p-2 max-w-xs ${e}`,children:[S.jsx("h3",{className:"text-sm font-medium mb-2",children:t("graphPanel.legend")}),S.jsx(x5,{className:"max-h-80",children:S.jsx("div",{className:"flex flex-col gap-1",children:Array.from(r.entries()).map(([n,a])=>S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("div",{className:"w-4 h-4 rounded-full",style:{backgroundColor:a}}),S.jsx("span",{className:"text-xs truncate",title:n,children:t(`graphPanel.nodeTypes.${n.toLowerCase().replace(/\s+/g,"")}`,n)})]},n))})})]})},dRe=()=>{const{t:e}=Er(),t=rt.use.showLegend(),r=rt.use.setShowLegend(),n=T.useCallback(()=>{r(!t)},[t,r]);return S.jsx(Ot,{variant:eo,onClick:n,tooltip:e("graphPanel.sideBar.legendControl.toggleLegend"),size:"icon",children:S.jsx(Q2e,{})})},hRe=e=>({allowInvalidContainer:!0,defaultNodeType:"default",defaultEdgeType:"curvedNoArrow",renderEdgeLabels:!1,edgeProgramClasses:{arrow:FQ,curvedArrow:qke,curvedNoArrow:Jv()},nodeProgramClasses:{default:Ake,circel:m0,point:rke},labelGridCellSize:60,labelRenderedSizeThreshold:12,enableEdgeEvents:!0,labelColor:{color:e?x_:jI,attribute:"labelColor"},edgeLabelColor:{color:e?x_:jI,attribute:"labelColor"},edgeLabelSize:8,labelSize:12}),pRe=()=>{const e=_Q(),t=Lo(),[r,n]=T.useState(null);return T.useEffect(()=>{e({downNode:a=>{n(a.node),t.getGraph().setNodeAttribute(a.node,"highlighted",!0)},mousemovebody:a=>{if(!r)return;const i=t.viewportToGraph(a);t.getGraph().setNodeAttribute(r,"x",i.x),t.getGraph().setNodeAttribute(r,"y",i.y),a.preventSigmaDefault(),a.original.preventDefault(),a.original.stopPropagation()},mouseup:()=>{r&&(n(null),t.getGraph().removeNodeAttribute(r,"highlighted"))},mousedown:a=>{a.original.buttons!==0&&!t.getCustomBBox()&&t.setCustomBBox(t.getBBox())}})},[e,t,r]),null},fRe=()=>{const[e,t]=T.useState(!1),r=T.useRef(null),n=T.useRef(""),a=ht.use.selectedNode(),i=ht.use.focusedNode(),o=ht.use.moveToSelectedNode(),s=ht.use.isFetching(),l=rt.use.showPropertyPanel(),u=rt.use.showNodeSearchBar(),d=rt.use.enableNodeDrag(),h=rt.use.showLegend(),f=rt.use.theme(),m=T.useMemo(()=>hRe(f==="dark"),[f]);T.useEffect(()=>{if(n.current&&n.current!==f){t(!0),console.log("Theme switching detected:",n.current,"->",f);const C=setTimeout(()=>{t(!1),console.log("Theme switching completed")},150);return()=>clearTimeout(C)}n.current=f,console.log("Initialized sigma settings for theme:",f)},[f]),T.useEffect(()=>()=>{const E=ht.getState().sigmaInstance;if(E)try{E.kill(),ht.getState().setSigmaInstance(null),console.log("Cleared sigma instance on Graphviewer unmount")}catch(C){console.error("Error cleaning up sigma instance:",C)}},[]);const b=T.useCallback(E=>{E===null?ht.getState().setFocusedNode(null):E.type==="nodes"&&ht.getState().setFocusedNode(E.id)},[]),y=T.useCallback(E=>{E===null?ht.getState().setSelectedNode(null):E.type==="nodes"&&ht.getState().setSelectedNode(E.id,!0)},[]),F=T.useMemo(()=>i??a,[i,a]),x=T.useMemo(()=>a?{type:"nodes",id:a}:null,[a]);return S.jsxs("div",{className:"relative h-full w-full overflow-hidden",children:[S.jsxs(Xwe,{settings:m,className:"!bg-background !size-full overflow-hidden",ref:r,children:[S.jsx(cTe,{}),d&&S.jsx(pRe,{}),S.jsx(Wke,{node:F,move:o}),S.jsxs("div",{className:"absolute top-2 left-2 flex items-start gap-2",children:[S.jsx(N6e,{}),u&&!e&&S.jsx(_6e,{value:x,onFocus:b,onChange:y})]}),S.jsxs("div",{className:"bg-background/60 absolute bottom-2 left-2 flex flex-col rounded-xl border-2 backdrop-blur-lg",children:[S.jsx(uTe,{}),S.jsx(dTe,{}),S.jsx(hTe,{}),S.jsx(dRe,{}),S.jsx(u6e,{})]}),l&&S.jsx("div",{className:"absolute top-2 right-2",children:S.jsx(j6e,{})}),h&&S.jsx("div",{className:"absolute bottom-10 right-2",children:S.jsx(cRe,{className:"bg-background/60 backdrop-blur-lg"})}),S.jsx(Y6e,{})]}),(s||e)&&S.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-background/80 z-10",children:S.jsxs("div",{className:"text-center",children:[S.jsx("div",{className:"mb-2 h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent mx-auto"}),S.jsx("p",{children:e?"Switching Theme...":"Loading Graph Data..."})]})})]})},Zee=T.forwardRef(({className:e,...t},r)=>S.jsx("div",{className:"relative w-full overflow-auto",children:S.jsx("table",{ref:r,className:ut("w-full caption-bottom text-sm",e),...t})}));Zee.displayName="Table";const Qee=T.forwardRef(({className:e,...t},r)=>S.jsx("thead",{ref:r,className:ut("[&_tr]:border-b",e),...t}));Qee.displayName="TableHeader";const ete=T.forwardRef(({className:e,...t},r)=>S.jsx("tbody",{ref:r,className:ut("[&_tr:last-child]:border-0",e),...t}));ete.displayName="TableBody";const mRe=T.forwardRef(({className:e,...t},r)=>S.jsx("tfoot",{ref:r,className:ut("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t}));mRe.displayName="TableFooter";const hD=T.forwardRef(({className:e,...t},r)=>S.jsx("tr",{ref:r,className:ut("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t}));hD.displayName="TableRow";const qs=T.forwardRef(({className:e,...t},r)=>S.jsx("th",{ref:r,className:ut("text-muted-foreground h-10 px-2 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));qs.displayName="TableHead";const Ws=T.forwardRef(({className:e,...t},r)=>S.jsx("td",{ref:r,className:ut("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Ws.displayName="TableCell";const gRe=T.forwardRef(({className:e,...t},r)=>S.jsx("caption",{ref:r,className:ut("text-muted-foreground mt-4 text-sm",e),...t}));gRe.displayName="TableCaption";function bRe({title:e,description:t,icon:r=gFe,action:n,className:a,...i}){return S.jsxs(Nc,{className:ut("flex w-full flex-col items-center justify-center space-y-6 bg-transparent p-16",a),...i,children:[S.jsx("div",{className:"mr-4 shrink-0 rounded-full border border-dashed p-4",children:S.jsx(r,{className:"text-muted-foreground size-8","aria-hidden":"true"})}),S.jsxs("div",{className:"flex flex-col items-center gap-1.5 text-center",children:[S.jsx(Lm,{children:e}),t?S.jsx(t2,{children:t}):null]}),n||null]})}var Lx={exports:{}},Mx,gB;function yRe(){if(gB)return Mx;gB=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Mx=e,Mx}var Ix,bB;function vRe(){if(bB)return Ix;bB=1;var e=yRe();function t(){}function r(){}return r.resetWarningCache=t,Ix=function(){function n(o,s,l,u,d,h){if(h!==e){var f=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 f.name="Invariant Violation",f}}n.isRequired=n;function a(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Ix}var yB;function FRe(){return yB||(yB=1,Lx.exports=vRe()()),Lx.exports}var ERe=FRe();const Vr=On(ERe),SRe=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function Nh(e,t,r){const n=xRe(e),{webkitRelativePath:a}=e,i=typeof t=="string"?t:typeof a=="string"&&a.length>0?a:`./${e.name}`;return typeof n.path!="string"&&vB(n,"path",i),vB(n,"relativePath",i),n}function xRe(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),a=SRe.get(n);a&&Object.defineProperty(e,"type",{value:a,writable:!1,configurable:!1,enumerable:!0})}return e}function vB(e,t,r){Object.defineProperty(e,t,{value:r,writable:!1,configurable:!1,enumerable:!0})}const wRe=[".DS_Store","Thumbs.db"];function kRe(e){return jc(this,void 0,void 0,function*(){return hy(e)&&CRe(e.dataTransfer)?DRe(e.dataTransfer,e.type):TRe(e)?ARe(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?_Re(e):[]})}function CRe(e){return hy(e)}function TRe(e){return hy(e)&&hy(e.target)}function hy(e){return typeof e=="object"&&e!==null}function ARe(e){return pD(e.target.files).map(t=>Nh(t))}function _Re(e){return jc(this,void 0,void 0,function*(){return(yield Promise.all(e.map(r=>r.getFile()))).map(r=>Nh(r))})}function DRe(e,t){return jc(this,void 0,void 0,function*(){if(e.items){const r=pD(e.items).filter(a=>a.kind==="file");if(t!=="drop")return r;const n=yield Promise.all(r.map(RRe));return FB(tte(n))}return FB(pD(e.files).map(r=>Nh(r)))})}function FB(e){return e.filter(t=>wRe.indexOf(t.name)===-1)}function pD(e){if(e===null)return[];const t=[];for(let r=0;r<e.length;r++){const n=e[r];t.push(n)}return t}function RRe(e){if(typeof e.webkitGetAsEntry!="function")return EB(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?rte(t):EB(e,t)}function tte(e){return e.reduce((t,r)=>[...t,...Array.isArray(r)?tte(r):[r]],[])}function EB(e,t){return jc(this,void 0,void 0,function*(){var r;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const i=yield e.getAsFileSystemHandle();if(i===null)throw new Error(`${e} is not a File`);if(i!==void 0){const o=yield i.getFile();return o.handle=i,Nh(o)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return Nh(n,(r=t==null?void 0:t.fullPath)!==null&&r!==void 0?r:void 0)})}function NRe(e){return jc(this,void 0,void 0,function*(){return e.isDirectory?rte(e):LRe(e)})}function rte(e){const t=e.createReader();return new Promise((r,n)=>{const a=[];function i(){t.readEntries(o=>jc(this,void 0,void 0,function*(){if(o.length){const s=Promise.all(o.map(NRe));a.push(s),i()}else try{const s=yield Promise.all(a);r(s)}catch(s){n(s)}}),o=>{n(o)})}i()})}function LRe(e){return jc(this,void 0,void 0,function*(){return new Promise((t,r)=>{e.file(n=>{const a=Nh(n,e.fullPath);t(a)},n=>{r(n)})})})}var N1={},SB;function MRe(){return SB||(SB=1,N1.__esModule=!0,N1.default=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(",");if(r.length===0)return!0;var n=e.name||"",a=(e.type||"").toLowerCase(),i=a.replace(/\/.*$/,"");return r.some(function(o){var s=o.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?i===s.replace(/\/.*$/,""):a===s})}return!0}),N1}var IRe=MRe();const Ox=On(IRe);function xB(e){return PRe(e)||BRe(e)||ate(e)||ORe()}function ORe(){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 BRe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function PRe(e){if(Array.isArray(e))return fD(e)}function wB(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function kB(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wB(Object(r),!0).forEach(function(n){nte(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wB(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function nte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Im(e,t){return URe(e)||HRe(e,t)||ate(e,t)||zRe()}function zRe(){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 ate(e,t){if(e){if(typeof e=="string")return fD(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fD(e,t)}}function fD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function HRe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,i=!1,o,s;try{for(r=r.call(e);!(a=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));a=!0);}catch(l){i=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function URe(e){if(Array.isArray(e))return e}var GRe=typeof Ox=="function"?Ox:Ox.default,$Re="file-invalid-type",jRe="file-too-large",qRe="file-too-small",WRe="too-many-files",VRe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=t.split(","),n=r.length>1?"one of ".concat(r.join(", ")):r[0];return{code:$Re,message:"File type must be ".concat(n)}},CB=function(t){return{code:jRe,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},TB=function(t){return{code:qRe,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},KRe={code:WRe,message:"Too many files"};function ite(e,t){var r=e.type==="application/x-moz-file"||GRe(e,t);return[r,r?null:VRe(t)]}function ote(e,t,r){if(cc(e.size))if(cc(t)&&cc(r)){if(e.size>r)return[!1,CB(r)];if(e.size<t)return[!1,TB(t)]}else{if(cc(t)&&e.size<t)return[!1,TB(t)];if(cc(r)&&e.size>r)return[!1,CB(r)]}return[!0,null]}function cc(e){return e!=null}function YRe(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize,i=e.multiple,o=e.maxFiles,s=e.validator;return!i&&t.length>1||i&&o>=1&&t.length>o?!1:t.every(function(l){var u=ite(l,r),d=Im(u,1),h=d[0],f=ote(l,n,a),m=Im(f,1),b=m[0],y=s?s(l):null;return h&&b&&!y})}function py(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function L1(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function AB(e){e.preventDefault()}function XRe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function JRe(e){return e.indexOf("Edge/")!==-1}function ZRe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return XRe(e)||JRe(e)}function $o(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];return t.some(function(s){return!py(n)&&s&&s.apply(void 0,[n].concat(i)),py(n)})}}function QRe(){return"showOpenFilePicker"in window}function e5e(e){if(cc(e)){var t=Object.entries(e).filter(function(r){var n=Im(r,2),a=n[0],i=n[1],o=!0;return ste(a)||(console.warn('Skipped "'.concat(a,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),(!Array.isArray(i)||!i.every(lte))&&(console.warn('Skipped "'.concat(a,'" because an invalid file extension was provided.')),o=!1),o}).reduce(function(r,n){var a=Im(n,2),i=a[0],o=a[1];return kB(kB({},r),{},nte({},i,o))},{});return[{description:"Files",accept:t}]}return e}function t5e(e){if(cc(e))return Object.entries(e).reduce(function(t,r){var n=Im(r,2),a=n[0],i=n[1];return[].concat(xB(t),[a],xB(i))},[]).filter(function(t){return ste(t)||lte(t)}).join(",")}function r5e(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function n5e(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function ste(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function lte(e){return/^.*\.[\w]+$/.test(e)}var a5e=["children"],i5e=["open"],o5e=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],s5e=["refKey","onChange","onClick"];function l5e(e){return d5e(e)||c5e(e)||ute(e)||u5e()}function u5e(){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 c5e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function d5e(e){if(Array.isArray(e))return mD(e)}function Bx(e,t){return f5e(e)||p5e(e,t)||ute(e,t)||h5e()}function h5e(){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 ute(e,t){if(e){if(typeof e=="string")return mD(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mD(e,t)}}function mD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p5e(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,i=!1,o,s;try{for(r=r.call(e);!(a=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));a=!0);}catch(l){i=!0,s=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function f5e(e){if(Array.isArray(e))return e}function _B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function pn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_B(Object(r),!0).forEach(function(n){gD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_B(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e,t){if(e==null)return{};var r=m5e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function m5e(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}var a2=T.forwardRef(function(e,t){var r=e.children,n=fy(e,a5e),a=g5e(n),i=a.open,o=fy(a,i5e);return T.useImperativeHandle(t,function(){return{open:i}},[i]),Ge.createElement(T.Fragment,null,r(pn(pn({},o),{},{open:i})))});a2.displayName="Dropzone";var cte={disabled:!1,getFilesFromEvent:kRe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};a2.defaultProps=cte;a2.propTypes={children:Vr.func,accept:Vr.objectOf(Vr.arrayOf(Vr.string)),multiple:Vr.bool,preventDropOnDocument:Vr.bool,noClick:Vr.bool,noKeyboard:Vr.bool,noDrag:Vr.bool,noDragEventsBubbling:Vr.bool,minSize:Vr.number,maxSize:Vr.number,maxFiles:Vr.number,disabled:Vr.bool,getFilesFromEvent:Vr.func,onFileDialogCancel:Vr.func,onFileDialogOpen:Vr.func,useFsAccessApi:Vr.bool,autoFocus:Vr.bool,onDragEnter:Vr.func,onDragLeave:Vr.func,onDragOver:Vr.func,onDrop:Vr.func,onDropAccepted:Vr.func,onDropRejected:Vr.func,onError:Vr.func,validator:Vr.func};var bD={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function g5e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=pn(pn({},cte),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,h=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,b=t.onDropRejected,y=t.onFileDialogCancel,F=t.onFileDialogOpen,x=t.useFsAccessApi,E=t.autoFocus,C=t.preventDropOnDocument,_=t.noClick,D=t.noKeyboard,w=t.noDrag,A=t.noDragEventsBubbling,I=t.onError,M=t.validator,L=T.useMemo(function(){return t5e(r)},[r]),U=T.useMemo(function(){return e5e(r)},[r]),j=T.useMemo(function(){return typeof F=="function"?F:DB},[F]),z=T.useMemo(function(){return typeof y=="function"?y:DB},[y]),V=T.useRef(null),X=T.useRef(null),q=T.useReducer(b5e,bD),W=Bx(q,2),B=W[0],te=W[1],P=B.isFocused,Z=B.isFileDialogActive,K=T.useRef(typeof window<"u"&&window.isSecureContext&&x&&QRe()),G=function(){!K.current&&Z&&setTimeout(function(){if(X.current){var Qe=X.current.files;Qe.length||(te({type:"closeDialog"}),z())}},300)};T.useEffect(function(){return window.addEventListener("focus",G,!1),function(){window.removeEventListener("focus",G,!1)}},[X,Z,z,K]);var ne=T.useRef([]),oe=function(Qe){V.current&&V.current.contains(Qe.target)||(Qe.preventDefault(),ne.current=[])};T.useEffect(function(){return C&&(document.addEventListener("dragover",AB,!1),document.addEventListener("drop",oe,!1)),function(){C&&(document.removeEventListener("dragover",AB),document.removeEventListener("drop",oe))}},[V,C]),T.useEffect(function(){return!n&&E&&V.current&&V.current.focus(),function(){}},[V,E,n]);var de=T.useCallback(function(Pe){I?I(Pe):console.error(Pe)},[I]),ie=T.useCallback(function(Pe){Pe.preventDefault(),Pe.persist(),Ke(Pe),ne.current=[].concat(l5e(ne.current),[Pe.target]),L1(Pe)&&Promise.resolve(a(Pe)).then(function(Qe){if(!(py(Pe)&&!A)){var me=Qe.length,ke=me>0&&YRe({files:Qe,accept:L,minSize:o,maxSize:i,multiple:s,maxFiles:l,validator:M}),Ye=me>0&&!ke;te({isDragAccept:ke,isDragReject:Ye,isDragActive:!0,type:"setDraggedFiles"}),u&&u(Pe)}}).catch(function(Qe){return de(Qe)})},[a,u,de,A,L,o,i,s,l,M]),ue=T.useCallback(function(Pe){Pe.preventDefault(),Pe.persist(),Ke(Pe);var Qe=L1(Pe);if(Qe&&Pe.dataTransfer)try{Pe.dataTransfer.dropEffect="copy"}catch{}return Qe&&h&&h(Pe),!1},[h,A]),Ne=T.useCallback(function(Pe){Pe.preventDefault(),Pe.persist(),Ke(Pe);var Qe=ne.current.filter(function(ke){return V.current&&V.current.contains(ke)}),me=Qe.indexOf(Pe.target);me!==-1&&Qe.splice(me,1),ne.current=Qe,!(Qe.length>0)&&(te({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),L1(Pe)&&d&&d(Pe))},[V,d,A]),pe=T.useCallback(function(Pe,Qe){var me=[],ke=[];Pe.forEach(function(Ye){var pt=ite(Ye,L),St=Bx(pt,2),gr=St[0],Sr=St[1],ar=ote(Ye,o,i),Nt=Bx(ar,2),br=Nt[0],Fe=Nt[1],$e=M?M(Ye):null;if(gr&&br&&!$e)me.push(Ye);else{var ct=[Sr,Fe];$e&&(ct=ct.concat($e)),ke.push({file:Ye,errors:ct.filter(function(vt){return vt})})}}),(!s&&me.length>1||s&&l>=1&&me.length>l)&&(me.forEach(function(Ye){ke.push({file:Ye,errors:[KRe]})}),me.splice(0)),te({acceptedFiles:me,fileRejections:ke,isDragReject:ke.length>0,type:"setFiles"}),f&&f(me,ke,Qe),ke.length>0&&b&&b(ke,Qe),me.length>0&&m&&m(me,Qe)},[te,s,L,o,i,l,f,m,b,M]),Le=T.useCallback(function(Pe){Pe.preventDefault(),Pe.persist(),Ke(Pe),ne.current=[],L1(Pe)&&Promise.resolve(a(Pe)).then(function(Qe){py(Pe)&&!A||pe(Qe,Pe)}).catch(function(Qe){return de(Qe)}),te({type:"reset"})},[a,pe,de,A]),Me=T.useCallback(function(){if(K.current){te({type:"openDialog"}),j();var Pe={multiple:s,types:U};window.showOpenFilePicker(Pe).then(function(Qe){return a(Qe)}).then(function(Qe){pe(Qe,null),te({type:"closeDialog"})}).catch(function(Qe){r5e(Qe)?(z(Qe),te({type:"closeDialog"})):n5e(Qe)?(K.current=!1,X.current?(X.current.value=null,X.current.click()):de(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):de(Qe)});return}X.current&&(te({type:"openDialog"}),j(),X.current.value=null,X.current.click())},[te,j,z,x,pe,de,U,s]),Ee=T.useCallback(function(Pe){!V.current||!V.current.isEqualNode(Pe.target)||(Pe.key===" "||Pe.key==="Enter"||Pe.keyCode===32||Pe.keyCode===13)&&(Pe.preventDefault(),Me())},[V,Me]),Te=T.useCallback(function(){te({type:"focus"})},[]),Re=T.useCallback(function(){te({type:"blur"})},[]),fe=T.useCallback(function(){_||(ZRe()?setTimeout(Me,0):Me())},[_,Me]),Ze=function(Qe){return n?null:Qe},yt=function(Qe){return D?null:Ze(Qe)},qe=function(Qe){return w?null:Ze(Qe)},Ke=function(Qe){A&&Qe.stopPropagation()},xe=T.useMemo(function(){return function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Pe.refKey,me=Qe===void 0?"ref":Qe,ke=Pe.role,Ye=Pe.onKeyDown,pt=Pe.onFocus,St=Pe.onBlur,gr=Pe.onClick,Sr=Pe.onDragEnter,ar=Pe.onDragOver,Nt=Pe.onDragLeave,br=Pe.onDrop,Fe=fy(Pe,o5e);return pn(pn(gD({onKeyDown:yt($o(Ye,Ee)),onFocus:yt($o(pt,Te)),onBlur:yt($o(St,Re)),onClick:Ze($o(gr,fe)),onDragEnter:qe($o(Sr,ie)),onDragOver:qe($o(ar,ue)),onDragLeave:qe($o(Nt,Ne)),onDrop:qe($o(br,Le)),role:typeof ke=="string"&&ke!==""?ke:"presentation"},me,V),!n&&!D?{tabIndex:0}:{}),Fe)}},[V,Ee,Te,Re,fe,ie,ue,Ne,Le,D,w,n]),Yt=T.useCallback(function(Pe){Pe.stopPropagation()},[]),nr=T.useMemo(function(){return function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Pe.refKey,me=Qe===void 0?"ref":Qe,ke=Pe.onChange,Ye=Pe.onClick,pt=fy(Pe,s5e),St=gD({accept:L,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Ze($o(ke,Le)),onClick:Ze($o(Ye,Yt)),tabIndex:-1},me,X);return pn(pn({},St),pt)}},[X,r,s,Le,n]);return pn(pn({},B),{},{isFocused:P&&!n,getRootProps:xe,getInputProps:nr,rootRef:V,inputRef:X,open:Ze(Me)})}function b5e(e,t){switch(t.type){case"focus":return pn(pn({},e),{},{isFocused:!0});case"blur":return pn(pn({},e),{},{isFocused:!1});case"openDialog":return pn(pn({},bD),{},{isFileDialogActive:!0});case"closeDialog":return pn(pn({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return pn(pn({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return pn(pn({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return pn({},bD);default:return e}}function DB(){}function yD(e,t={}){const{decimals:r=0,sizeType:n="normal"}=t,a=["Bytes","KB","MB","GB","TB"],i=["Bytes","KiB","MiB","GiB","TiB"];if(e===0)return"0 Byte";const o=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,o)).toFixed(r)} ${n==="accurate"?i[o]??"Bytes":a[o]??"Bytes"}`}function y5e(e){const{t}=Er(),{value:r,onValueChange:n,onUpload:a,onReject:i,progresses:o,fileErrors:s,accept:l=l1e,maxSize:u=1024*1024*200,maxFileCount:d=1,multiple:h=!1,disabled:f=!1,description:m,className:b,...y}=e,[F,x]=cl({prop:r,onChange:n}),E=T.useCallback((D,w)=>{const A=((F==null?void 0:F.length)??0)+D.length+w.length;if(!h&&d===1&&D.length+w.length>1){lr.error(t("documentPanel.uploadDocuments.fileUploader.singleFileLimit"));return}if(A>d){lr.error(t("documentPanel.uploadDocuments.fileUploader.maxFilesLimit",{count:d}));return}w.length>0&&(i?i(w):w.forEach(({file:j})=>{lr.error(t("documentPanel.uploadDocuments.fileUploader.fileRejected",{name:j.name}))}));const I=D.map(j=>Object.assign(j,{preview:URL.createObjectURL(j)})),M=w.map(({file:j})=>Object.assign(j,{preview:URL.createObjectURL(j),rejected:!0})),L=[...I,...M],U=F?[...F,...L]:L;if(x(U),a&&D.length>0){const j=D.filter(z=>{var W;if(!z.name)return!1;const V=`.${((W=z.name.split(".").pop())==null?void 0:W.toLowerCase())||""}`,X=Object.entries(l||{}).some(([B,te])=>z.type===B||Array.isArray(te)&&te.includes(V)),q=z.size<=u;return X&&q});j.length>0&&a(j)}},[F,d,h,a,i,x,t,l,u]);function C(D){if(!F)return;const w=F.filter((A,I)=>I!==D);x(w),n==null||n(w)}T.useEffect(()=>()=>{F&&F.forEach(D=>{dte(D)&&URL.revokeObjectURL(D.preview)})},[]);const _=f||((F==null?void 0:F.length)??0)>=d;return S.jsxs("div",{className:"relative flex flex-col gap-6 overflow-hidden",children:[S.jsx(a2,{onDrop:E,noClick:!1,noKeyboard:!1,maxSize:u,maxFiles:d,multiple:d>1||h,disabled:_,validator:D=>{var I;if(!D.name)return{code:"invalid-file-name",message:t("documentPanel.uploadDocuments.fileUploader.invalidFileName",{fallback:"Invalid file name"})};const w=`.${((I=D.name.split(".").pop())==null?void 0:I.toLowerCase())||""}`;return Object.entries(l||{}).some(([M,L])=>D.type===M||Array.isArray(L)&&L.includes(w))?D.size>u?{code:"file-too-large",message:t("documentPanel.uploadDocuments.fileUploader.fileTooLarge",{maxSize:yD(u)})}:null:{code:"file-invalid-type",message:t("documentPanel.uploadDocuments.fileUploader.unsupportedType")}},children:({getRootProps:D,getInputProps:w,isDragActive:A})=>S.jsxs("div",{...D(),className:ut("group border-muted-foreground/25 hover:bg-muted/25 relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition","ring-offset-background focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",A&&"border-muted-foreground/50",_&&"pointer-events-none opacity-60",b),...y,children:[S.jsx("input",{...w()}),A?S.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 sm:px-5",children:[S.jsx("div",{className:"rounded-full border border-dashed p-3",children:S.jsx(H_,{className:"text-muted-foreground size-7","aria-hidden":"true"})}),S.jsx("p",{className:"text-muted-foreground font-medium",children:t("documentPanel.uploadDocuments.fileUploader.dropHere")})]}):S.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 sm:px-5",children:[S.jsx("div",{className:"rounded-full border border-dashed p-3",children:S.jsx(H_,{className:"text-muted-foreground size-7","aria-hidden":"true"})}),S.jsxs("div",{className:"flex flex-col gap-px",children:[S.jsx("p",{className:"text-muted-foreground font-medium",children:t("documentPanel.uploadDocuments.fileUploader.dragAndDrop")}),m?S.jsx("p",{className:"text-muted-foreground/70 text-sm",children:m}):S.jsxs("p",{className:"text-muted-foreground/70 text-sm",children:[t("documentPanel.uploadDocuments.fileUploader.uploadDescription",{count:d,isMultiple:d===1/0,maxSize:yD(u)}),t("documentPanel.uploadDocuments.fileTypes")]})]})]})]})}),F!=null&&F.length?S.jsx(x5,{className:"h-fit w-full px-3",children:S.jsx("div",{className:"flex max-h-48 flex-col gap-4",children:F==null?void 0:F.map((D,w)=>S.jsx(v5e,{file:D,onRemove:()=>C(w),progress:o==null?void 0:o[D.name],error:s==null?void 0:s[D.name]},w))})}):null]})}function RB({value:e,error:t}){return S.jsx("div",{className:"relative h-2 w-full",children:S.jsx("div",{className:"h-full w-full overflow-hidden rounded-full bg-secondary",children:S.jsx("div",{className:ut("h-full transition-all",t?"bg-red-400":"bg-primary"),style:{width:`${e}%`}})})})}function v5e({file:e,progress:t,error:r,onRemove:n}){const{t:a}=Er();return S.jsxs("div",{className:"relative flex items-center gap-2.5",children:[S.jsxs("div",{className:"flex flex-1 gap-2.5",children:[r?S.jsx(SJ,{className:"text-red-400 size-10","aria-hidden":"true"}):dte(e)?S.jsx(F5e,{file:e}):null,S.jsxs("div",{className:"flex w-full flex-col gap-2",children:[S.jsxs("div",{className:"flex flex-col gap-px",children:[S.jsx("p",{className:"text-foreground/80 line-clamp-1 text-sm font-medium",children:e.name}),S.jsx("p",{className:"text-muted-foreground text-xs",children:yD(e.size)})]}),r?S.jsxs("div",{className:"text-red-400 text-sm",children:[S.jsx("div",{className:"relative mb-2",children:S.jsx(RB,{value:100,error:!0})}),S.jsx("p",{children:r})]}):t?S.jsx(RB,{value:t}):null]})]}),S.jsx("div",{className:"flex items-center gap-2",children:S.jsxs(Ot,{type:"button",variant:"outline",size:"icon",className:"size-7",onClick:n,children:[S.jsx(Hv,{className:"size-4","aria-hidden":"true"}),S.jsx("span",{className:"sr-only",children:a("documentPanel.uploadDocuments.fileUploader.removeFile")})]})})]})}function dte(e){return"preview"in e&&typeof e.preview=="string"}function F5e({file:e}){return e.type.startsWith("image/")?S.jsx("div",{className:"aspect-square shrink-0 rounded-md object-cover"}):S.jsx(SJ,{className:"text-muted-foreground size-10","aria-hidden":"true"})}function E5e({onDocumentsUploaded:e}){const{t}=Er(),[r,n]=T.useState(!1),[a,i]=T.useState(!1),[o,s]=T.useState({}),[l,u]=T.useState({}),d=T.useCallback(f=>{f.forEach(({file:m,errors:b})=>{var F;let y=((F=b[0])==null?void 0:F.message)||t("documentPanel.uploadDocuments.fileUploader.fileRejected",{name:m.name});y.includes("file-invalid-type")&&(y=t("documentPanel.uploadDocuments.fileUploader.unsupportedType")),s(x=>({...x,[m.name]:100})),u(x=>({...x,[m.name]:y}))})},[s,u,t]),h=T.useCallback(async f=>{var y,F;i(!0);let m=!1;u(x=>{const E={...x};return f.forEach(C=>{delete E[C.name]}),E});const b=lr.loading(t("documentPanel.uploadDocuments.batch.uploading"));try{const x={},E=new Intl.Collator(["zh-CN","en"],{sensitivity:"accent",numeric:!0}),C=[...f].sort((D,w)=>E.compare(D.name,w.name));for(const D of C)try{s(A=>({...A,[D.name]:0}));const w=await x1e(D,A=>{console.debug(t("documentPanel.uploadDocuments.single.uploading",{name:D.name,percent:A})),s(I=>({...I,[D.name]:A}))});w.status==="duplicated"?(x[D.name]=t("documentPanel.uploadDocuments.fileUploader.duplicateFile"),u(A=>({...A,[D.name]:t("documentPanel.uploadDocuments.fileUploader.duplicateFile")}))):w.status!=="success"?(x[D.name]=w.message,u(A=>({...A,[D.name]:w.message}))):m=!0}catch(w){console.error(`Upload failed for ${D.name}:`,w);let A=ka(w);if(w&&typeof w=="object"&&"response"in w){const I=w;((y=I.response)==null?void 0:y.status)===400&&(A=((F=I.response.data)==null?void 0:F.detail)||A),s(M=>({...M,[D.name]:100}))}x[D.name]=A,u(I=>({...I,[D.name]:A}))}Object.keys(x).length>0?lr.error(t("documentPanel.uploadDocuments.batch.error"),{id:b}):lr.success(t("documentPanel.uploadDocuments.batch.success"),{id:b}),m&&e&&e().catch(D=>{console.error("Error refreshing documents:",D)})}catch(x){console.error("Unexpected error during upload:",x),lr.error(t("documentPanel.uploadDocuments.generalError",{error:ka(x)}),{id:b})}finally{i(!1)}},[i,s,u,t,e]);return S.jsxs(rp,{open:r,onOpenChange:f=>{a||(f||(s({}),u({})),n(f))},children:[S.jsx(VR,{asChild:!0,children:S.jsxs(Ot,{variant:"default",side:"bottom",tooltip:t("documentPanel.uploadDocuments.tooltip"),size:"sm",children:[S.jsx(H_,{})," ",t("documentPanel.uploadDocuments.button")]})}),S.jsxs(qc,{className:"sm:max-w-xl",onCloseAutoFocus:f=>f.preventDefault(),children:[S.jsxs(Wc,{children:[S.jsx(Vc,{children:t("documentPanel.uploadDocuments.title")}),S.jsx(Kc,{children:t("documentPanel.uploadDocuments.description")})]}),S.jsx(y5e,{maxFileCount:1/0,maxSize:200*1024*1024,description:t("documentPanel.uploadDocuments.fileTypes"),onUpload:h,onReject:d,progresses:o,fileErrors:l,disabled:a})]})]})}const NB=({htmlFor:e,className:t,children:r,...n})=>S.jsx("label",{htmlFor:e,className:t,...n,children:r});function S5e({onDocumentsCleared:e}){const{t}=Er(),[r,n]=T.useState(!1),[a,i]=T.useState(""),[o,s]=T.useState(!1),[l,u]=T.useState(!1),d=T.useRef(null),h=a.toLowerCase()==="yes",f=3e4;T.useEffect(()=>{r||(i(""),s(!1),u(!1),d.current&&(clearTimeout(d.current),d.current=null))},[r]),T.useEffect(()=>()=>{d.current&&clearTimeout(d.current)},[]);const m=T.useCallback(async()=>{if(!(!h||l)){u(!0),d.current=setTimeout(()=>{l&&(lr.error(t("documentPanel.clearDocuments.timeout")),u(!1),i(""))},f);try{const b=await w1e();if(b.status!=="success"){lr.error(t("documentPanel.clearDocuments.failed",{message:b.message})),i("");return}if(lr.success(t("documentPanel.clearDocuments.success")),o)try{await k1e(),lr.success(t("documentPanel.clearDocuments.cacheCleared"))}catch(y){lr.error(t("documentPanel.clearDocuments.cacheClearFailed",{error:ka(y)}))}e&&e().catch(console.error),n(!1)}catch(b){lr.error(t("documentPanel.clearDocuments.error",{error:ka(b)})),i("")}finally{d.current&&(clearTimeout(d.current),d.current=null),u(!1)}}},[h,l,o,n,t,e,f]);return S.jsxs(rp,{open:r,onOpenChange:n,children:[S.jsx(VR,{asChild:!0,children:S.jsxs(Ot,{variant:"outline",side:"bottom",tooltip:t("documentPanel.clearDocuments.tooltip"),size:"sm",children:[S.jsx(EJ,{})," ",t("documentPanel.clearDocuments.button")]})}),S.jsxs(qc,{className:"sm:max-w-xl",onCloseAutoFocus:b=>b.preventDefault(),children:[S.jsxs(Wc,{children:[S.jsxs(Vc,{className:"flex items-center gap-2 text-red-500 dark:text-red-400 font-bold",children:[S.jsx(qR,{className:"h-5 w-5"}),t("documentPanel.clearDocuments.title")]}),S.jsx(Kc,{className:"pt-2",children:t("documentPanel.clearDocuments.description")})]}),S.jsx("div",{className:"text-red-500 dark:text-red-400 font-semibold mb-4",children:t("documentPanel.clearDocuments.warning")}),S.jsx("div",{className:"mb-4",children:t("documentPanel.clearDocuments.confirm")}),S.jsxs("div",{className:"space-y-4",children:[S.jsxs("div",{className:"space-y-2",children:[S.jsx(NB,{htmlFor:"confirm-text",className:"text-sm font-medium",children:t("documentPanel.clearDocuments.confirmPrompt")}),S.jsx(ea,{id:"confirm-text",value:a,onChange:b=>i(b.target.value),placeholder:t("documentPanel.clearDocuments.confirmPlaceholder"),className:"w-full",disabled:l})]}),S.jsxs("div",{className:"flex items-center space-x-2",children:[S.jsx(iu,{id:"clear-cache",checked:o,onCheckedChange:b=>s(b===!0),disabled:l}),S.jsx(NB,{htmlFor:"clear-cache",className:"text-sm font-medium cursor-pointer",children:t("documentPanel.clearDocuments.clearCache")})]})]}),S.jsxs(Uv,{children:[S.jsx(Ot,{variant:"outline",onClick:()=>n(!1),disabled:l,children:t("common.cancel")}),S.jsx(Ot,{variant:"destructive",onClick:m,disabled:!h||l,children:l?S.jsxs(S.Fragment,{children:[S.jsx(jR,{className:"mr-2 h-4 w-4 animate-spin"}),t("documentPanel.clearDocuments.clearing")]}):t("documentPanel.clearDocuments.confirmButton")})]})]})]})}const LB=({htmlFor:e,className:t,children:r,...n})=>S.jsx("label",{htmlFor:e,className:t,...n,children:r});function x5e({selectedDocIds:e,onDocumentsDeleted:t}){const{t:r}=Er(),[n,a]=T.useState(!1),[i,o]=T.useState(""),[s,l]=T.useState(!1),[u,d]=T.useState(!1),h=i.toLowerCase()==="yes"&&!u;T.useEffect(()=>{n||(o(""),l(!1),d(!1))},[n]);const f=T.useCallback(async()=>{if(!(!h||e.length===0)){d(!0);try{const m=await C1e(e,s);if(m.status==="deletion_started")lr.success(r("documentPanel.deleteDocuments.success",{count:e.length}));else if(m.status==="busy"){lr.error(r("documentPanel.deleteDocuments.busy")),o(""),d(!1);return}else if(m.status==="not_allowed"){lr.error(r("documentPanel.deleteDocuments.notAllowed")),o(""),d(!1);return}else{lr.error(r("documentPanel.deleteDocuments.failed",{message:m.message})),o(""),d(!1);return}t&&t().catch(console.error),a(!1)}catch(m){lr.error(r("documentPanel.deleteDocuments.error",{error:ka(m)})),o("")}finally{d(!1)}}},[h,e,s,a,r,t]);return S.jsxs(rp,{open:n,onOpenChange:a,children:[S.jsx(VR,{asChild:!0,children:S.jsxs(Ot,{variant:"destructive",side:"bottom",tooltip:r("documentPanel.deleteDocuments.tooltip",{count:e.length}),size:"sm",children:[S.jsx(nEe,{})," ",r("documentPanel.deleteDocuments.button")]})}),S.jsxs(qc,{className:"sm:max-w-xl",onCloseAutoFocus:m=>m.preventDefault(),children:[S.jsxs(Wc,{children:[S.jsxs(Vc,{className:"flex items-center gap-2 text-red-500 dark:text-red-400 font-bold",children:[S.jsx(qR,{className:"h-5 w-5"}),r("documentPanel.deleteDocuments.title")]}),S.jsx(Kc,{className:"pt-2",children:r("documentPanel.deleteDocuments.description",{count:e.length})})]}),S.jsx("div",{className:"text-red-500 dark:text-red-400 font-semibold mb-4",children:r("documentPanel.deleteDocuments.warning")}),S.jsx("div",{className:"mb-4",children:r("documentPanel.deleteDocuments.confirm",{count:e.length})}),S.jsxs("div",{className:"space-y-4",children:[S.jsxs("div",{className:"space-y-2",children:[S.jsx(LB,{htmlFor:"confirm-text",className:"text-sm font-medium",children:r("documentPanel.deleteDocuments.confirmPrompt")}),S.jsx(ea,{id:"confirm-text",value:i,onChange:m=>o(m.target.value),placeholder:r("documentPanel.deleteDocuments.confirmPlaceholder"),className:"w-full",disabled:u})]}),S.jsxs("div",{className:"flex items-center space-x-2",children:[S.jsx("input",{type:"checkbox",id:"delete-file",checked:s,onChange:m=>l(m.target.checked),disabled:u,className:"h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300 rounded"}),S.jsx(LB,{htmlFor:"delete-file",className:"text-sm font-medium cursor-pointer",children:r("documentPanel.deleteDocuments.deleteFileOption")})]})]}),S.jsxs(Uv,{children:[S.jsx(Ot,{variant:"outline",onClick:()=>a(!1),disabled:u,children:r("common.cancel")}),S.jsx(Ot,{variant:"destructive",onClick:f,disabled:!h,children:r(u?"documentPanel.deleteDocuments.deleting":"documentPanel.deleteDocuments.confirmButton")})]})]})]})}const MB=[{value:10,label:"10"},{value:20,label:"20"},{value:50,label:"50"},{value:100,label:"100"},{value:200,label:"200"}];function w5e({currentPage:e,totalPages:t,pageSize:r,totalCount:n,onPageChange:a,onPageSizeChange:i,isLoading:o=!1,compact:s=!1,className:l}){const{t:u}=Er(),[d,h]=T.useState(e.toString());T.useEffect(()=>{h(e.toString())},[e]);const f=T.useCallback(_=>{h(_)},[]),m=T.useCallback(()=>{const _=parseInt(d,10);!isNaN(_)&&_>=1&&_<=t?a(_):h(e.toString())},[d,t,a,e]),b=T.useCallback(_=>{_.key==="Enter"&&m()},[m]),y=T.useCallback(_=>{const D=parseInt(_,10);isNaN(D)||i(D)},[i]),F=T.useCallback(()=>{e>1&&!o&&a(1)},[e,a,o]),x=T.useCallback(()=>{e>1&&!o&&a(e-1)},[e,a,o]),E=T.useCallback(()=>{e<t&&!o&&a(e+1)},[e,t,a,o]),C=T.useCallback(()=>{e<t&&!o&&a(t)},[e,t,a,o]);return t<=1?null:s?S.jsxs("div",{className:ut("flex items-center gap-2",l),children:[S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(Ot,{variant:"outline",size:"sm",onClick:x,disabled:e<=1||o,className:"h-8 w-8 p-0",children:S.jsx(EO,{className:"h-4 w-4"})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{type:"text",value:d,onChange:_=>f(_.target.value),onBlur:m,onKeyPress:b,disabled:o,className:"h-8 w-12 text-center text-sm"}),S.jsxs("span",{className:"text-sm text-gray-500",children:["/ ",t]})]}),S.jsx(Ot,{variant:"outline",size:"sm",onClick:E,disabled:e>=t||o,className:"h-8 w-8 p-0",children:S.jsx(SO,{className:"h-4 w-4"})})]}),S.jsxs(kh,{value:r.toString(),onValueChange:y,disabled:o,children:[S.jsx(Ac,{className:"h-8 w-16",children:S.jsx(Ch,{})}),S.jsx(_c,{children:MB.map(_=>S.jsx(Ln,{value:_.value.toString(),children:_.label},_.value))})]})]}):S.jsxs("div",{className:ut("flex items-center justify-between gap-4",l),children:[S.jsx("div",{className:"text-sm text-gray-500",children:u("pagination.showing",{start:Math.min((e-1)*r+1,n),end:Math.min(e*r,n),total:n})}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(Ot,{variant:"outline",size:"sm",onClick:F,disabled:e<=1||o,className:"h-8 w-8 p-0",tooltip:u("pagination.firstPage"),children:S.jsx(sFe,{className:"h-4 w-4"})}),S.jsx(Ot,{variant:"outline",size:"sm",onClick:x,disabled:e<=1||o,className:"h-8 w-8 p-0",tooltip:u("pagination.prevPage"),children:S.jsx(EO,{className:"h-4 w-4"})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx("span",{className:"text-sm",children:u("pagination.page")}),S.jsx(ea,{type:"text",value:d,onChange:_=>f(_.target.value),onBlur:m,onKeyPress:b,disabled:o,className:"h-8 w-16 text-center text-sm"}),S.jsxs("span",{className:"text-sm",children:["/ ",t]})]}),S.jsx(Ot,{variant:"outline",size:"sm",onClick:E,disabled:e>=t||o,className:"h-8 w-8 p-0",tooltip:u("pagination.nextPage"),children:S.jsx(SO,{className:"h-4 w-4"})}),S.jsx(Ot,{variant:"outline",size:"sm",onClick:C,disabled:e>=t||o,className:"h-8 w-8 p-0",tooltip:u("pagination.lastPage"),children:S.jsx(uFe,{className:"h-4 w-4"})})]}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("span",{className:"text-sm",children:u("pagination.pageSize")}),S.jsxs(kh,{value:r.toString(),onValueChange:y,disabled:o,children:[S.jsx(Ac,{className:"h-8 w-16",children:S.jsx(Ch,{})}),S.jsx(_c,{children:MB.map(_=>S.jsx(Ln,{value:_.value.toString(),children:_.label},_.value))})]})]})]})]})}function k5e({open:e,onOpenChange:t}){var h;const{t:r}=Er(),[n,a]=T.useState(null),[i,o]=T.useState("center"),[s,l]=T.useState(!1),u=T.useRef(null);T.useEffect(()=>{e&&(o("center"),l(!1))},[e]),T.useEffect(()=>{const f=u.current;!f||s||(f.scrollTop=f.scrollHeight)},[n==null?void 0:n.history_messages,s]);const d=()=>{const f=u.current;if(!f)return;const m=Math.abs(f.scrollHeight-f.scrollTop-f.clientHeight)<1;l(!m)};return T.useEffect(()=>{if(!e)return;const f=async()=>{try{const b=await T1e();a(b)}catch(b){lr.error(r("documentPanel.pipelineStatus.errors.fetchFailed",{error:ka(b)}))}};f();const m=setInterval(f,2e3);return()=>clearInterval(m)},[e,r]),S.jsx(rp,{open:e,onOpenChange:t,children:S.jsxs(qc,{className:ut("sm:max-w-[800px] transition-all duration-200 fixed",i==="left"&&"!left-[25%] !translate-x-[-50%] !mx-4",i==="center"&&"!left-1/2 !-translate-x-1/2",i==="right"&&"!left-[75%] !translate-x-[-50%] !mx-4"),children:[S.jsx(Kc,{className:"sr-only",children:n!=null&&n.job_name?`${r("documentPanel.pipelineStatus.jobName")}: ${n.job_name}, ${r("documentPanel.pipelineStatus.progress")}: ${n.cur_batch}/${n.batchs}`:r("documentPanel.pipelineStatus.noActiveJob")}),S.jsxs(Wc,{className:"flex flex-row items-center",children:[S.jsx(Vc,{className:"flex-1",children:r("documentPanel.pipelineStatus.title")}),S.jsxs("div",{className:"flex items-center gap-2 mr-8",children:[S.jsx(Ot,{variant:"ghost",size:"icon",className:ut("h-6 w-6",i==="left"&&"bg-zinc-200 text-zinc-800 hover:bg-zinc-300 dark:bg-zinc-700 dark:text-zinc-200 dark:hover:bg-zinc-600"),onClick:()=>o("left"),children:S.jsx(V2e,{className:"h-4 w-4"})}),S.jsx(Ot,{variant:"ghost",size:"icon",className:ut("h-6 w-6",i==="center"&&"bg-zinc-200 text-zinc-800 hover:bg-zinc-300 dark:bg-zinc-700 dark:text-zinc-200 dark:hover:bg-zinc-600"),onClick:()=>o("center"),children:S.jsx(q2e,{className:"h-4 w-4"})}),S.jsx(Ot,{variant:"ghost",size:"icon",className:ut("h-6 w-6",i==="right"&&"bg-zinc-200 text-zinc-800 hover:bg-zinc-300 dark:bg-zinc-700 dark:text-zinc-200 dark:hover:bg-zinc-600"),onClick:()=>o("right"),children:S.jsx(Y2e,{className:"h-4 w-4"})})]})]}),S.jsxs("div",{className:"space-y-4 pt-4",children:[S.jsxs("div",{className:"flex items-center gap-4",children:[S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsxs("div",{className:"text-sm font-medium",children:[r("documentPanel.pipelineStatus.busy"),":"]}),S.jsx("div",{className:`h-2 w-2 rounded-full ${n!=null&&n.busy?"bg-green-500":"bg-gray-300"}`})]}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsxs("div",{className:"text-sm font-medium",children:[r("documentPanel.pipelineStatus.requestPending"),":"]}),S.jsx("div",{className:`h-2 w-2 rounded-full ${n!=null&&n.request_pending?"bg-green-500":"bg-gray-300"}`})]})]}),S.jsxs("div",{className:"rounded-md border p-3 space-y-2",children:[S.jsxs("div",{children:[r("documentPanel.pipelineStatus.jobName"),": ",(n==null?void 0:n.job_name)||"-"]}),S.jsxs("div",{className:"flex justify-between",children:[S.jsxs("span",{children:[r("documentPanel.pipelineStatus.startTime"),": ",n!=null&&n.job_start?new Date(n.job_start).toLocaleString(void 0,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}):"-"]}),S.jsxs("span",{children:[r("documentPanel.pipelineStatus.progress"),": ",n?`${n.cur_batch}/${n.batchs} ${r("documentPanel.pipelineStatus.unit")}`:"-"]})]})]}),S.jsxs("div",{className:"space-y-2",children:[S.jsxs("div",{className:"text-sm font-medium",children:[r("documentPanel.pipelineStatus.latestMessage"),":"]}),S.jsx("div",{className:"font-mono text-xs rounded-md bg-zinc-800 text-zinc-100 p-3 whitespace-pre-wrap break-words",children:(n==null?void 0:n.latest_message)||"-"})]}),S.jsxs("div",{className:"space-y-2",children:[S.jsxs("div",{className:"text-sm font-medium",children:[r("documentPanel.pipelineStatus.historyMessages"),":"]}),S.jsx("div",{ref:u,onScroll:d,className:"font-mono text-xs rounded-md bg-zinc-800 text-zinc-100 p-3 overflow-y-auto min-h-[7.5em] max-h-[40vh]",children:(h=n==null?void 0:n.history_messages)!=null&&h.length?n.history_messages.map((f,m)=>S.jsx("div",{className:"whitespace-pre-wrap break-words",children:f},m)):"-"})]})]})]})})}const Px=(e,t=20)=>{if(!e.file_path||typeof e.file_path!="string"||e.file_path.trim()==="")return e.id;const r=e.file_path.split("/"),n=r[r.length-1];return!n||n.trim()===""?e.id:n.length>t?n.slice(0,t)+"...":n},C5e=e=>{const t={...e};if(t.processing_start_time&&typeof t.processing_start_time=="number"){const a=new Date(t.processing_start_time*1e3);isNaN(a.getTime())||(t.processing_start_time=a.toLocaleString())}if(t.processing_end_time&&typeof t.processing_end_time=="number"){const a=new Date(t.processing_end_time*1e3);isNaN(a.getTime())||(t.processing_end_time=a.toLocaleString())}return JSON.stringify(t,null,2).split(`
|
||
`).slice(1,-1).map(a=>a.replace(/^ {2}/,"")).join(`
|
||
`)},T5e=`
|
||
/* Tooltip styles */
|
||
.tooltip-container {
|
||
position: relative;
|
||
overflow: visible !important;
|
||
}
|
||
|
||
.tooltip {
|
||
position: fixed; /* Use fixed positioning to escape overflow constraints */
|
||
z-index: 9999; /* Ensure tooltip appears above all other elements */
|
||
max-width: 600px;
|
||
white-space: normal;
|
||
word-break: break-word;
|
||
overflow-wrap: break-word;
|
||
border-radius: 0.375rem;
|
||
padding: 0.5rem 0.75rem;
|
||
font-size: 0.75rem; /* 12px */
|
||
background-color: rgba(0, 0, 0, 0.95);
|
||
color: white;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||
pointer-events: none; /* Prevent tooltip from interfering with mouse events */
|
||
opacity: 0;
|
||
visibility: hidden;
|
||
transition: opacity 0.15s, visibility 0.15s;
|
||
}
|
||
|
||
.tooltip.visible {
|
||
opacity: 1;
|
||
visibility: visible;
|
||
}
|
||
|
||
.dark .tooltip {
|
||
background-color: rgba(255, 255, 255, 0.95);
|
||
color: black;
|
||
}
|
||
|
||
.tooltip pre {
|
||
white-space: pre-wrap;
|
||
word-break: break-word;
|
||
overflow-wrap: break-word;
|
||
}
|
||
|
||
/* Position tooltip helper class */
|
||
.tooltip-helper {
|
||
position: absolute;
|
||
visibility: hidden;
|
||
pointer-events: none;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 0;
|
||
}
|
||
|
||
@keyframes pulse {
|
||
0% {
|
||
background-color: rgb(255 0 0 / 0.1);
|
||
border-color: rgb(255 0 0 / 0.2);
|
||
}
|
||
50% {
|
||
background-color: rgb(255 0 0 / 0.2);
|
||
border-color: rgb(255 0 0 / 0.4);
|
||
}
|
||
100% {
|
||
background-color: rgb(255 0 0 / 0.1);
|
||
border-color: rgb(255 0 0 / 0.2);
|
||
}
|
||
}
|
||
|
||
.dark .pipeline-busy {
|
||
animation: dark-pulse 2s infinite;
|
||
}
|
||
|
||
@keyframes dark-pulse {
|
||
0% {
|
||
background-color: rgb(255 0 0 / 0.2);
|
||
border-color: rgb(255 0 0 / 0.4);
|
||
}
|
||
50% {
|
||
background-color: rgb(255 0 0 / 0.3);
|
||
border-color: rgb(255 0 0 / 0.6);
|
||
}
|
||
100% {
|
||
background-color: rgb(255 0 0 / 0.2);
|
||
border-color: rgb(255 0 0 / 0.4);
|
||
}
|
||
}
|
||
|
||
.pipeline-busy {
|
||
animation: pulse 2s infinite;
|
||
border: 1px solid;
|
||
}
|
||
`;function A5e(){const e=T.useRef(!0);T.useEffect(()=>{e.current=!0;const Fe=()=>{e.current=!1};return window.addEventListener("beforeunload",Fe),()=>{e.current=!1,window.removeEventListener("beforeunload",Fe)}},[]);const[t,r]=T.useState(!1),{t:n,i18n:a}=Er(),i=Mn.use.health(),o=Mn.use.pipelineBusy(),[s,l]=T.useState(null),u=rt.use.currentTab(),d=rt.use.showFileName(),h=rt.use.setShowFileName(),f=rt.use.documentsPageSize(),m=rt.use.setDocumentsPageSize(),[b,y]=T.useState([]),[F,x]=T.useState({page:1,page_size:f,total_count:0,total_pages:0,has_next:!1,has_prev:!1}),[E,C]=T.useState({all:0}),[_,D]=T.useState(!1),[w,A]=T.useState("updated_at"),[I,M]=T.useState("desc"),[L,U]=T.useState("all"),[j,z]=T.useState({all:1,processed:1,processing:1,pending:1,failed:1}),[V,X]=T.useState([]),q=V.length>0,W=T.useRef(void 0),B=T.useRef(null),[te,P]=T.useState({count:0,lastError:null,isBackingOff:!1}),[Z,K]=T.useState({isOpen:!1,failureCount:0,lastFailureTime:null,nextRetryTime:null}),G=T.useCallback((Fe,$e)=>{X(ct=>$e?[...ct,Fe]:ct.filter(vt=>vt!==Fe))},[]),ne=T.useCallback(()=>{X([])},[]),oe=Fe=>{let $e=Fe;Fe==="id"&&($e=d?"file_path":"id");const ct=w===$e&&I==="desc"?"asc":"desc";A($e),M(ct),x(vt=>({...vt,page:1})),z({all:1,processed:1,processing:1,pending:1,failed:1})},de=T.useCallback(Fe=>[...Fe].sort(($e,ct)=>{let vt,Lt;w==="id"&&d?(vt=Px($e),Lt=Px(ct)):w==="id"?(vt=$e.id,Lt=ct.id):(vt=new Date($e[w]).getTime(),Lt=new Date(ct[w]).getTime());const fr=I==="asc"?1:-1;return typeof vt=="string"&&typeof Lt=="string"?fr*vt.localeCompare(Lt):fr*(vt>Lt?1:vt<Lt?-1:0)}),[w,I,d]),ie=T.useMemo(()=>{if(b&&b.length>0)return b.map($e=>({...$e,status:$e.status}));if(!s)return null;const Fe=[];return L==="all"?Object.entries(s.statuses).forEach(([$e,ct])=>{ct.forEach(vt=>{Fe.push({...vt,status:$e})})}):(s.statuses[L]||[]).forEach(ct=>{Fe.push({...ct,status:L})}),w&&I?de(Fe):Fe},[b,s,w,I,L,de]),ue=T.useMemo(()=>(ie==null?void 0:ie.map(Fe=>Fe.id))||[],[ie]),Ne=T.useMemo(()=>ue.filter(Fe=>V.includes(Fe)).length,[ue,V]),pe=T.useMemo(()=>ue.length>0&&Ne===ue.length,[ue,Ne]),Le=T.useMemo(()=>Ne>0,[Ne]),Me=T.useCallback(()=>{X(ue)},[ue]),Ee=T.useCallback(()=>Le?pe?{text:n("documentPanel.selectDocuments.deselectAll",{count:ue.length}),action:ne,icon:Hv}:{text:n("documentPanel.selectDocuments.selectCurrentPage",{count:ue.length}),action:Me,icon:kO}:{text:n("documentPanel.selectDocuments.selectCurrentPage",{count:ue.length}),action:Me,icon:kO},[Le,pe,ue.length,Me,ne,n]),Te=T.useMemo(()=>{if(!s)return{all:0};const Fe={all:0};return Object.entries(s.statuses).forEach(([$e,ct])=>{Fe[$e]=ct.length,Fe.all+=ct.length}),Fe},[s]),Re=T.useRef({processed:0,processing:0,pending:0,failed:0});T.useEffect(()=>{const Fe=document.createElement("style");return Fe.textContent=T5e,document.head.appendChild(Fe),()=>{document.head.removeChild(Fe)}},[]);const fe=T.useRef(null);T.useEffect(()=>{if(!s)return;const Fe=()=>{document.querySelectorAll(".tooltip-container").forEach(Lt=>{const fr=Lt.querySelector(".tooltip");if(!fr||!fr.classList.contains("visible"))return;const Pr=Lt.getBoundingClientRect();fr.style.left=`${Pr.left}px`,fr.style.top=`${Pr.top-5}px`,fr.style.transform="translateY(-100%)"})},$e=vt=>{const fr=vt.target.closest(".tooltip-container");if(!fr)return;const Pr=fr.querySelector(".tooltip");Pr&&(Pr.classList.add("visible"),Fe())},ct=vt=>{const fr=vt.target.closest(".tooltip-container");if(!fr)return;const Pr=fr.querySelector(".tooltip");Pr&&Pr.classList.remove("visible")};return document.addEventListener("mouseover",$e),document.addEventListener("mouseout",ct),()=>{document.removeEventListener("mouseover",$e),document.removeEventListener("mouseout",ct)}},[s]);const Ze=T.useCallback(Fe=>{x(Fe.pagination),y(Fe.documents),C(Fe.status_counts);const $e={statuses:{processed:Fe.documents.filter(ct=>ct.status==="processed"),processing:Fe.documents.filter(ct=>ct.status==="processing"),pending:Fe.documents.filter(ct=>ct.status==="pending"),failed:Fe.documents.filter(ct=>ct.status==="failed")}};l(Fe.pagination.total_count>0?$e:null)},[]),yt=T.useCallback((Fe,$e=3e4,ct="Request timeout")=>{const vt=new Promise((Lt,fr)=>{setTimeout(()=>fr(new Error(ct)),$e)});return Promise.race([Fe,vt])},[]),qe=T.useCallback(Fe=>{var $e;return Fe.name==="AbortError"?{type:"cancelled",shouldRetry:!1,shouldShowToast:!1}:Fe.message==="Request timeout"?{type:"timeout",shouldRetry:!0,shouldShowToast:!0}:($e=Fe.message)!=null&&$e.includes("Network Error")||Fe.code==="NETWORK_ERROR"?{type:"network",shouldRetry:!0,shouldShowToast:!0}:Fe.status>=500?{type:"server",shouldRetry:!0,shouldShowToast:!0}:Fe.status>=400&&Fe.status<500?{type:"client",shouldRetry:!1,shouldShowToast:!0}:{type:"unknown",shouldRetry:!0,shouldShowToast:!0}},[]),Ke=T.useCallback(()=>{if(!Z.isOpen)return!1;const Fe=Date.now();return Z.nextRetryTime&&Fe>=Z.nextRetryTime?(K($e=>({...$e,isOpen:!1,failureCount:Math.max(0,$e.failureCount-1)})),!1):!0},[Z]),xe=T.useCallback(Fe=>{const $e=Date.now();K(ct=>{const vt=ct.failureCount+1,Lt=vt>=3;return{isOpen:Lt,failureCount:vt,lastFailureTime:$e,nextRetryTime:Lt?$e+Math.pow(2,vt)*1e3:null}}),P(ct=>({count:ct.count+1,lastError:Fe,isBackingOff:!0}))},[]),Yt=T.useCallback(()=>{K({isOpen:!1,failureCount:0,lastFailureTime:null,nextRetryTime:null}),P({count:0,lastError:null,isBackingOff:!1})},[]),nr=T.useCallback(async(Fe,$e)=>{try{if(!e.current)return;D(!0);const ct=$e?1:Fe||F.page,vt={status_filter:L==="all"?null:L,page:ct,page_size:F.page_size,sort_field:w,sort_direction:I},Lt=await yt(xS(vt),3e4,"Document fetch timeout");if(!e.current)return;if(Lt.documents.length===0&&Lt.pagination.total_count>0){const fr=Math.max(1,Lt.pagination.total_pages);if(ct!==fr){const Pr={...vt,page:fr},Jr=await yt(xS(Pr),3e4,"Document fetch timeout");if(!e.current)return;z(ba=>({...ba,[L]:fr})),Ze(Jr);return}}ct!==F.page&&z(fr=>({...fr,[L]:ct})),Ze(Lt)}catch(ct){if(e.current){const vt=qe(ct);vt.shouldShowToast&&lr.error(n("documentPanel.documentManager.errors.loadFailed",{error:ka(ct)})),vt.shouldRetry&&xe(ct)}}finally{e.current&&D(!1)}},[L,F.page,F.page_size,w,I,n,Ze,yt,qe,xe]),Pe=T.useCallback(async(Fe,$e,ct)=>{x(vt=>({...vt,page:Fe,page_size:$e})),await nr(Fe)},[nr]),Qe=T.useCallback(async()=>{await Pe(F.page,F.page_size,L)},[Pe,F.page,F.page_size,L]),me=T.useCallback(()=>{B.current&&(clearInterval(B.current),B.current=null)},[]),ke=T.useCallback(Fe=>{me(),B.current=setInterval(async()=>{try{if(Ke())return;e.current&&(await Qe(),Yt())}catch($e){if(e.current){const ct=qe($e);if(D(!1),ct.shouldShowToast&&lr.error(n("documentPanel.documentManager.errors.scanProgressFailed",{error:ka($e)})),ct.shouldRetry){xe($e);const vt=Math.min(Math.pow(2,te.count)*1e3,3e4);te.count<3&&setTimeout(()=>{e.current&&P(Lt=>({...Lt,isBackingOff:!1}))},vt)}else me()}}},Fe)},[Qe,n,me,Ke,Yt,xe,qe,te.count]),Ye=T.useCallback(async()=>{try{if(!e.current)return;const{status:Fe,message:$e,track_id:ct}=await v1e();if(!e.current)return;lr.message($e||Fe),Mn.getState().resetHealthCheckTimerDelayed(1e3),ke(2e3),setTimeout(()=>{if(e.current&&u==="documents"&&i){const Lt=(E.processing||0)>0||(E.pending||0)>0?5e3:3e4;ke(Lt)}},15e3)}catch(Fe){e.current&&lr.error(n("documentPanel.documentManager.errors.scanFailed",{error:ka(Fe)}))}},[n,ke,u,i,E]),pt=T.useCallback(async()=>{try{if(!e.current)return;const{status:Fe,message:$e,track_id:ct}=await F1e();if(!e.current)return;lr.message($e||Fe),Mn.getState().resetHealthCheckTimerDelayed(1e3),ke(2e3),setTimeout(()=>{if(e.current&&u==="documents"&&i){const Lt=(E.processing||0)>0||(E.pending||0)>0?5e3:3e4;ke(Lt)}},15e3)}catch(Fe){e.current&&lr.error(ka(Fe))}},[ke,u,i,E]),St=T.useCallback(Fe=>{Fe!==F.page_size&&(m(Fe),z({all:1,processed:1,processing:1,pending:1,failed:1}),x($e=>({...$e,page:1,page_size:Fe})))},[F.page_size,m]),gr=T.useCallback(async()=>{try{D(!0);const Fe={status_filter:L==="all"?null:L,page:1,page_size:F.page_size,sort_field:w,sort_direction:I},$e=await xS(Fe);if(!e.current)return;if($e.pagination.total_count<F.page_size&&F.page_size!==10)St(10);else{x($e.pagination),y($e.documents),C($e.status_counts);const ct={statuses:{processed:$e.documents.filter(vt=>vt.status==="processed"),processing:$e.documents.filter(vt=>vt.status==="processing"),pending:$e.documents.filter(vt=>vt.status==="pending"),failed:$e.documents.filter(vt=>vt.status==="failed")}};$e.pagination.total_count>0?l(ct):l(null)}}catch(Fe){e.current&&lr.error(n("documentPanel.documentManager.errors.loadFailed",{error:ka(Fe)}))}finally{e.current&&D(!1)}},[L,F.page_size,w,I,St,n]);T.useEffect(()=>{if(W.current!==void 0&&W.current!==o&&u==="documents"&&i&&e.current){nr();const $e=(E.processing||0)>0||(E.pending||0)>0?5e3:3e4;ke($e)}W.current=o},[o,u,i,nr,E.processing,E.pending,ke]),T.useEffect(()=>{if(u!=="documents"||!i){me();return}const $e=(E.processing||0)>0||(E.pending||0)>0?5e3:3e4;return ke($e),()=>{me()}},[i,n,u,E,ke,me]),T.useEffect(()=>{var ct,vt,Lt,fr,Pr,Jr,ba,ft;if(!s)return;const Fe={processed:((vt=(ct=s==null?void 0:s.statuses)==null?void 0:ct.processed)==null?void 0:vt.length)||0,processing:((fr=(Lt=s==null?void 0:s.statuses)==null?void 0:Lt.processing)==null?void 0:fr.length)||0,pending:((Jr=(Pr=s==null?void 0:s.statuses)==null?void 0:Pr.pending)==null?void 0:Jr.length)||0,failed:((ft=(ba=s==null?void 0:s.statuses)==null?void 0:ba.failed)==null?void 0:ft.length)||0};Object.keys(Fe).some(or=>Fe[or]!==Re.current[or])&&e.current&&Mn.getState().check(),Re.current=Fe},[s]);const Sr=T.useCallback(Fe=>{Fe!==F.page&&(z($e=>({...$e,[L]:Fe})),x($e=>({...$e,page:Fe})))},[F.page,L]),ar=T.useCallback(Fe=>{if(Fe===L)return;z(ct=>({...ct,[L]:F.page}));const $e=j[Fe];U(Fe),x(ct=>({...ct,page:$e}))},[L,F.page,j]),Nt=T.useCallback(async()=>{X([]),Mn.getState().resetHealthCheckTimerDelayed(1e3),ke(2e3)},[ke]),br=T.useCallback(async()=>{if(me(),C({all:0,processed:0,processing:0,pending:0,failed:0}),e.current)try{await Qe()}catch(Fe){console.error("Error fetching documents after clear:",Fe)}u==="documents"&&i&&e.current&&ke(3e4)},[me,C,Qe,u,i,ke]);return T.useEffect(()=>{if(w==="id"||w==="file_path"){const Fe=d?"file_path":"id";w!==Fe&&A(Fe)}},[d,w]),T.useEffect(()=>{X([])},[F.page,L,w,I]),T.useEffect(()=>{u==="documents"&&Pe(F.page,F.page_size,L)},[u,F.page,F.page_size,L,w,I,Pe]),S.jsxs(Nc,{className:"!rounded-none !overflow-hidden flex flex-col h-full min-h-0",children:[S.jsx(Nm,{className:"py-2 px-6",children:S.jsx(Lm,{className:"text-lg",children:n("documentPanel.documentManager.title")})}),S.jsxs(Mm,{className:"flex-1 flex flex-col min-h-0 overflow-auto",children:[S.jsxs("div",{className:"flex justify-between items-center gap-2 mb-2",children:[S.jsxs("div",{className:"flex gap-2",children:[S.jsxs(Ot,{variant:"outline",onClick:Ye,side:"bottom",tooltip:n("documentPanel.documentManager.scanTooltip"),size:"sm",children:[S.jsx(xJ,{})," ",n("documentPanel.documentManager.scanButton")]}),S.jsxs(Ot,{variant:"outline",onClick:pt,side:"bottom",tooltip:n("documentPanel.documentManager.retryFailedTooltip"),size:"sm",disabled:o,children:[S.jsx(ty,{})," ",n("documentPanel.documentManager.retryFailedButton")]}),S.jsxs(Ot,{variant:"outline",onClick:()=>r(!0),side:"bottom",tooltip:n("documentPanel.documentManager.pipelineStatusTooltip"),size:"sm",className:ut(o&&"pipeline-busy"),children:[S.jsx($2e,{})," ",n("documentPanel.documentManager.pipelineStatusButton")]})]}),F.total_pages>1&&S.jsx(w5e,{currentPage:F.page,totalPages:F.total_pages,pageSize:F.page_size,totalCount:F.total_count,onPageChange:Sr,onPageSizeChange:St,isLoading:_,compact:!0}),S.jsxs("div",{className:"flex gap-2",children:[q&&S.jsx(x5e,{selectedDocIds:V,onDocumentsDeleted:Nt}),q&&Le?(()=>{const Fe=Ee(),$e=Fe.icon;return S.jsxs(Ot,{variant:"outline",size:"sm",onClick:Fe.action,side:"bottom",tooltip:Fe.text,children:[S.jsx($e,{className:"h-4 w-4"}),Fe.text]})})():q?null:S.jsx(S5e,{onDocumentsCleared:br}),S.jsx(E5e,{onDocumentsUploaded:Qe}),S.jsx(k5e,{open:t,onOpenChange:r})]})]}),S.jsxs(Nc,{className:"flex-1 flex flex-col border rounded-md min-h-0 mb-2",children:[S.jsxs(Nm,{className:"flex-none py-2 px-4",children:[S.jsxs("div",{className:"flex justify-between items-center",children:[S.jsx(Lm,{children:n("documentPanel.documentManager.uploadedTitle")}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsxs("div",{className:"flex gap-1",dir:a.dir(),children:[S.jsxs(Ot,{size:"sm",variant:L==="all"?"secondary":"outline",onClick:()=>ar("all"),disabled:_,className:ut(L==="all"&&"bg-gray-100 dark:bg-gray-900 font-medium border border-gray-400 dark:border-gray-500 shadow-sm"),children:[n("documentPanel.documentManager.status.all")," (",E.all||Te.all,")"]}),S.jsxs(Ot,{size:"sm",variant:L==="processed"?"secondary":"outline",onClick:()=>ar("processed"),disabled:_,className:ut((E.PROCESSED||E.processed||Te.processed)>0?"text-green-600":"text-gray-500",L==="processed"&&"bg-green-100 dark:bg-green-900/30 font-medium border border-green-400 dark:border-green-600 shadow-sm"),children:[n("documentPanel.documentManager.status.completed")," (",E.PROCESSED||E.processed||0,")"]}),S.jsxs(Ot,{size:"sm",variant:L==="processing"?"secondary":"outline",onClick:()=>ar("processing"),disabled:_,className:ut((E.PROCESSING||E.processing||Te.processing)>0?"text-blue-600":"text-gray-500",L==="processing"&&"bg-blue-100 dark:bg-blue-900/30 font-medium border border-blue-400 dark:border-blue-600 shadow-sm"),children:[n("documentPanel.documentManager.status.processing")," (",E.PROCESSING||E.processing||0,")"]}),S.jsxs(Ot,{size:"sm",variant:L==="pending"?"secondary":"outline",onClick:()=>ar("pending"),disabled:_,className:ut((E.PENDING||E.pending||Te.pending)>0?"text-yellow-600":"text-gray-500",L==="pending"&&"bg-yellow-100 dark:bg-yellow-900/30 font-medium border border-yellow-400 dark:border-yellow-600 shadow-sm"),children:[n("documentPanel.documentManager.status.pending")," (",E.PENDING||E.pending||0,")"]}),S.jsxs(Ot,{size:"sm",variant:L==="failed"?"secondary":"outline",onClick:()=>ar("failed"),disabled:_,className:ut((E.FAILED||E.failed||Te.failed)>0?"text-red-600":"text-gray-500",L==="failed"&&"bg-red-100 dark:bg-red-900/30 font-medium border border-red-400 dark:border-red-600 shadow-sm"),children:[n("documentPanel.documentManager.status.failed")," (",E.FAILED||E.failed||0,")"]})]}),S.jsx(Ot,{variant:"ghost",size:"sm",onClick:gr,disabled:_,side:"bottom",tooltip:n("documentPanel.documentManager.refreshTooltip"),children:S.jsx(ty,{className:"h-4 w-4"})})]}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx("label",{htmlFor:"toggle-filename-btn",className:"text-sm text-gray-500",children:n("documentPanel.documentManager.fileNameLabel")}),S.jsx(Ot,{id:"toggle-filename-btn",variant:"outline",size:"sm",onClick:()=>h(!d),className:"border-gray-200 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-800",children:n(d?"documentPanel.documentManager.hideButton":"documentPanel.documentManager.showButton")})]})]}),S.jsx(t2,{"aria-hidden":"true",className:"hidden",children:n("documentPanel.documentManager.uploadedDescription")})]}),S.jsxs(Mm,{className:"flex-1 relative p-0",ref:fe,children:[!s&&S.jsx("div",{className:"absolute inset-0 p-0",children:S.jsx(bRe,{title:n("documentPanel.documentManager.emptyTitle"),description:n("documentPanel.documentManager.emptyDescription")})}),s&&S.jsx("div",{className:"absolute inset-0 flex flex-col p-0",children:S.jsx("div",{className:"absolute inset-[-1px] flex flex-col p-0 border rounded-md border-gray-200 dark:border-gray-700 overflow-hidden",children:S.jsxs(Zee,{className:"w-full",children:[S.jsx(Qee,{className:"sticky top-0 bg-background z-10 shadow-sm",children:S.jsxs(hD,{className:"border-b bg-card/95 backdrop-blur supports-[backdrop-filter]:bg-card/75 shadow-[inset_0_-1px_0_rgba(0,0,0,0.1)]",children:[S.jsx(qs,{onClick:()=>oe("id"),className:"cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-800 select-none",children:S.jsxs("div",{className:"flex items-center",children:[n(d?"documentPanel.documentManager.columns.fileName":"documentPanel.documentManager.columns.id"),(w==="id"&&!d||w==="file_path"&&d)&&S.jsx("span",{className:"ml-1",children:I==="asc"?S.jsx(MS,{size:14}):S.jsx(LS,{size:14})})]})}),S.jsx(qs,{children:n("documentPanel.documentManager.columns.summary")}),S.jsx(qs,{children:n("documentPanel.documentManager.columns.status")}),S.jsx(qs,{children:n("documentPanel.documentManager.columns.length")}),S.jsx(qs,{children:n("documentPanel.documentManager.columns.chunks")}),S.jsx(qs,{onClick:()=>oe("created_at"),className:"cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-800 select-none",children:S.jsxs("div",{className:"flex items-center",children:[n("documentPanel.documentManager.columns.created"),w==="created_at"&&S.jsx("span",{className:"ml-1",children:I==="asc"?S.jsx(MS,{size:14}):S.jsx(LS,{size:14})})]})}),S.jsx(qs,{onClick:()=>oe("updated_at"),className:"cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-800 select-none",children:S.jsxs("div",{className:"flex items-center",children:[n("documentPanel.documentManager.columns.updated"),w==="updated_at"&&S.jsx("span",{className:"ml-1",children:I==="asc"?S.jsx(MS,{size:14}):S.jsx(LS,{size:14})})]})}),S.jsx(qs,{className:"w-16 text-center",children:n("documentPanel.documentManager.columns.select")})]})}),S.jsx(ete,{className:"text-sm overflow-auto",children:ie&&ie.map(Fe=>S.jsxs(hD,{children:[S.jsx(Ws,{className:"truncate font-mono overflow-visible max-w-[250px]",children:d?S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:"group relative overflow-visible tooltip-container",children:[S.jsx("div",{className:"truncate",children:Px(Fe,30)}),S.jsx("div",{className:"invisible group-hover:visible tooltip",children:Fe.file_path})]}),S.jsx("div",{className:"text-xs text-gray-500",children:Fe.id})]}):S.jsxs("div",{className:"group relative overflow-visible tooltip-container",children:[S.jsx("div",{className:"truncate",children:Fe.id}),S.jsx("div",{className:"invisible group-hover:visible tooltip",children:Fe.file_path})]})}),S.jsx(Ws,{className:"max-w-xs min-w-45 truncate overflow-visible",children:S.jsxs("div",{className:"group relative overflow-visible tooltip-container",children:[S.jsx("div",{className:"truncate",children:Fe.content_summary}),S.jsx("div",{className:"invisible group-hover:visible tooltip",children:Fe.content_summary})]})}),S.jsx(Ws,{children:S.jsxs("div",{className:"group relative flex items-center overflow-visible tooltip-container",children:[Fe.status==="processed"&&S.jsx("span",{className:"text-green-600",children:n("documentPanel.documentManager.status.completed")}),Fe.status==="processing"&&S.jsx("span",{className:"text-blue-600",children:n("documentPanel.documentManager.status.processing")}),Fe.status==="pending"&&S.jsx("span",{className:"text-yellow-600",children:n("documentPanel.documentManager.status.pending")}),Fe.status==="failed"&&S.jsx("span",{className:"text-red-600",children:n("documentPanel.documentManager.status.failed")}),Fe.error_msg?S.jsx(qR,{className:"ml-2 h-4 w-4 text-yellow-500"}):Fe.metadata&&Object.keys(Fe.metadata).length>0&&S.jsx(CFe,{className:"ml-2 h-4 w-4 text-blue-500"}),(Fe.error_msg||Fe.metadata&&Object.keys(Fe.metadata).length>0||Fe.track_id)&&S.jsxs("div",{className:"invisible group-hover:visible tooltip",children:[Fe.track_id&&S.jsxs("div",{className:"mt-1",children:["Track ID: ",Fe.track_id]}),Fe.metadata&&Object.keys(Fe.metadata).length>0&&S.jsx("pre",{children:C5e(Fe.metadata)}),Fe.error_msg&&S.jsx("pre",{children:Fe.error_msg})]})]})}),S.jsx(Ws,{children:Fe.content_length??"-"}),S.jsx(Ws,{children:Fe.chunks_count??"-"}),S.jsx(Ws,{className:"truncate",children:new Date(Fe.created_at).toLocaleString()}),S.jsx(Ws,{className:"truncate",children:new Date(Fe.updated_at).toLocaleString()}),S.jsx(Ws,{className:"text-center",children:S.jsx(iu,{checked:V.includes(Fe.id),onCheckedChange:$e=>G(Fe.id,$e===!0),className:"mx-auto"})})]},Fe.id))})]})})})]})]})]})]})}const hte=T.forwardRef(({className:e,...t},r)=>S.jsx("textarea",{className:ut("border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[60px] w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm resize-none",e),ref:r,...t}));hte.displayName="Textarea";function _5e({value:e,onChange:t,placeholder:r,className:n,id:a,history:i,onSelectFromHistory:o,onDeleteFromHistory:s}){const[l,u]=T.useState(!1),[d,h]=T.useState(-1),[f,m]=T.useState(!1),b=T.useRef(null),y=T.useRef(null);T.useEffect(()=>{const A=I=>{b.current&&!b.current.contains(I.target)&&(u(!1),h(-1))};return document.addEventListener("mousedown",A),()=>{document.removeEventListener("mousedown",A)}},[]);const F=T.useCallback(A=>{if(!l){A.key==="ArrowDown"&&i.length>0&&(A.preventDefault(),u(!0),h(0));return}switch(A.key){case"ArrowDown":A.preventDefault(),h(I=>I<i.length-1?I+1:I);break;case"ArrowUp":A.preventDefault(),h(I=>I>0?I-1:-1),d===0&&h(-1);break;case"Enter":if(d>=0&&d<i.length){A.preventDefault();const I=i[d];o(I),u(!1),h(-1)}break;case"Escape":A.preventDefault(),u(!1),h(-1);break}},[l,d,i,o]),x=()=>{i.length>0&&(u(!l),h(-1))},E=A=>{var I;o(A),u(!1),h(-1),(I=y.current)==null||I.focus()},C=A=>{t(A.target.value)},_=()=>{m(!0)},D=()=>{m(!1)},w=T.useCallback((A,I)=>{I.stopPropagation(),s==null||s(A),i.length===1?(u(!1),h(-1)):d===A?h(M=>M>0?M-1:-1):d>A&&h(M=>M-1)},[s,i.length,d]);return S.jsxs("div",{className:"relative",ref:b,onMouseEnter:_,onMouseLeave:D,children:[S.jsxs("div",{className:"relative",children:[S.jsx(ea,{ref:y,id:a,value:e,onChange:C,onKeyDown:F,onClick:x,placeholder:r,autoComplete:"off",className:ut(f&&i.length>0?"pr-5":"pr-2","w-full",n)}),f&&i.length>0&&S.jsx("button",{type:"button",onClick:x,className:"absolute right-2 top-1/2 -translate-y-1/2 p-0 rounded hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",tabIndex:-1,children:S.jsx(zv,{className:ut("h-3 w-3 transition-transform duration-200 text-gray-500",l&&"rotate-180")})})]}),l&&i.length>0&&S.jsx("div",{className:"absolute top-full left-0 right-0 z-50 mt-0.5 bg-gray-100 dark:bg-gray-900 border border-gray-300 dark:border-gray-700 rounded-md shadow-lg max-h-96 overflow-auto min-w-0",children:i.map((A,I)=>S.jsxs("div",{className:ut("flex items-center justify-between pl-3 pr-1 py-2 text-sm hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors","border-b border-gray-100 dark:border-gray-700 last:border-b-0","focus-within:bg-gray-100 dark:focus-within:bg-gray-700",d===I&&"bg-gray-100 dark:bg-gray-700"),children:[S.jsx("button",{type:"button",onClick:()=>E(A),className:"flex-1 text-left truncate focus:outline-none mr-0",title:A,children:A}),s&&S.jsx("button",{type:"button",onClick:M=>w(I,M),className:"flex-shrink-0 p-0 rounded hover:bg-red-100 dark:hover:bg-red-900 transition-colors focus:outline-none ml-auto",title:"Delete this history item",children:S.jsx(Hv,{className:"h-3 w-3 text-gray-400 hover:text-red-500"})})]},I))})]})}function D5e(){const{t:e}=Er(),t=rt(u=>u.querySettings),r=rt(u=>u.userPromptHistory),n=T.useCallback((u,d)=>{rt.getState().updateQuerySettings({[u]:d})},[]),a=T.useCallback(u=>{n("user_prompt",u)},[n]),i=T.useCallback(u=>{const d=[...r];d.splice(u,1),rt.getState().setUserPromptHistory(d)},[r]),o=T.useMemo(()=>({mode:"mix",response_type:"Multiple Paragraphs",top_k:40,chunk_top_k:20,max_entity_tokens:6e3,max_relation_tokens:8e3,max_total_tokens:3e4}),[]),s=T.useCallback(u=>{n(u,o[u])},[n,o]),l=({onClick:u,title:d})=>S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("button",{type:"button",onClick:u,className:"mr-1 p-1 rounded hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",title:d,children:S.jsx(ty,{className:"h-3 w-3 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200"})})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:d})})]})});return S.jsxs(Nc,{className:"flex shrink-0 flex-col w-[280px]",children:[S.jsxs(Nm,{className:"px-4 pt-4 pb-2",children:[S.jsx(Lm,{children:e("retrievePanel.querySettings.parametersTitle")}),S.jsx(t2,{className:"sr-only",children:e("retrievePanel.querySettings.parametersDescription")})]}),S.jsx(Mm,{className:"m-0 flex grow flex-col p-0 text-xs",children:S.jsx("div",{className:"relative size-full",children:S.jsxs("div",{className:"absolute inset-0 flex flex-col gap-2 overflow-auto px-2 pr-2",children:[S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"user_prompt",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.userPrompt")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.userPromptTooltip")})})]})}),S.jsx("div",{children:S.jsx(_5e,{id:"user_prompt",value:t.user_prompt||"",onChange:u=>n("user_prompt",u),onSelectFromHistory:a,onDeleteFromHistory:i,history:r,placeholder:e("retrievePanel.querySettings.userPromptPlaceholder"),className:"h-9"})})]}),S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"query_mode_select",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.queryMode")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.queryModeTooltip")})})]})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsxs(kh,{value:t.mode,onValueChange:u=>n("mode",u),children:[S.jsx(Ac,{id:"query_mode_select",className:"hover:bg-primary/5 h-9 cursor-pointer focus:ring-0 focus:ring-offset-0 focus:outline-0 active:right-0 flex-1 text-left [&>span]:break-all [&>span]:line-clamp-1",children:S.jsx(Ch,{})}),S.jsx(_c,{children:S.jsxs(CO,{children:[S.jsx(Ln,{value:"naive",children:e("retrievePanel.querySettings.queryModeOptions.naive")}),S.jsx(Ln,{value:"local",children:e("retrievePanel.querySettings.queryModeOptions.local")}),S.jsx(Ln,{value:"global",children:e("retrievePanel.querySettings.queryModeOptions.global")}),S.jsx(Ln,{value:"hybrid",children:e("retrievePanel.querySettings.queryModeOptions.hybrid")}),S.jsx(Ln,{value:"mix",children:e("retrievePanel.querySettings.queryModeOptions.mix")}),S.jsx(Ln,{value:"bypass",children:e("retrievePanel.querySettings.queryModeOptions.bypass")})]})})]}),S.jsx(l,{onClick:()=>s("mode"),title:"Reset to default (Mix)"})]})]}),S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"response_format_select",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.responseFormat")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.responseFormatTooltip")})})]})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsxs(kh,{value:t.response_type,onValueChange:u=>n("response_type",u),children:[S.jsx(Ac,{id:"response_format_select",className:"hover:bg-primary/5 h-9 cursor-pointer focus:ring-0 focus:ring-offset-0 focus:outline-0 active:right-0 flex-1 text-left [&>span]:break-all [&>span]:line-clamp-1",children:S.jsx(Ch,{})}),S.jsx(_c,{children:S.jsxs(CO,{children:[S.jsx(Ln,{value:"Multiple Paragraphs",children:e("retrievePanel.querySettings.responseFormatOptions.multipleParagraphs")}),S.jsx(Ln,{value:"Single Paragraph",children:e("retrievePanel.querySettings.responseFormatOptions.singleParagraph")}),S.jsx(Ln,{value:"Bullet Points",children:e("retrievePanel.querySettings.responseFormatOptions.bulletPoints")})]})})]}),S.jsx(l,{onClick:()=>s("response_type"),title:"Reset to default (Multiple Paragraphs)"})]})]}),S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"top_k",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.topK")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.topKTooltip")})})]})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{id:"top_k",type:"number",value:t.top_k??"",onChange:u=>{const d=u.target.value;n("top_k",d===""?"":parseInt(d)||0)},onBlur:u=>{const d=u.target.value;(d===""||isNaN(parseInt(d)))&&n("top_k",40)},min:1,placeholder:e("retrievePanel.querySettings.topKPlaceholder"),className:"h-9 flex-1 pr-2 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none [-moz-appearance:textfield]"}),S.jsx(l,{onClick:()=>s("top_k"),title:"Reset to default"})]})]}),S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"chunk_top_k",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.chunkTopK")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.chunkTopKTooltip")})})]})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{id:"chunk_top_k",type:"number",value:t.chunk_top_k??"",onChange:u=>{const d=u.target.value;n("chunk_top_k",d===""?"":parseInt(d)||0)},onBlur:u=>{const d=u.target.value;(d===""||isNaN(parseInt(d)))&&n("chunk_top_k",20)},min:1,placeholder:e("retrievePanel.querySettings.chunkTopKPlaceholder"),className:"h-9 flex-1 pr-2 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none [-moz-appearance:textfield]"}),S.jsx(l,{onClick:()=>s("chunk_top_k"),title:"Reset to default"})]})]}),S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"max_entity_tokens",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.maxEntityTokens")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.maxEntityTokensTooltip")})})]})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{id:"max_entity_tokens",type:"number",value:t.max_entity_tokens??"",onChange:u=>{const d=u.target.value;n("max_entity_tokens",d===""?"":parseInt(d)||0)},onBlur:u=>{const d=u.target.value;(d===""||isNaN(parseInt(d)))&&n("max_entity_tokens",6e3)},min:1,placeholder:e("retrievePanel.querySettings.maxEntityTokensPlaceholder"),className:"h-9 flex-1 pr-2 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none [-moz-appearance:textfield]"}),S.jsx(l,{onClick:()=>s("max_entity_tokens"),title:"Reset to default"})]})]}),S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"max_relation_tokens",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.maxRelationTokens")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.maxRelationTokensTooltip")})})]})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{id:"max_relation_tokens",type:"number",value:t.max_relation_tokens??"",onChange:u=>{const d=u.target.value;n("max_relation_tokens",d===""?"":parseInt(d)||0)},onBlur:u=>{const d=u.target.value;(d===""||isNaN(parseInt(d)))&&n("max_relation_tokens",8e3)},min:1,placeholder:e("retrievePanel.querySettings.maxRelationTokensPlaceholder"),className:"h-9 flex-1 pr-2 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none [-moz-appearance:textfield]"}),S.jsx(l,{onClick:()=>s("max_relation_tokens"),title:"Reset to default"})]})]}),S.jsxs(S.Fragment,{children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"max_total_tokens",className:"ml-1 cursor-help",children:e("retrievePanel.querySettings.maxTotalTokens")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.maxTotalTokensTooltip")})})]})}),S.jsxs("div",{className:"flex items-center gap-1",children:[S.jsx(ea,{id:"max_total_tokens",type:"number",value:t.max_total_tokens??"",onChange:u=>{const d=u.target.value;n("max_total_tokens",d===""?"":parseInt(d)||0)},onBlur:u=>{const d=u.target.value;(d===""||isNaN(parseInt(d)))&&n("max_total_tokens",3e4)},min:1,placeholder:e("retrievePanel.querySettings.maxTotalTokensPlaceholder"),className:"h-9 flex-1 pr-2 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none [-moz-appearance:textfield]"}),S.jsx(l,{onClick:()=>s("max_total_tokens"),title:"Reset to default"})]})]}),S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"enable_rerank",className:"flex-1 ml-1 cursor-help",children:e("retrievePanel.querySettings.enableRerank")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.enableRerankTooltip")})})]})}),S.jsx(iu,{className:"mr-10 cursor-pointer",id:"enable_rerank",checked:t.enable_rerank,onCheckedChange:u=>n("enable_rerank",u)})]}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"only_need_context",className:"flex-1 ml-1 cursor-help",children:e("retrievePanel.querySettings.onlyNeedContext")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.onlyNeedContextTooltip")})})]})}),S.jsx(iu,{className:"mr-10 cursor-pointer",id:"only_need_context",checked:t.only_need_context,onCheckedChange:u=>{n("only_need_context",u),u&&n("only_need_prompt",!1)}})]}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"only_need_prompt",className:"flex-1 ml-1 cursor-help",children:e("retrievePanel.querySettings.onlyNeedPrompt")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.onlyNeedPromptTooltip")})})]})}),S.jsx(iu,{className:"mr-10 cursor-pointer",id:"only_need_prompt",checked:t.only_need_prompt,onCheckedChange:u=>{n("only_need_prompt",u),u&&n("only_need_context",!1)}})]}),S.jsxs("div",{className:"flex items-center gap-2",children:[S.jsx(Ea,{children:S.jsxs(Sa,{children:[S.jsx(xa,{asChild:!0,children:S.jsx("label",{htmlFor:"stream",className:"flex-1 ml-1 cursor-help",children:e("retrievePanel.querySettings.streamResponse")})}),S.jsx(da,{side:"left",children:S.jsx("p",{children:e("retrievePanel.querySettings.streamResponseTooltip")})})]})}),S.jsx(iu,{className:"mr-10 cursor-pointer",id:"stream",checked:t.stream,onCheckedChange:u=>n("stream",u)})]})]})]})})})]})}function IB(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const o=r.slice(a,n).trim();(o||!i)&&t.push(o),a=n+1,n=r.indexOf(",",a)}return t}function pte(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const R5e=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,N5e=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,L5e={};function OB(e,t){return(L5e.jsx?N5e:R5e).test(e)}const M5e=/[ \t\n\f\r]/g;function I5e(e){return typeof e=="object"?e.type==="text"?BB(e.value):!1:BB(e)}function BB(e){return e.replace(M5e,"")===""}let F0=class{constructor(t,r,n){this.property=t,this.normal=r,n&&(this.space=n)}};F0.prototype.property={};F0.prototype.normal={};F0.prototype.space=null;function fte(e,t){const r={},n={};let a=-1;for(;++a<e.length;)Object.assign(r,e[a].property),Object.assign(n,e[a].normal);return new F0(r,n,t)}function vD(e){return e.toLowerCase()}let co=class{constructor(t,r){this.property=t,this.attribute=r}};co.prototype.space=null;co.prototype.boolean=!1;co.prototype.booleanish=!1;co.prototype.overloadedBoolean=!1;co.prototype.number=!1;co.prototype.commaSeparated=!1;co.prototype.spaceSeparated=!1;co.prototype.commaOrSpaceSeparated=!1;co.prototype.mustUseProperty=!1;co.prototype.defined=!1;let O5e=0;const ur=Yc(),Rn=Yc(),mte=Yc(),it=Yc(),en=Yc(),lh=Yc(),Fi=Yc();function Yc(){return 2**++O5e}const FD=Object.freeze(Object.defineProperty({__proto__:null,boolean:ur,booleanish:Rn,commaOrSpaceSeparated:Fi,commaSeparated:lh,number:it,overloadedBoolean:mte,spaceSeparated:en},Symbol.toStringTag,{value:"Module"})),zx=Object.keys(FD);let w5=class extends co{constructor(t,r,n,a){let i=-1;if(super(t,r),PB(this,"space",a),typeof n=="number")for(;++i<zx.length;){const o=zx[i];PB(this,zx[i],(n&FD[o])===FD[o])}}};w5.prototype.defined=!0;function PB(e,t,r){r&&(e[t]=r)}const B5e={}.hasOwnProperty;function dp(e){const t={},r={};let n;for(n in e.properties)if(B5e.call(e.properties,n)){const a=e.properties[n],i=new w5(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[vD(n)]=n,r[vD(i.attribute)]=n}return new F0(t,r,e.space)}const gte=dp({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}}),bte=dp({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function yte(e,t){return t in e?e[t]:t}function vte(e,t){return yte(e,t.toLowerCase())}const Fte=dp({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:vte,properties:{xmlns:null,xmlnsXLink:null}}),Ete=dp({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Rn,ariaAutoComplete:null,ariaBusy:Rn,ariaChecked:Rn,ariaColCount:it,ariaColIndex:it,ariaColSpan:it,ariaControls:en,ariaCurrent:null,ariaDescribedBy:en,ariaDetails:null,ariaDisabled:Rn,ariaDropEffect:en,ariaErrorMessage:null,ariaExpanded:Rn,ariaFlowTo:en,ariaGrabbed:Rn,ariaHasPopup:null,ariaHidden:Rn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:en,ariaLevel:it,ariaLive:null,ariaModal:Rn,ariaMultiLine:Rn,ariaMultiSelectable:Rn,ariaOrientation:null,ariaOwns:en,ariaPlaceholder:null,ariaPosInSet:it,ariaPressed:Rn,ariaReadOnly:Rn,ariaRelevant:null,ariaRequired:Rn,ariaRoleDescription:en,ariaRowCount:it,ariaRowIndex:it,ariaRowSpan:it,ariaSelected:Rn,ariaSetSize:it,ariaSort:null,ariaValueMax:it,ariaValueMin:it,ariaValueNow:it,ariaValueText:null,role:null}}),P5e=dp({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:vte,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lh,acceptCharset:en,accessKey:en,action:null,allow:null,allowFullScreen:ur,allowPaymentRequest:ur,allowUserMedia:ur,alt:null,as:null,async:ur,autoCapitalize:null,autoComplete:en,autoFocus:ur,autoPlay:ur,blocking:en,capture:null,charSet:null,checked:ur,cite:null,className:en,cols:it,colSpan:null,content:null,contentEditable:Rn,controls:ur,controlsList:en,coords:it|lh,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ur,defer:ur,dir:null,dirName:null,disabled:ur,download:mte,draggable:Rn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ur,formTarget:null,headers:en,height:it,hidden:ur,high:it,href:null,hrefLang:null,htmlFor:en,httpEquiv:en,id:null,imageSizes:null,imageSrcSet:null,inert:ur,inputMode:null,integrity:null,is:null,isMap:ur,itemId:null,itemProp:en,itemRef:en,itemScope:ur,itemType:en,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ur,low:it,manifest:null,max:null,maxLength:it,media:null,method:null,min:null,minLength:it,multiple:ur,muted:ur,name:null,nonce:null,noModule:ur,noValidate:ur,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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:ur,optimum:it,pattern:null,ping:en,placeholder:null,playsInline:ur,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ur,referrerPolicy:null,rel:en,required:ur,reversed:ur,rows:it,rowSpan:it,sandbox:en,scope:null,scoped:ur,seamless:ur,selected:ur,shadowRootClonable:ur,shadowRootDelegatesFocus:ur,shadowRootMode:null,shape:null,size:it,sizes:null,slot:null,span:it,spellCheck:Rn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:it,step:null,style:null,tabIndex:it,target:null,title:null,translate:null,type:null,typeMustMatch:ur,useMap:null,value:Rn,width:it,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:en,axis:null,background:null,bgColor:null,border:it,borderColor:null,bottomMargin:it,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ur,declare:ur,event:null,face:null,frame:null,frameBorder:null,hSpace:it,leftMargin:it,link:null,longDesc:null,lowSrc:null,marginHeight:it,marginWidth:it,noResize:ur,noHref:ur,noShade:ur,noWrap:ur,object:null,profile:null,prompt:null,rev:null,rightMargin:it,rules:null,scheme:null,scrolling:Rn,standby:null,summary:null,text:null,topMargin:it,valueType:null,version:null,vAlign:null,vLink:null,vSpace:it,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ur,disableRemotePlayback:ur,prefix:null,property:null,results:it,security:null,unselectable:null}}),z5e=dp({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",transformOrigin:"transform-origin",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:yte,properties:{about:Fi,accentHeight:it,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:it,amplitude:it,arabicForm:null,ascent:it,attributeName:null,attributeType:null,azimuth:it,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:it,by:null,calcMode:null,capHeight:it,className:en,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:it,diffuseConstant:it,direction:null,display:null,dur:null,divisor:it,dominantBaseline:null,download:ur,dx:null,dy:null,edgeMode:null,editable:null,elevation:it,enableBackground:null,end:null,event:null,exponent:it,externalResourcesRequired:null,fill:null,fillOpacity:it,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:lh,g2:lh,glyphName:lh,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:it,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:it,horizOriginX:it,horizOriginY:it,id:null,ideographic:it,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:it,k:it,k1:it,k2:it,k3:it,k4:it,kernelMatrix:Fi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:it,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:it,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:it,overlineThickness:it,paintOrder:null,panose1:null,path:null,pathLength:it,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:en,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:it,pointsAtY:it,pointsAtZ:it,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Fi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Fi,rev:Fi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Fi,requiredFeatures:Fi,requiredFonts:Fi,requiredFormats:Fi,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:it,specularExponent:it,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:it,strikethroughThickness:it,string:null,stroke:null,strokeDashArray:Fi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:it,strokeOpacity:it,strokeWidth:null,style:null,surfaceScale:it,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Fi,tabIndex:it,tableValues:null,target:null,targetX:it,targetY:it,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Fi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:it,underlineThickness:it,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:it,values:null,vAlphabetic:it,vMathematical:it,vectorEffect:null,vHanging:it,vIdeographic:it,version:null,vertAdvY:it,vertOriginX:it,vertOriginY:it,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:it,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H5e=/^data[-\w.:]+$/i,zB=/-[a-z]/g,U5e=/[A-Z]/g;function Ste(e,t){const r=vD(t);let n=t,a=co;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&H5e.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(zB,$5e);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!zB.test(i)){let o=i.replace(U5e,G5e);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=w5}return new a(n,t)}function G5e(e){return"-"+e.toLowerCase()}function $5e(e){return e.charAt(1).toUpperCase()}const j5e={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"},xte=fte([bte,gte,Fte,Ete,P5e],"html"),E0=fte([bte,gte,Fte,Ete,z5e],"svg");function HB(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function wte(e){return e.join(" ").trim()}var $d={},Hx,UB;function q5e(){if(UB)return Hx;UB=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,s=/^\s+|\s+$/g,l=`
|
||
`,u="/",d="*",h="",f="comment",m="declaration";Hx=function(y,F){if(typeof y!="string")throw new TypeError("First argument must be a string");if(!y)return[];F=F||{};var x=1,E=1;function C(z){var V=z.match(t);V&&(x+=V.length);var X=z.lastIndexOf(l);E=~X?z.length-X:E+z.length}function _(){var z={line:x,column:E};return function(V){return V.position=new D(z),I(),V}}function D(z){this.start=z,this.end={line:x,column:E},this.source=F.source}D.prototype.content=y;function w(z){var V=new Error(F.source+":"+x+":"+E+": "+z);if(V.reason=z,V.filename=F.source,V.line=x,V.column=E,V.source=y,!F.silent)throw V}function A(z){var V=z.exec(y);if(V){var X=V[0];return C(X),y=y.slice(X.length),V}}function I(){A(r)}function M(z){var V;for(z=z||[];V=L();)V!==!1&&z.push(V);return z}function L(){var z=_();if(!(u!=y.charAt(0)||d!=y.charAt(1))){for(var V=2;h!=y.charAt(V)&&(d!=y.charAt(V)||u!=y.charAt(V+1));)++V;if(V+=2,h===y.charAt(V-1))return w("End of comment missing");var X=y.slice(2,V-2);return E+=2,C(X),y=y.slice(V),E+=2,z({type:f,comment:X})}}function U(){var z=_(),V=A(n);if(V){if(L(),!A(a))return w("property missing ':'");var X=A(i),q=z({type:m,property:b(V[0].replace(e,h)),value:X?b(X[0].replace(e,h)):h});return A(o),q}}function j(){var z=[];M(z);for(var V;V=U();)V!==!1&&(z.push(V),M(z));return z}return I(),j()};function b(y){return y?y.replace(s,h):h}return Hx}var GB;function W5e(){if(GB)return $d;GB=1;var e=$d&&$d.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty($d,"__esModule",{value:!0}),$d.default=r;var t=e(q5e());function r(n,a){var i=null;if(!n||typeof n!="string")return i;var o=(0,t.default)(n),s=typeof a=="function";return o.forEach(function(l){if(l.type==="declaration"){var u=l.property,d=l.value;s?a(u,d,l):d&&(i=i||{},i[u]=d)}}),i}return $d}var V5e=W5e();const $B=On(V5e),K5e=$B.default||$B,i2=kte("end"),ms=kte("start");function kte(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Y5e(e){const t=ms(e),r=i2(e);if(t&&r)return{start:t,end:r}}function cm(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?jB(e.position):"start"in e||"end"in e?jB(e):"line"in e||"column"in e?ED(e):""}function ED(e){return qB(e&&e.line)+":"+qB(e&&e.column)}function jB(e){return ED(e&&e.start)+"-"+ED(e&&e.end)}function qB(e){return e&&typeof e=="number"?e:1}class Ra extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},o=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i={...r}),typeof t=="string"?a=t:!i.cause&&t&&(o=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?i.ruleId=n:(i.source=n.slice(0,l),i.ruleId=n.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=s?s.line:void 0,this.name=cm(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ra.prototype.file="";Ra.prototype.name="";Ra.prototype.reason="";Ra.prototype.message="";Ra.prototype.stack="";Ra.prototype.column=void 0;Ra.prototype.line=void 0;Ra.prototype.ancestors=void 0;Ra.prototype.cause=void 0;Ra.prototype.fatal=void 0;Ra.prototype.place=void 0;Ra.prototype.ruleId=void 0;Ra.prototype.source=void 0;const k5={}.hasOwnProperty,X5e=new Map,J5e=/[A-Z]/g,Z5e=/-([a-z])/g,Q5e=new Set(["table","tbody","thead","tfoot","tr"]),eNe=new Set(["td","th"]),Cte="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Tte(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=lNe(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=sNe(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?E0:xte,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Ate(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Ate(e,t,r){if(t.type==="element")return tNe(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return rNe(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return aNe(e,t,r);if(t.type==="mdxjsEsm")return nNe(e,t);if(t.type==="root")return iNe(e,t,r);if(t.type==="text")return oNe(e,t)}function tNe(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=E0,e.schema=a),e.ancestors.push(t);const i=Dte(e,t.tagName,!1),o=uNe(e,t);let s=T5(e,t);return Q5e.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!I5e(l):!0})),_te(e,o,i,t),C5(o,s),e.ancestors.pop(),e.schema=n,e.create(t,i,o,r)}function rNe(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Om(e,t.position)}function nNe(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Om(e,t.position)}function aNe(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=E0,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:Dte(e,t.name,!0),o=cNe(e,t),s=T5(e,t);return _te(e,o,i,t),C5(o,s),e.ancestors.pop(),e.schema=n,e.create(t,i,o,r)}function iNe(e,t,r){const n={};return C5(n,T5(e,t)),e.create(t,e.Fragment,n,r)}function oNe(e,t){return t.value}function _te(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function C5(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function sNe(e,t,r){return n;function n(a,i,o,s){const u=Array.isArray(o.children)?r:t;return s?u(i,o,s):u(i,o)}}function lNe(e,t){return r;function r(n,a,i,o){const s=Array.isArray(i.children),l=ms(n);return t(a,i,o,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function uNe(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&k5.call(t.properties,a)){const i=dNe(e,a,t.properties[a]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&eNe.has(t.tagName)?n=s:r[o]=s}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function cNe(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const o=i.expression;o.type;const s=o.properties[0];s.type,Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else Om(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const s=n.value.data.estree.body[0];s.type,i=e.evaluater.evaluateExpression(s.expression)}else Om(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function T5(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:X5e;for(;++n<t.children.length;){const i=t.children[n];let o;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const u=a.get(l)||0;o=l+"-"+u,a.set(l,u+1)}}const s=Ate(e,i,o);s!==void 0&&r.push(s)}return r}function dNe(e,t,r){const n=Ste(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?pte(r):wte(r)),n.property==="style"){let a=typeof r=="object"?r:hNe(e,String(r));return e.stylePropertyNameCase==="css"&&(a=pNe(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?j5e[n.property]||n.property:n.attribute,r]}}function hNe(e,t){const r={};try{K5e(t,n)}catch(a){if(!e.ignoreInvalidStyle){const i=a,o=new Ra("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=Cte+"#cannot-parse-style-attribute",o}}return r;function n(a,i){let o=a;o.slice(0,2)!=="--"&&(o.slice(0,4)==="-ms-"&&(o="ms-"+o.slice(4)),o=o.replace(Z5e,mNe)),r[o]=i}}function Dte(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,o;for(;++i<a.length;){const s=OB(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(i&&s.type==="Literal"),optional:!1}:s}n=o}else n=OB(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return k5.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);Om(e)}function Om(e,t){const r=new Ra("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Cte+"#cannot-handle-mdx-estrees-without-createevaluater",r}function pNe(e){const t={};let r;for(r in e)k5.call(e,r)&&(t[fNe(r)]=e[r]);return t}function fNe(e){let t=e.replace(J5e,gNe);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function mNe(e,t){return t.toUpperCase()}function gNe(e){return"-"+e.toLowerCase()}const Ux={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},bNe={};function A5(e,t){const r=bNe,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Rte(e,n,a)}function Rte(e,t,r){if(yNe(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return WB(e.children,t,r)}return Array.isArray(e)?WB(e,t,r):""}function WB(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Rte(e[a],t,r);return n.join("")}function yNe(e){return!!(e&&typeof e=="object")}const VB=document.createElement("i");function _5(e){const t="&"+e+";";VB.innerHTML=t;const r=VB.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function _i(e,t,r,n){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);i<n.length;)o=n.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function Zi(e,t){return e.length>0?(_i(e,e.length,0,t),e):t}const KB={}.hasOwnProperty;function Nte(e){const t={};let r=-1;for(;++r<e.length;)vNe(t,e[r]);return t}function vNe(e,t){let r;for(r in t){const a=(KB.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let o;if(i)for(o in i){KB.call(a,o)||(a[o]=[]);const s=i[o];FNe(a[o],Array.isArray(s)?s:s?[s]:[])}}}function FNe(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);_i(e,0,0,n)}function Lte(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"<22>":String.fromCodePoint(r)}function wo(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pa=Tu(/[A-Za-z]/),Ta=Tu(/[\dA-Za-z]/),ENe=Tu(/[#-'*+\--9=?A-Z^-~]/);function my(e){return e!==null&&(e<32||e===127)}const SD=Tu(/\d/),SNe=Tu(/[\dA-Fa-f]/),xNe=Tu(/[!-/:-@[-`{-~]/);function It(e){return e!==null&&e<-2}function Xr(e){return e!==null&&(e<0||e===32)}function kr(e){return e===-2||e===-1||e===32}const o2=Tu(new RegExp("\\p{P}|\\p{S}","u")),Lc=Tu(/\s/);function Tu(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function hp(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let o="";if(i===37&&Ta(e.charCodeAt(r+1))&&Ta(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(r+1);i<56320&&s>56319&&s<57344?(o=String.fromCharCode(i,s),a=1):o="<22>"}else o=String.fromCharCode(i);o&&(t.push(e.slice(n,r),encodeURIComponent(o)),n=r+a+1,o=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function Fr(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(l){return kr(l)?(e.enter(r),s(l)):t(l)}function s(l){return kr(l)&&i++<a?(e.consume(l),s):(e.exit(r),t(l))}}const wNe={tokenize:kNe};function kNe(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Fr(e,t,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return It(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}const CNe={tokenize:TNe},YB={tokenize:ANe};function TNe(e){const t=this,r=[];let n=0,a,i,o;return s;function s(C){if(n<r.length){const _=r[n];return t.containerState=_[1],e.attempt(_[0].continuation,l,u)(C)}return u(C)}function l(C){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&E();const _=t.events.length;let D=_,w;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){w=t.events[D][1].end;break}x(n);let A=_;for(;A<t.events.length;)t.events[A][1].end={...w},A++;return _i(t.events,D+1,0,t.events.slice(_)),t.events.length=A,u(C)}return s(C)}function u(C){if(n===r.length){if(!a)return f(C);if(a.currentConstruct&&a.currentConstruct.concrete)return b(C);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(YB,d,h)(C)}function d(C){return a&&E(),x(n),f(C)}function h(C){return t.parser.lazy[t.now().line]=n!==r.length,o=t.now().offset,b(C)}function f(C){return t.containerState={},e.attempt(YB,m,b)(C)}function m(C){return n++,r.push([t.currentConstruct,t.containerState]),f(C)}function b(C){if(C===null){a&&E(),x(0),e.consume(C);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),y(C)}function y(C){if(C===null){F(e.exit("chunkFlow"),!0),x(0),e.consume(C);return}return It(C)?(e.consume(C),F(e.exit("chunkFlow")),n=0,t.interrupt=void 0,s):(e.consume(C),y)}function F(C,_){const D=t.sliceStream(C);if(_&&D.push(null),C.previous=i,i&&(i.next=C),i=C,a.defineSkip(C.start),a.write(D),t.parser.lazy[C.start.line]){let w=a.events.length;for(;w--;)if(a.events[w][1].start.offset<o&&(!a.events[w][1].end||a.events[w][1].end.offset>o))return;const A=t.events.length;let I=A,M,L;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){if(M){L=t.events[I][1].end;break}M=!0}for(x(n),w=A;w<t.events.length;)t.events[w][1].end={...L},w++;_i(t.events,I+1,0,t.events.slice(A)),t.events.length=w}}function x(C){let _=r.length;for(;_-- >C;){const D=r[_];t.containerState=D[1],D[0].exit.call(t,e)}r.length=C}function E(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function ANe(e,t,r){return Fr(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Lh(e){if(e===null||Xr(e)||Lc(e))return 1;if(o2(e))return 2}function s2(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}const xD={name:"attention",resolveAll:_Ne,tokenize:DNe};function _Ne(e,t){let r=-1,n,a,i,o,s,l,u,d;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const h={...e[n][1].end},f={...e[r][1].start};XB(h,-l),XB(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:f},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:l>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[r][1].start={...s.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Zi(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Zi(u,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=Zi(u,s2(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=Zi(u,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(d=2,u=Zi(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):d=0,_i(e,n-1,r-n+3,u),r=n+u.length-d-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function DNe(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Lh(n);let i;return o;function o(l){return i=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===i)return e.consume(l),s;const u=e.exit("attentionSequence"),d=Lh(l),h=!d||d===2&&a||r.includes(l),f=!a||a===2&&d||r.includes(n);return u._open=!!(i===42?h:h&&(a||!f)),u._close=!!(i===42?f:f&&(d||!h)),t(l)}}function XB(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const RNe={name:"autolink",tokenize:NNe};function NNe(e,t,r){let n=0;return a;function a(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(m){return Pa(m)?(e.consume(m),o):m===64?r(m):u(m)}function o(m){return m===43||m===45||m===46||Ta(m)?(n=1,s(m)):u(m)}function s(m){return m===58?(e.consume(m),n=0,l):(m===43||m===45||m===46||Ta(m))&&n++<32?(e.consume(m),s):(n=0,u(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||my(m)?r(m):(e.consume(m),l)}function u(m){return m===64?(e.consume(m),d):ENe(m)?(e.consume(m),u):r(m)}function d(m){return Ta(m)?h(m):r(m)}function h(m){return m===46?(e.consume(m),n=0,d):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):f(m)}function f(m){if((m===45||Ta(m))&&n++<63){const b=m===45?f:h;return e.consume(m),b}return r(m)}}const S0={partial:!0,tokenize:LNe};function LNe(e,t,r){return n;function n(i){return kr(i)?Fr(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||It(i)?t(i):r(i)}}const Mte={continuation:{tokenize:INe},exit:ONe,name:"blockQuote",tokenize:MNe};function MNe(e,t,r){const n=this;return a;function a(o){if(o===62){const s=n.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return r(o)}function i(o){return kr(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function INe(e,t,r){const n=this;return a;function a(o){return kr(o)?Fr(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(Mte,t,r)(o)}}function ONe(e){e.exit("blockQuote")}const Ite={name:"characterEscape",tokenize:BNe};function BNe(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return xNe(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const Ote={name:"characterReference",tokenize:PNe};function PNe(e,t,r){const n=this;let a=0,i,o;return s;function s(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),l}function l(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),i=31,o=Ta,d(h))}function u(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=SNe,d):(e.enter("characterReferenceValue"),i=7,o=SD,d(h))}function d(h){if(h===59&&a){const f=e.exit("characterReferenceValue");return o===Ta&&!_5(n.sliceSerialize(f))?r(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(h)&&a++<i?(e.consume(h),d):r(h)}}const JB={partial:!0,tokenize:HNe},ZB={concrete:!0,name:"codeFenced",tokenize:zNe};function zNe(e,t,r){const n=this,a={partial:!0,tokenize:D};let i=0,o=0,s;return l;function l(w){return u(w)}function u(w){const A=n.events[n.events.length-1];return i=A&&A[1].type==="linePrefix"?A[2].sliceSerialize(A[1],!0).length:0,s=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(w)}function d(w){return w===s?(o++,e.consume(w),d):o<3?r(w):(e.exit("codeFencedFenceSequence"),kr(w)?Fr(e,h,"whitespace")(w):h(w))}function h(w){return w===null||It(w)?(e.exit("codeFencedFence"),n.interrupt?t(w):e.check(JB,y,_)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(w))}function f(w){return w===null||It(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(w)):kr(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Fr(e,m,"whitespace")(w)):w===96&&w===s?r(w):(e.consume(w),f)}function m(w){return w===null||It(w)?h(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(w))}function b(w){return w===null||It(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(w)):w===96&&w===s?r(w):(e.consume(w),b)}function y(w){return e.attempt(a,_,F)(w)}function F(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),x}function x(w){return i>0&&kr(w)?Fr(e,E,"linePrefix",i+1)(w):E(w)}function E(w){return w===null||It(w)?e.check(JB,y,_)(w):(e.enter("codeFlowValue"),C(w))}function C(w){return w===null||It(w)?(e.exit("codeFlowValue"),E(w)):(e.consume(w),C)}function _(w){return e.exit("codeFenced"),t(w)}function D(w,A,I){let M=0;return L;function L(X){return w.enter("lineEnding"),w.consume(X),w.exit("lineEnding"),U}function U(X){return w.enter("codeFencedFence"),kr(X)?Fr(w,j,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):j(X)}function j(X){return X===s?(w.enter("codeFencedFenceSequence"),z(X)):I(X)}function z(X){return X===s?(M++,w.consume(X),z):M>=o?(w.exit("codeFencedFenceSequence"),kr(X)?Fr(w,V,"whitespace")(X):V(X)):I(X)}function V(X){return X===null||It(X)?(w.exit("codeFencedFence"),A(X)):I(X)}}}function HNe(e,t,r){const n=this;return a;function a(o){return o===null?r(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}const Gx={name:"codeIndented",tokenize:GNe},UNe={partial:!0,tokenize:$Ne};function GNe(e,t,r){const n=this;return a;function a(u){return e.enter("codeIndented"),Fr(e,i,"linePrefix",5)(u)}function i(u){const d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(u):r(u)}function o(u){return u===null?l(u):It(u)?e.attempt(UNe,o,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||It(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),t(u)}}function $Ne(e,t,r){const n=this;return a;function a(o){return n.parser.lazy[n.now().line]?r(o):It(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):Fr(e,i,"linePrefix",5)(o)}function i(o){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):It(o)?a(o):r(o)}}const jNe={name:"codeText",previous:WNe,resolve:qNe,tokenize:VNe};function qNe(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function WNe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function VNe(e,t,r){let n=0,a,i;return o;function o(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),n++,s):(e.exit("codeTextSequence"),l(h))}function l(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),l):h===96?(i=e.enter("codeTextSequence"),a=0,d(h)):It(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(h))}function u(h){return h===null||h===32||h===96||It(h)?(e.exit("codeTextData"),l(h)):(e.consume(h),u)}function d(h){return h===96?(e.consume(h),a++,d):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(i.type="codeTextData",u(h))}}class KNe{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&Rf(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Rf(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Rf(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);Rf(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Rf(this.left,r.reverse())}}}function Rf(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function Bte(e){const t={};let r=-1,n,a,i,o,s,l,u;const d=new KNe(e);for(;++r<d.length;){for(;r in t;)r=t[r];if(n=d.get(r),r&&n[1].type==="chunkFlow"&&d.get(r-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,YNe(d,r)),r=t[r],u=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(o=d.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(a&&(d.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=i);else if(o[1].type!=="linePrefix")break;a&&(n[1].end={...d.get(a)[1].start},s=d.slice(a,r),s.unshift(n),d.splice(a,r-a+1,s))}}return _i(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!u}function YNe(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[],o=r._tokenizer||n.parser[r.contentType](r.start),s=o.events,l=[],u={};let d,h,f=-1,m=r,b=0,y=0;const F=[y];for(;m;){for(;e.get(++a)[1]!==m;);i.push(a),m._tokenizer||(d=n.sliceStream(m),m.next||d.push(null),h&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=m,m=m.next}for(m=r;++f<s.length;)s[f][0]==="exit"&&s[f-1][0]==="enter"&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(y=f+1,F.push(y),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):F.pop(),f=F.length;f--;){const x=s.slice(F[f],F[f+1]),E=i.pop();l.push([E,E+x.length-1]),e.splice(E,2,x)}for(l.reverse(),f=-1;++f<l.length;)u[b+l[f][0]]=b+l[f][1],b+=l[f][1]-l[f][0]-1;return u}const XNe={resolve:ZNe,tokenize:QNe},JNe={partial:!0,tokenize:eLe};function ZNe(e){return Bte(e),e}function QNe(e,t){let r;return n;function n(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(s)}function a(s){return s===null?i(s):It(s)?e.check(JNe,o,i)(s):(e.consume(s),a)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function eLe(e,t,r){const n=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Fr(e,i,"linePrefix")}function i(o){if(o===null||It(o))return r(o);const s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,r,t)(o)}}function Pte(e,t,r,n,a,i,o,s,l){const u=l||Number.POSITIVE_INFINITY;let d=0;return h;function h(x){return x===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(x),e.exit(i),f):x===null||x===32||x===41||my(x)?r(x):(e.enter(n),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),y(x))}function f(x){return x===62?(e.enter(i),e.consume(x),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(e.exit("chunkString"),e.exit(s),f(x)):x===null||x===60||It(x)?r(x):(e.consume(x),x===92?b:m)}function b(x){return x===60||x===62||x===92?(e.consume(x),m):m(x)}function y(x){return!d&&(x===null||x===41||Xr(x))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(n),t(x)):d<u&&x===40?(e.consume(x),d++,y):x===41?(e.consume(x),d--,y):x===null||x===32||x===40||my(x)?r(x):(e.consume(x),x===92?F:y)}function F(x){return x===40||x===41||x===92?(e.consume(x),y):y(x)}}function zte(e,t,r,n,a,i){const o=this;let s=0,l;return u;function u(m){return e.enter(n),e.enter(a),e.consume(m),e.exit(a),e.enter(i),d}function d(m){return s>999||m===null||m===91||m===93&&!l||m===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?r(m):m===93?(e.exit(i),e.enter(a),e.consume(m),e.exit(a),e.exit(n),t):It(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===null||m===91||m===93||It(m)||s++>999?(e.exit("chunkString"),d(m)):(e.consume(m),l||(l=!kr(m)),m===92?f:h)}function f(m){return m===91||m===92||m===93?(e.consume(m),s++,h):h(m)}}function Hte(e,t,r,n,a,i){let o;return s;function s(f){return f===34||f===39||f===40?(e.enter(n),e.enter(a),e.consume(f),e.exit(a),o=f===40?41:f,l):r(f)}function l(f){return f===o?(e.enter(a),e.consume(f),e.exit(a),e.exit(n),t):(e.enter(i),u(f))}function u(f){return f===o?(e.exit(i),l(o)):f===null?r(f):It(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Fr(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===o||f===null||It(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?h:d)}function h(f){return f===o||f===92?(e.consume(f),d):d(f)}}function dm(e,t){let r;return n;function n(a){return It(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):kr(a)?Fr(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const tLe={name:"definition",tokenize:nLe},rLe={partial:!0,tokenize:aLe};function nLe(e,t,r){const n=this;let a;return i;function i(m){return e.enter("definition"),o(m)}function o(m){return zte.call(n,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return a=wo(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):r(m)}function l(m){return Xr(m)?dm(e,u)(m):u(m)}function u(m){return Pte(e,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function d(m){return e.attempt(rLe,h,h)(m)}function h(m){return kr(m)?Fr(e,f,"whitespace")(m):f(m)}function f(m){return m===null||It(m)?(e.exit("definition"),n.parser.defined.push(a),t(m)):r(m)}}function aLe(e,t,r){return n;function n(s){return Xr(s)?dm(e,a)(s):r(s)}function a(s){return Hte(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return kr(s)?Fr(e,o,"whitespace")(s):o(s)}function o(s){return s===null||It(s)?t(s):r(s)}}const iLe={name:"hardBreakEscape",tokenize:oLe};function oLe(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return It(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const sLe={name:"headingAtx",resolve:lLe,tokenize:uLe};function lLe(e,t){let r=e.length-2,n=3,a,i;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},_i(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function uLe(e,t,r){let n=0;return a;function a(d){return e.enter("atxHeading"),i(d)}function i(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&n++<6?(e.consume(d),o):d===null||Xr(d)?(e.exit("atxHeadingSequence"),s(d)):r(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||It(d)?(e.exit("atxHeading"),t(d)):kr(d)?Fr(e,s,"whitespace")(d):(e.enter("atxHeadingText"),u(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),s(d))}function u(d){return d===null||d===35||Xr(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),u)}}const cLe=["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"],QB=["pre","script","style","textarea"],dLe={concrete:!0,name:"htmlFlow",resolveTo:fLe,tokenize:mLe},hLe={partial:!0,tokenize:bLe},pLe={partial:!0,tokenize:gLe};function fLe(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 mLe(e,t,r){const n=this;let a,i,o,s,l;return u;function u(G){return d(G)}function d(G){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(G),h}function h(G){return G===33?(e.consume(G),f):G===47?(e.consume(G),i=!0,y):G===63?(e.consume(G),a=3,n.interrupt?t:P):Pa(G)?(e.consume(G),o=String.fromCharCode(G),F):r(G)}function f(G){return G===45?(e.consume(G),a=2,m):G===91?(e.consume(G),a=5,s=0,b):Pa(G)?(e.consume(G),a=4,n.interrupt?t:P):r(G)}function m(G){return G===45?(e.consume(G),n.interrupt?t:P):r(G)}function b(G){const ne="CDATA[";return G===ne.charCodeAt(s++)?(e.consume(G),s===ne.length?n.interrupt?t:j:b):r(G)}function y(G){return Pa(G)?(e.consume(G),o=String.fromCharCode(G),F):r(G)}function F(G){if(G===null||G===47||G===62||Xr(G)){const ne=G===47,oe=o.toLowerCase();return!ne&&!i&&QB.includes(oe)?(a=1,n.interrupt?t(G):j(G)):cLe.includes(o.toLowerCase())?(a=6,ne?(e.consume(G),x):n.interrupt?t(G):j(G)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(G):i?E(G):C(G))}return G===45||Ta(G)?(e.consume(G),o+=String.fromCharCode(G),F):r(G)}function x(G){return G===62?(e.consume(G),n.interrupt?t:j):r(G)}function E(G){return kr(G)?(e.consume(G),E):L(G)}function C(G){return G===47?(e.consume(G),L):G===58||G===95||Pa(G)?(e.consume(G),_):kr(G)?(e.consume(G),C):L(G)}function _(G){return G===45||G===46||G===58||G===95||Ta(G)?(e.consume(G),_):D(G)}function D(G){return G===61?(e.consume(G),w):kr(G)?(e.consume(G),D):C(G)}function w(G){return G===null||G===60||G===61||G===62||G===96?r(G):G===34||G===39?(e.consume(G),l=G,A):kr(G)?(e.consume(G),w):I(G)}function A(G){return G===l?(e.consume(G),l=null,M):G===null||It(G)?r(G):(e.consume(G),A)}function I(G){return G===null||G===34||G===39||G===47||G===60||G===61||G===62||G===96||Xr(G)?D(G):(e.consume(G),I)}function M(G){return G===47||G===62||kr(G)?C(G):r(G)}function L(G){return G===62?(e.consume(G),U):r(G)}function U(G){return G===null||It(G)?j(G):kr(G)?(e.consume(G),U):r(G)}function j(G){return G===45&&a===2?(e.consume(G),q):G===60&&a===1?(e.consume(G),W):G===62&&a===4?(e.consume(G),Z):G===63&&a===3?(e.consume(G),P):G===93&&a===5?(e.consume(G),te):It(G)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(hLe,K,z)(G)):G===null||It(G)?(e.exit("htmlFlowData"),z(G)):(e.consume(G),j)}function z(G){return e.check(pLe,V,K)(G)}function V(G){return e.enter("lineEnding"),e.consume(G),e.exit("lineEnding"),X}function X(G){return G===null||It(G)?z(G):(e.enter("htmlFlowData"),j(G))}function q(G){return G===45?(e.consume(G),P):j(G)}function W(G){return G===47?(e.consume(G),o="",B):j(G)}function B(G){if(G===62){const ne=o.toLowerCase();return QB.includes(ne)?(e.consume(G),Z):j(G)}return Pa(G)&&o.length<8?(e.consume(G),o+=String.fromCharCode(G),B):j(G)}function te(G){return G===93?(e.consume(G),P):j(G)}function P(G){return G===62?(e.consume(G),Z):G===45&&a===2?(e.consume(G),P):j(G)}function Z(G){return G===null||It(G)?(e.exit("htmlFlowData"),K(G)):(e.consume(G),Z)}function K(G){return e.exit("htmlFlow"),t(G)}}function gLe(e,t,r){const n=this;return a;function a(o){return It(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):r(o)}function i(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function bLe(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(S0,t,r)}}const yLe={name:"htmlText",tokenize:vLe};function vLe(e,t,r){const n=this;let a,i,o;return s;function s(P){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(P),l}function l(P){return P===33?(e.consume(P),u):P===47?(e.consume(P),D):P===63?(e.consume(P),C):Pa(P)?(e.consume(P),I):r(P)}function u(P){return P===45?(e.consume(P),d):P===91?(e.consume(P),i=0,b):Pa(P)?(e.consume(P),E):r(P)}function d(P){return P===45?(e.consume(P),m):r(P)}function h(P){return P===null?r(P):P===45?(e.consume(P),f):It(P)?(o=h,W(P)):(e.consume(P),h)}function f(P){return P===45?(e.consume(P),m):h(P)}function m(P){return P===62?q(P):P===45?f(P):h(P)}function b(P){const Z="CDATA[";return P===Z.charCodeAt(i++)?(e.consume(P),i===Z.length?y:b):r(P)}function y(P){return P===null?r(P):P===93?(e.consume(P),F):It(P)?(o=y,W(P)):(e.consume(P),y)}function F(P){return P===93?(e.consume(P),x):y(P)}function x(P){return P===62?q(P):P===93?(e.consume(P),x):y(P)}function E(P){return P===null||P===62?q(P):It(P)?(o=E,W(P)):(e.consume(P),E)}function C(P){return P===null?r(P):P===63?(e.consume(P),_):It(P)?(o=C,W(P)):(e.consume(P),C)}function _(P){return P===62?q(P):C(P)}function D(P){return Pa(P)?(e.consume(P),w):r(P)}function w(P){return P===45||Ta(P)?(e.consume(P),w):A(P)}function A(P){return It(P)?(o=A,W(P)):kr(P)?(e.consume(P),A):q(P)}function I(P){return P===45||Ta(P)?(e.consume(P),I):P===47||P===62||Xr(P)?M(P):r(P)}function M(P){return P===47?(e.consume(P),q):P===58||P===95||Pa(P)?(e.consume(P),L):It(P)?(o=M,W(P)):kr(P)?(e.consume(P),M):q(P)}function L(P){return P===45||P===46||P===58||P===95||Ta(P)?(e.consume(P),L):U(P)}function U(P){return P===61?(e.consume(P),j):It(P)?(o=U,W(P)):kr(P)?(e.consume(P),U):M(P)}function j(P){return P===null||P===60||P===61||P===62||P===96?r(P):P===34||P===39?(e.consume(P),a=P,z):It(P)?(o=j,W(P)):kr(P)?(e.consume(P),j):(e.consume(P),V)}function z(P){return P===a?(e.consume(P),a=void 0,X):P===null?r(P):It(P)?(o=z,W(P)):(e.consume(P),z)}function V(P){return P===null||P===34||P===39||P===60||P===61||P===96?r(P):P===47||P===62||Xr(P)?M(P):(e.consume(P),V)}function X(P){return P===47||P===62||Xr(P)?M(P):r(P)}function q(P){return P===62?(e.consume(P),e.exit("htmlTextData"),e.exit("htmlText"),t):r(P)}function W(P){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),B}function B(P){return kr(P)?Fr(e,te,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):te(P)}function te(P){return e.enter("htmlTextData"),o(P)}}const D5={name:"labelEnd",resolveAll:xLe,resolveTo:wLe,tokenize:kLe},FLe={tokenize:CLe},ELe={tokenize:TLe},SLe={tokenize:ALe};function xLe(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&_i(e,0,e.length,r),e}function wLe(e,t){let r=e.length,n=0,a,i,o,s;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(o=r);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},d={type:"labelText",start:{...e[i+n+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",l,t],["enter",u,t]],s=Zi(s,e.slice(i+1,i+n+3)),s=Zi(s,[["enter",d,t]]),s=Zi(s,s2(t.parser.constructs.insideSpan.null,e.slice(i+n+4,o-3),t)),s=Zi(s,[["exit",d,t],e[o-2],e[o-1],["exit",u,t]]),s=Zi(s,e.slice(o+1)),s=Zi(s,[["exit",l,t]]),_i(e,i,e.length,s),e}function kLe(e,t,r){const n=this;let a=n.events.length,i,o;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return s;function s(f){return i?i._inactive?h(f):(o=n.parser.defined.includes(wo(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),l):r(f)}function l(f){return f===40?e.attempt(FLe,d,o?d:h)(f):f===91?e.attempt(ELe,d,o?u:h)(f):o?d(f):h(f)}function u(f){return e.attempt(SLe,d,h)(f)}function d(f){return t(f)}function h(f){return i._balanced=!0,r(f)}}function CLe(e,t,r){return n;function n(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),a}function a(h){return Xr(h)?dm(e,i)(h):i(h)}function i(h){return h===41?d(h):Pte(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function o(h){return Xr(h)?dm(e,l)(h):d(h)}function s(h){return r(h)}function l(h){return h===34||h===39||h===40?Hte(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):d(h)}function u(h){return Xr(h)?dm(e,d)(h):d(h)}function d(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):r(h)}}function TLe(e,t,r){const n=this;return a;function a(s){return zte.call(n,e,i,o,"reference","referenceMarker","referenceString")(s)}function i(s){return n.parser.defined.includes(wo(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function o(s){return r(s)}}function ALe(e,t,r){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):r(i)}}const _Le={name:"labelStartImage",resolveAll:D5.resolveAll,tokenize:DLe};function DLe(e,t,r){const n=this;return a;function a(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):r(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const RLe={name:"labelStartLink",resolveAll:D5.resolveAll,tokenize:NLe};function NLe(e,t,r){const n=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const $x={name:"lineEnding",tokenize:LLe};function LLe(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Fr(e,t,"linePrefix")}}const yb={name:"thematicBreak",tokenize:MLe};function MLe(e,t,r){let n=0,a;return i;function i(u){return e.enter("thematicBreak"),o(u)}function o(u){return a=u,s(u)}function s(u){return u===a?(e.enter("thematicBreakSequence"),l(u)):n>=3&&(u===null||It(u))?(e.exit("thematicBreak"),t(u)):r(u)}function l(u){return u===a?(e.consume(u),n++,l):(e.exit("thematicBreakSequence"),kr(u)?Fr(e,s,"whitespace")(u):s(u))}}const Ja={continuation:{tokenize:PLe},exit:HLe,name:"list",tokenize:BLe},ILe={partial:!0,tokenize:ULe},OLe={partial:!0,tokenize:zLe};function BLe(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return s;function s(m){const b=n.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||m===n.containerState.marker:SD(m)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(yb,r,u)(m):u(m);if(!n.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return r(m)}function l(m){return SD(m)&&++o<10?(e.consume(m),l):(!n.interrupt||o<2)&&(n.containerState.marker?m===n.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),u(m)):r(m)}function u(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||m,e.check(S0,n.interrupt?r:d,e.attempt(ILe,f,h))}function d(m){return n.containerState.initialBlankLine=!0,i++,f(m)}function h(m){return kr(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),f):r(m)}function f(m){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function PLe(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(S0,a,i);function a(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Fr(e,t,"listItemIndent",n.containerState.size+1)(s)}function i(s){return n.containerState.furtherBlankLines||!kr(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(OLe,t,o)(s))}function o(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,Fr(e,e.attempt(Ja,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function zLe(e,t,r){const n=this;return Fr(e,a,"listItemIndent",n.containerState.size+1);function a(i){const o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(i):r(i)}}function HLe(e){e.exit(this.containerState.type)}function ULe(e,t,r){const n=this;return Fr(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const o=n.events[n.events.length-1];return!kr(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const eP={name:"setextUnderline",resolveTo:GLe,tokenize:$Le};function GLe(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const o={type:"setextHeading",start:{...e[a][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e}function $Le(e,t,r){const n=this;let a;return i;function i(u){let d=n.events.length,h;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){h=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(e.enter("setextHeadingLine"),a=u,o(u)):r(u)}function o(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===a?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),kr(u)?Fr(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||It(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}const jLe={tokenize:qLe};function qLe(e){const t=this,r=e.attempt(S0,n,e.attempt(this.parser.constructs.flowInitial,a,Fr(e,e.attempt(this.parser.constructs.flow,a,e.attempt(XNe,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const WLe={resolveAll:Gte()},VLe=Ute("string"),KLe=Ute("text");function Ute(e){return{resolveAll:Gte(e==="text"?YLe:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,o,s);return o;function o(d){return u(d)?i(d):s(d)}function s(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),l}function l(d){return u(d)?(r.exit("data"),i(d)):(r.consume(d),l)}function u(d){if(d===null)return!0;const h=a[d];let f=-1;if(h)for(;++f<h.length;){const m=h[f];if(!m.previous||m.previous.call(n,n.previous))return!0}return!1}}}function Gte(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function YLe(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let i=a.length,o=-1,s=0,l;for(;i--;){const u=a[i];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(u===-2)l=!0,s++;else if(u!==-1){i++;break}}if(s){const u={type:r===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?o:n.start._bufferIndex+o,_index:n.start._index+i,line:n.end.line,column:n.end.column-s,offset:n.end.offset-s},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}const XLe={42:Ja,43:Ja,45:Ja,48:Ja,49:Ja,50:Ja,51:Ja,52:Ja,53:Ja,54:Ja,55:Ja,56:Ja,57:Ja,62:Mte},JLe={91:tLe},ZLe={[-2]:Gx,[-1]:Gx,32:Gx},QLe={35:sLe,42:yb,45:[eP,yb],60:dLe,61:eP,95:yb,96:ZB,126:ZB},e9e={38:Ote,92:Ite},t9e={[-5]:$x,[-4]:$x,[-3]:$x,33:_Le,38:Ote,42:xD,60:[RNe,yLe],91:RLe,92:[iLe,Ite],93:D5,95:xD,96:jNe},r9e={null:[xD,WLe]},n9e={null:[42,95]},a9e={null:[]},i9e=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:n9e,contentInitial:JLe,disable:a9e,document:XLe,flow:QLe,flowInitial:ZLe,insideSpan:r9e,string:e9e,text:t9e},Symbol.toStringTag,{value:"Module"}));function o9e(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let o=[],s=[];const l={attempt:A(D),check:A(w),consume:E,enter:C,exit:_,interrupt:A(w,{interrupt:!0})},u={code:null,containerState:{},defineSkip:y,events:[],now:b,parser:e,previous:null,sliceSerialize:f,sliceStream:m,write:h};let d=t.tokenize.call(u,l);return t.resolveAll&&i.push(t),u;function h(U){return o=Zi(o,U),F(),o[o.length-1]!==null?[]:(I(t,0),u.events=s2(i,u.events,u),u.events)}function f(U,j){return l9e(m(U),j)}function m(U){return s9e(o,U)}function b(){const{_bufferIndex:U,_index:j,line:z,column:V,offset:X}=n;return{_bufferIndex:U,_index:j,line:z,column:V,offset:X}}function y(U){a[U.line]=U.column,L()}function F(){let U;for(;n._index<o.length;){const j=o[n._index];if(typeof j=="string")for(U=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===U&&n._bufferIndex<j.length;)x(j.charCodeAt(n._bufferIndex));else x(j)}}function x(U){d=d(U)}function E(U){It(U)?(n.line++,n.column=1,n.offset+=U===-3?2:1,L()):U!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=U}function C(U,j){const z=j||{};return z.type=U,z.start=b(),u.events.push(["enter",z,u]),s.push(z),z}function _(U){const j=s.pop();return j.end=b(),u.events.push(["exit",j,u]),j}function D(U,j){I(U,j.from)}function w(U,j){j.restore()}function A(U,j){return z;function z(V,X,q){let W,B,te,P;return Array.isArray(V)?K(V):"tokenize"in V?K([V]):Z(V);function Z(de){return ie;function ie(ue){const Ne=ue!==null&&de[ue],pe=ue!==null&&de.null,Le=[...Array.isArray(Ne)?Ne:Ne?[Ne]:[],...Array.isArray(pe)?pe:pe?[pe]:[]];return K(Le)(ue)}}function K(de){return W=de,B=0,de.length===0?q:G(de[B])}function G(de){return ie;function ie(ue){return P=M(),te=de,de.partial||(u.currentConstruct=de),de.name&&u.parser.constructs.disable.null.includes(de.name)?oe():de.tokenize.call(j?Object.assign(Object.create(u),j):u,l,ne,oe)(ue)}}function ne(de){return U(te,P),X}function oe(de){return P.restore(),++B<W.length?G(W[B]):q}}}function I(U,j){U.resolveAll&&!i.includes(U)&&i.push(U),U.resolve&&_i(u.events,j,u.events.length-j,U.resolve(u.events.slice(j),u)),U.resolveTo&&(u.events=U.resolveTo(u.events,u))}function M(){const U=b(),j=u.previous,z=u.currentConstruct,V=u.events.length,X=Array.from(s);return{from:V,restore:q};function q(){n=U,u.previous=j,u.currentConstruct=z,u.events.length=V,s=X,L()}}function L(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function s9e(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;if(r===a)o=[e[r].slice(n,i)];else{if(o=e.slice(r,a),n>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(n):o.shift()}i>0&&o.push(e[a].slice(0,i))}return o}function l9e(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let o;if(typeof i=="string")o=i;else switch(i){case-5:{o="\r";break}case-4:{o=`
|
||
`;break}case-3:{o=`\r
|
||
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(i)}a=i===-2,n.push(o)}return n.join("")}function u9e(e){const n={constructs:Nte([i9e,...(e||{}).extensions||[]]),content:a(wNe),defined:[],document:a(CNe),flow:a(jLe),lazy:{},string:a(VLe),text:a(KLe)};return n;function a(i){return o;function o(s){return o9e(n,i,s)}}}function c9e(e){for(;!Bte(e););return e}const tP=/[\0\t\n\r]/g;function d9e(){let e=1,t="",r=!0,n;return a;function a(i,o,s){const l=[];let u,d,h,f,m;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),h=0,t="",r&&(i.charCodeAt(0)===65279&&h++,r=void 0);h<i.length;){if(tP.lastIndex=h,u=tP.exec(i),f=u&&u.index!==void 0?u.index:i.length,m=i.charCodeAt(f),!u){t=i.slice(h);break}if(m===10&&h===f&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),h<f&&(l.push(i.slice(h,f)),e+=f-h),m){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}h=f+1}return s&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const h9e=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function p9e(e){return e.replace(h9e,f9e)}function f9e(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return Lte(r.slice(i?2:1),i?16:10)}return _5(r)||e}const $te={}.hasOwnProperty;function m9e(e,t,r){return typeof t!="string"&&(r=t,t=void 0),g9e(r)(c9e(u9e(r).document().write(d9e()(e,t,!0))))}function g9e(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(qe),autolinkProtocol:M,autolinkEmail:M,atxHeading:i(Re),blockQuote:i(pe),characterEscape:M,characterReference:M,codeFenced:i(Le),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(Le,o),codeText:i(Me,o),codeTextData:M,data:M,codeFlowValue:M,definition:i(Ee),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(Te),hardBreakEscape:i(fe),hardBreakTrailing:i(fe),htmlFlow:i(Ze,o),htmlFlowData:M,htmlText:i(Ze,o),htmlTextData:M,image:i(yt),label:o,link:i(qe),listItem:i(xe),listItemValue:f,listOrdered:i(Ke,h),listUnordered:i(Ke),paragraph:i(Yt),reference:G,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(Re),strong:i(nr),thematicBreak:i(Qe)},exit:{atxHeading:l(),atxHeadingSequence:D,autolink:l(),autolinkEmail:Ne,autolinkProtocol:ue,blockQuote:l(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:oe,characterReferenceMarkerNumeric:oe,characterReferenceValue:de,characterReference:ie,codeFenced:l(F),codeFencedFence:y,codeFencedFenceInfo:m,codeFencedFenceMeta:b,codeFlowValue:L,codeIndented:l(x),codeText:l(X),codeTextData:L,data:L,definition:l(),definitionDestinationString:_,definitionLabelString:E,definitionTitleString:C,emphasis:l(),hardBreakEscape:l(j),hardBreakTrailing:l(j),htmlFlow:l(z),htmlFlowData:L,htmlText:l(V),htmlTextData:L,image:l(W),label:te,labelText:B,lineEnding:U,link:l(q),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:ne,resourceDestinationString:P,resourceTitleString:Z,resource:K,setextHeading:l(I),setextHeadingLineSequence:A,setextHeadingText:w,strong:l(),thematicBreak:l()}};jte(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(me){let ke={type:"root",children:[]};const Ye={stack:[ke],tokenStack:[],config:t,enter:s,exit:u,buffer:o,resume:d,data:r},pt=[];let St=-1;for(;++St<me.length;)if(me[St][1].type==="listOrdered"||me[St][1].type==="listUnordered")if(me[St][0]==="enter")pt.push(St);else{const gr=pt.pop();St=a(me,gr,St)}for(St=-1;++St<me.length;){const gr=t[me[St][0]];$te.call(gr,me[St][1].type)&&gr[me[St][1].type].call(Object.assign({sliceSerialize:me[St][2].sliceSerialize},Ye),me[St][1])}if(Ye.tokenStack.length>0){const gr=Ye.tokenStack[Ye.tokenStack.length-1];(gr[1]||rP).call(Ye,void 0,gr[0])}for(ke.position={start:Xl(me.length>0?me[0][1].start:{line:1,column:1,offset:0}),end:Xl(me.length>0?me[me.length-2][1].end:{line:1,column:1,offset:0})},St=-1;++St<t.transforms.length;)ke=t.transforms[St](ke)||ke;return ke}function a(me,ke,Ye){let pt=ke-1,St=-1,gr=!1,Sr,ar,Nt,br;for(;++pt<=Ye;){const Fe=me[pt];switch(Fe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Fe[0]==="enter"?St++:St--,br=void 0;break}case"lineEndingBlank":{Fe[0]==="enter"&&(Sr&&!br&&!St&&!Nt&&(Nt=pt),br=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:br=void 0}if(!St&&Fe[0]==="enter"&&Fe[1].type==="listItemPrefix"||St===-1&&Fe[0]==="exit"&&(Fe[1].type==="listUnordered"||Fe[1].type==="listOrdered")){if(Sr){let $e=pt;for(ar=void 0;$e--;){const ct=me[$e];if(ct[1].type==="lineEnding"||ct[1].type==="lineEndingBlank"){if(ct[0]==="exit")continue;ar&&(me[ar][1].type="lineEndingBlank",gr=!0),ct[1].type="lineEnding",ar=$e}else if(!(ct[1].type==="linePrefix"||ct[1].type==="blockQuotePrefix"||ct[1].type==="blockQuotePrefixWhitespace"||ct[1].type==="blockQuoteMarker"||ct[1].type==="listItemIndent"))break}Nt&&(!ar||Nt<ar)&&(Sr._spread=!0),Sr.end=Object.assign({},ar?me[ar][1].start:Fe[1].end),me.splice(ar||pt,0,["exit",Sr,Fe[2]]),pt++,Ye++}if(Fe[1].type==="listItemPrefix"){const $e={type:"listItem",_spread:!1,start:Object.assign({},Fe[1].start),end:void 0};Sr=$e,me.splice(pt,0,["enter",$e,Fe[2]]),pt++,Ye++,Nt=void 0,br=!0}}}return me[ke][1]._spread=gr,Ye}function i(me,ke){return Ye;function Ye(pt){s.call(this,me(pt),pt),ke&&ke.call(this,pt)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(me,ke,Ye){this.stack[this.stack.length-1].children.push(me),this.stack.push(me),this.tokenStack.push([ke,Ye||void 0]),me.position={start:Xl(ke.start),end:void 0}}function l(me){return ke;function ke(Ye){me&&me.call(this,Ye),u.call(this,Ye)}}function u(me,ke){const Ye=this.stack.pop(),pt=this.tokenStack.pop();if(pt)pt[0].type!==me.type&&(ke?ke.call(this,me,pt[0]):(pt[1]||rP).call(this,me,pt[0]));else throw new Error("Cannot close `"+me.type+"` ("+cm({start:me.start,end:me.end})+"): it’s not open");Ye.position.end=Xl(me.end)}function d(){return A5(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function f(me){if(this.data.expectingFirstListItemValue){const ke=this.stack[this.stack.length-2];ke.start=Number.parseInt(this.sliceSerialize(me),10),this.data.expectingFirstListItemValue=void 0}}function m(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.lang=me}function b(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.meta=me}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.value=me.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.value=me.replace(/(\r?\n|\r)$/g,"")}function E(me){const ke=this.resume(),Ye=this.stack[this.stack.length-1];Ye.label=ke,Ye.identifier=wo(this.sliceSerialize(me)).toLowerCase()}function C(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.title=me}function _(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.url=me}function D(me){const ke=this.stack[this.stack.length-1];if(!ke.depth){const Ye=this.sliceSerialize(me).length;ke.depth=Ye}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function A(me){const ke=this.stack[this.stack.length-1];ke.depth=this.sliceSerialize(me).codePointAt(0)===61?1:2}function I(){this.data.setextHeadingSlurpLineEnding=void 0}function M(me){const Ye=this.stack[this.stack.length-1].children;let pt=Ye[Ye.length-1];(!pt||pt.type!=="text")&&(pt=Pe(),pt.position={start:Xl(me.start),end:void 0},Ye.push(pt)),this.stack.push(pt)}function L(me){const ke=this.stack.pop();ke.value+=this.sliceSerialize(me),ke.position.end=Xl(me.end)}function U(me){const ke=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ye=ke.children[ke.children.length-1];Ye.position.end=Xl(me.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ke.type)&&(M.call(this,me),L.call(this,me))}function j(){this.data.atHardBreak=!0}function z(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.value=me}function V(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.value=me}function X(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.value=me}function q(){const me=this.stack[this.stack.length-1];if(this.data.inReference){const ke=this.data.referenceType||"shortcut";me.type+="Reference",me.referenceType=ke,delete me.url,delete me.title}else delete me.identifier,delete me.label;this.data.referenceType=void 0}function W(){const me=this.stack[this.stack.length-1];if(this.data.inReference){const ke=this.data.referenceType||"shortcut";me.type+="Reference",me.referenceType=ke,delete me.url,delete me.title}else delete me.identifier,delete me.label;this.data.referenceType=void 0}function B(me){const ke=this.sliceSerialize(me),Ye=this.stack[this.stack.length-2];Ye.label=p9e(ke),Ye.identifier=wo(ke).toLowerCase()}function te(){const me=this.stack[this.stack.length-1],ke=this.resume(),Ye=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ye.type==="link"){const pt=me.children;Ye.children=pt}else Ye.alt=ke}function P(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.url=me}function Z(){const me=this.resume(),ke=this.stack[this.stack.length-1];ke.title=me}function K(){this.data.inReference=void 0}function G(){this.data.referenceType="collapsed"}function ne(me){const ke=this.resume(),Ye=this.stack[this.stack.length-1];Ye.label=ke,Ye.identifier=wo(this.sliceSerialize(me)).toLowerCase(),this.data.referenceType="full"}function oe(me){this.data.characterReferenceType=me.type}function de(me){const ke=this.sliceSerialize(me),Ye=this.data.characterReferenceType;let pt;Ye?(pt=Lte(ke,Ye==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):pt=_5(ke);const St=this.stack[this.stack.length-1];St.value+=pt}function ie(me){const ke=this.stack.pop();ke.position.end=Xl(me.end)}function ue(me){L.call(this,me);const ke=this.stack[this.stack.length-1];ke.url=this.sliceSerialize(me)}function Ne(me){L.call(this,me);const ke=this.stack[this.stack.length-1];ke.url="mailto:"+this.sliceSerialize(me)}function pe(){return{type:"blockquote",children:[]}}function Le(){return{type:"code",lang:null,meta:null,value:""}}function Me(){return{type:"inlineCode",value:""}}function Ee(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Te(){return{type:"emphasis",children:[]}}function Re(){return{type:"heading",depth:0,children:[]}}function fe(){return{type:"break"}}function Ze(){return{type:"html",value:""}}function yt(){return{type:"image",title:null,url:"",alt:null}}function qe(){return{type:"link",title:null,url:"",children:[]}}function Ke(me){return{type:"list",ordered:me.type==="listOrdered",start:null,spread:me._spread,children:[]}}function xe(me){return{type:"listItem",spread:me._spread,checked:null,children:[]}}function Yt(){return{type:"paragraph",children:[]}}function nr(){return{type:"strong",children:[]}}function Pe(){return{type:"text",value:""}}function Qe(){return{type:"thematicBreak"}}}function Xl(e){return{line:e.line,column:e.column,offset:e.offset}}function jte(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?jte(e,n):b9e(e,n)}}function b9e(e,t){let r;for(r in t)if($te.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function rP(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+cm({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+cm({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+cm({start:t.start,end:t.end})+") is still open")}function y9e(e){const t=this;t.parser=r;function r(n){return m9e(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function v9e(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function F9e(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
||
`}]}function E9e(e,t){const r=t.value?t.value+`
|
||
`:"",n={};t.lang&&(n.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};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 S9e(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function x9e(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function w9e(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=hp(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o,s=e.footnoteCounts.get(n);s===void 0?(s=0,e.footnoteOrder.push(n),o=e.footnoteOrder.length):o=i+1,s+=1,e.footnoteCounts.set(n,s);const l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function k9e(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function C9e(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function qte(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const o=a[a.length-1];return o&&o.type==="text"?o.value+=n:a.push({type:"text",value:n}),a}function T9e(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return qte(e,t);const a={src:hp(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function A9e(e,t){const r={src:hp(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function _9e(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function D9e(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return qte(e,t);const a={href:hp(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function R9e(e,t){const r={href:hp(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function N9e(e,t,r){const n=e.all(t),a=r?L9e(r):Wte(t),i={},o=[];if(typeof t.checked=="boolean"){const d=n[0];let h;d&&d.type==="element"&&d.tagName==="p"?h=d:(h={type:"element",tagName:"p",properties:{},children:[]},n.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const d=n[s];(a||s!==0||d.type!=="element"||d.tagName!=="p")&&o.push({type:"text",value:`
|
||
`}),d.type==="element"&&d.tagName==="p"&&!a?o.push(...d.children):o.push(d)}const l=n[n.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&o.push({type:"text",value:`
|
||
`});const u={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,u),e.applyData(t,u)}function L9e(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=Wte(r[n])}return t}function Wte(e){const t=e.spread;return t??e.children.length>1}function M9e(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const o=n[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function I9e(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function O9e(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function B9e(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function P9e(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],o),a.push(o)}if(r.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=ms(t.children[1]),l=i2(t.children[t.children.length-1]);s&&l&&(o.position={start:s,end:l}),a.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function z9e(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",o=r&&r.type==="table"?r.align:void 0,s=o?o.length:t.children.length;let l=-1;const u=[];for(;++l<s;){const h=t.children[l],f={},m=o?o[l]:void 0;m&&(f.align=m);let b={type:"element",tagName:i,properties:f,children:[]};h&&(b.children=e.all(h),e.patch(h,b),b=e.applyData(h,b)),u.push(b)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,d),e.applyData(t,d)}function H9e(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const nP=9,aP=32;function U9e(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(iP(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(iP(t.slice(a),a>0,!1)),i.join("")}function iP(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===nP||i===aP;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===nP||i===aP;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function G9e(e,t){const r={type:"text",value:U9e(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function $9e(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const j9e={blockquote:v9e,break:F9e,code:E9e,delete:S9e,emphasis:x9e,footnoteReference:w9e,heading:k9e,html:C9e,imageReference:T9e,image:A9e,inlineCode:_9e,linkReference:D9e,link:R9e,listItem:N9e,list:M9e,paragraph:I9e,root:O9e,strong:B9e,table:P9e,tableCell:H9e,tableRow:z9e,text:G9e,thematicBreak:$9e,toml:M1,yaml:M1,definition:M1,footnoteDefinition:M1};function M1(){}const Vte=-1,l2=0,hm=1,gy=2,R5=3,N5=4,L5=5,M5=6,Kte=7,Yte=8,oP=typeof self=="object"?self:globalThis,q9e=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case l2:case Vte:return r(o,a);case hm:{const s=r([],a);for(const l of o)s.push(n(l));return s}case gy:{const s=r({},a);for(const[l,u]of o)s[n(l)]=n(u);return s}case R5:return r(new Date(o),a);case N5:{const{source:s,flags:l}=o;return r(new RegExp(s,l),a)}case L5:{const s=r(new Map,a);for(const[l,u]of o)s.set(n(l),n(u));return s}case M5:{const s=r(new Set,a);for(const l of o)s.add(n(l));return s}case Kte:{const{name:s,message:l}=o;return r(new oP[s](l),a)}case Yte:return r(BigInt(o),a);case"BigInt":return r(Object(BigInt(o)),a);case"ArrayBuffer":return r(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return r(new DataView(s),o)}}return r(new oP[i](o),a)};return n},sP=e=>q9e(new Map,e)(0),jd="",{toString:W9e}={},{keys:V9e}=Object,Nf=e=>{const t=typeof e;if(t!=="object"||!e)return[l2,t];const r=W9e.call(e).slice(8,-1);switch(r){case"Array":return[hm,jd];case"Object":return[gy,jd];case"Date":return[R5,jd];case"RegExp":return[N5,jd];case"Map":return[L5,jd];case"Set":return[M5,jd];case"DataView":return[hm,r]}return r.includes("Array")?[hm,r]:r.includes("Error")?[Kte,r]:[gy,r]},I1=([e,t])=>e===l2&&(t==="function"||t==="symbol"),K9e=(e,t,r,n)=>{const a=(o,s)=>{const l=n.push(o)-1;return r.set(s,l),l},i=o=>{if(r.has(o))return r.get(o);let[s,l]=Nf(o);switch(s){case l2:{let d=o;switch(l){case"bigint":s=Yte,d=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return a([Vte],o)}return a([s,d],o)}case hm:{if(l){let f=o;return l==="DataView"?f=new Uint8Array(o.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(o)),a([l,[...f]],o)}const d=[],h=a([s,d],o);for(const f of o)d.push(i(f));return h}case gy:{if(l)switch(l){case"BigInt":return a([l,o.toString()],o);case"Boolean":case"Number":case"String":return a([l,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const d=[],h=a([s,d],o);for(const f of V9e(o))(e||!I1(Nf(o[f])))&&d.push([i(f),i(o[f])]);return h}case R5:return a([s,o.toISOString()],o);case N5:{const{source:d,flags:h}=o;return a([s,{source:d,flags:h}],o)}case L5:{const d=[],h=a([s,d],o);for(const[f,m]of o)(e||!(I1(Nf(f))||I1(Nf(m))))&&d.push([i(f),i(m)]);return h}case M5:{const d=[],h=a([s,d],o);for(const f of o)(e||!I1(Nf(f)))&&d.push(i(f));return h}}const{message:u}=o;return a([s,{name:l,message:u}],o)};return i},lP=(e,{json:t,lossy:r}={})=>{const n=[];return K9e(!(t||r),!!t,new Map,n)(e),n},Mh=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?sP(lP(e,t)):structuredClone(e):(e,t)=>sP(lP(e,t));function Y9e(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function X9e(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function J9e(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||Y9e,n=e.options.footnoteBackLabel||X9e,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[l]);if(!u)continue;const d=e.all(u),h=String(u.identifier).toUpperCase(),f=hp(h.toLowerCase());let m=0;const b=[],y=e.footnoteCounts.get(h);for(;y!==void 0&&++m<=y;){b.length>0&&b.push({type:"text",value:" "});let E=typeof r=="string"?r:r(l,m);typeof E=="string"&&(E={type:"text",value:E}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,m),className:["data-footnote-backref"]},children:Array.isArray(E)?E:[E]})}const F=d[d.length-1];if(F&&F.type==="element"&&F.tagName==="p"){const E=F.children[F.children.length-1];E&&E.type==="text"?E.value+=" ":F.children.push({type:"text",value:" "}),F.children.push(...b)}else d.push(...b);const x={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(d,!0)};e.patch(u,x),s.push(x)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Mh(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
|
||
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
|
||
`}]}}const u2=function(e){if(e==null)return tMe;if(typeof e=="function")return c2(e);if(typeof e=="object")return Array.isArray(e)?Z9e(e):Q9e(e);if(typeof e=="string")return eMe(e);throw new Error("Expected function, string, or object as test")};function Z9e(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=u2(e[r]);return c2(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function Q9e(e){const t=e;return c2(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function eMe(e){return c2(t);function t(r){return r&&r.type===e}}function c2(e){return t;function t(r,n,a){return!!(rMe(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function tMe(){return!0}function rMe(e){return e!==null&&typeof e=="object"&&"type"in e}const Xte=[],nMe=!0,wD=!1,aMe="skip";function Jte(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=u2(a),o=n?-1:1;s(e,void 0,[])();function s(l,u,d){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const m=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return f;function f(){let m=Xte,b,y,F;if((!t||i(l,u,d[d.length-1]||void 0))&&(m=iMe(r(l,d)),m[0]===wD))return m;if("children"in l&&l.children){const x=l;if(x.children&&m[0]!==aMe)for(y=(n?x.children.length:-1)+o,F=d.concat(x);y>-1&&y<x.children.length;){const E=x.children[y];if(b=s(E,y,F)(),b[0]===wD)return b;y=typeof b[1]=="number"?b[1]:y+o}}return m}}}function iMe(e){return Array.isArray(e)?e:typeof e=="number"?[nMe,e]:e==null?Xte:[e]}function x0(e,t,r,n){let a,i,o;typeof t=="function"&&typeof r!="function"?(i=void 0,o=t,a=r):(i=t,o=r,a=n),Jte(e,i,s,a);function s(l,u){const d=u[u.length-1],h=d?d.children.indexOf(l):void 0;return o(l,h,d)}}const kD={}.hasOwnProperty,oMe={};function sMe(e,t){const r=t||oMe,n=new Map,a=new Map,i=new Map,o={...j9e,...r.handlers},s={all:u,applyData:uMe,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:o,one:l,options:r,patch:lMe,wrap:dMe};return x0(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const h=d.type==="definition"?n:a,f=String(d.identifier).toUpperCase();h.has(f)||h.set(f,d)}}),s;function l(d,h){const f=d.type,m=s.handlers[f];if(kD.call(s.handlers,f)&&m)return m(s,d,h);if(s.options.passThrough&&s.options.passThrough.includes(f)){if("children"in d){const{children:y,...F}=d,x=Mh(F);return x.children=s.all(d),x}return Mh(d)}return(s.options.unknownHandler||cMe)(s,d,h)}function u(d){const h=[];if("children"in d){const f=d.children;let m=-1;for(;++m<f.length;){const b=s.one(f[m],d);if(b){if(m&&f[m-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=uP(b.value)),!Array.isArray(b)&&b.type==="element")){const y=b.children[0];y&&y.type==="text"&&(y.value=uP(y.value))}Array.isArray(b)?h.push(...b):h.push(b)}}}return h}}function lMe(e,t){e.position&&(t.position=Y5e(e))}function uMe(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const o="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:o}}r.type==="element"&&i&&Object.assign(r.properties,Mh(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function cMe(e,t){const r=t.data||{},n="value"in t&&!(kD.call(r,"hProperties")||kD.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function dMe(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
|
||
`});++n<e.length;)n&&r.push({type:"text",value:`
|
||
`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
|
||
`}),r}function uP(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function cP(e,t){const r=sMe(e,t),n=r.one(e,void 0),a=J9e(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
|
||
`},a),i}function hMe(e,t){return e&&"run"in e?async function(r,n){const a=cP(r,{file:n,...t});await e.run(a,n)}:function(r,n){return cP(r,{file:n,...e||t})}}function dP(e){if(e)throw e}var jx,hP;function pMe(){if(hP)return jx;hP=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(u){return typeof Array.isArray=="function"?Array.isArray(u):t.call(u)==="[object Array]"},i=function(u){if(!u||t.call(u)!=="[object Object]")return!1;var d=e.call(u,"constructor"),h=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!h)return!1;var f;for(f in u);return typeof f>"u"||e.call(u,f)},o=function(u,d){r&&d.name==="__proto__"?r(u,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):u[d.name]=d.newValue},s=function(u,d){if(d==="__proto__")if(e.call(u,d)){if(n)return n(u,d).value}else return;return u[d]};return jx=function l(){var u,d,h,f,m,b,y=arguments[0],F=1,x=arguments.length,E=!1;for(typeof y=="boolean"&&(E=y,y=arguments[1]||{},F=2),(y==null||typeof y!="object"&&typeof y!="function")&&(y={});F<x;++F)if(u=arguments[F],u!=null)for(d in u)h=s(y,d),f=s(u,d),y!==f&&(E&&f&&(i(f)||(m=a(f)))?(m?(m=!1,b=h&&a(h)?h:[]):b=h&&i(h)?h:{},o(y,{name:d,newValue:l(E,b,f)})):typeof f<"u"&&o(y,{name:d,newValue:f}));return y},jx}var fMe=pMe();const qx=On(fMe);function CD(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 mMe(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...a);function s(l,...u){const d=e[++i];let h=-1;if(l){o(l);return}for(;++h<a.length;)(u[h]===null||u[h]===void 0)&&(u[h]=a[h]);a=u,d?gMe(d,s)(...u):o(null,...u)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function gMe(e,t){let r;return n;function n(...o){const s=e.length>o.length;let l;s&&o.push(a);try{l=e.apply(this,o)}catch(u){const d=u;if(s&&r)throw d;return a(d)}s||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(o,...s){r||(r=!0,t(o,...s))}function i(o){a(null,o)}}const Vo={basename:bMe,dirname:yMe,extname:vMe,join:FMe,sep:"/"};function bMe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');w0(e);let r=0,n=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else o<0&&(i=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(n=a):(s=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function yMe(e){if(w0(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function vMe(e){w0(e);let t=e.length,r=-1,n=0,a=-1,i=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),s===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function FMe(...e){let t=-1,r;for(;++t<e.length;)w0(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":EMe(r)}function EMe(e){w0(e);const t=e.codePointAt(0)===47;let r=SMe(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function SMe(e,t){let r="",n=0,a=-1,i=0,o=-1,s,l;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(a===o-1||i===1))if(a!==o-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),a=o,i=0;continue}}else if(r.length>0){r="",n=0,a=o,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,o):r=e.slice(a+1,o),n=o-a-1;a=o,i=0}else s===46&&i>-1?i++:i=-1}return r}function w0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const xMe={cwd:wMe};function wMe(){return"/"}function TD(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function kMe(e){if(typeof e=="string")e=new URL(e);else if(!TD(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 CMe(e)}function CMe(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const Wx=["history","path","basename","stem","extname","dirname"];class Zte{constructor(t){let r;t?TD(t)?r={path:t}:typeof t=="string"||TMe(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":xMe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Wx.length;){const i=Wx[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)Wx.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?Vo.basename(this.path):void 0}set basename(t){Kx(t,"basename"),Vx(t,"basename"),this.path=Vo.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Vo.dirname(this.path):void 0}set dirname(t){pP(this.basename,"dirname"),this.path=Vo.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Vo.extname(this.path):void 0}set extname(t){if(Vx(t,"extname"),pP(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Vo.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){TD(t)&&(t=kMe(t)),Kx(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Vo.basename(this.path,this.extname):void 0}set stem(t){Kx(t,"stem"),Vx(t,"stem"),this.path=Vo.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new Ra(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Vx(e,t){if(e&&e.includes(Vo.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Vo.sep+"`")}function Kx(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function pP(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function TMe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const AMe=function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},_Me={}.hasOwnProperty;class I5 extends AMe{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=mMe()}copy(){const t=new I5;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(qx(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Jx("data",this.frozen),this.namespace[t]=r,this):_Me.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Jx("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=O1(t),n=this.parser||this.Parser;return Yx("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),Yx("process",this.parser||this.Parser),Xx("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,o){const s=O1(t),l=n.parse(s);n.run(l,s,function(d,h,f){if(d||!h||!f)return u(d);const m=h,b=n.stringify(m,f);NMe(b)?f.value=b:f.result=b,u(d,f)});function u(d,h){d||!h?o(d):i?i(h):r(void 0,h)}}}processSync(t){let r=!1,n;return this.freeze(),Yx("processSync",this.parser||this.Parser),Xx("processSync",this.compiler||this.Compiler),this.process(t,a),mP("processSync","process",r),n;function a(i,o){r=!0,dP(i),n=o}}run(t,r,n){fP(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(o,s){const l=O1(r);a.run(t,l,u);function u(d,h,f){const m=h||t;d?s(d):o?o(m):n(void 0,m,f)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),mP("runSync","run",n),a;function i(o,s){dP(o),a=s,n=!0}}stringify(t,r){this.freeze();const n=O1(r),a=this.compiler||this.Compiler;return Xx("stringify",a),fP(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(Jx("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[d,...h]=u;l(d,h)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(u.plugins),u.settings&&(a.settings=qx(!0,a.settings,u.settings))}function s(u){let d=-1;if(u!=null)if(Array.isArray(u))for(;++d<u.length;){const h=u[d];i(h)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,d){let h=-1,f=-1;for(;++h<n.length;)if(n[h][0]===u){f=h;break}if(f===-1)n.push([u,...d]);else if(d.length>0){let[m,...b]=d;const y=n[f][1];CD(y)&&CD(m)&&(m=qx(!0,y,m)),n[f]=[u,m,...b]}}}}const DMe=new I5().freeze();function Yx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Xx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Jx(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 fP(e){if(!CD(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function mP(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function O1(e){return RMe(e)?e:new Zte(e)}function RMe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function NMe(e){return typeof e=="string"||LMe(e)}function LMe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const MMe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",gP=[],bP={allowDangerousHtml:!0},IMe=/^(https?|ircs?|mailto|xmpp)$/i,OMe=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function yP(e){const t=BMe(e),r=PMe(e);return zMe(t.runSync(t.parse(r),r),e)}function BMe(e){const t=e.rehypePlugins||gP,r=e.remarkPlugins||gP,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...bP}:bP;return DMe().use(y9e).use(r).use(hMe,n).use(t)}function PMe(e){const t=e.children||"",r=new Zte;return typeof t=="string"&&(r.value=t),r}function zMe(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||HMe;for(const d of OMe)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+MMe+d.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),x0(e,u),Tte(e,{Fragment:S.Fragment,components:a,ignoreInvalidStyle:!0,jsx:S.jsx,jsxs:S.jsxs,passKeys:!0,passNode:!0});function u(d,h,f){if(d.type==="raw"&&f&&typeof h=="number")return o?f.children.splice(h,1):f.children[h]={type:"text",value:d.value},h;if(d.type==="element"){let m;for(m in Ux)if(Object.hasOwn(Ux,m)&&Object.hasOwn(d.properties,m)){const b=d.properties[m],y=Ux[m];(y===null||y.includes(d.tagName))&&(d.properties[m]=l(String(b||""),m,d))}}if(d.type==="element"){let m=r?!r.includes(d.tagName):i?i.includes(d.tagName):!1;if(!m&&n&&typeof h=="number"&&(m=!n(d,h,f)),m&&f&&typeof h=="number")return s&&d.children?f.children.splice(h,1,...d.children):f.children.splice(h,1),h}}}function HMe(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||IMe.test(e.slice(0,t))?e:""}function vP(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function UMe(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function GMe(e,t,r){const a=u2((r||{}).ignore||[]),i=$Me(t);let o=-1;for(;++o<i.length;)Jte(e,"text",s);function s(u,d){let h=-1,f;for(;++h<d.length;){const m=d[h],b=f?f.children:void 0;if(a(m,b?b.indexOf(m):void 0,f))return;f=m}if(f)return l(u,d)}function l(u,d){const h=d[d.length-1],f=i[o][0],m=i[o][1];let b=0;const F=h.children.indexOf(u);let x=!1,E=[];f.lastIndex=0;let C=f.exec(u.value);for(;C;){const _=C.index,D={index:C.index,input:C.input,stack:[...d,u]};let w=m(...C,D);if(typeof w=="string"&&(w=w.length>0?{type:"text",value:w}:void 0),w===!1?f.lastIndex=_+1:(b!==_&&E.push({type:"text",value:u.value.slice(b,_)}),Array.isArray(w)?E.push(...w):w&&E.push(w),b=_+C[0].length,x=!0),!f.global)break;C=f.exec(u.value)}return x?(b<u.value.length&&E.push({type:"text",value:u.value.slice(b)}),h.children.splice(F,1,...E)):E=[u],F+E.length}}function $Me(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([jMe(a[0]),qMe(a[1])])}return t}function jMe(e){return typeof e=="string"?new RegExp(UMe(e),"g"):e}function qMe(e){return typeof e=="function"?e:function(){return e}}const Zx="phrasing",Qx=["autolink","link","image","label"];function WMe(){return{transforms:[QMe],enter:{literalAutolink:KMe,literalAutolinkEmail:ew,literalAutolinkHttp:ew,literalAutolinkWww:ew},exit:{literalAutolink:ZMe,literalAutolinkEmail:JMe,literalAutolinkHttp:YMe,literalAutolinkWww:XMe}}}function VMe(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Zx,notInConstruct:Qx},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Zx,notInConstruct:Qx},{character:":",before:"[ps]",after:"\\/",inConstruct:Zx,notInConstruct:Qx}]}}function KMe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ew(e){this.config.enter.autolinkProtocol.call(this,e)}function YMe(e){this.config.exit.autolinkProtocol.call(this,e)}function XMe(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function JMe(e){this.config.exit.autolinkEmail.call(this,e)}function ZMe(e){this.exit(e)}function QMe(e){GMe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,e8e],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),t8e]],{ignore:["link","linkReference"]})}function e8e(e,t,r,n,a){let i="";if(!Qte(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!r8e(r)))return!1;const o=n8e(r+n);if(!o[0])return!1;const s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function t8e(e,t,r,n){return!Qte(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function r8e(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 n8e(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=vP(e,"(");let i=vP(e,")");for(;n!==-1&&a>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}function Qte(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||Lc(r)||o2(r))&&(!t||r!==47)}ere.peek=h8e;function a8e(){this.buffer()}function i8e(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function o8e(){this.buffer()}function s8e(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function l8e(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=wo(this.sliceSerialize(e)).toLowerCase(),r.label=t}function u8e(e){this.exit(e)}function c8e(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=wo(this.sliceSerialize(e)).toLowerCase(),r.label=t}function d8e(e){this.exit(e)}function h8e(){return"["}function ere(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const o=r.enter("footnoteReference"),s=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),s(),o(),i+=a.move("]"),i}function p8e(){return{enter:{gfmFootnoteCallString:a8e,gfmFootnoteCall:i8e,gfmFootnoteDefinitionLabelString:o8e,gfmFootnoteDefinition:s8e},exit:{gfmFootnoteCallString:l8e,gfmFootnoteCall:u8e,gfmFootnoteDefinitionLabelString:c8e,gfmFootnoteDefinition:d8e}}}function f8e(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:ere},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,o){const s=i.createTracker(o);let l=s.move("[^");const u=i.enter("footnoteDefinition"),d=i.enter("label");return l+=s.move(i.safe(i.associationId(n),{before:l,after:"]"})),d(),l+=s.move("]:"),n.children&&n.children.length>0&&(s.shift(4),l+=s.move((t?`
|
||
`:" ")+i.indentLines(i.containerFlow(n,s.current()),t?tre:m8e))),u(),l}}function m8e(e,t,r){return t===0?e:tre(e,t,r)}function tre(e,t,r){return(r?"":" ")+e}const g8e=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];rre.peek=E8e;function b8e(){return{canContainEols:["delete"],enter:{strikethrough:v8e},exit:{strikethrough:F8e}}}function y8e(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:g8e}],handlers:{delete:rre}}}function v8e(e){this.enter({type:"delete",children:[]},e)}function F8e(e){this.exit(e)}function rre(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let o=a.move("~~");return o+=r.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function E8e(){return"~"}function S8e(e){return e.length}function x8e(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||S8e,i=[],o=[],s=[],l=[];let u=0,d=-1;for(;++d<e.length;){const y=[],F=[];let x=-1;for(e[d].length>u&&(u=e[d].length);++x<e[d].length;){const E=w8e(e[d][x]);if(r.alignDelimiters!==!1){const C=a(E);F[x]=C,(l[x]===void 0||C>l[x])&&(l[x]=C)}y.push(E)}o[d]=y,s[d]=F}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<u;)i[h]=FP(n[h]);else{const y=FP(n);for(;++h<u;)i[h]=y}h=-1;const f=[],m=[];for(;++h<u;){const y=i[h];let F="",x="";y===99?(F=":",x=":"):y===108?F=":":y===114&&(x=":");let E=r.alignDelimiters===!1?1:Math.max(1,l[h]-F.length-x.length);const C=F+"-".repeat(E)+x;r.alignDelimiters!==!1&&(E=F.length+E+x.length,E>l[h]&&(l[h]=E),m[h]=E),f[h]=C}o.splice(1,0,f),s.splice(1,0,m),d=-1;const b=[];for(;++d<o.length;){const y=o[d],F=s[d];h=-1;const x=[];for(;++h<u;){const E=y[h]||"";let C="",_="";if(r.alignDelimiters!==!1){const D=l[h]-(F[h]||0),w=i[h];w===114?C=" ".repeat(D):w===99?D%2?(C=" ".repeat(D/2+.5),_=" ".repeat(D/2-.5)):(C=" ".repeat(D/2),_=C):_=" ".repeat(D)}r.delimiterStart!==!1&&!h&&x.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&E==="")&&(r.delimiterStart!==!1||h)&&x.push(" "),r.alignDelimiters!==!1&&x.push(C),x.push(E),r.alignDelimiters!==!1&&x.push(_),r.padding!==!1&&x.push(" "),(r.delimiterEnd!==!1||h!==u-1)&&x.push("|")}b.push(r.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return b.join(`
|
||
`)}function w8e(e){return e==null?"":String(e)}function FP(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 EP={}.hasOwnProperty;function nre(e,t){const r=t||{};function n(a,...i){let o=n.invalid;const s=n.handlers;if(a&&EP.call(a,e)){const l=String(a[e]);o=EP.call(s,l)?s[l]:n.unknown}if(o)return o.call(this,a,...i)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function k8e(e,t,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const o=r.indentLines(r.containerFlow(e,i.current()),C8e);return a(),o}function C8e(e,t,r){return">"+(r?"":" ")+e}function T8e(e,t){return SP(e,t.inConstruct,!0)&&!SP(e,t.notInConstruct,!1)}function SP(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function xP(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
|
||
`&&T8e(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
||
`}function are(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>o&&(o=i):i=1,a=n+t.length,n=r.indexOf(t,a);return o}function A8e(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function _8e(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function D8e(e,t,r,n){const a=_8e(r),i=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(A8e(e,r)){const h=r.enter("codeIndented"),f=r.indentLines(i,R8e);return h(),f}const s=r.createTracker(n),l=a.repeat(Math.max(are(i,a)+1,3)),u=r.enter("codeFenced");let d=s.move(l);if(e.lang){const h=r.enter(`codeFencedLang${o}`);d+=s.move(r.safe(e.lang,{before:d,after:" ",encode:["`"],...s.current()})),h()}if(e.lang&&e.meta){const h=r.enter(`codeFencedMeta${o}`);d+=s.move(" "),d+=s.move(r.safe(e.meta,{before:d,after:`
|
||
`,encode:["`"],...s.current()})),h()}return d+=s.move(`
|
||
`),i&&(d+=s.move(i+`
|
||
`)),d+=s.move(l),u(),d}function R8e(e,t,r){return(r?"":" ")+e}function O5(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function N8e(e,t,r,n){const a=O5(r),i=a==='"'?"Quote":"Apostrophe",o=r.enter("definition");let s=r.enter("label");const l=r.createTracker(n);let u=l.move("[");return u+=l.move(r.safe(r.associationId(e),{before:u,after:"]",...l.current()})),u+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=r.enter("destinationRaw"),u+=l.move(r.safe(e.url,{before:u,after:e.title?" ":`
|
||
`,...l.current()}))),s(),e.title&&(s=r.enter(`title${i}`),u+=l.move(" "+a),u+=l.move(r.safe(e.title,{before:u,after:a,...l.current()})),u+=l.move(a),s()),o(),u}function L8e(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Bm(e){return"&#x"+e.toString(16).toUpperCase()+";"}function by(e,t,r){const n=Lh(e),a=Lh(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}ire.peek=M8e;function ire(e,t,r,n){const a=L8e(r),i=r.enter("emphasis"),o=r.createTracker(n),s=o.move(a);let l=o.move(r.containerPhrasing(e,{after:a,before:s,...o.current()}));const u=l.charCodeAt(0),d=by(n.before.charCodeAt(n.before.length-1),u,a);d.inside&&(l=Bm(u)+l.slice(1));const h=l.charCodeAt(l.length-1),f=by(n.after.charCodeAt(0),h,a);f.inside&&(l=l.slice(0,-1)+Bm(h));const m=o.move(a);return i(),r.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},s+l+m}function M8e(e,t,r){return r.options.emphasis||"*"}function I8e(e,t){let r=!1;return x0(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,wD}),!!((!e.depth||e.depth<3)&&A5(e)&&(t.options.setext||r))}function O8e(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(I8e(e,r)){const d=r.enter("headingSetext"),h=r.enter("phrasing"),f=r.containerPhrasing(e,{...i.current(),before:`
|
||
`,after:`
|
||
`});return h(),d(),f+`
|
||
`+(a===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(`
|
||
`))+1))}const o="#".repeat(a),s=r.enter("headingAtx"),l=r.enter("phrasing");i.move(o+" ");let u=r.containerPhrasing(e,{before:"# ",after:`
|
||
`,...i.current()});return/^[\t ]/.test(u)&&(u=Bm(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,r.options.closeAtx&&(u+=" "+o),l(),s(),u}ore.peek=B8e;function ore(e){return e.value||""}function B8e(){return"<"}sre.peek=P8e;function sre(e,t,r,n){const a=O5(r),i=a==='"'?"Quote":"Apostrophe",o=r.enter("image");let s=r.enter("label");const l=r.createTracker(n);let u=l.move("![");return u+=l.move(r.safe(e.alt,{before:u,after:"]",...l.current()})),u+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=r.enter("destinationRaw"),u+=l.move(r.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=r.enter(`title${i}`),u+=l.move(" "+a),u+=l.move(r.safe(e.title,{before:u,after:a,...l.current()})),u+=l.move(a),s()),u+=l.move(")"),o(),u}function P8e(){return"!"}lre.peek=z8e;function lre(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let o=r.enter("label");const s=r.createTracker(n);let l=s.move("![");const u=r.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),o();const d=r.stack;r.stack=[],o=r.enter("reference");const h=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return o(),r.stack=d,i(),a==="full"||!u||u!==h?l+=s.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function z8e(){return"!"}ure.peek=H8e;function ure(e,t,r){let n=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const o=r.unsafe[i],s=r.compilePattern(o);let l;if(o.atBreak)for(;l=s.exec(n);){let u=l.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(l.index+1)}}return a+n+a}function H8e(){return"`"}function cre(e,t){const r=A5(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}dre.peek=U8e;function dre(e,t,r,n){const a=O5(r),i=a==='"'?"Quote":"Apostrophe",o=r.createTracker(n);let s,l;if(cre(e,r)){const d=r.stack;r.stack=[],s=r.enter("autolink");let h=o.move("<");return h+=o.move(r.containerPhrasing(e,{before:h,after:">",...o.current()})),h+=o.move(">"),s(),r.stack=d,h}s=r.enter("link"),l=r.enter("label");let u=o.move("[");return u+=o.move(r.containerPhrasing(e,{before:u,after:"](",...o.current()})),u+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(r.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(l=r.enter("destinationRaw"),u+=o.move(r.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=r.enter(`title${i}`),u+=o.move(" "+a),u+=o.move(r.safe(e.title,{before:u,after:a,...o.current()})),u+=o.move(a),l()),u+=o.move(")"),s(),u}function U8e(e,t,r){return cre(e,r)?"<":"["}hre.peek=G8e;function hre(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let o=r.enter("label");const s=r.createTracker(n);let l=s.move("[");const u=r.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),o();const d=r.stack;r.stack=[],o=r.enter("reference");const h=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return o(),r.stack=d,i(),a==="full"||!u||u!==h?l+=s.move(h+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function G8e(){return"["}function B5(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 $8e(e){const t=B5(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function j8e(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function pre(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function q8e(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let o=e.ordered?j8e(r):B5(r);const s=e.ordered?o==="."?")":".":$8e(r);let l=t&&r.bulletLastUsed?o===r.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&d&&(!d.children||!d.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),pre(r)===o&&d){let h=-1;for(;++h<e.children.length;){const f=e.children[h];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(o=s),r.bulletCurrent=o;const u=r.containerFlow(e,n);return r.bulletLastUsed=o,r.bulletCurrent=i,a(),u}function W8e(e){const t=e.options.listItemIndent||"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 V8e(e,t,r,n){const a=W8e(r);let i=r.bulletCurrent||B5(r);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=r.createTracker(n);s.move(i+" ".repeat(o-i.length)),s.shift(o);const l=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,s.current()),d);return l(),u;function d(h,f,m){return f?(m?"":" ".repeat(o))+h:(m?i:i+" ".repeat(o-i.length))+h}}function K8e(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),o=r.containerPhrasing(e,n);return i(),a(),o}const Y8e=u2(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function X8e(e,t,r,n){return(e.children.some(function(o){return Y8e(o)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function J8e(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}fre.peek=Z8e;function fre(e,t,r,n){const a=J8e(r),i=r.enter("strong"),o=r.createTracker(n),s=o.move(a+a);let l=o.move(r.containerPhrasing(e,{after:a,before:s,...o.current()}));const u=l.charCodeAt(0),d=by(n.before.charCodeAt(n.before.length-1),u,a);d.inside&&(l=Bm(u)+l.slice(1));const h=l.charCodeAt(l.length-1),f=by(n.after.charCodeAt(0),h,a);f.inside&&(l=l.slice(0,-1)+Bm(h));const m=o.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},s+l+m}function Z8e(e,t,r){return r.options.strong||"*"}function Q8e(e,t,r,n){return r.safe(e.value,n)}function eIe(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function tIe(e,t,r){const n=(pre(r)+(r.options.ruleSpaces?" ":"")).repeat(eIe(r));return r.options.ruleSpaces?n.slice(0,-1):n}const mre={blockquote:k8e,break:xP,code:D8e,definition:N8e,emphasis:ire,hardBreak:xP,heading:O8e,html:ore,image:sre,imageReference:lre,inlineCode:ure,link:dre,linkReference:hre,list:q8e,listItem:V8e,paragraph:K8e,root:X8e,strong:fre,text:Q8e,thematicBreak:tIe};function rIe(){return{enter:{table:nIe,tableData:wP,tableHeader:wP,tableRow:iIe},exit:{codeText:oIe,table:aIe,tableData:tw,tableHeader:tw,tableRow:tw}}}function nIe(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function aIe(e){this.exit(e),this.data.inTable=void 0}function iIe(e){this.enter({type:"tableRow",children:[]},e)}function tw(e){this.exit(e)}function wP(e){this.enter({type:"tableCell",children:[]},e)}function oIe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,sIe));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function sIe(e,t){return t==="|"?t:e}function lIe(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";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:{inlineCode:f,table:o,tableCell:l,tableRow:s}};function o(m,b,y,F){return u(d(m,y,F),m.align)}function s(m,b,y,F){const x=h(m,y,F),E=u([x]);return E.slice(0,E.indexOf(`
|
||
`))}function l(m,b,y,F){const x=y.enter("tableCell"),E=y.enter("phrasing"),C=y.containerPhrasing(m,{...F,before:i,after:i});return E(),x(),C}function u(m,b){return x8e(m,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function d(m,b,y){const F=m.children;let x=-1;const E=[],C=b.enter("table");for(;++x<F.length;)E[x]=h(F[x],b,y);return C(),E}function h(m,b,y){const F=m.children;let x=-1;const E=[],C=b.enter("tableRow");for(;++x<F.length;)E[x]=l(F[x],m,b,y);return C(),E}function f(m,b,y){let F=mre.inlineCode(m,b,y);return y.stack.includes("tableCell")&&(F=F.replace(/\|/g,"\\$&")),F}}function uIe(){return{exit:{taskListCheckValueChecked:kP,taskListCheckValueUnchecked:kP,paragraph:dIe}}}function cIe(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:hIe}}}function kP(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function dIe(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){o=s;break}}o===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function hIe(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=r.createTracker(n);i&&s.move(o);let l=mre.listItem(e,t,r,{...n,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(d){return d+o}}function pIe(){return[WMe(),p8e(),b8e(),rIe(),uIe()]}function fIe(e){return{extensions:[VMe(),f8e(e),y8e(),lIe(e),cIe()]}}const mIe={tokenize:EIe,partial:!0},gre={tokenize:SIe,partial:!0},bre={tokenize:xIe,partial:!0},yre={tokenize:wIe,partial:!0},gIe={tokenize:kIe,partial:!0},vre={name:"wwwAutolink",tokenize:vIe,previous:Ere},Fre={name:"protocolAutolink",tokenize:FIe,previous:Sre},vl={name:"emailAutolink",tokenize:yIe,previous:xre},gs={};function bIe(){return{text:gs}}let nc=48;for(;nc<123;)gs[nc]=vl,nc++,nc===58?nc=65:nc===91&&(nc=97);gs[43]=vl;gs[45]=vl;gs[46]=vl;gs[95]=vl;gs[72]=[vl,Fre];gs[104]=[vl,Fre];gs[87]=[vl,vre];gs[119]=[vl,vre];function yIe(e,t,r){const n=this;let a,i;return o;function o(h){return!AD(h)||!xre.call(n,n.previous)||P5(n.events)?r(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(h))}function s(h){return AD(h)?(e.consume(h),s):h===64?(e.consume(h),l):r(h)}function l(h){return h===46?e.check(gIe,d,u)(h):h===45||h===95||Ta(h)?(i=!0,e.consume(h),l):d(h)}function u(h){return e.consume(h),a=!0,l}function d(h){return i&&a&&Pa(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}}function vIe(e,t,r){const n=this;return a;function a(o){return o!==87&&o!==119||!Ere.call(n,n.previous)||P5(n.events)?r(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(mIe,e.attempt(gre,e.attempt(bre,i),r),r)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function FIe(e,t,r){const n=this;let a="",i=!1;return o;function o(h){return(h===72||h===104)&&Sre.call(n,n.previous)&&!P5(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(h),e.consume(h),s):r(h)}function s(h){if(Pa(h)&&a.length<5)return a+=String.fromCodePoint(h),e.consume(h),s;if(h===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(h),l}return r(h)}function l(h){return h===47?(e.consume(h),i?u:(i=!0,l)):r(h)}function u(h){return h===null||my(h)||Xr(h)||Lc(h)||o2(h)?r(h):e.attempt(gre,e.attempt(bre,d),r)(h)}function d(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function EIe(e,t,r){let n=0;return a;function a(o){return(o===87||o===119)&&n<3?(n++,e.consume(o),a):o===46&&n===3?(e.consume(o),i):r(o)}function i(o){return o===null?r(o):t(o)}}function SIe(e,t,r){let n,a,i;return o;function o(u){return u===46||u===95?e.check(yre,l,s)(u):u===null||Xr(u)||Lc(u)||u!==45&&o2(u)?l(u):(i=!0,e.consume(u),o)}function s(u){return u===95?n=!0:(a=n,n=void 0),e.consume(u),o}function l(u){return a||n||!i?r(u):t(u)}}function xIe(e,t){let r=0,n=0;return a;function a(o){return o===40?(r++,e.consume(o),a):o===41&&n<r?i(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(yre,t,i)(o):o===null||Xr(o)||Lc(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&n++,e.consume(o),a}}function wIe(e,t,r){return n;function n(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),n):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||Xr(s)||Lc(s)?t(s):r(s)}function a(s){return s===null||s===40||s===91||Xr(s)||Lc(s)?t(s):n(s)}function i(s){return Pa(s)?o(s):r(s)}function o(s){return s===59?(e.consume(s),n):Pa(s)?(e.consume(s),o):r(s)}}function kIe(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return Ta(i)?r(i):t(i)}}function Ere(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Xr(e)}function Sre(e){return!Pa(e)}function xre(e){return!(e===47||AD(e))}function AD(e){return e===43||e===45||e===46||e===95||Ta(e)}function P5(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const CIe={tokenize:MIe,partial:!0};function TIe(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:RIe,continuation:{tokenize:NIe},exit:LIe}},text:{91:{name:"gfmFootnoteCall",tokenize:DIe},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:AIe,resolveTo:_Ie}}}}function AIe(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o;for(;a--;){const l=n.events[a][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return r(l);const u=wo(n.sliceSerialize({start:o.end,end:n.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?r(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function _Ie(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...s),e}function DIe(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,o;return s;function s(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?r(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(h){if(i>999||h===93&&!o||h===null||h===91||Xr(h))return r(h);if(h===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(wo(n.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(h)}return Xr(h)||(o=!0),i++,e.consume(h),h===92?d:u}function d(h){return h===91||h===92||h===93?(e.consume(h),i++,u):u(h)}}function RIe(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,o=0,s;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):r(b)}function d(b){if(o>999||b===93&&!s||b===null||b===91||Xr(b))return r(b);if(b===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=wo(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return Xr(b)||(s=!0),o++,e.consume(b),b===92?h:d}function h(b){return b===91||b===92||b===93?(e.consume(b),o++,d):d(b)}function f(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),Fr(e,m,"gfmFootnoteDefinitionWhitespace")):r(b)}function m(b){return t(b)}}function NIe(e,t,r){return e.check(S0,t,e.attempt(CIe,t,r))}function LIe(e){e.exit("gfmFootnoteDefinition")}function MIe(e,t,r){const n=this;return Fr(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):r(i)}}function IIe(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(o,s){let l=-1;for(;++l<o.length;)if(o[l][0]==="enter"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._close){let u=l;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[l][1].end.offset-o[l][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[l][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[l][1].end)},h={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[l][1].start)},f=[["enter",d,s],["enter",o[u][1],s],["exit",o[u][1],s],["enter",h,s]],m=s.parser.constructs.insideSpan.null;m&&_i(f,f.length,0,s2(m,o.slice(u+1,l),s)),_i(f,f.length,0,[["exit",h,s],["enter",o[l][1],s],["exit",o[l][1],s],["exit",d,s]]),_i(o,u-1,l-u+3,f),l=u+f.length-2;break}}for(l=-1;++l<o.length;)o[l][1].type==="strikethroughSequenceTemporary"&&(o[l][1].type="data");return o}function i(o,s,l){const u=this.previous,d=this.events;let h=0;return f;function f(b){return u===126&&d[d.length-1][1].type!=="characterEscape"?l(b):(o.enter("strikethroughSequenceTemporary"),m(b))}function m(b){const y=Lh(u);if(b===126)return h>1?l(b):(o.consume(b),h++,m);if(h<2&&!r)return l(b);const F=o.exit("strikethroughSequenceTemporary"),x=Lh(b);return F._open=!x||x===2&&!!y,F._close=!y||y===2&&!!x,s(b)}}}class OIe{constructor(){this.map=[]}add(t,r,n){BIe(this,t,r,n)}consume(t){if(this.map.sort(function(i,o){return i[0]-o[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function BIe(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function PIe(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function zIe(){return{flow:{null:{name:"table",tokenize:HIe,resolveAll:UIe}}}}function HIe(e,t,r){const n=this;let a=0,i=0,o;return s;function s(L){let U=n.events.length-1;for(;U>-1;){const V=n.events[U][1].type;if(V==="lineEnding"||V==="linePrefix")U--;else break}const j=U>-1?n.events[U][1].type:null,z=j==="tableHead"||j==="tableRow"?w:l;return z===w&&n.parser.lazy[n.now().line]?r(L):z(L)}function l(L){return e.enter("tableHead"),e.enter("tableRow"),u(L)}function u(L){return L===124||(o=!0,i+=1),d(L)}function d(L){return L===null?r(L):It(L)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),m):r(L):kr(L)?Fr(e,d,"whitespace")(L):(i+=1,o&&(o=!1,a+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),h(L)))}function h(L){return L===null||L===124||Xr(L)?(e.exit("data"),d(L)):(e.consume(L),L===92?f:h)}function f(L){return L===92||L===124?(e.consume(L),h):h(L)}function m(L){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(L):(e.enter("tableDelimiterRow"),o=!1,kr(L)?Fr(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):b(L))}function b(L){return L===45||L===58?F(L):L===124?(o=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),y):D(L)}function y(L){return kr(L)?Fr(e,F,"whitespace")(L):F(L)}function F(L){return L===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),x):L===45?(i+=1,x(L)):L===null||It(L)?_(L):D(L)}function x(L){return L===45?(e.enter("tableDelimiterFiller"),E(L)):D(L)}function E(L){return L===45?(e.consume(L),E):L===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(L))}function C(L){return kr(L)?Fr(e,_,"whitespace")(L):_(L)}function _(L){return L===124?b(L):L===null||It(L)?!o||a!==i?D(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(L)):D(L)}function D(L){return r(L)}function w(L){return e.enter("tableRow"),A(L)}function A(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),A):L===null||It(L)?(e.exit("tableRow"),t(L)):kr(L)?Fr(e,A,"whitespace")(L):(e.enter("data"),I(L))}function I(L){return L===null||L===124||Xr(L)?(e.exit("data"),A(L)):(e.consume(L),L===92?M:I)}function M(L){return L===92||L===124?(e.consume(L),I):I(L)}}function UIe(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,u,d,h;const f=new OIe;for(;++r<e.length;){const m=e[r],b=m[1];m[0]==="enter"?b.type==="tableHead"?(s=!1,l!==0&&(CP(f,t,l,u,d),d=void 0,l=0),u={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},f.add(r,0,[["enter",u,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(n=!0,h=void 0,i=[0,0,0,0],o=[0,r+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},f.add(r,0,[["enter",d,t]])),a=b.type==="tableDelimiterRow"?2:d?3:1):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(n=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],h=B1(f,t,i,a,void 0,h),i=[0,0,0,0]),o[2]=r)):b.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(o[0]=o[1],h=B1(f,t,i,a,void 0,h)),i=o,o=[i[1],r,0,0])):b.type==="tableHead"?(s=!0,l=r):b.type==="tableRow"||b.type==="tableDelimiterRow"?(l=r,i[1]!==0?(o[0]=o[1],h=B1(f,t,i,a,r,h)):o[1]!==0&&(h=B1(f,t,o,a,r,h)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(o[3]=r)}for(l!==0&&CP(f,t,l,u,d),f.consume(t.events),r=-1;++r<t.events.length;){const m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=PIe(t.events,r))}return e}function B1(e,t,r,n,a,i){const o=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",s="tableContent";r[0]!==0&&(i.end=Object.assign({},Jd(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const l=Jd(t.events,r[1]);if(i={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const u=Jd(t.events,r[2]),d=Jd(t.events,r[3]),h={type:s,start:Object.assign({},u),end:Object.assign({},d)};if(e.add(r[2],0,[["enter",h,t]]),n!==2){const f=t.events[r[2]],m=t.events[r[3]];if(f[1].end=Object.assign({},m[1].end),f[1].type="chunkText",f[1].contentType="text",r[3]>r[2]+1){const b=r[2]+1,y=r[3]-r[2]-1;e.add(b,y,[])}}e.add(r[3]+1,0,[["exit",h,t]])}return a!==void 0&&(i.end=Object.assign({},Jd(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function CP(e,t,r,n,a){const i=[],o=Jd(t.events,r);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),n.end=Object.assign({},o),i.push(["exit",n,t]),e.add(r+1,0,i)}function Jd(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const GIe={name:"tasklistCheck",tokenize:jIe};function $Ie(){return{text:{91:GIe}}}function jIe(e,t,r){const n=this;return a;function a(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Xr(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):r(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):r(l)}function s(l){return It(l)?t(l):kr(l)?e.check({tokenize:qIe},t,r)(l):r(l)}}function qIe(e,t,r){return Fr(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function WIe(e){return Nte([bIe(),TIe(),IIe(e),zIe(),$Ie()])}const VIe={};function TP(e){const t=this,r=e||VIe,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(WIe(r)),i.push(pIe()),o.push(fIe(r))}function AP(e){const t=this;t.compiler=r;function r(n,a){return Tte(n,{filePath:a.path,...e})}}class k0{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}k0.prototype.normal={};k0.prototype.property={};k0.prototype.space=void 0;function wre(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new k0(r,n,t)}function Pm(e){return e.toLowerCase()}class ui{constructor(t,r){this.attribute=r,this.property=t}}ui.prototype.attribute="";ui.prototype.booleanish=!1;ui.prototype.boolean=!1;ui.prototype.commaOrSpaceSeparated=!1;ui.prototype.commaSeparated=!1;ui.prototype.defined=!1;ui.prototype.mustUseProperty=!1;ui.prototype.number=!1;ui.prototype.overloadedBoolean=!1;ui.prototype.property="";ui.prototype.spaceSeparated=!1;ui.prototype.space=void 0;let KIe=0;const hr=Xc(),Nn=Xc(),_D=Xc(),ot=Xc(),tn=Xc(),uh=Xc(),Ei=Xc();function Xc(){return 2**++KIe}const DD=Object.freeze(Object.defineProperty({__proto__:null,boolean:hr,booleanish:Nn,commaOrSpaceSeparated:Ei,commaSeparated:uh,number:ot,overloadedBoolean:_D,spaceSeparated:tn},Symbol.toStringTag,{value:"Module"})),rw=Object.keys(DD);class z5 extends ui{constructor(t,r,n,a){let i=-1;if(super(t,r),_P(this,"space",a),typeof n=="number")for(;++i<rw.length;){const o=rw[i];_P(this,rw[i],(n&DD[o])===DD[o])}}}z5.prototype.defined=!0;function _P(e,t,r){r&&(e[t]=r)}function pp(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new z5(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[Pm(n)]=n,r[Pm(i.attribute)]=n}return new k0(t,r,e.space)}const kre=pp({properties:{ariaActiveDescendant:null,ariaAtomic:Nn,ariaAutoComplete:null,ariaBusy:Nn,ariaChecked:Nn,ariaColCount:ot,ariaColIndex:ot,ariaColSpan:ot,ariaControls:tn,ariaCurrent:null,ariaDescribedBy:tn,ariaDetails:null,ariaDisabled:Nn,ariaDropEffect:tn,ariaErrorMessage:null,ariaExpanded:Nn,ariaFlowTo:tn,ariaGrabbed:Nn,ariaHasPopup:null,ariaHidden:Nn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tn,ariaLevel:ot,ariaLive:null,ariaModal:Nn,ariaMultiLine:Nn,ariaMultiSelectable:Nn,ariaOrientation:null,ariaOwns:tn,ariaPlaceholder:null,ariaPosInSet:ot,ariaPressed:Nn,ariaReadOnly:Nn,ariaRelevant:null,ariaRequired:Nn,ariaRoleDescription:tn,ariaRowCount:ot,ariaRowIndex:ot,ariaRowSpan:ot,ariaSelected:Nn,ariaSetSize:ot,ariaSort:null,ariaValueMax:ot,ariaValueMin:ot,ariaValueNow:ot,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Cre(e,t){return t in e?e[t]:t}function Tre(e,t){return Cre(e,t.toLowerCase())}const YIe=pp({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:uh,acceptCharset:tn,accessKey:tn,action:null,allow:null,allowFullScreen:hr,allowPaymentRequest:hr,allowUserMedia:hr,alt:null,as:null,async:hr,autoCapitalize:null,autoComplete:tn,autoFocus:hr,autoPlay:hr,blocking:tn,capture:null,charSet:null,checked:hr,cite:null,className:tn,cols:ot,colSpan:null,content:null,contentEditable:Nn,controls:hr,controlsList:tn,coords:ot|uh,crossOrigin:null,data:null,dateTime:null,decoding:null,default:hr,defer:hr,dir:null,dirName:null,disabled:hr,download:_D,draggable:Nn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:hr,formTarget:null,headers:tn,height:ot,hidden:_D,high:ot,href:null,hrefLang:null,htmlFor:tn,httpEquiv:tn,id:null,imageSizes:null,imageSrcSet:null,inert:hr,inputMode:null,integrity:null,is:null,isMap:hr,itemId:null,itemProp:tn,itemRef:tn,itemScope:hr,itemType:tn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:hr,low:ot,manifest:null,max:null,maxLength:ot,media:null,method:null,min:null,minLength:ot,multiple:hr,muted:hr,name:null,nonce:null,noModule:hr,noValidate:hr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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:hr,optimum:ot,pattern:null,ping:tn,placeholder:null,playsInline:hr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:hr,referrerPolicy:null,rel:tn,required:hr,reversed:hr,rows:ot,rowSpan:ot,sandbox:tn,scope:null,scoped:hr,seamless:hr,selected:hr,shadowRootClonable:hr,shadowRootDelegatesFocus:hr,shadowRootMode:null,shape:null,size:ot,sizes:null,slot:null,span:ot,spellCheck:Nn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ot,step:null,style:null,tabIndex:ot,target:null,title:null,translate:null,type:null,typeMustMatch:hr,useMap:null,value:Nn,width:ot,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:tn,axis:null,background:null,bgColor:null,border:ot,borderColor:null,bottomMargin:ot,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:hr,declare:hr,event:null,face:null,frame:null,frameBorder:null,hSpace:ot,leftMargin:ot,link:null,longDesc:null,lowSrc:null,marginHeight:ot,marginWidth:ot,noResize:hr,noHref:hr,noShade:hr,noWrap:hr,object:null,profile:null,prompt:null,rev:null,rightMargin:ot,rules:null,scheme:null,scrolling:Nn,standby:null,summary:null,text:null,topMargin:ot,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ot,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:hr,disableRemotePlayback:hr,prefix:null,property:null,results:ot,security:null,unselectable:null},space:"html",transform:Tre}),XIe=pp({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",transformOrigin:"transform-origin",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"},properties:{about:Ei,accentHeight:ot,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ot,amplitude:ot,arabicForm:null,ascent:ot,attributeName:null,attributeType:null,azimuth:ot,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ot,by:null,calcMode:null,capHeight:ot,className:tn,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:ot,diffuseConstant:ot,direction:null,display:null,dur:null,divisor:ot,dominantBaseline:null,download:hr,dx:null,dy:null,edgeMode:null,editable:null,elevation:ot,enableBackground:null,end:null,event:null,exponent:ot,externalResourcesRequired:null,fill:null,fillOpacity:ot,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:uh,g2:uh,glyphName:uh,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ot,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ot,horizOriginX:ot,horizOriginY:ot,id:null,ideographic:ot,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ot,k:ot,k1:ot,k2:ot,k3:ot,k4:ot,kernelMatrix:Ei,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ot,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:ot,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:ot,overlineThickness:ot,paintOrder:null,panose1:null,path:null,pathLength:ot,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ot,pointsAtY:ot,pointsAtZ:ot,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ei,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ei,rev:Ei,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ei,requiredFeatures:Ei,requiredFonts:Ei,requiredFormats:Ei,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:ot,specularExponent:ot,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ot,strikethroughThickness:ot,string:null,stroke:null,strokeDashArray:Ei,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ot,strokeOpacity:ot,strokeWidth:null,style:null,surfaceScale:ot,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ei,tabIndex:ot,tableValues:null,target:null,targetX:ot,targetY:ot,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ei,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ot,underlineThickness:ot,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ot,values:null,vAlphabetic:ot,vMathematical:ot,vectorEffect:null,vHanging:ot,vIdeographic:ot,version:null,vertAdvY:ot,vertOriginX:ot,vertOriginY:ot,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ot,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Cre}),Are=pp({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),_re=pp({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Tre}),Dre=pp({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),JIe=/[A-Z]/g,DP=/-[a-z]/g,ZIe=/^data[-\w.:]+$/i;function Rre(e,t){const r=Pm(t);let n=t,a=ui;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&ZIe.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(DP,eOe);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!DP.test(i)){let o=i.replace(JIe,QIe);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=z5}return new a(n,t)}function QIe(e){return"-"+e.toLowerCase()}function eOe(e){return e.charAt(1).toUpperCase()}const H5=wre([kre,YIe,Are,_re,Dre],"html"),U5=wre([kre,XIe,Are,_re,Dre],"svg"),RP=/[#.]/g;function tOe(e,t){const r=e||"",n={};let a=0,i,o;for(;a<r.length;){RP.lastIndex=a;const s=RP.exec(r),l=r.slice(a,s?s.index:r.length);l&&(i?i==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:o=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:o||t||"div",properties:n,children:[]}}function Nre(e,t,r){const n=r?iOe(r):void 0;function a(i,o,...s){let l;if(i==null){l={type:"root",children:[]};const u=o;s.unshift(u)}else{l=tOe(i,t);const u=l.tagName.toLowerCase(),d=n?n.get(u):void 0;if(l.tagName=d||u,rOe(o))s.unshift(o);else for(const[h,f]of Object.entries(o))nOe(e,l.properties,h,f)}for(const u of s)RD(l.children,u);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function rOe(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const o of i)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function nOe(e,t,r,n){const a=Rre(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=HB(n):a.commaSeparated?i=IB(n):a.commaOrSpaceSeparated?i=HB(IB(n).join(" ")):i=NP(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?aOe(n):String(n);if(Array.isArray(i)){const o=[];for(const s of i)o.push(NP(a,a.property,s));i=o}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function RD(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)RD(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?RD(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function NP(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Pm(r)===Pm(t)))return!0}return r}function aOe(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function iOe(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const oOe=["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"],sOe=Nre(H5,"div"),lOe=Nre(U5,"g",oOe);function uOe(e){const t=String(e),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let o=0;for(;;){let s=r[o];if(s===void 0){const l=LP(t,r[o-1]);s=l===-1?t.length+1:l+1,r[o]=s}if(s>i)return{line:o+1,column:i-(o>0?r[o-1]:0)+1,offset:i};o++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;r.length<i.line;){const s=r[r.length-1],l=LP(t,s),u=l===-1?t.length+1:l+1;if(s===u)break;r.push(u)}const o=(i.line>1?r[i.line-2]:0)+i.column-1;if(o<r[i.line-1])return o}}}function LP(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
|
||
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const hc={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/"},Lre={}.hasOwnProperty,cOe=Object.prototype;function dOe(e,t){const r=t||{};return G5({file:r.file||void 0,location:!1,schema:r.space==="svg"?U5:H5,verbose:r.verbose||!1},e)}function G5(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},vb(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:Mre(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=uOe(i),s=o.toPoint(0),l=o.toPoint(i.length);r.position={start:s,end:l}}return r}case"#documentType":{const n=t;return r={type:"doctype"},vb(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},vb(e,n,r),r}default:return r=hOe(e,t),r}}function Mre(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=G5(e,t[r]);n.push(a)}return n}function hOe(e,t){const r=e.schema;e.schema=t.namespaceURI===hc.svg?U5:H5;let n=-1;const a={};for(;++n<t.attrs.length;){const s=t.attrs[n],l=(s.prefix?s.prefix+":":"")+s.name;Lre.call(cOe,l)||(a[l]=s.value)}const o=(e.schema.space==="svg"?lOe:sOe)(t.tagName,a,Mre(e,t.childNodes));if(vb(e,t,o),o.tagName==="template"){const s=t,l=s.sourceCodeLocation,u=l&&l.startTag&&eh(l.startTag),d=l&&l.endTag&&eh(l.endTag),h=G5(e,s.content);u&&d&&e.file&&(h.position={start:u.end,end:d.start}),o.content=h}return e.schema=r,o}function vb(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=pOe(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function pOe(e,t,r){const n=eh(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let o;if(r.attrs)for(o in r.attrs)Lre.call(r.attrs,o)&&(i[Rre(e.schema,o).property]=eh(r.attrs[o]));r.startTag;const s=eh(r.startTag),l=r.endTag?eh(r.endTag):void 0,u={opening:s};l&&(u.closing=l),u.properties=i,t.data={position:u}}}return n}function eh(e){const t=MP({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=MP({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function MP(e){return e.line&&e.column?e:void 0}const fOe={},mOe={}.hasOwnProperty,Ire=nre("type",{handlers:{root:bOe,element:SOe,text:FOe,comment:EOe,doctype:vOe}});function gOe(e,t){const n=(t||fOe).space;return Ire(e,n==="svg"?E0:xte)}function bOe(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=$5(e.children,r,t),fp(e,r),r}function yOe(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=$5(e.children,r,t),fp(e,r),r}function vOe(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return fp(e,t),t}function FOe(e){const t={nodeName:"#text",value:e.value,parentNode:null};return fp(e,t),t}function EOe(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return fp(e,t),t}function SOe(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=E0);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&mOe.call(e.properties,i)){const l=xOe(n,i,e.properties[i]);l&&a.push(l)}}const o=n.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:hc[o],childNodes:[],parentNode:null};return s.childNodes=$5(e.children,s,n),fp(e,s),e.tagName==="template"&&e.content&&(s.content=yOe(e.content,n)),s}function xOe(e,t,r){const n=Ste(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?pte(r):wte(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=hc[n.space]}return a}function $5(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=Ire(e[n],r);i.parentNode=t,a.push(i)}return a}function fp(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const wOe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],kOe=new Set([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]),on="<22>";var re;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(re||(re={}));const Ya={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Ore(e){return e>=55296&&e<=57343}function COe(e){return e>=56320&&e<=57343}function TOe(e,t){return(e-55296)*1024+9216+t}function Bre(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Pre(e){return e>=64976&&e<=65007||kOe.has(e)}var Ie;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Ie||(Ie={}));const AOe=65536;class _Oe{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=AOe,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){const{line:n,col:a,offset:i}=this,o=a+r,s=i+r;return{code:t,startLine:n,endLine:n,startCol:o,endCol:o,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(COe(r))return this.pos++,this._addGap(),TOe(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,re.EOF;return this._err(Ie.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,re.EOF;const n=this.html.charCodeAt(r);return n===re.CARRIAGE_RETURN?re.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,re.EOF;let t=this.html.charCodeAt(this.pos);return t===re.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,re.LINE_FEED):t===re.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Ore(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===re.LINE_FEED||t===re.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Bre(t)?this._err(Ie.controlCharacterInInputStream):Pre(t)&&this._err(Ie.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var vr;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(vr||(vr={}));function zre(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const DOe=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),ROe=new Map([[0,65533],[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]]);function NOe(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=ROe.get(e))!==null&&t!==void 0?t:e}var ta;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ta||(ta={}));const LOe=32;var su;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(su||(su={}));function ND(e){return e>=ta.ZERO&&e<=ta.NINE}function MOe(e){return e>=ta.UPPER_A&&e<=ta.UPPER_F||e>=ta.LOWER_A&&e<=ta.LOWER_F}function IOe(e){return e>=ta.UPPER_A&&e<=ta.UPPER_Z||e>=ta.LOWER_A&&e<=ta.LOWER_Z||ND(e)}function OOe(e){return e===ta.EQUALS||IOe(e)}var Qn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Qn||(Qn={}));var Js;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Js||(Js={}));class BOe{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=Qn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Js.Strict}startEntity(t){this.decodeMode=t,this.state=Qn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Qn.EntityStart:return t.charCodeAt(r)===ta.NUM?(this.state=Qn.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Qn.NamedEntity,this.stateNamedEntity(t,r));case Qn.NumericStart:return this.stateNumericStart(t,r);case Qn.NumericDecimal:return this.stateNumericDecimal(t,r);case Qn.NumericHex:return this.stateNumericHex(t,r);case Qn.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|LOe)===ta.LOWER_X?(this.state=Qn.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Qn.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(ND(a)||MOe(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(ND(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ta.SEMI)this.consumed+=1;else if(this.decodeMode===Js.Strict)return 0;return this.emitCodePoint(NOe(this.result),this.consumed),this.errors&&(t!==ta.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&su.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const o=t.charCodeAt(r);if(this.treeIndex=POe(n,a,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===Js.Attribute&&(i===0||OOe(o))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&su.VALUE_LENGTH)>>14,i!==0){if(o===ta.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Js.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&su.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~su.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case Qn.NamedEntity:return this.result!==0&&(this.decodeMode!==Js.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Qn.NumericDecimal:return this.emitNumericEntity(0,2);case Qn.NumericHex:return this.emitNumericEntity(0,3);case Qn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Qn.EntityStart:return 0}}}function POe(e,t,r,n){const a=(t&su.BRANCH_LENGTH)>>7,i=t&su.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const l=n-i;return l<0||l>=a?-1:e[r+l]-1}let o=r,s=o+a-1;for(;o<=s;){const l=o+s>>>1,u=e[l];if(u<n)o=l+1;else if(u>n)s=l-1;else return e[l+a]}return-1}var Je;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Je||(Je={}));var Ec;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ec||(Ec={}));var Qi;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Qi||(Qi={}));var Ce;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(Ce||(Ce={}));var N;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(N||(N={}));const zOe=new Map([[Ce.A,N.A],[Ce.ADDRESS,N.ADDRESS],[Ce.ANNOTATION_XML,N.ANNOTATION_XML],[Ce.APPLET,N.APPLET],[Ce.AREA,N.AREA],[Ce.ARTICLE,N.ARTICLE],[Ce.ASIDE,N.ASIDE],[Ce.B,N.B],[Ce.BASE,N.BASE],[Ce.BASEFONT,N.BASEFONT],[Ce.BGSOUND,N.BGSOUND],[Ce.BIG,N.BIG],[Ce.BLOCKQUOTE,N.BLOCKQUOTE],[Ce.BODY,N.BODY],[Ce.BR,N.BR],[Ce.BUTTON,N.BUTTON],[Ce.CAPTION,N.CAPTION],[Ce.CENTER,N.CENTER],[Ce.CODE,N.CODE],[Ce.COL,N.COL],[Ce.COLGROUP,N.COLGROUP],[Ce.DD,N.DD],[Ce.DESC,N.DESC],[Ce.DETAILS,N.DETAILS],[Ce.DIALOG,N.DIALOG],[Ce.DIR,N.DIR],[Ce.DIV,N.DIV],[Ce.DL,N.DL],[Ce.DT,N.DT],[Ce.EM,N.EM],[Ce.EMBED,N.EMBED],[Ce.FIELDSET,N.FIELDSET],[Ce.FIGCAPTION,N.FIGCAPTION],[Ce.FIGURE,N.FIGURE],[Ce.FONT,N.FONT],[Ce.FOOTER,N.FOOTER],[Ce.FOREIGN_OBJECT,N.FOREIGN_OBJECT],[Ce.FORM,N.FORM],[Ce.FRAME,N.FRAME],[Ce.FRAMESET,N.FRAMESET],[Ce.H1,N.H1],[Ce.H2,N.H2],[Ce.H3,N.H3],[Ce.H4,N.H4],[Ce.H5,N.H5],[Ce.H6,N.H6],[Ce.HEAD,N.HEAD],[Ce.HEADER,N.HEADER],[Ce.HGROUP,N.HGROUP],[Ce.HR,N.HR],[Ce.HTML,N.HTML],[Ce.I,N.I],[Ce.IMG,N.IMG],[Ce.IMAGE,N.IMAGE],[Ce.INPUT,N.INPUT],[Ce.IFRAME,N.IFRAME],[Ce.KEYGEN,N.KEYGEN],[Ce.LABEL,N.LABEL],[Ce.LI,N.LI],[Ce.LINK,N.LINK],[Ce.LISTING,N.LISTING],[Ce.MAIN,N.MAIN],[Ce.MALIGNMARK,N.MALIGNMARK],[Ce.MARQUEE,N.MARQUEE],[Ce.MATH,N.MATH],[Ce.MENU,N.MENU],[Ce.META,N.META],[Ce.MGLYPH,N.MGLYPH],[Ce.MI,N.MI],[Ce.MO,N.MO],[Ce.MN,N.MN],[Ce.MS,N.MS],[Ce.MTEXT,N.MTEXT],[Ce.NAV,N.NAV],[Ce.NOBR,N.NOBR],[Ce.NOFRAMES,N.NOFRAMES],[Ce.NOEMBED,N.NOEMBED],[Ce.NOSCRIPT,N.NOSCRIPT],[Ce.OBJECT,N.OBJECT],[Ce.OL,N.OL],[Ce.OPTGROUP,N.OPTGROUP],[Ce.OPTION,N.OPTION],[Ce.P,N.P],[Ce.PARAM,N.PARAM],[Ce.PLAINTEXT,N.PLAINTEXT],[Ce.PRE,N.PRE],[Ce.RB,N.RB],[Ce.RP,N.RP],[Ce.RT,N.RT],[Ce.RTC,N.RTC],[Ce.RUBY,N.RUBY],[Ce.S,N.S],[Ce.SCRIPT,N.SCRIPT],[Ce.SEARCH,N.SEARCH],[Ce.SECTION,N.SECTION],[Ce.SELECT,N.SELECT],[Ce.SOURCE,N.SOURCE],[Ce.SMALL,N.SMALL],[Ce.SPAN,N.SPAN],[Ce.STRIKE,N.STRIKE],[Ce.STRONG,N.STRONG],[Ce.STYLE,N.STYLE],[Ce.SUB,N.SUB],[Ce.SUMMARY,N.SUMMARY],[Ce.SUP,N.SUP],[Ce.TABLE,N.TABLE],[Ce.TBODY,N.TBODY],[Ce.TEMPLATE,N.TEMPLATE],[Ce.TEXTAREA,N.TEXTAREA],[Ce.TFOOT,N.TFOOT],[Ce.TD,N.TD],[Ce.TH,N.TH],[Ce.THEAD,N.THEAD],[Ce.TITLE,N.TITLE],[Ce.TR,N.TR],[Ce.TRACK,N.TRACK],[Ce.TT,N.TT],[Ce.U,N.U],[Ce.UL,N.UL],[Ce.SVG,N.SVG],[Ce.VAR,N.VAR],[Ce.WBR,N.WBR],[Ce.XMP,N.XMP]]);function mp(e){var t;return(t=zOe.get(e))!==null&&t!==void 0?t:N.UNKNOWN}const tt=N,HOe={[Je.HTML]:new Set([tt.ADDRESS,tt.APPLET,tt.AREA,tt.ARTICLE,tt.ASIDE,tt.BASE,tt.BASEFONT,tt.BGSOUND,tt.BLOCKQUOTE,tt.BODY,tt.BR,tt.BUTTON,tt.CAPTION,tt.CENTER,tt.COL,tt.COLGROUP,tt.DD,tt.DETAILS,tt.DIR,tt.DIV,tt.DL,tt.DT,tt.EMBED,tt.FIELDSET,tt.FIGCAPTION,tt.FIGURE,tt.FOOTER,tt.FORM,tt.FRAME,tt.FRAMESET,tt.H1,tt.H2,tt.H3,tt.H4,tt.H5,tt.H6,tt.HEAD,tt.HEADER,tt.HGROUP,tt.HR,tt.HTML,tt.IFRAME,tt.IMG,tt.INPUT,tt.LI,tt.LINK,tt.LISTING,tt.MAIN,tt.MARQUEE,tt.MENU,tt.META,tt.NAV,tt.NOEMBED,tt.NOFRAMES,tt.NOSCRIPT,tt.OBJECT,tt.OL,tt.P,tt.PARAM,tt.PLAINTEXT,tt.PRE,tt.SCRIPT,tt.SECTION,tt.SELECT,tt.SOURCE,tt.STYLE,tt.SUMMARY,tt.TABLE,tt.TBODY,tt.TD,tt.TEMPLATE,tt.TEXTAREA,tt.TFOOT,tt.TH,tt.THEAD,tt.TITLE,tt.TR,tt.TRACK,tt.UL,tt.WBR,tt.XMP]),[Je.MATHML]:new Set([tt.MI,tt.MO,tt.MN,tt.MS,tt.MTEXT,tt.ANNOTATION_XML]),[Je.SVG]:new Set([tt.TITLE,tt.FOREIGN_OBJECT,tt.DESC]),[Je.XLINK]:new Set,[Je.XML]:new Set,[Je.XMLNS]:new Set},LD=new Set([tt.H1,tt.H2,tt.H3,tt.H4,tt.H5,tt.H6]);Ce.STYLE,Ce.SCRIPT,Ce.XMP,Ce.IFRAME,Ce.NOEMBED,Ce.NOFRAMES,Ce.PLAINTEXT;var ae;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(ae||(ae={}));const wn={DATA:ae.DATA,RCDATA:ae.RCDATA,RAWTEXT:ae.RAWTEXT,SCRIPT_DATA:ae.SCRIPT_DATA,PLAINTEXT:ae.PLAINTEXT,CDATA_SECTION:ae.CDATA_SECTION};function UOe(e){return e>=re.DIGIT_0&&e<=re.DIGIT_9}function Qf(e){return e>=re.LATIN_CAPITAL_A&&e<=re.LATIN_CAPITAL_Z}function GOe(e){return e>=re.LATIN_SMALL_A&&e<=re.LATIN_SMALL_Z}function Ql(e){return GOe(e)||Qf(e)}function IP(e){return Ql(e)||UOe(e)}function P1(e){return e+32}function Hre(e){return e===re.SPACE||e===re.LINE_FEED||e===re.TABULATION||e===re.FORM_FEED}function OP(e){return Hre(e)||e===re.SOLIDUS||e===re.GREATER_THAN_SIGN}function $Oe(e){return e===re.NULL?Ie.nullCharacterReference:e>1114111?Ie.characterReferenceOutsideUnicodeRange:Ore(e)?Ie.surrogateCharacterReference:Pre(e)?Ie.noncharacterCharacterReference:Bre(e)||e===re.CARRIAGE_RETURN?Ie.controlCharacterReference:null}class jOe{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=ae.DATA,this.returnState=ae.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new _Oe(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new BOe(DOe,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Ie.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(Ie.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=$Oe(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:vr.START_TAG,tagName:"",tagID:N.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:vr.END_TAG,tagName:"",tagID:N.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:vr.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:vr.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(zre(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Ie.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=mp(t.tagName),t.type===vr.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Ie.endTagWithAttributes),t.selfClosing&&this._err(Ie.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case vr.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case vr.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case vr.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:vr.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=Hre(t)?vr.WHITESPACE_CHARACTER:t===re.NULL?vr.NULL_CHARACTER:vr.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(vr.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=ae.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Js.Attribute:Js.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===ae.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===ae.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===ae.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case ae.DATA:{this._stateData(t);break}case ae.RCDATA:{this._stateRcdata(t);break}case ae.RAWTEXT:{this._stateRawtext(t);break}case ae.SCRIPT_DATA:{this._stateScriptData(t);break}case ae.PLAINTEXT:{this._statePlaintext(t);break}case ae.TAG_OPEN:{this._stateTagOpen(t);break}case ae.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case ae.TAG_NAME:{this._stateTagName(t);break}case ae.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case ae.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case ae.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case ae.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case ae.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case ae.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case ae.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case ae.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case ae.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case ae.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case ae.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case ae.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case ae.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case ae.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case ae.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case ae.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case ae.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case ae.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case ae.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case ae.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case ae.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case ae.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case ae.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case ae.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case ae.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case ae.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case ae.BOGUS_COMMENT:{this._stateBogusComment(t);break}case ae.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case ae.COMMENT_START:{this._stateCommentStart(t);break}case ae.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case ae.COMMENT:{this._stateComment(t);break}case ae.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case ae.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case ae.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case ae.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case ae.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case ae.COMMENT_END:{this._stateCommentEnd(t);break}case ae.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case ae.DOCTYPE:{this._stateDoctype(t);break}case ae.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case ae.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case ae.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case ae.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case ae.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case ae.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case ae.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case ae.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case ae.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case ae.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case ae.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case ae.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case ae.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case ae.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case ae.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case ae.CDATA_SECTION:{this._stateCdataSection(t);break}case ae.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case ae.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case ae.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case ae.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case re.LESS_THAN_SIGN:{this.state=ae.TAG_OPEN;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._emitCodePoint(t);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case re.AMPERSAND:{this._startCharacterReference();break}case re.LESS_THAN_SIGN:{this.state=ae.RCDATA_LESS_THAN_SIGN;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._emitChars(on);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case re.LESS_THAN_SIGN:{this.state=ae.RAWTEXT_LESS_THAN_SIGN;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._emitChars(on);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case re.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_LESS_THAN_SIGN;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._emitChars(on);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._emitChars(on);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ql(t))this._createStartTagToken(),this.state=ae.TAG_NAME,this._stateTagName(t);else switch(t){case re.EXCLAMATION_MARK:{this.state=ae.MARKUP_DECLARATION_OPEN;break}case re.SOLIDUS:{this.state=ae.END_TAG_OPEN;break}case re.QUESTION_MARK:{this._err(Ie.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=ae.BOGUS_COMMENT,this._stateBogusComment(t);break}case re.EOF:{this._err(Ie.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Ie.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=ae.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ql(t))this._createEndTagToken(),this.state=ae.TAG_NAME,this._stateTagName(t);else switch(t){case re.GREATER_THAN_SIGN:{this._err(Ie.missingEndTagName),this.state=ae.DATA;break}case re.EOF:{this._err(Ie.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Ie.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=ae.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=ae.BEFORE_ATTRIBUTE_NAME;break}case re.SOLIDUS:{this.state=ae.SELF_CLOSING_START_TAG;break}case re.GREATER_THAN_SIGN:{this.state=ae.DATA,this.emitCurrentTagToken();break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.tagName+=on;break}case re.EOF:{this._err(Ie.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Qf(t)?P1(t):t)}}_stateRcdataLessThanSign(t){t===re.SOLIDUS?this.state=ae.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=ae.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Ql(t)?(this.state=ae.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=ae.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=ae.BEFORE_ATTRIBUTE_NAME,!1;case re.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=ae.SELF_CLOSING_START_TAG,!1;case re.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=ae.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ae.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===re.SOLIDUS?this.state=ae.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=ae.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Ql(t)?(this.state=ae.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=ae.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ae.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case re.SOLIDUS:{this.state=ae.SCRIPT_DATA_END_TAG_OPEN;break}case re.EXCLAMATION_MARK:{this.state=ae.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=ae.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Ql(t)?(this.state=ae.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=ae.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ae.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===re.HYPHEN_MINUS?(this.state=ae.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=ae.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===re.HYPHEN_MINUS?(this.state=ae.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=ae.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case re.HYPHEN_MINUS:{this.state=ae.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._emitChars(on);break}case re.EOF:{this._err(Ie.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case re.HYPHEN_MINUS:{this.state=ae.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_ESCAPED,this._emitChars(on);break}case re.EOF:{this._err(Ie.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case re.HYPHEN_MINUS:{this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case re.GREATER_THAN_SIGN:{this.state=ae.SCRIPT_DATA,this._emitChars(">");break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_ESCAPED,this._emitChars(on);break}case re.EOF:{this._err(Ie.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===re.SOLIDUS?this.state=ae.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ql(t)?(this._emitChars("<"),this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=ae.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ql(t)?(this.state=ae.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=ae.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ae.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Ya.SCRIPT,!1)&&OP(this.preprocessor.peek(Ya.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Ya.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=ae.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case re.HYPHEN_MINUS:{this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._emitChars(on);break}case re.EOF:{this._err(Ie.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case re.HYPHEN_MINUS:{this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(on);break}case re.EOF:{this._err(Ie.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case re.HYPHEN_MINUS:{this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case re.GREATER_THAN_SIGN:{this.state=ae.SCRIPT_DATA,this._emitChars(">");break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(on);break}case re.EOF:{this._err(Ie.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===re.SOLIDUS?(this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Ya.SCRIPT,!1)&&OP(this.preprocessor.peek(Ya.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Ya.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=ae.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.SOLIDUS:case re.GREATER_THAN_SIGN:case re.EOF:{this.state=ae.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case re.EQUALS_SIGN:{this._err(Ie.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=ae.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=ae.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:case re.SOLIDUS:case re.GREATER_THAN_SIGN:case re.EOF:{this._leaveAttrName(),this.state=ae.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case re.EQUALS_SIGN:{this._leaveAttrName(),this.state=ae.BEFORE_ATTRIBUTE_VALUE;break}case re.QUOTATION_MARK:case re.APOSTROPHE:case re.LESS_THAN_SIGN:{this._err(Ie.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.currentAttr.name+=on;break}default:this.currentAttr.name+=String.fromCodePoint(Qf(t)?P1(t):t)}}_stateAfterAttributeName(t){switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.SOLIDUS:{this.state=ae.SELF_CLOSING_START_TAG;break}case re.EQUALS_SIGN:{this.state=ae.BEFORE_ATTRIBUTE_VALUE;break}case re.GREATER_THAN_SIGN:{this.state=ae.DATA,this.emitCurrentTagToken();break}case re.EOF:{this._err(Ie.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=ae.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.QUOTATION_MARK:{this.state=ae.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this.state=ae.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Ie.missingAttributeValue),this.state=ae.DATA,this.emitCurrentTagToken();break}default:this.state=ae.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case re.QUOTATION_MARK:{this.state=ae.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.currentAttr.value+=on;break}case re.EOF:{this._err(Ie.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case re.APOSTROPHE:{this.state=ae.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.currentAttr.value+=on;break}case re.EOF:{this._err(Ie.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this._leaveAttrValue(),this.state=ae.BEFORE_ATTRIBUTE_NAME;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=ae.DATA,this.emitCurrentTagToken();break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),this.currentAttr.value+=on;break}case re.QUOTATION_MARK:case re.APOSTROPHE:case re.LESS_THAN_SIGN:case re.EQUALS_SIGN:case re.GRAVE_ACCENT:{this._err(Ie.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case re.EOF:{this._err(Ie.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this._leaveAttrValue(),this.state=ae.BEFORE_ATTRIBUTE_NAME;break}case re.SOLIDUS:{this._leaveAttrValue(),this.state=ae.SELF_CLOSING_START_TAG;break}case re.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=ae.DATA,this.emitCurrentTagToken();break}case re.EOF:{this._err(Ie.eofInTag),this._emitEOFToken();break}default:this._err(Ie.missingWhitespaceBetweenAttributes),this.state=ae.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case re.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=ae.DATA,this.emitCurrentTagToken();break}case re.EOF:{this._err(Ie.eofInTag),this._emitEOFToken();break}default:this._err(Ie.unexpectedSolidusInTag),this.state=ae.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case re.GREATER_THAN_SIGN:{this.state=ae.DATA,this.emitCurrentComment(r);break}case re.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.data+=on;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ya.DASH_DASH,!0)?(this._createCommentToken(Ya.DASH_DASH.length+1),this.state=ae.COMMENT_START):this._consumeSequenceIfMatch(Ya.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ya.DOCTYPE.length+1),this.state=ae.DOCTYPE):this._consumeSequenceIfMatch(Ya.CDATA_START,!0)?this.inForeignNode?this.state=ae.CDATA_SECTION:(this._err(Ie.cdataInHtmlContent),this._createCommentToken(Ya.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=ae.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Ie.incorrectlyOpenedComment),this._createCommentToken(2),this.state=ae.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case re.HYPHEN_MINUS:{this.state=ae.COMMENT_START_DASH;break}case re.GREATER_THAN_SIGN:{this._err(Ie.abruptClosingOfEmptyComment),this.state=ae.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=ae.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case re.HYPHEN_MINUS:{this.state=ae.COMMENT_END;break}case re.GREATER_THAN_SIGN:{this._err(Ie.abruptClosingOfEmptyComment),this.state=ae.DATA,this.emitCurrentComment(r);break}case re.EOF:{this._err(Ie.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=ae.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case re.HYPHEN_MINUS:{this.state=ae.COMMENT_END_DASH;break}case re.LESS_THAN_SIGN:{r.data+="<",this.state=ae.COMMENT_LESS_THAN_SIGN;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.data+=on;break}case re.EOF:{this._err(Ie.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case re.EXCLAMATION_MARK:{r.data+="!",this.state=ae.COMMENT_LESS_THAN_SIGN_BANG;break}case re.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=ae.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===re.HYPHEN_MINUS?this.state=ae.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=ae.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===re.HYPHEN_MINUS?this.state=ae.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=ae.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==re.GREATER_THAN_SIGN&&t!==re.EOF&&this._err(Ie.nestedComment),this.state=ae.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case re.HYPHEN_MINUS:{this.state=ae.COMMENT_END;break}case re.EOF:{this._err(Ie.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=ae.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case re.GREATER_THAN_SIGN:{this.state=ae.DATA,this.emitCurrentComment(r);break}case re.EXCLAMATION_MARK:{this.state=ae.COMMENT_END_BANG;break}case re.HYPHEN_MINUS:{r.data+="-";break}case re.EOF:{this._err(Ie.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=ae.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case re.HYPHEN_MINUS:{r.data+="--!",this.state=ae.COMMENT_END_DASH;break}case re.GREATER_THAN_SIGN:{this._err(Ie.incorrectlyClosedComment),this.state=ae.DATA,this.emitCurrentComment(r);break}case re.EOF:{this._err(Ie.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=ae.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=ae.BEFORE_DOCTYPE_NAME;break}case re.GREATER_THAN_SIGN:{this.state=ae.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case re.EOF:{this._err(Ie.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.missingWhitespaceBeforeDoctypeName),this.state=ae.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Qf(t))this._createDoctypeToken(String.fromCharCode(P1(t))),this.state=ae.DOCTYPE_NAME;else switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.NULL:{this._err(Ie.unexpectedNullCharacter),this._createDoctypeToken(on),this.state=ae.DOCTYPE_NAME;break}case re.GREATER_THAN_SIGN:{this._err(Ie.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.EOF:{this._err(Ie.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=ae.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=ae.AFTER_DOCTYPE_NAME;break}case re.GREATER_THAN_SIGN:{this.state=ae.DATA,this.emitCurrentDoctype(r);break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.name+=on;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Qf(t)?P1(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.GREATER_THAN_SIGN:{this.state=ae.DATA,this.emitCurrentDoctype(r);break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ya.PUBLIC,!1)?this.state=ae.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ya.SYSTEM,!1)?this.state=ae.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Ie.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=ae.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case re.QUOTATION_MARK:{this._err(Ie.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=ae.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this._err(Ie.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=ae.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Ie.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ae.DATA,this.emitCurrentDoctype(r);break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.QUOTATION_MARK:{r.publicId="",this.state=ae.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{r.publicId="",this.state=ae.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Ie.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ae.DATA,this.emitCurrentDoctype(r);break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case re.QUOTATION_MARK:{this.state=ae.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.publicId+=on;break}case re.GREATER_THAN_SIGN:{this._err(Ie.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case re.APOSTROPHE:{this.state=ae.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.publicId+=on;break}case re.GREATER_THAN_SIGN:{this._err(Ie.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=ae.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case re.GREATER_THAN_SIGN:{this.state=ae.DATA,this.emitCurrentDoctype(r);break}case re.QUOTATION_MARK:{this._err(Ie.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this._err(Ie.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.QUOTATION_MARK:{r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=ae.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case re.QUOTATION_MARK:{this._err(Ie.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this._err(Ie.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Ie.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ae.DATA,this.emitCurrentDoctype(r);break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.QUOTATION_MARK:{r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{r.systemId="",this.state=ae.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Ie.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ae.DATA,this.emitCurrentDoctype(r);break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case re.QUOTATION_MARK:{this.state=ae.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.systemId+=on;break}case re.GREATER_THAN_SIGN:{this._err(Ie.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case re.APOSTROPHE:{this.state=ae.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter),r.systemId+=on;break}case re.GREATER_THAN_SIGN:{this._err(Ie.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.EOF:{this._err(Ie.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(Ie.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=ae.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case re.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=ae.DATA;break}case re.NULL:{this._err(Ie.unexpectedNullCharacter);break}case re.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case re.RIGHT_SQUARE_BRACKET:{this.state=ae.CDATA_SECTION_BRACKET;break}case re.EOF:{this._err(Ie.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===re.RIGHT_SQUARE_BRACKET?this.state=ae.CDATA_SECTION_END:(this._emitChars("]"),this.state=ae.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case re.GREATER_THAN_SIGN:{this.state=ae.DATA;break}case re.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=ae.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(re.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&IP(this.preprocessor.peek(1))?ae.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){IP(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===re.SEMICOLON&&this._err(Ie.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Ure=new Set([N.DD,N.DT,N.LI,N.OPTGROUP,N.OPTION,N.P,N.RB,N.RP,N.RT,N.RTC]),BP=new Set([...Ure,N.CAPTION,N.COLGROUP,N.TBODY,N.TD,N.TFOOT,N.TH,N.THEAD,N.TR]),yy=new Set([N.APPLET,N.CAPTION,N.HTML,N.MARQUEE,N.OBJECT,N.TABLE,N.TD,N.TEMPLATE,N.TH]),qOe=new Set([...yy,N.OL,N.UL]),WOe=new Set([...yy,N.BUTTON]),PP=new Set([N.ANNOTATION_XML,N.MI,N.MN,N.MO,N.MS,N.MTEXT]),zP=new Set([N.DESC,N.FOREIGN_OBJECT,N.TITLE]),VOe=new Set([N.TR,N.TEMPLATE,N.HTML]),KOe=new Set([N.TBODY,N.TFOOT,N.THEAD,N.TEMPLATE,N.HTML]),YOe=new Set([N.TABLE,N.TEMPLATE,N.HTML]),XOe=new Set([N.TD,N.TH]);class JOe{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=N.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===N.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Je.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==Je.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(LD,Je.HTML)}popUntilTableCellPopped(){this.popUntilPopped(XOe,Je.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(YOe,Je.HTML)}clearBackToTableBodyContext(){this.clearBackTo(KOe,Je.HTML)}clearBackToTableRowContext(){this.clearBackTo(VOe,Je.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===N.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===N.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case Je.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case Je.SVG:{if(zP.has(a))return!1;break}case Je.MATHML:{if(PP.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,yy)}hasInListItemScope(t){return this.hasInDynamicScope(t,qOe)}hasInButtonScope(t){return this.hasInDynamicScope(t,WOe)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Je.HTML:{if(LD.has(r))return!0;if(yy.has(r))return!1;break}case Je.SVG:{if(zP.has(r))return!1;break}case Je.MATHML:{if(PP.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===Je.HTML)switch(this.tagIDs[r]){case t:return!0;case N.TABLE:case N.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Je.HTML)switch(this.tagIDs[t]){case N.TBODY:case N.THEAD:case N.TFOOT:return!0;case N.TABLE:case N.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===Je.HTML)switch(this.tagIDs[r]){case t:return!0;case N.OPTION:case N.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Ure.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&BP.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&BP.has(this.currentTagId);)this.pop()}}const nw=3;var Xo;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Xo||(Xo={}));const HP={type:Xo.Marker};class ZOe{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const l=this.entries[s];if(l.type===Xo.Marker)break;const{element:u}=l;if(this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===o){const d=this.treeAdapter.getAttrList(u);d.length===a&&n.push({idx:s,attrs:d})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<nw)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<nw)return;const a=new Map(r.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<n.length;o++){const s=n[o];s.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=nw&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(HP)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:Xo.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Xo.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(HP);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===Xo.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===Xo.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===Xo.Element&&r.element===t)}}const eu={createDocument(){return{nodeName:"#document",mode:Qi.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};eu.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(eu.isTextNode(r)){r.value+=t;return}}eu.appendChild(e,eu.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&eu.isTextNode(n)?n.value+=t:eu.insertBefore(e,eu.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Gre="html",QOe="about:legacy-compat",e7e="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",$re=["+//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//"],t7e=[...$re,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],r7e=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),jre=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],n7e=[...jre,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function UP(e,t){return t.some(r=>e.startsWith(r))}function a7e(e){return e.name===Gre&&e.publicId===null&&(e.systemId===null||e.systemId===QOe)}function i7e(e){if(e.name!==Gre)return Qi.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===e7e)return Qi.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),r7e.has(r))return Qi.QUIRKS;let n=t===null?t7e:$re;if(UP(r,n))return Qi.QUIRKS;if(n=t===null?jre:n7e,UP(r,n))return Qi.LIMITED_QUIRKS}return Qi.NO_QUIRKS}const GP={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},o7e="definitionurl",s7e="definitionURL",l7e=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),u7e=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Je.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Je.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Je.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Je.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Je.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Je.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Je.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Je.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Je.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Je.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Je.XMLNS}]]),c7e=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),d7e=new Set([N.B,N.BIG,N.BLOCKQUOTE,N.BODY,N.BR,N.CENTER,N.CODE,N.DD,N.DIV,N.DL,N.DT,N.EM,N.EMBED,N.H1,N.H2,N.H3,N.H4,N.H5,N.H6,N.HEAD,N.HR,N.I,N.IMG,N.LI,N.LISTING,N.MENU,N.META,N.NOBR,N.OL,N.P,N.PRE,N.RUBY,N.S,N.SMALL,N.SPAN,N.STRONG,N.STRIKE,N.SUB,N.SUP,N.TABLE,N.TT,N.U,N.UL,N.VAR]);function h7e(e){const t=e.tagID;return t===N.FONT&&e.attrs.some(({name:n})=>n===Ec.COLOR||n===Ec.SIZE||n===Ec.FACE)||d7e.has(t)}function qre(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===o7e){e.attrs[t].name=s7e;break}}function Wre(e){for(let t=0;t<e.attrs.length;t++){const r=l7e.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function j5(e){for(let t=0;t<e.attrs.length;t++){const r=u7e.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function p7e(e){const t=c7e.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=mp(e.tagName))}function f7e(e,t){return t===Je.MATHML&&(e===N.MI||e===N.MO||e===N.MN||e===N.MS||e===N.MTEXT)}function m7e(e,t,r){if(t===Je.MATHML&&e===N.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===Ec.ENCODING){const a=r[n].value.toLowerCase();return a===GP.TEXT_HTML||a===GP.APPLICATION_XML}}return t===Je.SVG&&(e===N.FOREIGN_OBJECT||e===N.DESC||e===N.TITLE)}function g7e(e,t,r,n){return(!n||n===Je.HTML)&&m7e(e,t,r)||(!n||n===Je.MATHML)&&f7e(e,t)}const b7e="hidden",y7e=8,v7e=3;var he;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(he||(he={}));const F7e={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Vre=new Set([N.TABLE,N.TBODY,N.TFOOT,N.THEAD,N.TR]),$P={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:eu,onParseError:null};class jP{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=he.INITIAL,this.originalInsertionMode=he.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...$P,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new jOe(this.options,this),this.activeFormattingElements=new ZOe(this.treeAdapter),this.fragmentContextID=n?mp(this.treeAdapter.getTagName(n)):N.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new JOe(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n={...$P,...r};t??(t=n.treeAdapter.createElement(Ce.TEMPLATE,Je.HTML,[]));const a=n.treeAdapter.createElement("documentmock",Je.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===N.TEMPLATE&&i.tmplInsertionModeStack.unshift(he.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:F7e,o={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Je.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,Je.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=he.TEXT}switchToPlaintextParsing(){this.insertionMode=he.TEXT,this.originalInsertionMode=he.IN_BODY,this.tokenizer.state=wn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===Ce.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Je.HTML))switch(this.fragmentContextID){case N.TITLE:case N.TEXTAREA:{this.tokenizer.state=wn.RCDATA;break}case N.STYLE:case N.XMP:case N.IFRAME:case N.NOEMBED:case N.NOFRAMES:case N.NOSCRIPT:{this.tokenizer.state=wn.RAWTEXT;break}case N.SCRIPT:{this.tokenizer.state=wn.SCRIPT_DATA;break}case N.PLAINTEXT:{this.tokenizer.state=wn.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,Je.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,Je.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(Ce.HTML,Je.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,N.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,o=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:l,endCol:u,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:l,endCol:u,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===vr.END_TAG&&a===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===N.SVG&&this.treeAdapter.getTagName(r)===Ce.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Je.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===N.MGLYPH||t.tagID===N.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,Je.HTML)}_processToken(t){switch(t.type){case vr.CHARACTER:{this.onCharacter(t);break}case vr.NULL_CHARACTER:{this.onNullCharacter(t);break}case vr.COMMENT:{this.onComment(t);break}case vr.DOCTYPE:{this.onDoctype(t);break}case vr.START_TAG:{this._processStartTag(t);break}case vr.END_TAG:{this.onEndTag(t);break}case vr.EOF:{this.onEof(t);break}case vr.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return g7e(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===Xo.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=he.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(N.P),this.openElements.popUntilTagNamePopped(N.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case N.TR:{this.insertionMode=he.IN_ROW;return}case N.TBODY:case N.THEAD:case N.TFOOT:{this.insertionMode=he.IN_TABLE_BODY;return}case N.CAPTION:{this.insertionMode=he.IN_CAPTION;return}case N.COLGROUP:{this.insertionMode=he.IN_COLUMN_GROUP;return}case N.TABLE:{this.insertionMode=he.IN_TABLE;return}case N.BODY:{this.insertionMode=he.IN_BODY;return}case N.FRAMESET:{this.insertionMode=he.IN_FRAMESET;return}case N.SELECT:{this._resetInsertionModeForSelect(t);return}case N.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case N.HTML:{this.insertionMode=this.headElement?he.AFTER_HEAD:he.BEFORE_HEAD;return}case N.TD:case N.TH:{if(t>0){this.insertionMode=he.IN_CELL;return}break}case N.HEAD:{if(t>0){this.insertionMode=he.IN_HEAD;return}break}}this.insertionMode=he.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===N.TEMPLATE)break;if(n===N.TABLE){this.insertionMode=he.IN_SELECT_IN_TABLE;return}}this.insertionMode=he.IN_SELECT}_isElementCausesFosterParenting(t){return Vre.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case N.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===Je.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case N.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return HOe[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){XBe(this,t);return}switch(this.insertionMode){case he.INITIAL:{Lf(this,t);break}case he.BEFORE_HTML:{pm(this,t);break}case he.BEFORE_HEAD:{fm(this,t);break}case he.IN_HEAD:{mm(this,t);break}case he.IN_HEAD_NO_SCRIPT:{gm(this,t);break}case he.AFTER_HEAD:{bm(this,t);break}case he.IN_BODY:case he.IN_CAPTION:case he.IN_CELL:case he.IN_TEMPLATE:{Yre(this,t);break}case he.TEXT:case he.IN_SELECT:case he.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case he.IN_TABLE:case he.IN_TABLE_BODY:case he.IN_ROW:{aw(this,t);break}case he.IN_TABLE_TEXT:{tne(this,t);break}case he.IN_COLUMN_GROUP:{vy(this,t);break}case he.AFTER_BODY:{Fy(this,t);break}case he.AFTER_AFTER_BODY:{Fb(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){YBe(this,t);return}switch(this.insertionMode){case he.INITIAL:{Lf(this,t);break}case he.BEFORE_HTML:{pm(this,t);break}case he.BEFORE_HEAD:{fm(this,t);break}case he.IN_HEAD:{mm(this,t);break}case he.IN_HEAD_NO_SCRIPT:{gm(this,t);break}case he.AFTER_HEAD:{bm(this,t);break}case he.TEXT:{this._insertCharacters(t);break}case he.IN_TABLE:case he.IN_TABLE_BODY:case he.IN_ROW:{aw(this,t);break}case he.IN_COLUMN_GROUP:{vy(this,t);break}case he.AFTER_BODY:{Fy(this,t);break}case he.AFTER_AFTER_BODY:{Fb(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){MD(this,t);return}switch(this.insertionMode){case he.INITIAL:case he.BEFORE_HTML:case he.BEFORE_HEAD:case he.IN_HEAD:case he.IN_HEAD_NO_SCRIPT:case he.AFTER_HEAD:case he.IN_BODY:case he.IN_TABLE:case he.IN_CAPTION:case he.IN_COLUMN_GROUP:case he.IN_TABLE_BODY:case he.IN_ROW:case he.IN_CELL:case he.IN_SELECT:case he.IN_SELECT_IN_TABLE:case he.IN_TEMPLATE:case he.IN_FRAMESET:case he.AFTER_FRAMESET:{MD(this,t);break}case he.IN_TABLE_TEXT:{Mf(this,t);break}case he.AFTER_BODY:{T7e(this,t);break}case he.AFTER_AFTER_BODY:case he.AFTER_AFTER_FRAMESET:{A7e(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case he.INITIAL:{_7e(this,t);break}case he.BEFORE_HEAD:case he.IN_HEAD:case he.IN_HEAD_NO_SCRIPT:case he.AFTER_HEAD:{this._err(t,Ie.misplacedDoctype);break}case he.IN_TABLE_TEXT:{Mf(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Ie.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?JBe(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case he.INITIAL:{Lf(this,t);break}case he.BEFORE_HTML:{D7e(this,t);break}case he.BEFORE_HEAD:{N7e(this,t);break}case he.IN_HEAD:{Mo(this,t);break}case he.IN_HEAD_NO_SCRIPT:{I7e(this,t);break}case he.AFTER_HEAD:{B7e(this,t);break}case he.IN_BODY:{Na(this,t);break}case he.IN_TABLE:{Ih(this,t);break}case he.IN_TABLE_TEXT:{Mf(this,t);break}case he.IN_CAPTION:{LBe(this,t);break}case he.IN_COLUMN_GROUP:{V5(this,t);break}case he.IN_TABLE_BODY:{p2(this,t);break}case he.IN_ROW:{f2(this,t);break}case he.IN_CELL:{OBe(this,t);break}case he.IN_SELECT:{ane(this,t);break}case he.IN_SELECT_IN_TABLE:{PBe(this,t);break}case he.IN_TEMPLATE:{HBe(this,t);break}case he.AFTER_BODY:{GBe(this,t);break}case he.IN_FRAMESET:{$Be(this,t);break}case he.AFTER_FRAMESET:{qBe(this,t);break}case he.AFTER_AFTER_BODY:{VBe(this,t);break}case he.AFTER_AFTER_FRAMESET:{KBe(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?ZBe(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case he.INITIAL:{Lf(this,t);break}case he.BEFORE_HTML:{R7e(this,t);break}case he.BEFORE_HEAD:{L7e(this,t);break}case he.IN_HEAD:{M7e(this,t);break}case he.IN_HEAD_NO_SCRIPT:{O7e(this,t);break}case he.AFTER_HEAD:{P7e(this,t);break}case he.IN_BODY:{h2(this,t);break}case he.TEXT:{xBe(this,t);break}case he.IN_TABLE:{zm(this,t);break}case he.IN_TABLE_TEXT:{Mf(this,t);break}case he.IN_CAPTION:{MBe(this,t);break}case he.IN_COLUMN_GROUP:{IBe(this,t);break}case he.IN_TABLE_BODY:{ID(this,t);break}case he.IN_ROW:{nne(this,t);break}case he.IN_CELL:{BBe(this,t);break}case he.IN_SELECT:{ine(this,t);break}case he.IN_SELECT_IN_TABLE:{zBe(this,t);break}case he.IN_TEMPLATE:{UBe(this,t);break}case he.AFTER_BODY:{sne(this,t);break}case he.IN_FRAMESET:{jBe(this,t);break}case he.AFTER_FRAMESET:{WBe(this,t);break}case he.AFTER_AFTER_BODY:{Fb(this,t);break}}}onEof(t){switch(this.insertionMode){case he.INITIAL:{Lf(this,t);break}case he.BEFORE_HTML:{pm(this,t);break}case he.BEFORE_HEAD:{fm(this,t);break}case he.IN_HEAD:{mm(this,t);break}case he.IN_HEAD_NO_SCRIPT:{gm(this,t);break}case he.AFTER_HEAD:{bm(this,t);break}case he.IN_BODY:case he.IN_TABLE:case he.IN_CAPTION:case he.IN_COLUMN_GROUP:case he.IN_TABLE_BODY:case he.IN_ROW:case he.IN_CELL:case he.IN_SELECT:case he.IN_SELECT_IN_TABLE:{Qre(this,t);break}case he.TEXT:{wBe(this,t);break}case he.IN_TABLE_TEXT:{Mf(this,t);break}case he.IN_TEMPLATE:{one(this,t);break}case he.AFTER_BODY:case he.IN_FRAMESET:case he.AFTER_FRAMESET:case he.AFTER_AFTER_BODY:case he.AFTER_AFTER_FRAMESET:{W5(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===re.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case he.IN_HEAD:case he.IN_HEAD_NO_SCRIPT:case he.AFTER_HEAD:case he.TEXT:case he.IN_COLUMN_GROUP:case he.IN_SELECT:case he.IN_SELECT_IN_TABLE:case he.IN_FRAMESET:case he.AFTER_FRAMESET:{this._insertCharacters(t);break}case he.IN_BODY:case he.IN_CAPTION:case he.IN_CELL:case he.IN_TEMPLATE:case he.AFTER_BODY:case he.AFTER_AFTER_BODY:case he.AFTER_AFTER_FRAMESET:{Kre(this,t);break}case he.IN_TABLE:case he.IN_TABLE_BODY:case he.IN_ROW:{aw(this,t);break}case he.IN_TABLE_TEXT:{ene(this,t);break}}}}function E7e(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):Zre(e,t),r}function S7e(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function x7e(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==r;i++,o=a){a=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),l=s&&i>=v7e;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=w7e(e,s),n===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(o,n),n=o)}return n}function w7e(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function k7e(e,t,r){const n=e.treeAdapter.getTagName(t),a=mp(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===N.TEMPLATE&&i===Je.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function C7e(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function q5(e,t){for(let r=0;r<y7e;r++){const n=E7e(e,t);if(!n)break;const a=S7e(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=x7e(e,a,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),o&&k7e(e,o,i),C7e(e,a,n)}}function MD(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function T7e(e,t){e._appendCommentNode(t,e.openElements.items[0])}function A7e(e,t){e._appendCommentNode(t,e.document)}function W5(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function _7e(e,t){e._setDocumentType(t);const r=t.forceQuirks?Qi.QUIRKS:i7e(t);a7e(t)||e._err(t,Ie.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=he.BEFORE_HTML}function Lf(e,t){e._err(t,Ie.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Qi.QUIRKS),e.insertionMode=he.BEFORE_HTML,e._processToken(t)}function D7e(e,t){t.tagID===N.HTML?(e._insertElement(t,Je.HTML),e.insertionMode=he.BEFORE_HEAD):pm(e,t)}function R7e(e,t){const r=t.tagID;(r===N.HTML||r===N.HEAD||r===N.BODY||r===N.BR)&&pm(e,t)}function pm(e,t){e._insertFakeRootElement(),e.insertionMode=he.BEFORE_HEAD,e._processToken(t)}function N7e(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.HEAD:{e._insertElement(t,Je.HTML),e.headElement=e.openElements.current,e.insertionMode=he.IN_HEAD;break}default:fm(e,t)}}function L7e(e,t){const r=t.tagID;r===N.HEAD||r===N.BODY||r===N.HTML||r===N.BR?fm(e,t):e._err(t,Ie.endTagWithoutMatchingOpenElement)}function fm(e,t){e._insertFakeElement(Ce.HEAD,N.HEAD),e.headElement=e.openElements.current,e.insertionMode=he.IN_HEAD,e._processToken(t)}function Mo(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.BASE:case N.BASEFONT:case N.BGSOUND:case N.LINK:case N.META:{e._appendElement(t,Je.HTML),t.ackSelfClosing=!0;break}case N.TITLE:{e._switchToTextParsing(t,wn.RCDATA);break}case N.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,wn.RAWTEXT):(e._insertElement(t,Je.HTML),e.insertionMode=he.IN_HEAD_NO_SCRIPT);break}case N.NOFRAMES:case N.STYLE:{e._switchToTextParsing(t,wn.RAWTEXT);break}case N.SCRIPT:{e._switchToTextParsing(t,wn.SCRIPT_DATA);break}case N.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=he.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(he.IN_TEMPLATE);break}case N.HEAD:{e._err(t,Ie.misplacedStartTagForHeadElement);break}default:mm(e,t)}}function M7e(e,t){switch(t.tagID){case N.HEAD:{e.openElements.pop(),e.insertionMode=he.AFTER_HEAD;break}case N.BODY:case N.BR:case N.HTML:{mm(e,t);break}case N.TEMPLATE:{Jc(e,t);break}default:e._err(t,Ie.endTagWithoutMatchingOpenElement)}}function Jc(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==N.TEMPLATE&&e._err(t,Ie.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(N.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Ie.endTagWithoutMatchingOpenElement)}function mm(e,t){e.openElements.pop(),e.insertionMode=he.AFTER_HEAD,e._processToken(t)}function I7e(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.BASEFONT:case N.BGSOUND:case N.HEAD:case N.LINK:case N.META:case N.NOFRAMES:case N.STYLE:{Mo(e,t);break}case N.NOSCRIPT:{e._err(t,Ie.nestedNoscriptInHead);break}default:gm(e,t)}}function O7e(e,t){switch(t.tagID){case N.NOSCRIPT:{e.openElements.pop(),e.insertionMode=he.IN_HEAD;break}case N.BR:{gm(e,t);break}default:e._err(t,Ie.endTagWithoutMatchingOpenElement)}}function gm(e,t){const r=t.type===vr.EOF?Ie.openElementsLeftAfterEof:Ie.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=he.IN_HEAD,e._processToken(t)}function B7e(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.BODY:{e._insertElement(t,Je.HTML),e.framesetOk=!1,e.insertionMode=he.IN_BODY;break}case N.FRAMESET:{e._insertElement(t,Je.HTML),e.insertionMode=he.IN_FRAMESET;break}case N.BASE:case N.BASEFONT:case N.BGSOUND:case N.LINK:case N.META:case N.NOFRAMES:case N.SCRIPT:case N.STYLE:case N.TEMPLATE:case N.TITLE:{e._err(t,Ie.abandonedHeadElementChild),e.openElements.push(e.headElement,N.HEAD),Mo(e,t),e.openElements.remove(e.headElement);break}case N.HEAD:{e._err(t,Ie.misplacedStartTagForHeadElement);break}default:bm(e,t)}}function P7e(e,t){switch(t.tagID){case N.BODY:case N.HTML:case N.BR:{bm(e,t);break}case N.TEMPLATE:{Jc(e,t);break}default:e._err(t,Ie.endTagWithoutMatchingOpenElement)}}function bm(e,t){e._insertFakeElement(Ce.BODY,N.BODY),e.insertionMode=he.IN_BODY,d2(e,t)}function d2(e,t){switch(t.type){case vr.CHARACTER:{Yre(e,t);break}case vr.WHITESPACE_CHARACTER:{Kre(e,t);break}case vr.COMMENT:{MD(e,t);break}case vr.START_TAG:{Na(e,t);break}case vr.END_TAG:{h2(e,t);break}case vr.EOF:{Qre(e,t);break}}}function Kre(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Yre(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function z7e(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function H7e(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function U7e(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Je.HTML),e.insertionMode=he.IN_FRAMESET)}function G7e(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,Je.HTML)}function $7e(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&LD.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Je.HTML)}function j7e(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,Je.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function q7e(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,Je.HTML),r||(e.formElement=e.openElements.current))}function W7e(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===N.LI&&a===N.LI||(r===N.DD||r===N.DT)&&(a===N.DD||a===N.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==N.ADDRESS&&a!==N.DIV&&a!==N.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,Je.HTML)}function V7e(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,Je.HTML),e.tokenizer.state=wn.PLAINTEXT}function K7e(e,t){e.openElements.hasInScope(N.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(N.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Je.HTML),e.framesetOk=!1}function Y7e(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(Ce.A);r&&(q5(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,Je.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function X7e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Je.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function J7e(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(N.NOBR)&&(q5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Je.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Z7e(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Je.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Q7e(e,t){e.treeAdapter.getDocumentMode(e.document)!==Qi.QUIRKS&&e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._insertElement(t,Je.HTML),e.framesetOk=!1,e.insertionMode=he.IN_TABLE}function Xre(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Je.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Jre(e){const t=zre(e,Ec.TYPE);return t!=null&&t.toLowerCase()===b7e}function eBe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Je.HTML),Jre(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function tBe(e,t){e._appendElement(t,Je.HTML),t.ackSelfClosing=!0}function rBe(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._appendElement(t,Je.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function nBe(e,t){t.tagName=Ce.IMG,t.tagID=N.IMG,Xre(e,t)}function aBe(e,t){e._insertElement(t,Je.HTML),e.skipNextNewLine=!0,e.tokenizer.state=wn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=he.TEXT}function iBe(e,t){e.openElements.hasInButtonScope(N.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,wn.RAWTEXT)}function oBe(e,t){e.framesetOk=!1,e._switchToTextParsing(t,wn.RAWTEXT)}function qP(e,t){e._switchToTextParsing(t,wn.RAWTEXT)}function sBe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Je.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===he.IN_TABLE||e.insertionMode===he.IN_CAPTION||e.insertionMode===he.IN_TABLE_BODY||e.insertionMode===he.IN_ROW||e.insertionMode===he.IN_CELL?he.IN_SELECT_IN_TABLE:he.IN_SELECT}function lBe(e,t){e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Je.HTML)}function uBe(e,t){e.openElements.hasInScope(N.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Je.HTML)}function cBe(e,t){e.openElements.hasInScope(N.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(N.RTC),e._insertElement(t,Je.HTML)}function dBe(e,t){e._reconstructActiveFormattingElements(),qre(t),j5(t),t.selfClosing?e._appendElement(t,Je.MATHML):e._insertElement(t,Je.MATHML),t.ackSelfClosing=!0}function hBe(e,t){e._reconstructActiveFormattingElements(),Wre(t),j5(t),t.selfClosing?e._appendElement(t,Je.SVG):e._insertElement(t,Je.SVG),t.ackSelfClosing=!0}function WP(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Je.HTML)}function Na(e,t){switch(t.tagID){case N.I:case N.S:case N.B:case N.U:case N.EM:case N.TT:case N.BIG:case N.CODE:case N.FONT:case N.SMALL:case N.STRIKE:case N.STRONG:{X7e(e,t);break}case N.A:{Y7e(e,t);break}case N.H1:case N.H2:case N.H3:case N.H4:case N.H5:case N.H6:{$7e(e,t);break}case N.P:case N.DL:case N.OL:case N.UL:case N.DIV:case N.DIR:case N.NAV:case N.MAIN:case N.MENU:case N.ASIDE:case N.CENTER:case N.FIGURE:case N.FOOTER:case N.HEADER:case N.HGROUP:case N.DIALOG:case N.DETAILS:case N.ADDRESS:case N.ARTICLE:case N.SEARCH:case N.SECTION:case N.SUMMARY:case N.FIELDSET:case N.BLOCKQUOTE:case N.FIGCAPTION:{G7e(e,t);break}case N.LI:case N.DD:case N.DT:{W7e(e,t);break}case N.BR:case N.IMG:case N.WBR:case N.AREA:case N.EMBED:case N.KEYGEN:{Xre(e,t);break}case N.HR:{rBe(e,t);break}case N.RB:case N.RTC:{uBe(e,t);break}case N.RT:case N.RP:{cBe(e,t);break}case N.PRE:case N.LISTING:{j7e(e,t);break}case N.XMP:{iBe(e,t);break}case N.SVG:{hBe(e,t);break}case N.HTML:{z7e(e,t);break}case N.BASE:case N.LINK:case N.META:case N.STYLE:case N.TITLE:case N.SCRIPT:case N.BGSOUND:case N.BASEFONT:case N.TEMPLATE:{Mo(e,t);break}case N.BODY:{H7e(e,t);break}case N.FORM:{q7e(e,t);break}case N.NOBR:{J7e(e,t);break}case N.MATH:{dBe(e,t);break}case N.TABLE:{Q7e(e,t);break}case N.INPUT:{eBe(e,t);break}case N.PARAM:case N.TRACK:case N.SOURCE:{tBe(e,t);break}case N.IMAGE:{nBe(e,t);break}case N.BUTTON:{K7e(e,t);break}case N.APPLET:case N.OBJECT:case N.MARQUEE:{Z7e(e,t);break}case N.IFRAME:{oBe(e,t);break}case N.SELECT:{sBe(e,t);break}case N.OPTION:case N.OPTGROUP:{lBe(e,t);break}case N.NOEMBED:case N.NOFRAMES:{qP(e,t);break}case N.FRAMESET:{U7e(e,t);break}case N.TEXTAREA:{aBe(e,t);break}case N.NOSCRIPT:{e.options.scriptingEnabled?qP(e,t):WP(e,t);break}case N.PLAINTEXT:{V7e(e,t);break}case N.COL:case N.TH:case N.TD:case N.TR:case N.HEAD:case N.FRAME:case N.TBODY:case N.TFOOT:case N.THEAD:case N.CAPTION:case N.COLGROUP:break;default:WP(e,t)}}function pBe(e,t){if(e.openElements.hasInScope(N.BODY)&&(e.insertionMode=he.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function fBe(e,t){e.openElements.hasInScope(N.BODY)&&(e.insertionMode=he.AFTER_BODY,sne(e,t))}function mBe(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function gBe(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(N.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(N.FORM):r&&e.openElements.remove(r))}function bBe(e){e.openElements.hasInButtonScope(N.P)||e._insertFakeElement(Ce.P,N.P),e._closePElement()}function yBe(e){e.openElements.hasInListItemScope(N.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(N.LI),e.openElements.popUntilTagNamePopped(N.LI))}function vBe(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function FBe(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function EBe(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function SBe(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Ce.BR,N.BR),e.openElements.pop(),e.framesetOk=!1}function Zre(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(n===o&&(n!==N.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function h2(e,t){switch(t.tagID){case N.A:case N.B:case N.I:case N.S:case N.U:case N.EM:case N.TT:case N.BIG:case N.CODE:case N.FONT:case N.NOBR:case N.SMALL:case N.STRIKE:case N.STRONG:{q5(e,t);break}case N.P:{bBe(e);break}case N.DL:case N.UL:case N.OL:case N.DIR:case N.DIV:case N.NAV:case N.PRE:case N.MAIN:case N.MENU:case N.ASIDE:case N.BUTTON:case N.CENTER:case N.FIGURE:case N.FOOTER:case N.HEADER:case N.HGROUP:case N.DIALOG:case N.ADDRESS:case N.ARTICLE:case N.DETAILS:case N.SEARCH:case N.SECTION:case N.SUMMARY:case N.LISTING:case N.FIELDSET:case N.BLOCKQUOTE:case N.FIGCAPTION:{mBe(e,t);break}case N.LI:{yBe(e);break}case N.DD:case N.DT:{vBe(e,t);break}case N.H1:case N.H2:case N.H3:case N.H4:case N.H5:case N.H6:{FBe(e);break}case N.BR:{SBe(e);break}case N.BODY:{pBe(e,t);break}case N.HTML:{fBe(e,t);break}case N.FORM:{gBe(e);break}case N.APPLET:case N.OBJECT:case N.MARQUEE:{EBe(e,t);break}case N.TEMPLATE:{Jc(e,t);break}default:Zre(e,t)}}function Qre(e,t){e.tmplInsertionModeStack.length>0?one(e,t):W5(e,t)}function xBe(e,t){var r;t.tagID===N.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function wBe(e,t){e._err(t,Ie.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function aw(e,t){if(e.openElements.currentTagId!==void 0&&Vre.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=he.IN_TABLE_TEXT,t.type){case vr.CHARACTER:{tne(e,t);break}case vr.WHITESPACE_CHARACTER:{ene(e,t);break}}else C0(e,t)}function kBe(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Je.HTML),e.insertionMode=he.IN_CAPTION}function CBe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Je.HTML),e.insertionMode=he.IN_COLUMN_GROUP}function TBe(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ce.COLGROUP,N.COLGROUP),e.insertionMode=he.IN_COLUMN_GROUP,V5(e,t)}function ABe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Je.HTML),e.insertionMode=he.IN_TABLE_BODY}function _Be(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ce.TBODY,N.TBODY),e.insertionMode=he.IN_TABLE_BODY,p2(e,t)}function DBe(e,t){e.openElements.hasInTableScope(N.TABLE)&&(e.openElements.popUntilTagNamePopped(N.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function RBe(e,t){Jre(t)?e._appendElement(t,Je.HTML):C0(e,t),t.ackSelfClosing=!0}function NBe(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Je.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ih(e,t){switch(t.tagID){case N.TD:case N.TH:case N.TR:{_Be(e,t);break}case N.STYLE:case N.SCRIPT:case N.TEMPLATE:{Mo(e,t);break}case N.COL:{TBe(e,t);break}case N.FORM:{NBe(e,t);break}case N.TABLE:{DBe(e,t);break}case N.TBODY:case N.TFOOT:case N.THEAD:{ABe(e,t);break}case N.INPUT:{RBe(e,t);break}case N.CAPTION:{kBe(e,t);break}case N.COLGROUP:{CBe(e,t);break}default:C0(e,t)}}function zm(e,t){switch(t.tagID){case N.TABLE:{e.openElements.hasInTableScope(N.TABLE)&&(e.openElements.popUntilTagNamePopped(N.TABLE),e._resetInsertionMode());break}case N.TEMPLATE:{Jc(e,t);break}case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:case N.TBODY:case N.TD:case N.TFOOT:case N.TH:case N.THEAD:case N.TR:break;default:C0(e,t)}}function C0(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,d2(e,t),e.fosterParentingEnabled=r}function ene(e,t){e.pendingCharacterTokens.push(t)}function tne(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Mf(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)C0(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const rne=new Set([N.CAPTION,N.COL,N.COLGROUP,N.TBODY,N.TD,N.TFOOT,N.TH,N.THEAD,N.TR]);function LBe(e,t){const r=t.tagID;rne.has(r)?e.openElements.hasInTableScope(N.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(N.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=he.IN_TABLE,Ih(e,t)):Na(e,t)}function MBe(e,t){const r=t.tagID;switch(r){case N.CAPTION:case N.TABLE:{e.openElements.hasInTableScope(N.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(N.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=he.IN_TABLE,r===N.TABLE&&zm(e,t));break}case N.BODY:case N.COL:case N.COLGROUP:case N.HTML:case N.TBODY:case N.TD:case N.TFOOT:case N.TH:case N.THEAD:case N.TR:break;default:h2(e,t)}}function V5(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.COL:{e._appendElement(t,Je.HTML),t.ackSelfClosing=!0;break}case N.TEMPLATE:{Mo(e,t);break}default:vy(e,t)}}function IBe(e,t){switch(t.tagID){case N.COLGROUP:{e.openElements.currentTagId===N.COLGROUP&&(e.openElements.pop(),e.insertionMode=he.IN_TABLE);break}case N.TEMPLATE:{Jc(e,t);break}case N.COL:break;default:vy(e,t)}}function vy(e,t){e.openElements.currentTagId===N.COLGROUP&&(e.openElements.pop(),e.insertionMode=he.IN_TABLE,e._processToken(t))}function p2(e,t){switch(t.tagID){case N.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Je.HTML),e.insertionMode=he.IN_ROW;break}case N.TH:case N.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(Ce.TR,N.TR),e.insertionMode=he.IN_ROW,f2(e,t);break}case N.CAPTION:case N.COL:case N.COLGROUP:case N.TBODY:case N.TFOOT:case N.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=he.IN_TABLE,Ih(e,t));break}default:Ih(e,t)}}function ID(e,t){const r=t.tagID;switch(t.tagID){case N.TBODY:case N.TFOOT:case N.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=he.IN_TABLE);break}case N.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=he.IN_TABLE,zm(e,t));break}case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:case N.TD:case N.TH:case N.TR:break;default:zm(e,t)}}function f2(e,t){switch(t.tagID){case N.TH:case N.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Je.HTML),e.insertionMode=he.IN_CELL,e.activeFormattingElements.insertMarker();break}case N.CAPTION:case N.COL:case N.COLGROUP:case N.TBODY:case N.TFOOT:case N.THEAD:case N.TR:{e.openElements.hasInTableScope(N.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=he.IN_TABLE_BODY,p2(e,t));break}default:Ih(e,t)}}function nne(e,t){switch(t.tagID){case N.TR:{e.openElements.hasInTableScope(N.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=he.IN_TABLE_BODY);break}case N.TABLE:{e.openElements.hasInTableScope(N.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=he.IN_TABLE_BODY,ID(e,t));break}case N.TBODY:case N.TFOOT:case N.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(N.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=he.IN_TABLE_BODY,ID(e,t));break}case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:case N.TD:case N.TH:break;default:zm(e,t)}}function OBe(e,t){const r=t.tagID;rne.has(r)?(e.openElements.hasInTableScope(N.TD)||e.openElements.hasInTableScope(N.TH))&&(e._closeTableCell(),f2(e,t)):Na(e,t)}function BBe(e,t){const r=t.tagID;switch(r){case N.TD:case N.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=he.IN_ROW);break}case N.TABLE:case N.TBODY:case N.TFOOT:case N.THEAD:case N.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),nne(e,t));break}case N.BODY:case N.CAPTION:case N.COL:case N.COLGROUP:case N.HTML:break;default:h2(e,t)}}function ane(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.OPTION:{e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e._insertElement(t,Je.HTML);break}case N.OPTGROUP:{e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e.openElements.currentTagId===N.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Je.HTML);break}case N.HR:{e.openElements.currentTagId===N.OPTION&&e.openElements.pop(),e.openElements.currentTagId===N.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Je.HTML),t.ackSelfClosing=!0;break}case N.INPUT:case N.KEYGEN:case N.TEXTAREA:case N.SELECT:{e.openElements.hasInSelectScope(N.SELECT)&&(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode(),t.tagID!==N.SELECT&&e._processStartTag(t));break}case N.SCRIPT:case N.TEMPLATE:{Mo(e,t);break}}}function ine(e,t){switch(t.tagID){case N.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===N.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===N.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===N.OPTGROUP&&e.openElements.pop();break}case N.OPTION:{e.openElements.currentTagId===N.OPTION&&e.openElements.pop();break}case N.SELECT:{e.openElements.hasInSelectScope(N.SELECT)&&(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode());break}case N.TEMPLATE:{Jc(e,t);break}}}function PBe(e,t){const r=t.tagID;r===N.CAPTION||r===N.TABLE||r===N.TBODY||r===N.TFOOT||r===N.THEAD||r===N.TR||r===N.TD||r===N.TH?(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode(),e._processStartTag(t)):ane(e,t)}function zBe(e,t){const r=t.tagID;r===N.CAPTION||r===N.TABLE||r===N.TBODY||r===N.TFOOT||r===N.THEAD||r===N.TR||r===N.TD||r===N.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(N.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ine(e,t)}function HBe(e,t){switch(t.tagID){case N.BASE:case N.BASEFONT:case N.BGSOUND:case N.LINK:case N.META:case N.NOFRAMES:case N.SCRIPT:case N.STYLE:case N.TEMPLATE:case N.TITLE:{Mo(e,t);break}case N.CAPTION:case N.COLGROUP:case N.TBODY:case N.TFOOT:case N.THEAD:{e.tmplInsertionModeStack[0]=he.IN_TABLE,e.insertionMode=he.IN_TABLE,Ih(e,t);break}case N.COL:{e.tmplInsertionModeStack[0]=he.IN_COLUMN_GROUP,e.insertionMode=he.IN_COLUMN_GROUP,V5(e,t);break}case N.TR:{e.tmplInsertionModeStack[0]=he.IN_TABLE_BODY,e.insertionMode=he.IN_TABLE_BODY,p2(e,t);break}case N.TD:case N.TH:{e.tmplInsertionModeStack[0]=he.IN_ROW,e.insertionMode=he.IN_ROW,f2(e,t);break}default:e.tmplInsertionModeStack[0]=he.IN_BODY,e.insertionMode=he.IN_BODY,Na(e,t)}}function UBe(e,t){t.tagID===N.TEMPLATE&&Jc(e,t)}function one(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(N.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):W5(e,t)}function GBe(e,t){t.tagID===N.HTML?Na(e,t):Fy(e,t)}function sne(e,t){var r;if(t.tagID===N.HTML){if(e.fragmentContext||(e.insertionMode=he.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===N.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Fy(e,t)}function Fy(e,t){e.insertionMode=he.IN_BODY,d2(e,t)}function $Be(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.FRAMESET:{e._insertElement(t,Je.HTML);break}case N.FRAME:{e._appendElement(t,Je.HTML),t.ackSelfClosing=!0;break}case N.NOFRAMES:{Mo(e,t);break}}}function jBe(e,t){t.tagID===N.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==N.FRAMESET&&(e.insertionMode=he.AFTER_FRAMESET))}function qBe(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.NOFRAMES:{Mo(e,t);break}}}function WBe(e,t){t.tagID===N.HTML&&(e.insertionMode=he.AFTER_AFTER_FRAMESET)}function VBe(e,t){t.tagID===N.HTML?Na(e,t):Fb(e,t)}function Fb(e,t){e.insertionMode=he.IN_BODY,d2(e,t)}function KBe(e,t){switch(t.tagID){case N.HTML:{Na(e,t);break}case N.NOFRAMES:{Mo(e,t);break}}}function YBe(e,t){t.chars=on,e._insertCharacters(t)}function XBe(e,t){e._insertCharacters(t),e.framesetOk=!1}function lne(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Je.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function JBe(e,t){if(h7e(t))lne(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===Je.MATHML?qre(t):n===Je.SVG&&(p7e(t),Wre(t)),j5(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function ZBe(e,t){if(t.tagID===N.P||t.tagID===N.BR){lne(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===Je.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}Ce.AREA,Ce.BASE,Ce.BASEFONT,Ce.BGSOUND,Ce.BR,Ce.COL,Ce.EMBED,Ce.FRAME,Ce.HR,Ce.IMG,Ce.INPUT,Ce.KEYGEN,Ce.LINK,Ce.META,Ce.PARAM,Ce.SOURCE,Ce.TRACK,Ce.WBR;const QBe=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,ePe=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),VP={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function une(e,t){const r=cPe(e),n=nre("type",{handlers:{root:tPe,element:rPe,text:nPe,comment:dne,doctype:aPe,raw:oPe},unknown:sPe}),a={parser:r?new jP(VP):jP.getFragmentParser(void 0,VP),handle(s){n(s,a)},stitches:!1,options:t||{}};n(e,a),gp(a,ms());const i=r?a.parser.document:a.parser.getFragment(),o=dOe(i,{file:a.options.file});return a.stitches&&x0(o,"comment",function(s,l,u){const d=s;if(d.value.stitch&&u&&l!==void 0){const h=u.children;return h[l]=d.value.stitch,l}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function cne(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function tPe(e,t){cne(e.children,t)}function rPe(e,t){lPe(e,t),cne(e.children,t),uPe(e,t)}function nPe(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:vr.CHARACTER,chars:e.value,location:T0(e)};gp(t,ms(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function aPe(e,t){const r={type:vr.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:T0(e)};gp(t,ms(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function iPe(e,t){t.stitches=!0;const r=dPe(e);if("children"in e&&"children"in r){const n=une({type:"root",children:e.children},t.options);r.children=n.children}dne({type:"comment",value:{stitch:r}},t)}function dne(e,t){const r=e.value,n={type:vr.COMMENT,data:r,location:T0(e)};gp(t,ms(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function oPe(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,hne(t,ms(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(QBe,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function sPe(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))iPe(r,t);else{let n="";throw ePe.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function gp(e,t){hne(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=wn.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function hne(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function lPe(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===wn.PLAINTEXT)return;gp(t,ms(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:hc.html;a===hc.html&&r==="svg"&&(a=hc.svg);const i=gOe({...e,children:[]},{space:a===hc.svg?"svg":"html"}),o={type:vr.START_TAG,tagName:r,tagID:mp(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:T0(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function uPe(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&wOe.includes(r)||t.parser.tokenizer.state===wn.PLAINTEXT)return;gp(t,i2(e));const n={type:vr.END_TAG,tagName:r,tagID:mp(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:T0(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===wn.RCDATA||t.parser.tokenizer.state===wn.RAWTEXT||t.parser.tokenizer.state===wn.SCRIPT_DATA)&&(t.parser.tokenizer.state=wn.DATA)}function cPe(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function T0(e){const t=ms(e)||{line:void 0,column:void 0,offset:void 0},r=i2(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function dPe(e){return"children"in e?Mh({...e,children:[]}):Mh(e)}function KP(e){return function(t,r){return une(t,{...e,file:r})}}function hPe(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:s,mathText:o,mathTextData:s}};function e(l){const u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){const u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=u;const h=d.data.hChildren[0];h.type,h.tagName,h.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function i(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function o(l){const u=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=u,d.data.hChildren.push({type:"text",value:u})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function pPe(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
||
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,o,s,l){const u=i.value||"",d=s.createTracker(l),h="$".repeat(Math.max(are(u,"$")+1,2)),f=s.enter("mathFlow");let m=d.move(h);if(i.meta){const b=s.enter("mathFlowMeta");m+=d.move(s.safe(i.meta,{after:`
|
||
`,before:m,encode:["$"],...d.current()})),b()}return m+=d.move(`
|
||
`),u&&(m+=d.move(u+`
|
||
`)),m+=d.move(h),f(),m}function n(i,o,s){let l=i.value||"",u=1;for(t||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(l);)u++;const d="$".repeat(u);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let h=-1;for(;++h<s.unsafe.length;){const f=s.unsafe[h];if(!f.atBreak)continue;const m=s.compilePattern(f);let b;for(;b=m.exec(l);){let y=b.index;l.codePointAt(y)===10&&l.codePointAt(y-1)===13&&y--,l=l.slice(0,y)+" "+l.slice(b.index+1)}}return d+l+d}function a(){return"$"}}const fPe={tokenize:mPe,concrete:!0,name:"mathFlow"},YP={tokenize:gPe,partial:!0};function mPe(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let o=0;return s;function s(E){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(E)}function l(E){return E===36?(e.consume(E),o++,l):o<2?r(E):(e.exit("mathFlowFenceSequence"),Fr(e,u,"whitespace")(E))}function u(E){return E===null||It(E)?h(E):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(E))}function d(E){return E===null||It(E)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),h(E)):E===36?r(E):(e.consume(E),d)}function h(E){return e.exit("mathFlowFence"),n.interrupt?t(E):e.attempt(YP,f,F)(E)}function f(E){return e.attempt({tokenize:x,partial:!0},F,m)(E)}function m(E){return(i?Fr(e,b,"linePrefix",i+1):b)(E)}function b(E){return E===null?F(E):It(E)?e.attempt(YP,f,F)(E):(e.enter("mathFlowValue"),y(E))}function y(E){return E===null||It(E)?(e.exit("mathFlowValue"),b(E)):(e.consume(E),y)}function F(E){return e.exit("mathFlow"),t(E)}function x(E,C,_){let D=0;return Fr(E,w,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function w(M){return E.enter("mathFlowFence"),E.enter("mathFlowFenceSequence"),A(M)}function A(M){return M===36?(D++,E.consume(M),A):D<o?_(M):(E.exit("mathFlowFenceSequence"),Fr(E,I,"whitespace")(M))}function I(M){return M===null||It(M)?(E.exit("mathFlowFence"),C(M)):_(M)}}}function gPe(e,t,r){const n=this;return a;function a(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function bPe(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:yPe,previous:vPe,name:"mathText"};function n(a,i,o){let s=0,l,u;return d;function d(y){return a.enter("mathText"),a.enter("mathTextSequence"),h(y)}function h(y){return y===36?(a.consume(y),s++,h):s<2&&!r?o(y):(a.exit("mathTextSequence"),f(y))}function f(y){return y===null?o(y):y===36?(u=a.enter("mathTextSequence"),l=0,b(y)):y===32?(a.enter("space"),a.consume(y),a.exit("space"),f):It(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),f):(a.enter("mathTextData"),m(y))}function m(y){return y===null||y===32||y===36||It(y)?(a.exit("mathTextData"),f(y)):(a.consume(y),m)}function b(y){return y===36?(a.consume(y),l++,b):l===s?(a.exit("mathTextSequence"),a.exit("mathText"),i(y)):(u.type="mathTextData",m(y))}}}function yPe(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function vPe(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function FPe(e){return{flow:{36:fPe},text:{36:bPe(e)}}}const EPe={};function XP(e){const t=this,r=e||EPe,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(FPe(r)),i.push(hPe()),o.push(pPe(r))}var Eb={exports:{}},SPe=Eb.exports,JP;function xPe(){return JP||(JP=1,function(e,t){(function(r,n){e.exports=n()})(SPe,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",o="second",s="minute",l="hour",u="day",d="week",h="month",f="quarter",m="year",b="date",y="Invalid Date",F=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(V){var X=["th","st","nd","rd"],q=V%100;return"["+V+(X[(q-20)%10]||X[q]||X[0])+"]"}},C=function(V,X,q){var W=String(V);return!W||W.length>=X?V:""+Array(X+1-W.length).join(q)+V},_={s:C,z:function(V){var X=-V.utcOffset(),q=Math.abs(X),W=Math.floor(q/60),B=q%60;return(X<=0?"+":"-")+C(W,2,"0")+":"+C(B,2,"0")},m:function V(X,q){if(X.date()<q.date())return-V(q,X);var W=12*(q.year()-X.year())+(q.month()-X.month()),B=X.clone().add(W,h),te=q-B<0,P=X.clone().add(W+(te?-1:1),h);return+(-(W+(q-B)/(te?B-P:P-B))||0)},a:function(V){return V<0?Math.ceil(V)||0:Math.floor(V)},p:function(V){return{M:h,y:m,w:d,d:u,D:b,h:l,m:s,s:o,ms:i,Q:f}[V]||String(V||"").toLowerCase().replace(/s$/,"")},u:function(V){return V===void 0}},D="en",w={};w[D]=E;var A="$isDayjsObject",I=function(V){return V instanceof j||!(!V||!V[A])},M=function V(X,q,W){var B;if(!X)return D;if(typeof X=="string"){var te=X.toLowerCase();w[te]&&(B=te),q&&(w[te]=q,B=te);var P=X.split("-");if(!B&&P.length>1)return V(P[0])}else{var Z=X.name;w[Z]=X,B=Z}return!W&&B&&(D=B),B||!W&&D},L=function(V,X){if(I(V))return V.clone();var q=typeof X=="object"?X:{};return q.date=V,q.args=arguments,new j(q)},U=_;U.l=M,U.i=I,U.w=function(V,X){return L(V,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var j=function(){function V(q){this.$L=M(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[A]=!0}var X=V.prototype;return X.parse=function(q){this.$d=function(W){var B=W.date,te=W.utc;if(B===null)return new Date(NaN);if(U.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var P=B.match(F);if(P){var Z=P[2]-1||0,K=(P[7]||"0").substring(0,3);return te?new Date(Date.UTC(P[1],Z,P[3]||1,P[4]||0,P[5]||0,P[6]||0,K)):new Date(P[1],Z,P[3]||1,P[4]||0,P[5]||0,P[6]||0,K)}}return new Date(B)}(q),this.init()},X.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},X.$utils=function(){return U},X.isValid=function(){return this.$d.toString()!==y},X.isSame=function(q,W){var B=L(q);return this.startOf(W)<=B&&B<=this.endOf(W)},X.isAfter=function(q,W){return L(q)<this.startOf(W)},X.isBefore=function(q,W){return this.endOf(W)<L(q)},X.$g=function(q,W,B){return U.u(q)?this[W]:this.set(B,q)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(q,W){var B=this,te=!!U.u(W)||W,P=U.p(q),Z=function(Ne,pe){var Le=U.w(B.$u?Date.UTC(B.$y,pe,Ne):new Date(B.$y,pe,Ne),B);return te?Le:Le.endOf(u)},K=function(Ne,pe){return U.w(B.toDate()[Ne].apply(B.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(pe)),B)},G=this.$W,ne=this.$M,oe=this.$D,de="set"+(this.$u?"UTC":"");switch(P){case m:return te?Z(1,0):Z(31,11);case h:return te?Z(1,ne):Z(0,ne+1);case d:var ie=this.$locale().weekStart||0,ue=(G<ie?G+7:G)-ie;return Z(te?oe-ue:oe+(6-ue),ne);case u:case b:return K(de+"Hours",0);case l:return K(de+"Minutes",1);case s:return K(de+"Seconds",2);case o:return K(de+"Milliseconds",3);default:return this.clone()}},X.endOf=function(q){return this.startOf(q,!1)},X.$set=function(q,W){var B,te=U.p(q),P="set"+(this.$u?"UTC":""),Z=(B={},B[u]=P+"Date",B[b]=P+"Date",B[h]=P+"Month",B[m]=P+"FullYear",B[l]=P+"Hours",B[s]=P+"Minutes",B[o]=P+"Seconds",B[i]=P+"Milliseconds",B)[te],K=te===u?this.$D+(W-this.$W):W;if(te===h||te===m){var G=this.clone().set(b,1);G.$d[Z](K),G.init(),this.$d=G.set(b,Math.min(this.$D,G.daysInMonth())).$d}else Z&&this.$d[Z](K);return this.init(),this},X.set=function(q,W){return this.clone().$set(q,W)},X.get=function(q){return this[U.p(q)]()},X.add=function(q,W){var B,te=this;q=Number(q);var P=U.p(W),Z=function(ne){var oe=L(te);return U.w(oe.date(oe.date()+Math.round(ne*q)),te)};if(P===h)return this.set(h,this.$M+q);if(P===m)return this.set(m,this.$y+q);if(P===u)return Z(1);if(P===d)return Z(7);var K=(B={},B[s]=n,B[l]=a,B[o]=r,B)[P]||1,G=this.$d.getTime()+q*K;return U.w(G,this)},X.subtract=function(q,W){return this.add(-1*q,W)},X.format=function(q){var W=this,B=this.$locale();if(!this.isValid())return B.invalidDate||y;var te=q||"YYYY-MM-DDTHH:mm:ssZ",P=U.z(this),Z=this.$H,K=this.$m,G=this.$M,ne=B.weekdays,oe=B.months,de=B.meridiem,ie=function(pe,Le,Me,Ee){return pe&&(pe[Le]||pe(W,te))||Me[Le].slice(0,Ee)},ue=function(pe){return U.s(Z%12||12,pe,"0")},Ne=de||function(pe,Le,Me){var Ee=pe<12?"AM":"PM";return Me?Ee.toLowerCase():Ee};return te.replace(x,function(pe,Le){return Le||function(Me){switch(Me){case"YY":return String(W.$y).slice(-2);case"YYYY":return U.s(W.$y,4,"0");case"M":return G+1;case"MM":return U.s(G+1,2,"0");case"MMM":return ie(B.monthsShort,G,oe,3);case"MMMM":return ie(oe,G);case"D":return W.$D;case"DD":return U.s(W.$D,2,"0");case"d":return String(W.$W);case"dd":return ie(B.weekdaysMin,W.$W,ne,2);case"ddd":return ie(B.weekdaysShort,W.$W,ne,3);case"dddd":return ne[W.$W];case"H":return String(Z);case"HH":return U.s(Z,2,"0");case"h":return ue(1);case"hh":return ue(2);case"a":return Ne(Z,K,!0);case"A":return Ne(Z,K,!1);case"m":return String(K);case"mm":return U.s(K,2,"0");case"s":return String(W.$s);case"ss":return U.s(W.$s,2,"0");case"SSS":return U.s(W.$ms,3,"0");case"Z":return P}return null}(pe)||P.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(q,W,B){var te,P=this,Z=U.p(W),K=L(q),G=(K.utcOffset()-this.utcOffset())*n,ne=this-K,oe=function(){return U.m(P,K)};switch(Z){case m:te=oe()/12;break;case h:te=oe();break;case f:te=oe()/3;break;case d:te=(ne-G)/6048e5;break;case u:te=(ne-G)/864e5;break;case l:te=ne/a;break;case s:te=ne/n;break;case o:te=ne/r;break;default:te=ne}return B?te:U.a(te)},X.daysInMonth=function(){return this.endOf(h).$D},X.$locale=function(){return w[this.$L]},X.locale=function(q,W){if(!q)return this.$L;var B=this.clone(),te=M(q,W,!0);return te&&(B.$L=te),B},X.clone=function(){return U.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},V}(),z=j.prototype;return L.prototype=z,[["$ms",i],["$s",o],["$m",s],["$H",l],["$W",u],["$M",h],["$y",m],["$D",b]].forEach(function(V){z[V[1]]=function(X){return this.$g(X,V[0],V[1])}}),L.extend=function(V,X){return V.$i||(V(X,j,L),V.$i=!0),L},L.locale=M,L.isDayjs=I,L.unix=function(V){return L(1e3*V)},L.en=w[D],L.Ls=w,L.p={},L})}(Eb)),Eb.exports}var wPe=xPe();const kPe=On(wPe),Sb={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e},toLinear:e=>{const t=e/255;return e>.03928?Math.pow((t+.055)/1.055,2.4):t/12.92},hue2rgb:(e,t,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e),hsl2rgb:({h:e,s:t,l:r},n)=>{if(!t)return r*2.55;e/=360,t/=100,r/=100;const a=r<.5?r*(1+t):r+t-r*t,i=2*r-a;switch(n){case"r":return Sb.hue2rgb(i,a,e+1/3)*255;case"g":return Sb.hue2rgb(i,a,e)*255;case"b":return Sb.hue2rgb(i,a,e-1/3)*255}},rgb2hsl:({r:e,g:t,b:r},n)=>{e/=255,t/=255,r/=255;const a=Math.max(e,t,r),i=Math.min(e,t,r),o=(a+i)/2;if(n==="l")return o*100;if(a===i)return 0;const s=a-i,l=o>.5?s/(2-a-i):s/(a+i);if(n==="s")return l*100;switch(a){case e:return((t-r)/s+(t<r?6:0))*60;case t:return((r-e)/s+2)*60;case r:return((e-t)/s+4)*60;default:return-1}}},CPe={clamp:(e,t,r)=>t>r?Math.min(t,Math.max(r,e)):Math.min(r,Math.max(t,e)),round:e=>Math.round(e*1e10)/1e10},TPe={dec2hex:e=>{const t=Math.round(e).toString(16);return t.length>1?t:`0${t}`}},tr={channel:Sb,lang:CPe,unit:TPe},tu={};for(let e=0;e<=255;e++)tu[e]=tr.unit.dec2hex(e);const wa={ALL:0,RGB:1,HSL:2};class APe{constructor(){this.type=wa.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=wa.ALL}is(t){return this.type===t}}class _Pe{constructor(t,r){this.color=r,this.changed=!1,this.data=t,this.type=new APe}set(t,r){return this.color=r,this.changed=!1,this.data=t,this.type.type=wa.ALL,this}_ensureHSL(){const t=this.data,{h:r,s:n,l:a}=t;r===void 0&&(t.h=tr.channel.rgb2hsl(t,"h")),n===void 0&&(t.s=tr.channel.rgb2hsl(t,"s")),a===void 0&&(t.l=tr.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r,g:n,b:a}=t;r===void 0&&(t.r=tr.channel.hsl2rgb(t,"r")),n===void 0&&(t.g=tr.channel.hsl2rgb(t,"g")),a===void 0&&(t.b=tr.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,r=t.r;return!this.type.is(wa.HSL)&&r!==void 0?r:(this._ensureHSL(),tr.channel.hsl2rgb(t,"r"))}get g(){const t=this.data,r=t.g;return!this.type.is(wa.HSL)&&r!==void 0?r:(this._ensureHSL(),tr.channel.hsl2rgb(t,"g"))}get b(){const t=this.data,r=t.b;return!this.type.is(wa.HSL)&&r!==void 0?r:(this._ensureHSL(),tr.channel.hsl2rgb(t,"b"))}get h(){const t=this.data,r=t.h;return!this.type.is(wa.RGB)&&r!==void 0?r:(this._ensureRGB(),tr.channel.rgb2hsl(t,"h"))}get s(){const t=this.data,r=t.s;return!this.type.is(wa.RGB)&&r!==void 0?r:(this._ensureRGB(),tr.channel.rgb2hsl(t,"s"))}get l(){const t=this.data,r=t.l;return!this.type.is(wa.RGB)&&r!==void 0?r:(this._ensureRGB(),tr.channel.rgb2hsl(t,"l"))}get a(){return this.data.a}set r(t){this.type.set(wa.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(wa.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(wa.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(wa.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(wa.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(wa.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}const m2=new _Pe({r:0,g:0,b:0,a:0},"transparent"),ch={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(e.charCodeAt(0)!==35)return;const t=e.match(ch.re);if(!t)return;const r=t[1],n=parseInt(r,16),a=r.length,i=a%4===0,o=a>4,s=o?1:17,l=o?8:4,u=i?0:-1,d=o?255:15;return m2.set({r:(n>>l*(u+3)&d)*s,g:(n>>l*(u+2)&d)*s,b:(n>>l*(u+1)&d)*s,a:i?(n&d)*s/255:1},e)},stringify:e=>{const{r:t,g:r,b:n,a}=e;return a<1?`#${tu[Math.round(t)]}${tu[Math.round(r)]}${tu[Math.round(n)]}${tu[Math.round(a*255)]}`:`#${tu[Math.round(t)]}${tu[Math.round(r)]}${tu[Math.round(n)]}`}},pc={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:e=>{const t=e.match(pc.hueRe);if(t){const[,r,n]=t;switch(n){case"grad":return tr.channel.clamp.h(parseFloat(r)*.9);case"rad":return tr.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return tr.channel.clamp.h(parseFloat(r)*360)}}return tr.channel.clamp.h(parseFloat(e))},parse:e=>{const t=e.charCodeAt(0);if(t!==104&&t!==72)return;const r=e.match(pc.re);if(!r)return;const[,n,a,i,o,s]=r;return m2.set({h:pc._hue2deg(n),s:tr.channel.clamp.s(parseFloat(a)),l:tr.channel.clamp.l(parseFloat(i)),a:o?tr.channel.clamp.a(s?parseFloat(o)/100:parseFloat(o)):1},e)},stringify:e=>{const{h:t,s:r,l:n,a}=e;return a<1?`hsla(${tr.lang.round(t)}, ${tr.lang.round(r)}%, ${tr.lang.round(n)}%, ${a})`:`hsl(${tr.lang.round(t)}, ${tr.lang.round(r)}%, ${tr.lang.round(n)}%)`}},ym={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:e=>{e=e.toLowerCase();const t=ym.colors[e];if(t)return ch.parse(t)},stringify:e=>{const t=ch.stringify(e);for(const r in ym.colors)if(ym.colors[r]===t)return r}},em={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:e=>{const t=e.charCodeAt(0);if(t!==114&&t!==82)return;const r=e.match(em.re);if(!r)return;const[,n,a,i,o,s,l,u,d]=r;return m2.set({r:tr.channel.clamp.r(a?parseFloat(n)*2.55:parseFloat(n)),g:tr.channel.clamp.g(o?parseFloat(i)*2.55:parseFloat(i)),b:tr.channel.clamp.b(l?parseFloat(s)*2.55:parseFloat(s)),a:u?tr.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},e)},stringify:e=>{const{r:t,g:r,b:n,a}=e;return a<1?`rgba(${tr.lang.round(t)}, ${tr.lang.round(r)}, ${tr.lang.round(n)}, ${tr.lang.round(a)})`:`rgb(${tr.lang.round(t)}, ${tr.lang.round(r)}, ${tr.lang.round(n)})`}},os={format:{keyword:ym,hex:ch,rgb:em,rgba:em,hsl:pc,hsla:pc},parse:e=>{if(typeof e!="string")return e;const t=ch.parse(e)||em.parse(e)||pc.parse(e)||ym.parse(e);if(t)return t;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(wa.HSL)||e.data.r===void 0?pc.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?em.stringify(e):ch.stringify(e)},pne=(e,t)=>{const r=os.parse(e);for(const n in t)r[n]=tr.channel.clamp[n](t[n]);return os.stringify(r)},vm=(e,t,r=0,n=1)=>{if(typeof e!="number")return pne(e,{a:t});const a=m2.set({r:tr.channel.clamp.r(e),g:tr.channel.clamp.g(t),b:tr.channel.clamp.b(r),a:tr.channel.clamp.a(n)});return os.stringify(a)},DPe=e=>{const{r:t,g:r,b:n}=os.parse(e),a=.2126*tr.channel.toLinear(t)+.7152*tr.channel.toLinear(r)+.0722*tr.channel.toLinear(n);return tr.lang.round(a)},RPe=e=>DPe(e)>=.5,A0=e=>!RPe(e),fne=(e,t,r)=>{const n=os.parse(e),a=n[t],i=tr.channel.clamp[t](a+r);return a!==i&&(n[t]=i),os.stringify(n)},kt=(e,t)=>fne(e,"l",t),Ut=(e,t)=>fne(e,"l",-t),we=(e,t)=>{const r=os.parse(e),n={};for(const a in t)t[a]&&(n[a]=r[a]+t[a]);return pne(e,n)},NPe=(e,t,r=50)=>{const{r:n,g:a,b:i,a:o}=os.parse(e),{r:s,g:l,b:u,a:d}=os.parse(t),h=r/100,f=h*2-1,m=o-d,y=((f*m===-1?f:(f+m)/(1+f*m))+1)/2,F=1-y,x=n*y+s*F,E=a*y+l*F,C=i*y+u*F,_=o*h+d*(1-h);return vm(x,E,C,_)},dt=(e,t=100)=>{const r=os.parse(e);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,NPe(r,e,t)};/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */const{entries:mne,setPrototypeOf:ZP,isFrozen:LPe,getPrototypeOf:MPe,getOwnPropertyDescriptor:IPe}=Object;let{freeze:ja,seal:oo,create:gne}=Object,{apply:OD,construct:BD}=typeof Reflect<"u"&&Reflect;ja||(ja=function(t){return t});oo||(oo=function(t){return t});OD||(OD=function(t,r,n){return t.apply(r,n)});BD||(BD=function(t,r){return new t(...r)});const z1=qa(Array.prototype.forEach),OPe=qa(Array.prototype.lastIndexOf),QP=qa(Array.prototype.pop),If=qa(Array.prototype.push),BPe=qa(Array.prototype.splice),xb=qa(String.prototype.toLowerCase),iw=qa(String.prototype.toString),ez=qa(String.prototype.match),Of=qa(String.prototype.replace),PPe=qa(String.prototype.indexOf),zPe=qa(String.prototype.trim),Fo=qa(Object.prototype.hasOwnProperty),Ba=qa(RegExp.prototype.test),Bf=HPe(TypeError);function qa(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return OD(e,t,n)}}function HPe(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BD(e,r)}}function wr(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xb;ZP&&ZP(e,null);let n=t.length;for(;n--;){let a=t[n];if(typeof a=="string"){const i=r(a);i!==a&&(LPe(t)||(t[n]=i),a=i)}e[a]=!0}return e}function UPe(e){for(let t=0;t<e.length;t++)Fo(e,t)||(e[t]=null);return e}function ic(e){const t=gne(null);for(const[r,n]of mne(e))Fo(e,r)&&(Array.isArray(n)?t[r]=UPe(n):n&&typeof n=="object"&&n.constructor===Object?t[r]=ic(n):t[r]=n);return t}function Pf(e,t){for(;e!==null;){const n=IPe(e,t);if(n){if(n.get)return qa(n.get);if(typeof n.value=="function")return qa(n.value)}e=MPe(e)}function r(){return null}return r}const tz=ja(["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"]),ow=ja(["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"]),sw=ja(["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"]),GPe=ja(["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"]),lw=ja(["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"]),$Pe=ja(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),rz=ja(["#text"]),nz=ja(["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","popover","popovertarget","popovertargetaction","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","wrap","xmlns","slot"]),uw=ja(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","exponent","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","intercept","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","slope","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","tablevalues","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"]),az=ja(["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"]),H1=ja(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jPe=oo(/\{\{[\w\W]*|[\w\W]*\}\}/gm),qPe=oo(/<%[\w\W]*|[\w\W]*%>/gm),WPe=oo(/\$\{[\w\W]*/gm),VPe=oo(/^data-[\-\w.\u00B7-\uFFFF]+$/),KPe=oo(/^aria-[\-\w]+$/),bne=oo(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),YPe=oo(/^(?:\w+script|data):/i),XPe=oo(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),yne=oo(/^html$/i),JPe=oo(/^[a-z][.\w]*(-[.\w]+)+$/i);var iz=Object.freeze({__proto__:null,ARIA_ATTR:KPe,ATTR_WHITESPACE:XPe,CUSTOM_ELEMENT:JPe,DATA_ATTR:VPe,DOCTYPE_NAME:yne,ERB_EXPR:qPe,IS_ALLOWED_URI:bne,IS_SCRIPT_OR_DATA:YPe,MUSTACHE_EXPR:jPe,TMPLIT_EXPR:WPe});const zf={element:1,text:3,progressingInstruction:7,comment:8,document:9},ZPe=function(){return typeof window>"u"?null:window},QPe=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const a="data-tt-policy-suffix";r&&r.hasAttribute(a)&&(n=r.getAttribute(a));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},oz=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function vne(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ZPe();const t=_t=>vne(_t);if(t.version="3.2.5",t.removed=[],!e||!e.document||e.document.nodeType!==zf.document||!e.Element)return t.isSupported=!1,t;let{document:r}=e;const n=r,a=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:o,Node:s,Element:l,NodeFilter:u,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:h,DOMParser:f,trustedTypes:m}=e,b=l.prototype,y=Pf(b,"cloneNode"),F=Pf(b,"remove"),x=Pf(b,"nextSibling"),E=Pf(b,"childNodes"),C=Pf(b,"parentNode");if(typeof o=="function"){const _t=r.createElement("template");_t.content&&_t.content.ownerDocument&&(r=_t.content.ownerDocument)}let _,D="";const{implementation:w,createNodeIterator:A,createDocumentFragment:I,getElementsByTagName:M}=r,{importNode:L}=n;let U=oz();t.isSupported=typeof mne=="function"&&typeof C=="function"&&w&&w.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:j,ERB_EXPR:z,TMPLIT_EXPR:V,DATA_ATTR:X,ARIA_ATTR:q,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:B,CUSTOM_ELEMENT:te}=iz;let{IS_ALLOWED_URI:P}=iz,Z=null;const K=wr({},[...tz,...ow,...sw,...lw,...rz]);let G=null;const ne=wr({},[...nz,...uw,...az,...H1]);let oe=Object.seal(gne(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}})),de=null,ie=null,ue=!0,Ne=!0,pe=!1,Le=!0,Me=!1,Ee=!0,Te=!1,Re=!1,fe=!1,Ze=!1,yt=!1,qe=!1,Ke=!0,xe=!1;const Yt="user-content-";let nr=!0,Pe=!1,Qe={},me=null;const ke=wr({},["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 Ye=null;const pt=wr({},["audio","video","img","source","image","track"]);let St=null;const gr=wr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Sr="http://www.w3.org/1998/Math/MathML",ar="http://www.w3.org/2000/svg",Nt="http://www.w3.org/1999/xhtml";let br=Nt,Fe=!1,$e=null;const ct=wr({},[Sr,ar,Nt],iw);let vt=wr({},["mi","mo","mn","ms","mtext"]),Lt=wr({},["annotation-xml"]);const fr=wr({},["title","style","font","a","script"]);let Pr=null;const Jr=["application/xhtml+xml","text/html"],ba="text/html";let ft=null,or=null;const Gr=r.createElement("form"),aa=function(be){return be instanceof RegExp||be instanceof Function},zn=function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(or&&or===be)){if((!be||typeof be!="object")&&(be={}),be=ic(be),Pr=Jr.indexOf(be.PARSER_MEDIA_TYPE)===-1?ba:be.PARSER_MEDIA_TYPE,ft=Pr==="application/xhtml+xml"?iw:xb,Z=Fo(be,"ALLOWED_TAGS")?wr({},be.ALLOWED_TAGS,ft):K,G=Fo(be,"ALLOWED_ATTR")?wr({},be.ALLOWED_ATTR,ft):ne,$e=Fo(be,"ALLOWED_NAMESPACES")?wr({},be.ALLOWED_NAMESPACES,iw):ct,St=Fo(be,"ADD_URI_SAFE_ATTR")?wr(ic(gr),be.ADD_URI_SAFE_ATTR,ft):gr,Ye=Fo(be,"ADD_DATA_URI_TAGS")?wr(ic(pt),be.ADD_DATA_URI_TAGS,ft):pt,me=Fo(be,"FORBID_CONTENTS")?wr({},be.FORBID_CONTENTS,ft):ke,de=Fo(be,"FORBID_TAGS")?wr({},be.FORBID_TAGS,ft):{},ie=Fo(be,"FORBID_ATTR")?wr({},be.FORBID_ATTR,ft):{},Qe=Fo(be,"USE_PROFILES")?be.USE_PROFILES:!1,ue=be.ALLOW_ARIA_ATTR!==!1,Ne=be.ALLOW_DATA_ATTR!==!1,pe=be.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=be.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=be.SAFE_FOR_TEMPLATES||!1,Ee=be.SAFE_FOR_XML!==!1,Te=be.WHOLE_DOCUMENT||!1,Ze=be.RETURN_DOM||!1,yt=be.RETURN_DOM_FRAGMENT||!1,qe=be.RETURN_TRUSTED_TYPE||!1,fe=be.FORCE_BODY||!1,Ke=be.SANITIZE_DOM!==!1,xe=be.SANITIZE_NAMED_PROPS||!1,nr=be.KEEP_CONTENT!==!1,Pe=be.IN_PLACE||!1,P=be.ALLOWED_URI_REGEXP||bne,br=be.NAMESPACE||Nt,vt=be.MATHML_TEXT_INTEGRATION_POINTS||vt,Lt=be.HTML_INTEGRATION_POINTS||Lt,oe=be.CUSTOM_ELEMENT_HANDLING||{},be.CUSTOM_ELEMENT_HANDLING&&aa(be.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(oe.tagNameCheck=be.CUSTOM_ELEMENT_HANDLING.tagNameCheck),be.CUSTOM_ELEMENT_HANDLING&&aa(be.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(oe.attributeNameCheck=be.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),be.CUSTOM_ELEMENT_HANDLING&&typeof be.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(oe.allowCustomizedBuiltInElements=be.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Me&&(Ne=!1),yt&&(Ze=!0),Qe&&(Z=wr({},rz),G=[],Qe.html===!0&&(wr(Z,tz),wr(G,nz)),Qe.svg===!0&&(wr(Z,ow),wr(G,uw),wr(G,H1)),Qe.svgFilters===!0&&(wr(Z,sw),wr(G,uw),wr(G,H1)),Qe.mathMl===!0&&(wr(Z,lw),wr(G,az),wr(G,H1))),be.ADD_TAGS&&(Z===K&&(Z=ic(Z)),wr(Z,be.ADD_TAGS,ft)),be.ADD_ATTR&&(G===ne&&(G=ic(G)),wr(G,be.ADD_ATTR,ft)),be.ADD_URI_SAFE_ATTR&&wr(St,be.ADD_URI_SAFE_ATTR,ft),be.FORBID_CONTENTS&&(me===ke&&(me=ic(me)),wr(me,be.FORBID_CONTENTS,ft)),nr&&(Z["#text"]=!0),Te&&wr(Z,["html","head","body"]),Z.table&&(wr(Z,["tbody"]),delete de.tbody),be.TRUSTED_TYPES_POLICY){if(typeof be.TRUSTED_TYPES_POLICY.createHTML!="function")throw Bf('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof be.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Bf('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=be.TRUSTED_TYPES_POLICY,D=_.createHTML("")}else _===void 0&&(_=QPe(m,a)),_!==null&&typeof D=="string"&&(D=_.createHTML(""));ja&&ja(be),or=be}},ia=wr({},[...ow,...sw,...GPe]),Mi=wr({},[...lw,...$Pe]),ya=function(be){let et=C(be);(!et||!et.tagName)&&(et={namespaceURI:br,tagName:"template"});const Et=xb(be.tagName),zr=xb(et.tagName);return $e[be.namespaceURI]?be.namespaceURI===ar?et.namespaceURI===Nt?Et==="svg":et.namespaceURI===Sr?Et==="svg"&&(zr==="annotation-xml"||vt[zr]):!!ia[Et]:be.namespaceURI===Sr?et.namespaceURI===Nt?Et==="math":et.namespaceURI===ar?Et==="math"&&Lt[zr]:!!Mi[Et]:be.namespaceURI===Nt?et.namespaceURI===ar&&!Lt[zr]||et.namespaceURI===Sr&&!vt[zr]?!1:!Mi[Et]&&(fr[Et]||!ia[Et]):!!(Pr==="application/xhtml+xml"&&$e[be.namespaceURI]):!1},gn=function(be){If(t.removed,{element:be});try{C(be).removeChild(be)}catch{F(be)}},Du=function(be,et){try{If(t.removed,{attribute:et.getAttributeNode(be),from:et})}catch{If(t.removed,{attribute:null,from:et})}if(et.removeAttribute(be),be==="is")if(Ze||yt)try{gn(et)}catch{}else try{et.setAttribute(be,"")}catch{}},xp=function(be){let et=null,Et=null;if(fe)be="<remove></remove>"+be;else{const Cr=ez(be,/^[\r\n\t ]+/);Et=Cr&&Cr[0]}Pr==="application/xhtml+xml"&&br===Nt&&(be='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+be+"</body></html>");const zr=_?_.createHTML(be):be;if(br===Nt)try{et=new f().parseFromString(zr,Pr)}catch{}if(!et||!et.documentElement){et=w.createDocument(br,"template",null);try{et.documentElement.innerHTML=Fe?D:zr}catch{}}const un=et.body||et.documentElement;return be&&Et&&un.insertBefore(r.createTextNode(Et),un.childNodes[0]||null),br===Nt?M.call(et,Te?"html":"body")[0]:Te?et.documentElement:un},H0=function(be){return A.call(be.ownerDocument||be,be,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ii=function(be){return be instanceof h&&(typeof be.nodeName!="string"||typeof be.textContent!="string"||typeof be.removeChild!="function"||!(be.attributes instanceof d)||typeof be.removeAttribute!="function"||typeof be.setAttribute!="function"||typeof be.namespaceURI!="string"||typeof be.insertBefore!="function"||typeof be.hasChildNodes!="function")},Hn=function(be){return typeof s=="function"&&be instanceof s};function an(_t,be,et){z1(_t,Et=>{Et.call(t,be,et,or)})}const vs=function(be){let et=null;if(an(U.beforeSanitizeElements,be,null),Ii(be))return gn(be),!0;const Et=ft(be.nodeName);if(an(U.uponSanitizeElement,be,{tagName:Et,allowedTags:Z}),be.hasChildNodes()&&!Hn(be.firstElementChild)&&Ba(/<[/\w!]/g,be.innerHTML)&&Ba(/<[/\w!]/g,be.textContent)||be.nodeType===zf.progressingInstruction||Ee&&be.nodeType===zf.comment&&Ba(/<[/\w]/g,be.data))return gn(be),!0;if(!Z[Et]||de[Et]){if(!de[Et]&&U0(Et)&&(oe.tagNameCheck instanceof RegExp&&Ba(oe.tagNameCheck,Et)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(Et)))return!1;if(nr&&!me[Et]){const zr=C(be)||be.parentNode,un=E(be)||be.childNodes;if(un&&zr){const Cr=un.length;for(let oa=Cr-1;oa>=0;--oa){const di=y(un[oa],!0);di.__removalCount=(be.__removalCount||0)+1,zr.insertBefore(di,x(be))}}}return gn(be),!0}return be instanceof l&&!ya(be)||(Et==="noscript"||Et==="noembed"||Et==="noframes")&&Ba(/<\/no(script|embed|frames)/i,be.innerHTML)?(gn(be),!0):(Me&&be.nodeType===zf.text&&(et=be.textContent,z1([j,z,V],zr=>{et=Of(et,zr," ")}),be.textContent!==et&&(If(t.removed,{element:be.cloneNode()}),be.textContent=et)),an(U.afterSanitizeElements,be,null),!1)},ad=function(be,et,Et){if(Ke&&(et==="id"||et==="name")&&(Et in r||Et in Gr))return!1;if(!(Ne&&!ie[et]&&Ba(X,et))){if(!(ue&&Ba(q,et))){if(!G[et]||ie[et]){if(!(U0(be)&&(oe.tagNameCheck instanceof RegExp&&Ba(oe.tagNameCheck,be)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(be))&&(oe.attributeNameCheck instanceof RegExp&&Ba(oe.attributeNameCheck,et)||oe.attributeNameCheck instanceof Function&&oe.attributeNameCheck(et))||et==="is"&&oe.allowCustomizedBuiltInElements&&(oe.tagNameCheck instanceof RegExp&&Ba(oe.tagNameCheck,Et)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(Et))))return!1}else if(!St[et]){if(!Ba(P,Of(Et,B,""))){if(!((et==="src"||et==="xlink:href"||et==="href")&&be!=="script"&&PPe(Et,"data:")===0&&Ye[be])){if(!(pe&&!Ba(W,Of(Et,B,"")))){if(Et)return!1}}}}}}return!0},U0=function(be){return be!=="annotation-xml"&&ez(be,te)},G0=function(be){an(U.beforeSanitizeAttributes,be,null);const{attributes:et}=be;if(!et||Ii(be))return;const Et={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G,forceKeepAttr:void 0};let zr=et.length;for(;zr--;){const un=et[zr],{name:Cr,namespaceURI:oa,value:di}=un,hi=ft(Cr);let bn=Cr==="value"?di:zPe(di);if(Et.attrName=hi,Et.attrValue=bn,Et.keepAttr=!0,Et.forceKeepAttr=void 0,an(U.uponSanitizeAttribute,be,Et),bn=Et.attrValue,xe&&(hi==="id"||hi==="name")&&(Du(Cr,be),bn=Yt+bn),Ee&&Ba(/((--!?|])>)|<\/(style|title)/i,bn)){Du(Cr,be);continue}if(Et.forceKeepAttr||(Du(Cr,be),!Et.keepAttr))continue;if(!Le&&Ba(/\/>/i,bn)){Du(Cr,be);continue}Me&&z1([j,z,V],j0=>{bn=Of(bn,j0," ")});const Oi=ft(be.nodeName);if(ad(Oi,hi,bn)){if(_&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!oa)switch(m.getAttributeType(Oi,hi)){case"TrustedHTML":{bn=_.createHTML(bn);break}case"TrustedScriptURL":{bn=_.createScriptURL(bn);break}}try{oa?be.setAttributeNS(oa,Cr,bn):be.setAttribute(Cr,bn),Ii(be)?gn(be):QP(t.removed)}catch{}}}an(U.afterSanitizeAttributes,be,null)},$0=function _t(be){let et=null;const Et=H0(be);for(an(U.beforeSanitizeShadowDOM,be,null);et=Et.nextNode();)an(U.uponSanitizeShadowNode,et,null),vs(et),G0(et),et.content instanceof i&&_t(et.content);an(U.afterSanitizeShadowDOM,be,null)};return t.sanitize=function(_t){let be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=null,Et=null,zr=null,un=null;if(Fe=!_t,Fe&&(_t="<!-->"),typeof _t!="string"&&!Hn(_t))if(typeof _t.toString=="function"){if(_t=_t.toString(),typeof _t!="string")throw Bf("dirty is not a string, aborting")}else throw Bf("toString is not a function");if(!t.isSupported)return _t;if(Re||zn(be),t.removed=[],typeof _t=="string"&&(Pe=!1),Pe){if(_t.nodeName){const di=ft(_t.nodeName);if(!Z[di]||de[di])throw Bf("root node is forbidden and cannot be sanitized in-place")}}else if(_t instanceof s)et=xp("<!---->"),Et=et.ownerDocument.importNode(_t,!0),Et.nodeType===zf.element&&Et.nodeName==="BODY"||Et.nodeName==="HTML"?et=Et:et.appendChild(Et);else{if(!Ze&&!Me&&!Te&&_t.indexOf("<")===-1)return _&&qe?_.createHTML(_t):_t;if(et=xp(_t),!et)return Ze?null:qe?D:""}et&&fe&&gn(et.firstChild);const Cr=H0(Pe?_t:et);for(;zr=Cr.nextNode();)vs(zr),G0(zr),zr.content instanceof i&&$0(zr.content);if(Pe)return _t;if(Ze){if(yt)for(un=I.call(et.ownerDocument);et.firstChild;)un.appendChild(et.firstChild);else un=et;return(G.shadowroot||G.shadowrootmode)&&(un=L.call(n,un,!0)),un}let oa=Te?et.outerHTML:et.innerHTML;return Te&&Z["!doctype"]&&et.ownerDocument&&et.ownerDocument.doctype&&et.ownerDocument.doctype.name&&Ba(yne,et.ownerDocument.doctype.name)&&(oa="<!DOCTYPE "+et.ownerDocument.doctype.name+`>
|
||
`+oa),Me&&z1([j,z,V],di=>{oa=Of(oa,di," ")}),_&&qe?_.createHTML(oa):oa},t.setConfig=function(){let _t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};zn(_t),Re=!0},t.clearConfig=function(){or=null,Re=!1},t.isValidAttribute=function(_t,be,et){or||zn({});const Et=ft(_t),zr=ft(be);return ad(Et,zr,et)},t.addHook=function(_t,be){typeof be=="function"&&If(U[_t],be)},t.removeHook=function(_t,be){if(be!==void 0){const et=OPe(U[_t],be);return et===-1?void 0:BPe(U[_t],et,1)[0]}return QP(U[_t])},t.removeHooks=function(_t){U[_t]=[]},t.removeAllHooks=function(){U=oz()},t}var Oh=vne(),Fne=Object.defineProperty,H=(e,t)=>Fne(e,"name",{value:t,configurable:!0}),eze=(e,t)=>{for(var r in t)Fne(e,r,{get:t[r],enumerable:!0})},Hs={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},je={trace:H((...e)=>{},"trace"),debug:H((...e)=>{},"debug"),info:H((...e)=>{},"info"),warn:H((...e)=>{},"warn"),error:H((...e)=>{},"error"),fatal:H((...e)=>{},"fatal")},K5=H(function(e="fatal"){let t=Hs.fatal;typeof e=="string"?e.toLowerCase()in Hs&&(t=Hs[e]):typeof e=="number"&&(t=e),je.trace=()=>{},je.debug=()=>{},je.info=()=>{},je.warn=()=>{},je.error=()=>{},je.fatal=()=>{},t<=Hs.fatal&&(je.fatal=console.error?console.error.bind(console,Xi("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Xi("FATAL"))),t<=Hs.error&&(je.error=console.error?console.error.bind(console,Xi("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Xi("ERROR"))),t<=Hs.warn&&(je.warn=console.warn?console.warn.bind(console,Xi("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Xi("WARN"))),t<=Hs.info&&(je.info=console.info?console.info.bind(console,Xi("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Xi("INFO"))),t<=Hs.debug&&(je.debug=console.debug?console.debug.bind(console,Xi("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Xi("DEBUG"))),t<=Hs.trace&&(je.trace=console.debug?console.debug.bind(console,Xi("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Xi("TRACE")))},"setLogLevel"),Xi=H(e=>`%c${kPe().format("ss.SSS")} : ${e} : `,"format"),Ene=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,Fm=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,tze=/\s*%%.*\n/gm,ph,Sne=(ph=class extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}},H(ph,"UnknownDiagramError"),ph),Mc={},Y5=H(function(e,t){e=e.replace(Ene,"").replace(Fm,"").replace(tze,`
|
||
`);for(const[r,{detector:n}]of Object.entries(Mc))if(n(e,t))return r;throw new Sne(`No diagram type detected matching given configuration for text: ${e}`)},"detectType"),PD=H((...e)=>{for(const{id:t,detector:r,loader:n}of e)xne(t,r,n)},"registerLazyLoadedDiagrams"),xne=H((e,t,r)=>{Mc[e]&&je.warn(`Detector with key ${e} already exists. Overwriting.`),Mc[e]={detector:t,loader:r},je.debug(`Detector with key ${e} added${r?" with loader":""}`)},"addDetector"),rze=H(e=>Mc[e].loader,"getDiagramLoader"),zD=H((e,t,{depth:r=2,clobber:n=!1}={})=>{const a={depth:r,clobber:n};return Array.isArray(t)&&!Array.isArray(e)?(t.forEach(i=>zD(e,i,a)),e):Array.isArray(t)&&Array.isArray(e)?(t.forEach(i=>{e.includes(i)||e.push(i)}),e):e===void 0||r<=0?e!=null&&typeof e=="object"&&typeof t=="object"?Object.assign(e,t):t:(t!==void 0&&typeof e=="object"&&typeof t=="object"&&Object.keys(t).forEach(i=>{typeof t[i]=="object"&&(e[i]===void 0||typeof e[i]=="object")?(e[i]===void 0&&(e[i]=Array.isArray(t[i])?[]:{}),e[i]=zD(e[i],t[i],{depth:r-1,clobber:n})):(n||typeof e[i]!="object"&&typeof t[i]!="object")&&(e[i]=t[i])}),e)},"assignWithDepth"),ga=zD,g2="#ffffff",b2="#f2f2f2",Ha=H((e,t)=>t?we(e,{s:-40,l:10}):we(e,{s:-40,l:-10}),"mkBorder"),fh,nze=(fh=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var r,n,a,i,o,s,l,u,d,h,f,m,b,y,F,x,E,C,_,D,w;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||we(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||we(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Ha(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Ha(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Ha(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Ha(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||dt(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||dt(this.tertiaryColor),this.lineColor=this.lineColor||dt(this.background),this.arrowheadColor=this.arrowheadColor||dt(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ut(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ut(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||dt(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||kt(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||Ut(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ut(this.mainBkg,10)):(this.rowOdd=this.rowOdd||kt(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||kt(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||we(this.primaryColor,{h:30}),this.cScale4=this.cScale4||we(this.primaryColor,{h:60}),this.cScale5=this.cScale5||we(this.primaryColor,{h:90}),this.cScale6=this.cScale6||we(this.primaryColor,{h:120}),this.cScale7=this.cScale7||we(this.primaryColor,{h:150}),this.cScale8=this.cScale8||we(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||we(this.primaryColor,{h:270}),this.cScale10=this.cScale10||we(this.primaryColor,{h:300}),this.cScale11=this.cScale11||we(this.primaryColor,{h:330}),this.darkMode)for(let A=0;A<this.THEME_COLOR_LIMIT;A++)this["cScale"+A]=Ut(this["cScale"+A],75);else for(let A=0;A<this.THEME_COLOR_LIMIT;A++)this["cScale"+A]=Ut(this["cScale"+A],25);for(let A=0;A<this.THEME_COLOR_LIMIT;A++)this["cScaleInv"+A]=this["cScaleInv"+A]||dt(this["cScale"+A]);for(let A=0;A<this.THEME_COLOR_LIMIT;A++)this.darkMode?this["cScalePeer"+A]=this["cScalePeer"+A]||kt(this["cScale"+A],10):this["cScalePeer"+A]=this["cScalePeer"+A]||Ut(this["cScale"+A],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let A=0;A<this.THEME_COLOR_LIMIT;A++)this["cScaleLabel"+A]=this["cScaleLabel"+A]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let A=0;A<5;A++)this["surface"+A]=this["surface"+A]||we(this.mainBkg,{h:180,s:-15,l:t*(5+A*3)}),this["surfacePeer"+A]=this["surfacePeer"+A]||we(this.mainBkg,{h:180,s:-15,l:t*(8+A*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||we(this.primaryColor,{h:64}),this.fillType3=this.fillType3||we(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||we(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||we(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||we(this.primaryColor,{h:128}),this.fillType7=this.fillType7||we(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||we(this.primaryColor,{l:-10}),this.pie5=this.pie5||we(this.secondaryColor,{l:-10}),this.pie6=this.pie6||we(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||we(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||we(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||we(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||we(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||we(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||we(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.radar={axisColor:((r=this.radar)==null?void 0:r.axisColor)||this.lineColor,axisStrokeWidth:((n=this.radar)==null?void 0:n.axisStrokeWidth)||2,axisLabelFontSize:((a=this.radar)==null?void 0:a.axisLabelFontSize)||12,curveOpacity:((i=this.radar)==null?void 0:i.curveOpacity)||.5,curveStrokeWidth:((o=this.radar)==null?void 0:o.curveStrokeWidth)||2,graticuleColor:((s=this.radar)==null?void 0:s.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((l=this.radar)==null?void 0:l.graticuleStrokeWidth)||1,graticuleOpacity:((u=this.radar)==null?void 0:u.graticuleOpacity)||.3,legendBoxSize:((d=this.radar)==null?void 0:d.legendBoxSize)||12,legendFontSize:((h=this.radar)==null?void 0:h.legendFontSize)||12},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||we(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||we(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||we(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||we(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||we(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||we(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||A0(this.quadrant1Fill)?kt(this.quadrant1Fill):Ut(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((f=this.xyChart)==null?void 0:f.backgroundColor)||this.background,titleColor:((m=this.xyChart)==null?void 0:m.titleColor)||this.primaryTextColor,xAxisTitleColor:((b=this.xyChart)==null?void 0:b.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((y=this.xyChart)==null?void 0:y.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((F=this.xyChart)==null?void 0:F.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((x=this.xyChart)==null?void 0:x.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((E=this.xyChart)==null?void 0:E.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((C=this.xyChart)==null?void 0:C.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((_=this.xyChart)==null?void 0:_.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((D=this.xyChart)==null?void 0:D.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((w=this.xyChart)==null?void 0:w.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ut(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||we(this.primaryColor,{h:-30}),this.git4=this.git4||we(this.primaryColor,{h:-60}),this.git5=this.git5||we(this.primaryColor,{h:-90}),this.git6=this.git6||we(this.primaryColor,{h:60}),this.git7=this.git7||we(this.primaryColor,{h:120}),this.darkMode?(this.git0=kt(this.git0,25),this.git1=kt(this.git1,25),this.git2=kt(this.git2,25),this.git3=kt(this.git3,25),this.git4=kt(this.git4,25),this.git5=kt(this.git5,25),this.git6=kt(this.git6,25),this.git7=kt(this.git7,25)):(this.git0=Ut(this.git0,25),this.git1=Ut(this.git1,25),this.git2=Ut(this.git2,25),this.git3=Ut(this.git3,25),this.git4=Ut(this.git4,25),this.git5=Ut(this.git5,25),this.git6=Ut(this.git6,25),this.git7=Ut(this.git7,25)),this.gitInv0=this.gitInv0||dt(this.git0),this.gitInv1=this.gitInv1||dt(this.git1),this.gitInv2=this.gitInv2||dt(this.git2),this.gitInv3=this.gitInv3||dt(this.git3),this.gitInv4=this.gitInv4||dt(this.git4),this.gitInv5=this.gitInv5||dt(this.git5),this.gitInv6=this.gitInv6||dt(this.git6),this.gitInv7=this.gitInv7||dt(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||g2,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||b2}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},H(fh,"Theme"),fh),aze=H(e=>{const t=new nze;return t.calculate(e),t},"getThemeVariables"),mh,ize=(mh=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=kt(this.primaryColor,16),this.tertiaryColor=we(this.primaryColor,{h:-160}),this.primaryBorderColor=dt(this.background),this.secondaryBorderColor=Ha(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ha(this.tertiaryColor,this.darkMode),this.primaryTextColor=dt(this.primaryColor),this.secondaryTextColor=dt(this.secondaryColor),this.tertiaryTextColor=dt(this.tertiaryColor),this.lineColor=dt(this.background),this.textColor=dt(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=kt(dt("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=vm(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=Ut("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Ut(this.sectionBkgColor,10),this.taskBorderColor=vm(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=vm(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||kt(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ut(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var t,r,n,a,i,o,s,l,u,d,h,f,m,b,y,F,x,E,C,_,D;this.secondBkg=kt(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=kt(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=kt(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=we(this.primaryColor,{h:64}),this.fillType3=we(this.secondaryColor,{h:64}),this.fillType4=we(this.primaryColor,{h:-64}),this.fillType5=we(this.secondaryColor,{h:-64}),this.fillType6=we(this.primaryColor,{h:128}),this.fillType7=we(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||we(this.primaryColor,{h:30}),this.cScale4=this.cScale4||we(this.primaryColor,{h:60}),this.cScale5=this.cScale5||we(this.primaryColor,{h:90}),this.cScale6=this.cScale6||we(this.primaryColor,{h:120}),this.cScale7=this.cScale7||we(this.primaryColor,{h:150}),this.cScale8=this.cScale8||we(this.primaryColor,{h:210}),this.cScale9=this.cScale9||we(this.primaryColor,{h:270}),this.cScale10=this.cScale10||we(this.primaryColor,{h:300}),this.cScale11=this.cScale11||we(this.primaryColor,{h:330});for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleInv"+w]=this["cScaleInv"+w]||dt(this["cScale"+w]);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScalePeer"+w]=this["cScalePeer"+w]||kt(this["cScale"+w],10);for(let w=0;w<5;w++)this["surface"+w]=this["surface"+w]||we(this.mainBkg,{h:30,s:-30,l:-(-10+w*4)}),this["surfacePeer"+w]=this["surfacePeer"+w]||we(this.mainBkg,{h:30,s:-30,l:-(-7+w*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleLabel"+w]=this["cScaleLabel"+w]||this.scaleLabelColor;for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["pie"+w]=this["cScale"+w];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||we(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||we(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||we(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||we(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||we(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||we(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||A0(this.quadrant1Fill)?kt(this.quadrant1Fill):Ut(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((t=this.xyChart)==null?void 0:t.backgroundColor)||this.background,titleColor:((r=this.xyChart)==null?void 0:r.titleColor)||this.primaryTextColor,xAxisTitleColor:((n=this.xyChart)==null?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((a=this.xyChart)==null?void 0:a.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((i=this.xyChart)==null?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((o=this.xyChart)==null?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((s=this.xyChart)==null?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((u=this.xyChart)==null?void 0:u.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((d=this.xyChart)==null?void 0:d.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((h=this.xyChart)==null?void 0:h.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:((f=this.radar)==null?void 0:f.axisColor)||this.lineColor,axisStrokeWidth:((m=this.radar)==null?void 0:m.axisStrokeWidth)||2,axisLabelFontSize:((b=this.radar)==null?void 0:b.axisLabelFontSize)||12,curveOpacity:((y=this.radar)==null?void 0:y.curveOpacity)||.5,curveStrokeWidth:((F=this.radar)==null?void 0:F.curveStrokeWidth)||2,graticuleColor:((x=this.radar)==null?void 0:x.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((E=this.radar)==null?void 0:E.graticuleStrokeWidth)||1,graticuleOpacity:((C=this.radar)==null?void 0:C.graticuleOpacity)||.3,legendBoxSize:((_=this.radar)==null?void 0:_.legendBoxSize)||12,legendFontSize:((D=this.radar)==null?void 0:D.legendFontSize)||12},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ut(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=kt(this.secondaryColor,20),this.git1=kt(this.pie2||this.secondaryColor,20),this.git2=kt(this.pie3||this.tertiaryColor,20),this.git3=kt(this.pie4||we(this.primaryColor,{h:-30}),20),this.git4=kt(this.pie5||we(this.primaryColor,{h:-60}),20),this.git5=kt(this.pie6||we(this.primaryColor,{h:-90}),10),this.git6=kt(this.pie7||we(this.primaryColor,{h:60}),10),this.git7=kt(this.pie8||we(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||dt(this.git0),this.gitInv1=this.gitInv1||dt(this.git1),this.gitInv2=this.gitInv2||dt(this.git2),this.gitInv3=this.gitInv3||dt(this.git3),this.gitInv4=this.gitInv4||dt(this.git4),this.gitInv5=this.gitInv5||dt(this.git5),this.gitInv6=this.gitInv6||dt(this.git6),this.gitInv7=this.gitInv7||dt(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||dt(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||dt(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||kt(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||kt(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},H(mh,"Theme"),mh),oze=H(e=>{const t=new ize;return t.calculate(e),t},"getThemeVariables"),gh,sze=(gh=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=we(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=we(this.primaryColor,{h:-160}),this.primaryBorderColor=Ha(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ha(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ha(this.tertiaryColor,this.darkMode),this.primaryTextColor=dt(this.primaryColor),this.secondaryTextColor=dt(this.secondaryColor),this.tertiaryTextColor=dt(this.tertiaryColor),this.lineColor=dt(this.background),this.textColor=dt(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=vm(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var t,r,n,a,i,o,s,l,u,d,h,f,m,b,y,F,x,E,C,_,D;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||we(this.primaryColor,{h:30}),this.cScale4=this.cScale4||we(this.primaryColor,{h:60}),this.cScale5=this.cScale5||we(this.primaryColor,{h:90}),this.cScale6=this.cScale6||we(this.primaryColor,{h:120}),this.cScale7=this.cScale7||we(this.primaryColor,{h:150}),this.cScale8=this.cScale8||we(this.primaryColor,{h:210}),this.cScale9=this.cScale9||we(this.primaryColor,{h:270}),this.cScale10=this.cScale10||we(this.primaryColor,{h:300}),this.cScale11=this.cScale11||we(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ut(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ut(this.tertiaryColor,40);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScale"+w]=Ut(this["cScale"+w],10),this["cScalePeer"+w]=this["cScalePeer"+w]||Ut(this["cScale"+w],25);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleInv"+w]=this["cScaleInv"+w]||we(this["cScale"+w],{h:180});for(let w=0;w<5;w++)this["surface"+w]=this["surface"+w]||we(this.mainBkg,{h:30,l:-(5+w*5)}),this["surfacePeer"+w]=this["surfacePeer"+w]||we(this.mainBkg,{h:30,l:-(7+w*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||dt(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||dt(this.labelTextColor);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleLabel"+w]=this["cScaleLabel"+w]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=kt(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||kt(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||kt(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=we(this.primaryColor,{h:64}),this.fillType3=we(this.secondaryColor,{h:64}),this.fillType4=we(this.primaryColor,{h:-64}),this.fillType5=we(this.secondaryColor,{h:-64}),this.fillType6=we(this.primaryColor,{h:128}),this.fillType7=we(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||we(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||we(this.primaryColor,{l:-10}),this.pie5=this.pie5||we(this.secondaryColor,{l:-30}),this.pie6=this.pie6||we(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||we(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||we(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||we(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||we(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||we(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||we(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||we(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||we(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||we(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||we(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||we(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||we(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||A0(this.quadrant1Fill)?kt(this.quadrant1Fill):Ut(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:((t=this.radar)==null?void 0:t.axisColor)||this.lineColor,axisStrokeWidth:((r=this.radar)==null?void 0:r.axisStrokeWidth)||2,axisLabelFontSize:((n=this.radar)==null?void 0:n.axisLabelFontSize)||12,curveOpacity:((a=this.radar)==null?void 0:a.curveOpacity)||.5,curveStrokeWidth:((i=this.radar)==null?void 0:i.curveStrokeWidth)||2,graticuleColor:((o=this.radar)==null?void 0:o.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((s=this.radar)==null?void 0:s.graticuleStrokeWidth)||1,graticuleOpacity:((l=this.radar)==null?void 0:l.graticuleOpacity)||.3,legendBoxSize:((u=this.radar)==null?void 0:u.legendBoxSize)||12,legendFontSize:((d=this.radar)==null?void 0:d.legendFontSize)||12},this.xyChart={backgroundColor:((h=this.xyChart)==null?void 0:h.backgroundColor)||this.background,titleColor:((f=this.xyChart)==null?void 0:f.titleColor)||this.primaryTextColor,xAxisTitleColor:((m=this.xyChart)==null?void 0:m.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((b=this.xyChart)==null?void 0:b.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((y=this.xyChart)==null?void 0:y.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((F=this.xyChart)==null?void 0:F.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((x=this.xyChart)==null?void 0:x.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((E=this.xyChart)==null?void 0:E.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((C=this.xyChart)==null?void 0:C.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((_=this.xyChart)==null?void 0:_.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((D=this.xyChart)==null?void 0:D.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||we(this.primaryColor,{h:-30}),this.git4=this.git4||we(this.primaryColor,{h:-60}),this.git5=this.git5||we(this.primaryColor,{h:-90}),this.git6=this.git6||we(this.primaryColor,{h:60}),this.git7=this.git7||we(this.primaryColor,{h:120}),this.darkMode?(this.git0=kt(this.git0,25),this.git1=kt(this.git1,25),this.git2=kt(this.git2,25),this.git3=kt(this.git3,25),this.git4=kt(this.git4,25),this.git5=kt(this.git5,25),this.git6=kt(this.git6,25),this.git7=kt(this.git7,25)):(this.git0=Ut(this.git0,25),this.git1=Ut(this.git1,25),this.git2=Ut(this.git2,25),this.git3=Ut(this.git3,25),this.git4=Ut(this.git4,25),this.git5=Ut(this.git5,25),this.git6=Ut(this.git6,25),this.git7=Ut(this.git7,25)),this.gitInv0=this.gitInv0||Ut(dt(this.git0),25),this.gitInv1=this.gitInv1||dt(this.git1),this.gitInv2=this.gitInv2||dt(this.git2),this.gitInv3=this.gitInv3||dt(this.git3),this.gitInv4=this.gitInv4||dt(this.git4),this.gitInv5=this.gitInv5||dt(this.git5),this.gitInv6=this.gitInv6||dt(this.git6),this.gitInv7=this.gitInv7||dt(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||dt(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||dt(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||g2,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||b2}calculate(t){if(Object.keys(this).forEach(n=>{this[n]==="calculated"&&(this[n]=void 0)}),typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},H(gh,"Theme"),gh),lze=H(e=>{const t=new sze;return t.calculate(e),t},"getThemeVariables"),bh,uze=(bh=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=kt("#cde498",10),this.primaryBorderColor=Ha(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ha(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ha(this.tertiaryColor,this.darkMode),this.primaryTextColor=dt(this.primaryColor),this.secondaryTextColor=dt(this.secondaryColor),this.tertiaryTextColor=dt(this.primaryColor),this.lineColor=dt(this.background),this.textColor=dt(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,r,n,a,i,o,s,l,u,d,h,f,m,b,y,F,x,E,C,_,D;this.actorBorder=Ut(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||we(this.primaryColor,{h:30}),this.cScale4=this.cScale4||we(this.primaryColor,{h:60}),this.cScale5=this.cScale5||we(this.primaryColor,{h:90}),this.cScale6=this.cScale6||we(this.primaryColor,{h:120}),this.cScale7=this.cScale7||we(this.primaryColor,{h:150}),this.cScale8=this.cScale8||we(this.primaryColor,{h:210}),this.cScale9=this.cScale9||we(this.primaryColor,{h:270}),this.cScale10=this.cScale10||we(this.primaryColor,{h:300}),this.cScale11=this.cScale11||we(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ut(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ut(this.tertiaryColor,40);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScale"+w]=Ut(this["cScale"+w],10),this["cScalePeer"+w]=this["cScalePeer"+w]||Ut(this["cScale"+w],25);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleInv"+w]=this["cScaleInv"+w]||we(this["cScale"+w],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleLabel"+w]=this["cScaleLabel"+w]||this.scaleLabelColor;for(let w=0;w<5;w++)this["surface"+w]=this["surface"+w]||we(this.mainBkg,{h:30,s:-30,l:-(5+w*5)}),this["surfacePeer"+w]=this["surfacePeer"+w]||we(this.mainBkg,{h:30,s:-30,l:-(8+w*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||kt(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||kt(this.mainBkg,20),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=we(this.primaryColor,{h:64}),this.fillType3=we(this.secondaryColor,{h:64}),this.fillType4=we(this.primaryColor,{h:-64}),this.fillType5=we(this.secondaryColor,{h:-64}),this.fillType6=we(this.primaryColor,{h:128}),this.fillType7=we(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||we(this.primaryColor,{l:-30}),this.pie5=this.pie5||we(this.secondaryColor,{l:-30}),this.pie6=this.pie6||we(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||we(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||we(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||we(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||we(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||we(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||we(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||we(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||we(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||we(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||we(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||we(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||we(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||A0(this.quadrant1Fill)?kt(this.quadrant1Fill):Ut(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:((t=this.radar)==null?void 0:t.axisColor)||this.lineColor,axisStrokeWidth:((r=this.radar)==null?void 0:r.axisStrokeWidth)||2,axisLabelFontSize:((n=this.radar)==null?void 0:n.axisLabelFontSize)||12,curveOpacity:((a=this.radar)==null?void 0:a.curveOpacity)||.5,curveStrokeWidth:((i=this.radar)==null?void 0:i.curveStrokeWidth)||2,graticuleColor:((o=this.radar)==null?void 0:o.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((s=this.radar)==null?void 0:s.graticuleStrokeWidth)||1,graticuleOpacity:((l=this.radar)==null?void 0:l.graticuleOpacity)||.3,legendBoxSize:((u=this.radar)==null?void 0:u.legendBoxSize)||12,legendFontSize:((d=this.radar)==null?void 0:d.legendFontSize)||12},this.xyChart={backgroundColor:((h=this.xyChart)==null?void 0:h.backgroundColor)||this.background,titleColor:((f=this.xyChart)==null?void 0:f.titleColor)||this.primaryTextColor,xAxisTitleColor:((m=this.xyChart)==null?void 0:m.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((b=this.xyChart)==null?void 0:b.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((y=this.xyChart)==null?void 0:y.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((F=this.xyChart)==null?void 0:F.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((x=this.xyChart)==null?void 0:x.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((E=this.xyChart)==null?void 0:E.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((C=this.xyChart)==null?void 0:C.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((_=this.xyChart)==null?void 0:_.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((D=this.xyChart)==null?void 0:D.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||we(this.primaryColor,{h:-30}),this.git4=this.git4||we(this.primaryColor,{h:-60}),this.git5=this.git5||we(this.primaryColor,{h:-90}),this.git6=this.git6||we(this.primaryColor,{h:60}),this.git7=this.git7||we(this.primaryColor,{h:120}),this.darkMode?(this.git0=kt(this.git0,25),this.git1=kt(this.git1,25),this.git2=kt(this.git2,25),this.git3=kt(this.git3,25),this.git4=kt(this.git4,25),this.git5=kt(this.git5,25),this.git6=kt(this.git6,25),this.git7=kt(this.git7,25)):(this.git0=Ut(this.git0,25),this.git1=Ut(this.git1,25),this.git2=Ut(this.git2,25),this.git3=Ut(this.git3,25),this.git4=Ut(this.git4,25),this.git5=Ut(this.git5,25),this.git6=Ut(this.git6,25),this.git7=Ut(this.git7,25)),this.gitInv0=this.gitInv0||dt(this.git0),this.gitInv1=this.gitInv1||dt(this.git1),this.gitInv2=this.gitInv2||dt(this.git2),this.gitInv3=this.gitInv3||dt(this.git3),this.gitInv4=this.gitInv4||dt(this.git4),this.gitInv5=this.gitInv5||dt(this.git5),this.gitInv6=this.gitInv6||dt(this.git6),this.gitInv7=this.gitInv7||dt(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||dt(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||dt(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||g2,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||b2}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},H(bh,"Theme"),bh),cze=H(e=>{const t=new uze;return t.calculate(e),t},"getThemeVariables"),yh,dze=(yh=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=kt(this.contrast,55),this.background="#ffffff",this.tertiaryColor=we(this.primaryColor,{h:-160}),this.primaryBorderColor=Ha(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ha(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ha(this.tertiaryColor,this.darkMode),this.primaryTextColor=dt(this.primaryColor),this.secondaryTextColor=dt(this.secondaryColor),this.tertiaryTextColor=dt(this.tertiaryColor),this.lineColor=dt(this.background),this.textColor=dt(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||kt(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,r,n,a,i,o,s,l,u,d,h,f,m,b,y,F,x,E,C,_,D;this.secondBkg=kt(this.contrast,55),this.border2=this.contrast,this.actorBorder=kt(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleInv"+w]=this["cScaleInv"+w]||dt(this["cScale"+w]);for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this.darkMode?this["cScalePeer"+w]=this["cScalePeer"+w]||kt(this["cScale"+w],10):this["cScalePeer"+w]=this["cScalePeer"+w]||Ut(this["cScale"+w],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["cScaleLabel"+w]=this["cScaleLabel"+w]||this.scaleLabelColor;for(let w=0;w<5;w++)this["surface"+w]=this["surface"+w]||we(this.mainBkg,{l:-(5+w*5)}),this["surfacePeer"+w]=this["surfacePeer"+w]||we(this.mainBkg,{l:-(8+w*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=kt(this.contrast,30),this.sectionBkgColor2=kt(this.contrast,30),this.taskBorderColor=Ut(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=kt(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=Ut(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=we(this.primaryColor,{h:64}),this.fillType3=we(this.secondaryColor,{h:64}),this.fillType4=we(this.primaryColor,{h:-64}),this.fillType5=we(this.secondaryColor,{h:-64}),this.fillType6=we(this.primaryColor,{h:128}),this.fillType7=we(this.secondaryColor,{h:128});for(let w=0;w<this.THEME_COLOR_LIMIT;w++)this["pie"+w]=this["cScale"+w];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||we(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||we(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||we(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||we(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||we(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||we(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||A0(this.quadrant1Fill)?kt(this.quadrant1Fill):Ut(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((t=this.xyChart)==null?void 0:t.backgroundColor)||this.background,titleColor:((r=this.xyChart)==null?void 0:r.titleColor)||this.primaryTextColor,xAxisTitleColor:((n=this.xyChart)==null?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((a=this.xyChart)==null?void 0:a.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((i=this.xyChart)==null?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((o=this.xyChart)==null?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((s=this.xyChart)==null?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((u=this.xyChart)==null?void 0:u.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((d=this.xyChart)==null?void 0:d.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((h=this.xyChart)==null?void 0:h.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:((f=this.radar)==null?void 0:f.axisColor)||this.lineColor,axisStrokeWidth:((m=this.radar)==null?void 0:m.axisStrokeWidth)||2,axisLabelFontSize:((b=this.radar)==null?void 0:b.axisLabelFontSize)||12,curveOpacity:((y=this.radar)==null?void 0:y.curveOpacity)||.5,curveStrokeWidth:((F=this.radar)==null?void 0:F.curveStrokeWidth)||2,graticuleColor:((x=this.radar)==null?void 0:x.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((E=this.radar)==null?void 0:E.graticuleStrokeWidth)||1,graticuleOpacity:((C=this.radar)==null?void 0:C.graticuleOpacity)||.3,legendBoxSize:((_=this.radar)==null?void 0:_.legendBoxSize)||12,legendFontSize:((D=this.radar)==null?void 0:D.legendFontSize)||12},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Ut(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||we(this.primaryColor,{h:-30}),this.git4=this.pie5||we(this.primaryColor,{h:-60}),this.git5=this.pie6||we(this.primaryColor,{h:-90}),this.git6=this.pie7||we(this.primaryColor,{h:60}),this.git7=this.pie8||we(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||dt(this.git0),this.gitInv1=this.gitInv1||dt(this.git1),this.gitInv2=this.gitInv2||dt(this.git2),this.gitInv3=this.gitInv3||dt(this.git3),this.gitInv4=this.gitInv4||dt(this.git4),this.gitInv5=this.gitInv5||dt(this.git5),this.gitInv6=this.gitInv6||dt(this.git6),this.gitInv7=this.gitInv7||dt(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||g2,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||b2}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},H(yh,"Theme"),yh),hze=H(e=>{const t=new dze;return t.calculate(e),t},"getThemeVariables"),al={base:{getThemeVariables:aze},dark:{getThemeVariables:oze},default:{getThemeVariables:lze},forest:{getThemeVariables:cze},neutral:{getThemeVariables:hze}},jo={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},wne={...jo,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:al.default.getThemeVariables(),sequence:{...jo.sequence,messageFont:H(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:H(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:H(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...jo.gantt,tickInterval:void 0,useWidth:void 0},c4:{...jo.c4,useWidth:void 0,personFont:H(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...jo.flowchart,inheritDir:!1},external_personFont:H(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:H(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:H(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:H(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:H(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:H(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:H(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:H(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:H(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:H(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:H(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:H(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:H(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:H(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:H(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:H(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:H(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:H(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:H(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:H(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:H(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...jo.pie,useWidth:984},xyChart:{...jo.xyChart,useWidth:void 0},requirement:{...jo.requirement,useWidth:void 0},packet:{...jo.packet},radar:{...jo.radar},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","}},kne=H((e,t="")=>Object.keys(e).reduce((r,n)=>Array.isArray(e[n])?r:typeof e[n]=="object"&&e[n]!==null?[...r,t+n,...kne(e[n],"")]:[...r,t+n],[]),"keyify"),pze=new Set(kne(wne,"")),Cne=wne,Ey=H(e=>{if(je.debug("sanitizeDirective called with",e),!(typeof e!="object"||e==null)){if(Array.isArray(e)){e.forEach(t=>Ey(t));return}for(const t of Object.keys(e)){if(je.debug("Checking key",t),t.startsWith("__")||t.includes("proto")||t.includes("constr")||!pze.has(t)||e[t]==null){je.debug("sanitize deleting key: ",t),delete e[t];continue}if(typeof e[t]=="object"){je.debug("sanitizing object",t),Ey(e[t]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const n of r)t.includes(n)&&(je.debug("sanitizing css option",t),e[t]=fze(e[t]))}if(e.themeVariables)for(const t of Object.keys(e.themeVariables)){const r=e.themeVariables[t];r!=null&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(e.themeVariables[t]="")}je.debug("After sanitization",e)}},"sanitizeDirective"),fze=H(e=>{let t=0,r=0;for(const n of e){if(t<r)return"{ /* ERROR: Unbalanced CSS */ }";n==="{"?t++:n==="}"&&r++}return t!==r?"{ /* ERROR: Unbalanced CSS */ }":e},"sanitizeCss"),Bh=Object.freeze(Cne),ei=ga({},Bh),Tne,Ph=[],Em=ga({},Bh),y2=H((e,t)=>{let r=ga({},e),n={};for(const a of t)Dne(a),n=ga(n,a);if(r=ga(r,n),n.theme&&n.theme in al){const a=ga({},Tne),i=ga(a.themeVariables||{},n.themeVariables);r.theme&&r.theme in al&&(r.themeVariables=al[r.theme].getThemeVariables(i))}return Em=r,Rne(Em),Em},"updateCurrentConfig"),mze=H(e=>(ei=ga({},Bh),ei=ga(ei,e),e.theme&&al[e.theme]&&(ei.themeVariables=al[e.theme].getThemeVariables(e.themeVariables)),y2(ei,Ph),ei),"setSiteConfig"),gze=H(e=>{Tne=ga({},e)},"saveConfigFromInitialize"),bze=H(e=>(ei=ga(ei,e),y2(ei,Ph),ei),"updateSiteConfig"),Ane=H(()=>ga({},ei),"getSiteConfig"),_ne=H(e=>(Rne(e),ga(Em,e),ai()),"setConfig"),ai=H(()=>ga({},Em),"getConfig"),Dne=H(e=>{e&&(["secure",...ei.secure??[]].forEach(t=>{Object.hasOwn(e,t)&&(je.debug(`Denied attempt to modify a secure key ${t}`,e[t]),delete e[t])}),Object.keys(e).forEach(t=>{t.startsWith("__")&&delete e[t]}),Object.keys(e).forEach(t=>{typeof e[t]=="string"&&(e[t].includes("<")||e[t].includes(">")||e[t].includes("url(data:"))&&delete e[t],typeof e[t]=="object"&&Dne(e[t])}))},"sanitize"),yze=H(e=>{var t;Ey(e),e.fontFamily&&!((t=e.themeVariables)!=null&&t.fontFamily)&&(e.themeVariables={...e.themeVariables,fontFamily:e.fontFamily}),Ph.push(e),y2(ei,Ph)},"addDirective"),Sy=H((e=ei)=>{Ph=[],y2(e,Ph)},"reset"),vze={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},sz={},Fze=H(e=>{sz[e]||(je.warn(vze[e]),sz[e]=!0)},"issueWarning"),Rne=H(e=>{e&&(e.lazyLoadedDiagrams||e.loadExternalDiagramsAtStartup)&&Fze("LAZY_LOAD_DEPRECATED")},"checkConfig"),_0=/<br\s*\/?>/gi,Eze=H(e=>e?Mne(e).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Sze=(()=>{let e=!1;return()=>{e||(Nne(),e=!0)}})();function Nne(){const e="data-temp-href-target";Oh.addHook("beforeSanitizeAttributes",t=>{t instanceof Element&&t.tagName==="A"&&t.hasAttribute("target")&&t.setAttribute(e,t.getAttribute("target")??"")}),Oh.addHook("afterSanitizeAttributes",t=>{t instanceof Element&&t.tagName==="A"&&t.hasAttribute(e)&&(t.setAttribute("target",t.getAttribute(e)??""),t.removeAttribute(e),t.getAttribute("target")==="_blank"&&t.setAttribute("rel","noopener"))})}H(Nne,"setupDompurifyHooks");var Lne=H(e=>(Sze(),Oh.sanitize(e)),"removeScript"),lz=H((e,t)=>{var r;if(((r=t.flowchart)==null?void 0:r.htmlLabels)!==!1){const n=t.securityLevel;n==="antiscript"||n==="strict"?e=Lne(e):n!=="loose"&&(e=Mne(e),e=e.replace(/</g,"<").replace(/>/g,">"),e=e.replace(/=/g,"="),e=Cze(e))}return e},"sanitizeMore"),Ic=H((e,t)=>e&&(t.dompurifyConfig?e=Oh.sanitize(lz(e,t),t.dompurifyConfig).toString():e=Oh.sanitize(lz(e,t),{FORBID_TAGS:["style"]}).toString(),e),"sanitizeText"),xze=H((e,t)=>typeof e=="string"?Ic(e,t):e.flat().map(r=>Ic(r,t)),"sanitizeTextOrArray"),wze=H(e=>_0.test(e),"hasBreaks"),kze=H(e=>e.split(_0),"splitBreaks"),Cze=H(e=>e.replace(/#br#/g,"<br/>"),"placeholderToBreak"),Mne=H(e=>e.replace(_0,"#br#"),"breakToPlaceholder"),Ine=H(e=>{let t="";return e&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,t=CSS.escape(t)),t},"getUrl"),Vn=H(e=>!(e===!1||["false","null","0"].includes(String(e).trim().toLowerCase())),"evaluate"),Tze=H(function(...e){const t=e.filter(r=>!isNaN(r));return Math.max(...t)},"getMax"),Aze=H(function(...e){const t=e.filter(r=>!isNaN(r));return Math.min(...t)},"getMin"),uz=H(function(e){const t=e.split(/(,)/),r=[];for(let n=0;n<t.length;n++){let a=t[n];if(a===","&&n>0&&n+1<t.length){const i=t[n-1],o=t[n+1];_ze(i,o)&&(a=i+","+o,n++,r.pop())}r.push(Dze(a))}return r.join("")},"parseGenericTypes"),HD=H((e,t)=>Math.max(0,e.split(t).length-1),"countOccurrence"),_ze=H((e,t)=>{const r=HD(e,"~"),n=HD(t,"~");return r===1&&n===1},"shouldCombineSets"),Dze=H(e=>{const t=HD(e,"~");let r=!1;if(t<=1)return e;t%2!==0&&e.startsWith("~")&&(e=e.substring(1),r=!0);const n=[...e];let a=n.indexOf("~"),i=n.lastIndexOf("~");for(;a!==-1&&i!==-1&&a!==i;)n[a]="<",n[i]=">",a=n.indexOf("~"),i=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")},"processSet"),cz=H(()=>window.MathMLElement!==void 0,"isMathMLSupported"),UD=/\$\$(.*)\$\$/g,zh=H(e=>{var t;return(((t=e.match(UD))==null?void 0:t.length)??0)>0},"hasKatex"),Lct=H(async(e,t)=>{e=await X5(e,t);const r=document.createElement("div");r.innerHTML=e,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";const n=document.querySelector("body");n==null||n.insertAdjacentElement("beforeend",r);const a={width:r.clientWidth,height:r.clientHeight};return r.remove(),a},"calculateMathMLDimensions"),X5=H(async(e,t)=>{if(!zh(e))return e;if(!(cz()||t.legacyMathML||t.forceLegacyMathML))return e.replace(UD,"MathML is unsupported in this environment.");{const{default:r}=await Br(async()=>{const{default:a}=await Promise.resolve().then(()=>lfe);return{default:a}},void 0),n=t.forceLegacyMathML||!cz()&&t.legacyMathML?"htmlAndMathml":"mathml";return e.split(_0).map(a=>zh(a)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${a}</div>`:`<div>${a}</div>`).join("").replace(UD,(a,i)=>r.renderToString(i,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatex"),bp={getRows:Eze,sanitizeText:Ic,sanitizeTextOrArray:xze,hasBreaks:wze,splitBreaks:kze,lineBreakRegex:_0,removeScript:Lne,getUrl:Ine,evaluate:Vn,getMax:Tze,getMin:Aze},Rze=H(function(e,t){for(let r of t)e.attr(r[0],r[1])},"d3Attrs"),Nze=H(function(e,t,r){let n=new Map;return r?(n.set("width","100%"),n.set("style",`max-width: ${t}px;`)):(n.set("height",e),n.set("width",t)),n},"calculateSvgSizeAttrs"),One=H(function(e,t,r,n){const a=Nze(t,r,n);Rze(e,a)},"configureSvgSize"),Lze=H(function(e,t,r,n){const a=t.node().getBBox(),i=a.width,o=a.height;je.info(`SVG bounds: ${i}x${o}`,a);let s=0,l=0;je.info(`Graph bounds: ${s}x${l}`,e),s=i+r*2,l=o+r*2,je.info(`Calculated bounds: ${s}x${l}`),One(t,l,s,n);const u=`${a.x-r} ${a.y-r} ${a.width+2*r} ${a.height+2*r}`;t.attr("viewBox",u)},"setupGraphViewbox"),wb={},Mze=H((e,t,r)=>{let n="";return e in wb&&wb[e]?n=wb[e](r):je.warn(`No theme found for ${e}`),` & {
|
||
font-family: ${r.fontFamily};
|
||
font-size: ${r.fontSize};
|
||
fill: ${r.textColor}
|
||
}
|
||
@keyframes edge-animation-frame {
|
||
from {
|
||
stroke-dashoffset: 0;
|
||
}
|
||
}
|
||
@keyframes dash {
|
||
to {
|
||
stroke-dashoffset: 0;
|
||
}
|
||
}
|
||
& .edge-animation-slow {
|
||
stroke-dasharray: 9,5 !important;
|
||
stroke-dashoffset: 900;
|
||
animation: dash 50s linear infinite;
|
||
stroke-linecap: round;
|
||
}
|
||
& .edge-animation-fast {
|
||
stroke-dasharray: 9,5 !important;
|
||
stroke-dashoffset: 900;
|
||
animation: dash 20s linear infinite;
|
||
stroke-linecap: round;
|
||
}
|
||
/* Classes common for multiple diagrams */
|
||
|
||
& .error-icon {
|
||
fill: ${r.errorBkgColor};
|
||
}
|
||
& .error-text {
|
||
fill: ${r.errorTextColor};
|
||
stroke: ${r.errorTextColor};
|
||
}
|
||
|
||
& .edge-thickness-normal {
|
||
stroke-width: 1px;
|
||
}
|
||
& .edge-thickness-thick {
|
||
stroke-width: 3.5px
|
||
}
|
||
& .edge-pattern-solid {
|
||
stroke-dasharray: 0;
|
||
}
|
||
& .edge-thickness-invisible {
|
||
stroke-width: 0;
|
||
fill: none;
|
||
}
|
||
& .edge-pattern-dashed{
|
||
stroke-dasharray: 3;
|
||
}
|
||
.edge-pattern-dotted {
|
||
stroke-dasharray: 2;
|
||
}
|
||
|
||
& .marker {
|
||
fill: ${r.lineColor};
|
||
stroke: ${r.lineColor};
|
||
}
|
||
& .marker.cross {
|
||
stroke: ${r.lineColor};
|
||
}
|
||
|
||
& svg {
|
||
font-family: ${r.fontFamily};
|
||
font-size: ${r.fontSize};
|
||
}
|
||
& p {
|
||
margin: 0
|
||
}
|
||
|
||
${n}
|
||
|
||
${t}
|
||
`},"getStyles"),Ize=H((e,t)=>{t!==void 0&&(wb[e]=t)},"addStylesForDiagram"),Oze=Mze,Bne={};eze(Bne,{clear:()=>Bze,getAccDescription:()=>Uze,getAccTitle:()=>zze,getDiagramTitle:()=>$ze,setAccDescription:()=>Hze,setAccTitle:()=>Pze,setDiagramTitle:()=>Gze});var J5="",Z5="",Q5="",eN=H(e=>Ic(e,ai()),"sanitizeText"),Bze=H(()=>{J5="",Q5="",Z5=""},"clear"),Pze=H(e=>{J5=eN(e).replace(/^\s+/g,"")},"setAccTitle"),zze=H(()=>J5,"getAccTitle"),Hze=H(e=>{Q5=eN(e).replace(/\n\s+/g,`
|
||
`)},"setAccDescription"),Uze=H(()=>Q5,"getAccDescription"),Gze=H(e=>{Z5=eN(e)},"setDiagramTitle"),$ze=H(()=>Z5,"getDiagramTitle"),dz=je,jze=K5,Or=ai,Mct=_ne,Ict=Bh,v2=H(e=>Ic(e,Or()),"sanitizeText"),qze=Lze,Wze=H(()=>Bne,"getCommonDb"),xy={},wy=H((e,t,r)=>{var n;xy[e]&&dz.warn(`Diagram with id ${e} already registered. Overwriting.`),xy[e]=t,r&&xne(e,r),Ize(e,t.styles),(n=t.injectUtils)==null||n.call(t,dz,jze,Or,v2,qze,Wze(),()=>{})},"registerDiagram"),GD=H(e=>{if(e in xy)return xy[e];throw new Vze(e)},"getDiagram"),vh,Vze=(vh=class extends Error{constructor(t){super(`Diagram ${t} not found.`)}},H(vh,"DiagramNotFoundError"),vh);function tN(e){return typeof e>"u"||e===null}H(tN,"isNothing");function Pne(e){return typeof e=="object"&&e!==null}H(Pne,"isObject");function zne(e){return Array.isArray(e)?e:tN(e)?[]:[e]}H(zne,"toArray");function Hne(e,t){var r,n,a,i;if(t)for(i=Object.keys(t),r=0,n=i.length;r<n;r+=1)a=i[r],e[a]=t[a];return e}H(Hne,"extend");function Une(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}H(Une,"repeat");function Gne(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}H(Gne,"isNegativeZero");var Kze=tN,Yze=Pne,Xze=zne,Jze=Une,Zze=Gne,Qze=Hne,qn={isNothing:Kze,isObject:Yze,toArray:Xze,repeat:Jze,isNegativeZero:Zze,extend:Qze};function rN(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
||
|
||
`+e.mark.snippet),n+" "+r):n}H(rN,"formatError");function Hh(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=rN(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}H(Hh,"YAMLException$1");Hh.prototype=Object.create(Error.prototype);Hh.prototype.constructor=Hh;Hh.prototype.toString=H(function(t){return this.name+": "+rN(this,t)},"toString");var ti=Hh;function kb(e,t,r,n,a){var i="",o="",s=Math.floor(a/2)-1;return n-t>s&&(i=" ... ",t=n-s+i.length),r-n>s&&(o=" ...",r=n+s-o.length),{str:i+e.slice(t,r).replace(/\t/g,"→")+o,pos:n-t+i.length}}H(kb,"getLine");function Cb(e,t){return qn.repeat(" ",t-e.length)+e}H(Cb,"padStart");function $ne(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],a=[],i,o=-1;i=r.exec(e.buffer);)a.push(i.index),n.push(i.index+i[0].length),e.position<=i.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var s="",l,u,d=Math.min(e.line+t.linesAfter,a.length).toString().length,h=t.maxLength-(t.indent+d+3);for(l=1;l<=t.linesBefore&&!(o-l<0);l++)u=kb(e.buffer,n[o-l],a[o-l],e.position-(n[o]-n[o-l]),h),s=qn.repeat(" ",t.indent)+Cb((e.line-l+1).toString(),d)+" | "+u.str+`
|
||
`+s;for(u=kb(e.buffer,n[o],a[o],e.position,h),s+=qn.repeat(" ",t.indent)+Cb((e.line+1).toString(),d)+" | "+u.str+`
|
||
`,s+=qn.repeat("-",t.indent+d+3+u.pos)+`^
|
||
`,l=1;l<=t.linesAfter&&!(o+l>=a.length);l++)u=kb(e.buffer,n[o+l],a[o+l],e.position-(n[o]-n[o+l]),h),s+=qn.repeat(" ",t.indent)+Cb((e.line+l+1).toString(),d)+" | "+u.str+`
|
||
`;return s.replace(/\n$/,"")}H($ne,"makeSnippet");var eHe=$ne,tHe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],rHe=["scalar","sequence","mapping"];function jne(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}H(jne,"compileStyleAliases");function qne(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(tHe.indexOf(r)===-1)throw new ti('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=jne(t.styleAliases||null),rHe.indexOf(this.kind)===-1)throw new ti('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}H(qne,"Type$1");var _a=qne;function $D(e,t){var r=[];return e[t].forEach(function(n){var a=r.length;r.forEach(function(i,o){i.tag===n.tag&&i.kind===n.kind&&i.multi===n.multi&&(a=o)}),r[a]=n}),r}H($D,"compileList");function Wne(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(a){a.multi?(e.multi[a.kind].push(a),e.multi.fallback.push(a)):e[a.kind][a.tag]=e.fallback[a.tag]=a}for(H(n,"collectType"),t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}H(Wne,"compileMap");function ky(e){return this.extend(e)}H(ky,"Schema$1");ky.prototype.extend=H(function(t){var r=[],n=[];if(t instanceof _a)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new ti("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(i){if(!(i instanceof _a))throw new ti("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new ti("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new ti("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(i){if(!(i instanceof _a))throw new ti("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var a=Object.create(ky.prototype);return a.implicit=(this.implicit||[]).concat(r),a.explicit=(this.explicit||[]).concat(n),a.compiledImplicit=$D(a,"implicit"),a.compiledExplicit=$D(a,"explicit"),a.compiledTypeMap=Wne(a.compiledImplicit,a.compiledExplicit),a},"extend");var nHe=ky,aHe=new _a("tag:yaml.org,2002:str",{kind:"scalar",construct:H(function(e){return e!==null?e:""},"construct")}),iHe=new _a("tag:yaml.org,2002:seq",{kind:"sequence",construct:H(function(e){return e!==null?e:[]},"construct")}),oHe=new _a("tag:yaml.org,2002:map",{kind:"mapping",construct:H(function(e){return e!==null?e:{}},"construct")}),sHe=new nHe({explicit:[aHe,iHe,oHe]});function Vne(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}H(Vne,"resolveYamlNull");function Kne(){return null}H(Kne,"constructYamlNull");function Yne(e){return e===null}H(Yne,"isNull");var lHe=new _a("tag:yaml.org,2002:null",{kind:"scalar",resolve:Vne,construct:Kne,predicate:Yne,represent:{canonical:H(function(){return"~"},"canonical"),lowercase:H(function(){return"null"},"lowercase"),uppercase:H(function(){return"NULL"},"uppercase"),camelcase:H(function(){return"Null"},"camelcase"),empty:H(function(){return""},"empty")},defaultStyle:"lowercase"});function Xne(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}H(Xne,"resolveYamlBoolean");function Jne(e){return e==="true"||e==="True"||e==="TRUE"}H(Jne,"constructYamlBoolean");function Zne(e){return Object.prototype.toString.call(e)==="[object Boolean]"}H(Zne,"isBoolean");var uHe=new _a("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Xne,construct:Jne,predicate:Zne,represent:{lowercase:H(function(e){return e?"true":"false"},"lowercase"),uppercase:H(function(e){return e?"TRUE":"FALSE"},"uppercase"),camelcase:H(function(e){return e?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function Qne(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}H(Qne,"isHexCode");function eae(e){return 48<=e&&e<=55}H(eae,"isOctCode");function tae(e){return 48<=e&&e<=57}H(tae,"isDecCode");function rae(e){if(e===null)return!1;var t=e.length,r=0,n=!1,a;if(!t)return!1;if(a=e[r],(a==="-"||a==="+")&&(a=e[++r]),a==="0"){if(r+1===t)return!0;if(a=e[++r],a==="b"){for(r++;r<t;r++)if(a=e[r],a!=="_"){if(a!=="0"&&a!=="1")return!1;n=!0}return n&&a!=="_"}if(a==="x"){for(r++;r<t;r++)if(a=e[r],a!=="_"){if(!Qne(e.charCodeAt(r)))return!1;n=!0}return n&&a!=="_"}if(a==="o"){for(r++;r<t;r++)if(a=e[r],a!=="_"){if(!eae(e.charCodeAt(r)))return!1;n=!0}return n&&a!=="_"}}if(a==="_")return!1;for(;r<t;r++)if(a=e[r],a!=="_"){if(!tae(e.charCodeAt(r)))return!1;n=!0}return!(!n||a==="_")}H(rae,"resolveYamlInteger");function nae(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}H(nae,"constructYamlInteger");function aae(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!qn.isNegativeZero(e)}H(aae,"isInteger");var cHe=new _a("tag:yaml.org,2002:int",{kind:"scalar",resolve:rae,construct:nae,predicate:aae,represent:{binary:H(function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},"binary"),octal:H(function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},"octal"),decimal:H(function(e){return e.toString(10)},"decimal"),hexadecimal:H(function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),dHe=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function iae(e){return!(e===null||!dHe.test(e)||e[e.length-1]==="_")}H(iae,"resolveYamlFloat");function oae(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}H(oae,"constructYamlFloat");var hHe=/^[-+]?[0-9]+e/;function sae(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(qn.isNegativeZero(e))return"-0.0";return r=e.toString(10),hHe.test(r)?r.replace("e",".e"):r}H(sae,"representYamlFloat");function lae(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||qn.isNegativeZero(e))}H(lae,"isFloat");var pHe=new _a("tag:yaml.org,2002:float",{kind:"scalar",resolve:iae,construct:oae,predicate:lae,represent:sae,defaultStyle:"lowercase"}),uae=sHe.extend({implicit:[lHe,uHe,cHe,pHe]}),fHe=uae,cae=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),dae=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function hae(e){return e===null?!1:cae.exec(e)!==null||dae.exec(e)!==null}H(hae,"resolveYamlTimestamp");function pae(e){var t,r,n,a,i,o,s,l=0,u=null,d,h,f;if(t=cae.exec(e),t===null&&(t=dae.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(r,n,a));if(i=+t[4],o=+t[5],s=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(d=+t[10],h=+(t[11]||0),u=(d*60+h)*6e4,t[9]==="-"&&(u=-u)),f=new Date(Date.UTC(r,n,a,i,o,s,l)),u&&f.setTime(f.getTime()-u),f}H(pae,"constructYamlTimestamp");function fae(e){return e.toISOString()}H(fae,"representYamlTimestamp");var mHe=new _a("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:hae,construct:pae,instanceOf:Date,represent:fae});function mae(e){return e==="<<"||e===null}H(mae,"resolveYamlMerge");var gHe=new _a("tag:yaml.org,2002:merge",{kind:"scalar",resolve:mae}),nN=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
||
\r`;function gae(e){if(e===null)return!1;var t,r,n=0,a=e.length,i=nN;for(r=0;r<a;r++)if(t=i.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}H(gae,"resolveYamlBinary");function bae(e){var t,r,n=e.replace(/[\r\n=]/g,""),a=n.length,i=nN,o=0,s=[];for(t=0;t<a;t++)t%4===0&&t&&(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|i.indexOf(n.charAt(t));return r=a%4*6,r===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):r===18?(s.push(o>>10&255),s.push(o>>2&255)):r===12&&s.push(o>>4&255),new Uint8Array(s)}H(bae,"constructYamlBinary");function yae(e){var t="",r=0,n,a,i=e.length,o=nN;for(n=0;n<i;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return a=i%3,a===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):a===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):a===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}H(yae,"representYamlBinary");function vae(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}H(vae,"isBinary");var bHe=new _a("tag:yaml.org,2002:binary",{kind:"scalar",resolve:gae,construct:bae,predicate:vae,represent:yae}),yHe=Object.prototype.hasOwnProperty,vHe=Object.prototype.toString;function Fae(e){if(e===null)return!0;var t=[],r,n,a,i,o,s=e;for(r=0,n=s.length;r<n;r+=1){if(a=s[r],o=!1,vHe.call(a)!=="[object Object]")return!1;for(i in a)if(yHe.call(a,i))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(i)===-1)t.push(i);else return!1}return!0}H(Fae,"resolveYamlOmap");function Eae(e){return e!==null?e:[]}H(Eae,"constructYamlOmap");var FHe=new _a("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Fae,construct:Eae}),EHe=Object.prototype.toString;function Sae(e){if(e===null)return!0;var t,r,n,a,i,o=e;for(i=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],EHe.call(n)!=="[object Object]"||(a=Object.keys(n),a.length!==1))return!1;i[t]=[a[0],n[a[0]]]}return!0}H(Sae,"resolveYamlPairs");function xae(e){if(e===null)return[];var t,r,n,a,i,o=e;for(i=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],a=Object.keys(n),i[t]=[a[0],n[a[0]]];return i}H(xae,"constructYamlPairs");var SHe=new _a("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Sae,construct:xae}),xHe=Object.prototype.hasOwnProperty;function wae(e){if(e===null)return!0;var t,r=e;for(t in r)if(xHe.call(r,t)&&r[t]!==null)return!1;return!0}H(wae,"resolveYamlSet");function kae(e){return e!==null?e:{}}H(kae,"constructYamlSet");var wHe=new _a("tag:yaml.org,2002:set",{kind:"mapping",resolve:wae,construct:kae}),Cae=fHe.extend({implicit:[mHe,gHe],explicit:[bHe,FHe,SHe,wHe]}),vu=Object.prototype.hasOwnProperty,Cy=1,Tae=2,Aae=3,Ty=4,cw=1,kHe=2,hz=3,CHe=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,THe=/[\x85\u2028\u2029]/,AHe=/[,\[\]\{\}]/,_ae=/^(?:!|!!|![a-z\-]+!)$/i,Dae=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function jD(e){return Object.prototype.toString.call(e)}H(jD,"_class");function ko(e){return e===10||e===13}H(ko,"is_EOL");function du(e){return e===9||e===32}H(du,"is_WHITE_SPACE");function Ua(e){return e===9||e===32||e===10||e===13}H(Ua,"is_WS_OR_EOL");function fc(e){return e===44||e===91||e===93||e===123||e===125}H(fc,"is_FLOW_INDICATOR");function Rae(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}H(Rae,"fromHexCode");function Nae(e){return e===120?2:e===117?4:e===85?8:0}H(Nae,"escapedHexLen");function Lae(e){return 48<=e&&e<=57?e-48:-1}H(Lae,"fromDecimalCode");function qD(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
|
||
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"
":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}H(qD,"simpleEscapeSequence");function Mae(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}H(Mae,"charFromCodepoint");var Iae=new Array(256),Oae=new Array(256);for(ac=0;ac<256;ac++)Iae[ac]=qD(ac)?1:0,Oae[ac]=qD(ac);var ac;function Bae(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Cae,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}H(Bae,"State$1");function aN(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=eHe(r),new ti(t,r)}H(aN,"generateError");function zt(e,t){throw aN(e,t)}H(zt,"throwError");function Hm(e,t){e.onWarning&&e.onWarning.call(null,aN(e,t))}H(Hm,"throwWarning");var pz={YAML:H(function(t,r,n){var a,i,o;t.version!==null&&zt(t,"duplication of %YAML directive"),n.length!==1&&zt(t,"YAML directive accepts exactly one argument"),a=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),a===null&&zt(t,"ill-formed argument of the YAML directive"),i=parseInt(a[1],10),o=parseInt(a[2],10),i!==1&&zt(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&Hm(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:H(function(t,r,n){var a,i;n.length!==2&&zt(t,"TAG directive accepts exactly two arguments"),a=n[0],i=n[1],_ae.test(a)||zt(t,"ill-formed tag handle (first argument) of the TAG directive"),vu.call(t.tagMap,a)&&zt(t,'there is a previously declared suffix for "'+a+'" tag handle'),Dae.test(i)||zt(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{zt(t,"tag prefix is malformed: "+i)}t.tagMap[a]=i},"handleTagDirective")};function il(e,t,r,n){var a,i,o,s;if(t<r){if(s=e.input.slice(t,r),n)for(a=0,i=s.length;a<i;a+=1)o=s.charCodeAt(a),o===9||32<=o&&o<=1114111||zt(e,"expected valid JSON character");else CHe.test(s)&&zt(e,"the stream contains non-printable characters");e.result+=s}}H(il,"captureSegment");function WD(e,t,r,n){var a,i,o,s;for(qn.isObject(r)||zt(e,"cannot merge mappings; the provided source object is unacceptable"),a=Object.keys(r),o=0,s=a.length;o<s;o+=1)i=a[o],vu.call(t,i)||(t[i]=r[i],n[i]=!0)}H(WD,"mergeMappings");function mc(e,t,r,n,a,i,o,s,l){var u,d;if(Array.isArray(a))for(a=Array.prototype.slice.call(a),u=0,d=a.length;u<d;u+=1)Array.isArray(a[u])&&zt(e,"nested arrays are not supported inside keys"),typeof a=="object"&&jD(a[u])==="[object Object]"&&(a[u]="[object Object]");if(typeof a=="object"&&jD(a)==="[object Object]"&&(a="[object Object]"),a=String(a),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(u=0,d=i.length;u<d;u+=1)WD(e,t,i[u],r);else WD(e,t,i,r);else!e.json&&!vu.call(r,a)&&vu.call(t,a)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=l||e.position,zt(e,"duplicated mapping key")),a==="__proto__"?Object.defineProperty(t,a,{configurable:!0,enumerable:!0,writable:!0,value:i}):t[a]=i,delete r[a];return t}H(mc,"storeMappingPair");function F2(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):zt(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}H(F2,"readLineBreak");function kn(e,t,r){for(var n=0,a=e.input.charCodeAt(e.position);a!==0;){for(;du(a);)a===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),a=e.input.charCodeAt(++e.position);if(t&&a===35)do a=e.input.charCodeAt(++e.position);while(a!==10&&a!==13&&a!==0);if(ko(a))for(F2(e),a=e.input.charCodeAt(e.position),n++,e.lineIndent=0;a===32;)e.lineIndent++,a=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&Hm(e,"deficient indentation"),n}H(kn,"skipSeparationSpace");function D0(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||Ua(r)))}H(D0,"testDocumentSeparator");function E2(e,t){t===1?e.result+=" ":t>1&&(e.result+=qn.repeat(`
|
||
`,t-1))}H(E2,"writeFoldedLines");function Pae(e,t,r){var n,a,i,o,s,l,u,d,h=e.kind,f=e.result,m;if(m=e.input.charCodeAt(e.position),Ua(m)||fc(m)||m===35||m===38||m===42||m===33||m===124||m===62||m===39||m===34||m===37||m===64||m===96||(m===63||m===45)&&(a=e.input.charCodeAt(e.position+1),Ua(a)||r&&fc(a)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,s=!1;m!==0;){if(m===58){if(a=e.input.charCodeAt(e.position+1),Ua(a)||r&&fc(a))break}else if(m===35){if(n=e.input.charCodeAt(e.position-1),Ua(n))break}else{if(e.position===e.lineStart&&D0(e)||r&&fc(m))break;if(ko(m))if(l=e.line,u=e.lineStart,d=e.lineIndent,kn(e,!1,-1),e.lineIndent>=t){s=!0,m=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=l,e.lineStart=u,e.lineIndent=d;break}}s&&(il(e,i,o,!1),E2(e,e.line-l),i=o=e.position,s=!1),du(m)||(o=e.position+1),m=e.input.charCodeAt(++e.position)}return il(e,i,o,!1),e.result?!0:(e.kind=h,e.result=f,!1)}H(Pae,"readPlainScalar");function zae(e,t){var r,n,a;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=a=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(il(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,a=e.position;else return!0;else ko(r)?(il(e,n,a,!0),E2(e,kn(e,!1,t)),n=a=e.position):e.position===e.lineStart&&D0(e)?zt(e,"unexpected end of the document within a single quoted scalar"):(e.position++,a=e.position);zt(e,"unexpected end of the stream within a single quoted scalar")}H(zae,"readSingleQuotedScalar");function Hae(e,t){var r,n,a,i,o,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return il(e,r,e.position,!0),e.position++,!0;if(s===92){if(il(e,r,e.position,!0),s=e.input.charCodeAt(++e.position),ko(s))kn(e,!1,t);else if(s<256&&Iae[s])e.result+=Oae[s],e.position++;else if((o=Nae(s))>0){for(a=o,i=0;a>0;a--)s=e.input.charCodeAt(++e.position),(o=Rae(s))>=0?i=(i<<4)+o:zt(e,"expected hexadecimal character");e.result+=Mae(i),e.position++}else zt(e,"unknown escape sequence");r=n=e.position}else ko(s)?(il(e,r,n,!0),E2(e,kn(e,!1,t)),r=n=e.position):e.position===e.lineStart&&D0(e)?zt(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}zt(e,"unexpected end of the stream within a double quoted scalar")}H(Hae,"readDoubleQuotedScalar");function Uae(e,t){var r=!0,n,a,i,o=e.tag,s,l=e.anchor,u,d,h,f,m,b=Object.create(null),y,F,x,E;if(E=e.input.charCodeAt(e.position),E===91)d=93,m=!1,s=[];else if(E===123)d=125,m=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),E=e.input.charCodeAt(++e.position);E!==0;){if(kn(e,!0,t),E=e.input.charCodeAt(e.position),E===d)return e.position++,e.tag=o,e.anchor=l,e.kind=m?"mapping":"sequence",e.result=s,!0;r?E===44&&zt(e,"expected the node content, but found ','"):zt(e,"missed comma between flow collection entries"),F=y=x=null,h=f=!1,E===63&&(u=e.input.charCodeAt(e.position+1),Ua(u)&&(h=f=!0,e.position++,kn(e,!0,t))),n=e.line,a=e.lineStart,i=e.position,Oc(e,t,Cy,!1,!0),F=e.tag,y=e.result,kn(e,!0,t),E=e.input.charCodeAt(e.position),(f||e.line===n)&&E===58&&(h=!0,E=e.input.charCodeAt(++e.position),kn(e,!0,t),Oc(e,t,Cy,!1,!0),x=e.result),m?mc(e,s,b,F,y,x,n,a,i):h?s.push(mc(e,null,b,F,y,x,n,a,i)):s.push(y),kn(e,!0,t),E=e.input.charCodeAt(e.position),E===44?(r=!0,E=e.input.charCodeAt(++e.position)):r=!1}zt(e,"unexpected end of the stream within a flow collection")}H(Uae,"readFlowCollection");function Gae(e,t){var r,n,a=cw,i=!1,o=!1,s=t,l=0,u=!1,d,h;if(h=e.input.charCodeAt(e.position),h===124)n=!1;else if(h===62)n=!0;else return!1;for(e.kind="scalar",e.result="";h!==0;)if(h=e.input.charCodeAt(++e.position),h===43||h===45)cw===a?a=h===43?hz:kHe:zt(e,"repeat of a chomping mode identifier");else if((d=Lae(h))>=0)d===0?zt(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?zt(e,"repeat of an indentation width identifier"):(s=t+d-1,o=!0);else break;if(du(h)){do h=e.input.charCodeAt(++e.position);while(du(h));if(h===35)do h=e.input.charCodeAt(++e.position);while(!ko(h)&&h!==0)}for(;h!==0;){for(F2(e),e.lineIndent=0,h=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&h===32;)e.lineIndent++,h=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),ko(h)){l++;continue}if(e.lineIndent<s){a===hz?e.result+=qn.repeat(`
|
||
`,i?1+l:l):a===cw&&i&&(e.result+=`
|
||
`);break}for(n?du(h)?(u=!0,e.result+=qn.repeat(`
|
||
`,i?1+l:l)):u?(u=!1,e.result+=qn.repeat(`
|
||
`,l+1)):l===0?i&&(e.result+=" "):e.result+=qn.repeat(`
|
||
`,l):e.result+=qn.repeat(`
|
||
`,i?1+l:l),i=!0,o=!0,l=0,r=e.position;!ko(h)&&h!==0;)h=e.input.charCodeAt(++e.position);il(e,r,e.position,!1)}return!0}H(Gae,"readBlockScalar");function VD(e,t){var r,n=e.tag,a=e.anchor,i=[],o,s=!1,l;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=i),l=e.input.charCodeAt(e.position);l!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,zt(e,"tab characters must not be used in indentation")),!(l!==45||(o=e.input.charCodeAt(e.position+1),!Ua(o))));){if(s=!0,e.position++,kn(e,!0,-1)&&e.lineIndent<=t){i.push(null),l=e.input.charCodeAt(e.position);continue}if(r=e.line,Oc(e,t,Aae,!1,!0),i.push(e.result),kn(e,!0,-1),l=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&l!==0)zt(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return s?(e.tag=n,e.anchor=a,e.kind="sequence",e.result=i,!0):!1}H(VD,"readBlockSequence");function $ae(e,t,r){var n,a,i,o,s,l,u=e.tag,d=e.anchor,h={},f=Object.create(null),m=null,b=null,y=null,F=!1,x=!1,E;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=h),E=e.input.charCodeAt(e.position);E!==0;){if(!F&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,zt(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),i=e.line,(E===63||E===58)&&Ua(n))E===63?(F&&(mc(e,h,f,m,b,null,o,s,l),m=b=y=null),x=!0,F=!0,a=!0):F?(F=!1,a=!0):zt(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,E=n;else{if(o=e.line,s=e.lineStart,l=e.position,!Oc(e,r,Tae,!1,!0))break;if(e.line===i){for(E=e.input.charCodeAt(e.position);du(E);)E=e.input.charCodeAt(++e.position);if(E===58)E=e.input.charCodeAt(++e.position),Ua(E)||zt(e,"a whitespace character is expected after the key-value separator within a block mapping"),F&&(mc(e,h,f,m,b,null,o,s,l),m=b=y=null),x=!0,F=!1,a=!1,m=e.tag,b=e.result;else if(x)zt(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=u,e.anchor=d,!0}else if(x)zt(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=u,e.anchor=d,!0}if((e.line===i||e.lineIndent>t)&&(F&&(o=e.line,s=e.lineStart,l=e.position),Oc(e,t,Ty,!0,a)&&(F?b=e.result:y=e.result),F||(mc(e,h,f,m,b,y,o,s,l),m=b=y=null),kn(e,!0,-1),E=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&E!==0)zt(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return F&&mc(e,h,f,m,b,null,o,s,l),x&&(e.tag=u,e.anchor=d,e.kind="mapping",e.result=h),x}H($ae,"readBlockMapping");function jae(e){var t,r=!1,n=!1,a,i,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&zt(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,a="!!",o=e.input.charCodeAt(++e.position)):a="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(i=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):zt(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!Ua(o);)o===33&&(n?zt(e,"tag suffix cannot contain exclamation marks"):(a=e.input.slice(t-1,e.position+1),_ae.test(a)||zt(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),AHe.test(i)&&zt(e,"tag suffix cannot contain flow indicator characters")}i&&!Dae.test(i)&&zt(e,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch{zt(e,"tag name is malformed: "+i)}return r?e.tag=i:vu.call(e.tagMap,a)?e.tag=e.tagMap[a]+i:a==="!"?e.tag="!"+i:a==="!!"?e.tag="tag:yaml.org,2002:"+i:zt(e,'undeclared tag handle "'+a+'"'),!0}H(jae,"readTagProperty");function qae(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&zt(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Ua(r)&&!fc(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&zt(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}H(qae,"readAnchorProperty");function Wae(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!Ua(n)&&!fc(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&zt(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),vu.call(e.anchorMap,r)||zt(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],kn(e,!0,-1),!0}H(Wae,"readAlias");function Oc(e,t,r,n,a){var i,o,s,l=1,u=!1,d=!1,h,f,m,b,y,F;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=o=s=Ty===r||Aae===r,n&&kn(e,!0,-1)&&(u=!0,e.lineIndent>t?l=1:e.lineIndent===t?l=0:e.lineIndent<t&&(l=-1)),l===1)for(;jae(e)||qae(e);)kn(e,!0,-1)?(u=!0,s=i,e.lineIndent>t?l=1:e.lineIndent===t?l=0:e.lineIndent<t&&(l=-1)):s=!1;if(s&&(s=u||a),(l===1||Ty===r)&&(Cy===r||Tae===r?y=t:y=t+1,F=e.position-e.lineStart,l===1?s&&(VD(e,F)||$ae(e,F,y))||Uae(e,y)?d=!0:(o&&Gae(e,y)||zae(e,y)||Hae(e,y)?d=!0:Wae(e)?(d=!0,(e.tag!==null||e.anchor!==null)&&zt(e,"alias node should not have any properties")):Pae(e,y,Cy===r)&&(d=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):l===0&&(d=s&&VD(e,F))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&zt(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),h=0,f=e.implicitTypes.length;h<f;h+=1)if(b=e.implicitTypes[h],b.resolve(e.result)){e.result=b.construct(e.result),e.tag=b.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(vu.call(e.typeMap[e.kind||"fallback"],e.tag))b=e.typeMap[e.kind||"fallback"][e.tag];else for(b=null,m=e.typeMap.multi[e.kind||"fallback"],h=0,f=m.length;h<f;h+=1)if(e.tag.slice(0,m[h].tag.length)===m[h].tag){b=m[h];break}b||zt(e,"unknown tag !<"+e.tag+">"),e.result!==null&&b.kind!==e.kind&&zt(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+b.kind+'", not "'+e.kind+'"'),b.resolve(e.result,e.tag)?(e.result=b.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):zt(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||d}H(Oc,"composeNode");function Vae(e){var t=e.position,r,n,a,i=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(kn(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(i=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!Ua(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),a=[],n.length<1&&zt(e,"directive name must not be less than one character in length");o!==0;){for(;du(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!ko(o));break}if(ko(o))break;for(r=e.position;o!==0&&!Ua(o);)o=e.input.charCodeAt(++e.position);a.push(e.input.slice(r,e.position))}o!==0&&F2(e),vu.call(pz,n)?pz[n](e,n,a):Hm(e,'unknown document directive "'+n+'"')}if(kn(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,kn(e,!0,-1)):i&&zt(e,"directives end mark is expected"),Oc(e,e.lineIndent-1,Ty,!1,!0),kn(e,!0,-1),e.checkLineBreaks&&THe.test(e.input.slice(t,e.position))&&Hm(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&D0(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,kn(e,!0,-1));return}if(e.position<e.length-1)zt(e,"end of the stream or a document separator is expected");else return}H(Vae,"readDocument");function iN(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
||
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new Bae(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,zt(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)Vae(r);return r.documents}H(iN,"loadDocuments");function _He(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=iN(e,r);if(typeof t!="function")return n;for(var a=0,i=n.length;a<i;a+=1)t(n[a])}H(_He,"loadAll$1");function Kae(e,t){var r=iN(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new ti("expected a single document in the stream, but found more")}}H(Kae,"load$1");var DHe=Kae,RHe={load:DHe},Yae=Object.prototype.toString,Xae=Object.prototype.hasOwnProperty,oN=65279,NHe=9,Um=10,LHe=13,MHe=32,IHe=33,OHe=34,KD=35,BHe=37,PHe=38,zHe=39,HHe=42,Jae=44,UHe=45,Ay=58,GHe=61,$He=62,jHe=63,qHe=64,Zae=91,Qae=93,WHe=96,eie=123,VHe=124,tie=125,La={};La[0]="\\0";La[7]="\\a";La[8]="\\b";La[9]="\\t";La[10]="\\n";La[11]="\\v";La[12]="\\f";La[13]="\\r";La[27]="\\e";La[34]='\\"';La[92]="\\\\";La[133]="\\N";La[160]="\\_";La[8232]="\\L";La[8233]="\\P";var KHe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],YHe=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function rie(e,t){var r,n,a,i,o,s,l;if(t===null)return{};for(r={},n=Object.keys(t),a=0,i=n.length;a<i;a+=1)o=n[a],s=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),l=e.compiledTypeMap.fallback[o],l&&Xae.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s;return r}H(rie,"compileStyleMap");function nie(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new ti("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+qn.repeat("0",n-t.length)+t}H(nie,"encodeHex");var XHe=1,Gm=2;function aie(e){this.schema=e.schema||Cae,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=qn.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=rie(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?Gm:XHe,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}H(aie,"State");function YD(e,t){for(var r=qn.repeat(" ",t),n=0,a=-1,i="",o,s=e.length;n<s;)a=e.indexOf(`
|
||
`,n),a===-1?(o=e.slice(n),n=s):(o=e.slice(n,a+1),n=a+1),o.length&&o!==`
|
||
`&&(i+=r),i+=o;return i}H(YD,"indentString");function _y(e,t){return`
|
||
`+qn.repeat(" ",e.indent*t)}H(_y,"generateNextLine");function iie(e,t){var r,n,a;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(a=e.implicitTypes[r],a.resolve(t))return!0;return!1}H(iie,"testImplicitResolving");function $m(e){return e===MHe||e===NHe}H($m,"isWhitespace");function Uh(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==oN||65536<=e&&e<=1114111}H(Uh,"isPrintable");function XD(e){return Uh(e)&&e!==oN&&e!==LHe&&e!==Um}H(XD,"isNsCharOrWhitespace");function JD(e,t,r){var n=XD(e),a=n&&!$m(e);return(r?n:n&&e!==Jae&&e!==Zae&&e!==Qae&&e!==eie&&e!==tie)&&e!==KD&&!(t===Ay&&!a)||XD(t)&&!$m(t)&&e===KD||t===Ay&&a}H(JD,"isPlainSafe");function oie(e){return Uh(e)&&e!==oN&&!$m(e)&&e!==UHe&&e!==jHe&&e!==Ay&&e!==Jae&&e!==Zae&&e!==Qae&&e!==eie&&e!==tie&&e!==KD&&e!==PHe&&e!==HHe&&e!==IHe&&e!==VHe&&e!==GHe&&e!==$He&&e!==zHe&&e!==OHe&&e!==BHe&&e!==qHe&&e!==WHe}H(oie,"isPlainSafeFirst");function sie(e){return!$m(e)&&e!==Ay}H(sie,"isPlainSafeLast");function th(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}H(th,"codePointAt");function sN(e){var t=/^\n* /;return t.test(e)}H(sN,"needIndentIndicator");var lie=1,ZD=2,uie=3,cie=4,Zd=5;function die(e,t,r,n,a,i,o,s){var l,u=0,d=null,h=!1,f=!1,m=n!==-1,b=-1,y=oie(th(e,0))&&sie(th(e,e.length-1));if(t||o)for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=th(e,l),!Uh(u))return Zd;y=y&&JD(u,d,s),d=u}else{for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=th(e,l),u===Um)h=!0,m&&(f=f||l-b-1>n&&e[b+1]!==" ",b=l);else if(!Uh(u))return Zd;y=y&&JD(u,d,s),d=u}f=f||m&&l-b-1>n&&e[b+1]!==" "}return!h&&!f?y&&!o&&!a(e)?lie:i===Gm?Zd:ZD:r>9&&sN(e)?Zd:o?i===Gm?Zd:ZD:f?cie:uie}H(die,"chooseScalarStyle");function hie(e,t,r,n,a){e.dump=function(){if(t.length===0)return e.quotingType===Gm?'""':"''";if(!e.noCompatMode&&(KHe.indexOf(t)!==-1||YHe.test(t)))return e.quotingType===Gm?'"'+t+'"':"'"+t+"'";var i=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=n||e.flowLevel>-1&&r>=e.flowLevel;function l(u){return iie(e,u)}switch(H(l,"testAmbiguity"),die(t,s,e.indent,o,l,e.quotingType,e.forceQuotes&&!n,a)){case lie:return t;case ZD:return"'"+t.replace(/'/g,"''")+"'";case uie:return"|"+QD(t,e.indent)+e6(YD(t,i));case cie:return">"+QD(t,e.indent)+e6(YD(pie(t,o),i));case Zd:return'"'+fie(t)+'"';default:throw new ti("impossible error: invalid scalar style")}}()}H(hie,"writeScalar");function QD(e,t){var r=sN(e)?String(t):"",n=e[e.length-1]===`
|
||
`,a=n&&(e[e.length-2]===`
|
||
`||e===`
|
||
`),i=a?"+":n?"":"-";return r+i+`
|
||
`}H(QD,"blockHeader");function e6(e){return e[e.length-1]===`
|
||
`?e.slice(0,-1):e}H(e6,"dropEndingNewline");function pie(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var u=e.indexOf(`
|
||
`);return u=u!==-1?u:e.length,r.lastIndex=u,t6(e.slice(0,u),t)}(),a=e[0]===`
|
||
`||e[0]===" ",i,o;o=r.exec(e);){var s=o[1],l=o[2];i=l[0]===" ",n+=s+(!a&&!i&&l!==""?`
|
||
`:"")+t6(l,t),a=i}return n}H(pie,"foldString");function t6(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,a=0,i,o=0,s=0,l="";n=r.exec(e);)s=n.index,s-a>t&&(i=o>a?o:s,l+=`
|
||
`+e.slice(a,i),a=i+1),o=s;return l+=`
|
||
`,e.length-a>t&&o>a?l+=e.slice(a,o)+`
|
||
`+e.slice(o+1):l+=e.slice(a),l.slice(1)}H(t6,"foldLine");function fie(e){for(var t="",r=0,n,a=0;a<e.length;r>=65536?a+=2:a++)r=th(e,a),n=La[r],!n&&Uh(r)?(t+=e[a],r>=65536&&(t+=e[a+1])):t+=n||nie(r);return t}H(fie,"escapeString");function mie(e,t,r){var n="",a=e.tag,i,o,s;for(i=0,o=r.length;i<o;i+=1)s=r[i],e.replacer&&(s=e.replacer.call(r,String(i),s)),(ss(e,t,s,!1,!1)||typeof s>"u"&&ss(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=a,e.dump="["+n+"]"}H(mie,"writeFlowSequence");function r6(e,t,r,n){var a="",i=e.tag,o,s,l;for(o=0,s=r.length;o<s;o+=1)l=r[o],e.replacer&&(l=e.replacer.call(r,String(o),l)),(ss(e,t+1,l,!0,!0,!1,!0)||typeof l>"u"&&ss(e,t+1,null,!0,!0,!1,!0))&&((!n||a!=="")&&(a+=_y(e,t)),e.dump&&Um===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=i,e.dump=a||"[]"}H(r6,"writeBlockSequence");function gie(e,t,r){var n="",a=e.tag,i=Object.keys(r),o,s,l,u,d;for(o=0,s=i.length;o<s;o+=1)d="",n!==""&&(d+=", "),e.condenseFlow&&(d+='"'),l=i[o],u=r[l],e.replacer&&(u=e.replacer.call(r,l,u)),ss(e,t,l,!1,!1)&&(e.dump.length>1024&&(d+="? "),d+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),ss(e,t,u,!1,!1)&&(d+=e.dump,n+=d));e.tag=a,e.dump="{"+n+"}"}H(gie,"writeFlowMapping");function bie(e,t,r,n){var a="",i=e.tag,o=Object.keys(r),s,l,u,d,h,f;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new ti("sortKeys must be a boolean or a function");for(s=0,l=o.length;s<l;s+=1)f="",(!n||a!=="")&&(f+=_y(e,t)),u=o[s],d=r[u],e.replacer&&(d=e.replacer.call(r,u,d)),ss(e,t+1,u,!0,!0,!0)&&(h=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,h&&(e.dump&&Um===e.dump.charCodeAt(0)?f+="?":f+="? "),f+=e.dump,h&&(f+=_y(e,t)),ss(e,t+1,d,!0,h)&&(e.dump&&Um===e.dump.charCodeAt(0)?f+=":":f+=": ",f+=e.dump,a+=f));e.tag=i,e.dump=a||"{}"}H(bie,"writeBlockMapping");function n6(e,t,r){var n,a,i,o,s,l;for(a=r?e.explicitTypes:e.implicitTypes,i=0,o=a.length;i<o;i+=1)if(s=a[i],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t=="object"&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(r?s.multi&&s.representName?e.tag=s.representName(t):e.tag=s.tag:e.tag="?",s.represent){if(l=e.styleMap[s.tag]||s.defaultStyle,Yae.call(s.represent)==="[object Function]")n=s.represent(t,l);else if(Xae.call(s.represent,l))n=s.represent[l](t,l);else throw new ti("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');e.dump=n}return!0}return!1}H(n6,"detectType");function ss(e,t,r,n,a,i,o){e.tag=null,e.dump=r,n6(e,r,!1)||n6(e,r,!0);var s=Yae.call(e.dump),l=n,u;n&&(n=e.flowLevel<0||e.flowLevel>t);var d=s==="[object Object]"||s==="[object Array]",h,f;if(d&&(h=e.duplicates.indexOf(r),f=h!==-1),(e.tag!==null&&e.tag!=="?"||f||e.indent!==2&&t>0)&&(a=!1),f&&e.usedDuplicates[h])e.dump="*ref_"+h;else{if(d&&f&&!e.usedDuplicates[h]&&(e.usedDuplicates[h]=!0),s==="[object Object]")n&&Object.keys(e.dump).length!==0?(bie(e,t,e.dump,a),f&&(e.dump="&ref_"+h+e.dump)):(gie(e,t,e.dump),f&&(e.dump="&ref_"+h+" "+e.dump));else if(s==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?r6(e,t-1,e.dump,a):r6(e,t,e.dump,a),f&&(e.dump="&ref_"+h+e.dump)):(mie(e,t,e.dump),f&&(e.dump="&ref_"+h+" "+e.dump));else if(s==="[object String]")e.tag!=="?"&&hie(e,e.dump,t,i,l);else{if(s==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new ti("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}H(ss,"writeNode");function yie(e,t){var r=[],n=[],a,i;for(Dy(e,r,n),a=0,i=n.length;a<i;a+=1)t.duplicates.push(r[n[a]]);t.usedDuplicates=new Array(i)}H(yie,"getDuplicateReferences");function Dy(e,t,r){var n,a,i;if(e!==null&&typeof e=="object")if(a=t.indexOf(e),a!==-1)r.indexOf(a)===-1&&r.push(a);else if(t.push(e),Array.isArray(e))for(a=0,i=e.length;a<i;a+=1)Dy(e[a],t,r);else for(n=Object.keys(e),a=0,i=n.length;a<i;a+=1)Dy(e[n[a]],t,r)}H(Dy,"inspectNode");function JHe(e,t){t=t||{};var r=new aie(t);r.noRefs||yie(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),ss(r,0,n,!0,!0)?r.dump+`
|
||
`:""}H(JHe,"dump$1");function ZHe(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}H(ZHe,"renamed");var QHe=uae,eUe=RHe.load;/*! Bundled license information:
|
||
|
||
js-yaml/dist/js-yaml.mjs:
|
||
(*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
|
||
*/var Ji={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function tm(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=sn(e),t=sn(t);const[r,n]=[e.x,e.y],[a,i]=[t.x,t.y],o=a-r,s=i-n;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}H(tm,"calculateDeltaAndAngle");var sn=H(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,"pointTransformer"),tUe=H(e=>({x:H(function(t,r,n){let a=0;const i=sn(n[0]).x<sn(n[n.length-1]).x?"left":"right";if(r===0&&Object.hasOwn(Ji,e.arrowTypeStart)){const{angle:m,deltaX:b}=tm(n[0],n[1]);a=Ji[e.arrowTypeStart]*Math.cos(m)*(b>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(Ji,e.arrowTypeEnd)){const{angle:m,deltaX:b}=tm(n[n.length-1],n[n.length-2]);a=Ji[e.arrowTypeEnd]*Math.cos(m)*(b>=0?1:-1)}const o=Math.abs(sn(t).x-sn(n[n.length-1]).x),s=Math.abs(sn(t).y-sn(n[n.length-1]).y),l=Math.abs(sn(t).x-sn(n[0]).x),u=Math.abs(sn(t).y-sn(n[0]).y),d=Ji[e.arrowTypeStart],h=Ji[e.arrowTypeEnd],f=1;if(o<h&&o>0&&s<h){let m=h+f-o;m*=i==="right"?-1:1,a-=m}if(l<d&&l>0&&u<d){let m=d+f-l;m*=i==="right"?-1:1,a+=m}return sn(t).x+a},"x"),y:H(function(t,r,n){let a=0;const i=sn(n[0]).y<sn(n[n.length-1]).y?"down":"up";if(r===0&&Object.hasOwn(Ji,e.arrowTypeStart)){const{angle:m,deltaY:b}=tm(n[0],n[1]);a=Ji[e.arrowTypeStart]*Math.abs(Math.sin(m))*(b>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(Ji,e.arrowTypeEnd)){const{angle:m,deltaY:b}=tm(n[n.length-1],n[n.length-2]);a=Ji[e.arrowTypeEnd]*Math.abs(Math.sin(m))*(b>=0?1:-1)}const o=Math.abs(sn(t).y-sn(n[n.length-1]).y),s=Math.abs(sn(t).x-sn(n[n.length-1]).x),l=Math.abs(sn(t).y-sn(n[0]).y),u=Math.abs(sn(t).x-sn(n[0]).x),d=Ji[e.arrowTypeStart],h=Ji[e.arrowTypeEnd],f=1;if(o<h&&o>0&&s<h){let m=h+f-o;m*=i==="up"?-1:1,a-=m}if(l<d&&l>0&&u<d){let m=d+f-l;m*=i==="up"?-1:1,a+=m}return sn(t).y+a},"y")}),"getLineFunctionsWithOffset"),lN=H(({flowchart:e})=>{var a,i;const t=((a=e==null?void 0:e.subGraphTitleMargin)==null?void 0:a.top)??0,r=((i=e==null?void 0:e.subGraphTitleMargin)==null?void 0:i.bottom)??0,n=t+r;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:n}},"getSubGraphTitleMargins"),rUe=H(e=>{const{handDrawnSeed:t}=Or();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:t}},"solidStateFill"),yp=H(e=>{const t=nUe([...e.cssCompiledStyles||[],...e.cssStyles||[]]);return{stylesMap:t,stylesArray:[...t]}},"compileStyles"),nUe=H(e=>{const t=new Map;return e.forEach(r=>{const[n,a]=r.split(":");t.set(n.trim(),a==null?void 0:a.trim())}),t},"styles2Map"),vie=H(e=>e==="color"||e==="font-size"||e==="font-family"||e==="font-weight"||e==="font-style"||e==="text-decoration"||e==="text-align"||e==="text-transform"||e==="line-height"||e==="letter-spacing"||e==="word-spacing"||e==="text-shadow"||e==="text-overflow"||e==="white-space"||e==="word-wrap"||e==="word-break"||e==="overflow-wrap"||e==="hyphens","isLabelStyle"),Pt=H(e=>{const{stylesArray:t}=yp(e),r=[],n=[],a=[],i=[];return t.forEach(o=>{const s=o[0];vie(s)?r.push(o.join(":")+" !important"):(n.push(o.join(":")+" !important"),s.includes("stroke")&&a.push(o.join(":")+" !important"),s==="fill"&&i.push(o.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:t,borderStyles:a,backgroundStyles:i}},"styles2String"),Rt=H((e,t)=>{var l;const{themeVariables:r,handDrawnSeed:n}=Or(),{nodeBorder:a,mainBkg:i}=r,{stylesMap:o}=yp(e);return Object.assign({roughness:.7,fill:o.get("fill")||i,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:o.get("stroke")||a,seed:n,strokeWidth:((l=o.get("stroke-width"))==null?void 0:l.replace("px",""))||1.3,fillLineDash:[0,0]},t)},"userNodeOverrides"),Hf={},$n={},fz;function aUe(){return fz||(fz=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.BLANK_URL=$n.relativeFirstCharacters=$n.whitespaceEscapeCharsRegex=$n.urlSchemeRegex=$n.ctrlCharactersRegex=$n.htmlCtrlEntityRegex=$n.htmlEntitiesRegex=$n.invalidProtocolRegex=void 0,$n.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,$n.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,$n.htmlCtrlEntityRegex=/&(newline|tab);/gi,$n.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,$n.urlSchemeRegex=/^.+(:|:)/gim,$n.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,$n.relativeFirstCharacters=[".","/"],$n.BLANK_URL="about:blank"),$n}var mz;function iUe(){if(mz)return Hf;mz=1,Object.defineProperty(Hf,"__esModule",{value:!0}),Hf.sanitizeUrl=void 0;var e=aUe();function t(o){return e.relativeFirstCharacters.indexOf(o[0])>-1}function r(o){var s=o.replace(e.ctrlCharactersRegex,"");return s.replace(e.htmlEntitiesRegex,function(l,u){return String.fromCharCode(u)})}function n(o){return URL.canParse(o)}function a(o){try{return decodeURIComponent(o)}catch{return o}}function i(o){if(!o)return e.BLANK_URL;var s,l=a(o.trim());do l=r(l).replace(e.htmlCtrlEntityRegex,"").replace(e.ctrlCharactersRegex,"").replace(e.whitespaceEscapeCharsRegex,"").trim(),l=a(l),s=l.match(e.ctrlCharactersRegex)||l.match(e.htmlEntitiesRegex)||l.match(e.htmlCtrlEntityRegex)||l.match(e.whitespaceEscapeCharsRegex);while(s&&s.length>0);var u=l;if(!u)return e.BLANK_URL;if(t(u))return u;var d=u.trimStart(),h=d.match(e.urlSchemeRegex);if(!h)return u;var f=h[0].toLowerCase().trim();if(e.invalidProtocolRegex.test(f))return e.BLANK_URL;var m=d.replace(/\\/g,"/");if(f==="mailto:"||f.includes("://"))return m;if(f==="http:"||f==="https:"){if(!n(m))return e.BLANK_URL;var b=new URL(m);return b.protocol=b.protocol.toLowerCase(),b.hostname=b.hostname.toLowerCase(),b.toString()}return m}return Hf.sanitizeUrl=i,Hf}var oUe=iUe(),sUe={value:()=>{}};function Fie(){for(var e=0,t=arguments.length,r={},n;e<t;++e){if(!(n=arguments[e]+"")||n in r||/[\s.]/.test(n))throw new Error("illegal type: "+n);r[n]=[]}return new Tb(r)}function Tb(e){this._=e}function lUe(e,t){return e.trim().split(/^|\s+/).map(function(r){var n="",a=r.indexOf(".");if(a>=0&&(n=r.slice(a+1),r=r.slice(0,a)),r&&!t.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:n}})}Tb.prototype=Fie.prototype={constructor:Tb,on:function(e,t){var r=this._,n=lUe(e+"",r),a,i=-1,o=n.length;if(arguments.length<2){for(;++i<o;)if((a=(e=n[i]).type)&&(a=uUe(r[a],e.name)))return a;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++i<o;)if(a=(e=n[i]).type)r[a]=gz(r[a],e.name,t);else if(t==null)for(a in r)r[a]=gz(r[a],e.name,null);return this},copy:function(){var e={},t=this._;for(var r in t)e[r]=t[r].slice();return new Tb(e)},call:function(e,t){if((a=arguments.length-2)>0)for(var r=new Array(a),n=0,a,i;n<a;++n)r[n]=arguments[n+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=this._[e],n=0,a=i.length;n<a;++n)i[n].value.apply(t,r)},apply:function(e,t,r){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var n=this._[e],a=0,i=n.length;a<i;++a)n[a].value.apply(t,r)}};function uUe(e,t){for(var r=0,n=e.length,a;r<n;++r)if((a=e[r]).name===t)return a.value}function gz(e,t,r){for(var n=0,a=e.length;n<a;++n)if(e[n].name===t){e[n]=sUe,e=e.slice(0,n).concat(e.slice(n+1));break}return r!=null&&e.push({name:t,value:r}),e}var a6="http://www.w3.org/1999/xhtml";const bz={svg:"http://www.w3.org/2000/svg",xhtml:a6,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function S2(e){var t=e+="",r=t.indexOf(":");return r>=0&&(t=e.slice(0,r))!=="xmlns"&&(e=e.slice(r+1)),bz.hasOwnProperty(t)?{space:bz[t],local:e}:e}function cUe(e){return function(){var t=this.ownerDocument,r=this.namespaceURI;return r===a6&&t.documentElement.namespaceURI===a6?t.createElement(e):t.createElementNS(r,e)}}function dUe(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Eie(e){var t=S2(e);return(t.local?dUe:cUe)(t)}function hUe(){}function uN(e){return e==null?hUe:function(){return this.querySelector(e)}}function pUe(e){typeof e!="function"&&(e=uN(e));for(var t=this._groups,r=t.length,n=new Array(r),a=0;a<r;++a)for(var i=t[a],o=i.length,s=n[a]=new Array(o),l,u,d=0;d<o;++d)(l=i[d])&&(u=e.call(l,l.__data__,d,i))&&("__data__"in l&&(u.__data__=l.__data__),s[d]=u);return new Ri(n,this._parents)}function fUe(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function mUe(){return[]}function Sie(e){return e==null?mUe:function(){return this.querySelectorAll(e)}}function gUe(e){return function(){return fUe(e.apply(this,arguments))}}function bUe(e){typeof e=="function"?e=gUe(e):e=Sie(e);for(var t=this._groups,r=t.length,n=[],a=[],i=0;i<r;++i)for(var o=t[i],s=o.length,l,u=0;u<s;++u)(l=o[u])&&(n.push(e.call(l,l.__data__,u,o)),a.push(l));return new Ri(n,a)}function xie(e){return function(){return this.matches(e)}}function wie(e){return function(t){return t.matches(e)}}var yUe=Array.prototype.find;function vUe(e){return function(){return yUe.call(this.children,e)}}function FUe(){return this.firstElementChild}function EUe(e){return this.select(e==null?FUe:vUe(typeof e=="function"?e:wie(e)))}var SUe=Array.prototype.filter;function xUe(){return Array.from(this.children)}function wUe(e){return function(){return SUe.call(this.children,e)}}function kUe(e){return this.selectAll(e==null?xUe:wUe(typeof e=="function"?e:wie(e)))}function CUe(e){typeof e!="function"&&(e=xie(e));for(var t=this._groups,r=t.length,n=new Array(r),a=0;a<r;++a)for(var i=t[a],o=i.length,s=n[a]=[],l,u=0;u<o;++u)(l=i[u])&&e.call(l,l.__data__,u,i)&&s.push(l);return new Ri(n,this._parents)}function kie(e){return new Array(e.length)}function TUe(){return new Ri(this._enter||this._groups.map(kie),this._parents)}function Ry(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Ry.prototype={constructor:Ry,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function AUe(e){return function(){return e}}function _Ue(e,t,r,n,a,i){for(var o=0,s,l=t.length,u=i.length;o<u;++o)(s=t[o])?(s.__data__=i[o],n[o]=s):r[o]=new Ry(e,i[o]);for(;o<l;++o)(s=t[o])&&(a[o]=s)}function DUe(e,t,r,n,a,i,o){var s,l,u=new Map,d=t.length,h=i.length,f=new Array(d),m;for(s=0;s<d;++s)(l=t[s])&&(f[s]=m=o.call(l,l.__data__,s,t)+"",u.has(m)?a[s]=l:u.set(m,l));for(s=0;s<h;++s)m=o.call(e,i[s],s,i)+"",(l=u.get(m))?(n[s]=l,l.__data__=i[s],u.delete(m)):r[s]=new Ry(e,i[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(f[s])===l&&(a[s]=l)}function RUe(e){return e.__data__}function NUe(e,t){if(!arguments.length)return Array.from(this,RUe);var r=t?DUe:_Ue,n=this._parents,a=this._groups;typeof e!="function"&&(e=AUe(e));for(var i=a.length,o=new Array(i),s=new Array(i),l=new Array(i),u=0;u<i;++u){var d=n[u],h=a[u],f=h.length,m=LUe(e.call(d,d&&d.__data__,u,n)),b=m.length,y=s[u]=new Array(b),F=o[u]=new Array(b),x=l[u]=new Array(f);r(d,h,y,F,x,m,t);for(var E=0,C=0,_,D;E<b;++E)if(_=y[E]){for(E>=C&&(C=E+1);!(D=F[C])&&++C<b;);_._next=D||null}}return o=new Ri(o,n),o._enter=s,o._exit=l,o}function LUe(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function MUe(){return new Ri(this._exit||this._groups.map(kie),this._parents)}function IUe(e,t,r){var n=this.enter(),a=this,i=this.exit();return typeof e=="function"?(n=e(n),n&&(n=n.selection())):n=n.append(e+""),t!=null&&(a=t(a),a&&(a=a.selection())),r==null?i.remove():r(i),n&&a?n.merge(a).order():a}function OUe(e){for(var t=e.selection?e.selection():e,r=this._groups,n=t._groups,a=r.length,i=n.length,o=Math.min(a,i),s=new Array(a),l=0;l<o;++l)for(var u=r[l],d=n[l],h=u.length,f=s[l]=new Array(h),m,b=0;b<h;++b)(m=u[b]||d[b])&&(f[b]=m);for(;l<a;++l)s[l]=r[l];return new Ri(s,this._parents)}function BUe(){for(var e=this._groups,t=-1,r=e.length;++t<r;)for(var n=e[t],a=n.length-1,i=n[a],o;--a>=0;)(o=n[a])&&(i&&o.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(o,i),i=o);return this}function PUe(e){e||(e=zUe);function t(h,f){return h&&f?e(h.__data__,f.__data__):!h-!f}for(var r=this._groups,n=r.length,a=new Array(n),i=0;i<n;++i){for(var o=r[i],s=o.length,l=a[i]=new Array(s),u,d=0;d<s;++d)(u=o[d])&&(l[d]=u);l.sort(t)}return new Ri(a,this._parents).order()}function zUe(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function HUe(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function UUe(){return Array.from(this)}function GUe(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var n=e[t],a=0,i=n.length;a<i;++a){var o=n[a];if(o)return o}return null}function $Ue(){let e=0;for(const t of this)++e;return e}function jUe(){return!this.node()}function qUe(e){for(var t=this._groups,r=0,n=t.length;r<n;++r)for(var a=t[r],i=0,o=a.length,s;i<o;++i)(s=a[i])&&e.call(s,s.__data__,i,a);return this}function WUe(e){return function(){this.removeAttribute(e)}}function VUe(e){return function(){this.removeAttributeNS(e.space,e.local)}}function KUe(e,t){return function(){this.setAttribute(e,t)}}function YUe(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function XUe(e,t){return function(){var r=t.apply(this,arguments);r==null?this.removeAttribute(e):this.setAttribute(e,r)}}function JUe(e,t){return function(){var r=t.apply(this,arguments);r==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,r)}}function ZUe(e,t){var r=S2(e);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((t==null?r.local?VUe:WUe:typeof t=="function"?r.local?JUe:XUe:r.local?YUe:KUe)(r,t))}function Cie(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function QUe(e){return function(){this.style.removeProperty(e)}}function eGe(e,t,r){return function(){this.style.setProperty(e,t,r)}}function tGe(e,t,r){return function(){var n=t.apply(this,arguments);n==null?this.style.removeProperty(e):this.style.setProperty(e,n,r)}}function rGe(e,t,r){return arguments.length>1?this.each((t==null?QUe:typeof t=="function"?tGe:eGe)(e,t,r??"")):Gh(this.node(),e)}function Gh(e,t){return e.style.getPropertyValue(t)||Cie(e).getComputedStyle(e,null).getPropertyValue(t)}function nGe(e){return function(){delete this[e]}}function aGe(e,t){return function(){this[e]=t}}function iGe(e,t){return function(){var r=t.apply(this,arguments);r==null?delete this[e]:this[e]=r}}function oGe(e,t){return arguments.length>1?this.each((t==null?nGe:typeof t=="function"?iGe:aGe)(e,t)):this.node()[e]}function Tie(e){return e.trim().split(/^|\s+/)}function cN(e){return e.classList||new Aie(e)}function Aie(e){this._node=e,this._names=Tie(e.getAttribute("class")||"")}Aie.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function _ie(e,t){for(var r=cN(e),n=-1,a=t.length;++n<a;)r.add(t[n])}function Die(e,t){for(var r=cN(e),n=-1,a=t.length;++n<a;)r.remove(t[n])}function sGe(e){return function(){_ie(this,e)}}function lGe(e){return function(){Die(this,e)}}function uGe(e,t){return function(){(t.apply(this,arguments)?_ie:Die)(this,e)}}function cGe(e,t){var r=Tie(e+"");if(arguments.length<2){for(var n=cN(this.node()),a=-1,i=r.length;++a<i;)if(!n.contains(r[a]))return!1;return!0}return this.each((typeof t=="function"?uGe:t?sGe:lGe)(r,t))}function dGe(){this.textContent=""}function hGe(e){return function(){this.textContent=e}}function pGe(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function fGe(e){return arguments.length?this.each(e==null?dGe:(typeof e=="function"?pGe:hGe)(e)):this.node().textContent}function mGe(){this.innerHTML=""}function gGe(e){return function(){this.innerHTML=e}}function bGe(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function yGe(e){return arguments.length?this.each(e==null?mGe:(typeof e=="function"?bGe:gGe)(e)):this.node().innerHTML}function vGe(){this.nextSibling&&this.parentNode.appendChild(this)}function FGe(){return this.each(vGe)}function EGe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function SGe(){return this.each(EGe)}function xGe(e){var t=typeof e=="function"?e:Eie(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function wGe(){return null}function kGe(e,t){var r=typeof e=="function"?e:Eie(e),n=t==null?wGe:typeof t=="function"?t:uN(t);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})}function CGe(){var e=this.parentNode;e&&e.removeChild(this)}function TGe(){return this.each(CGe)}function AGe(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function _Ge(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function DGe(e){return this.select(e?_Ge:AGe)}function RGe(e){return arguments.length?this.property("__data__",e):this.node().__data__}function NGe(e){return function(t){e.call(this,t,this.__data__)}}function LGe(e){return e.trim().split(/^|\s+/).map(function(t){var r="",n=t.indexOf(".");return n>=0&&(r=t.slice(n+1),t=t.slice(0,n)),{type:t,name:r}})}function MGe(e){return function(){var t=this.__on;if(t){for(var r=0,n=-1,a=t.length,i;r<a;++r)i=t[r],(!e.type||i.type===e.type)&&i.name===e.name?this.removeEventListener(i.type,i.listener,i.options):t[++n]=i;++n?t.length=n:delete this.__on}}}function IGe(e,t,r){return function(){var n=this.__on,a,i=NGe(t);if(n){for(var o=0,s=n.length;o<s;++o)if((a=n[o]).type===e.type&&a.name===e.name){this.removeEventListener(a.type,a.listener,a.options),this.addEventListener(a.type,a.listener=i,a.options=r),a.value=t;return}}this.addEventListener(e.type,i,r),a={type:e.type,name:e.name,value:t,listener:i,options:r},n?n.push(a):this.__on=[a]}}function OGe(e,t,r){var n=LGe(e+""),a,i=n.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var l=0,u=s.length,d;l<u;++l)for(a=0,d=s[l];a<i;++a)if((o=n[a]).type===d.type&&o.name===d.name)return d.value}return}for(s=t?IGe:MGe,a=0;a<i;++a)this.each(s(n[a],t,r));return this}function Rie(e,t,r){var n=Cie(e),a=n.CustomEvent;typeof a=="function"?a=new a(t,r):(a=n.document.createEvent("Event"),r?(a.initEvent(t,r.bubbles,r.cancelable),a.detail=r.detail):a.initEvent(t,!1,!1)),e.dispatchEvent(a)}function BGe(e,t){return function(){return Rie(this,e,t)}}function PGe(e,t){return function(){return Rie(this,e,t.apply(this,arguments))}}function zGe(e,t){return this.each((typeof t=="function"?PGe:BGe)(e,t))}function*HGe(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var n=e[t],a=0,i=n.length,o;a<i;++a)(o=n[a])&&(yield o)}var Nie=[null];function Ri(e,t){this._groups=e,this._parents=t}function R0(){return new Ri([[document.documentElement]],Nie)}function UGe(){return this}Ri.prototype=R0.prototype={constructor:Ri,select:pUe,selectAll:bUe,selectChild:EUe,selectChildren:kUe,filter:CUe,data:NUe,enter:TUe,exit:MUe,join:IUe,merge:OUe,selection:UGe,order:BUe,sort:PUe,call:HUe,nodes:UUe,node:GUe,size:$Ue,empty:jUe,each:qUe,attr:ZUe,style:rGe,property:oGe,classed:cGe,text:fGe,html:yGe,raise:FGe,lower:SGe,append:xGe,insert:kGe,remove:TGe,clone:DGe,datum:RGe,on:OGe,dispatch:zGe,[Symbol.iterator]:HGe};function Rr(e){return typeof e=="string"?new Ri([[document.querySelector(e)]],[document.documentElement]):new Ri([[e]],Nie)}function dN(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Lie(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function N0(){}var jm=.7,Ny=1/jm,dh="\\s*([+-]?\\d+)\\s*",qm="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",as="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",GGe=/^#([0-9a-f]{3,8})$/,$Ge=new RegExp(`^rgb\\(${dh},${dh},${dh}\\)$`),jGe=new RegExp(`^rgb\\(${as},${as},${as}\\)$`),qGe=new RegExp(`^rgba\\(${dh},${dh},${dh},${qm}\\)$`),WGe=new RegExp(`^rgba\\(${as},${as},${as},${qm}\\)$`),VGe=new RegExp(`^hsl\\(${qm},${as},${as}\\)$`),KGe=new RegExp(`^hsla\\(${qm},${as},${as},${qm}\\)$`),yz={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};dN(N0,Wm,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:vz,formatHex:vz,formatHex8:YGe,formatHsl:XGe,formatRgb:Fz,toString:Fz});function vz(){return this.rgb().formatHex()}function YGe(){return this.rgb().formatHex8()}function XGe(){return Mie(this).formatHsl()}function Fz(){return this.rgb().formatRgb()}function Wm(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=GGe.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Ez(t):r===3?new ri(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?U1(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?U1(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=$Ge.exec(e))?new ri(t[1],t[2],t[3],1):(t=jGe.exec(e))?new ri(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=qGe.exec(e))?U1(t[1],t[2],t[3],t[4]):(t=WGe.exec(e))?U1(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=VGe.exec(e))?wz(t[1],t[2]/100,t[3]/100,1):(t=KGe.exec(e))?wz(t[1],t[2]/100,t[3]/100,t[4]):yz.hasOwnProperty(e)?Ez(yz[e]):e==="transparent"?new ri(NaN,NaN,NaN,0):null}function Ez(e){return new ri(e>>16&255,e>>8&255,e&255,1)}function U1(e,t,r,n){return n<=0&&(e=t=r=NaN),new ri(e,t,r,n)}function JGe(e){return e instanceof N0||(e=Wm(e)),e?(e=e.rgb(),new ri(e.r,e.g,e.b,e.opacity)):new ri}function i6(e,t,r,n){return arguments.length===1?JGe(e):new ri(e,t,r,n??1)}function ri(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}dN(ri,i6,Lie(N0,{brighter(e){return e=e==null?Ny:Math.pow(Ny,e),new ri(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?jm:Math.pow(jm,e),new ri(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ri(Sc(this.r),Sc(this.g),Sc(this.b),Ly(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Sz,formatHex:Sz,formatHex8:ZGe,formatRgb:xz,toString:xz}));function Sz(){return`#${gc(this.r)}${gc(this.g)}${gc(this.b)}`}function ZGe(){return`#${gc(this.r)}${gc(this.g)}${gc(this.b)}${gc((isNaN(this.opacity)?1:this.opacity)*255)}`}function xz(){const e=Ly(this.opacity);return`${e===1?"rgb(":"rgba("}${Sc(this.r)}, ${Sc(this.g)}, ${Sc(this.b)}${e===1?")":`, ${e})`}`}function Ly(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Sc(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function gc(e){return e=Sc(e),(e<16?"0":"")+e.toString(16)}function wz(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new xo(e,t,r,n)}function Mie(e){if(e instanceof xo)return new xo(e.h,e.s,e.l,e.opacity);if(e instanceof N0||(e=Wm(e)),!e)return new xo;if(e instanceof xo)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),i=Math.max(t,r,n),o=NaN,s=i-a,l=(i+a)/2;return s?(t===i?o=(r-n)/s+(r<n)*6:r===i?o=(n-t)/s+2:o=(t-r)/s+4,s/=l<.5?i+a:2-i-a,o*=60):s=l>0&&l<1?0:o,new xo(o,s,l,e.opacity)}function QGe(e,t,r,n){return arguments.length===1?Mie(e):new xo(e,t,r,n??1)}function xo(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}dN(xo,QGe,Lie(N0,{brighter(e){return e=e==null?Ny:Math.pow(Ny,e),new xo(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?jm:Math.pow(jm,e),new xo(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,a=2*r-n;return new ri(dw(e>=240?e-240:e+120,a,n),dw(e,a,n),dw(e<120?e+240:e-120,a,n),this.opacity)},clamp(){return new xo(kz(this.h),G1(this.s),G1(this.l),Ly(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Ly(this.opacity);return`${e===1?"hsl(":"hsla("}${kz(this.h)}, ${G1(this.s)*100}%, ${G1(this.l)*100}%${e===1?")":`, ${e})`}`}}));function kz(e){return e=(e||0)%360,e<0?e+360:e}function G1(e){return Math.max(0,Math.min(1,e||0))}function dw(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const hN=e=>()=>e;function Iie(e,t){return function(r){return e+r*t}}function e$e(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function Oct(e,t){var r=t-e;return r?Iie(e,r>180||r<-180?r-360*Math.round(r/360):r):hN(isNaN(e)?t:e)}function t$e(e){return(e=+e)==1?Oie:function(t,r){return r-t?e$e(t,r,e):hN(isNaN(t)?r:t)}}function Oie(e,t){var r=t-e;return r?Iie(e,r):hN(isNaN(e)?t:e)}const Cz=function e(t){var r=t$e(t);function n(a,i){var o=r((a=i6(a)).r,(i=i6(i)).r),s=r(a.g,i.g),l=r(a.b,i.b),u=Oie(a.opacity,i.opacity);return function(d){return a.r=o(d),a.g=s(d),a.b=l(d),a.opacity=u(d),a+""}}return n.gamma=e,n}(1);function ru(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}var o6=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,hw=new RegExp(o6.source,"g");function r$e(e){return function(){return e}}function n$e(e){return function(t){return e(t)+""}}function a$e(e,t){var r=o6.lastIndex=hw.lastIndex=0,n,a,i,o=-1,s=[],l=[];for(e=e+"",t=t+"";(n=o6.exec(e))&&(a=hw.exec(t));)(i=a.index)>r&&(i=t.slice(r,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(a=a[0])?s[o]?s[o]+=a:s[++o]=a:(s[++o]=null,l.push({i:o,x:ru(n,a)})),r=hw.lastIndex;return r<t.length&&(i=t.slice(r),s[o]?s[o]+=i:s[++o]=i),s.length<2?l[0]?n$e(l[0].x):r$e(t):(t=l.length,function(u){for(var d=0,h;d<t;++d)s[(h=l[d]).i]=h.x(u);return s.join("")})}var Tz=180/Math.PI,s6={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Bie(e,t,r,n,a,i){var o,s,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*r+t*n)&&(r-=e*l,n-=t*l),(s=Math.sqrt(r*r+n*n))&&(r/=s,n/=s,l/=s),e*n<t*r&&(e=-e,t=-t,l=-l,o=-o),{translateX:a,translateY:i,rotate:Math.atan2(t,e)*Tz,skewX:Math.atan(l)*Tz,scaleX:o,scaleY:s}}var $1;function i$e(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?s6:Bie(t.a,t.b,t.c,t.d,t.e,t.f)}function o$e(e){return e==null||($1||($1=document.createElementNS("http://www.w3.org/2000/svg","g")),$1.setAttribute("transform",e),!(e=$1.transform.baseVal.consolidate()))?s6:(e=e.matrix,Bie(e.a,e.b,e.c,e.d,e.e,e.f))}function Pie(e,t,r,n){function a(u){return u.length?u.pop()+" ":""}function i(u,d,h,f,m,b){if(u!==h||d!==f){var y=m.push("translate(",null,t,null,r);b.push({i:y-4,x:ru(u,h)},{i:y-2,x:ru(d,f)})}else(h||f)&&m.push("translate("+h+t+f+r)}function o(u,d,h,f){u!==d?(u-d>180?d+=360:d-u>180&&(u+=360),f.push({i:h.push(a(h)+"rotate(",null,n)-2,x:ru(u,d)})):d&&h.push(a(h)+"rotate("+d+n)}function s(u,d,h,f){u!==d?f.push({i:h.push(a(h)+"skewX(",null,n)-2,x:ru(u,d)}):d&&h.push(a(h)+"skewX("+d+n)}function l(u,d,h,f,m,b){if(u!==h||d!==f){var y=m.push(a(m)+"scale(",null,",",null,")");b.push({i:y-4,x:ru(u,h)},{i:y-2,x:ru(d,f)})}else(h!==1||f!==1)&&m.push(a(m)+"scale("+h+","+f+")")}return function(u,d){var h=[],f=[];return u=e(u),d=e(d),i(u.translateX,u.translateY,d.translateX,d.translateY,h,f),o(u.rotate,d.rotate,h,f),s(u.skewX,d.skewX,h,f),l(u.scaleX,u.scaleY,d.scaleX,d.scaleY,h,f),u=d=null,function(m){for(var b=-1,y=f.length,F;++b<y;)h[(F=f[b]).i]=F.x(m);return h.join("")}}}var s$e=Pie(i$e,"px, ","px)","deg)"),l$e=Pie(o$e,", ",")",")"),$h=0,rm=0,Uf=0,zie=1e3,My,nm,Iy=0,Bc=0,x2=0,Vm=typeof performance=="object"&&performance.now?performance:Date,Hie=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function pN(){return Bc||(Hie(u$e),Bc=Vm.now()+x2)}function u$e(){Bc=0}function Oy(){this._call=this._time=this._next=null}Oy.prototype=Uie.prototype={constructor:Oy,restart:function(e,t,r){if(typeof e!="function")throw new TypeError("callback is not a function");r=(r==null?pN():+r)+(t==null?0:+t),!this._next&&nm!==this&&(nm?nm._next=this:My=this,nm=this),this._call=e,this._time=r,l6()},stop:function(){this._call&&(this._call=null,this._time=1/0,l6())}};function Uie(e,t,r){var n=new Oy;return n.restart(e,t,r),n}function c$e(){pN(),++$h;for(var e=My,t;e;)(t=Bc-e._time)>=0&&e._call.call(void 0,t),e=e._next;--$h}function Az(){Bc=(Iy=Vm.now())+x2,$h=rm=0;try{c$e()}finally{$h=0,h$e(),Bc=0}}function d$e(){var e=Vm.now(),t=e-Iy;t>zie&&(x2-=t,Iy=e)}function h$e(){for(var e,t=My,r,n=1/0;t;)t._call?(n>t._time&&(n=t._time),e=t,t=t._next):(r=t._next,t._next=null,t=e?e._next=r:My=r);nm=e,l6(n)}function l6(e){if(!$h){rm&&(rm=clearTimeout(rm));var t=e-Bc;t>24?(e<1/0&&(rm=setTimeout(Az,e-Vm.now()-x2)),Uf&&(Uf=clearInterval(Uf))):(Uf||(Iy=Vm.now(),Uf=setInterval(d$e,zie)),$h=1,Hie(Az))}}function _z(e,t,r){var n=new Oy;return t=t==null?0:+t,n.restart(a=>{n.stop(),e(a+t)},t,r),n}var p$e=Fie("start","end","cancel","interrupt"),f$e=[],Gie=0,Dz=1,u6=2,Ab=3,Rz=4,c6=5,_b=6;function w2(e,t,r,n,a,i){var o=e.__transition;if(!o)e.__transition={};else if(r in o)return;m$e(e,r,{name:t,index:n,group:a,on:p$e,tween:f$e,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:Gie})}function fN(e,t){var r=Io(e,t);if(r.state>Gie)throw new Error("too late; already scheduled");return r}function bs(e,t){var r=Io(e,t);if(r.state>Ab)throw new Error("too late; already running");return r}function Io(e,t){var r=e.__transition;if(!r||!(r=r[t]))throw new Error("transition not found");return r}function m$e(e,t,r){var n=e.__transition,a;n[t]=r,r.timer=Uie(i,0,r.time);function i(u){r.state=Dz,r.timer.restart(o,r.delay,r.time),r.delay<=u&&o(u-r.delay)}function o(u){var d,h,f,m;if(r.state!==Dz)return l();for(d in n)if(m=n[d],m.name===r.name){if(m.state===Ab)return _z(o);m.state===Rz?(m.state=_b,m.timer.stop(),m.on.call("interrupt",e,e.__data__,m.index,m.group),delete n[d]):+d<t&&(m.state=_b,m.timer.stop(),m.on.call("cancel",e,e.__data__,m.index,m.group),delete n[d])}if(_z(function(){r.state===Ab&&(r.state=Rz,r.timer.restart(s,r.delay,r.time),s(u))}),r.state=u6,r.on.call("start",e,e.__data__,r.index,r.group),r.state===u6){for(r.state=Ab,a=new Array(f=r.tween.length),d=0,h=-1;d<f;++d)(m=r.tween[d].value.call(e,e.__data__,r.index,r.group))&&(a[++h]=m);a.length=h+1}}function s(u){for(var d=u<r.duration?r.ease.call(null,u/r.duration):(r.timer.restart(l),r.state=c6,1),h=-1,f=a.length;++h<f;)a[h].call(e,d);r.state===c6&&(r.on.call("end",e,e.__data__,r.index,r.group),l())}function l(){r.state=_b,r.timer.stop(),delete n[t];for(var u in n)return;delete e.__transition}}function g$e(e,t){var r=e.__transition,n,a,i=!0,o;if(r){t=t==null?null:t+"";for(o in r){if((n=r[o]).name!==t){i=!1;continue}a=n.state>u6&&n.state<c6,n.state=_b,n.timer.stop(),n.on.call(a?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete r[o]}i&&delete e.__transition}}function b$e(e){return this.each(function(){g$e(this,e)})}function y$e(e,t){var r,n;return function(){var a=bs(this,e),i=a.tween;if(i!==r){n=r=i;for(var o=0,s=n.length;o<s;++o)if(n[o].name===t){n=n.slice(),n.splice(o,1);break}}a.tween=n}}function v$e(e,t,r){var n,a;if(typeof r!="function")throw new Error;return function(){var i=bs(this,e),o=i.tween;if(o!==n){a=(n=o).slice();for(var s={name:t,value:r},l=0,u=a.length;l<u;++l)if(a[l].name===t){a[l]=s;break}l===u&&a.push(s)}i.tween=a}}function F$e(e,t){var r=this._id;if(e+="",arguments.length<2){for(var n=Io(this.node(),r).tween,a=0,i=n.length,o;a<i;++a)if((o=n[a]).name===e)return o.value;return null}return this.each((t==null?y$e:v$e)(r,e,t))}function mN(e,t,r){var n=e._id;return e.each(function(){var a=bs(this,n);(a.value||(a.value={}))[t]=r.apply(this,arguments)}),function(a){return Io(a,n).value[t]}}function $ie(e,t){var r;return(typeof t=="number"?ru:t instanceof Wm?Cz:(r=Wm(t))?(t=r,Cz):a$e)(e,t)}function E$e(e){return function(){this.removeAttribute(e)}}function S$e(e){return function(){this.removeAttributeNS(e.space,e.local)}}function x$e(e,t,r){var n,a=r+"",i;return function(){var o=this.getAttribute(e);return o===a?null:o===n?i:i=t(n=o,r)}}function w$e(e,t,r){var n,a=r+"",i;return function(){var o=this.getAttributeNS(e.space,e.local);return o===a?null:o===n?i:i=t(n=o,r)}}function k$e(e,t,r){var n,a,i;return function(){var o,s=r(this),l;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),l=s+"",o===l?null:o===n&&l===a?i:(a=l,i=t(n=o,s)))}}function C$e(e,t,r){var n,a,i;return function(){var o,s=r(this),l;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),l=s+"",o===l?null:o===n&&l===a?i:(a=l,i=t(n=o,s)))}}function T$e(e,t){var r=S2(e),n=r==="transform"?l$e:$ie;return this.attrTween(e,typeof t=="function"?(r.local?C$e:k$e)(r,n,mN(this,"attr."+e,t)):t==null?(r.local?S$e:E$e)(r):(r.local?w$e:x$e)(r,n,t))}function A$e(e,t){return function(r){this.setAttribute(e,t.call(this,r))}}function _$e(e,t){return function(r){this.setAttributeNS(e.space,e.local,t.call(this,r))}}function D$e(e,t){var r,n;function a(){var i=t.apply(this,arguments);return i!==n&&(r=(n=i)&&_$e(e,i)),r}return a._value=t,a}function R$e(e,t){var r,n;function a(){var i=t.apply(this,arguments);return i!==n&&(r=(n=i)&&A$e(e,i)),r}return a._value=t,a}function N$e(e,t){var r="attr."+e;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!="function")throw new Error;var n=S2(e);return this.tween(r,(n.local?D$e:R$e)(n,t))}function L$e(e,t){return function(){fN(this,e).delay=+t.apply(this,arguments)}}function M$e(e,t){return t=+t,function(){fN(this,e).delay=t}}function I$e(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?L$e:M$e)(t,e)):Io(this.node(),t).delay}function O$e(e,t){return function(){bs(this,e).duration=+t.apply(this,arguments)}}function B$e(e,t){return t=+t,function(){bs(this,e).duration=t}}function P$e(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?O$e:B$e)(t,e)):Io(this.node(),t).duration}function z$e(e,t){if(typeof t!="function")throw new Error;return function(){bs(this,e).ease=t}}function H$e(e){var t=this._id;return arguments.length?this.each(z$e(t,e)):Io(this.node(),t).ease}function U$e(e,t){return function(){var r=t.apply(this,arguments);if(typeof r!="function")throw new Error;bs(this,e).ease=r}}function G$e(e){if(typeof e!="function")throw new Error;return this.each(U$e(this._id,e))}function $$e(e){typeof e!="function"&&(e=xie(e));for(var t=this._groups,r=t.length,n=new Array(r),a=0;a<r;++a)for(var i=t[a],o=i.length,s=n[a]=[],l,u=0;u<o;++u)(l=i[u])&&e.call(l,l.__data__,u,i)&&s.push(l);return new pl(n,this._parents,this._name,this._id)}function j$e(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,r=e._groups,n=t.length,a=r.length,i=Math.min(n,a),o=new Array(n),s=0;s<i;++s)for(var l=t[s],u=r[s],d=l.length,h=o[s]=new Array(d),f,m=0;m<d;++m)(f=l[m]||u[m])&&(h[m]=f);for(;s<n;++s)o[s]=t[s];return new pl(o,this._parents,this._name,this._id)}function q$e(e){return(e+"").trim().split(/^|\s+/).every(function(t){var r=t.indexOf(".");return r>=0&&(t=t.slice(0,r)),!t||t==="start"})}function W$e(e,t,r){var n,a,i=q$e(t)?fN:bs;return function(){var o=i(this,e),s=o.on;s!==n&&(a=(n=s).copy()).on(t,r),o.on=a}}function V$e(e,t){var r=this._id;return arguments.length<2?Io(this.node(),r).on.on(e):this.each(W$e(r,e,t))}function K$e(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function Y$e(){return this.on("end.remove",K$e(this._id))}function X$e(e){var t=this._name,r=this._id;typeof e!="function"&&(e=uN(e));for(var n=this._groups,a=n.length,i=new Array(a),o=0;o<a;++o)for(var s=n[o],l=s.length,u=i[o]=new Array(l),d,h,f=0;f<l;++f)(d=s[f])&&(h=e.call(d,d.__data__,f,s))&&("__data__"in d&&(h.__data__=d.__data__),u[f]=h,w2(u[f],t,r,f,u,Io(d,r)));return new pl(i,this._parents,t,r)}function J$e(e){var t=this._name,r=this._id;typeof e!="function"&&(e=Sie(e));for(var n=this._groups,a=n.length,i=[],o=[],s=0;s<a;++s)for(var l=n[s],u=l.length,d,h=0;h<u;++h)if(d=l[h]){for(var f=e.call(d,d.__data__,h,l),m,b=Io(d,r),y=0,F=f.length;y<F;++y)(m=f[y])&&w2(m,t,r,y,f,b);i.push(f),o.push(d)}return new pl(i,o,t,r)}var Z$e=R0.prototype.constructor;function Q$e(){return new Z$e(this._groups,this._parents)}function eje(e,t){var r,n,a;return function(){var i=Gh(this,e),o=(this.style.removeProperty(e),Gh(this,e));return i===o?null:i===r&&o===n?a:a=t(r=i,n=o)}}function jie(e){return function(){this.style.removeProperty(e)}}function tje(e,t,r){var n,a=r+"",i;return function(){var o=Gh(this,e);return o===a?null:o===n?i:i=t(n=o,r)}}function rje(e,t,r){var n,a,i;return function(){var o=Gh(this,e),s=r(this),l=s+"";return s==null&&(l=s=(this.style.removeProperty(e),Gh(this,e))),o===l?null:o===n&&l===a?i:(a=l,i=t(n=o,s))}}function nje(e,t){var r,n,a,i="style."+t,o="end."+i,s;return function(){var l=bs(this,e),u=l.on,d=l.value[i]==null?s||(s=jie(t)):void 0;(u!==r||a!==d)&&(n=(r=u).copy()).on(o,a=d),l.on=n}}function aje(e,t,r){var n=(e+="")=="transform"?s$e:$ie;return t==null?this.styleTween(e,eje(e,n)).on("end.style."+e,jie(e)):typeof t=="function"?this.styleTween(e,rje(e,n,mN(this,"style."+e,t))).each(nje(this._id,e)):this.styleTween(e,tje(e,n,t),r).on("end.style."+e,null)}function ije(e,t,r){return function(n){this.style.setProperty(e,t.call(this,n),r)}}function oje(e,t,r){var n,a;function i(){var o=t.apply(this,arguments);return o!==a&&(n=(a=o)&&ije(e,o,r)),n}return i._value=t,i}function sje(e,t,r){var n="style."+(e+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;return this.tween(n,oje(e,t,r??""))}function lje(e){return function(){this.textContent=e}}function uje(e){return function(){var t=e(this);this.textContent=t??""}}function cje(e){return this.tween("text",typeof e=="function"?uje(mN(this,"text",e)):lje(e==null?"":e+""))}function dje(e){return function(t){this.textContent=e.call(this,t)}}function hje(e){var t,r;function n(){var a=e.apply(this,arguments);return a!==r&&(t=(r=a)&&dje(a)),t}return n._value=e,n}function pje(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,hje(e))}function fje(){for(var e=this._name,t=this._id,r=qie(),n=this._groups,a=n.length,i=0;i<a;++i)for(var o=n[i],s=o.length,l,u=0;u<s;++u)if(l=o[u]){var d=Io(l,t);w2(l,e,r,u,o,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new pl(n,this._parents,e,r)}function mje(){var e,t,r=this,n=r._id,a=r.size();return new Promise(function(i,o){var s={value:o},l={value:function(){--a===0&&i()}};r.each(function(){var u=bs(this,n),d=u.on;d!==e&&(t=(e=d).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),u.on=t}),a===0&&i()})}var gje=0;function pl(e,t,r,n){this._groups=e,this._parents=t,this._name=r,this._id=n}function qie(){return++gje}var Us=R0.prototype;pl.prototype={constructor:pl,select:X$e,selectAll:J$e,selectChild:Us.selectChild,selectChildren:Us.selectChildren,filter:$$e,merge:j$e,selection:Q$e,transition:fje,call:Us.call,nodes:Us.nodes,node:Us.node,size:Us.size,empty:Us.empty,each:Us.each,on:V$e,attr:T$e,attrTween:N$e,style:aje,styleTween:sje,text:cje,textTween:pje,remove:Y$e,tween:F$e,delay:I$e,duration:P$e,ease:H$e,easeVarying:G$e,end:mje,[Symbol.iterator]:Us[Symbol.iterator]};function bje(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var yje={time:null,delay:0,duration:250,ease:bje};function vje(e,t){for(var r;!(r=e.__transition)||!(r=r[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return r}function Fje(e){var t,r;e instanceof pl?(t=e._id,e=e._name):(t=qie(),(r=yje).time=pN(),e=e==null?null:e+"");for(var n=this._groups,a=n.length,i=0;i<a;++i)for(var o=n[i],s=o.length,l,u=0;u<s;++u)(l=o[u])&&w2(l,e,t,u,o,r||vje(l,t));return new pl(n,this._parents,e,t)}R0.prototype.interrupt=b$e;R0.prototype.transition=Fje;const d6=Math.PI,h6=2*d6,oc=1e-6,Eje=h6-oc;function Wie(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function Sje(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Wie;const r=10**t;return function(n){this._+=n[0];for(let a=1,i=n.length;a<i;++a)this._+=Math.round(arguments[a]*r)/r+n[a]}}class xje{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Wie:Sje(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,a){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+a}`}bezierCurveTo(t,r,n,a,i,o){this._append`C${+t},${+r},${+n},${+a},${this._x1=+i},${this._y1=+o}`}arcTo(t,r,n,a,i){if(t=+t,r=+r,n=+n,a=+a,i=+i,i<0)throw new Error(`negative radius: ${i}`);let o=this._x1,s=this._y1,l=n-t,u=a-r,d=o-t,h=s-r,f=d*d+h*h;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(f>oc)if(!(Math.abs(h*l-u*d)>oc)||!i)this._append`L${this._x1=t},${this._y1=r}`;else{let m=n-o,b=a-s,y=l*l+u*u,F=m*m+b*b,x=Math.sqrt(y),E=Math.sqrt(f),C=i*Math.tan((d6-Math.acos((y+f-F)/(2*x*E)))/2),_=C/E,D=C/x;Math.abs(_-1)>oc&&this._append`L${t+_*d},${r+_*h}`,this._append`A${i},${i},0,0,${+(h*m>d*b)},${this._x1=t+D*l},${this._y1=r+D*u}`}}arc(t,r,n,a,i,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(a),l=n*Math.sin(a),u=t+s,d=r+l,h=1^o,f=o?a-i:i-a;this._x1===null?this._append`M${u},${d}`:(Math.abs(this._x1-u)>oc||Math.abs(this._y1-d)>oc)&&this._append`L${u},${d}`,n&&(f<0&&(f=f%h6+h6),f>Eje?this._append`A${n},${n},0,1,${h},${t-s},${r-l}A${n},${n},0,1,${h},${this._x1=u},${this._y1=d}`:f>oc&&this._append`A${n},${n},0,${+(f>=d6)},${h},${this._x1=t+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(t,r,n,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+a}h${-n}Z`}toString(){return this._}}function qd(e){return function(){return e}}const Bct=Math.abs,Pct=Math.atan2,zct=Math.cos,Hct=Math.max,Uct=Math.min,Gct=Math.sin,$ct=Math.sqrt,Nz=1e-12,gN=Math.PI,Lz=gN/2,jct=2*gN;function qct(e){return e>1?0:e<-1?gN:Math.acos(e)}function Wct(e){return e>=1?Lz:e<=-1?-Lz:Math.asin(e)}function wje(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new xje(t)}function kje(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Vie(e){this._context=e}Vie.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function By(e){return new Vie(e)}function Cje(e){return e[0]}function Tje(e){return e[1]}function Aje(e,t){var r=qd(!0),n=null,a=By,i=null,o=wje(s);e=typeof e=="function"?e:e===void 0?Cje:qd(e),t=typeof t=="function"?t:t===void 0?Tje:qd(t);function s(l){var u,d=(l=kje(l)).length,h,f=!1,m;for(n==null&&(i=a(m=o())),u=0;u<=d;++u)!(u<d&&r(h=l[u],u,l))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(h,u,l),+t(h,u,l));if(m)return i=null,m+""||null}return s.x=function(l){return arguments.length?(e=typeof l=="function"?l:qd(+l),s):e},s.y=function(l){return arguments.length?(t=typeof l=="function"?l:qd(+l),s):t},s.defined=function(l){return arguments.length?(r=typeof l=="function"?l:qd(!!l),s):r},s.curve=function(l){return arguments.length?(a=l,n!=null&&(i=a(n)),s):a},s.context=function(l){return arguments.length?(l==null?n=i=null:i=a(n=l),s):n},s}class Kie{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function Yie(e){return new Kie(e,!0)}function Xie(e){return new Kie(e,!1)}function Fu(){}function Py(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function k2(e){this._context=e}k2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Py(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Py(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Db(e){return new k2(e)}function Jie(e){this._context=e}Jie.prototype={areaStart:Fu,areaEnd:Fu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Py(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function _je(e){return new Jie(e)}function Zie(e){this._context=e}Zie.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Py(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Dje(e){return new Zie(e)}function Qie(e,t){this._basis=new k2(e),this._beta=t}Qie.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,r=e.length-1;if(r>0)for(var n=e[0],a=t[0],i=e[r]-n,o=t[r]-a,s=-1,l;++s<=r;)l=s/r,this._basis.point(this._beta*e[s]+(1-this._beta)*(n+l*i),this._beta*t[s]+(1-this._beta)*(a+l*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const Rje=function e(t){function r(n){return t===1?new k2(n):new Qie(n,t)}return r.beta=function(n){return e(+n)},r}(.85);function zy(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function bN(e,t){this._context=e,this._k=(1-t)/6}bN.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:zy(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:zy(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const eoe=function e(t){function r(n){return new bN(n,t)}return r.tension=function(n){return e(+n)},r}(0);function yN(e,t){this._context=e,this._k=(1-t)/6}yN.prototype={areaStart:Fu,areaEnd:Fu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:zy(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const Nje=function e(t){function r(n){return new yN(n,t)}return r.tension=function(n){return e(+n)},r}(0);function vN(e,t){this._context=e,this._k=(1-t)/6}vN.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:zy(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const Lje=function e(t){function r(n){return new vN(n,t)}return r.tension=function(n){return e(+n)},r}(0);function FN(e,t,r){var n=e._x1,a=e._y1,i=e._x2,o=e._y2;if(e._l01_a>Nz){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);n=(n*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,a=(a*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>Nz){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,d=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-t*e._l12_2a)/d,o=(o*u+e._y1*e._l23_2a-r*e._l12_2a)/d}e._context.bezierCurveTo(n,a,i,o,e._x2,e._y2)}function toe(e,t){this._context=e,this._alpha=t}toe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:FN(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const roe=function e(t){function r(n){return t?new toe(n,t):new bN(n,0)}return r.alpha=function(n){return e(+n)},r}(.5);function noe(e,t){this._context=e,this._alpha=t}noe.prototype={areaStart:Fu,areaEnd:Fu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:FN(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const Mje=function e(t){function r(n){return t?new noe(n,t):new yN(n,0)}return r.alpha=function(n){return e(+n)},r}(.5);function aoe(e,t){this._context=e,this._alpha=t}aoe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:FN(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const Ije=function e(t){function r(n){return t?new aoe(n,t):new vN(n,0)}return r.alpha=function(n){return e(+n)},r}(.5);function ioe(e){this._context=e}ioe.prototype={areaStart:Fu,areaEnd:Fu,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Oje(e){return new ioe(e)}function Mz(e){return e<0?-1:1}function Iz(e,t,r){var n=e._x1-e._x0,a=t-e._x1,i=(e._y1-e._y0)/(n||a<0&&-0),o=(r-e._y1)/(a||n<0&&-0),s=(i*a+o*n)/(n+a);return(Mz(i)+Mz(o))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs(s))||0}function Oz(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function pw(e,t,r){var n=e._x0,a=e._y0,i=e._x1,o=e._y1,s=(i-n)/3;e._context.bezierCurveTo(n+s,a+s*t,i-s,o-s*r,i,o)}function Hy(e){this._context=e}Hy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:pw(this,this._t0,Oz(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,pw(this,Oz(this,r=Iz(this,e,t)),r);break;default:pw(this,this._t0,r=Iz(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function ooe(e){this._context=new soe(e)}(ooe.prototype=Object.create(Hy.prototype)).point=function(e,t){Hy.prototype.point.call(this,t,e)};function soe(e){this._context=e}soe.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,a,i){this._context.bezierCurveTo(t,e,n,r,i,a)}};function loe(e){return new Hy(e)}function uoe(e){return new ooe(e)}function coe(e){this._context=e}coe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=Bz(e),a=Bz(t),i=0,o=1;o<r;++i,++o)this._context.bezierCurveTo(n[0][i],a[0][i],n[1][i],a[1][i],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Bz(e){var t,r=e.length-1,n,a=new Array(r),i=new Array(r),o=new Array(r);for(a[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,i[t]=4,o[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,i[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/i[t-1],i[t]-=n,o[t]-=n*o[t-1];for(a[r-1]=o[r-1]/i[r-1],t=r-2;t>=0;--t)a[t]=(o[t]-a[t+1])/i[t];for(i[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-a[t+1];return[a,i]}function doe(e){return new coe(e)}function C2(e,t){this._context=e,this._t=t}C2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function hoe(e){return new C2(e,.5)}function poe(e){return new C2(e,0)}function foe(e){return new C2(e,1)}function am(e,t,r){this.k=e,this.x=t,this.y=r}am.prototype={constructor:am,scale:function(e){return e===1?this:new am(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new am(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};am.prototype;var moe=typeof global=="object"&&global&&global.Object===Object&&global,Bje=typeof self=="object"&&self&&self.Object===Object&&self,ys=moe||Bje||Function("return this")(),Uy=ys.Symbol,goe=Object.prototype,Pje=goe.hasOwnProperty,zje=goe.toString,Gf=Uy?Uy.toStringTag:void 0;function Hje(e){var t=Pje.call(e,Gf),r=e[Gf];try{e[Gf]=void 0;var n=!0}catch{}var a=zje.call(e);return n&&(t?e[Gf]=r:delete e[Gf]),a}var Uje=Object.prototype,Gje=Uje.toString;function $je(e){return Gje.call(e)}var jje="[object Null]",qje="[object Undefined]",Pz=Uy?Uy.toStringTag:void 0;function vp(e){return e==null?e===void 0?qje:jje:Pz&&Pz in Object(e)?Hje(e):$je(e)}function Zc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Wje="[object AsyncFunction]",Vje="[object Function]",Kje="[object GeneratorFunction]",Yje="[object Proxy]";function EN(e){if(!Zc(e))return!1;var t=vp(e);return t==Vje||t==Kje||t==Wje||t==Yje}var fw=ys["__core-js_shared__"],zz=function(){var e=/[^.]+$/.exec(fw&&fw.keys&&fw.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Xje(e){return!!zz&&zz in e}var Jje=Function.prototype,Zje=Jje.toString;function Qc(e){if(e!=null){try{return Zje.call(e)}catch{}try{return e+""}catch{}}return""}var Qje=/[\\^$.*+?()[\]{}|]/g,eqe=/^\[object .+?Constructor\]$/,tqe=Function.prototype,rqe=Object.prototype,nqe=tqe.toString,aqe=rqe.hasOwnProperty,iqe=RegExp("^"+nqe.call(aqe).replace(Qje,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oqe(e){if(!Zc(e)||Xje(e))return!1;var t=EN(e)?iqe:eqe;return t.test(Qc(e))}function sqe(e,t){return e==null?void 0:e[t]}function ed(e,t){var r=sqe(e,t);return oqe(r)?r:void 0}var Km=ed(Object,"create");function lqe(){this.__data__=Km?Km(null):{},this.size=0}function uqe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var cqe="__lodash_hash_undefined__",dqe=Object.prototype,hqe=dqe.hasOwnProperty;function pqe(e){var t=this.__data__;if(Km){var r=t[e];return r===cqe?void 0:r}return hqe.call(t,e)?t[e]:void 0}var fqe=Object.prototype,mqe=fqe.hasOwnProperty;function gqe(e){var t=this.__data__;return Km?t[e]!==void 0:mqe.call(t,e)}var bqe="__lodash_hash_undefined__";function yqe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Km&&t===void 0?bqe:t,this}function Pc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pc.prototype.clear=lqe;Pc.prototype.delete=uqe;Pc.prototype.get=pqe;Pc.prototype.has=gqe;Pc.prototype.set=yqe;function vqe(){this.__data__=[],this.size=0}function T2(e,t){return e===t||e!==e&&t!==t}function A2(e,t){for(var r=e.length;r--;)if(T2(e[r][0],t))return r;return-1}var Fqe=Array.prototype,Eqe=Fqe.splice;function Sqe(e){var t=this.__data__,r=A2(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Eqe.call(t,r,1),--this.size,!0}function xqe(e){var t=this.__data__,r=A2(t,e);return r<0?void 0:t[r][1]}function wqe(e){return A2(this.__data__,e)>-1}function kqe(e,t){var r=this.__data__,n=A2(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Fl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Fl.prototype.clear=vqe;Fl.prototype.delete=Sqe;Fl.prototype.get=xqe;Fl.prototype.has=wqe;Fl.prototype.set=kqe;var Ym=ed(ys,"Map");function Cqe(){this.size=0,this.__data__={hash:new Pc,map:new(Ym||Fl),string:new Pc}}function Tqe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function _2(e,t){var r=e.__data__;return Tqe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Aqe(e){var t=_2(this,e).delete(e);return this.size-=t?1:0,t}function _qe(e){return _2(this,e).get(e)}function Dqe(e){return _2(this,e).has(e)}function Rqe(e,t){var r=_2(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Au(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Au.prototype.clear=Cqe;Au.prototype.delete=Aqe;Au.prototype.get=_qe;Au.prototype.has=Dqe;Au.prototype.set=Rqe;var Nqe="Expected a function";function L0(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Nqe);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(L0.Cache||Au),r}L0.Cache=Au;function Lqe(){this.__data__=new Fl,this.size=0}function Mqe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Iqe(e){return this.__data__.get(e)}function Oqe(e){return this.__data__.has(e)}var Bqe=200;function Pqe(e,t){var r=this.__data__;if(r instanceof Fl){var n=r.__data__;if(!Ym||n.length<Bqe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Au(n)}return r.set(e,t),this.size=r.size,this}function Fp(e){var t=this.__data__=new Fl(e);this.size=t.size}Fp.prototype.clear=Lqe;Fp.prototype.delete=Mqe;Fp.prototype.get=Iqe;Fp.prototype.has=Oqe;Fp.prototype.set=Pqe;var Gy=function(){try{var e=ed(Object,"defineProperty");return e({},"",{}),e}catch{}}();function SN(e,t,r){t=="__proto__"&&Gy?Gy(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function p6(e,t,r){(r!==void 0&&!T2(e[t],r)||r===void 0&&!(t in e))&&SN(e,t,r)}function zqe(e){return function(t,r,n){for(var a=-1,i=Object(t),o=n(t),s=o.length;s--;){var l=o[++a];if(r(i[l],l,i)===!1)break}return t}}var Hqe=zqe(),boe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Hz=boe&&typeof module=="object"&&module&&!module.nodeType&&module,Uqe=Hz&&Hz.exports===boe,Uz=Uqe?ys.Buffer:void 0,Gz=Uz?Uz.allocUnsafe:void 0;function Gqe(e,t){if(t)return e.slice();var r=e.length,n=Gz?Gz(r):new e.constructor(r);return e.copy(n),n}var $z=ys.Uint8Array;function $qe(e){var t=new e.constructor(e.byteLength);return new $z(t).set(new $z(e)),t}function jqe(e,t){var r=t?$qe(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function qqe(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var jz=Object.create,Wqe=function(){function e(){}return function(t){if(!Zc(t))return{};if(jz)return jz(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function yoe(e,t){return function(r){return e(t(r))}}var voe=yoe(Object.getPrototypeOf,Object),Vqe=Object.prototype;function D2(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Vqe;return e===r}function Kqe(e){return typeof e.constructor=="function"&&!D2(e)?Wqe(voe(e)):{}}function M0(e){return e!=null&&typeof e=="object"}var Yqe="[object Arguments]";function qz(e){return M0(e)&&vp(e)==Yqe}var Foe=Object.prototype,Xqe=Foe.hasOwnProperty,Jqe=Foe.propertyIsEnumerable,$y=qz(function(){return arguments}())?qz:function(e){return M0(e)&&Xqe.call(e,"callee")&&!Jqe.call(e,"callee")},jy=Array.isArray,Zqe=9007199254740991;function Eoe(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Zqe}function R2(e){return e!=null&&Eoe(e.length)&&!EN(e)}function Qqe(e){return M0(e)&&R2(e)}function eWe(){return!1}var Soe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Wz=Soe&&typeof module=="object"&&module&&!module.nodeType&&module,tWe=Wz&&Wz.exports===Soe,Vz=tWe?ys.Buffer:void 0,rWe=Vz?Vz.isBuffer:void 0,xN=rWe||eWe,nWe="[object Object]",aWe=Function.prototype,iWe=Object.prototype,xoe=aWe.toString,oWe=iWe.hasOwnProperty,sWe=xoe.call(Object);function lWe(e){if(!M0(e)||vp(e)!=nWe)return!1;var t=voe(e);if(t===null)return!0;var r=oWe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&xoe.call(r)==sWe}var uWe="[object Arguments]",cWe="[object Array]",dWe="[object Boolean]",hWe="[object Date]",pWe="[object Error]",fWe="[object Function]",mWe="[object Map]",gWe="[object Number]",bWe="[object Object]",yWe="[object RegExp]",vWe="[object Set]",FWe="[object String]",EWe="[object WeakMap]",SWe="[object ArrayBuffer]",xWe="[object DataView]",wWe="[object Float32Array]",kWe="[object Float64Array]",CWe="[object Int8Array]",TWe="[object Int16Array]",AWe="[object Int32Array]",_We="[object Uint8Array]",DWe="[object Uint8ClampedArray]",RWe="[object Uint16Array]",NWe="[object Uint32Array]",nn={};nn[wWe]=nn[kWe]=nn[CWe]=nn[TWe]=nn[AWe]=nn[_We]=nn[DWe]=nn[RWe]=nn[NWe]=!0;nn[uWe]=nn[cWe]=nn[SWe]=nn[dWe]=nn[xWe]=nn[hWe]=nn[pWe]=nn[fWe]=nn[mWe]=nn[gWe]=nn[bWe]=nn[yWe]=nn[vWe]=nn[FWe]=nn[EWe]=!1;function LWe(e){return M0(e)&&Eoe(e.length)&&!!nn[vp(e)]}function MWe(e){return function(t){return e(t)}}var woe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Sm=woe&&typeof module=="object"&&module&&!module.nodeType&&module,IWe=Sm&&Sm.exports===woe,mw=IWe&&moe.process,Kz=function(){try{var e=Sm&&Sm.require&&Sm.require("util").types;return e||mw&&mw.binding&&mw.binding("util")}catch{}}(),Yz=Kz&&Kz.isTypedArray,wN=Yz?MWe(Yz):LWe;function f6(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var OWe=Object.prototype,BWe=OWe.hasOwnProperty;function PWe(e,t,r){var n=e[t];(!(BWe.call(e,t)&&T2(n,r))||r===void 0&&!(t in e))&&SN(e,t,r)}function zWe(e,t,r,n){var a=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var s=t[i],l=void 0;l===void 0&&(l=e[s]),a?SN(r,s,l):PWe(r,s,l)}return r}function HWe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var UWe=9007199254740991,GWe=/^(?:0|[1-9]\d*)$/;function koe(e,t){var r=typeof e;return t=t??UWe,!!t&&(r=="number"||r!="symbol"&&GWe.test(e))&&e>-1&&e%1==0&&e<t}var $We=Object.prototype,jWe=$We.hasOwnProperty;function qWe(e,t){var r=jy(e),n=!r&&$y(e),a=!r&&!n&&xN(e),i=!r&&!n&&!a&&wN(e),o=r||n||a||i,s=o?HWe(e.length,String):[],l=s.length;for(var u in e)(t||jWe.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||koe(u,l)))&&s.push(u);return s}function WWe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var VWe=Object.prototype,KWe=VWe.hasOwnProperty;function YWe(e){if(!Zc(e))return WWe(e);var t=D2(e),r=[];for(var n in e)n=="constructor"&&(t||!KWe.call(e,n))||r.push(n);return r}function Coe(e){return R2(e)?qWe(e,!0):YWe(e)}function XWe(e){return zWe(e,Coe(e))}function JWe(e,t,r,n,a,i,o){var s=f6(e,r),l=f6(t,r),u=o.get(l);if(u){p6(e,r,u);return}var d=i?i(s,l,r+"",e,t,o):void 0,h=d===void 0;if(h){var f=jy(l),m=!f&&xN(l),b=!f&&!m&&wN(l);d=l,f||m||b?jy(s)?d=s:Qqe(s)?d=qqe(s):m?(h=!1,d=Gqe(l,!0)):b?(h=!1,d=jqe(l,!0)):d=[]:lWe(l)||$y(l)?(d=s,$y(s)?d=XWe(s):(!Zc(s)||EN(s))&&(d=Kqe(l))):h=!1}h&&(o.set(l,d),a(d,l,n,i,o),o.delete(l)),p6(e,r,d)}function Toe(e,t,r,n,a){e!==t&&Hqe(t,function(i,o){if(a||(a=new Fp),Zc(i))JWe(e,t,o,r,Toe,n,a);else{var s=n?n(f6(e,o),i,o+"",e,t,a):void 0;s===void 0&&(s=i),p6(e,o,s)}},Coe)}function Aoe(e){return e}function ZWe(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Xz=Math.max;function QWe(e,t,r){return t=Xz(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Xz(n.length-t,0),o=Array(i);++a<i;)o[a]=n[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=n[a];return s[t]=r(o),ZWe(e,this,s)}}function eVe(e){return function(){return e}}var tVe=Gy?function(e,t){return Gy(e,"toString",{configurable:!0,enumerable:!1,value:eVe(t),writable:!0})}:Aoe,rVe=800,nVe=16,aVe=Date.now;function iVe(e){var t=0,r=0;return function(){var n=aVe(),a=nVe-(n-r);if(r=n,a>0){if(++t>=rVe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var oVe=iVe(tVe);function sVe(e,t){return oVe(QWe(e,t,Aoe),e+"")}function lVe(e,t,r){if(!Zc(r))return!1;var n=typeof t;return(n=="number"?R2(r)&&koe(t,r.length):n=="string"&&t in r)?T2(r[t],e):!1}function uVe(e){return sVe(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,o=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,o&&lVe(r[0],r[1],o)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var s=r[n];s&&e(t,s,n,i)}return t})}var cVe=uVe(function(e,t,r){Toe(e,t,r)}),dVe="",hVe={curveBasis:Db,curveBasisClosed:_je,curveBasisOpen:Dje,curveBumpX:Yie,curveBumpY:Xie,curveBundle:Rje,curveCardinalClosed:Nje,curveCardinalOpen:Lje,curveCardinal:eoe,curveCatmullRomClosed:Mje,curveCatmullRomOpen:Ije,curveCatmullRom:roe,curveLinear:By,curveLinearClosed:Oje,curveMonotoneX:loe,curveMonotoneY:uoe,curveNatural:doe,curveStep:hoe,curveStepAfter:foe,curveStepBefore:poe},pVe=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,fVe=H(function(e,t){const r=_oe(e,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const o=r.map(s=>s.args);Ey(o),n=ga(n,[...o])}else n=r.args;if(!n)return;let a=Y5(e,t);const i="config";return n[i]!==void 0&&(a==="flowchart-v2"&&(a="flowchart"),n[a]=n[i],delete n[i]),n},"detectInit"),_oe=H(function(e,t=null){var r,n;try{const a=new RegExp(`[%]{2}(?![{]${pVe.source})(?=[}][%]{2}).*
|
||
`,"ig");e=e.trim().replace(a,"").replace(/'/gm,'"'),je.debug(`Detecting diagram directive${t!==null?" type:"+t:""} based on the text:${e}`);let i;const o=[];for(;(i=Fm.exec(e))!==null;)if(i.index===Fm.lastIndex&&Fm.lastIndex++,i&&!t||t&&((r=i[1])!=null&&r.match(t))||t&&((n=i[2])!=null&&n.match(t))){const s=i[1]?i[1]:i[2],l=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;o.push({type:s,args:l})}return o.length===0?{type:e,args:null}:o.length===1?o[0]:o}catch(a){return je.error(`ERROR: ${a.message} - Unable to parse directive type: '${t}' based on the text: '${e}'`),{type:void 0,args:null}}},"detectDirective"),mVe=H(function(e){return e.replace(Fm,"")},"removeDirectives"),gVe=H(function(e,t){for(const[r,n]of t.entries())if(n.match(e))return r;return-1},"isSubstringInArray");function kN(e,t){if(!e)return t;const r=`curve${e.charAt(0).toUpperCase()+e.slice(1)}`;return hVe[r]??t}H(kN,"interpolateToCurve");function Doe(e,t){const r=e.trim();if(r)return t.securityLevel!=="loose"?oUe.sanitizeUrl(r):r}H(Doe,"formatUrl");var bVe=H((e,...t)=>{const r=e.split("."),n=r.length-1,a=r[n];let i=window;for(let o=0;o<n;o++)if(i=i[r[o]],!i){je.error(`Function name: ${e} not found in window`);return}i[a](...t)},"runFunc");function CN(e,t){return!e||!t?0:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}H(CN,"distance");function Roe(e){let t,r=0;e.forEach(a=>{r+=CN(a,t),t=a});const n=r/2;return TN(e,n)}H(Roe,"traverseEdge");function Noe(e){return e.length===1?e[0]:Roe(e)}H(Noe,"calcLabelPosition");var Jz=H((e,t=2)=>{const r=Math.pow(10,t);return Math.round(e*r)/r},"roundNumber"),TN=H((e,t)=>{let r,n=t;for(const a of e){if(r){const i=CN(a,r);if(i===0)return r;if(i<n)n-=i;else{const o=n/i;if(o<=0)return r;if(o>=1)return{x:a.x,y:a.y};if(o>0&&o<1)return{x:Jz((1-o)*r.x+o*a.x,5),y:Jz((1-o)*r.y+o*a.y,5)}}}r=a}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),yVe=H((e,t,r)=>{je.info(`our points ${JSON.stringify(t)}`),t[0]!==r&&(t=t.reverse());const a=TN(t,25),i=e?10:5,o=Math.atan2(t[0].y-a.y,t[0].x-a.x),s={x:0,y:0};return s.x=Math.sin(o)*i+(t[0].x+a.x)/2,s.y=-Math.cos(o)*i+(t[0].y+a.y)/2,s},"calcCardinalityPosition");function Loe(e,t,r){const n=structuredClone(r);je.info("our points",n),t!=="start_left"&&t!=="start_right"&&n.reverse();const a=25+e,i=TN(n,a),o=10+e*.5,s=Math.atan2(n[0].y-i.y,n[0].x-i.x),l={x:0,y:0};return t==="start_left"?(l.x=Math.sin(s+Math.PI)*o+(n[0].x+i.x)/2,l.y=-Math.cos(s+Math.PI)*o+(n[0].y+i.y)/2):t==="end_right"?(l.x=Math.sin(s-Math.PI)*o+(n[0].x+i.x)/2-5,l.y=-Math.cos(s-Math.PI)*o+(n[0].y+i.y)/2-5):t==="end_left"?(l.x=Math.sin(s)*o+(n[0].x+i.x)/2-5,l.y=-Math.cos(s)*o+(n[0].y+i.y)/2-5):(l.x=Math.sin(s)*o+(n[0].x+i.x)/2,l.y=-Math.cos(s)*o+(n[0].y+i.y)/2),l}H(Loe,"calcTerminalLabelPosition");function Moe(e){let t="",r="";for(const n of e)n!==void 0&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":t=t+n+";");return{style:t,labelStyle:r}}H(Moe,"getStylesFromArray");var Zz=0,vVe=H(()=>(Zz++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Zz),"generateId");function Ioe(e){let t="";const r="0123456789abcdef",n=r.length;for(let a=0;a<e;a++)t+=r.charAt(Math.floor(Math.random()*n));return t}H(Ioe,"makeRandomHex");var FVe=H(e=>Ioe(e.length),"random"),EVe=H(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),SVe=H(function(e,t){const r=t.text.replace(bp.lineBreakRegex," "),[,n]=N2(t.fontSize),a=e.append("text");a.attr("x",t.x),a.attr("y",t.y),a.style("text-anchor",t.anchor),a.style("font-family",t.fontFamily),a.style("font-size",n),a.style("font-weight",t.fontWeight),a.attr("fill",t.fill),t.class!==void 0&&a.attr("class",t.class);const i=a.append("tspan");return i.attr("x",t.x+t.textMargin*2),i.attr("fill",t.fill),i.text(r),a},"drawSimpleText"),xVe=L0((e,t,r)=>{if(!e||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),bp.lineBreakRegex.test(e)))return e;const n=e.split(" ").filter(Boolean),a=[];let i="";return n.forEach((o,s)=>{const l=fl(`${o} `,r),u=fl(i,r);if(l>t){const{hyphenatedStrings:f,remainingWord:m}=wVe(o,t,"-",r);a.push(i,...f),i=m}else u+l>=t?(a.push(i),i=o):i=[i,o].filter(Boolean).join(" ");s+1===n.length&&a.push(i)}),a.filter(o=>o!=="").join(r.joinWith)},(e,t,r)=>`${e}${t}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),wVe=L0((e,t,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);const a=[...e],i=[];let o="";return a.forEach((s,l)=>{const u=`${o}${s}`;if(fl(u,n)>=t){const h=l+1,f=a.length===h,m=`${u}${r}`;i.push(f?u:m),o=""}else o=u}),{hyphenatedStrings:i,remainingWord:o}},(e,t,r="-",n)=>`${e}${t}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function Ooe(e,t){return AN(e,t).height}H(Ooe,"calculateTextHeight");function fl(e,t){return AN(e,t).width}H(fl,"calculateTextWidth");var AN=L0((e,t)=>{const{fontSize:r=12,fontFamily:n="Arial",fontWeight:a=400}=t;if(!e)return{width:0,height:0};const[,i]=N2(r),o=["sans-serif",n],s=e.split(bp.lineBreakRegex),l=[],u=Rr("body");if(!u.remove)return{width:0,height:0,lineHeight:0};const d=u.append("svg");for(const f of o){let m=0;const b={width:0,height:0,lineHeight:0};for(const y of s){const F=EVe();F.text=y||dVe;const x=SVe(d,F).style("font-size",i).style("font-weight",a).style("font-family",f),E=(x._groups||x)[0][0].getBBox();if(E.width===0&&E.height===0)throw new Error("svg element not in render tree");b.width=Math.round(Math.max(b.width,E.width)),m=Math.round(E.height),b.height+=m,b.lineHeight=Math.round(Math.max(b.lineHeight,m))}l.push(b)}d.remove();const h=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[h]},(e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),Fh,kVe=(Fh=class{constructor(t=!1,r){this.count=0,this.count=r?r.length:0,this.next=t?()=>this.count++:()=>Date.now()}},H(Fh,"InitIDGenerator"),Fh),j1,CVe=H(function(e){return j1=j1||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),j1.innerHTML=e,unescape(j1.textContent)},"entityDecode");function _N(e){return"str"in e}H(_N,"isDetailedError");var TVe=H((e,t,r,n)=>{var i;if(!n)return;const a=(i=e.node())==null?void 0:i.getBBox();a&&e.append("text").text(n).attr("text-anchor","middle").attr("x",a.x+a.width/2).attr("y",-r).attr("class",t)},"insertTitle"),N2=H(e=>{if(typeof e=="number")return[e,e+"px"];const t=parseInt(e??"",10);return Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+"px"]:[t,e]},"parseFontSize");function DN(e,t){return cVe({},e,t)}H(DN,"cleanAndMerge");var Qo={assignWithDepth:ga,wrapLabel:xVe,calculateTextHeight:Ooe,calculateTextWidth:fl,calculateTextDimensions:AN,cleanAndMerge:DN,detectInit:fVe,detectDirective:_oe,isSubstringInArray:gVe,interpolateToCurve:kN,calcLabelPosition:Noe,calcCardinalityPosition:yVe,calcTerminalLabelPosition:Loe,formatUrl:Doe,getStylesFromArray:Moe,generateId:vVe,random:FVe,runFunc:bVe,entityDecode:CVe,insertTitle:TVe,parseFontSize:N2,InitIDGenerator:kVe},AVe=H(function(e){let t=e;return t=t.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),t=t.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),t=t.replace(/#\w+;/g,function(r){const n=r.substring(1,r.length-1);return/^\+?\d+$/.test(n)?"fl°°"+n+"¶ß":"fl°"+n+"¶ß"}),t},"encodeEntities"),td=H(function(e){return e.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Vct=H((e,t,{counter:r=0,prefix:n,suffix:a},i)=>i||`${n?`${n}_`:""}${e}_${t}_${r}${a?`_${a}`:""}`,"getEdgeId");function $a(e){return e??null}H($a,"handleUndefinedAttr");const _Ve=Object.freeze({left:0,top:0,width:16,height:16}),qy=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Boe=Object.freeze({..._Ve,...qy}),DVe=Object.freeze({...Boe,body:"",hidden:!1}),RVe=Object.freeze({width:null,height:null}),NVe=Object.freeze({...RVe,...qy}),LVe=(e,t,r,n="")=>{const a=e.split(":");if(e.slice(0,1)==="@"){if(a.length<2||a.length>3)return null;n=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){const s=a.pop(),l=a.pop(),u={provider:a.length>0?a[0]:n,prefix:l,name:s};return gw(u)?u:null}const i=a[0],o=i.split("-");if(o.length>1){const s={provider:n,prefix:o.shift(),name:o.join("-")};return gw(s)?s:null}if(r&&n===""){const s={provider:n,prefix:"",name:i};return gw(s,r)?s:null}return null},gw=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function MVe(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function Qz(e,t){const r=MVe(e,t);for(const n in DVe)n in qy?n in e&&!(n in r)&&(r[n]=qy[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function IVe(e,t){const r=e.icons,n=e.aliases||Object.create(null),a=Object.create(null);function i(o){if(r[o])return a[o]=[];if(!(o in a)){a[o]=null;const s=n[o]&&n[o].parent,l=s&&i(s);l&&(a[o]=[s].concat(l))}return a[o]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),a}function eH(e,t,r){const n=e.icons,a=e.aliases||Object.create(null);let i={};function o(s){i=Qz(n[s]||a[s],i)}return o(t),r.forEach(o),Qz(e,i)}function OVe(e,t){if(e.icons[t])return eH(e,t,[]);const r=IVe(e,[t])[t];return r?eH(e,t,r):null}const BVe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,PVe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function tH(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(BVe);if(n===null||!n.length)return e;const a=[];let i=n.shift(),o=PVe.test(i);for(;;){if(o){const s=parseFloat(i);isNaN(s)?a.push(i):a.push(Math.ceil(s*t*r)/r)}else a.push(i);if(i=n.shift(),i===void 0)return a.join("");o=!o}}function zVe(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const a=e.indexOf(">",n),i=e.indexOf("</"+t);if(a===-1||i===-1)break;const o=e.indexOf(">",i);if(o===-1)break;r+=e.slice(a+1,i).trim(),e=e.slice(0,n).trim()+e.slice(o+1)}return{defs:r,content:e}}function HVe(e,t){return e?"<defs>"+e+"</defs>"+t:t}function UVe(e,t,r){const n=zVe(e);return HVe(n.defs,t+n.content+r)}const GVe=e=>e==="unset"||e==="undefined"||e==="none";function $Ve(e,t){const r={...Boe,...e},n={...NVe,...t},a={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(y=>{const F=[],x=y.hFlip,E=y.vFlip;let C=y.rotate;x?E?C+=2:(F.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),F.push("scale(-1 1)"),a.top=a.left=0):E&&(F.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),F.push("scale(1 -1)"),a.top=a.left=0);let _;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:_=a.height/2+a.top,F.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:F.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:_=a.width/2+a.left,F.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}C%2===1&&(a.left!==a.top&&(_=a.left,a.left=a.top,a.top=_),a.width!==a.height&&(_=a.width,a.width=a.height,a.height=_)),F.length&&(i=UVe(i,'<g transform="'+F.join(" ")+'">',"</g>"))});const o=n.width,s=n.height,l=a.width,u=a.height;let d,h;o===null?(h=s===null?"1em":s==="auto"?u:s,d=tH(h,l/u)):(d=o==="auto"?l:o,h=s===null?tH(d,u/l):s==="auto"?u:s);const f={},m=(y,F)=>{GVe(F)||(f[y]=F.toString())};m("width",d),m("height",h);const b=[a.left,a.top,l,u];return f.viewBox=b.join(" "),{attributes:f,viewBox:b,body:i}}const jVe=/\sid="(\S+)"/g,qVe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let WVe=0;function VVe(e,t=qVe){const r=[];let n;for(;n=jVe.exec(e);)r.push(n[1]);if(!r.length)return e;const a="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const o=typeof t=="function"?t(i):t+(WVe++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+o+a+"$3")}),e=e.replace(new RegExp(a,"g"),""),e}function KVe(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function RN(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var rd=RN();function Poe(e){rd=e}var xm={exec:()=>null};function Ur(e,t=""){let r=typeof e=="string"?e:e.source,n={replace:(a,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(Ga.caret,"$1"),r=r.replace(a,o),n},getRegex:()=>new RegExp(r,t)};return n}var Ga={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},YVe=/^(?:[ \t]*(?:\n|$))+/,XVe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,JVe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,I0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ZVe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,NN=/(?:[*+-]|\d{1,9}[.)])/,zoe=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Hoe=Ur(zoe).replace(/bull/g,NN).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),QVe=Ur(zoe).replace(/bull/g,NN).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),LN=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,eKe=/^[^\n]+/,MN=/(?!\s*\])(?:\\.|[^\[\]\\])+/,tKe=Ur(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",MN).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),rKe=Ur(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,NN).getRegex(),L2="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",IN=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,nKe=Ur("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",IN).replace("tag",L2).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Uoe=Ur(LN).replace("hr",I0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",L2).getRegex(),aKe=Ur(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Uoe).getRegex(),ON={blockquote:aKe,code:XVe,def:tKe,fences:JVe,heading:ZVe,hr:I0,html:nKe,lheading:Hoe,list:rKe,newline:YVe,paragraph:Uoe,table:xm,text:eKe},rH=Ur("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",I0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",L2).getRegex(),iKe={...ON,lheading:QVe,table:rH,paragraph:Ur(LN).replace("hr",I0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",rH).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",L2).getRegex()},oKe={...ON,html:Ur(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",IN).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:xm,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ur(LN).replace("hr",I0).replace("heading",` *#{1,6} *[^
|
||
]`).replace("lheading",Hoe).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},sKe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,lKe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Goe=/^( {2,}|\\)\n(?!\s*$)/,uKe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,M2=/[\p{P}\p{S}]/u,BN=/[\s\p{P}\p{S}]/u,$oe=/[^\s\p{P}\p{S}]/u,cKe=Ur(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,BN).getRegex(),joe=/(?!~)[\p{P}\p{S}]/u,dKe=/(?!~)[\s\p{P}\p{S}]/u,hKe=/(?:[^\s\p{P}\p{S}]|~)/u,pKe=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,qoe=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,fKe=Ur(qoe,"u").replace(/punct/g,M2).getRegex(),mKe=Ur(qoe,"u").replace(/punct/g,joe).getRegex(),Woe="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",gKe=Ur(Woe,"gu").replace(/notPunctSpace/g,$oe).replace(/punctSpace/g,BN).replace(/punct/g,M2).getRegex(),bKe=Ur(Woe,"gu").replace(/notPunctSpace/g,hKe).replace(/punctSpace/g,dKe).replace(/punct/g,joe).getRegex(),yKe=Ur("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,$oe).replace(/punctSpace/g,BN).replace(/punct/g,M2).getRegex(),vKe=Ur(/\\(punct)/,"gu").replace(/punct/g,M2).getRegex(),FKe=Ur(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),EKe=Ur(IN).replace("(?:-->|$)","-->").getRegex(),SKe=Ur("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",EKe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Wy=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,xKe=Ur(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Wy).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Voe=Ur(/^!?\[(label)\]\[(ref)\]/).replace("label",Wy).replace("ref",MN).getRegex(),Koe=Ur(/^!?\[(ref)\](?:\[\])?/).replace("ref",MN).getRegex(),wKe=Ur("reflink|nolink(?!\\()","g").replace("reflink",Voe).replace("nolink",Koe).getRegex(),PN={_backpedal:xm,anyPunctuation:vKe,autolink:FKe,blockSkip:pKe,br:Goe,code:lKe,del:xm,emStrongLDelim:fKe,emStrongRDelimAst:gKe,emStrongRDelimUnd:yKe,escape:sKe,link:xKe,nolink:Koe,punctuation:cKe,reflink:Voe,reflinkSearch:wKe,tag:SKe,text:uKe,url:xm},kKe={...PN,link:Ur(/^!?\[(label)\]\((.*?)\)/).replace("label",Wy).getRegex(),reflink:Ur(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Wy).getRegex()},m6={...PN,emStrongRDelimAst:bKe,emStrongLDelim:mKe,url:Ur(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},CKe={...m6,br:Ur(Goe).replace("{2,}","*").getRegex(),text:Ur(m6.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},q1={normal:ON,gfm:iKe,pedantic:oKe},$f={normal:PN,gfm:m6,breaks:CKe,pedantic:kKe},TKe={"&":"&","<":"<",">":">",'"':""","'":"'"},nH=e=>TKe[e];function qo(e,t){if(t){if(Ga.escapeTest.test(e))return e.replace(Ga.escapeReplace,nH)}else if(Ga.escapeTestNoEncode.test(e))return e.replace(Ga.escapeReplaceNoEncode,nH);return e}function aH(e){try{e=encodeURI(e).replace(Ga.percentDecode,"%")}catch{return null}return e}function iH(e,t){var i;let r=e.replace(Ga.findPipe,(o,s,l)=>{let u=!1,d=s;for(;--d>=0&&l[d]==="\\";)u=!u;return u?"|":" |"}),n=r.split(Ga.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!((i=n.at(-1))!=null&&i.trim())&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Ga.slashPipe,"|");return n}function jf(e,t,r){let n=e.length;if(n===0)return"";let a=0;for(;a<n&&e.charAt(n-a-1)===t;)a++;return e.slice(0,n-a)}function AKe(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}function oH(e,t,r,n,a){let i=t.href,o=t.title||null,s=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}function _Ke(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(n===null)return t;let a=n[1];return t.split(`
|
||
`).map(i=>{let o=i.match(r.other.beginningSpace);if(o===null)return i;let[s]=o;return s.length>=a.length?i.slice(a.length):i}).join(`
|
||
`)}var Vy=class{constructor(t){gt(this,"options");gt(this,"rules");gt(this,"lexer");this.options=t||rd}space(t){let r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){let r=this.rules.block.code.exec(t);if(r){let n=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:jf(n,`
|
||
`)}}}fences(t){let r=this.rules.block.fences.exec(t);if(r){let n=r[0],a=_Ke(n,r[3]||"",this.rules);return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:a}}}heading(t){let r=this.rules.block.heading.exec(t);if(r){let n=r[2].trim();if(this.rules.other.endingHash.test(n)){let a=jf(n,"#");(this.options.pedantic||!a||this.rules.other.endingSpaceChar.test(a))&&(n=a.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){let r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:jf(r[0],`
|
||
`)}}blockquote(t){let r=this.rules.block.blockquote.exec(t);if(r){let n=jf(r[0],`
|
||
`).split(`
|
||
`),a="",i="",o=[];for(;n.length>0;){let s=!1,l=[],u;for(u=0;u<n.length;u++)if(this.rules.other.blockquoteStart.test(n[u]))l.push(n[u]),s=!0;else if(!s)l.push(n[u]);else break;n=n.slice(u);let d=l.join(`
|
||
`),h=d.replace(this.rules.other.blockquoteSetextReplace,`
|
||
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");a=a?`${a}
|
||
${d}`:d,i=i?`${i}
|
||
${h}`:h;let f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,o,!0),this.lexer.state.top=f,n.length===0)break;let m=o.at(-1);if((m==null?void 0:m.type)==="code")break;if((m==null?void 0:m.type)==="blockquote"){let b=m,y=b.raw+`
|
||
`+n.join(`
|
||
`),F=this.blockquote(y);o[o.length-1]=F,a=a.substring(0,a.length-b.raw.length)+F.raw,i=i.substring(0,i.length-b.text.length)+F.text;break}else if((m==null?void 0:m.type)==="list"){let b=m,y=b.raw+`
|
||
`+n.join(`
|
||
`),F=this.list(y);o[o.length-1]=F,a=a.substring(0,a.length-m.raw.length)+F.raw,i=i.substring(0,i.length-b.raw.length)+F.raw,n=y.substring(o.at(-1).raw.length).split(`
|
||
`);continue}}return{type:"blockquote",raw:a,tokens:o,text:i}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim(),a=n.length>1,i={type:"list",raw:"",ordered:a,start:a?+n.slice(0,-1):"",loose:!1,items:[]};n=a?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=a?n:"[*+-]");let o=this.rules.other.listItemRegex(n),s=!1;for(;t;){let u=!1,d="",h="";if(!(r=o.exec(t))||this.rules.block.hr.test(t))break;d=r[0],t=t.substring(d.length);let f=r[2].split(`
|
||
`,1)[0].replace(this.rules.other.listReplaceTabs,E=>" ".repeat(3*E.length)),m=t.split(`
|
||
`,1)[0],b=!f.trim(),y=0;if(this.options.pedantic?(y=2,h=f.trimStart()):b?y=r[1].length+1:(y=r[2].search(this.rules.other.nonSpaceChar),y=y>4?1:y,h=f.slice(y),y+=r[1].length),b&&this.rules.other.blankLine.test(m)&&(d+=m+`
|
||
`,t=t.substring(m.length+1),u=!0),!u){let E=this.rules.other.nextBulletRegex(y),C=this.rules.other.hrRegex(y),_=this.rules.other.fencesBeginRegex(y),D=this.rules.other.headingBeginRegex(y),w=this.rules.other.htmlBeginRegex(y);for(;t;){let A=t.split(`
|
||
`,1)[0],I;if(m=A,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),I=m):I=m.replace(this.rules.other.tabCharGlobal," "),_.test(m)||D.test(m)||w.test(m)||E.test(m)||C.test(m))break;if(I.search(this.rules.other.nonSpaceChar)>=y||!m.trim())h+=`
|
||
`+I.slice(y);else{if(b||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||_.test(f)||D.test(f)||C.test(f))break;h+=`
|
||
`+m}!b&&!m.trim()&&(b=!0),d+=A+`
|
||
`,t=t.substring(A.length+1),f=I.slice(y)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(s=!0));let F=null,x;this.options.gfm&&(F=this.rules.other.listIsTask.exec(h),F&&(x=F[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:d,task:!!F,checked:x,loose:!1,text:h,tokens:[]}),i.raw+=d}let l=i.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let u=0;u<i.items.length;u++)if(this.lexer.state.top=!1,i.items[u].tokens=this.lexer.blockTokens(i.items[u].text,[]),!i.loose){let d=i.items[u].tokens.filter(f=>f.type==="space"),h=d.length>0&&d.some(f=>this.rules.other.anyLine.test(f.raw));i.loose=h}if(i.loose)for(let u=0;u<i.items.length;u++)i.items[u].loose=!0;return i}}html(t){let r=this.rules.block.html.exec(t);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(t){let r=this.rules.block.def.exec(t);if(r){let n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),a=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:a,title:i}}}table(t){var s;let r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let n=iH(r[1]),a=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=(s=r[3])!=null&&s.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
||
`):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===a.length){for(let l of a)this.rules.other.tableAlignRight.test(l)?o.align.push("right"):this.rules.other.tableAlignCenter.test(l)?o.align.push("center"):this.rules.other.tableAlignLeft.test(l)?o.align.push("left"):o.align.push(null);for(let l=0;l<n.length;l++)o.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:o.align[l]});for(let l of i)o.rows.push(iH(l,o.header.length).map((u,d)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:o.align[d]})));return o}}lheading(t){let r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){let r=this.rules.block.paragraph.exec(t);if(r){let n=r[1].charAt(r[1].length-1)===`
|
||
`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(t){let r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){let r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(t){let r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(t){let r=this.rules.inline.link.exec(t);if(r){let n=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let o=jf(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{let o=AKe(r[2],"()");if(o===-2)return;if(o>-1){let s=(r[0].indexOf("!")===0?5:4)+r[1].length+o;r[2]=r[2].substring(0,o),r[0]=r[0].substring(0,s).trim(),r[3]=""}}let a=r[2],i="";if(this.options.pedantic){let o=this.rules.other.pedanticHrefTitle.exec(a);o&&(a=o[1],i=o[3])}else i=r[3]?r[3].slice(1,-1):"";return a=a.trim(),this.rules.other.startAngleBracket.test(a)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?a=a.slice(1):a=a.slice(1,-1)),oH(r,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let a=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=r[a.toLowerCase()];if(!i){let o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return oH(n,i,n[0],this.lexer,this.rules)}}emStrong(t,r,n=""){let a=this.rules.inline.emStrongLDelim.exec(t);if(!(!a||a[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(a[1]||a[2])||!n||this.rules.inline.punctuation.exec(n))){let i=[...a[0]].length-1,o,s,l=i,u=0,d=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,r=r.slice(-1*t.length+i);(a=d.exec(r))!=null;){if(o=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!o)continue;if(s=[...o].length,a[3]||a[4]){l+=s;continue}else if((a[5]||a[6])&&i%3&&!((i+s)%3)){u+=s;continue}if(l-=s,l>0)continue;s=Math.min(s,s+l+u);let h=[...a[0]][0].length,f=t.slice(0,i+a.index+h+s);if(Math.min(i,s)%2){let b=f.slice(1,-1);return{type:"em",raw:f,text:b,tokens:this.lexer.inlineTokens(b)}}let m=f.slice(2,-2);return{type:"strong",raw:f,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(t){let r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," "),a=this.rules.other.nonSpaceChar.test(n),i=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return a&&i&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(t){let r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){let r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){let r=this.rules.inline.autolink.exec(t);if(r){let n,a;return r[2]==="@"?(n=r[1],a="mailto:"+n):(n=r[1],a=n),{type:"link",raw:r[0],text:n,href:a,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let r;if(r=this.rules.inline.url.exec(t)){let a,i;if(r[2]==="@")a=r[0],i="mailto:"+a;else{let o;do o=r[0],r[0]=((n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])??"";while(o!==r[0]);a=r[0],r[1]==="www."?i="http://"+r[0]:i=r[0]}return{type:"link",raw:r[0],text:a,href:i,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(t){let r=this.rules.inline.text.exec(t);if(r){let n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}},Zs=class g6{constructor(t){gt(this,"tokens");gt(this,"options");gt(this,"state");gt(this,"tokenizer");gt(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||rd,this.options.tokenizer=this.options.tokenizer||new Vy,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:Ga,block:q1.normal,inline:$f.normal};this.options.pedantic?(r.block=q1.pedantic,r.inline=$f.pedantic):this.options.gfm&&(r.block=q1.gfm,this.options.breaks?r.inline=$f.breaks:r.inline=$f.gfm),this.tokenizer.rules=r}static get rules(){return{block:q1,inline:$f}}static lex(t,r){return new g6(r).lex(t)}static lexInline(t,r){return new g6(r).inlineTokens(t)}lex(t){t=t.replace(Ga.carriageReturn,`
|
||
`),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){var a,i,o;for(this.options.pedantic&&(t=t.replace(Ga.tabCharGlobal," ").replace(Ga.spaceLine,""));t;){let s;if((i=(a=this.options.extensions)==null?void 0:a.block)!=null&&i.some(u=>(s=u.call({lexer:this},t,r))?(t=t.substring(s.raw.length),r.push(s),!0):!1))continue;if(s=this.tokenizer.space(t)){t=t.substring(s.raw.length);let u=r.at(-1);s.raw.length===1&&u!==void 0?u.raw+=`
|
||
`:r.push(s);continue}if(s=this.tokenizer.code(t)){t=t.substring(s.raw.length);let u=r.at(-1);(u==null?void 0:u.type)==="paragraph"||(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(`
|
||
`)?"":`
|
||
`)+s.raw,u.text+=`
|
||
`+s.text,this.inlineQueue.at(-1).src=u.text):r.push(s);continue}if(s=this.tokenizer.fences(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.heading(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.hr(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.blockquote(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.list(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.html(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.def(t)){t=t.substring(s.raw.length);let u=r.at(-1);(u==null?void 0:u.type)==="paragraph"||(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(`
|
||
`)?"":`
|
||
`)+s.raw,u.text+=`
|
||
`+s.raw,this.inlineQueue.at(-1).src=u.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.lheading(t)){t=t.substring(s.raw.length),r.push(s);continue}let l=t;if((o=this.options.extensions)!=null&&o.startBlock){let u=1/0,d=t.slice(1),h;this.options.extensions.startBlock.forEach(f=>{h=f.call({lexer:this},d),typeof h=="number"&&h>=0&&(u=Math.min(u,h))}),u<1/0&&u>=0&&(l=t.substring(0,u+1))}if(this.state.top&&(s=this.tokenizer.paragraph(l))){let u=r.at(-1);n&&(u==null?void 0:u.type)==="paragraph"?(u.raw+=(u.raw.endsWith(`
|
||
`)?"":`
|
||
`)+s.raw,u.text+=`
|
||
`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=u.text):r.push(s),n=l.length!==t.length,t=t.substring(s.raw.length);continue}if(s=this.tokenizer.text(t)){t=t.substring(s.raw.length);let u=r.at(-1);(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(`
|
||
`)?"":`
|
||
`)+s.raw,u.text+=`
|
||
`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=u.text):r.push(s);continue}if(t){let u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var s,l,u;let n=t,a=null;if(this.tokens.links){let d=Object.keys(this.tokens.links);if(d.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)d.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(a=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let i=!1,o="";for(;t;){i||(o=""),i=!1;let d;if((l=(s=this.options.extensions)==null?void 0:s.inline)!=null&&l.some(f=>(d=f.call({lexer:this},t,r))?(t=t.substring(d.raw.length),r.push(d),!0):!1))continue;if(d=this.tokenizer.escape(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.tag(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.link(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(d.raw.length);let f=r.at(-1);d.type==="text"&&(f==null?void 0:f.type)==="text"?(f.raw+=d.raw,f.text+=d.text):r.push(d);continue}if(d=this.tokenizer.emStrong(t,n,o)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.codespan(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.br(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.del(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.autolink(t)){t=t.substring(d.raw.length),r.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(t))){t=t.substring(d.raw.length),r.push(d);continue}let h=t;if((u=this.options.extensions)!=null&&u.startInline){let f=1/0,m=t.slice(1),b;this.options.extensions.startInline.forEach(y=>{b=y.call({lexer:this},m),typeof b=="number"&&b>=0&&(f=Math.min(f,b))}),f<1/0&&f>=0&&(h=t.substring(0,f+1))}if(d=this.tokenizer.inlineText(h)){t=t.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(o=d.raw.slice(-1)),i=!0;let f=r.at(-1);(f==null?void 0:f.type)==="text"?(f.raw+=d.raw,f.text+=d.text):r.push(d);continue}if(t){let f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return r}},Ky=class{constructor(t){gt(this,"options");gt(this,"parser");this.options=t||rd}space(t){return""}code({text:t,lang:r,escaped:n}){var o;let a=(o=(r||"").match(Ga.notSpaceStart))==null?void 0:o[0],i=t.replace(Ga.endingNewline,"")+`
|
||
`;return a?'<pre><code class="language-'+qo(a)+'">'+(n?i:qo(i,!0))+`</code></pre>
|
||
`:"<pre><code>"+(n?i:qo(i,!0))+`</code></pre>
|
||
`}blockquote({tokens:t}){return`<blockquote>
|
||
${this.parser.parse(t)}</blockquote>
|
||
`}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
|
||
`}hr(t){return`<hr>
|
||
`}list(t){let r=t.ordered,n=t.start,a="";for(let s=0;s<t.items.length;s++){let l=t.items[s];a+=this.listitem(l)}let i=r?"ol":"ul",o=r&&n!==1?' start="'+n+'"':"";return"<"+i+o+`>
|
||
`+a+"</"+i+`>
|
||
`}listitem(t){var n;let r="";if(t.task){let a=this.checkbox({checked:!!t.checked});t.loose?((n=t.tokens[0])==null?void 0:n.type)==="paragraph"?(t.tokens[0].text=a+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=a+" "+qo(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:a+" ",text:a+" ",escaped:!0}):r+=a+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li>
|
||
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
|
||
`}table(t){let r="",n="";for(let i=0;i<t.header.length;i++)n+=this.tablecell(t.header[i]);r+=this.tablerow({text:n});let a="";for(let i=0;i<t.rows.length;i++){let o=t.rows[i];n="";for(let s=0;s<o.length;s++)n+=this.tablecell(o[s]);a+=this.tablerow({text:n})}return a&&(a=`<tbody>${a}</tbody>`),`<table>
|
||
<thead>
|
||
`+r+`</thead>
|
||
`+a+`</table>
|
||
`}tablerow({text:t}){return`<tr>
|
||
${t}</tr>
|
||
`}tablecell(t){let r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
|
||
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${qo(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){let a=this.parser.parseInline(n),i=aH(t);if(i===null)return a;t=i;let o='<a href="'+t+'"';return r&&(o+=' title="'+qo(r)+'"'),o+=">"+a+"</a>",o}image({href:t,title:r,text:n,tokens:a}){a&&(n=this.parser.parseInline(a,this.parser.textRenderer));let i=aH(t);if(i===null)return qo(n);t=i;let o=`<img src="${t}" alt="${n}"`;return r&&(o+=` title="${qo(r)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:qo(t.text)}},zN=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}},Qs=class b6{constructor(t){gt(this,"options");gt(this,"renderer");gt(this,"textRenderer");this.options=t||rd,this.options.renderer=this.options.renderer||new Ky,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new zN}static parse(t,r){return new b6(r).parse(t)}static parseInline(t,r){return new b6(r).parseInline(t)}parse(t,r=!0){var a,i;let n="";for(let o=0;o<t.length;o++){let s=t[o];if((i=(a=this.options.extensions)==null?void 0:a.renderers)!=null&&i[s.type]){let u=s,d=this.options.extensions.renderers[u.type].call({parser:this},u);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(u.type)){n+=d||"";continue}}let l=s;switch(l.type){case"space":{n+=this.renderer.space(l);continue}case"hr":{n+=this.renderer.hr(l);continue}case"heading":{n+=this.renderer.heading(l);continue}case"code":{n+=this.renderer.code(l);continue}case"table":{n+=this.renderer.table(l);continue}case"blockquote":{n+=this.renderer.blockquote(l);continue}case"list":{n+=this.renderer.list(l);continue}case"html":{n+=this.renderer.html(l);continue}case"paragraph":{n+=this.renderer.paragraph(l);continue}case"text":{let u=l,d=this.renderer.text(u);for(;o+1<t.length&&t[o+1].type==="text";)u=t[++o],d+=`
|
||
`+this.renderer.text(u);r?n+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):n+=d;continue}default:{let u='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return n}parseInline(t,r=this.renderer){var a,i;let n="";for(let o=0;o<t.length;o++){let s=t[o];if((i=(a=this.options.extensions)==null?void 0:a.renderers)!=null&&i[s.type]){let u=this.options.extensions.renderers[s.type].call({parser:this},s);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=u||"";continue}}let l=s;switch(l.type){case"escape":{n+=r.text(l);break}case"html":{n+=r.html(l);break}case"link":{n+=r.link(l);break}case"image":{n+=r.image(l);break}case"strong":{n+=r.strong(l);break}case"em":{n+=r.em(l);break}case"codespan":{n+=r.codespan(l);break}case"br":{n+=r.br(l);break}case"del":{n+=r.del(l);break}case"text":{n+=r.text(l);break}default:{let u='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return n}},t_,Rb=(t_=class{constructor(t){gt(this,"options");gt(this,"block");this.options=t||rd}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Zs.lex:Zs.lexInline}provideParser(){return this.block?Qs.parse:Qs.parseInline}},gt(t_,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),t_),DKe=class{constructor(...t){gt(this,"defaults",RN());gt(this,"options",this.setOptions);gt(this,"parse",this.parseMarkdown(!0));gt(this,"parseInline",this.parseMarkdown(!1));gt(this,"Parser",Qs);gt(this,"Renderer",Ky);gt(this,"TextRenderer",zN);gt(this,"Lexer",Zs);gt(this,"Tokenizer",Vy);gt(this,"Hooks",Rb);this.use(...t)}walkTokens(t,r){var a,i;let n=[];for(let o of t)switch(n=n.concat(r.call(this,o)),o.type){case"table":{let s=o;for(let l of s.header)n=n.concat(this.walkTokens(l.tokens,r));for(let l of s.rows)for(let u of l)n=n.concat(this.walkTokens(u.tokens,r));break}case"list":{let s=o;n=n.concat(this.walkTokens(s.items,r));break}default:{let s=o;(i=(a=this.defaults.extensions)==null?void 0:a.childTokens)!=null&&i[s.type]?this.defaults.extensions.childTokens[s.type].forEach(l=>{let u=s[l].flat(1/0);n=n.concat(this.walkTokens(u,r))}):s.tokens&&(n=n.concat(this.walkTokens(s.tokens,r)))}}return n}use(...t){let r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{let a={...n};if(a.async=this.defaults.async||a.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let o=r.renderers[i.name];o?r.renderers[i.name]=function(...s){let l=i.renderer.apply(this,s);return l===!1&&(l=o.apply(this,s)),l}:r.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let o=r[i.level];o?o.unshift(i.tokenizer):r[i.level]=[i.tokenizer],i.start&&(i.level==="block"?r.startBlock?r.startBlock.push(i.start):r.startBlock=[i.start]:i.level==="inline"&&(r.startInline?r.startInline.push(i.start):r.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(r.childTokens[i.name]=i.childTokens)}),a.extensions=r),n.renderer){let i=this.defaults.renderer||new Ky(this.defaults);for(let o in n.renderer){if(!(o in i))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;let s=o,l=n.renderer[s],u=i[s];i[s]=(...d)=>{let h=l.apply(i,d);return h===!1&&(h=u.apply(i,d)),h||""}}a.renderer=i}if(n.tokenizer){let i=this.defaults.tokenizer||new Vy(this.defaults);for(let o in n.tokenizer){if(!(o in i))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;let s=o,l=n.tokenizer[s],u=i[s];i[s]=(...d)=>{let h=l.apply(i,d);return h===!1&&(h=u.apply(i,d)),h}}a.tokenizer=i}if(n.hooks){let i=this.defaults.hooks||new Rb;for(let o in n.hooks){if(!(o in i))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;let s=o,l=n.hooks[s],u=i[s];Rb.passThroughHooks.has(o)?i[s]=d=>{if(this.defaults.async)return Promise.resolve(l.call(i,d)).then(f=>u.call(i,f));let h=l.call(i,d);return u.call(i,h)}:i[s]=(...d)=>{let h=l.apply(i,d);return h===!1&&(h=u.apply(i,d)),h}}a.hooks=i}if(n.walkTokens){let i=this.defaults.walkTokens,o=n.walkTokens;a.walkTokens=function(s){let l=[];return l.push(o.call(this,s)),i&&(l=l.concat(i.call(this,s))),l}}this.defaults={...this.defaults,...a}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Zs.lex(t,r??this.defaults)}parser(t,r){return Qs.parse(t,r??this.defaults)}parseMarkdown(t){return(r,n)=>{let a={...n},i={...this.defaults,...a},o=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&a.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r>"u"||r===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=t);let s=i.hooks?i.hooks.provideLexer():t?Zs.lex:Zs.lexInline,l=i.hooks?i.hooks.provideParser():t?Qs.parse:Qs.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(r):r).then(u=>s(u,i)).then(u=>i.hooks?i.hooks.processAllTokens(u):u).then(u=>i.walkTokens?Promise.all(this.walkTokens(u,i.walkTokens)).then(()=>u):u).then(u=>l(u,i)).then(u=>i.hooks?i.hooks.postprocess(u):u).catch(o);try{i.hooks&&(r=i.hooks.preprocess(r));let u=s(r,i);i.hooks&&(u=i.hooks.processAllTokens(u)),i.walkTokens&&this.walkTokens(u,i.walkTokens);let d=l(u,i);return i.hooks&&(d=i.hooks.postprocess(d)),d}catch(u){return o(u)}}}onError(t,r){return n=>{if(n.message+=`
|
||
Please report this to https://github.com/markedjs/marked.`,t){let a="<p>An error occurred:</p><pre>"+qo(n.message+"",!0)+"</pre>";return r?Promise.resolve(a):a}if(r)return Promise.reject(n);throw n}}},zc=new DKe;function Hr(e,t){return zc.parse(e,t)}Hr.options=Hr.setOptions=function(e){return zc.setOptions(e),Hr.defaults=zc.defaults,Poe(Hr.defaults),Hr};Hr.getDefaults=RN;Hr.defaults=rd;Hr.use=function(...e){return zc.use(...e),Hr.defaults=zc.defaults,Poe(Hr.defaults),Hr};Hr.walkTokens=function(e,t){return zc.walkTokens(e,t)};Hr.parseInline=zc.parseInline;Hr.Parser=Qs;Hr.parser=Qs.parse;Hr.Renderer=Ky;Hr.TextRenderer=zN;Hr.Lexer=Zs;Hr.lexer=Zs.lex;Hr.Tokenizer=Vy;Hr.Hooks=Rb;Hr.parse=Hr;Hr.options;Hr.setOptions;Hr.use;Hr.walkTokens;Hr.parseInline;Qs.parse;Zs.lex;function Yoe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(s,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var h,f;return(f=(h=d.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&f!==void 0?f:0})):s},[]);if(a.length){var i=new RegExp(`
|
||
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(s){return s.replace(i,`
|
||
`)})}n[0]=n[0].replace(/^\r?\n/,"");var o=n[0];return t.forEach(function(s,l){var u=o.match(/(?:^|\n)( *)$/),d=u?u[1]:"",h=s;typeof s=="string"&&s.includes(`
|
||
`)&&(h=String(s).split(`
|
||
`).map(function(f,m){return m===0?f:""+d+f}).join(`
|
||
`)),o+=h+n[l+1]}),o}var RKe={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},y6=new Map,Xoe=new Map,NKe=H(e=>{for(const t of e){if(!t.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(je.debug("Registering icon pack:",t.name),"loader"in t)Xoe.set(t.name,t.loader);else if("icons"in t)y6.set(t.name,t.icons);else throw je.error("Invalid icon loader:",t),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),Joe=H(async(e,t)=>{const r=LVe(e,!0,t!==void 0);if(!r)throw new Error(`Invalid icon name: ${e}`);const n=r.prefix||t;if(!n)throw new Error(`Icon name must contain a prefix: ${e}`);let a=y6.get(n);if(!a){const o=Xoe.get(n);if(!o)throw new Error(`Icon set not found: ${r.prefix}`);try{a={...await o(),prefix:n},y6.set(n,a)}catch(s){throw je.error(s),new Error(`Failed to load icon set: ${r.prefix}`)}}const i=OVe(a,r.name);if(!i)throw new Error(`Icon not found: ${e}`);return i},"getRegisteredIconData"),LKe=H(async e=>{try{return await Joe(e),!0}catch{return!1}},"isIconAvailable"),O0=H(async(e,t,r)=>{let n;try{n=await Joe(e,t==null?void 0:t.fallbackPrefix)}catch(o){je.error(o),n=RKe}const a=$Ve(n,t);return KVe(VVe(a.body),{...a.attributes,...r})},"getIconSVG");function Zoe(e,{markdownAutoWrap:t}){const n=e.replace(/<br\/>/g,`
|
||
`).replace(/\n{2,}/g,`
|
||
`),a=Yoe(n);return t===!1?a.replace(/ /g," "):a}H(Zoe,"preprocessMarkdown");function Qoe(e,t={}){const r=Zoe(e,t),n=Hr.lexer(r),a=[[]];let i=0;function o(s,l="normal"){s.type==="text"?s.text.split(`
|
||
`).forEach((d,h)=>{h!==0&&(i++,a.push([])),d.split(" ").forEach(f=>{f=f.replace(/'/g,"'"),f&&a[i].push({content:f,type:l})})}):s.type==="strong"||s.type==="em"?s.tokens.forEach(u=>{o(u,s.type)}):s.type==="html"&&a[i].push({content:s.text,type:"normal"})}return H(o,"processNode"),n.forEach(s=>{var l;s.type==="paragraph"?(l=s.tokens)==null||l.forEach(u=>{o(u)}):s.type==="html"&&a[i].push({content:s.text,type:"normal"})}),a}H(Qoe,"markdownToLines");function ese(e,{markdownAutoWrap:t}={}){const r=Hr.lexer(e);function n(a){var i,o,s;return a.type==="text"?t===!1?a.text.replace(/\n */g,"<br/>").replace(/ /g," "):a.text.replace(/\n */g,"<br/>"):a.type==="strong"?`<strong>${(i=a.tokens)==null?void 0:i.map(n).join("")}</strong>`:a.type==="em"?`<em>${(o=a.tokens)==null?void 0:o.map(n).join("")}</em>`:a.type==="paragraph"?`<p>${(s=a.tokens)==null?void 0:s.map(n).join("")}</p>`:a.type==="space"?"":a.type==="html"?`${a.text}`:a.type==="escape"?a.text:`Unsupported markdown: ${a.type}`}return H(n,"output"),r.map(n).join("")}H(ese,"markdownToHTML");function tse(e){return Intl.Segmenter?[...new Intl.Segmenter().segment(e)].map(t=>t.segment):[...e]}H(tse,"splitTextToChars");function rse(e,t){const r=tse(t.content);return HN(e,[],r,t.type)}H(rse,"splitWordToFitWidth");function HN(e,t,r,n){if(r.length===0)return[{content:t.join(""),type:n},{content:"",type:n}];const[a,...i]=r,o=[...t,a];return e([{content:o.join(""),type:n}])?HN(e,o,i,n):(t.length===0&&a&&(t.push(a),r.shift()),[{content:t.join(""),type:n},{content:r.join(""),type:n}])}H(HN,"splitWordToFitWidthRecursion");function nse(e,t){if(e.some(({content:r})=>r.includes(`
|
||
`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return Yy(e,t)}H(nse,"splitLineToFitWidth");function Yy(e,t,r=[],n=[]){if(e.length===0)return n.length>0&&r.push(n),r.length>0?r:[];let a="";e[0].content===" "&&(a=" ",e.shift());const i=e.shift()??{content:" ",type:"normal"},o=[...n];if(a!==""&&o.push({content:a,type:"normal"}),o.push(i),t(o))return Yy(e,t,r,o);if(n.length>0)r.push(n),e.unshift(i);else if(i.content){const[s,l]=rse(t,i);r.push([s]),l.content&&e.unshift(l)}return Yy(e,t,r)}H(Yy,"splitLineToFitWidthRecursion");function v6(e,t){t&&e.attr("style",t)}H(v6,"applyStyle");async function ase(e,t,r,n,a=!1){const i=e.append("foreignObject");i.attr("width",`${10*r}px`),i.attr("height",`${10*r}px`);const o=i.append("xhtml:div");let s=t.label;t.label&&zh(t.label)&&(s=await X5(t.label.replace(bp.lineBreakRegex,`
|
||
`),Or()));const l=t.isNode?"nodeLabel":"edgeLabel",u=o.append("span");u.html(s),v6(u,t.labelStyle),u.attr("class",`${l} ${n}`),v6(o,t.labelStyle),o.style("display","table-cell"),o.style("white-space","nowrap"),o.style("line-height","1.5"),o.style("max-width",r+"px"),o.style("text-align","center"),o.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&o.attr("class","labelBkg");let d=o.node().getBoundingClientRect();return d.width===r&&(o.style("display","table"),o.style("white-space","break-spaces"),o.style("width",r+"px"),d=o.node().getBoundingClientRect()),i.node()}H(ase,"addHtmlSpan");function I2(e,t,r){return e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",t*r-.1+"em").attr("dy",r+"em")}H(I2,"createTspan");function ise(e,t,r){const n=e.append("text"),a=I2(n,1,t);O2(a,r);const i=a.node().getComputedTextLength();return n.remove(),i}H(ise,"computeWidthOfText");function MKe(e,t,r){var o;const n=e.append("text"),a=I2(n,1,t);O2(a,[{content:r,type:"normal"}]);const i=(o=a.node())==null?void 0:o.getBoundingClientRect();return i&&n.remove(),i}H(MKe,"computeDimensionOfText");function ose(e,t,r,n=!1){const i=t.append("g"),o=i.insert("rect").attr("class","background").attr("style","stroke: none"),s=i.append("text").attr("y","-10.1");let l=0;for(const u of r){const d=H(f=>ise(i,1.1,f)<=e,"checkWidth"),h=d(u)?[u]:nse(u,d);for(const f of h){const m=I2(s,l,1.1);O2(m,f),l++}}if(n){const u=s.node().getBBox(),d=2;return o.attr("x",u.x-d).attr("y",u.y-d).attr("width",u.width+2*d).attr("height",u.height+2*d),i.node()}else return s.node()}H(ose,"createFormattedText");function O2(e,t){e.text(""),t.forEach((r,n)=>{const a=e.append("tspan").attr("font-style",r.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",r.type==="strong"?"bold":"normal");n===0?a.text(r.content):a.text(" "+r.content)})}H(O2,"updateTextContentAndStyles");async function sse(e){const t=[];e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(n,a,i)=>(t.push((async()=>{const o=`${a}:${i}`;return await LKe(o)?await O0(o,void 0,{class:"label-icon"}):`<i class='${v2(n).replace(":"," ")}'></i>`})()),n));const r=await Promise.all(t);return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>r.shift()??"")}H(sse,"replaceIconSubstring");var _u=H(async(e,t="",{style:r="",isTitle:n=!1,classes:a="",useHtmlLabels:i=!0,isNode:o=!0,width:s=200,addSvgBackground:l=!1}={},u)=>{if(je.debug("XYZ createText",t,r,n,a,i,o,"addSvgBackground: ",l),i){const d=ese(t,u),h=await sse(td(d)),f=t.replace(/\\\\/g,"\\"),m={isNode:o,label:zh(t)?f:h,labelStyle:r.replace("fill:","color:")};return await ase(e,m,s,a,l)}else{const d=t.replace(/<br\s*\/?>/g,"<br/>"),h=Qoe(d.replace("<br>","<br/>"),u),f=ose(s,e,h,t?l:!1);if(o){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));const m=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Rr(f).attr("style",m)}else{const m=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");Rr(f).select("rect").attr("style",m.replace(/background:/g,"fill:"));const b=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Rr(f).select("text").attr("style",b)}return f}},"createText");function bw(e,t,r){if(e&&e.length){const[n,a]=t,i=Math.PI/180*r,o=Math.cos(i),s=Math.sin(i);for(const l of e){const[u,d]=l;l[0]=(u-n)*o-(d-a)*s+n,l[1]=(u-n)*s+(d-a)*o+a}}}function IKe(e,t){return e[0]===t[0]&&e[1]===t[1]}function OKe(e,t,r,n=1){const a=r,i=Math.max(t,.1),o=e[0]&&e[0][0]&&typeof e[0][0]=="number"?[e]:e,s=[0,0];if(a)for(const u of o)bw(u,s,a);const l=function(u,d,h){const f=[];for(const E of u){const C=[...E];IKe(C[0],C[C.length-1])||C.push([C[0][0],C[0][1]]),C.length>2&&f.push(C)}const m=[];d=Math.max(d,.1);const b=[];for(const E of f)for(let C=0;C<E.length-1;C++){const _=E[C],D=E[C+1];if(_[1]!==D[1]){const w=Math.min(_[1],D[1]);b.push({ymin:w,ymax:Math.max(_[1],D[1]),x:w===_[1]?_[0]:D[0],islope:(D[0]-_[0])/(D[1]-_[1])})}}if(b.sort((E,C)=>E.ymin<C.ymin?-1:E.ymin>C.ymin?1:E.x<C.x?-1:E.x>C.x?1:E.ymax===C.ymax?0:(E.ymax-C.ymax)/Math.abs(E.ymax-C.ymax)),!b.length)return m;let y=[],F=b[0].ymin,x=0;for(;y.length||b.length;){if(b.length){let E=-1;for(let C=0;C<b.length&&!(b[C].ymin>F);C++)E=C;b.splice(0,E+1).forEach(C=>{y.push({s:F,edge:C})})}if(y=y.filter(E=>!(E.edge.ymax<=F)),y.sort((E,C)=>E.edge.x===C.edge.x?0:(E.edge.x-C.edge.x)/Math.abs(E.edge.x-C.edge.x)),(h!==1||x%d==0)&&y.length>1)for(let E=0;E<y.length;E+=2){const C=E+1;if(C>=y.length)break;const _=y[E].edge,D=y[C].edge;m.push([[Math.round(_.x),F],[Math.round(D.x),F]])}F+=h,y.forEach(E=>{E.edge.x=E.edge.x+h*E.edge.islope}),x++}return m}(o,i,n);if(a){for(const u of o)bw(u,s,-a);(function(u,d,h){const f=[];u.forEach(m=>f.push(...m)),bw(f,d,h)})(l,s,-a)}return l}function B0(e,t){var r;const n=t.hachureAngle+90;let a=t.hachureGap;a<0&&(a=4*t.strokeWidth),a=Math.round(Math.max(a,.1));let i=1;return t.roughness>=1&&(((r=t.randomizer)===null||r===void 0?void 0:r.next())||Math.random())>.7&&(i=a),OKe(e,a,n,i||1)}class UN{constructor(t){this.helper=t}fillPolygons(t,r){return this._fillPolygons(t,r)}_fillPolygons(t,r){const n=B0(t,r);return{type:"fillSketch",ops:this.renderLines(n,r)}}renderLines(t,r){const n=[];for(const a of t)n.push(...this.helper.doubleLineOps(a[0][0],a[0][1],a[1][0],a[1][1],r));return n}}function B2(e){const t=e[0],r=e[1];return Math.sqrt(Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2))}class BKe extends UN{fillPolygons(t,r){let n=r.hachureGap;n<0&&(n=4*r.strokeWidth),n=Math.max(n,.1);const a=B0(t,Object.assign({},r,{hachureGap:n})),i=Math.PI/180*r.hachureAngle,o=[],s=.5*n*Math.cos(i),l=.5*n*Math.sin(i);for(const[u,d]of a)B2([u,d])&&o.push([[u[0]-s,u[1]+l],[...d]],[[u[0]+s,u[1]-l],[...d]]);return{type:"fillSketch",ops:this.renderLines(o,r)}}}class PKe extends UN{fillPolygons(t,r){const n=this._fillPolygons(t,r),a=Object.assign({},r,{hachureAngle:r.hachureAngle+90}),i=this._fillPolygons(t,a);return n.ops=n.ops.concat(i.ops),n}}class zKe{constructor(t){this.helper=t}fillPolygons(t,r){const n=B0(t,r=Object.assign({},r,{hachureAngle:0}));return this.dotsOnLines(n,r)}dotsOnLines(t,r){const n=[];let a=r.hachureGap;a<0&&(a=4*r.strokeWidth),a=Math.max(a,.1);let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);const o=a/4;for(const s of t){const l=B2(s),u=l/a,d=Math.ceil(u)-1,h=l-d*a,f=(s[0][0]+s[1][0])/2-a/4,m=Math.min(s[0][1],s[1][1]);for(let b=0;b<d;b++){const y=m+h+b*a,F=f-o+2*Math.random()*o,x=y-o+2*Math.random()*o,E=this.helper.ellipse(F,x,i,i,r);n.push(...E.ops)}}return{type:"fillSketch",ops:n}}}class HKe{constructor(t){this.helper=t}fillPolygons(t,r){const n=B0(t,r);return{type:"fillSketch",ops:this.dashedLine(n,r)}}dashedLine(t,r){const n=r.dashOffset<0?r.hachureGap<0?4*r.strokeWidth:r.hachureGap:r.dashOffset,a=r.dashGap<0?r.hachureGap<0?4*r.strokeWidth:r.hachureGap:r.dashGap,i=[];return t.forEach(o=>{const s=B2(o),l=Math.floor(s/(n+a)),u=(s+a-l*(n+a))/2;let d=o[0],h=o[1];d[0]>h[0]&&(d=o[1],h=o[0]);const f=Math.atan((h[1]-d[1])/(h[0]-d[0]));for(let m=0;m<l;m++){const b=m*(n+a),y=b+n,F=[d[0]+b*Math.cos(f)+u*Math.cos(f),d[1]+b*Math.sin(f)+u*Math.sin(f)],x=[d[0]+y*Math.cos(f)+u*Math.cos(f),d[1]+y*Math.sin(f)+u*Math.sin(f)];i.push(...this.helper.doubleLineOps(F[0],F[1],x[0],x[1],r))}}),i}}class UKe{constructor(t){this.helper=t}fillPolygons(t,r){const n=r.hachureGap<0?4*r.strokeWidth:r.hachureGap,a=r.zigzagOffset<0?n:r.zigzagOffset,i=B0(t,r=Object.assign({},r,{hachureGap:n+a}));return{type:"fillSketch",ops:this.zigzagLines(i,a,r)}}zigzagLines(t,r,n){const a=[];return t.forEach(i=>{const o=B2(i),s=Math.round(o/(2*r));let l=i[0],u=i[1];l[0]>u[0]&&(l=i[1],u=i[0]);const d=Math.atan((u[1]-l[1])/(u[0]-l[0]));for(let h=0;h<s;h++){const f=2*h*r,m=2*(h+1)*r,b=Math.sqrt(2*Math.pow(r,2)),y=[l[0]+f*Math.cos(d),l[1]+f*Math.sin(d)],F=[l[0]+m*Math.cos(d),l[1]+m*Math.sin(d)],x=[y[0]+b*Math.cos(d+Math.PI/4),y[1]+b*Math.sin(d+Math.PI/4)];a.push(...this.helper.doubleLineOps(y[0],y[1],x[0],x[1],n),...this.helper.doubleLineOps(x[0],x[1],F[0],F[1],n))}}),a}}const Xa={};class GKe{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const $Ke=0,yw=1,sH=2,W1={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function vw(e,t){return e.type===t}function GN(e){const t=[],r=function(o){const s=new Array;for(;o!=="";)if(o.match(/^([ \t\r\n,]+)/))o=o.substr(RegExp.$1.length);else if(o.match(/^([aAcChHlLmMqQsStTvVzZ])/))s[s.length]={type:$Ke,text:RegExp.$1},o=o.substr(RegExp.$1.length);else{if(!o.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];s[s.length]={type:yw,text:`${parseFloat(RegExp.$1)}`},o=o.substr(RegExp.$1.length)}return s[s.length]={type:sH,text:""},s}(e);let n="BOD",a=0,i=r[a];for(;!vw(i,sH);){let o=0;const s=[];if(n==="BOD"){if(i.text!=="M"&&i.text!=="m")return GN("M0,0"+e);a++,o=W1[i.text],n=i.text}else vw(i,yw)?o=W1[n]:(a++,o=W1[i.text],n=i.text);if(!(a+o<r.length))throw new Error("Path data ended short");for(let l=a;l<a+o;l++){const u=r[l];if(!vw(u,yw))throw new Error("Param not a number: "+n+","+u.text);s[s.length]=+u.text}if(typeof W1[n]!="number")throw new Error("Bad segment: "+n);{const l={key:n,data:s};t.push(l),a+=o,i=r[a],n==="M"&&(n="L"),n==="m"&&(n="l")}}return t}function lse(e){let t=0,r=0,n=0,a=0;const i=[];for(const{key:o,data:s}of e)switch(o){case"M":i.push({key:"M",data:[...s]}),[t,r]=s,[n,a]=s;break;case"m":t+=s[0],r+=s[1],i.push({key:"M",data:[t,r]}),n=t,a=r;break;case"L":i.push({key:"L",data:[...s]}),[t,r]=s;break;case"l":t+=s[0],r+=s[1],i.push({key:"L",data:[t,r]});break;case"C":i.push({key:"C",data:[...s]}),t=s[4],r=s[5];break;case"c":{const l=s.map((u,d)=>d%2?u+r:u+t);i.push({key:"C",data:l}),t=l[4],r=l[5];break}case"Q":i.push({key:"Q",data:[...s]}),t=s[2],r=s[3];break;case"q":{const l=s.map((u,d)=>d%2?u+r:u+t);i.push({key:"Q",data:l}),t=l[2],r=l[3];break}case"A":i.push({key:"A",data:[...s]}),t=s[5],r=s[6];break;case"a":t+=s[5],r+=s[6],i.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],t,r]});break;case"H":i.push({key:"H",data:[...s]}),t=s[0];break;case"h":t+=s[0],i.push({key:"H",data:[t]});break;case"V":i.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],i.push({key:"V",data:[r]});break;case"S":i.push({key:"S",data:[...s]}),t=s[2],r=s[3];break;case"s":{const l=s.map((u,d)=>d%2?u+r:u+t);i.push({key:"S",data:l}),t=l[2],r=l[3];break}case"T":i.push({key:"T",data:[...s]}),t=s[0],r=s[1];break;case"t":t+=s[0],r+=s[1],i.push({key:"T",data:[t,r]});break;case"Z":case"z":i.push({key:"Z",data:[]}),t=n,r=a}return i}function use(e){const t=[];let r="",n=0,a=0,i=0,o=0,s=0,l=0;for(const{key:u,data:d}of e){switch(u){case"M":t.push({key:"M",data:[...d]}),[n,a]=d,[i,o]=d;break;case"C":t.push({key:"C",data:[...d]}),n=d[4],a=d[5],s=d[2],l=d[3];break;case"L":t.push({key:"L",data:[...d]}),[n,a]=d;break;case"H":n=d[0],t.push({key:"L",data:[n,a]});break;case"V":a=d[0],t.push({key:"L",data:[n,a]});break;case"S":{let h=0,f=0;r==="C"||r==="S"?(h=n+(n-s),f=a+(a-l)):(h=n,f=a),t.push({key:"C",data:[h,f,...d]}),s=d[0],l=d[1],n=d[2],a=d[3];break}case"T":{const[h,f]=d;let m=0,b=0;r==="Q"||r==="T"?(m=n+(n-s),b=a+(a-l)):(m=n,b=a);const y=n+2*(m-n)/3,F=a+2*(b-a)/3,x=h+2*(m-h)/3,E=f+2*(b-f)/3;t.push({key:"C",data:[y,F,x,E,h,f]}),s=m,l=b,n=h,a=f;break}case"Q":{const[h,f,m,b]=d,y=n+2*(h-n)/3,F=a+2*(f-a)/3,x=m+2*(h-m)/3,E=b+2*(f-b)/3;t.push({key:"C",data:[y,F,x,E,m,b]}),s=h,l=f,n=m,a=b;break}case"A":{const h=Math.abs(d[0]),f=Math.abs(d[1]),m=d[2],b=d[3],y=d[4],F=d[5],x=d[6];h===0||f===0?(t.push({key:"C",data:[n,a,F,x,F,x]}),n=F,a=x):(n!==F||a!==x)&&(cse(n,a,F,x,h,f,m,b,y).forEach(function(E){t.push({key:"C",data:E})}),n=F,a=x);break}case"Z":t.push({key:"Z",data:[]}),n=i,a=o}r=u}return t}function qf(e,t,r){return[e*Math.cos(r)-t*Math.sin(r),e*Math.sin(r)+t*Math.cos(r)]}function cse(e,t,r,n,a,i,o,s,l,u){const d=(h=o,Math.PI*h/180);var h;let f=[],m=0,b=0,y=0,F=0;if(u)[m,b,y,F]=u;else{[e,t]=qf(e,t,-d),[r,n]=qf(r,n,-d);const z=(e-r)/2,V=(t-n)/2;let X=z*z/(a*a)+V*V/(i*i);X>1&&(X=Math.sqrt(X),a*=X,i*=X);const q=a*a,W=i*i,B=q*W-q*V*V-W*z*z,te=q*V*V+W*z*z,P=(s===l?-1:1)*Math.sqrt(Math.abs(B/te));y=P*a*V/i+(e+r)/2,F=P*-i*z/a+(t+n)/2,m=Math.asin(parseFloat(((t-F)/i).toFixed(9))),b=Math.asin(parseFloat(((n-F)/i).toFixed(9))),e<y&&(m=Math.PI-m),r<y&&(b=Math.PI-b),m<0&&(m=2*Math.PI+m),b<0&&(b=2*Math.PI+b),l&&m>b&&(m-=2*Math.PI),!l&&b>m&&(b-=2*Math.PI)}let x=b-m;if(Math.abs(x)>120*Math.PI/180){const z=b,V=r,X=n;b=l&&b>m?m+120*Math.PI/180*1:m+120*Math.PI/180*-1,f=cse(r=y+a*Math.cos(b),n=F+i*Math.sin(b),V,X,a,i,o,0,l,[b,z,y,F])}x=b-m;const E=Math.cos(m),C=Math.sin(m),_=Math.cos(b),D=Math.sin(b),w=Math.tan(x/4),A=4/3*a*w,I=4/3*i*w,M=[e,t],L=[e+A*C,t-I*E],U=[r+A*D,n-I*_],j=[r,n];if(L[0]=2*M[0]-L[0],L[1]=2*M[1]-L[1],u)return[L,U,j].concat(f);{f=[L,U,j].concat(f);const z=[];for(let V=0;V<f.length;V+=3){const X=qf(f[V][0],f[V][1],d),q=qf(f[V+1][0],f[V+1][1],d),W=qf(f[V+2][0],f[V+2][1],d);z.push([X[0],X[1],q[0],q[1],W[0],W[1]])}return z}}const jKe={randOffset:function(e,t){return Jt(e,t)},randOffsetWithRange:function(e,t,r){return Xy(e,t,r)},ellipse:function(e,t,r,n,a){const i=hse(r,n,a);return F6(e,t,a,i).opset},doubleLineOps:function(e,t,r,n,a){return Eu(e,t,r,n,a,!0)}};function dse(e,t,r,n,a){return{type:"path",ops:Eu(e,t,r,n,a)}}function Nb(e,t,r){const n=(e||[]).length;if(n>2){const a=[];for(let i=0;i<n-1;i++)a.push(...Eu(e[i][0],e[i][1],e[i+1][0],e[i+1][1],r));return t&&a.push(...Eu(e[n-1][0],e[n-1][1],e[0][0],e[0][1],r)),{type:"path",ops:a}}return n===2?dse(e[0][0],e[0][1],e[1][0],e[1][1],r):{type:"path",ops:[]}}function qKe(e,t,r,n,a){return function(i,o){return Nb(i,!0,o)}([[e,t],[e+r,t],[e+r,t+n],[e,t+n]],a)}function lH(e,t){if(e.length){const r=typeof e[0][0]=="number"?[e]:e,n=V1(r[0],1*(1+.2*t.roughness),t),a=t.disableMultiStroke?[]:V1(r[0],1.5*(1+.22*t.roughness),dH(t));for(let i=1;i<r.length;i++){const o=r[i];if(o.length){const s=V1(o,1*(1+.2*t.roughness),t),l=t.disableMultiStroke?[]:V1(o,1.5*(1+.22*t.roughness),dH(t));for(const u of s)u.op!=="move"&&n.push(u);for(const u of l)u.op!=="move"&&a.push(u)}}return{type:"path",ops:n.concat(a)}}return{type:"path",ops:[]}}function hse(e,t,r){const n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(e/2,2)+Math.pow(t/2,2))/2)),a=Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*n)),i=2*Math.PI/a;let o=Math.abs(e/2),s=Math.abs(t/2);const l=1-r.curveFitting;return o+=Jt(o*l,r),s+=Jt(s*l,r),{increment:i,rx:o,ry:s}}function F6(e,t,r,n){const[a,i]=hH(n.increment,e,t,n.rx,n.ry,1,n.increment*Xy(.1,Xy(.4,1,r),r),r);let o=Jy(a,null,r);if(!r.disableMultiStroke&&r.roughness!==0){const[s]=hH(n.increment,e,t,n.rx,n.ry,1.5,0,r),l=Jy(s,null,r);o=o.concat(l)}return{estimatedPoints:i,opset:{type:"path",ops:o}}}function uH(e,t,r,n,a,i,o,s,l){const u=e,d=t;let h=Math.abs(r/2),f=Math.abs(n/2);h+=Jt(.01*h,l),f+=Jt(.01*f,l);let m=a,b=i;for(;m<0;)m+=2*Math.PI,b+=2*Math.PI;b-m>2*Math.PI&&(m=0,b=2*Math.PI);const y=2*Math.PI/l.curveStepCount,F=Math.min(y/2,(b-m)/2),x=pH(F,u,d,h,f,m,b,1,l);if(!l.disableMultiStroke){const E=pH(F,u,d,h,f,m,b,1.5,l);x.push(...E)}return o&&(s?x.push(...Eu(u,d,u+h*Math.cos(m),d+f*Math.sin(m),l),...Eu(u,d,u+h*Math.cos(b),d+f*Math.sin(b),l)):x.push({op:"lineTo",data:[u,d]},{op:"lineTo",data:[u+h*Math.cos(m),d+f*Math.sin(m)]})),{type:"path",ops:x}}function cH(e,t){const r=use(lse(GN(e))),n=[];let a=[0,0],i=[0,0];for(const{key:o,data:s}of r)switch(o){case"M":i=[s[0],s[1]],a=[s[0],s[1]];break;case"L":n.push(...Eu(i[0],i[1],s[0],s[1],t)),i=[s[0],s[1]];break;case"C":{const[l,u,d,h,f,m]=s;n.push(...WKe(l,u,d,h,f,m,i,t)),i=[f,m];break}case"Z":n.push(...Eu(i[0],i[1],a[0],a[1],t)),i=[a[0],a[1]]}return{type:"path",ops:n}}function Fw(e,t){const r=[];for(const n of e)if(n.length){const a=t.maxRandomnessOffset||0,i=n.length;if(i>2){r.push({op:"move",data:[n[0][0]+Jt(a,t),n[0][1]+Jt(a,t)]});for(let o=1;o<i;o++)r.push({op:"lineTo",data:[n[o][0]+Jt(a,t),n[o][1]+Jt(a,t)]})}}return{type:"fillPath",ops:r}}function Wd(e,t){return function(r,n){let a=r.fillStyle||"hachure";if(!Xa[a])switch(a){case"zigzag":Xa[a]||(Xa[a]=new BKe(n));break;case"cross-hatch":Xa[a]||(Xa[a]=new PKe(n));break;case"dots":Xa[a]||(Xa[a]=new zKe(n));break;case"dashed":Xa[a]||(Xa[a]=new HKe(n));break;case"zigzag-line":Xa[a]||(Xa[a]=new UKe(n));break;default:a="hachure",Xa[a]||(Xa[a]=new UN(n))}return Xa[a]}(t,jKe).fillPolygons(e,t)}function dH(e){const t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}function pse(e){return e.randomizer||(e.randomizer=new GKe(e.seed||0)),e.randomizer.next()}function Xy(e,t,r,n=1){return r.roughness*n*(pse(r)*(t-e)+e)}function Jt(e,t,r=1){return Xy(-e,e,t,r)}function Eu(e,t,r,n,a,i=!1){const o=i?a.disableMultiStrokeFill:a.disableMultiStroke,s=E6(e,t,r,n,a,!0,!1);if(o)return s;const l=E6(e,t,r,n,a,!0,!0);return s.concat(l)}function E6(e,t,r,n,a,i,o){const s=Math.pow(e-r,2)+Math.pow(t-n,2),l=Math.sqrt(s);let u=1;u=l<200?1:l>500?.4:-.0016668*l+1.233334;let d=a.maxRandomnessOffset||0;d*d*100>s&&(d=l/10);const h=d/2,f=.2+.2*pse(a);let m=a.bowing*a.maxRandomnessOffset*(n-t)/200,b=a.bowing*a.maxRandomnessOffset*(e-r)/200;m=Jt(m,a,u),b=Jt(b,a,u);const y=[],F=()=>Jt(h,a,u),x=()=>Jt(d,a,u),E=a.preserveVertices;return o?y.push({op:"move",data:[e+(E?0:F()),t+(E?0:F())]}):y.push({op:"move",data:[e+(E?0:Jt(d,a,u)),t+(E?0:Jt(d,a,u))]}),o?y.push({op:"bcurveTo",data:[m+e+(r-e)*f+F(),b+t+(n-t)*f+F(),m+e+2*(r-e)*f+F(),b+t+2*(n-t)*f+F(),r+(E?0:F()),n+(E?0:F())]}):y.push({op:"bcurveTo",data:[m+e+(r-e)*f+x(),b+t+(n-t)*f+x(),m+e+2*(r-e)*f+x(),b+t+2*(n-t)*f+x(),r+(E?0:x()),n+(E?0:x())]}),y}function V1(e,t,r){if(!e.length)return[];const n=[];n.push([e[0][0]+Jt(t,r),e[0][1]+Jt(t,r)]),n.push([e[0][0]+Jt(t,r),e[0][1]+Jt(t,r)]);for(let a=1;a<e.length;a++)n.push([e[a][0]+Jt(t,r),e[a][1]+Jt(t,r)]),a===e.length-1&&n.push([e[a][0]+Jt(t,r),e[a][1]+Jt(t,r)]);return Jy(n,null,r)}function Jy(e,t,r){const n=e.length,a=[];if(n>3){const i=[],o=1-r.curveTightness;a.push({op:"move",data:[e[1][0],e[1][1]]});for(let s=1;s+2<n;s++){const l=e[s];i[0]=[l[0],l[1]],i[1]=[l[0]+(o*e[s+1][0]-o*e[s-1][0])/6,l[1]+(o*e[s+1][1]-o*e[s-1][1])/6],i[2]=[e[s+1][0]+(o*e[s][0]-o*e[s+2][0])/6,e[s+1][1]+(o*e[s][1]-o*e[s+2][1])/6],i[3]=[e[s+1][0],e[s+1][1]],a.push({op:"bcurveTo",data:[i[1][0],i[1][1],i[2][0],i[2][1],i[3][0],i[3][1]]})}}else n===3?(a.push({op:"move",data:[e[1][0],e[1][1]]}),a.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):n===2&&a.push(...E6(e[0][0],e[0][1],e[1][0],e[1][1],r,!0,!0));return a}function hH(e,t,r,n,a,i,o,s){const l=[],u=[];if(s.roughness===0){e/=4,u.push([t+n*Math.cos(-e),r+a*Math.sin(-e)]);for(let d=0;d<=2*Math.PI;d+=e){const h=[t+n*Math.cos(d),r+a*Math.sin(d)];l.push(h),u.push(h)}u.push([t+n*Math.cos(0),r+a*Math.sin(0)]),u.push([t+n*Math.cos(e),r+a*Math.sin(e)])}else{const d=Jt(.5,s)-Math.PI/2;u.push([Jt(i,s)+t+.9*n*Math.cos(d-e),Jt(i,s)+r+.9*a*Math.sin(d-e)]);const h=2*Math.PI+d-.01;for(let f=d;f<h;f+=e){const m=[Jt(i,s)+t+n*Math.cos(f),Jt(i,s)+r+a*Math.sin(f)];l.push(m),u.push(m)}u.push([Jt(i,s)+t+n*Math.cos(d+2*Math.PI+.5*o),Jt(i,s)+r+a*Math.sin(d+2*Math.PI+.5*o)]),u.push([Jt(i,s)+t+.98*n*Math.cos(d+o),Jt(i,s)+r+.98*a*Math.sin(d+o)]),u.push([Jt(i,s)+t+.9*n*Math.cos(d+.5*o),Jt(i,s)+r+.9*a*Math.sin(d+.5*o)])}return[u,l]}function pH(e,t,r,n,a,i,o,s,l){const u=i+Jt(.1,l),d=[];d.push([Jt(s,l)+t+.9*n*Math.cos(u-e),Jt(s,l)+r+.9*a*Math.sin(u-e)]);for(let h=u;h<=o;h+=e)d.push([Jt(s,l)+t+n*Math.cos(h),Jt(s,l)+r+a*Math.sin(h)]);return d.push([t+n*Math.cos(o),r+a*Math.sin(o)]),d.push([t+n*Math.cos(o),r+a*Math.sin(o)]),Jy(d,null,l)}function WKe(e,t,r,n,a,i,o,s){const l=[],u=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3];let d=[0,0];const h=s.disableMultiStroke?1:2,f=s.preserveVertices;for(let m=0;m<h;m++)m===0?l.push({op:"move",data:[o[0],o[1]]}):l.push({op:"move",data:[o[0]+(f?0:Jt(u[0],s)),o[1]+(f?0:Jt(u[0],s))]}),d=f?[a,i]:[a+Jt(u[m],s),i+Jt(u[m],s)],l.push({op:"bcurveTo",data:[e+Jt(u[m],s),t+Jt(u[m],s),r+Jt(u[m],s),n+Jt(u[m],s),d[0],d[1]]});return l}function Wf(e){return[...e]}function fH(e,t=0){const r=e.length;if(r<3)throw new Error("A curve must have at least three points.");const n=[];if(r===3)n.push(Wf(e[0]),Wf(e[1]),Wf(e[2]),Wf(e[2]));else{const a=[];a.push(e[0],e[0]);for(let s=1;s<e.length;s++)a.push(e[s]),s===e.length-1&&a.push(e[s]);const i=[],o=1-t;n.push(Wf(a[0]));for(let s=1;s+2<a.length;s++){const l=a[s];i[0]=[l[0],l[1]],i[1]=[l[0]+(o*a[s+1][0]-o*a[s-1][0])/6,l[1]+(o*a[s+1][1]-o*a[s-1][1])/6],i[2]=[a[s+1][0]+(o*a[s][0]-o*a[s+2][0])/6,a[s+1][1]+(o*a[s][1]-o*a[s+2][1])/6],i[3]=[a[s+1][0],a[s+1][1]],n.push(i[1],i[2],i[3])}}return n}function Lb(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function VKe(e,t,r){const n=Lb(t,r);if(n===0)return Lb(e,t);let a=((e[0]-t[0])*(r[0]-t[0])+(e[1]-t[1])*(r[1]-t[1]))/n;return a=Math.max(0,Math.min(1,a)),Lb(e,sc(t,r,a))}function sc(e,t,r){return[e[0]+(t[0]-e[0])*r,e[1]+(t[1]-e[1])*r]}function S6(e,t,r,n){const a=n||[];if(function(s,l){const u=s[l+0],d=s[l+1],h=s[l+2],f=s[l+3];let m=3*d[0]-2*u[0]-f[0];m*=m;let b=3*d[1]-2*u[1]-f[1];b*=b;let y=3*h[0]-2*f[0]-u[0];y*=y;let F=3*h[1]-2*f[1]-u[1];return F*=F,m<y&&(m=y),b<F&&(b=F),m+b}(e,t)<r){const s=e[t+0];a.length?(i=a[a.length-1],o=s,Math.sqrt(Lb(i,o))>1&&a.push(s)):a.push(s),a.push(e[t+3])}else{const l=e[t+0],u=e[t+1],d=e[t+2],h=e[t+3],f=sc(l,u,.5),m=sc(u,d,.5),b=sc(d,h,.5),y=sc(f,m,.5),F=sc(m,b,.5),x=sc(y,F,.5);S6([l,f,y,x],0,r,a),S6([x,F,b,h],0,r,a)}var i,o;return a}function KKe(e,t){return Zy(e,0,e.length,t)}function Zy(e,t,r,n,a){const i=a||[],o=e[t],s=e[r-1];let l=0,u=1;for(let d=t+1;d<r-1;++d){const h=VKe(e[d],o,s);h>l&&(l=h,u=d)}return Math.sqrt(l)>n?(Zy(e,t,u+1,n,i),Zy(e,u,r,n,i)):(i.length||i.push(o),i.push(s)),i}function Ew(e,t=.15,r){const n=[],a=(e.length-1)/3;for(let i=0;i<a;i++)S6(e,3*i,t,n);return r&&r>0?Zy(n,0,n.length,r):n}const vi="none";class Qy{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,r,n){return{shape:t,sets:r||[],options:n||this.defaultOptions}}line(t,r,n,a,i){const o=this._o(i);return this._d("line",[dse(t,r,n,a,o)],o)}rectangle(t,r,n,a,i){const o=this._o(i),s=[],l=qKe(t,r,n,a,o);if(o.fill){const u=[[t,r],[t+n,r],[t+n,r+a],[t,r+a]];o.fillStyle==="solid"?s.push(Fw([u],o)):s.push(Wd([u],o))}return o.stroke!==vi&&s.push(l),this._d("rectangle",s,o)}ellipse(t,r,n,a,i){const o=this._o(i),s=[],l=hse(n,a,o),u=F6(t,r,o,l);if(o.fill)if(o.fillStyle==="solid"){const d=F6(t,r,o,l).opset;d.type="fillPath",s.push(d)}else s.push(Wd([u.estimatedPoints],o));return o.stroke!==vi&&s.push(u.opset),this._d("ellipse",s,o)}circle(t,r,n,a){const i=this.ellipse(t,r,n,n,a);return i.shape="circle",i}linearPath(t,r){const n=this._o(r);return this._d("linearPath",[Nb(t,!1,n)],n)}arc(t,r,n,a,i,o,s=!1,l){const u=this._o(l),d=[],h=uH(t,r,n,a,i,o,s,!0,u);if(s&&u.fill)if(u.fillStyle==="solid"){const f=Object.assign({},u);f.disableMultiStroke=!0;const m=uH(t,r,n,a,i,o,!0,!1,f);m.type="fillPath",d.push(m)}else d.push(function(f,m,b,y,F,x,E){const C=f,_=m;let D=Math.abs(b/2),w=Math.abs(y/2);D+=Jt(.01*D,E),w+=Jt(.01*w,E);let A=F,I=x;for(;A<0;)A+=2*Math.PI,I+=2*Math.PI;I-A>2*Math.PI&&(A=0,I=2*Math.PI);const M=(I-A)/E.curveStepCount,L=[];for(let U=A;U<=I;U+=M)L.push([C+D*Math.cos(U),_+w*Math.sin(U)]);return L.push([C+D*Math.cos(I),_+w*Math.sin(I)]),L.push([C,_]),Wd([L],E)}(t,r,n,a,i,o,u));return u.stroke!==vi&&d.push(h),this._d("arc",d,u)}curve(t,r){const n=this._o(r),a=[],i=lH(t,n);if(n.fill&&n.fill!==vi)if(n.fillStyle==="solid"){const o=lH(t,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));a.push({type:"fillPath",ops:this._mergedShape(o.ops)})}else{const o=[],s=t;if(s.length){const l=typeof s[0][0]=="number"?[s]:s;for(const u of l)u.length<3?o.push(...u):u.length===3?o.push(...Ew(fH([u[0],u[0],u[1],u[2]]),10,(1+n.roughness)/2)):o.push(...Ew(fH(u),10,(1+n.roughness)/2))}o.length&&a.push(Wd([o],n))}return n.stroke!==vi&&a.push(i),this._d("curve",a,n)}polygon(t,r){const n=this._o(r),a=[],i=Nb(t,!0,n);return n.fill&&(n.fillStyle==="solid"?a.push(Fw([t],n)):a.push(Wd([t],n))),n.stroke!==vi&&a.push(i),this._d("polygon",a,n)}path(t,r){const n=this._o(r),a=[];if(!t)return this._d("path",a,n);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const i=n.fill&&n.fill!=="transparent"&&n.fill!==vi,o=n.stroke!==vi,s=!!(n.simplification&&n.simplification<1),l=function(d,h,f){const m=use(lse(GN(d))),b=[];let y=[],F=[0,0],x=[];const E=()=>{x.length>=4&&y.push(...Ew(x,h)),x=[]},C=()=>{E(),y.length&&(b.push(y),y=[])};for(const{key:D,data:w}of m)switch(D){case"M":C(),F=[w[0],w[1]],y.push(F);break;case"L":E(),y.push([w[0],w[1]]);break;case"C":if(!x.length){const A=y.length?y[y.length-1]:F;x.push([A[0],A[1]])}x.push([w[0],w[1]]),x.push([w[2],w[3]]),x.push([w[4],w[5]]);break;case"Z":E(),y.push([F[0],F[1]])}if(C(),!f)return b;const _=[];for(const D of b){const w=KKe(D,f);w.length&&_.push(w)}return _}(t,1,s?4-4*(n.simplification||1):(1+n.roughness)/2),u=cH(t,n);if(i)if(n.fillStyle==="solid")if(l.length===1){const d=cH(t,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));a.push({type:"fillPath",ops:this._mergedShape(d.ops)})}else a.push(Fw(l,n));else a.push(Wd(l,n));return o&&(s?l.forEach(d=>{a.push(Nb(d,!1,n))}):a.push(u)),this._d("path",a,n)}opsToPath(t,r){let n="";for(const a of t.ops){const i=typeof r=="number"&&r>=0?a.data.map(o=>+o.toFixed(r)):a.data;switch(a.op){case"move":n+=`M${i[0]} ${i[1]} `;break;case"bcurveTo":n+=`C${i[0]} ${i[1]}, ${i[2]} ${i[3]}, ${i[4]} ${i[5]} `;break;case"lineTo":n+=`L${i[0]} ${i[1]} `}}return n.trim()}toPaths(t){const r=t.sets||[],n=t.options||this.defaultOptions,a=[];for(const i of r){let o=null;switch(i.type){case"path":o={d:this.opsToPath(i),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:vi};break;case"fillPath":o={d:this.opsToPath(i),stroke:vi,strokeWidth:0,fill:n.fill||vi};break;case"fillSketch":o=this.fillSketch(i,n)}o&&a.push(o)}return a}fillSketch(t,r){let n=r.fillWeight;return n<0&&(n=r.strokeWidth/2),{d:this.opsToPath(t),stroke:r.fill||vi,strokeWidth:n,fill:vi}}_mergedShape(t){return t.filter((r,n)=>n===0||r.op!=="move")}}class YKe{constructor(t,r){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new Qy(r)}draw(t){const r=t.sets||[],n=t.options||this.getDefaultOptions(),a=this.ctx,i=t.options.fixedDecimalPlaceDigits;for(const o of r)switch(o.type){case"path":a.save(),a.strokeStyle=n.stroke==="none"?"transparent":n.stroke,a.lineWidth=n.strokeWidth,n.strokeLineDash&&a.setLineDash(n.strokeLineDash),n.strokeLineDashOffset&&(a.lineDashOffset=n.strokeLineDashOffset),this._drawToContext(a,o,i),a.restore();break;case"fillPath":{a.save(),a.fillStyle=n.fill||"";const s=t.shape==="curve"||t.shape==="polygon"||t.shape==="path"?"evenodd":"nonzero";this._drawToContext(a,o,i,s),a.restore();break}case"fillSketch":this.fillSketch(a,o,n)}}fillSketch(t,r,n){let a=n.fillWeight;a<0&&(a=n.strokeWidth/2),t.save(),n.fillLineDash&&t.setLineDash(n.fillLineDash),n.fillLineDashOffset&&(t.lineDashOffset=n.fillLineDashOffset),t.strokeStyle=n.fill||"",t.lineWidth=a,this._drawToContext(t,r,n.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,r,n,a="nonzero"){t.beginPath();for(const i of r.ops){const o=typeof n=="number"&&n>=0?i.data.map(s=>+s.toFixed(n)):i.data;switch(i.op){case"move":t.moveTo(o[0],o[1]);break;case"bcurveTo":t.bezierCurveTo(o[0],o[1],o[2],o[3],o[4],o[5]);break;case"lineTo":t.lineTo(o[0],o[1])}}r.type==="fillPath"?t.fill(a):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,r,n,a,i){const o=this.gen.line(t,r,n,a,i);return this.draw(o),o}rectangle(t,r,n,a,i){const o=this.gen.rectangle(t,r,n,a,i);return this.draw(o),o}ellipse(t,r,n,a,i){const o=this.gen.ellipse(t,r,n,a,i);return this.draw(o),o}circle(t,r,n,a){const i=this.gen.circle(t,r,n,a);return this.draw(i),i}linearPath(t,r){const n=this.gen.linearPath(t,r);return this.draw(n),n}polygon(t,r){const n=this.gen.polygon(t,r);return this.draw(n),n}arc(t,r,n,a,i,o,s=!1,l){const u=this.gen.arc(t,r,n,a,i,o,s,l);return this.draw(u),u}curve(t,r){const n=this.gen.curve(t,r);return this.draw(n),n}path(t,r){const n=this.gen.path(t,r);return this.draw(n),n}}const K1="http://www.w3.org/2000/svg";class XKe{constructor(t,r){this.svg=t,this.gen=new Qy(r)}draw(t){const r=t.sets||[],n=t.options||this.getDefaultOptions(),a=this.svg.ownerDocument||window.document,i=a.createElementNS(K1,"g"),o=t.options.fixedDecimalPlaceDigits;for(const s of r){let l=null;switch(s.type){case"path":l=a.createElementNS(K1,"path"),l.setAttribute("d",this.opsToPath(s,o)),l.setAttribute("stroke",n.stroke),l.setAttribute("stroke-width",n.strokeWidth+""),l.setAttribute("fill","none"),n.strokeLineDash&&l.setAttribute("stroke-dasharray",n.strokeLineDash.join(" ").trim()),n.strokeLineDashOffset&&l.setAttribute("stroke-dashoffset",`${n.strokeLineDashOffset}`);break;case"fillPath":l=a.createElementNS(K1,"path"),l.setAttribute("d",this.opsToPath(s,o)),l.setAttribute("stroke","none"),l.setAttribute("stroke-width","0"),l.setAttribute("fill",n.fill||""),t.shape!=="curve"&&t.shape!=="polygon"||l.setAttribute("fill-rule","evenodd");break;case"fillSketch":l=this.fillSketch(a,s,n)}l&&i.appendChild(l)}return i}fillSketch(t,r,n){let a=n.fillWeight;a<0&&(a=n.strokeWidth/2);const i=t.createElementNS(K1,"path");return i.setAttribute("d",this.opsToPath(r,n.fixedDecimalPlaceDigits)),i.setAttribute("stroke",n.fill||""),i.setAttribute("stroke-width",a+""),i.setAttribute("fill","none"),n.fillLineDash&&i.setAttribute("stroke-dasharray",n.fillLineDash.join(" ").trim()),n.fillLineDashOffset&&i.setAttribute("stroke-dashoffset",`${n.fillLineDashOffset}`),i}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,r){return this.gen.opsToPath(t,r)}line(t,r,n,a,i){const o=this.gen.line(t,r,n,a,i);return this.draw(o)}rectangle(t,r,n,a,i){const o=this.gen.rectangle(t,r,n,a,i);return this.draw(o)}ellipse(t,r,n,a,i){const o=this.gen.ellipse(t,r,n,a,i);return this.draw(o)}circle(t,r,n,a){const i=this.gen.circle(t,r,n,a);return this.draw(i)}linearPath(t,r){const n=this.gen.linearPath(t,r);return this.draw(n)}polygon(t,r){const n=this.gen.polygon(t,r);return this.draw(n)}arc(t,r,n,a,i,o,s=!1,l){const u=this.gen.arc(t,r,n,a,i,o,s,l);return this.draw(u)}curve(t,r){const n=this.gen.curve(t,r);return this.draw(n)}path(t,r){const n=this.gen.path(t,r);return this.draw(n)}}var Dt={canvas:(e,t)=>new YKe(e,t),svg:(e,t)=>new XKe(e,t),generator:e=>new Qy(e),newSeed:()=>Qy.newSeed()},rr=H(async(e,t,r)=>{var h,f;let n;const a=t.useHtmlLabels||Vn((h=Or())==null?void 0:h.htmlLabels);r?n=r:n="node default";const i=e.insert("g").attr("class",n).attr("id",t.domId||t.id),o=i.insert("g").attr("class","label").attr("style",$a(t.labelStyle));let s;t.label===void 0?s="":s=typeof t.label=="string"?t.label:t.label[0];const l=await _u(o,Ic(td(s),Or()),{useHtmlLabels:a,width:t.width||((f=Or().flowchart)==null?void 0:f.wrappingWidth),cssClasses:"markdown-node-label",style:t.labelStyle,addSvgBackground:!!t.icon||!!t.img});let u=l.getBBox();const d=((t==null?void 0:t.padding)??0)/2;if(a){const m=l.children[0],b=Rr(l),y=m.getElementsByTagName("img");if(y){const F=s.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...y].map(x=>new Promise(E=>{function C(){if(x.style.display="flex",x.style.flexDirection="column",F){const _=Or().fontSize?Or().fontSize:window.getComputedStyle(document.body).fontSize,D=5,[w=Cne.fontSize]=N2(_),A=w*D+"px";x.style.minWidth=A,x.style.maxWidth=A}else x.style.width="100%";E(x)}H(C,"setupImage"),setTimeout(()=>{x.complete&&C()}),x.addEventListener("error",C),x.addEventListener("load",C)})))}u=m.getBoundingClientRect(),b.attr("width",u.width),b.attr("height",u.height)}return a?o.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"):o.attr("transform","translate(0, "+-u.height/2+")"),t.centerLabel&&o.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),o.insert("rect",":first-child"),{shapeSvg:i,bbox:u,halfPadding:d,label:o}},"labelHelper"),Sw=H(async(e,t,r)=>{var l,u,d,h,f,m;const n=r.useHtmlLabels||Vn((u=(l=Or())==null?void 0:l.flowchart)==null?void 0:u.htmlLabels),a=e.insert("g").attr("class","label").attr("style",r.labelStyle||""),i=await _u(a,Ic(td(t),Or()),{useHtmlLabels:n,width:r.width||((h=(d=Or())==null?void 0:d.flowchart)==null?void 0:h.wrappingWidth),style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img});let o=i.getBBox();const s=r.padding/2;if(Vn((m=(f=Or())==null?void 0:f.flowchart)==null?void 0:m.htmlLabels)){const b=i.children[0],y=Rr(i);o=b.getBoundingClientRect(),y.attr("width",o.width),y.attr("height",o.height)}return n?a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"):a.attr("transform","translate(0, "+-o.height/2+")"),r.centerLabel&&a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),a.insert("rect",":first-child"),{shapeSvg:e,bbox:o,halfPadding:s,label:a}},"insertLabel"),Bt=H((e,t)=>{const r=t.node().getBBox();e.width=r.width,e.height=r.height},"updateNodeBounds"),Qt=H((e,t)=>(e.look==="handDrawn"?"rough-node":"node")+" "+e.cssClasses+" "+(t||""),"getNodeClasses");function Nr(e){const t=e.map((r,n)=>`${n===0?"M":"L"}${r.x},${r.y}`);return t.push("Z"),t.join(" ")}H(Nr,"createPathFromPoints");function Su(e,t,r,n,a,i){const o=[],l=r-e,u=n-t,d=l/i,h=2*Math.PI/d,f=t+u/2;for(let m=0;m<=50;m++){const b=m/50,y=e+b*l,F=f+a*Math.sin(h*(y-e));o.push({x:y,y:F})}return o}H(Su,"generateFullSineWavePoints");function $N(e,t,r,n,a,i){const o=[],s=a*Math.PI/180,d=(i*Math.PI/180-s)/(n-1);for(let h=0;h<n;h++){const f=s+h*d,m=e+r*Math.cos(f),b=t+r*Math.sin(f);o.push({x:-m,y:-b})}return o}H($N,"generateCirclePoints");var JKe=H((e,t)=>{var r=e.x,n=e.y,a=t.x-r,i=t.y-n,o=e.width/2,s=e.height/2,l,u;return Math.abs(i)*o>Math.abs(a)*s?(i<0&&(s=-s),l=i===0?0:s*a/i,u=s):(a<0&&(o=-o),l=o,u=a===0?0:o*i/a),{x:r+l,y:n+u}},"intersectRect"),Ep=JKe;function fse(e,t){t&&e.attr("style",t)}H(fse,"applyStyle");async function mse(e){const t=Rr(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=t.append("xhtml:div");let n=e.label;e.label&&zh(e.label)&&(n=await X5(e.label.replace(bp.lineBreakRegex,`
|
||
`),Or()));const a=e.isNode?"nodeLabel":"edgeLabel";return r.html('<span class="'+a+'" '+(e.labelStyle?'style="'+e.labelStyle+'"':"")+">"+n+"</span>"),fse(r,e.labelStyle),r.style("display","inline-block"),r.style("padding-right","1px"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}H(mse,"addHtmlLabel");var ZKe=H(async(e,t,r,n)=>{let a=e||"";if(typeof a=="object"&&(a=a[0]),Vn(Or().flowchart.htmlLabels)){a=a.replace(/\\n|\n/g,"<br />"),je.info("vertexText"+a);const i={isNode:n,label:td(a).replace(/fa[blrs]?:fa-[\w-]+/g,s=>`<i class='${s.replace(":"," ")}'></i>`),labelStyle:t&&t.replace("fill:","color:")};return await mse(i)}else{const i=document.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("style",t.replace("color:","fill:"));let o=[];typeof a=="string"?o=a.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(a)?o=a:o=[];for(const s of o){const l=document.createElementNS("http://www.w3.org/2000/svg","tspan");l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),l.setAttribute("dy","1em"),l.setAttribute("x","0"),r?l.setAttribute("class","title-row"):l.setAttribute("class","row"),l.textContent=s.trim(),i.appendChild(l)}return i}},"createLabel"),bc=ZKe,El=H((e,t,r,n,a)=>["M",e+a,t,"H",e+r-a,"A",a,a,0,0,1,e+r,t+a,"V",t+n-a,"A",a,a,0,0,1,e+r-a,t+n,"H",e+a,"A",a,a,0,0,1,e,t+n-a,"V",t+a,"A",a,a,0,0,1,e+a,t,"Z"].join(" "),"createRoundedRectPathD"),gse=H(async(e,t)=>{je.info("Creating subgraph rect for ",t.id,t);const r=Or(),{themeVariables:n,handDrawnSeed:a}=r,{clusterBkg:i,clusterBorder:o}=n,{labelStyles:s,nodeStyles:l,borderStyles:u,backgroundStyles:d}=Pt(t),h=e.insert("g").attr("class","cluster "+t.cssClasses).attr("id",t.id).attr("data-look",t.look),f=Vn(r.flowchart.htmlLabels),m=h.insert("g").attr("class","cluster-label "),b=await _u(m,t.label,{style:t.labelStyle,useHtmlLabels:f,isNode:!0});let y=b.getBBox();if(Vn(r.flowchart.htmlLabels)){const A=b.children[0],I=Rr(b);y=A.getBoundingClientRect(),I.attr("width",y.width),I.attr("height",y.height)}const F=t.width<=y.width+t.padding?y.width+t.padding:t.width;t.width<=y.width+t.padding?t.diff=(F-t.width)/2-t.padding:t.diff=-t.padding;const x=t.height,E=t.x-F/2,C=t.y-x/2;je.trace("Data ",t,JSON.stringify(t));let _;if(t.look==="handDrawn"){const A=Dt.svg(h),I=Rt(t,{roughness:.7,fill:i,stroke:o,fillWeight:3,seed:a}),M=A.path(El(E,C,F,x,0),I);_=h.insert(()=>(je.debug("Rough node insert CXC",M),M),":first-child"),_.select("path:nth-child(2)").attr("style",u.join(";")),_.select("path").attr("style",d.join(";").replace("fill","stroke"))}else _=h.insert("rect",":first-child"),_.attr("style",l).attr("rx",t.rx).attr("ry",t.ry).attr("x",E).attr("y",C).attr("width",F).attr("height",x);const{subGraphTitleTopMargin:D}=lN(r);if(m.attr("transform",`translate(${t.x-y.width/2}, ${t.y-t.height/2+D})`),s){const A=m.select("span");A&&A.attr("style",s)}const w=_.node().getBBox();return t.offsetX=0,t.width=w.width,t.height=w.height,t.offsetY=y.height-t.padding/2,t.intersect=function(A){return Ep(t,A)},{cluster:h,labelBBox:y}},"rect"),QKe=H((e,t)=>{const r=e.insert("g").attr("class","note-cluster").attr("id",t.id),n=r.insert("rect",":first-child"),a=0*t.padding,i=a/2;n.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-i).attr("y",t.y-t.height/2-i).attr("width",t.width+a).attr("height",t.height+a).attr("fill","none");const o=n.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(s){return Ep(t,s)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),eYe=H(async(e,t)=>{const r=Or(),{themeVariables:n,handDrawnSeed:a}=r,{altBackground:i,compositeBackground:o,compositeTitleBackground:s,nodeBorder:l}=n,u=e.insert("g").attr("class",t.cssClasses).attr("id",t.id).attr("data-id",t.id).attr("data-look",t.look),d=u.insert("g",":first-child"),h=u.insert("g").attr("class","cluster-label");let f=u.append("rect");const m=h.node().appendChild(await bc(t.label,t.labelStyle,void 0,!0));let b=m.getBBox();if(Vn(r.flowchart.htmlLabels)){const M=m.children[0],L=Rr(m);b=M.getBoundingClientRect(),L.attr("width",b.width),L.attr("height",b.height)}const y=0*t.padding,F=y/2,x=(t.width<=b.width+t.padding?b.width+t.padding:t.width)+y;t.width<=b.width+t.padding?t.diff=(x-t.width)/2-t.padding:t.diff=-t.padding;const E=t.height+y,C=t.height+y-b.height-6,_=t.x-x/2,D=t.y-E/2;t.width=x;const w=t.y-t.height/2-F+b.height+2;let A;if(t.look==="handDrawn"){const M=t.cssClasses.includes("statediagram-cluster-alt"),L=Dt.svg(u),U=t.rx||t.ry?L.path(El(_,D,x,E,10),{roughness:.7,fill:s,fillStyle:"solid",stroke:l,seed:a}):L.rectangle(_,D,x,E,{seed:a});A=u.insert(()=>U,":first-child");const j=L.rectangle(_,w,x,C,{fill:M?i:o,fillStyle:M?"hachure":"solid",stroke:l,seed:a});A=u.insert(()=>U,":first-child"),f=u.insert(()=>j)}else A=d.insert("rect",":first-child"),A.attr("class","outer").attr("x",_).attr("y",D).attr("width",x).attr("height",E).attr("data-look",t.look),f.attr("class","inner").attr("x",_).attr("y",w).attr("width",x).attr("height",C);h.attr("transform",`translate(${t.x-b.width/2}, ${D+1-(Vn(r.flowchart.htmlLabels)?0:3)})`);const I=A.node().getBBox();return t.height=I.height,t.offsetX=0,t.offsetY=b.height-t.padding/2,t.labelBBox=b,t.intersect=function(M){return Ep(t,M)},{cluster:u,labelBBox:b}},"roundedWithTitle"),tYe=H(async(e,t)=>{je.info("Creating subgraph rect for ",t.id,t);const r=Or(),{themeVariables:n,handDrawnSeed:a}=r,{clusterBkg:i,clusterBorder:o}=n,{labelStyles:s,nodeStyles:l,borderStyles:u,backgroundStyles:d}=Pt(t),h=e.insert("g").attr("class","cluster "+t.cssClasses).attr("id",t.id).attr("data-look",t.look),f=Vn(r.flowchart.htmlLabels),m=h.insert("g").attr("class","cluster-label "),b=await _u(m,t.label,{style:t.labelStyle,useHtmlLabels:f,isNode:!0,width:t.width});let y=b.getBBox();if(Vn(r.flowchart.htmlLabels)){const A=b.children[0],I=Rr(b);y=A.getBoundingClientRect(),I.attr("width",y.width),I.attr("height",y.height)}const F=t.width<=y.width+t.padding?y.width+t.padding:t.width;t.width<=y.width+t.padding?t.diff=(F-t.width)/2-t.padding:t.diff=-t.padding;const x=t.height,E=t.x-F/2,C=t.y-x/2;je.trace("Data ",t,JSON.stringify(t));let _;if(t.look==="handDrawn"){const A=Dt.svg(h),I=Rt(t,{roughness:.7,fill:i,stroke:o,fillWeight:4,seed:a}),M=A.path(El(E,C,F,x,t.rx),I);_=h.insert(()=>(je.debug("Rough node insert CXC",M),M),":first-child"),_.select("path:nth-child(2)").attr("style",u.join(";")),_.select("path").attr("style",d.join(";").replace("fill","stroke"))}else _=h.insert("rect",":first-child"),_.attr("style",l).attr("rx",t.rx).attr("ry",t.ry).attr("x",E).attr("y",C).attr("width",F).attr("height",x);const{subGraphTitleTopMargin:D}=lN(r);if(m.attr("transform",`translate(${t.x-y.width/2}, ${t.y-t.height/2+D})`),s){const A=m.select("span");A&&A.attr("style",s)}const w=_.node().getBBox();return t.offsetX=0,t.width=w.width,t.height=w.height,t.offsetY=y.height-t.padding/2,t.intersect=function(A){return Ep(t,A)},{cluster:h,labelBBox:y}},"kanbanSection"),rYe=H((e,t)=>{const r=Or(),{themeVariables:n,handDrawnSeed:a}=r,{nodeBorder:i}=n,o=e.insert("g").attr("class",t.cssClasses).attr("id",t.id).attr("data-look",t.look),s=o.insert("g",":first-child"),l=0*t.padding,u=t.width+l;t.diff=-t.padding;const d=t.height+l,h=t.x-u/2,f=t.y-d/2;t.width=u;let m;if(t.look==="handDrawn"){const F=Dt.svg(o).rectangle(h,f,u,d,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:i,seed:a});m=o.insert(()=>F,":first-child")}else m=s.insert("rect",":first-child"),m.attr("class","divider").attr("x",h).attr("y",f).attr("width",u).attr("height",d).attr("data-look",t.look);const b=m.node().getBBox();return t.height=b.height,t.offsetX=0,t.offsetY=0,t.intersect=function(y){return Ep(t,y)},{cluster:o,labelBBox:{}}},"divider"),nYe=gse,aYe={rect:gse,squareRect:nYe,roundedWithTitle:eYe,noteGroup:QKe,divider:rYe,kanbanSection:tYe},bse=new Map,iYe=H(async(e,t)=>{const r=t.shape||"rect",n=await aYe[r](e,t);return bse.set(t.id,n),n},"insertCluster"),Qct=H(()=>{bse=new Map},"clear");function yse(e,t){return e.intersect(t)}H(yse,"intersectNode");var oYe=yse;function vse(e,t,r,n){var a=e.x,i=e.y,o=a-n.x,s=i-n.y,l=Math.sqrt(t*t*s*s+r*r*o*o),u=Math.abs(t*r*o/l);n.x<a&&(u=-u);var d=Math.abs(t*r*s/l);return n.y<i&&(d=-d),{x:a+u,y:i+d}}H(vse,"intersectEllipse");var Fse=vse;function Ese(e,t,r){return Fse(e,t,t,r)}H(Ese,"intersectCircle");var sYe=Ese;function Sse(e,t,r,n){var a,i,o,s,l,u,d,h,f,m,b,y,F,x,E;if(a=t.y-e.y,o=e.x-t.x,l=t.x*e.y-e.x*t.y,f=a*r.x+o*r.y+l,m=a*n.x+o*n.y+l,!(f!==0&&m!==0&&x6(f,m))&&(i=n.y-r.y,s=r.x-n.x,u=n.x*r.y-r.x*n.y,d=i*e.x+s*e.y+u,h=i*t.x+s*t.y+u,!(d!==0&&h!==0&&x6(d,h))&&(b=a*s-i*o,b!==0)))return y=Math.abs(b/2),F=o*u-s*l,x=F<0?(F-y)/b:(F+y)/b,F=i*l-a*u,E=F<0?(F-y)/b:(F+y)/b,{x,y:E}}H(Sse,"intersectLine");function x6(e,t){return e*t>0}H(x6,"sameSign");var lYe=Sse;function xse(e,t,r){let n=e.x,a=e.y,i=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){o=Math.min(o,d.x),s=Math.min(s,d.y)}):(o=Math.min(o,t.x),s=Math.min(s,t.y));let l=n-e.width/2-o,u=a-e.height/2-s;for(let d=0;d<t.length;d++){let h=t[d],f=t[d<t.length-1?d+1:0],m=lYe(e,r,{x:l+h.x,y:u+h.y},{x:l+f.x,y:u+f.y});m&&i.push(m)}return i.length?(i.length>1&&i.sort(function(d,h){let f=d.x-r.x,m=d.y-r.y,b=Math.sqrt(f*f+m*m),y=h.x-r.x,F=h.y-r.y,x=Math.sqrt(y*y+F*F);return b<x?-1:b===x?0:1}),i[0]):e}H(xse,"intersectPolygon");var uYe=xse,At={node:oYe,circle:sYe,ellipse:Fse,polygon:uYe,rect:Ep};function wse(e,t){const{labelStyles:r}=Pt(t);t.labelStyle=r;const n=Qt(t);let a=n;n||(a="anchor");const i=e.insert("g").attr("class",a).attr("id",t.domId||t.id),o=1,{cssStyles:s}=t,l=Dt.svg(i),u=Rt(t,{fill:"black",stroke:"none",fillStyle:"solid"});t.look!=="handDrawn"&&(u.roughness=0);const d=l.circle(0,0,o*2,u),h=i.insert(()=>d,":first-child");return h.attr("class","anchor").attr("style",$a(s)),Bt(t,h),t.intersect=function(f){return je.info("Circle intersect",t,o,f),At.circle(t,o,f)},i}H(wse,"anchor");function w6(e,t,r,n,a,i,o){const l=(e+r)/2,u=(t+n)/2,d=Math.atan2(n-t,r-e),h=(r-e)/2,f=(n-t)/2,m=h/a,b=f/i,y=Math.sqrt(m**2+b**2);if(y>1)throw new Error("The given radii are too small to create an arc between the points.");const F=Math.sqrt(1-y**2),x=l+F*i*Math.sin(d)*(o?-1:1),E=u-F*a*Math.cos(d)*(o?-1:1),C=Math.atan2((t-E)/i,(e-x)/a);let D=Math.atan2((n-E)/i,(r-x)/a)-C;o&&D<0&&(D+=2*Math.PI),!o&&D>0&&(D-=2*Math.PI);const w=[];for(let A=0;A<20;A++){const I=A/19,M=C+I*D,L=x+a*Math.cos(M),U=E+i*Math.sin(M);w.push({x:L,y:U})}return w}H(w6,"generateArcPoints");async function kse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=i.width+t.padding+20,s=i.height+t.padding,l=s/2,u=l/(2.5+s/50),{cssStyles:d}=t,h=[{x:o/2,y:-s/2},{x:-o/2,y:-s/2},...w6(-o/2,-s/2,-o/2,s/2,u,l,!1),{x:o/2,y:s/2},...w6(o/2,s/2,o/2,-s/2,u,l,!0)],f=Dt.svg(a),m=Rt(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const b=Nr(h),y=f.path(b,m),F=a.insert(()=>y,":first-child");return F.attr("class","basic label-container"),d&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",d),n&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",n),F.attr("transform",`translate(${u/2}, 0)`),Bt(t,F),t.intersect=function(x){return At.polygon(t,h,x)},a}H(kse,"bowTieRect");function Sl(e,t,r,n){return e.insert("polygon",":first-child").attr("points",n.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+r/2+")")}H(Sl,"insertPolygonShape");async function Cse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=i.height+t.padding,s=12,l=i.width+t.padding+s,u=0,d=l,h=-o,f=0,m=[{x:u+s,y:h},{x:d,y:h},{x:d,y:f},{x:u,y:f},{x:u,y:h+s},{x:u+s,y:h}];let b;const{cssStyles:y}=t;if(t.look==="handDrawn"){const F=Dt.svg(a),x=Rt(t,{}),E=Nr(m),C=F.path(E,x);b=a.insert(()=>C,":first-child").attr("transform",`translate(${-l/2}, ${o/2})`),y&&b.attr("style",y)}else b=Sl(a,l,o,m);return n&&b.attr("style",n),Bt(t,b),t.intersect=function(F){return At.polygon(t,m,F)},a}H(Cse,"card");function Tse(e,t){const{nodeStyles:r}=Pt(t);t.label="";const n=e.insert("g").attr("class",Qt(t)).attr("id",t.domId??t.id),{cssStyles:a}=t,i=Math.max(28,t.width??0),o=[{x:0,y:i/2},{x:i/2,y:0},{x:0,y:-i/2},{x:-i/2,y:0}],s=Dt.svg(n),l=Rt(t,{});t.look!=="handDrawn"&&(l.roughness=0,l.fillStyle="solid");const u=Nr(o),d=s.path(u,l),h=n.insert(()=>d,":first-child");return a&&t.look!=="handDrawn"&&h.selectAll("path").attr("style",a),r&&t.look!=="handDrawn"&&h.selectAll("path").attr("style",r),t.width=28,t.height=28,t.intersect=function(f){return At.polygon(t,o,f)},n}H(Tse,"choice");async function Ase(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,halfPadding:o}=await rr(e,t,Qt(t)),s=i.width/2+o;let l;const{cssStyles:u}=t;if(t.look==="handDrawn"){const d=Dt.svg(a),h=Rt(t,{}),f=d.circle(0,0,s*2,h);l=a.insert(()=>f,":first-child"),l.attr("class","basic label-container").attr("style",$a(u))}else l=a.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",s).attr("cx",0).attr("cy",0);return Bt(t,l),t.intersect=function(d){return je.info("Circle intersect",t,s,d),At.circle(t,s,d)},a}H(Ase,"circle");function _se(e){const t=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),n=e*2,a={x:n/2*t,y:n/2*r},i={x:-(n/2)*t,y:n/2*r},o={x:-(n/2)*t,y:-(n/2)*r},s={x:n/2*t,y:-(n/2)*r};return`M ${i.x},${i.y} L ${s.x},${s.y}
|
||
M ${a.x},${a.y} L ${o.x},${o.y}`}H(_se,"createLine");function Dse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r,t.label="";const a=e.insert("g").attr("class",Qt(t)).attr("id",t.domId??t.id),i=Math.max(30,(t==null?void 0:t.width)??0),{cssStyles:o}=t,s=Dt.svg(a),l=Rt(t,{});t.look!=="handDrawn"&&(l.roughness=0,l.fillStyle="solid");const u=s.circle(0,0,i*2,l),d=_se(i),h=s.path(d,l),f=a.insert(()=>u,":first-child");return f.insert(()=>h),o&&t.look!=="handDrawn"&&f.selectAll("path").attr("style",o),n&&t.look!=="handDrawn"&&f.selectAll("path").attr("style",n),Bt(t,f),t.intersect=function(m){return je.info("crossedCircle intersect",t,{radius:i,point:m}),At.circle(t,i,m)},a}H(Dse,"crossedCircle");function Vs(e,t,r,n=100,a=0,i=180){const o=[],s=a*Math.PI/180,d=(i*Math.PI/180-s)/(n-1);for(let h=0;h<n;h++){const f=s+h*d,m=e+r*Math.cos(f),b=t+r*Math.sin(f);o.push({x:-m,y:-b})}return o}H(Vs,"generateCirclePoints");async function Rse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=i.width+(t.padding??0),l=i.height+(t.padding??0),u=Math.max(5,l*.1),{cssStyles:d}=t,h=[...Vs(s/2,-l/2,u,30,-90,0),{x:-s/2-u,y:u},...Vs(s/2+u*2,-u,u,20,-180,-270),...Vs(s/2+u*2,u,u,20,-90,-180),{x:-s/2-u,y:-l/2},...Vs(s/2,l/2,u,20,0,90)],f=[{x:s/2,y:-l/2-u},{x:-s/2,y:-l/2-u},...Vs(s/2,-l/2,u,20,-90,0),{x:-s/2-u,y:-u},...Vs(s/2+s*.1,-u,u,20,-180,-270),...Vs(s/2+s*.1,u,u,20,-90,-180),{x:-s/2-u,y:l/2},...Vs(s/2,l/2,u,20,0,90),{x:-s/2,y:l/2+u},{x:s/2,y:l/2+u}],m=Dt.svg(a),b=Rt(t,{fill:"none"});t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const F=Nr(h).replace("Z",""),x=m.path(F,b),E=Nr(f),C=m.path(E,{...b}),_=a.insert("g",":first-child");return _.insert(()=>C,":first-child").attr("stroke-opacity",0),_.insert(()=>x,":first-child"),_.attr("class","text"),d&&t.look!=="handDrawn"&&_.selectAll("path").attr("style",d),n&&t.look!=="handDrawn"&&_.selectAll("path").attr("style",n),_.attr("transform",`translate(${u}, 0)`),o.attr("transform",`translate(${-s/2+u-(i.x-(i.left??0))},${-l/2+(t.padding??0)/2-(i.y-(i.top??0))})`),Bt(t,_),t.intersect=function(D){return At.polygon(t,f,D)},a}H(Rse,"curlyBraceLeft");function Ks(e,t,r,n=100,a=0,i=180){const o=[],s=a*Math.PI/180,d=(i*Math.PI/180-s)/(n-1);for(let h=0;h<n;h++){const f=s+h*d,m=e+r*Math.cos(f),b=t+r*Math.sin(f);o.push({x:m,y:b})}return o}H(Ks,"generateCirclePoints");async function Nse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=i.width+(t.padding??0),l=i.height+(t.padding??0),u=Math.max(5,l*.1),{cssStyles:d}=t,h=[...Ks(s/2,-l/2,u,20,-90,0),{x:s/2+u,y:-u},...Ks(s/2+u*2,-u,u,20,-180,-270),...Ks(s/2+u*2,u,u,20,-90,-180),{x:s/2+u,y:l/2},...Ks(s/2,l/2,u,20,0,90)],f=[{x:-s/2,y:-l/2-u},{x:s/2,y:-l/2-u},...Ks(s/2,-l/2,u,20,-90,0),{x:s/2+u,y:-u},...Ks(s/2+u*2,-u,u,20,-180,-270),...Ks(s/2+u*2,u,u,20,-90,-180),{x:s/2+u,y:l/2},...Ks(s/2,l/2,u,20,0,90),{x:s/2,y:l/2+u},{x:-s/2,y:l/2+u}],m=Dt.svg(a),b=Rt(t,{fill:"none"});t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const F=Nr(h).replace("Z",""),x=m.path(F,b),E=Nr(f),C=m.path(E,{...b}),_=a.insert("g",":first-child");return _.insert(()=>C,":first-child").attr("stroke-opacity",0),_.insert(()=>x,":first-child"),_.attr("class","text"),d&&t.look!=="handDrawn"&&_.selectAll("path").attr("style",d),n&&t.look!=="handDrawn"&&_.selectAll("path").attr("style",n),_.attr("transform",`translate(${-u}, 0)`),o.attr("transform",`translate(${-s/2+(t.padding??0)/2-(i.x-(i.left??0))},${-l/2+(t.padding??0)/2-(i.y-(i.top??0))})`),Bt(t,_),t.intersect=function(D){return At.polygon(t,f,D)},a}H(Nse,"curlyBraceRight");function ca(e,t,r,n=100,a=0,i=180){const o=[],s=a*Math.PI/180,d=(i*Math.PI/180-s)/(n-1);for(let h=0;h<n;h++){const f=s+h*d,m=e+r*Math.cos(f),b=t+r*Math.sin(f);o.push({x:-m,y:-b})}return o}H(ca,"generateCirclePoints");async function Lse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=i.width+(t.padding??0),l=i.height+(t.padding??0),u=Math.max(5,l*.1),{cssStyles:d}=t,h=[...ca(s/2,-l/2,u,30,-90,0),{x:-s/2-u,y:u},...ca(s/2+u*2,-u,u,20,-180,-270),...ca(s/2+u*2,u,u,20,-90,-180),{x:-s/2-u,y:-l/2},...ca(s/2,l/2,u,20,0,90)],f=[...ca(-s/2+u+u/2,-l/2,u,20,-90,-180),{x:s/2-u/2,y:u},...ca(-s/2-u/2,-u,u,20,0,90),...ca(-s/2-u/2,u,u,20,-90,0),{x:s/2-u/2,y:-u},...ca(-s/2+u+u/2,l/2,u,30,-180,-270)],m=[{x:s/2,y:-l/2-u},{x:-s/2,y:-l/2-u},...ca(s/2,-l/2,u,20,-90,0),{x:-s/2-u,y:-u},...ca(s/2+u*2,-u,u,20,-180,-270),...ca(s/2+u*2,u,u,20,-90,-180),{x:-s/2-u,y:l/2},...ca(s/2,l/2,u,20,0,90),{x:-s/2,y:l/2+u},{x:s/2-u-u/2,y:l/2+u},...ca(-s/2+u+u/2,-l/2,u,20,-90,-180),{x:s/2-u/2,y:u},...ca(-s/2-u/2,-u,u,20,0,90),...ca(-s/2-u/2,u,u,20,-90,0),{x:s/2-u/2,y:-u},...ca(-s/2+u+u/2,l/2,u,30,-180,-270)],b=Dt.svg(a),y=Rt(t,{fill:"none"});t.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");const x=Nr(h).replace("Z",""),E=b.path(x,y),_=Nr(f).replace("Z",""),D=b.path(_,y),w=Nr(m),A=b.path(w,{...y}),I=a.insert("g",":first-child");return I.insert(()=>A,":first-child").attr("stroke-opacity",0),I.insert(()=>E,":first-child"),I.insert(()=>D,":first-child"),I.attr("class","text"),d&&t.look!=="handDrawn"&&I.selectAll("path").attr("style",d),n&&t.look!=="handDrawn"&&I.selectAll("path").attr("style",n),I.attr("transform",`translate(${u-u/4}, 0)`),o.attr("transform",`translate(${-s/2+(t.padding??0)/2-(i.x-(i.left??0))},${-l/2+(t.padding??0)/2-(i.y-(i.top??0))})`),Bt(t,I),t.intersect=function(M){return At.polygon(t,m,M)},a}H(Lse,"curlyBraces");async function Mse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=80,s=20,l=Math.max(o,(i.width+(t.padding??0)*2)*1.25,(t==null?void 0:t.width)??0),u=Math.max(s,i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),d=u/2,{cssStyles:h}=t,f=Dt.svg(a),m=Rt(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const b=l,y=u,F=b-d,x=y/4,E=[{x:F,y:0},{x,y:0},{x:0,y:y/2},{x,y},{x:F,y},...$N(-F,-y/2,d,50,270,90)],C=Nr(E),_=f.path(C,m),D=a.insert(()=>_,":first-child");return D.attr("class","basic label-container"),h&&t.look!=="handDrawn"&&D.selectChildren("path").attr("style",h),n&&t.look!=="handDrawn"&&D.selectChildren("path").attr("style",n),D.attr("transform",`translate(${-l/2}, ${-u/2})`),Bt(t,D),t.intersect=function(w){return At.polygon(t,E,w)},a}H(Mse,"curvedTrapezoid");var cYe=H((e,t,r,n,a,i)=>[`M${e},${t+i}`,`a${a},${i} 0,0,0 ${r},0`,`a${a},${i} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${i} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createCylinderPathD"),dYe=H((e,t,r,n,a,i)=>[`M${e},${t+i}`,`M${e+r},${t+i}`,`a${a},${i} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${i} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createOuterCylinderPathD"),hYe=H((e,t,r,n,a,i)=>[`M${e-r/2},${-n/2}`,`a${a},${i} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");async function Ise(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+t.padding,t.width??0),l=s/2,u=l/(2.5+s/50),d=Math.max(i.height+u+t.padding,t.height??0);let h;const{cssStyles:f}=t;if(t.look==="handDrawn"){const m=Dt.svg(a),b=dYe(0,0,s,d,l,u),y=hYe(0,u,s,d,l,u),F=m.path(b,Rt(t,{})),x=m.path(y,Rt(t,{fill:"none"}));h=a.insert(()=>x,":first-child"),h=a.insert(()=>F,":first-child"),h.attr("class","basic label-container"),f&&h.attr("style",f)}else{const m=cYe(0,0,s,d,l,u);h=a.insert("path",":first-child").attr("d",m).attr("class","basic label-container").attr("style",$a(f)).attr("style",n)}return h.attr("label-offset-y",u),h.attr("transform",`translate(${-s/2}, ${-(d/2+u)})`),Bt(t,h),o.attr("transform",`translate(${-(i.width/2)-(i.x-(i.left??0))}, ${-(i.height/2)+(t.padding??0)/1.5-(i.y-(i.top??0))})`),t.intersect=function(m){const b=At.rect(t,m),y=b.x-(t.x??0);if(l!=0&&(Math.abs(y)<(t.width??0)/2||Math.abs(y)==(t.width??0)/2&&Math.abs(b.y-(t.y??0))>(t.height??0)/2-u)){let F=u*u*(1-y*y/(l*l));F>0&&(F=Math.sqrt(F)),F=u-F,m.y-(t.y??0)>0&&(F=-F),b.y+=F}return b},a}H(Ise,"cylinder");async function Ose(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=i.width+t.padding,l=i.height+t.padding,u=l*.2,d=-s/2,h=-l/2-u/2,{cssStyles:f}=t,m=Dt.svg(a),b=Rt(t,{});t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const y=[{x:d,y:h+u},{x:-d,y:h+u},{x:-d,y:-h},{x:d,y:-h},{x:d,y:h},{x:-d,y:h},{x:-d,y:h+u}],F=m.polygon(y.map(E=>[E.x,E.y]),b),x=a.insert(()=>F,":first-child");return x.attr("class","basic label-container"),f&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",f),n&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",n),o.attr("transform",`translate(${d+(t.padding??0)/2-(i.x-(i.left??0))}, ${h+u+(t.padding??0)/2-(i.y-(i.top??0))})`),Bt(t,x),t.intersect=function(E){return At.rect(t,E)},a}H(Ose,"dividedRectangle");async function Bse(e,t){var f,m;const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,halfPadding:o}=await rr(e,t,Qt(t)),l=i.width/2+o+5,u=i.width/2+o;let d;const{cssStyles:h}=t;if(t.look==="handDrawn"){const b=Dt.svg(a),y=Rt(t,{roughness:.2,strokeWidth:2.5}),F=Rt(t,{roughness:.2,strokeWidth:1.5}),x=b.circle(0,0,l*2,y),E=b.circle(0,0,u*2,F);d=a.insert("g",":first-child"),d.attr("class",$a(t.cssClasses)).attr("style",$a(h)),(f=d.node())==null||f.appendChild(x),(m=d.node())==null||m.appendChild(E)}else{d=a.insert("g",":first-child");const b=d.insert("circle",":first-child"),y=d.insert("circle");d.attr("class","basic label-container").attr("style",n),b.attr("class","outer-circle").attr("style",n).attr("r",l).attr("cx",0).attr("cy",0),y.attr("class","inner-circle").attr("style",n).attr("r",u).attr("cx",0).attr("cy",0)}return Bt(t,d),t.intersect=function(b){return je.info("DoubleCircle intersect",t,l,b),At.circle(t,l,b)},a}H(Bse,"doublecircle");function Pse(e,t,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:a}=Pt(t);t.label="",t.labelStyle=n;const i=e.insert("g").attr("class",Qt(t)).attr("id",t.domId??t.id),o=7,{cssStyles:s}=t,l=Dt.svg(i),{nodeBorder:u}=r,d=Rt(t,{fillStyle:"solid"});t.look!=="handDrawn"&&(d.roughness=0);const h=l.circle(0,0,o*2,d),f=i.insert(()=>h,":first-child");return f.selectAll("path").attr("style",`fill: ${u} !important;`),s&&s.length>0&&t.look!=="handDrawn"&&f.selectAll("path").attr("style",s),a&&t.look!=="handDrawn"&&f.selectAll("path").attr("style",a),Bt(t,f),t.intersect=function(m){return je.info("filledCircle intersect",t,{radius:o,point:m}),At.circle(t,o,m)},i}H(Pse,"filledCircle");async function zse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=i.width+(t.padding??0),l=s+i.height,u=s+i.height,d=[{x:0,y:-l},{x:u,y:-l},{x:u/2,y:0}],{cssStyles:h}=t,f=Dt.svg(a),m=Rt(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const b=Nr(d),y=f.path(b,m),F=a.insert(()=>y,":first-child").attr("transform",`translate(${-l/2}, ${l/2})`);return h&&t.look!=="handDrawn"&&F.selectChildren("path").attr("style",h),n&&t.look!=="handDrawn"&&F.selectChildren("path").attr("style",n),t.width=s,t.height=l,Bt(t,F),o.attr("transform",`translate(${-i.width/2-(i.x-(i.left??0))}, ${-l/2+(t.padding??0)/2+(i.y-(i.top??0))})`),t.intersect=function(x){return je.info("Triangle intersect",t,d,x),At.polygon(t,d,x)},a}H(zse,"flippedTriangle");function Hse(e,t,{dir:r,config:{state:n,themeVariables:a}}){const{nodeStyles:i}=Pt(t);t.label="";const o=e.insert("g").attr("class",Qt(t)).attr("id",t.domId??t.id),{cssStyles:s}=t;let l=Math.max(70,(t==null?void 0:t.width)??0),u=Math.max(10,(t==null?void 0:t.height)??0);r==="LR"&&(l=Math.max(10,(t==null?void 0:t.width)??0),u=Math.max(70,(t==null?void 0:t.height)??0));const d=-1*l/2,h=-1*u/2,f=Dt.svg(o),m=Rt(t,{stroke:a.lineColor,fill:a.lineColor});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const b=f.rectangle(d,h,l,u,m),y=o.insert(()=>b,":first-child");s&&t.look!=="handDrawn"&&y.selectAll("path").attr("style",s),i&&t.look!=="handDrawn"&&y.selectAll("path").attr("style",i),Bt(t,y);const F=(n==null?void 0:n.padding)??0;return t.width&&t.height&&(t.width+=F/2||0,t.height+=F/2||0),t.intersect=function(x){return At.rect(t,x)},o}H(Hse,"forkJoin");async function Use(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const a=80,i=50,{shapeSvg:o,bbox:s}=await rr(e,t,Qt(t)),l=Math.max(a,s.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),u=Math.max(i,s.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),d=u/2,{cssStyles:h}=t,f=Dt.svg(o),m=Rt(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const b=[{x:-l/2,y:-u/2},{x:l/2-d,y:-u/2},...$N(-l/2+d,0,d,50,90,270),{x:l/2-d,y:u/2},{x:-l/2,y:u/2}],y=Nr(b),F=f.path(y,m),x=o.insert(()=>F,":first-child");return x.attr("class","basic label-container"),h&&t.look!=="handDrawn"&&x.selectChildren("path").attr("style",h),n&&t.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),Bt(t,x),t.intersect=function(E){return je.info("Pill intersect",t,{radius:d,point:E}),At.polygon(t,b,E)},o}H(Use,"halfRoundedRectangle");var pYe=H((e,t,r,n,a)=>[`M${e+a},${t}`,`L${e+r-a},${t}`,`L${e+r},${t-n/2}`,`L${e+r-a},${t-n}`,`L${e+a},${t-n}`,`L${e},${t-n/2}`,"Z"].join(" "),"createHexagonPathD");async function Gse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=4,s=i.height+t.padding,l=s/o,u=i.width+2*l+t.padding,d=[{x:l,y:0},{x:u-l,y:0},{x:u,y:-s/2},{x:u-l,y:-s},{x:l,y:-s},{x:0,y:-s/2}];let h;const{cssStyles:f}=t;if(t.look==="handDrawn"){const m=Dt.svg(a),b=Rt(t,{}),y=pYe(0,0,u,s,l),F=m.path(y,b);h=a.insert(()=>F,":first-child").attr("transform",`translate(${-u/2}, ${s/2})`),f&&h.attr("style",f)}else h=Sl(a,u,s,d);return n&&h.attr("style",n),t.width=u,t.height=s,Bt(t,h),t.intersect=function(m){return At.polygon(t,d,m)},a}H(Gse,"hexagon");async function $se(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.label="",t.labelStyle=r;const{shapeSvg:a}=await rr(e,t,Qt(t)),i=Math.max(30,(t==null?void 0:t.width)??0),o=Math.max(30,(t==null?void 0:t.height)??0),{cssStyles:s}=t,l=Dt.svg(a),u=Rt(t,{});t.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");const d=[{x:0,y:0},{x:i,y:0},{x:0,y:o},{x:i,y:o}],h=Nr(d),f=l.path(h,u),m=a.insert(()=>f,":first-child");return m.attr("class","basic label-container"),s&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",s),n&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",n),m.attr("transform",`translate(${-i/2}, ${-o/2})`),Bt(t,m),t.intersect=function(b){return je.info("Pill intersect",t,{points:d}),At.polygon(t,d,b)},a}H($se,"hourglass");async function jse(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=Pt(t);t.labelStyle=a;const i=t.assetHeight??48,o=t.assetWidth??48,s=Math.max(i,o),l=n==null?void 0:n.wrappingWidth;t.width=Math.max(s,l??0);const{shapeSvg:u,bbox:d,label:h}=await rr(e,t,"icon-shape default"),f=t.pos==="t",m=s,b=s,{nodeBorder:y}=r,{stylesMap:F}=yp(t),x=-b/2,E=-m/2,C=t.label?8:0,_=Dt.svg(u),D=Rt(t,{stroke:"none",fill:"none"});t.look!=="handDrawn"&&(D.roughness=0,D.fillStyle="solid");const w=_.rectangle(x,E,b,m,D),A=Math.max(b,d.width),I=m+d.height+C,M=_.rectangle(-A/2,-I/2,A,I,{...D,fill:"transparent",stroke:"none"}),L=u.insert(()=>w,":first-child"),U=u.insert(()=>M);if(t.icon){const j=u.append("g");j.html(`<g>${await O0(t.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);const z=j.node().getBBox(),V=z.width,X=z.height,q=z.x,W=z.y;j.attr("transform",`translate(${-V/2-q},${f?d.height/2+C/2-X/2-W:-d.height/2-C/2-X/2-W})`),j.attr("style",`color: ${F.get("stroke")??y};`)}return h.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${f?-I/2:I/2-d.height})`),L.attr("transform",`translate(0,${f?d.height/2+C/2:-d.height/2-C/2})`),Bt(t,U),t.intersect=function(j){if(je.info("iconSquare intersect",t,j),!t.label)return At.rect(t,j);const z=t.x??0,V=t.y??0,X=t.height??0;let q=[];return f?q=[{x:z-d.width/2,y:V-X/2},{x:z+d.width/2,y:V-X/2},{x:z+d.width/2,y:V-X/2+d.height+C},{x:z+b/2,y:V-X/2+d.height+C},{x:z+b/2,y:V+X/2},{x:z-b/2,y:V+X/2},{x:z-b/2,y:V-X/2+d.height+C},{x:z-d.width/2,y:V-X/2+d.height+C}]:q=[{x:z-b/2,y:V-X/2},{x:z+b/2,y:V-X/2},{x:z+b/2,y:V-X/2+m},{x:z+d.width/2,y:V-X/2+m},{x:z+d.width/2/2,y:V+X/2},{x:z-d.width/2,y:V+X/2},{x:z-d.width/2,y:V-X/2+m},{x:z-b/2,y:V-X/2+m}],At.polygon(t,q,j)},u}H(jse,"icon");async function qse(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=Pt(t);t.labelStyle=a;const i=t.assetHeight??48,o=t.assetWidth??48,s=Math.max(i,o),l=n==null?void 0:n.wrappingWidth;t.width=Math.max(s,l??0);const{shapeSvg:u,bbox:d,label:h}=await rr(e,t,"icon-shape default"),f=20,m=t.label?8:0,b=t.pos==="t",{nodeBorder:y,mainBkg:F}=r,{stylesMap:x}=yp(t),E=Dt.svg(u),C=Rt(t,{});t.look!=="handDrawn"&&(C.roughness=0,C.fillStyle="solid");const _=x.get("fill");C.stroke=_??F;const D=u.append("g");t.icon&&D.html(`<g>${await O0(t.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);const w=D.node().getBBox(),A=w.width,I=w.height,M=w.x,L=w.y,U=Math.max(A,I)*Math.SQRT2+f*2,j=E.circle(0,0,U,C),z=Math.max(U,d.width),V=U+d.height+m,X=E.rectangle(-z/2,-V/2,z,V,{...C,fill:"transparent",stroke:"none"}),q=u.insert(()=>j,":first-child"),W=u.insert(()=>X);return D.attr("transform",`translate(${-A/2-M},${b?d.height/2+m/2-I/2-L:-d.height/2-m/2-I/2-L})`),D.attr("style",`color: ${x.get("stroke")??y};`),h.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${b?-V/2:V/2-d.height})`),q.attr("transform",`translate(0,${b?d.height/2+m/2:-d.height/2-m/2})`),Bt(t,W),t.intersect=function(B){return je.info("iconSquare intersect",t,B),At.rect(t,B)},u}H(qse,"iconCircle");async function Wse(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=Pt(t);t.labelStyle=a;const i=t.assetHeight??48,o=t.assetWidth??48,s=Math.max(i,o),l=n==null?void 0:n.wrappingWidth;t.width=Math.max(s,l??0);const{shapeSvg:u,bbox:d,halfPadding:h,label:f}=await rr(e,t,"icon-shape default"),m=t.pos==="t",b=s+h*2,y=s+h*2,{nodeBorder:F,mainBkg:x}=r,{stylesMap:E}=yp(t),C=-y/2,_=-b/2,D=t.label?8:0,w=Dt.svg(u),A=Rt(t,{});t.look!=="handDrawn"&&(A.roughness=0,A.fillStyle="solid");const I=E.get("fill");A.stroke=I??x;const M=w.path(El(C,_,y,b,5),A),L=Math.max(y,d.width),U=b+d.height+D,j=w.rectangle(-L/2,-U/2,L,U,{...A,fill:"transparent",stroke:"none"}),z=u.insert(()=>M,":first-child").attr("class","icon-shape2"),V=u.insert(()=>j);if(t.icon){const X=u.append("g");X.html(`<g>${await O0(t.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);const q=X.node().getBBox(),W=q.width,B=q.height,te=q.x,P=q.y;X.attr("transform",`translate(${-W/2-te},${m?d.height/2+D/2-B/2-P:-d.height/2-D/2-B/2-P})`),X.attr("style",`color: ${E.get("stroke")??F};`)}return f.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${m?-U/2:U/2-d.height})`),z.attr("transform",`translate(0,${m?d.height/2+D/2:-d.height/2-D/2})`),Bt(t,V),t.intersect=function(X){if(je.info("iconSquare intersect",t,X),!t.label)return At.rect(t,X);const q=t.x??0,W=t.y??0,B=t.height??0;let te=[];return m?te=[{x:q-d.width/2,y:W-B/2},{x:q+d.width/2,y:W-B/2},{x:q+d.width/2,y:W-B/2+d.height+D},{x:q+y/2,y:W-B/2+d.height+D},{x:q+y/2,y:W+B/2},{x:q-y/2,y:W+B/2},{x:q-y/2,y:W-B/2+d.height+D},{x:q-d.width/2,y:W-B/2+d.height+D}]:te=[{x:q-y/2,y:W-B/2},{x:q+y/2,y:W-B/2},{x:q+y/2,y:W-B/2+b},{x:q+d.width/2,y:W-B/2+b},{x:q+d.width/2/2,y:W+B/2},{x:q-d.width/2,y:W+B/2},{x:q-d.width/2,y:W-B/2+b},{x:q-y/2,y:W-B/2+b}],At.polygon(t,te,X)},u}H(Wse,"iconRounded");async function Vse(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=Pt(t);t.labelStyle=a;const i=t.assetHeight??48,o=t.assetWidth??48,s=Math.max(i,o),l=n==null?void 0:n.wrappingWidth;t.width=Math.max(s,l??0);const{shapeSvg:u,bbox:d,halfPadding:h,label:f}=await rr(e,t,"icon-shape default"),m=t.pos==="t",b=s+h*2,y=s+h*2,{nodeBorder:F,mainBkg:x}=r,{stylesMap:E}=yp(t),C=-y/2,_=-b/2,D=t.label?8:0,w=Dt.svg(u),A=Rt(t,{});t.look!=="handDrawn"&&(A.roughness=0,A.fillStyle="solid");const I=E.get("fill");A.stroke=I??x;const M=w.path(El(C,_,y,b,.1),A),L=Math.max(y,d.width),U=b+d.height+D,j=w.rectangle(-L/2,-U/2,L,U,{...A,fill:"transparent",stroke:"none"}),z=u.insert(()=>M,":first-child"),V=u.insert(()=>j);if(t.icon){const X=u.append("g");X.html(`<g>${await O0(t.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);const q=X.node().getBBox(),W=q.width,B=q.height,te=q.x,P=q.y;X.attr("transform",`translate(${-W/2-te},${m?d.height/2+D/2-B/2-P:-d.height/2-D/2-B/2-P})`),X.attr("style",`color: ${E.get("stroke")??F};`)}return f.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${m?-U/2:U/2-d.height})`),z.attr("transform",`translate(0,${m?d.height/2+D/2:-d.height/2-D/2})`),Bt(t,V),t.intersect=function(X){if(je.info("iconSquare intersect",t,X),!t.label)return At.rect(t,X);const q=t.x??0,W=t.y??0,B=t.height??0;let te=[];return m?te=[{x:q-d.width/2,y:W-B/2},{x:q+d.width/2,y:W-B/2},{x:q+d.width/2,y:W-B/2+d.height+D},{x:q+y/2,y:W-B/2+d.height+D},{x:q+y/2,y:W+B/2},{x:q-y/2,y:W+B/2},{x:q-y/2,y:W-B/2+d.height+D},{x:q-d.width/2,y:W-B/2+d.height+D}]:te=[{x:q-y/2,y:W-B/2},{x:q+y/2,y:W-B/2},{x:q+y/2,y:W-B/2+b},{x:q+d.width/2,y:W-B/2+b},{x:q+d.width/2/2,y:W+B/2},{x:q-d.width/2,y:W+B/2},{x:q-d.width/2,y:W-B/2+b},{x:q-y/2,y:W-B/2+b}],At.polygon(t,te,X)},u}H(Vse,"iconSquare");async function Kse(e,t,{config:{flowchart:r}}){const n=new Image;n.src=(t==null?void 0:t.img)??"",await n.decode();const a=Number(n.naturalWidth.toString().replace("px","")),i=Number(n.naturalHeight.toString().replace("px",""));t.imageAspectRatio=a/i;const{labelStyles:o}=Pt(t);t.labelStyle=o;const s=r==null?void 0:r.wrappingWidth;t.defaultWidth=r==null?void 0:r.wrappingWidth;const l=Math.max(t.label?s??0:0,(t==null?void 0:t.assetWidth)??a),u=t.constraint==="on"&&t!=null&&t.assetHeight?t.assetHeight*t.imageAspectRatio:l,d=t.constraint==="on"?u/t.imageAspectRatio:(t==null?void 0:t.assetHeight)??i;t.width=Math.max(u,s??0);const{shapeSvg:h,bbox:f,label:m}=await rr(e,t,"image-shape default"),b=t.pos==="t",y=-u/2,F=-d/2,x=t.label?8:0,E=Dt.svg(h),C=Rt(t,{});t.look!=="handDrawn"&&(C.roughness=0,C.fillStyle="solid");const _=E.rectangle(y,F,u,d,C),D=Math.max(u,f.width),w=d+f.height+x,A=E.rectangle(-D/2,-w/2,D,w,{...C,fill:"none",stroke:"none"}),I=h.insert(()=>_,":first-child"),M=h.insert(()=>A);if(t.img){const L=h.append("image");L.attr("href",t.img),L.attr("width",u),L.attr("height",d),L.attr("preserveAspectRatio","none"),L.attr("transform",`translate(${-u/2},${b?w/2-d:-w/2})`)}return m.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${b?-d/2-f.height/2-x/2:d/2-f.height/2+x/2})`),I.attr("transform",`translate(0,${b?f.height/2+x/2:-f.height/2-x/2})`),Bt(t,M),t.intersect=function(L){if(je.info("iconSquare intersect",t,L),!t.label)return At.rect(t,L);const U=t.x??0,j=t.y??0,z=t.height??0;let V=[];return b?V=[{x:U-f.width/2,y:j-z/2},{x:U+f.width/2,y:j-z/2},{x:U+f.width/2,y:j-z/2+f.height+x},{x:U+u/2,y:j-z/2+f.height+x},{x:U+u/2,y:j+z/2},{x:U-u/2,y:j+z/2},{x:U-u/2,y:j-z/2+f.height+x},{x:U-f.width/2,y:j-z/2+f.height+x}]:V=[{x:U-u/2,y:j-z/2},{x:U+u/2,y:j-z/2},{x:U+u/2,y:j-z/2+d},{x:U+f.width/2,y:j-z/2+d},{x:U+f.width/2/2,y:j+z/2},{x:U-f.width/2,y:j+z/2},{x:U-f.width/2,y:j-z/2+d},{x:U-u/2,y:j-z/2+d}],At.polygon(t,V,L)},h}H(Kse,"imageSquare");async function Yse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),s=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),l=[{x:0,y:0},{x:o,y:0},{x:o+3*s/6,y:-s},{x:-3*s/6,y:-s}];let u;const{cssStyles:d}=t;if(t.look==="handDrawn"){const h=Dt.svg(a),f=Rt(t,{}),m=Nr(l),b=h.path(m,f);u=a.insert(()=>b,":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),d&&u.attr("style",d)}else u=Sl(a,o,s,l);return n&&u.attr("style",n),t.width=o,t.height=s,Bt(t,u),t.intersect=function(h){return At.polygon(t,l,h)},a}H(Yse,"inv_trapezoid");async function P0(e,t,r){const{labelStyles:n,nodeStyles:a}=Pt(t);t.labelStyle=n;const{shapeSvg:i,bbox:o}=await rr(e,t,Qt(t)),s=Math.max(o.width+r.labelPaddingX*2,(t==null?void 0:t.width)||0),l=Math.max(o.height+r.labelPaddingY*2,(t==null?void 0:t.height)||0),u=-s/2,d=-l/2;let h,{rx:f,ry:m}=t;const{cssStyles:b}=t;if(r!=null&&r.rx&&r.ry&&(f=r.rx,m=r.ry),t.look==="handDrawn"){const y=Dt.svg(i),F=Rt(t,{}),x=f||m?y.path(El(u,d,s,l,f||0),F):y.rectangle(u,d,s,l,F);h=i.insert(()=>x,":first-child"),h.attr("class","basic label-container").attr("style",$a(b))}else h=i.insert("rect",":first-child"),h.attr("class","basic label-container").attr("style",a).attr("rx",$a(f)).attr("ry",$a(m)).attr("x",u).attr("y",d).attr("width",s).attr("height",l);return Bt(t,h),t.intersect=function(y){return At.rect(t,y)},i}H(P0,"drawRect");async function Xse(e,t){const{shapeSvg:r,bbox:n,label:a}=await rr(e,t,"label"),i=r.insert("rect",":first-child");return i.attr("width",.1).attr("height",.1),r.attr("class","label edgeLabel"),a.attr("transform",`translate(${-(n.width/2)-(n.x-(n.left??0))}, ${-(n.height/2)-(n.y-(n.top??0))})`),Bt(t,i),t.intersect=function(l){return At.rect(t,l)},r}H(Xse,"labelRect");async function Jse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=Math.max(i.width+(t.padding??0),(t==null?void 0:t.width)??0),s=Math.max(i.height+(t.padding??0),(t==null?void 0:t.height)??0),l=[{x:0,y:0},{x:o+3*s/6,y:0},{x:o,y:-s},{x:-(3*s)/6,y:-s}];let u;const{cssStyles:d}=t;if(t.look==="handDrawn"){const h=Dt.svg(a),f=Rt(t,{}),m=Nr(l),b=h.path(m,f);u=a.insert(()=>b,":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),d&&u.attr("style",d)}else u=Sl(a,o,s,l);return n&&u.attr("style",n),t.width=o,t.height=s,Bt(t,u),t.intersect=function(h){return At.polygon(t,l,h)},a}H(Jse,"lean_left");async function Zse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=Math.max(i.width+(t.padding??0),(t==null?void 0:t.width)??0),s=Math.max(i.height+(t.padding??0),(t==null?void 0:t.height)??0),l=[{x:-3*s/6,y:0},{x:o,y:0},{x:o+3*s/6,y:-s},{x:0,y:-s}];let u;const{cssStyles:d}=t;if(t.look==="handDrawn"){const h=Dt.svg(a),f=Rt(t,{}),m=Nr(l),b=h.path(m,f);u=a.insert(()=>b,":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),d&&u.attr("style",d)}else u=Sl(a,o,s,l);return n&&u.attr("style",n),t.width=o,t.height=s,Bt(t,u),t.intersect=function(h){return At.polygon(t,l,h)},a}H(Zse,"lean_right");function Qse(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.label="",t.labelStyle=r;const a=e.insert("g").attr("class",Qt(t)).attr("id",t.domId??t.id),{cssStyles:i}=t,o=Math.max(35,(t==null?void 0:t.width)??0),s=Math.max(35,(t==null?void 0:t.height)??0),l=7,u=[{x:o,y:0},{x:0,y:s+l/2},{x:o-2*l,y:s+l/2},{x:0,y:2*s},{x:o,y:s-l/2},{x:2*l,y:s-l/2}],d=Dt.svg(a),h=Rt(t,{});t.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");const f=Nr(u),m=d.path(f,h),b=a.insert(()=>m,":first-child");return i&&t.look!=="handDrawn"&&b.selectAll("path").attr("style",i),n&&t.look!=="handDrawn"&&b.selectAll("path").attr("style",n),b.attr("transform",`translate(-${o/2},${-s})`),Bt(t,b),t.intersect=function(y){return je.info("lightningBolt intersect",t,y),At.polygon(t,u,y)},a}H(Qse,"lightningBolt");var fYe=H((e,t,r,n,a,i,o)=>[`M${e},${t+i}`,`a${a},${i} 0,0,0 ${r},0`,`a${a},${i} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${i} 0,0,0 ${r},0`,`l0,${-n}`,`M${e},${t+i+o}`,`a${a},${i} 0,0,0 ${r},0`].join(" "),"createCylinderPathD"),mYe=H((e,t,r,n,a,i,o)=>[`M${e},${t+i}`,`M${e+r},${t+i}`,`a${a},${i} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${i} 0,0,0 ${r},0`,`l0,${-n}`,`M${e},${t+i+o}`,`a${a},${i} 0,0,0 ${r},0`].join(" "),"createOuterCylinderPathD"),gYe=H((e,t,r,n,a,i)=>[`M${e-r/2},${-n/2}`,`a${a},${i} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD");async function ele(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0),t.width??0),l=s/2,u=l/(2.5+s/50),d=Math.max(i.height+u+(t.padding??0),t.height??0),h=d*.1;let f;const{cssStyles:m}=t;if(t.look==="handDrawn"){const b=Dt.svg(a),y=mYe(0,0,s,d,l,u,h),F=gYe(0,u,s,d,l,u),x=Rt(t,{}),E=b.path(y,x),C=b.path(F,x);a.insert(()=>C,":first-child").attr("class","line"),f=a.insert(()=>E,":first-child"),f.attr("class","basic label-container"),m&&f.attr("style",m)}else{const b=fYe(0,0,s,d,l,u,h);f=a.insert("path",":first-child").attr("d",b).attr("class","basic label-container").attr("style",$a(m)).attr("style",n)}return f.attr("label-offset-y",u),f.attr("transform",`translate(${-s/2}, ${-(d/2+u)})`),Bt(t,f),o.attr("transform",`translate(${-(i.width/2)-(i.x-(i.left??0))}, ${-(i.height/2)+u-(i.y-(i.top??0))})`),t.intersect=function(b){const y=At.rect(t,b),F=y.x-(t.x??0);if(l!=0&&(Math.abs(F)<(t.width??0)/2||Math.abs(F)==(t.width??0)/2&&Math.abs(y.y-(t.y??0))>(t.height??0)/2-u)){let x=u*u*(1-F*F/(l*l));x>0&&(x=Math.sqrt(x)),x=u-x,b.y-(t.y??0)>0&&(x=-x),y.y+=x}return y},a}H(ele,"linedCylinder");async function tle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),u=l/4,d=l+u,{cssStyles:h}=t,f=Dt.svg(a),m=Rt(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const b=[{x:-s/2-s/2*.1,y:-d/2},{x:-s/2-s/2*.1,y:d/2},...Su(-s/2-s/2*.1,d/2,s/2+s/2*.1,d/2,u,.8),{x:s/2+s/2*.1,y:-d/2},{x:-s/2-s/2*.1,y:-d/2},{x:-s/2,y:-d/2},{x:-s/2,y:d/2*1.1},{x:-s/2,y:-d/2}],y=f.polygon(b.map(x=>[x.x,x.y]),m),F=a.insert(()=>y,":first-child");return F.attr("class","basic label-container"),h&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",h),n&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",n),F.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(t.padding??0)+s/2*.1/2-(i.x-(i.left??0))},${-l/2+(t.padding??0)-u/2-(i.y-(i.top??0))})`),Bt(t,F),t.intersect=function(x){return At.polygon(t,b,x)},a}H(tle,"linedWaveEdgedRect");async function rle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),u=5,d=-s/2,h=-l/2,{cssStyles:f}=t,m=Dt.svg(a),b=Rt(t,{}),y=[{x:d-u,y:h+u},{x:d-u,y:h+l+u},{x:d+s-u,y:h+l+u},{x:d+s-u,y:h+l},{x:d+s,y:h+l},{x:d+s,y:h+l-u},{x:d+s+u,y:h+l-u},{x:d+s+u,y:h-u},{x:d+u,y:h-u},{x:d+u,y:h},{x:d,y:h},{x:d,y:h+u}],F=[{x:d,y:h+u},{x:d+s-u,y:h+u},{x:d+s-u,y:h+l},{x:d+s,y:h+l},{x:d+s,y:h},{x:d,y:h}];t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const x=Nr(y),E=m.path(x,b),C=Nr(F),_=m.path(C,{...b,fill:"none"}),D=a.insert(()=>_,":first-child");return D.insert(()=>E,":first-child"),D.attr("class","basic label-container"),f&&t.look!=="handDrawn"&&D.selectAll("path").attr("style",f),n&&t.look!=="handDrawn"&&D.selectAll("path").attr("style",n),o.attr("transform",`translate(${-(i.width/2)-u-(i.x-(i.left??0))}, ${-(i.height/2)+u-(i.y-(i.top??0))})`),Bt(t,D),t.intersect=function(w){return At.polygon(t,y,w)},a}H(rle,"multiRect");async function nle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),u=l/4,d=l+u,h=-s/2,f=-d/2,m=5,{cssStyles:b}=t,y=Su(h-m,f+d+m,h+s-m,f+d+m,u,.8),F=y==null?void 0:y[y.length-1],x=[{x:h-m,y:f+m},{x:h-m,y:f+d+m},...y,{x:h+s-m,y:F.y-m},{x:h+s,y:F.y-m},{x:h+s,y:F.y-2*m},{x:h+s+m,y:F.y-2*m},{x:h+s+m,y:f-m},{x:h+m,y:f-m},{x:h+m,y:f},{x:h,y:f},{x:h,y:f+m}],E=[{x:h,y:f+m},{x:h+s-m,y:f+m},{x:h+s-m,y:F.y-m},{x:h+s,y:F.y-m},{x:h+s,y:f},{x:h,y:f}],C=Dt.svg(a),_=Rt(t,{});t.look!=="handDrawn"&&(_.roughness=0,_.fillStyle="solid");const D=Nr(x),w=C.path(D,_),A=Nr(E),I=C.path(A,_),M=a.insert(()=>w,":first-child");return M.insert(()=>I),M.attr("class","basic label-container"),b&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",b),n&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",n),M.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-(i.width/2)-m-(i.x-(i.left??0))}, ${-(i.height/2)+m-u/2-(i.y-(i.top??0))})`),Bt(t,M),t.intersect=function(L){return At.polygon(t,x,L)},a}H(nle,"multiWaveEdgedRectangle");async function ale(e,t,{config:{themeVariables:r}}){var E;const{labelStyles:n,nodeStyles:a}=Pt(t);t.labelStyle=n,t.useHtmlLabels||((E=ai().flowchart)==null?void 0:E.htmlLabels)!==!1||(t.centerLabel=!0);const{shapeSvg:o,bbox:s,label:l}=await rr(e,t,Qt(t)),u=Math.max(s.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),d=Math.max(s.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),h=-u/2,f=-d/2,{cssStyles:m}=t,b=Dt.svg(o),y=Rt(t,{fill:r.noteBkgColor,stroke:r.noteBorderColor});t.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");const F=b.rectangle(h,f,u,d,y),x=o.insert(()=>F,":first-child");return x.attr("class","basic label-container"),m&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",m),a&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",a),l.attr("transform",`translate(${-s.width/2-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),Bt(t,x),t.intersect=function(C){return At.rect(t,C)},o}H(ale,"note");var bYe=H((e,t,r)=>[`M${e+r/2},${t}`,`L${e+r},${t-r/2}`,`L${e+r/2},${t-r}`,`L${e},${t-r/2}`,"Z"].join(" "),"createDecisionBoxPathD");async function ile(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=i.width+t.padding,s=i.height+t.padding,l=o+s,u=[{x:l/2,y:0},{x:l,y:-l/2},{x:l/2,y:-l},{x:0,y:-l/2}];let d;const{cssStyles:h}=t;if(t.look==="handDrawn"){const f=Dt.svg(a),m=Rt(t,{}),b=bYe(0,0,l),y=f.path(b,m);d=a.insert(()=>y,":first-child").attr("transform",`translate(${-l/2}, ${l/2})`),h&&d.attr("style",h)}else d=Sl(a,l,l,u);return n&&d.attr("style",n),Bt(t,d),t.intersect=function(f){return je.debug(`APA12 Intersect called SPLIT
|
||
point:`,f,`
|
||
node:
|
||
`,t,`
|
||
res:`,At.polygon(t,u,f)),At.polygon(t,u,f)},a}H(ile,"question");async function ole(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0),(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0),(t==null?void 0:t.height)??0),u=-s/2,d=-l/2,h=d/2,f=[{x:u+h,y:d},{x:u,y:0},{x:u+h,y:-d},{x:-u,y:-d},{x:-u,y:d}],{cssStyles:m}=t,b=Dt.svg(a),y=Rt(t,{});t.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");const F=Nr(f),x=b.path(F,y),E=a.insert(()=>x,":first-child");return E.attr("class","basic label-container"),m&&t.look!=="handDrawn"&&E.selectAll("path").attr("style",m),n&&t.look!=="handDrawn"&&E.selectAll("path").attr("style",n),E.attr("transform",`translate(${-h/2},0)`),o.attr("transform",`translate(${-h/2-i.width/2-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`),Bt(t,E),t.intersect=function(C){return At.polygon(t,f,C)},a}H(ole,"rect_left_inv_arrow");async function sle(e,t){var I,M;const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;let a;t.cssClasses?a="node "+t.cssClasses:a="node default";const i=e.insert("g").attr("class",a).attr("id",t.domId||t.id),o=i.insert("g"),s=i.insert("g").attr("class","label").attr("style",n),l=t.description,u=t.label,d=s.node().appendChild(await bc(u,t.labelStyle,!0,!0));let h={width:0,height:0};if(Vn((M=(I=Or())==null?void 0:I.flowchart)==null?void 0:M.htmlLabels)){const L=d.children[0],U=Rr(d);h=L.getBoundingClientRect(),U.attr("width",h.width),U.attr("height",h.height)}je.info("Text 2",l);const f=l||[],m=d.getBBox(),b=s.node().appendChild(await bc(f.join?f.join("<br/>"):f,t.labelStyle,!0,!0)),y=b.children[0],F=Rr(b);h=y.getBoundingClientRect(),F.attr("width",h.width),F.attr("height",h.height);const x=(t.padding||0)/2;Rr(b).attr("transform","translate( "+(h.width>m.width?0:(m.width-h.width)/2)+", "+(m.height+x+5)+")"),Rr(d).attr("transform","translate( "+(h.width<m.width?0:-(m.width-h.width)/2)+", 0)"),h=s.node().getBBox(),s.attr("transform","translate("+-h.width/2+", "+(-h.height/2-x+3)+")");const E=h.width+(t.padding||0),C=h.height+(t.padding||0),_=-h.width/2-x,D=-h.height/2-x;let w,A;if(t.look==="handDrawn"){const L=Dt.svg(i),U=Rt(t,{}),j=L.path(El(_,D,E,C,t.rx||0),U),z=L.line(-h.width/2-x,-h.height/2-x+m.height+x,h.width/2+x,-h.height/2-x+m.height+x,U);A=i.insert(()=>(je.debug("Rough node insert CXC",j),z),":first-child"),w=i.insert(()=>(je.debug("Rough node insert CXC",j),j),":first-child")}else w=o.insert("rect",":first-child"),A=o.insert("line"),w.attr("class","outer title-state").attr("style",n).attr("x",-h.width/2-x).attr("y",-h.height/2-x).attr("width",h.width+(t.padding||0)).attr("height",h.height+(t.padding||0)),A.attr("class","divider").attr("x1",-h.width/2-x).attr("x2",h.width/2+x).attr("y1",-h.height/2-x+m.height+x).attr("y2",-h.height/2-x+m.height+x);return Bt(t,w),t.intersect=function(L){return At.rect(t,L)},i}H(sle,"rectWithTitle");async function lle(e,t){const r={rx:5,ry:5,labelPaddingX:((t==null?void 0:t.padding)||0)*1,labelPaddingY:((t==null?void 0:t.padding)||0)*1};return P0(e,t,r)}H(lle,"roundedRect");async function ule(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=(t==null?void 0:t.padding)??0,l=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),u=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),d=-i.width/2-s,h=-i.height/2-s,{cssStyles:f}=t,m=Dt.svg(a),b=Rt(t,{});t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const y=[{x:d,y:h},{x:d+l+8,y:h},{x:d+l+8,y:h+u},{x:d-8,y:h+u},{x:d-8,y:h},{x:d,y:h},{x:d,y:h+u}],F=m.polygon(y.map(E=>[E.x,E.y]),b),x=a.insert(()=>F,":first-child");return x.attr("class","basic label-container").attr("style",$a(f)),n&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",n),f&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",n),o.attr("transform",`translate(${-l/2+4+(t.padding??0)-(i.x-(i.left??0))},${-u/2+(t.padding??0)-(i.y-(i.top??0))})`),Bt(t,x),t.intersect=function(E){return At.rect(t,E)},a}H(ule,"shadedProcess");async function cle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),u=-s/2,d=-l/2,{cssStyles:h}=t,f=Dt.svg(a),m=Rt(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const b=[{x:u,y:d},{x:u,y:d+l},{x:u+s,y:d+l},{x:u+s,y:d-l/2}],y=Nr(b),F=f.path(y,m),x=a.insert(()=>F,":first-child");return x.attr("class","basic label-container"),h&&t.look!=="handDrawn"&&x.selectChildren("path").attr("style",h),n&&t.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),x.attr("transform",`translate(0, ${l/4})`),o.attr("transform",`translate(${-s/2+(t.padding??0)-(i.x-(i.left??0))}, ${-l/4+(t.padding??0)-(i.y-(i.top??0))})`),Bt(t,x),t.intersect=function(E){return At.polygon(t,b,E)},a}H(cle,"slopedRect");async function dle(e,t){const r={rx:0,ry:0,labelPaddingX:((t==null?void 0:t.padding)||0)*2,labelPaddingY:((t==null?void 0:t.padding)||0)*1};return P0(e,t,r)}H(dle,"squareRect");async function hle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=i.height+t.padding,s=i.width+o/4+t.padding;let l;const{cssStyles:u}=t;if(t.look==="handDrawn"){const d=Dt.svg(a),h=Rt(t,{}),f=El(-s/2,-o/2,s,o,o/2),m=d.path(f,h);l=a.insert(()=>m,":first-child"),l.attr("class","basic label-container").attr("style",$a(u))}else l=a.insert("rect",":first-child"),l.attr("class","basic label-container").attr("style",n).attr("rx",o/2).attr("ry",o/2).attr("x",-s/2).attr("y",-o/2).attr("width",s).attr("height",o);return Bt(t,l),t.intersect=function(d){return At.rect(t,d)},a}H(hle,"stadium");async function ple(e,t){return P0(e,t,{rx:5,ry:5})}H(ple,"state");function fle(e,t,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:a}=Pt(t);t.labelStyle=n;const{cssStyles:i}=t,{lineColor:o,stateBorder:s,nodeBorder:l}=r,u=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),d=Dt.svg(u),h=Rt(t,{});t.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");const f=d.circle(0,0,14,{...h,stroke:o,strokeWidth:2}),m=s??l,b=d.circle(0,0,5,{...h,fill:m,stroke:m,strokeWidth:2,fillStyle:"solid"}),y=u.insert(()=>f,":first-child");return y.insert(()=>b),i&&y.selectAll("path").attr("style",i),a&&y.selectAll("path").attr("style",a),Bt(t,y),t.intersect=function(F){return At.circle(t,7,F)},u}H(fle,"stateEnd");function mle(e,t,{config:{themeVariables:r}}){const{lineColor:n}=r,a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id);let i;if(t.look==="handDrawn"){const s=Dt.svg(a).circle(0,0,14,rUe(n));i=a.insert(()=>s),i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else i=a.insert("circle",":first-child"),i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return Bt(t,i),t.intersect=function(o){return At.circle(t,7,o)},a}H(mle,"stateStart");async function gle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=((t==null?void 0:t.padding)||0)/2,s=i.width+t.padding,l=i.height+t.padding,u=-i.width/2-o,d=-i.height/2-o,h=[{x:0,y:0},{x:s,y:0},{x:s,y:-l},{x:0,y:-l},{x:0,y:0},{x:-8,y:0},{x:s+8,y:0},{x:s+8,y:-l},{x:-8,y:-l},{x:-8,y:0}];if(t.look==="handDrawn"){const f=Dt.svg(a),m=Rt(t,{}),b=f.rectangle(u-8,d,s+16,l,m),y=f.line(u,d,u,d+l,m),F=f.line(u+s,d,u+s,d+l,m);a.insert(()=>y,":first-child"),a.insert(()=>F,":first-child");const x=a.insert(()=>b,":first-child"),{cssStyles:E}=t;x.attr("class","basic label-container").attr("style",$a(E)),Bt(t,x)}else{const f=Sl(a,s,l,h);n&&f.attr("style",n),Bt(t,f)}return t.intersect=function(f){return At.polygon(t,h,f)},a}H(gle,"subroutine");async function ble(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),s=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),l=-o/2,u=-s/2,d=.2*s,h=.2*s,{cssStyles:f}=t,m=Dt.svg(a),b=Rt(t,{}),y=[{x:l-d/2,y:u},{x:l+o+d/2,y:u},{x:l+o+d/2,y:u+s},{x:l-d/2,y:u+s}],F=[{x:l+o-d/2,y:u+s},{x:l+o+d/2,y:u+s},{x:l+o+d/2,y:u+s-h}];t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const x=Nr(y),E=m.path(x,b),C=Nr(F),_=m.path(C,{...b,fillStyle:"solid"}),D=a.insert(()=>_,":first-child");return D.insert(()=>E,":first-child"),D.attr("class","basic label-container"),f&&t.look!=="handDrawn"&&D.selectAll("path").attr("style",f),n&&t.look!=="handDrawn"&&D.selectAll("path").attr("style",n),Bt(t,D),t.intersect=function(w){return At.polygon(t,y,w)},a}H(ble,"taggedRect");async function yle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),u=l/4,d=.2*s,h=.2*l,f=l+u,{cssStyles:m}=t,b=Dt.svg(a),y=Rt(t,{});t.look!=="handDrawn"&&(y.roughness=0,y.fillStyle="solid");const F=[{x:-s/2-s/2*.1,y:f/2},...Su(-s/2-s/2*.1,f/2,s/2+s/2*.1,f/2,u,.8),{x:s/2+s/2*.1,y:-f/2},{x:-s/2-s/2*.1,y:-f/2}],x=-s/2+s/2*.1,E=-f/2-h*.4,C=[{x:x+s-d,y:(E+l)*1.4},{x:x+s,y:E+l-h},{x:x+s,y:(E+l)*.9},...Su(x+s,(E+l)*1.3,x+s-d,(E+l)*1.5,-l*.03,.5)],_=Nr(F),D=b.path(_,y),w=Nr(C),A=b.path(w,{...y,fillStyle:"solid"}),I=a.insert(()=>A,":first-child");return I.insert(()=>D,":first-child"),I.attr("class","basic label-container"),m&&t.look!=="handDrawn"&&I.selectAll("path").attr("style",m),n&&t.look!=="handDrawn"&&I.selectAll("path").attr("style",n),I.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(t.padding??0)-(i.x-(i.left??0))},${-l/2+(t.padding??0)-u/2-(i.y-(i.top??0))})`),Bt(t,I),t.intersect=function(M){return At.polygon(t,F,M)},a}H(yle,"taggedWaveEdgedRectangle");async function vle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=Math.max(i.width+t.padding,(t==null?void 0:t.width)||0),s=Math.max(i.height+t.padding,(t==null?void 0:t.height)||0),l=-o/2,u=-s/2,d=a.insert("rect",":first-child");return d.attr("class","text").attr("style",n).attr("rx",0).attr("ry",0).attr("x",l).attr("y",u).attr("width",o).attr("height",s),Bt(t,d),t.intersect=function(h){return At.rect(t,h)},a}H(vle,"text");var yYe=H((e,t,r,n,a,i)=>`M${e},${t}
|
||
a${a},${i} 0,0,1 0,${-n}
|
||
l${r},0
|
||
a${a},${i} 0,0,1 0,${n}
|
||
M${r},${-n}
|
||
a${a},${i} 0,0,0 0,${n}
|
||
l${-r},0`,"createCylinderPathD"),vYe=H((e,t,r,n,a,i)=>[`M${e},${t}`,`M${e+r},${t}`,`a${a},${i} 0,0,0 0,${-n}`,`l${-r},0`,`a${a},${i} 0,0,0 0,${n}`,`l${r},0`].join(" "),"createOuterCylinderPathD"),FYe=H((e,t,r,n,a,i)=>[`M${e+r/2},${-n/2}`,`a${a},${i} 0,0,0 0,${n}`].join(" "),"createInnerCylinderPathD");async function Fle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o,halfPadding:s}=await rr(e,t,Qt(t)),l=t.look==="neo"?s*2:s,u=i.height+l,d=u/2,h=d/(2.5+u/50),f=i.width+h+l,{cssStyles:m}=t;let b;if(t.look==="handDrawn"){const y=Dt.svg(a),F=vYe(0,0,f,u,h,d),x=FYe(0,0,f,u,h,d),E=y.path(F,Rt(t,{})),C=y.path(x,Rt(t,{fill:"none"}));b=a.insert(()=>C,":first-child"),b=a.insert(()=>E,":first-child"),b.attr("class","basic label-container"),m&&b.attr("style",m)}else{const y=yYe(0,0,f,u,h,d);b=a.insert("path",":first-child").attr("d",y).attr("class","basic label-container").attr("style",$a(m)).attr("style",n),b.attr("class","basic label-container"),m&&b.selectAll("path").attr("style",m),n&&b.selectAll("path").attr("style",n)}return b.attr("label-offset-x",h),b.attr("transform",`translate(${-f/2}, ${u/2} )`),o.attr("transform",`translate(${-(i.width/2)-h-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`),Bt(t,b),t.intersect=function(y){const F=At.rect(t,y),x=F.y-(t.y??0);if(d!=0&&(Math.abs(x)<(t.height??0)/2||Math.abs(x)==(t.height??0)/2&&Math.abs(F.x-(t.x??0))>(t.width??0)/2-h)){let E=h*h*(1-x*x/(d*d));E!=0&&(E=Math.sqrt(Math.abs(E))),E=h-E,y.x-(t.x??0)>0&&(E=-E),F.x+=E}return F},a}H(Fle,"tiltedCylinder");async function Ele(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=i.width+t.padding,s=i.height+t.padding,l=[{x:-3*s/6,y:0},{x:o+3*s/6,y:0},{x:o,y:-s},{x:0,y:-s}];let u;const{cssStyles:d}=t;if(t.look==="handDrawn"){const h=Dt.svg(a),f=Rt(t,{}),m=Nr(l),b=h.path(m,f);u=a.insert(()=>b,":first-child").attr("transform",`translate(${-o/2}, ${s/2})`),d&&u.attr("style",d)}else u=Sl(a,o,s,l);return n&&u.attr("style",n),t.width=o,t.height=s,Bt(t,u),t.intersect=function(h){return At.polygon(t,l,h)},a}H(Ele,"trapezoid");async function Sle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=60,s=20,l=Math.max(o,i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),u=Math.max(s,i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),{cssStyles:d}=t,h=Dt.svg(a),f=Rt(t,{});t.look!=="handDrawn"&&(f.roughness=0,f.fillStyle="solid");const m=[{x:-l/2*.8,y:-u/2},{x:l/2*.8,y:-u/2},{x:l/2,y:-u/2*.6},{x:l/2,y:u/2},{x:-l/2,y:u/2},{x:-l/2,y:-u/2*.6}],b=Nr(m),y=h.path(b,f),F=a.insert(()=>y,":first-child");return F.attr("class","basic label-container"),d&&t.look!=="handDrawn"&&F.selectChildren("path").attr("style",d),n&&t.look!=="handDrawn"&&F.selectChildren("path").attr("style",n),Bt(t,F),t.intersect=function(x){return At.polygon(t,m,x)},a}H(Sle,"trapezoidalPentagon");async function xle(e,t){var E;const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Vn((E=Or().flowchart)==null?void 0:E.htmlLabels),l=i.width+(t.padding??0),u=l+i.height,d=l+i.height,h=[{x:0,y:0},{x:d,y:0},{x:d/2,y:-u}],{cssStyles:f}=t,m=Dt.svg(a),b=Rt(t,{});t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const y=Nr(h),F=m.path(y,b),x=a.insert(()=>F,":first-child").attr("transform",`translate(${-u/2}, ${u/2})`);return f&&t.look!=="handDrawn"&&x.selectChildren("path").attr("style",f),n&&t.look!=="handDrawn"&&x.selectChildren("path").attr("style",n),t.width=l,t.height=u,Bt(t,x),o.attr("transform",`translate(${-i.width/2-(i.x-(i.left??0))}, ${u/2-(i.height+(t.padding??0)/(s?2:1)-(i.y-(i.top??0)))})`),t.intersect=function(C){return je.info("Triangle intersect",t,h,C),At.polygon(t,h,C)},a}H(xle,"triangle");async function wle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),u=l/8,d=l+u,{cssStyles:h}=t,m=70-s,b=m>0?m/2:0,y=Dt.svg(a),F=Rt(t,{});t.look!=="handDrawn"&&(F.roughness=0,F.fillStyle="solid");const x=[{x:-s/2-b,y:d/2},...Su(-s/2-b,d/2,s/2+b,d/2,u,.8),{x:s/2+b,y:-d/2},{x:-s/2-b,y:-d/2}],E=Nr(x),C=y.path(E,F),_=a.insert(()=>C,":first-child");return _.attr("class","basic label-container"),h&&t.look!=="handDrawn"&&_.selectAll("path").attr("style",h),n&&t.look!=="handDrawn"&&_.selectAll("path").attr("style",n),_.attr("transform",`translate(0,${-u/2})`),o.attr("transform",`translate(${-s/2+(t.padding??0)-(i.x-(i.left??0))},${-l/2+(t.padding??0)-u-(i.y-(i.top??0))})`),Bt(t,_),t.intersect=function(D){return At.polygon(t,x,D)},a}H(wle,"waveEdgedRectangle");async function kle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i}=await rr(e,t,Qt(t)),o=100,s=50,l=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),u=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),d=l/u;let h=l,f=u;h>f*d?f=h/d:h=f*d,h=Math.max(h,o),f=Math.max(f,s);const m=Math.min(f*.2,f/4),b=f+m*2,{cssStyles:y}=t,F=Dt.svg(a),x=Rt(t,{});t.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");const E=[{x:-h/2,y:b/2},...Su(-h/2,b/2,h/2,b/2,m,1),{x:h/2,y:-b/2},...Su(h/2,-b/2,-h/2,-b/2,m,-1)],C=Nr(E),_=F.path(C,x),D=a.insert(()=>_,":first-child");return D.attr("class","basic label-container"),y&&t.look!=="handDrawn"&&D.selectAll("path").attr("style",y),n&&t.look!=="handDrawn"&&D.selectAll("path").attr("style",n),Bt(t,D),t.intersect=function(w){return At.polygon(t,E,w)},a}H(kle,"waveRectangle");async function Cle(e,t){const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const{shapeSvg:a,bbox:i,label:o}=await rr(e,t,Qt(t)),s=Math.max(i.width+(t.padding??0)*2,(t==null?void 0:t.width)??0),l=Math.max(i.height+(t.padding??0)*2,(t==null?void 0:t.height)??0),u=5,d=-s/2,h=-l/2,{cssStyles:f}=t,m=Dt.svg(a),b=Rt(t,{}),y=[{x:d-u,y:h-u},{x:d-u,y:h+l},{x:d+s,y:h+l},{x:d+s,y:h-u}],F=`M${d-u},${h-u} L${d+s},${h-u} L${d+s},${h+l} L${d-u},${h+l} L${d-u},${h-u}
|
||
M${d-u},${h} L${d+s},${h}
|
||
M${d},${h-u} L${d},${h+l}`;t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const x=m.path(F,b),E=a.insert(()=>x,":first-child");return E.attr("transform",`translate(${u/2}, ${u/2})`),E.attr("class","basic label-container"),f&&t.look!=="handDrawn"&&E.selectAll("path").attr("style",f),n&&t.look!=="handDrawn"&&E.selectAll("path").attr("style",n),o.attr("transform",`translate(${-(i.width/2)+u/2-(i.x-(i.left??0))}, ${-(i.height/2)+u/2-(i.y-(i.top??0))})`),Bt(t,E),t.intersect=function(C){return At.polygon(t,y,C)},a}H(Cle,"windowPane");async function jN(e,t){var K,G,ne,oe;const r=t;if(r.alias&&(t.label=r.alias),t.look==="handDrawn"){const{themeVariables:de}=ai(),{background:ie}=de,ue={...t,id:t.id+"-background",look:"default",cssStyles:["stroke: none",`fill: ${ie}`]};await jN(e,ue)}const n=ai();t.useHtmlLabels=n.htmlLabels;let a=((K=n.er)==null?void 0:K.diagramPadding)??10,i=((G=n.er)==null?void 0:G.entityPadding)??6;const{cssStyles:o}=t,{labelStyles:s,nodeStyles:l}=Pt(t);if(r.attributes.length===0&&t.label){const de={rx:0,ry:0,labelPaddingX:a,labelPaddingY:a*1.5};fl(t.label,n)+de.labelPaddingX*2<n.er.minEntityWidth&&(t.width=n.er.minEntityWidth);const ie=await P0(e,t,de);if(!Vn(n.htmlLabels)){const ue=ie.select("text"),Ne=(ne=ue.node())==null?void 0:ne.getBBox();ue.attr("transform",`translate(${-Ne.width/2}, 0)`)}return ie}n.htmlLabels||(a*=1.25,i*=1.25);let u=Qt(t);u||(u="node default");const d=e.insert("g").attr("class",u).attr("id",t.domId||t.id),h=await Qd(d,t.label??"",n,0,0,["name"],s);h.height+=i;let f=0;const m=[],b=[];let y=0,F=0,x=0,E=0,C=!0,_=!0;for(const de of r.attributes){const ie=await Qd(d,de.type,n,0,f,["attribute-type"],s);y=Math.max(y,ie.width+a);const ue=await Qd(d,de.name,n,0,f,["attribute-name"],s);F=Math.max(F,ue.width+a);const Ne=await Qd(d,de.keys.join(),n,0,f,["attribute-keys"],s);x=Math.max(x,Ne.width+a);const pe=await Qd(d,de.comment,n,0,f,["attribute-comment"],s);E=Math.max(E,pe.width+a);const Le=Math.max(ie.height,ue.height,Ne.height,pe.height)+i;b.push({yOffset:f,rowHeight:Le}),f+=Le}let D=4;x<=a&&(C=!1,x=0,D--),E<=a&&(_=!1,E=0,D--);const w=d.node().getBBox();if(h.width+a*2-(y+F+x+E)>0){const de=h.width+a*2-(y+F+x+E);y+=de/D,F+=de/D,x>0&&(x+=de/D),E>0&&(E+=de/D)}const A=y+F+x+E,I=Dt.svg(d),M=Rt(t,{});t.look!=="handDrawn"&&(M.roughness=0,M.fillStyle="solid");let L=0;b.length>0&&(L=b.reduce((de,ie)=>de+((ie==null?void 0:ie.rowHeight)??0),0));const U=Math.max(w.width+a*2,(t==null?void 0:t.width)||0,A),j=Math.max((L??0)+h.height,(t==null?void 0:t.height)||0),z=-U/2,V=-j/2;d.selectAll("g:not(:first-child)").each((de,ie,ue)=>{const Ne=Rr(ue[ie]),pe=Ne.attr("transform");let Le=0,Me=0;if(pe){const Te=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(pe);Te&&(Le=parseFloat(Te[1]),Me=parseFloat(Te[2]),Ne.attr("class").includes("attribute-name")?Le+=y:Ne.attr("class").includes("attribute-keys")?Le+=y+F:Ne.attr("class").includes("attribute-comment")&&(Le+=y+F+x))}Ne.attr("transform",`translate(${z+a/2+Le}, ${Me+V+h.height+i/2})`)}),d.select(".name").attr("transform","translate("+-h.width/2+", "+(V+i/2)+")");const X=I.rectangle(z,V,U,j,M),q=d.insert(()=>X,":first-child").attr("style",o.join("")),{themeVariables:W}=ai(),{rowEven:B,rowOdd:te,nodeBorder:P}=W;m.push(0);for(const[de,ie]of b.entries()){const Ne=(de+1)%2===0&&ie.yOffset!==0,pe=I.rectangle(z,h.height+V+(ie==null?void 0:ie.yOffset),U,ie==null?void 0:ie.rowHeight,{...M,fill:Ne?B:te,stroke:P});d.insert(()=>pe,"g.label").attr("style",o.join("")).attr("class",`row-rect-${Ne?"even":"odd"}`)}let Z=I.line(z,h.height+V,U+z,h.height+V,M);d.insert(()=>Z).attr("class","divider"),Z=I.line(y+z,h.height+V,y+z,j+V,M),d.insert(()=>Z).attr("class","divider"),C&&(Z=I.line(y+F+z,h.height+V,y+F+z,j+V,M),d.insert(()=>Z).attr("class","divider")),_&&(Z=I.line(y+F+x+z,h.height+V,y+F+x+z,j+V,M),d.insert(()=>Z).attr("class","divider"));for(const de of m)Z=I.line(z,h.height+V+de,U+z,h.height+V+de,M),d.insert(()=>Z).attr("class","divider");if(Bt(t,q),l&&t.look!=="handDrawn"){const de=l.split(";"),ie=(oe=de==null?void 0:de.filter(ue=>ue.includes("stroke")))==null?void 0:oe.map(ue=>`${ue}`).join("; ");d.selectAll("path").attr("style",ie??""),d.selectAll(".row-rect-even path").attr("style",l)}return t.intersect=function(de){return At.rect(t,de)},d}H(jN,"erBox");async function Qd(e,t,r,n=0,a=0,i=[],o=""){const s=e.insert("g").attr("class",`label ${i.join(" ")}`).attr("transform",`translate(${n}, ${a})`).attr("style",o);t!==uz(t)&&(t=uz(t),t=t.replaceAll("<","<").replaceAll(">",">"));const l=s.node().appendChild(await _u(s,t,{width:fl(t,r)+100,style:o,useHtmlLabels:r.htmlLabels},r));if(t.includes("<")||t.includes(">")){let d=l.children[0];for(d.textContent=d.textContent.replaceAll("<","<").replaceAll(">",">");d.childNodes[0];)d=d.childNodes[0],d.textContent=d.textContent.replaceAll("<","<").replaceAll(">",">")}let u=l.getBBox();if(Vn(r.htmlLabels)){const d=l.children[0];d.style.textAlign="start";const h=Rr(l);u=d.getBoundingClientRect(),h.attr("width",u.width),h.attr("height",u.height)}return u}H(Qd,"addText");async function Tle(e,t,r,n,a=r.class.padding??12){const i=n?0:3,o=e.insert("g").attr("class",Qt(t)).attr("id",t.domId||t.id);let s=null,l=null,u=null,d=null,h=0,f=0,m=0;if(s=o.insert("g").attr("class","annotation-group text"),t.annotations.length>0){const E=t.annotations[0];await im(s,{text:`«${E}»`},0),h=s.node().getBBox().height}l=o.insert("g").attr("class","label-group text"),await im(l,t,0,["font-weight: bolder"]);const b=l.node().getBBox();f=b.height,u=o.insert("g").attr("class","members-group text");let y=0;for(const E of t.members){const C=await im(u,E,y,[E.parseClassifier()]);y+=C+i}m=u.node().getBBox().height,m<=0&&(m=a/2),d=o.insert("g").attr("class","methods-group text");let F=0;for(const E of t.methods){const C=await im(d,E,F,[E.parseClassifier()]);F+=C+i}let x=o.node().getBBox();if(s!==null){const E=s.node().getBBox();s.attr("transform",`translate(${-E.width/2})`)}return l.attr("transform",`translate(${-b.width/2}, ${h})`),x=o.node().getBBox(),u.attr("transform",`translate(0, ${h+f+a*2})`),x=o.node().getBBox(),d.attr("transform",`translate(0, ${h+f+(m?m+a*4:a*2)})`),x=o.node().getBBox(),{shapeSvg:o,bbox:x}}H(Tle,"textHelper");async function im(e,t,r,n=[]){const a=e.insert("g").attr("class","label").attr("style",n.join("; ")),i=ai();let o="useHtmlLabels"in t?t.useHtmlLabels:Vn(i.htmlLabels)??!0,s="";"text"in t?s=t.text:s=t.label,!o&&s.startsWith("\\")&&(s=s.substring(1)),zh(s)&&(o=!0);const l=await _u(a,v2(td(s)),{width:fl(s,i)+50,classes:"markdown-node-label",useHtmlLabels:o},i);let u,d=1;if(o){const h=l.children[0],f=Rr(l);d=h.innerHTML.split("<br>").length,h.innerHTML.includes("</math>")&&(d+=h.innerHTML.split("<mrow>").length-1);const m=h.getElementsByTagName("img");if(m){const b=s.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...m].map(y=>new Promise(F=>{function x(){var E;if(y.style.display="flex",y.style.flexDirection="column",b){const C=((E=i.fontSize)==null?void 0:E.toString())??window.getComputedStyle(document.body).fontSize,D=parseInt(C,10)*5+"px";y.style.minWidth=D,y.style.maxWidth=D}else y.style.width="100%";F(y)}H(x,"setupImage"),setTimeout(()=>{y.complete&&x()}),y.addEventListener("error",x),y.addEventListener("load",x)})))}u=h.getBoundingClientRect(),f.attr("width",u.width),f.attr("height",u.height)}else{n.includes("font-weight: bolder")&&Rr(l).selectAll("tspan").attr("font-weight",""),d=l.children.length;const h=l.children[0];(l.textContent===""||l.textContent.includes(">"))&&(h.textContent=s[0]+s.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),s[1]===" "&&(h.textContent=h.textContent[0]+" "+h.textContent.substring(1))),h.textContent==="undefined"&&(h.textContent=""),u=l.getBBox()}return a.attr("transform","translate(0,"+(-u.height/(2*d)+r)+")"),u.height}H(im,"addText");async function Ale(e,t){var M,L;const r=Or(),n=r.class.padding??12,a=n,i=t.useHtmlLabels??Vn(r.htmlLabels)??!0,o=t;o.annotations=o.annotations??[],o.members=o.members??[],o.methods=o.methods??[];const{shapeSvg:s,bbox:l}=await Tle(e,t,r,i,a),{labelStyles:u,nodeStyles:d}=Pt(t);t.labelStyle=u,t.cssStyles=o.styles||"";const h=((M=o.styles)==null?void 0:M.join(";"))||d||"";t.cssStyles||(t.cssStyles=h.replaceAll("!important","").split(";"));const f=o.members.length===0&&o.methods.length===0&&!((L=r.class)!=null&&L.hideEmptyMembersBox),m=Dt.svg(s),b=Rt(t,{});t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const y=l.width;let F=l.height;o.members.length===0&&o.methods.length===0?F+=a:o.members.length>0&&o.methods.length===0&&(F+=a*2);const x=-y/2,E=-F/2,C=m.rectangle(x-n,E-n-(f?n:o.members.length===0&&o.methods.length===0?-n/2:0),y+2*n,F+2*n+(f?n*2:o.members.length===0&&o.methods.length===0?-n:0),b),_=s.insert(()=>C,":first-child");_.attr("class","basic label-container");const D=_.node().getBBox();s.selectAll(".text").each((U,j,z)=>{var te;const V=Rr(z[j]),X=V.attr("transform");let q=0;if(X){const Z=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(X);Z&&(q=parseFloat(Z[2]))}let W=q+E+n-(f?n:o.members.length===0&&o.methods.length===0?-n/2:0);i||(W-=4);let B=x;(V.attr("class").includes("label-group")||V.attr("class").includes("annotation-group"))&&(B=-((te=V.node())==null?void 0:te.getBBox().width)/2||0,s.selectAll("text").each(function(P,Z,K){window.getComputedStyle(K[Z]).textAnchor==="middle"&&(B=0)})),V.attr("transform",`translate(${B}, ${W})`)});const w=s.select(".annotation-group").node().getBBox().height-(f?n/2:0)||0,A=s.select(".label-group").node().getBBox().height-(f?n/2:0)||0,I=s.select(".members-group").node().getBBox().height-(f?n/2:0)||0;if(o.members.length>0||o.methods.length>0||f){const U=m.line(D.x,w+A+E+n,D.x+D.width,w+A+E+n,b);s.insert(()=>U).attr("class","divider").attr("style",h)}if(f||o.members.length>0||o.methods.length>0){const U=m.line(D.x,w+A+I+E+a*2+n,D.x+D.width,w+A+I+E+n+a*2,b);s.insert(()=>U).attr("class","divider").attr("style",h)}if(o.look!=="handDrawn"&&s.selectAll("path").attr("style",h),_.select(":nth-child(2)").attr("style",h),s.selectAll(".divider").select("path").attr("style",h),t.labelStyle?s.selectAll("span").attr("style",t.labelStyle):s.selectAll("span").attr("style",h),!i){const U=RegExp(/color\s*:\s*([^;]*)/),j=U.exec(h);if(j){const z=j[0].replace("color","fill");s.selectAll("tspan").attr("style",z)}else if(u){const z=U.exec(u);if(z){const V=z[0].replace("color","fill");s.selectAll("tspan").attr("style",V)}}}return Bt(t,_),t.intersect=function(U){return At.rect(t,U)},s}H(Ale,"classBox");async function _le(e,t){var w,A;const{labelStyles:r,nodeStyles:n}=Pt(t);t.labelStyle=r;const a=t,i=t,o=20,s=20,l="verifyMethod"in t,u=Qt(t),d=e.insert("g").attr("class",u).attr("id",t.domId??t.id);let h;l?h=await Wo(d,`<<${a.type}>>`,0,t.labelStyle):h=await Wo(d,"<<Element>>",0,t.labelStyle);let f=h;const m=await Wo(d,a.name,f,t.labelStyle+"; font-weight: bold;");if(f+=m+s,l){const I=await Wo(d,`${a.requirementId?`id: ${a.requirementId}`:""}`,f,t.labelStyle);f+=I;const M=await Wo(d,`${a.text?`Text: ${a.text}`:""}`,f,t.labelStyle);f+=M;const L=await Wo(d,`${a.risk?`Risk: ${a.risk}`:""}`,f,t.labelStyle);f+=L,await Wo(d,`${a.verifyMethod?`Verification: ${a.verifyMethod}`:""}`,f,t.labelStyle)}else{const I=await Wo(d,`${i.type?`Type: ${i.type}`:""}`,f,t.labelStyle);f+=I,await Wo(d,`${i.docRef?`Doc Ref: ${i.docRef}`:""}`,f,t.labelStyle)}const b=(((w=d.node())==null?void 0:w.getBBox().width)??200)+o,y=(((A=d.node())==null?void 0:A.getBBox().height)??200)+o,F=-b/2,x=-y/2,E=Dt.svg(d),C=Rt(t,{});t.look!=="handDrawn"&&(C.roughness=0,C.fillStyle="solid");const _=E.rectangle(F,x,b,y,C),D=d.insert(()=>_,":first-child");if(D.attr("class","basic label-container").attr("style",n),d.selectAll(".label").each((I,M,L)=>{const U=Rr(L[M]),j=U.attr("transform");let z=0,V=0;if(j){const B=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(j);B&&(z=parseFloat(B[1]),V=parseFloat(B[2]))}const X=V-y/2;let q=F+o/2;(M===0||M===1)&&(q=z),U.attr("transform",`translate(${q}, ${X+o})`)}),f>h+m+s){const I=E.line(F,x+h+m+s,F+b,x+h+m+s,C);d.insert(()=>I).attr("style",n)}return Bt(t,D),t.intersect=function(I){return At.rect(t,I)},d}H(_le,"requirementBox");async function Wo(e,t,r,n=""){if(t==="")return 0;const a=e.insert("g").attr("class","label").attr("style",n),i=Or(),o=i.htmlLabels??!0,s=await _u(a,v2(td(t)),{width:fl(t,i)+50,classes:"markdown-node-label",useHtmlLabels:o,style:n},i);let l;if(o){const u=s.children[0],d=Rr(s);l=u.getBoundingClientRect(),d.attr("width",l.width),d.attr("height",l.height)}else{const u=s.children[0];for(const d of u.children)d.textContent=d.textContent.replaceAll(">",">").replaceAll("<","<"),n&&d.setAttribute("style",n);l=s.getBBox(),l.height+=6}return a.attr("transform",`translate(${-l.width/2},${-l.height/2+r})`),l.height}H(Wo,"addText");var EYe=H(e=>{switch(e){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function Dle(e,t,{config:r}){var j,z;const{labelStyles:n,nodeStyles:a}=Pt(t);t.labelStyle=n||"";const i=10,o=t.width;t.width=(t.width??200)-10;const{shapeSvg:s,bbox:l,label:u}=await rr(e,t,Qt(t)),d=t.padding||10;let h="",f;"ticket"in t&&t.ticket&&((j=r==null?void 0:r.kanban)!=null&&j.ticketBaseUrl)&&(h=(z=r==null?void 0:r.kanban)==null?void 0:z.ticketBaseUrl.replace("#TICKET#",t.ticket),f=s.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",h).attr("target","_blank"));const m={useHtmlLabels:t.useHtmlLabels,labelStyle:t.labelStyle||"",width:t.width,img:t.img,padding:t.padding||8,centerLabel:!1};let b,y;f?{label:b,bbox:y}=await Sw(f,"ticket"in t&&t.ticket||"",m):{label:b,bbox:y}=await Sw(s,"ticket"in t&&t.ticket||"",m);const{label:F,bbox:x}=await Sw(s,"assigned"in t&&t.assigned||"",m);t.width=o;const E=10,C=(t==null?void 0:t.width)||0,_=Math.max(y.height,x.height)/2,D=Math.max(l.height+E*2,(t==null?void 0:t.height)||0)+_,w=-C/2,A=-D/2;u.attr("transform","translate("+(d-C/2)+", "+(-_-l.height/2)+")"),b.attr("transform","translate("+(d-C/2)+", "+(-_+l.height/2)+")"),F.attr("transform","translate("+(d+C/2-x.width-2*i)+", "+(-_+l.height/2)+")");let I;const{rx:M,ry:L}=t,{cssStyles:U}=t;if(t.look==="handDrawn"){const V=Dt.svg(s),X=Rt(t,{}),q=M||L?V.path(El(w,A,C,D,M||0),X):V.rectangle(w,A,C,D,X);I=s.insert(()=>q,":first-child"),I.attr("class","basic label-container").attr("style",U||null)}else{I=s.insert("rect",":first-child"),I.attr("class","basic label-container __APA__").attr("style",a).attr("rx",M??5).attr("ry",L??5).attr("x",w).attr("y",A).attr("width",C).attr("height",D);const V="priority"in t&&t.priority;if(V){const X=s.append("line"),q=w+2,W=A+Math.floor((M??0)/2),B=A+D-Math.floor((M??0)/2);X.attr("x1",q).attr("y1",W).attr("x2",q).attr("y2",B).attr("stroke-width","4").attr("stroke",EYe(V))}}return Bt(t,I),t.height=D,t.intersect=function(V){return At.rect(t,V)},s}H(Dle,"kanbanItem");var SYe=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:dle},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:lle},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:hle},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:gle},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:Ise},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:Ase},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:ile},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:Gse},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:Zse},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:Jse},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:Ele},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:Yse},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:Bse},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:vle},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:Cse},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:ule},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:mle},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:fle},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:Hse},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:$se},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:Rse},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:Nse},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:Lse},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:Qse},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:wle},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:Use},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:Fle},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:ele},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:Mse},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:Ose},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:xle},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:Cle},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:Pse},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:Sle},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:zse},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:cle},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:nle},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:rle},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:kse},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Dse},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:yle},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:ble},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:kle},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:ole},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tle}],xYe=H(()=>{const t=[...Object.entries({state:ple,choice:Tse,note:ale,rectWithTitle:sle,labelRect:Xse,iconSquare:Vse,iconCircle:qse,icon:jse,iconRounded:Wse,imageSquare:Kse,anchor:wse,kanbanItem:Dle,classBox:Ale,erBox:jN,requirementBox:_le}),...SYe.flatMap(r=>[r.shortName,..."aliases"in r?r.aliases:[],..."internalAliases"in r?r.internalAliases:[]].map(a=>[a,r.handler]))];return Object.fromEntries(t)},"generateShapeMap"),Rle=xYe();function wYe(e){return e in Rle}H(wYe,"isValidShape");var P2=new Map;async function Nle(e,t,r){let n,a;t.shape==="rect"&&(t.rx&&t.ry?t.shape="roundedRect":t.shape="squareRect");const i=t.shape?Rle[t.shape]:void 0;if(!i)throw new Error(`No such shape: ${t.shape}. Please check your syntax.`);if(t.link){let o;r.config.securityLevel==="sandbox"?o="_top":t.linkTarget&&(o=t.linkTarget||"_blank"),n=e.insert("svg:a").attr("xlink:href",t.link).attr("target",o??null),a=await i(n,t,r)}else a=await i(e,t,r),n=a;return t.tooltip&&a.attr("title",t.tooltip),P2.set(t.id,n),t.haveCallback&&n.attr("class",n.attr("class")+" clickable"),n}H(Nle,"insertNode");var edt=H((e,t)=>{P2.set(t.id,e)},"setNodeElem"),tdt=H(()=>{P2.clear()},"clear"),rdt=H(e=>{const t=P2.get(e.id);je.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");const r=8,n=e.diff||0;return e.clusterNode?t.attr("transform","translate("+(e.x+n-e.width/2)+", "+(e.y-e.height/2-r)+")"):t.attr("transform","translate("+e.x+", "+e.y+")"),n},"positionNode"),kYe=H((e,t,r,n,a,i)=>{t.arrowTypeStart&&mH(e,"start",t.arrowTypeStart,r,n,a,i),t.arrowTypeEnd&&mH(e,"end",t.arrowTypeEnd,r,n,a,i)},"addEdgeMarkers"),CYe={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},mH=H((e,t,r,n,a,i,o)=>{var h;const s=CYe[r];if(!s){je.warn(`Unknown arrow type: ${r}`);return}const l=s.type,d=`${a}_${i}-${l}${t==="start"?"Start":"End"}`;if(o&&o.trim()!==""){const f=o.replace(/[^\dA-Za-z]/g,"_"),m=`${d}_${f}`;if(!document.getElementById(m)){const b=document.getElementById(d);if(b){const y=b.cloneNode(!0);y.id=m,y.querySelectorAll("path, circle, line").forEach(x=>{x.setAttribute("stroke",o),s.fill&&x.setAttribute("fill",o)}),(h=b.parentNode)==null||h.appendChild(y)}}e.attr(`marker-${t}`,`url(${n}#${m})`)}else e.attr(`marker-${t}`,`url(${n}#${d})`)},"addEdgeMarker"),ev=new Map,ha=new Map,ndt=H(()=>{ev.clear(),ha.clear()},"clear"),Vf=H(e=>e?e.reduce((r,n)=>r+";"+n,""):"","getLabelStyles"),TYe=H(async(e,t)=>{let r=Vn(Or().flowchart.htmlLabels);const n=await _u(e,t.label,{style:Vf(t.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1});je.info("abc82",t,t.labelType);const a=e.insert("g").attr("class","edgeLabel"),i=a.insert("g").attr("class","label");i.node().appendChild(n);let o=n.getBBox();if(r){const l=n.children[0],u=Rr(n);o=l.getBoundingClientRect(),u.attr("width",o.width),u.attr("height",o.height)}i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),ev.set(t.id,a),t.width=o.width,t.height=o.height;let s;if(t.startLabelLeft){const l=await bc(t.startLabelLeft,Vf(t.labelStyle)),u=e.insert("g").attr("class","edgeTerminals"),d=u.insert("g").attr("class","inner");s=d.node().appendChild(l);const h=l.getBBox();d.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),ha.get(t.id)||ha.set(t.id,{}),ha.get(t.id).startLeft=u,om(s,t.startLabelLeft)}if(t.startLabelRight){const l=await bc(t.startLabelRight,Vf(t.labelStyle)),u=e.insert("g").attr("class","edgeTerminals"),d=u.insert("g").attr("class","inner");s=u.node().appendChild(l),d.node().appendChild(l);const h=l.getBBox();d.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),ha.get(t.id)||ha.set(t.id,{}),ha.get(t.id).startRight=u,om(s,t.startLabelRight)}if(t.endLabelLeft){const l=await bc(t.endLabelLeft,Vf(t.labelStyle)),u=e.insert("g").attr("class","edgeTerminals"),d=u.insert("g").attr("class","inner");s=d.node().appendChild(l);const h=l.getBBox();d.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),u.node().appendChild(l),ha.get(t.id)||ha.set(t.id,{}),ha.get(t.id).endLeft=u,om(s,t.endLabelLeft)}if(t.endLabelRight){const l=await bc(t.endLabelRight,Vf(t.labelStyle)),u=e.insert("g").attr("class","edgeTerminals"),d=u.insert("g").attr("class","inner");s=d.node().appendChild(l);const h=l.getBBox();d.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),u.node().appendChild(l),ha.get(t.id)||ha.set(t.id,{}),ha.get(t.id).endRight=u,om(s,t.endLabelRight)}return n},"insertEdgeLabel");function om(e,t){Or().flowchart.htmlLabels&&e&&(e.style.width=t.length*9+"px",e.style.height="12px")}H(om,"setTerminalWidth");var AYe=H((e,t)=>{je.debug("Moving label abc88 ",e.id,e.label,ev.get(e.id),t);let r=t.updatedPath?t.updatedPath:t.originalPath;const n=Or(),{subGraphTitleTotalMargin:a}=lN(n);if(e.label){const i=ev.get(e.id);let o=e.x,s=e.y;if(r){const l=Qo.calcLabelPosition(r);je.debug("Moving label "+e.label+" from (",o,",",s,") to (",l.x,",",l.y,") abc88"),t.updatedPath&&(o=l.x,s=l.y)}i.attr("transform",`translate(${o}, ${s+a/2})`)}if(e.startLabelLeft){const i=ha.get(e.id).startLeft;let o=e.x,s=e.y;if(r){const l=Qo.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",r);o=l.x,s=l.y}i.attr("transform",`translate(${o}, ${s})`)}if(e.startLabelRight){const i=ha.get(e.id).startRight;let o=e.x,s=e.y;if(r){const l=Qo.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",r);o=l.x,s=l.y}i.attr("transform",`translate(${o}, ${s})`)}if(e.endLabelLeft){const i=ha.get(e.id).endLeft;let o=e.x,s=e.y;if(r){const l=Qo.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",r);o=l.x,s=l.y}i.attr("transform",`translate(${o}, ${s})`)}if(e.endLabelRight){const i=ha.get(e.id).endRight;let o=e.x,s=e.y;if(r){const l=Qo.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",r);o=l.x,s=l.y}i.attr("transform",`translate(${o}, ${s})`)}},"positionEdgeLabel"),_Ye=H((e,t)=>{const r=e.x,n=e.y,a=Math.abs(t.x-r),i=Math.abs(t.y-n),o=e.width/2,s=e.height/2;return a>=o||i>=s},"outsideNode"),DYe=H((e,t,r)=>{je.debug(`intersection calc abc89:
|
||
outsidePoint: ${JSON.stringify(t)}
|
||
insidePoint : ${JSON.stringify(r)}
|
||
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);const n=e.x,a=e.y,i=Math.abs(n-r.x),o=e.width/2;let s=r.x<t.x?o-i:o+i;const l=e.height/2,u=Math.abs(t.y-r.y),d=Math.abs(t.x-r.x);if(Math.abs(a-t.y)*o>Math.abs(n-t.x)*l){let h=r.y<t.y?t.y-l-a:a-l-t.y;s=d*h/u;const f={x:r.x<t.x?r.x+s:r.x-d+s,y:r.y<t.y?r.y+u-h:r.y-u+h};return s===0&&(f.x=t.x,f.y=t.y),d===0&&(f.x=t.x),u===0&&(f.y=t.y),je.debug(`abc89 top/bottom calc, Q ${u}, q ${h}, R ${d}, r ${s}`,f),f}else{r.x<t.x?s=t.x-o-n:s=n-o-t.x;let h=u*s/d,f=r.x<t.x?r.x+d-s:r.x-d+s,m=r.y<t.y?r.y+h:r.y-h;return je.debug(`sides calc abc89, Q ${u}, q ${h}, R ${d}, r ${s}`,{_x:f,_y:m}),s===0&&(f=t.x,m=t.y),d===0&&(f=t.x),u===0&&(m=t.y),{x:f,y:m}}},"intersection"),gH=H((e,t)=>{je.warn("abc88 cutPathAtIntersect",e,t);let r=[],n=e[0],a=!1;return e.forEach(i=>{if(je.info("abc88 checking point",i,t),!_Ye(t,i)&&!a){const o=DYe(t,n,i);je.debug("abc88 inside",i,n,o),je.debug("abc88 intersection",o,t);let s=!1;r.forEach(l=>{s=s||l.x===o.x&&l.y===o.y}),r.some(l=>l.x===o.x&&l.y===o.y)?je.warn("abc88 no intersect",o,r):r.push(o),a=!0}else je.warn("abc88 outside",i,n),n=i,a||r.push(i)}),je.debug("returning points",r),r},"cutPathAtIntersect");function Lle(e){const t=[],r=[];for(let n=1;n<e.length-1;n++){const a=e[n-1],i=e[n],o=e[n+1];(a.x===i.x&&i.y===o.y&&Math.abs(i.x-o.x)>5&&Math.abs(i.y-a.y)>5||a.y===i.y&&i.x===o.x&&Math.abs(i.x-a.x)>5&&Math.abs(i.y-o.y)>5)&&(t.push(i),r.push(n))}return{cornerPoints:t,cornerPointPositions:r}}H(Lle,"extractCornerPoints");var bH=H(function(e,t,r){const n=t.x-e.x,a=t.y-e.y,i=Math.sqrt(n*n+a*a),o=r/i;return{x:t.x-o*n,y:t.y-o*a}},"findAdjacentPoint"),RYe=H(function(e){const{cornerPointPositions:t}=Lle(e),r=[];for(let n=0;n<e.length;n++)if(t.includes(n)){const a=e[n-1],i=e[n+1],o=e[n],s=bH(a,o,5),l=bH(i,o,5),u=l.x-s.x,d=l.y-s.y;r.push(s);const h=Math.sqrt(2)*2;let f={x:o.x,y:o.y};if(Math.abs(i.x-a.x)>10&&Math.abs(i.y-a.y)>=10){je.debug("Corner point fixing",Math.abs(i.x-a.x),Math.abs(i.y-a.y));const m=5;o.x===s.x?f={x:u<0?s.x-m+h:s.x+m-h,y:d<0?s.y-h:s.y+h}:f={x:u<0?s.x-h:s.x+h,y:d<0?s.y-m+h:s.y+m-h}}else je.debug("Corner point skipping fixing",Math.abs(i.x-a.x),Math.abs(i.y-a.y));r.push(f,l)}else r.push(e[n]);return r},"fixCorners"),NYe=H(function(e,t,r,n,a,i,o){var M;const{handDrawnSeed:s}=Or();let l=t.points,u=!1;const d=a;var h=i;const f=[];for(const L in t.cssCompiledStyles)vie(L)||f.push(t.cssCompiledStyles[L]);h.intersect&&d.intersect&&(l=l.slice(1,t.points.length-1),l.unshift(d.intersect(l[0])),je.debug("Last point APA12",t.start,"-->",t.end,l[l.length-1],h,h.intersect(l[l.length-1])),l.push(h.intersect(l[l.length-1]))),t.toCluster&&(je.info("to cluster abc88",r.get(t.toCluster)),l=gH(t.points,r.get(t.toCluster).node),u=!0),t.fromCluster&&(je.debug("from cluster abc88",r.get(t.fromCluster),JSON.stringify(l,null,2)),l=gH(l.reverse(),r.get(t.fromCluster).node).reverse(),u=!0);let m=l.filter(L=>!Number.isNaN(L.y));m=RYe(m);let b=Db;switch(b=By,t.curve){case"linear":b=By;break;case"basis":b=Db;break;case"cardinal":b=eoe;break;case"bumpX":b=Yie;break;case"bumpY":b=Xie;break;case"catmullRom":b=roe;break;case"monotoneX":b=loe;break;case"monotoneY":b=uoe;break;case"natural":b=doe;break;case"step":b=hoe;break;case"stepAfter":b=foe;break;case"stepBefore":b=poe;break;default:b=Db}const{x:y,y:F}=tUe(t),x=Aje().x(y).y(F).curve(b);let E;switch(t.thickness){case"normal":E="edge-thickness-normal";break;case"thick":E="edge-thickness-thick";break;case"invisible":E="edge-thickness-invisible";break;default:E="edge-thickness-normal"}switch(t.pattern){case"solid":E+=" edge-pattern-solid";break;case"dotted":E+=" edge-pattern-dotted";break;case"dashed":E+=" edge-pattern-dashed";break;default:E+=" edge-pattern-solid"}let C,_=x(m);const D=Array.isArray(t.style)?t.style:t.style?[t.style]:[];let w=D.find(L=>L==null?void 0:L.startsWith("stroke:"));if(t.look==="handDrawn"){const L=Dt.svg(e);Object.assign([],m);const U=L.path(_,{roughness:.3,seed:s});E+=" transition",C=Rr(U).select("path").attr("id",t.id).attr("class"," "+E+(t.classes?" "+t.classes:"")).attr("style",D?D.reduce((z,V)=>z+";"+V,""):"");let j=C.attr("d");C.attr("d",j),e.node().appendChild(C.node())}else{const L=f.join(";"),U=D?D.reduce((V,X)=>V+X+";",""):"";let j="";t.animate&&(j=" edge-animation-fast"),t.animation&&(j=" edge-animation-"+t.animation);const z=L?L+";"+U+";":U;C=e.append("path").attr("d",_).attr("id",t.id).attr("class"," "+E+(t.classes?" "+t.classes:"")+(j??"")).attr("style",z),w=(M=z.match(/stroke:([^;]+)/))==null?void 0:M[1]}let A="";(Or().flowchart.arrowMarkerAbsolute||Or().state.arrowMarkerAbsolute)&&(A=Ine(!0)),je.info("arrowTypeStart",t.arrowTypeStart),je.info("arrowTypeEnd",t.arrowTypeEnd),kYe(C,t,A,o,n,w);let I={};return u&&(I.updatedPath=l),I.originalPath=t.points,I},"insertEdge"),LYe=H((e,t,r,n)=>{t.forEach(a=>{YYe[a](e,r,n)})},"insertMarkers"),MYe=H((e,t,r)=>{je.trace("Making markers for ",r),e.append("defs").append("marker").attr("id",r+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),IYe=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),OYe=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),BYe=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),PYe=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",r+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),zYe=H((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",r+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),HYe=H((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",r+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),UYe=H((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",r+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),GYe=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),$Ye=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),e.append("defs").append("marker").attr("id",r+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),jYe=H((e,t,r)=>{const n=e.append("defs").append("marker").attr("id",r+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("d","M9,0 L9,18");const a=e.append("defs").append("marker").attr("id",r+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),a.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),qYe=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),e.append("defs").append("marker").attr("id",r+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),WYe=H((e,t,r)=>{const n=e.append("defs").append("marker").attr("id",r+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");const a=e.append("defs").append("marker").attr("id",r+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),a.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),VYe=H((e,t,r)=>{e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
|
||
L20,10
|
||
M20,10
|
||
L0,20`)},"requirement_arrow"),KYe=H((e,t,r)=>{const n=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),YYe={extension:MYe,composition:IYe,aggregation:OYe,dependency:BYe,lollipop:PYe,point:zYe,circle:HYe,cross:UYe,barb:GYe,only_one:$Ye,zero_or_one:jYe,one_or_more:qYe,zero_or_more:WYe,requirement_arrow:VYe,requirement_contains:KYe},XYe=LYe,JYe={common:bp,getConfig:ai,insertCluster:iYe,insertEdge:NYe,insertEdgeLabel:TYe,insertMarkers:XYe,insertNode:Nle,interpolateToCurve:kN,labelHelper:rr,log:je,positionEdgeLabel:AYe},Xm={},Mle=H(e=>{for(const t of e)Xm[t.name]=t},"registerLayoutLoaders"),ZYe=H(()=>{Mle([{name:"dagre",loader:H(async()=>await Br(()=>import("./dagre-JOIXM2OF-BOgsd5OI.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader")}])},"registerDefaultLayoutLoaders");ZYe();var adt=H(async(e,t)=>{if(!(e.layoutAlgorithm in Xm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);const r=Xm[e.layoutAlgorithm];return(await r.loader()).render(e,t,JYe,{algorithm:r.algorithm})},"render"),idt=H((e="",{fallback:t="dagre"}={})=>{if(e in Xm)return e;if(t in Xm)return je.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw new Error(`Both layout algorithms ${e} and ${t} are not registered.`)},"getRegisteredLayoutAlgorithm"),yH={version:"11.9.0"},QYe=H(e=>{var a;const{securityLevel:t}=Or();let r=Rr("body");if(t==="sandbox"){const o=((a=Rr(`#i${e}`).node())==null?void 0:a.contentDocument)??document;r=Rr(o.body)}return r.select(`#${e}`)},"selectSvgElement"),Ile="comm",Ole="rule",Ble="decl",eXe="@import",tXe="@namespace",rXe="@keyframes",nXe="@layer",Ple=Math.abs,qN=String.fromCharCode;function zle(e){return e.trim()}function Mb(e,t,r){return e.replace(t,r)}function aXe(e,t,r){return e.indexOf(t,r)}function hh(e,t){return e.charCodeAt(t)|0}function jh(e,t,r){return e.slice(t,r)}function Ko(e){return e.length}function iXe(e){return e.length}function Y1(e,t){return t.push(e),e}var z2=1,qh=1,Hle=0,so=0,In=0,Sp="";function WN(e,t,r,n,a,i,o,s){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:z2,column:qh,length:o,return:"",siblings:s}}function oXe(){return In}function sXe(){return In=so>0?hh(Sp,--so):0,qh--,In===10&&(qh=1,z2--),In}function Co(){return In=so<Hle?hh(Sp,so++):0,qh++,In===10&&(qh=1,z2++),In}function lu(){return hh(Sp,so)}function Ib(){return so}function H2(e,t){return jh(Sp,e,t)}function Jm(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lXe(e){return z2=qh=1,Hle=Ko(Sp=e),so=0,[]}function uXe(e){return Sp="",e}function xw(e){return zle(H2(so-1,k6(e===91?e+2:e===40?e+1:e)))}function cXe(e){for(;(In=lu())&&In<33;)Co();return Jm(e)>2||Jm(In)>3?"":" "}function dXe(e,t){for(;--t&&Co()&&!(In<48||In>102||In>57&&In<65||In>70&&In<97););return H2(e,Ib()+(t<6&&lu()==32&&Co()==32))}function k6(e){for(;Co();)switch(In){case e:return so;case 34:case 39:e!==34&&e!==39&&k6(In);break;case 40:e===41&&k6(e);break;case 92:Co();break}return so}function hXe(e,t){for(;Co()&&e+In!==57;)if(e+In===84&&lu()===47)break;return"/*"+H2(t,so-1)+"*"+qN(e===47?e:Co())}function pXe(e){for(;!Jm(lu());)Co();return H2(e,so)}function fXe(e){return uXe(Ob("",null,null,null,[""],e=lXe(e),0,[0],e))}function Ob(e,t,r,n,a,i,o,s,l){for(var u=0,d=0,h=o,f=0,m=0,b=0,y=1,F=1,x=1,E=0,C="",_=a,D=i,w=n,A=C;F;)switch(b=E,E=Co()){case 40:if(b!=108&&hh(A,h-1)==58){aXe(A+=Mb(xw(E),"&","&\f"),"&\f",Ple(u?s[u-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:A+=xw(E);break;case 9:case 10:case 13:case 32:A+=cXe(b);break;case 92:A+=dXe(Ib()-1,7);continue;case 47:switch(lu()){case 42:case 47:Y1(mXe(hXe(Co(),Ib()),t,r,l),l),(Jm(b||1)==5||Jm(lu()||1)==5)&&Ko(A)&&jh(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*y:s[u++]=Ko(A)*x;case 125*y:case 59:case 0:switch(E){case 0:case 125:F=0;case 59+d:x==-1&&(A=Mb(A,/\f/g,"")),m>0&&(Ko(A)-h||y===0&&b===47)&&Y1(m>32?FH(A+";",n,r,h-1,l):FH(Mb(A," ","")+";",n,r,h-2,l),l);break;case 59:A+=";";default:if(Y1(w=vH(A,t,r,u,d,a,s,C,_=[],D=[],h,i),i),E===123)if(d===0)Ob(A,t,w,w,_,i,h,s,D);else{switch(f){case 99:if(hh(A,3)===110)break;case 108:if(hh(A,2)===97)break;default:d=0;case 100:case 109:case 115:}d?Ob(e,w,w,n&&Y1(vH(e,w,w,0,0,a,s,C,a,_=[],h,D),D),a,D,h,s,n?_:D):Ob(A,w,w,w,[""],D,0,s,D)}}u=d=m=0,y=x=1,C=A="",h=o;break;case 58:h=1+Ko(A),m=b;default:if(y<1){if(E==123)--y;else if(E==125&&y++==0&&sXe()==125)continue}switch(A+=qN(E),E*y){case 38:x=d>0?1:(A+="\f",-1);break;case 44:s[u++]=(Ko(A)-1)*x,x=1;break;case 64:lu()===45&&(A+=xw(Co())),f=lu(),d=h=Ko(C=A+=pXe(Ib())),E++;break;case 45:b===45&&Ko(A)==2&&(y=0)}}return i}function vH(e,t,r,n,a,i,o,s,l,u,d,h){for(var f=a-1,m=a===0?i:[""],b=iXe(m),y=0,F=0,x=0;y<n;++y)for(var E=0,C=jh(e,f+1,f=Ple(F=o[y])),_=e;E<b;++E)(_=zle(F>0?m[E]+" "+C:Mb(C,/&\f/g,m[E])))&&(l[x++]=_);return WN(e,t,r,a===0?Ole:s,l,u,d,h)}function mXe(e,t,r,n){return WN(e,t,r,Ile,qN(oXe()),jh(e,2,-2),0,n)}function FH(e,t,r,n,a){return WN(e,t,r,Ble,jh(e,0,n),jh(e,n+1,-1),n,a)}function C6(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function gXe(e,t,r,n){switch(e.type){case nXe:if(e.children.length)break;case eXe:case tXe:case Ble:return e.return=e.return||e.value;case Ile:return"";case rXe:return e.return=e.value+"{"+C6(e.children,n)+"}";case Ole:if(!Ko(e.value=e.props.join(",")))return""}return Ko(r=C6(e.children,n))?e.return=e.value+"{"+r+"}":""}var bXe=yoe(Object.keys,Object),yXe=Object.prototype,vXe=yXe.hasOwnProperty;function FXe(e){if(!D2(e))return bXe(e);var t=[];for(var r in Object(e))vXe.call(e,r)&&r!="constructor"&&t.push(r);return t}var T6=ed(ys,"DataView"),A6=ed(ys,"Promise"),_6=ed(ys,"Set"),D6=ed(ys,"WeakMap"),EH="[object Map]",EXe="[object Object]",SH="[object Promise]",xH="[object Set]",wH="[object WeakMap]",kH="[object DataView]",SXe=Qc(T6),xXe=Qc(Ym),wXe=Qc(A6),kXe=Qc(_6),CXe=Qc(D6),lc=vp;(T6&&lc(new T6(new ArrayBuffer(1)))!=kH||Ym&&lc(new Ym)!=EH||A6&&lc(A6.resolve())!=SH||_6&&lc(new _6)!=xH||D6&&lc(new D6)!=wH)&&(lc=function(e){var t=vp(e),r=t==EXe?e.constructor:void 0,n=r?Qc(r):"";if(n)switch(n){case SXe:return kH;case xXe:return EH;case wXe:return SH;case kXe:return xH;case CXe:return wH}return t});var TXe="[object Map]",AXe="[object Set]",_Xe=Object.prototype,DXe=_Xe.hasOwnProperty;function CH(e){if(e==null)return!0;if(R2(e)&&(jy(e)||typeof e=="string"||typeof e.splice=="function"||xN(e)||wN(e)||$y(e)))return!e.length;var t=lc(e);if(t==TXe||t==AXe)return!e.size;if(D2(e))return!FXe(e).length;for(var r in e)if(DXe.call(e,r))return!1;return!0}var Ule="c4",RXe=H(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),NXe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./c4Diagram-6F6E4RAY-D__gcenR.js");return{diagram:t}},__vite__mapDeps([6,7]));return{id:Ule,diagram:e}},"loader"),LXe={id:Ule,detector:RXe,loader:NXe},MXe=LXe,Gle="flowchart",IXe=H((e,t)=>{var r,n;return((r=t==null?void 0:t.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"||((n=t==null?void 0:t.flowchart)==null?void 0:n.defaultRenderer)==="elk"?!1:/^\s*graph/.test(e)},"detector"),OXe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./flowDiagram-KYDEHFYC-DqicljNB.js");return{diagram:t}},__vite__mapDeps([8,9,10,11,12]));return{id:Gle,diagram:e}},"loader"),BXe={id:Gle,detector:IXe,loader:OXe},PXe=BXe,$le="flowchart-v2",zXe=H((e,t)=>{var r,n,a;return((r=t==null?void 0:t.flowchart)==null?void 0:r.defaultRenderer)==="dagre-d3"?!1:(((n=t==null?void 0:t.flowchart)==null?void 0:n.defaultRenderer)==="elk"&&(t.layout="elk"),/^\s*graph/.test(e)&&((a=t==null?void 0:t.flowchart)==null?void 0:a.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(e))},"detector"),HXe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./flowDiagram-KYDEHFYC-DqicljNB.js");return{diagram:t}},__vite__mapDeps([8,9,10,11,12]));return{id:$le,diagram:e}},"loader"),UXe={id:$le,detector:zXe,loader:HXe},GXe=UXe,jle="er",$Xe=H(e=>/^\s*erDiagram/.test(e),"detector"),jXe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./erDiagram-3M52JZNH-Df8Y6784.js");return{diagram:t}},__vite__mapDeps([13,10,11,12]));return{id:jle,diagram:e}},"loader"),qXe={id:jle,detector:$Xe,loader:jXe},WXe=qXe,qle="gitGraph",VXe=H(e=>/^\s*gitGraph/.test(e),"detector"),KXe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./gitGraphDiagram-GW3U2K7C-DZ0ieBSO.js");return{diagram:t}},__vite__mapDeps([14,15,16,17,2,4,5]));return{id:qle,diagram:e}},"loader"),YXe={id:qle,detector:VXe,loader:KXe},XXe=YXe,Wle="gantt",JXe=H(e=>/^\s*gantt/.test(e),"detector"),ZXe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./ganttDiagram-EK5VF46D-DwLPqhwB.js");return{diagram:t}},__vite__mapDeps([18,19,20,21]));return{id:Wle,diagram:e}},"loader"),QXe={id:Wle,detector:JXe,loader:ZXe},eJe=QXe,Vle="info",tJe=H(e=>/^\s*info/.test(e),"detector"),rJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./infoDiagram-LHK5PUON-D6tbt8Cv.js");return{diagram:t}},__vite__mapDeps([22,17,2,4,5]));return{id:Vle,diagram:e}},"loader"),nJe={id:Vle,detector:tJe,loader:rJe},Kle="pie",aJe=H(e=>/^\s*pie/.test(e),"detector"),iJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./pieDiagram-NIOCPIFQ-DeTCpBAx.js");return{diagram:t}},__vite__mapDeps([23,15,17,2,4,5,24,25,20]));return{id:Kle,diagram:e}},"loader"),oJe={id:Kle,detector:aJe,loader:iJe},Yle="quadrantChart",sJe=H(e=>/^\s*quadrantChart/.test(e),"detector"),lJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./quadrantDiagram-2OG54O6I-BoB9YrlU.js");return{diagram:t}},__vite__mapDeps([26,19,20,21]));return{id:Yle,diagram:e}},"loader"),uJe={id:Yle,detector:sJe,loader:lJe},cJe=uJe,Xle="xychart",dJe=H(e=>/^\s*xychart-beta/.test(e),"detector"),hJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./xychartDiagram-H2YORKM3-_2gNksZO.js");return{diagram:t}},__vite__mapDeps([27,20,25,19,21]));return{id:Xle,diagram:e}},"loader"),pJe={id:Xle,detector:dJe,loader:hJe},fJe=pJe,Jle="requirement",mJe=H(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),gJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./requirementDiagram-QOLK2EJ7-DNTM2S8P.js");return{diagram:t}},__vite__mapDeps([28,10,11]));return{id:Jle,diagram:e}},"loader"),bJe={id:Jle,detector:mJe,loader:gJe},yJe=bJe,Zle="sequence",vJe=H(e=>/^\s*sequenceDiagram/.test(e),"detector"),FJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./sequenceDiagram-SKLFT4DO-D8kz91Ev.js");return{diagram:t}},__vite__mapDeps([29,7,16]));return{id:Zle,diagram:e}},"loader"),EJe={id:Zle,detector:vJe,loader:FJe},SJe=EJe,Qle="class",xJe=H((e,t)=>{var r;return((r=t==null?void 0:t.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(e)},"detector"),wJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./classDiagram-M3E45YP4-CtKtKEN8.js");return{diagram:t}},__vite__mapDeps([30,31,9,10,11]));return{id:Qle,diagram:e}},"loader"),kJe={id:Qle,detector:xJe,loader:wJe},CJe=kJe,eue="classDiagram",TJe=H((e,t)=>{var r;return/^\s*classDiagram/.test(e)&&((r=t==null?void 0:t.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(e)},"detector"),AJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./classDiagram-v2-YAWTLIQI-CtKtKEN8.js");return{diagram:t}},__vite__mapDeps([32,31,9,10,11]));return{id:eue,diagram:e}},"loader"),_Je={id:eue,detector:TJe,loader:AJe},DJe=_Je,tue="state",RJe=H((e,t)=>{var r;return((r=t==null?void 0:t.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(e)},"detector"),NJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./stateDiagram-MI5ZYTHO-B_q7wnbg.js");return{diagram:t}},__vite__mapDeps([33,34,10,11,1,2,3,4]));return{id:tue,diagram:e}},"loader"),LJe={id:tue,detector:RJe,loader:NJe},MJe=LJe,rue="stateDiagram",IJe=H((e,t)=>{var r;return!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&((r=t==null?void 0:t.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},"detector"),OJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./stateDiagram-v2-5AN5P6BG-CLuyQWVD.js");return{diagram:t}},__vite__mapDeps([35,34,10,11]));return{id:rue,diagram:e}},"loader"),BJe={id:rue,detector:IJe,loader:OJe},PJe=BJe,nue="journey",zJe=H(e=>/^\s*journey/.test(e),"detector"),HJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./journeyDiagram-EWQZEKCU-BvwHSbzl.js");return{diagram:t}},__vite__mapDeps([36,7,9,24]));return{id:nue,diagram:e}},"loader"),UJe={id:nue,detector:zJe,loader:HJe},GJe=UJe,$Je=H((e,t,r)=>{je.debug(`rendering svg for syntax error
|
||
`);const n=QYe(t),a=n.append("g");n.attr("viewBox","0 0 2412 512"),One(n,100,512,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),aue={draw:$Je},jJe=aue,qJe={db:{},renderer:aue,parser:{parse:H(()=>{},"parse")}},WJe=qJe,iue="flowchart-elk",VJe=H((e,t={})=>{var r;return/^\s*flowchart-elk/.test(e)||/^\s*flowchart|graph/.test(e)&&((r=t==null?void 0:t.flowchart)==null?void 0:r.defaultRenderer)==="elk"?(t.layout="elk",!0):!1},"detector"),KJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./flowDiagram-KYDEHFYC-DqicljNB.js");return{diagram:t}},__vite__mapDeps([8,9,10,11,12]));return{id:iue,diagram:e}},"loader"),YJe={id:iue,detector:VJe,loader:KJe},XJe=YJe,oue="timeline",JJe=H(e=>/^\s*timeline/.test(e),"detector"),ZJe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./timeline-definition-MYPXXCX6-DKrn60Fe.js");return{diagram:t}},__vite__mapDeps([37,24]));return{id:oue,diagram:e}},"loader"),QJe={id:oue,detector:JJe,loader:ZJe},eZe=QJe,sue="mindmap",tZe=H(e=>/^\s*mindmap/.test(e),"detector"),rZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./mindmap-definition-6CBA2TL7-BAMs8lsW.js");return{diagram:t}},__vite__mapDeps([38,39]));return{id:sue,diagram:e}},"loader"),nZe={id:sue,detector:tZe,loader:rZe},aZe=nZe,lue="kanban",iZe=H(e=>/^\s*kanban/.test(e),"detector"),oZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./kanban-definition-ZSS6B67P-CkDtg-z1.js");return{diagram:t}},__vite__mapDeps([40,9]));return{id:lue,diagram:e}},"loader"),sZe={id:lue,detector:iZe,loader:oZe},lZe=sZe,uue="sankey",uZe=H(e=>/^\s*sankey-beta/.test(e),"detector"),cZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./sankeyDiagram-4UZDY2LN-BdzX2574.js");return{diagram:t}},__vite__mapDeps([41,25,20]));return{id:uue,diagram:e}},"loader"),dZe={id:uue,detector:uZe,loader:cZe},hZe=dZe,cue="packet",pZe=H(e=>/^\s*packet(-beta)?/.test(e),"detector"),fZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./diagram-5UYTHUR4-drHgj1y7.js");return{diagram:t}},__vite__mapDeps([42,15,17,2,4,5]));return{id:cue,diagram:e}},"loader"),mZe={id:cue,detector:pZe,loader:fZe},due="radar",gZe=H(e=>/^\s*radar-beta/.test(e),"detector"),bZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./diagram-ZTM2IBQH-Fm-2H3OV.js");return{diagram:t}},__vite__mapDeps([43,15,17,2,4,5]));return{id:due,diagram:e}},"loader"),yZe={id:due,detector:gZe,loader:bZe},hue="block",vZe=H(e=>/^\s*block-beta/.test(e),"detector"),FZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./blockDiagram-6J76NXCF-uKai_NGQ.js");return{diagram:t}},__vite__mapDeps([44,9,5,2,1,12]));return{id:hue,diagram:e}},"loader"),EZe={id:hue,detector:vZe,loader:FZe},SZe=EZe,pue="architecture",xZe=H(e=>/^\s*architecture/.test(e),"detector"),wZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./architectureDiagram-SUXI7LT5-CykL5gar.js");return{diagram:t}},__vite__mapDeps([45,15,16,17,2,4,5,39]));return{id:pue,diagram:e}},"loader"),kZe={id:pue,detector:xZe,loader:wZe},CZe=kZe,fue="treemap",TZe=H(e=>/^\s*treemap/.test(e),"detector"),AZe=H(async()=>{const{diagram:e}=await Br(async()=>{const{diagram:t}=await import("./diagram-VMROVX33-C95hc9hP.js");return{diagram:t}},__vite__mapDeps([46,11,15,17,2,4,5,21,25,20]));return{id:fue,diagram:e}},"loader"),_Ze={id:fue,detector:TZe,loader:AZe},TH=!1,U2=H(()=>{TH||(TH=!0,wy("error",WJe,e=>e.toLowerCase().trim()==="error"),wy("---",{db:{clear:H(()=>{},"clear")},styles:{},renderer:{draw:H(()=>{},"draw")},parser:{parse:H(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:H(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),PD(XJe,aZe,CZe),PD(MXe,lZe,DJe,CJe,WXe,eJe,nJe,oJe,yJe,SJe,GXe,PXe,eZe,XXe,PJe,MJe,GJe,cJe,hZe,mZe,fJe,SZe,yZe,_Ze))},"addDiagrams"),DZe=H(async()=>{je.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Mc).map(async([r,{detector:n,loader:a}])=>{if(a)try{GD(r)}catch{try{const{diagram:i,id:o}=await a();wy(o,i,n)}catch(i){throw je.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Mc[r],i}}}))).filter(r=>r.status==="rejected");if(t.length>0){je.error(`Failed to load ${t.length} external diagrams`);for(const r of t)je.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),RZe="graphics-document document";function mue(e,t){e.attr("role",RZe),t!==""&&e.attr("aria-roledescription",t)}H(mue,"setA11yDiagramInfo");function gue(e,t,r,n){if(e.insert!==void 0){if(r){const a=`chart-desc-${n}`;e.attr("aria-describedby",a),e.insert("desc",":first-child").attr("id",a).text(r)}if(t){const a=`chart-title-${n}`;e.attr("aria-labelledby",a),e.insert("title",":first-child").attr("id",a).text(t)}}}H(gue,"addSVGa11yTitleDescription");var xc,R6=(xc=class{constructor(t,r,n,a,i){this.type=t,this.text=r,this.db=n,this.parser=a,this.renderer=i}static async fromText(t,r={}){var u,d;const n=ai(),a=Y5(t,n);t=AVe(t)+`
|
||
`;try{GD(a)}catch{const h=rze(a);if(!h)throw new Sne(`Diagram ${a} not found.`);const{id:f,diagram:m}=await h();wy(f,m)}const{db:i,parser:o,renderer:s,init:l}=GD(a);return o.parser&&(o.parser.yy=i),(u=i.clear)==null||u.call(i),l==null||l(n),r.title&&((d=i.setDiagramTitle)==null||d.call(i,r.title)),await o.parse(t),new xc(a,t,i,o,s)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},H(xc,"Diagram"),xc),AH=[],NZe=H(()=>{AH.forEach(e=>{e()}),AH=[]},"attachFunctions"),LZe=H(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function bue(e){const t=e.match(Ene);if(!t)return{text:e,metadata:{}};let r=eUe(t[1],{schema:QHe})??{};r=typeof r=="object"&&!Array.isArray(r)?r:{};const n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:e.slice(t[0].length),metadata:n}}H(bue,"extractFrontMatter");var MZe=H(e=>e.replace(/\r\n?/g,`
|
||
`).replace(/<(\w+)([^>]*)>/g,(t,r,n)=>"<"+r+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),IZe=H(e=>{const{text:t,metadata:r}=bue(e),{displayMode:n,title:a,config:i={}}=r;return n&&(i.gantt||(i.gantt={}),i.gantt.displayMode=n),{title:a,config:i,text:t}},"processFrontmatter"),OZe=H(e=>{const t=Qo.detectInit(e)??{},r=Qo.detectDirective(e,"wrap");return Array.isArray(r)?t.wrap=r.some(({type:n})=>n==="wrap"):(r==null?void 0:r.type)==="wrap"&&(t.wrap=!0),{text:mVe(e),directive:t}},"processDirectives");function VN(e){const t=MZe(e),r=IZe(t),n=OZe(r.text),a=DN(r.config,n.directive);return e=LZe(n.text),{code:e,title:r.title,config:a}}H(VN,"preprocessDiagram");function yue(e){const t=new TextEncoder().encode(e),r=Array.from(t,n=>String.fromCodePoint(n)).join("");return btoa(r)}H(yue,"toBase64");var BZe=5e4,PZe="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",zZe="sandbox",HZe="loose",UZe="http://www.w3.org/2000/svg",GZe="http://www.w3.org/1999/xlink",$Ze="http://www.w3.org/1999/xhtml",jZe="100%",qZe="100%",WZe="border:0;margin:0;",VZe="margin:0",KZe="allow-top-navigation-by-user-activation allow-popups",YZe='The "iframe" tag is not supported by your browser.',XZe=["foreignobject"],JZe=["dominant-baseline"];function KN(e){const t=VN(e);return Sy(),yze(t.config??{}),t}H(KN,"processAndSetConfigs");async function vue(e,t){U2();try{const{code:r,config:n}=KN(e);return{diagramType:(await Eue(r)).type,config:n}}catch(r){if(t!=null&&t.suppressErrors)return!1;throw r}}H(vue,"parse");var _H=H((e,t,r=[])=>`
|
||
.${e} ${t} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),ZZe=H((e,t=new Map)=>{var n;let r="";if(e.themeCSS!==void 0&&(r+=`
|
||
${e.themeCSS}`),e.fontFamily!==void 0&&(r+=`
|
||
:root { --mermaid-font-family: ${e.fontFamily}}`),e.altFontFamily!==void 0&&(r+=`
|
||
:root { --mermaid-alt-font-family: ${e.altFontFamily}}`),t instanceof Map){const s=e.htmlLabels??((n=e.flowchart)==null?void 0:n.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];t.forEach(l=>{CH(l.styles)||s.forEach(u=>{r+=_H(l.id,u,l.styles)}),CH(l.textStyles)||(r+=_H(l.id,"tspan",((l==null?void 0:l.textStyles)||[]).map(u=>u.replace("color","fill"))))})}return r},"createCssStyles"),QZe=H((e,t,r,n)=>{const a=ZZe(e,r),i=Oze(t,a,e.themeVariables);return C6(fXe(`${n}{${i}}`),gXe)},"createUserStyles"),eQe=H((e="",t,r)=>{let n=e;return!r&&!t&&(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=td(n),n=n.replace(/<br>/g,"<br/>"),n},"cleanUpSvgCode"),tQe=H((e="",t)=>{var a,i;const r=(i=(a=t==null?void 0:t.viewBox)==null?void 0:a.baseVal)!=null&&i.height?t.viewBox.baseVal.height+"px":qZe,n=yue(`<body style="${VZe}">${e}</body>`);return`<iframe style="width:${jZe};height:${r};${WZe}" src="data:text/html;charset=UTF-8;base64,${n}" sandbox="${KZe}">
|
||
${YZe}
|
||
</iframe>`},"putIntoIFrame"),DH=H((e,t,r,n,a)=>{const i=e.append("div");i.attr("id",r),n&&i.attr("style",n);const o=i.append("svg").attr("id",t).attr("width","100%").attr("xmlns",UZe);return a&&o.attr("xmlns:xlink",a),o.append("g"),e},"appendDivSvgG");function N6(e,t){return e.append("iframe").attr("id",t).attr("style","width: 100%; height: 100%;").attr("sandbox","")}H(N6,"sandboxedIframe");var rQe=H((e,t,r,n)=>{var a,i,o;(a=e.getElementById(t))==null||a.remove(),(i=e.getElementById(r))==null||i.remove(),(o=e.getElementById(n))==null||o.remove()},"removeExistingElements"),nQe=H(async function(e,t,r){var j,z,V,X,q,W;U2();const n=KN(t);t=n.code;const a=ai();je.debug(a),t.length>((a==null?void 0:a.maxTextSize)??BZe)&&(t=PZe);const i="#"+e,o="i"+e,s="#"+o,l="d"+e,u="#"+l,d=H(()=>{const te=Rr(f?s:u).node();te&&"remove"in te&&te.remove()},"removeTempElements");let h=Rr("body");const f=a.securityLevel===zZe,m=a.securityLevel===HZe,b=a.fontFamily;if(r!==void 0){if(r&&(r.innerHTML=""),f){const B=N6(Rr(r),o);h=Rr(B.nodes()[0].contentDocument.body),h.node().style.margin=0}else h=Rr(r);DH(h,e,l,`font-family: ${b}`,GZe)}else{if(rQe(document,e,l,o),f){const B=N6(Rr("body"),o);h=Rr(B.nodes()[0].contentDocument.body),h.node().style.margin=0}else h=Rr("body");DH(h,e,l)}let y,F;try{y=await R6.fromText(t,{title:n.title})}catch(B){if(a.suppressErrorRendering)throw d(),B;y=await R6.fromText("error"),F=B}const x=h.select(u).node(),E=y.type,C=x.firstChild,_=C.firstChild,D=(z=(j=y.renderer).getClasses)==null?void 0:z.call(j,t,y),w=QZe(a,E,D,i),A=document.createElement("style");A.innerHTML=w,C.insertBefore(A,_);try{await y.renderer.draw(t,e,yH.version,y)}catch(B){throw a.suppressErrorRendering?d():jJe.draw(t,e,yH.version),B}const I=h.select(`${u} svg`),M=(X=(V=y.db).getAccTitle)==null?void 0:X.call(V),L=(W=(q=y.db).getAccDescription)==null?void 0:W.call(q);Sue(E,I,M,L),h.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns",$Ze);let U=h.select(u).node().innerHTML;if(je.debug("config.arrowMarkerAbsolute",a.arrowMarkerAbsolute),U=eQe(U,f,Vn(a.arrowMarkerAbsolute)),f){const B=h.select(u+" svg").node();U=tQe(U,B)}else m||(U=Oh.sanitize(U,{ADD_TAGS:XZe,ADD_ATTR:JZe,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(NZe(),F)throw F;return d(),{diagramType:E,svg:U,bindFunctions:y.db.bindFunctions}},"render");function Fue(e={}){var n;const t=ga({},e);t!=null&&t.fontFamily&&!((n=t.themeVariables)!=null&&n.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),gze(t),t!=null&&t.theme&&t.theme in al?t.themeVariables=al[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=al.default.getThemeVariables(t.themeVariables));const r=typeof t=="object"?mze(t):Ane();K5(r.logLevel),U2()}H(Fue,"initialize");var Eue=H((e,t={})=>{const{code:r}=VN(e);return R6.fromText(r,t)},"getDiagramFromText");function Sue(e,t,r,n){mue(t,e),gue(t,r,n,t.attr("id"))}H(Sue,"addA11yInfo");var Hc=Object.freeze({render:nQe,parse:vue,getDiagramFromText:Eue,initialize:Fue,getConfig:ai,setConfig:_ne,getSiteConfig:Ane,updateSiteConfig:bze,reset:H(()=>{Sy()},"reset"),globalReset:H(()=>{Sy(Bh)},"globalReset"),defaultConfig:Bh});K5(ai().logLevel);Sy(ai());var aQe=H((e,t,r)=>{je.warn(e),_N(e)?(r&&r(e.str,e.hash),t.push({...e,message:e.str,error:e})):(r&&r(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},"handleError"),xue=H(async function(e={querySelector:".mermaid"}){try{await iQe(e)}catch(t){if(_N(t)&&je.error(t.str),Di.parseError&&Di.parseError(t),!e.suppressErrors)throw je.error("Use the suppressErrors option to suppress these errors"),t}},"run"),iQe=H(async function({postRenderCallback:e,querySelector:t,nodes:r}={querySelector:".mermaid"}){const n=Hc.getConfig();je.debug(`${e?"":"No "}Callback function found`);let a;if(r)a=r;else if(t)a=document.querySelectorAll(t);else throw new Error("Nodes and querySelector are both undefined");je.debug(`Found ${a.length} diagrams`),(n==null?void 0:n.startOnLoad)!==void 0&&(je.debug("Start On Load: "+(n==null?void 0:n.startOnLoad)),Hc.updateSiteConfig({startOnLoad:n==null?void 0:n.startOnLoad}));const i=new Qo.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed);let o;const s=[];for(const l of Array.from(a)){if(je.info("Rendering diagram: "+l.id),l.getAttribute("data-processed"))continue;l.setAttribute("data-processed","true");const u=`mermaid-${i.next()}`;o=l.innerHTML,o=Yoe(Qo.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,"<br/>");const d=Qo.detectInit(o);d&&je.debug("Detected early reinit: ",d);try{const{svg:h,bindFunctions:f}=await Tue(u,o,l);l.innerHTML=h,e&&await e(u),f&&f(l)}catch(h){aQe(h,s,Di.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),wue=H(function(e){Hc.initialize(e)},"initialize"),oQe=H(async function(e,t,r){je.warn("mermaid.init is deprecated. Please use run instead."),e&&wue(e);const n={postRenderCallback:r,querySelector:".mermaid"};typeof t=="string"?n.querySelector=t:t&&(t instanceof HTMLElement?n.nodes=[t]:n.nodes=t),await xue(n)},"init"),sQe=H(async(e,{lazyLoad:t=!0}={})=>{U2(),PD(...e),t===!1&&await DZe()},"registerExternalDiagrams"),kue=H(function(){if(Di.startOnLoad){const{startOnLoad:e}=Hc.getConfig();e&&Di.run().catch(t=>je.error("Mermaid failed to initialize",t))}},"contentLoaded");typeof document<"u"&&window.addEventListener("load",kue,!1);var lQe=H(function(e){Di.parseError=e},"setParseErrorHandler"),tv=[],ww=!1,Cue=H(async()=>{if(!ww){for(ww=!0;tv.length>0;){const e=tv.shift();if(e)try{await e()}catch(t){je.error("Error executing queue",t)}}ww=!1}},"executeQueue"),uQe=H(async(e,t)=>new Promise((r,n)=>{const a=H(()=>new Promise((i,o)=>{Hc.parse(e,t).then(s=>{i(s),r(s)},s=>{var l;je.error("Error parsing",s),(l=Di.parseError)==null||l.call(Di,s),o(s),n(s)})}),"performCall");tv.push(a),Cue().catch(n)}),"parse"),Tue=H((e,t,r)=>new Promise((n,a)=>{const i=H(()=>new Promise((o,s)=>{Hc.render(e,t,r).then(l=>{o(l),n(l)},l=>{var u;je.error("Error parsing",l),(u=Di.parseError)==null||u.call(Di,l),s(l),a(l)})}),"performCall");tv.push(i),Cue().catch(a)}),"render"),cQe=H(()=>Object.keys(Mc).map(e=>({id:e})),"getRegisteredDiagramsMetadata"),Di={startOnLoad:!0,mermaidAPI:Hc,parse:uQe,render:Tue,init:oQe,run:xue,registerExternalDiagrams:sQe,registerLayoutLoaders:Mle,initialize:wue,parseError:void 0,contentLoaded:kue,setParseErrorHandler:lQe,detectType:Y5,registerIconPacks:NKe,getRegisteredDiagramsMetadata:cQe},RH=Di;/*! Check if previously processed *//*!
|
||
* Wait for document loaded before starting the execution
|
||
*/const NH=()=>e=>{x0(e,"text",(t,r,n)=>{if(!n||typeof r!="number")return;const a=t.value,i=/\[\^([^\]]+)\]/g;let o;const s=[];let l=0;for(;(o=i.exec(a))!==null;){const[u,d]=o,h=o.index;h>l&&s.push({type:"text",value:a.slice(l,h)});const f=h+u.length,m=a.slice(f),b=/^\[\^[^\]]+\]/.test(m),y=`<sup><a href="#footnote-${d}" class="footnote-ref">${d}</a></sup>`,F=b?y+" ":y;s.push({type:"html",value:F}),l=h+u.length}l<a.length&&s.push({type:"text",value:a.slice(l)}),s.length>1&&n.children.splice(r,1,...s)})};function dQe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function hQe(e,t){if(e==null)return{};var r,n,a=dQe(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function L6(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function pQe(e){if(Array.isArray(e))return L6(e)}function fQe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mQe(e,t){if(e){if(typeof e=="string")return L6(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L6(e,t):void 0}}function gQe(){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 M6(e){return pQe(e)||fQe(e)||mQe(e)||gQe()}function Zm(e){"@babel/helpers - typeof";return Zm=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},Zm(e)}function bQe(e,t){if(Zm(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Zm(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yQe(e){var t=bQe(e,"string");return Zm(t)=="symbol"?t:t+""}function Aue(e,t,r){return(t=yQe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I6(){return I6=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I6.apply(null,arguments)}function LH(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function rh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?LH(Object(r),!0).forEach(function(n){Aue(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LH(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vQe(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var kw={};function FQe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return kw[t]||(kw[t]=vQe(e)),kw[t]}function EQe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(i){return i!=="token"}),a=FQe(n);return a.reduce(function(i,o){return rh(rh({},i),r[o])},t)}function MH(e){return e.join(" ")}function SQe(e,t){var r=0;return function(n){return r+=1,n.map(function(a,i){return _ue({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(i)})})}}function _ue(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,i=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,u=t.tagName,d=t.value;if(l==="text")return d;if(u){var h=SQe(r,i),f;if(!i)f=rh(rh({},s),{},{className:MH(s.className)});else{var m=Object.keys(r).reduce(function(x,E){return E.split(".").forEach(function(C){x.includes(C)||x.push(C)}),x},[]),b=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&b.concat(s.className.filter(function(x){return!m.includes(x)}));f=rh(rh({},s),{},{className:MH(y)||void 0,style:EQe(s.className,Object.assign({},s.style,a),r)})}var F=h(t.children);return Ge.createElement(u,I6({key:o},f),F)}}const xQe=function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1};var wQe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function IH(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function uu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?IH(Object(r),!0).forEach(function(n){Aue(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):IH(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var kQe=/\n/g;function CQe(e){return e.match(kQe)}function TQe(e){var t=e.lines,r=e.startingLineNumber,n=e.style;return t.map(function(a,i){var o=i+r;return Ge.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof n=="function"?n(o):n},"".concat(o,`
|
||
`))})}function AQe(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,a=n===void 0?{float:"left",paddingRight:"10px"}:n,i=e.numberStyle,o=i===void 0?{}:i,s=e.startingLineNumber;return Ge.createElement("code",{style:Object.assign({},r,a)},TQe({lines:t.replace(/\n$/,"").split(`
|
||
`),style:o,startingLineNumber:s}))}function _Qe(e){return"".concat(e.toString().length,".25em")}function Due(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function Rue(e,t,r){var n={display:"inline-block",minWidth:_Qe(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,i=uu(uu({},n),a);return i}function Bb(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,a=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=o===void 0?{}:o,l=e.className,u=l===void 0?[]:l,d=e.showLineNumbers,h=e.wrapLongLines,f=e.wrapLines,m=f===void 0?!1:f,b=m?uu({},typeof s=="function"?s(r):s):{};if(b.className=b.className?[].concat(M6(b.className.trim().split(/\s+/)),M6(u)):u,r&&i){var y=Rue(n,r,a);t.unshift(Due(r,y))}return h&d&&(b.style=uu({display:"flex"},b.style)),{type:"element",tagName:"span",properties:b,children:t}}function Nue(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n<e.length;n++){var a=e[n];if(a.type==="text")r.push(Bb({children:[a],className:M6(new Set(t))}));else if(a.children){var i=t.concat(a.properties.className);Nue(a.children,i).forEach(function(o){return r.push(o)})}}return r}function DQe(e,t,r,n,a,i,o,s,l){var u,d=Nue(e.value),h=[],f=-1,m=0;function b(D,w){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Bb({children:D,lineNumber:w,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:l,wrapLines:t})}function y(D,w){if(n&&w&&a){var A=Rue(s,w,o);D.unshift(Due(w,A))}return D}function F(D,w){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?b(D,w,A):y(D,w)}for(var x=function(){var w=d[m],A=w.children[0].value,I=CQe(A);if(I){var M=A.split(`
|
||
`);M.forEach(function(L,U){var j=n&&h.length+i,z={type:"text",value:"".concat(L,`
|
||
`)};if(U===0){var V=d.slice(f+1,m).concat(Bb({children:[z],className:w.properties.className})),X=F(V,j);h.push(X)}else if(U===M.length-1){var q=d[m+1]&&d[m+1].children&&d[m+1].children[0],W={type:"text",value:"".concat(L)};if(q){var B=Bb({children:[W],className:w.properties.className});d.splice(m+1,0,B)}else{var te=[W],P=F(te,j,w.properties.className);h.push(P)}}else{var Z=[z],K=F(Z,j,w.properties.className);h.push(K)}}),f=m}m++};m<d.length;)x();if(f!==d.length-1){var E=d.slice(f+1,d.length);if(E&&E.length){var C=n&&h.length+i,_=F(E,C);h.push(_)}}return t?h:(u=[]).concat.apply(u,h)}function RQe(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(a,i){return _ue({node:a,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(i)})})}function Lue(e){return e&&typeof e.highlightAuto<"u"}function NQe(e){var t=e.astGenerator,r=e.language,n=e.code,a=e.defaultCodeValue;if(Lue(t)){var i=xQe(t,r);return r==="text"?{value:a,language:"text"}:i?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:a}}catch{return{value:a}}}function LQe(e,t){return function(n){var a=n.language,i=n.children,o=n.style,s=o===void 0?t:o,l=n.customStyle,u=l===void 0?{}:l,d=n.codeTagProps,h=d===void 0?{className:a?"language-".concat(a):void 0,style:uu(uu({},s['code[class*="language-"]']),s['code[class*="language-'.concat(a,'"]')])}:d,f=n.useInlineStyles,m=f===void 0?!0:f,b=n.showLineNumbers,y=b===void 0?!1:b,F=n.showInlineLineNumbers,x=F===void 0?!0:F,E=n.startingLineNumber,C=E===void 0?1:E,_=n.lineNumberContainerStyle,D=n.lineNumberStyle,w=D===void 0?{}:D,A=n.wrapLines,I=n.wrapLongLines,M=I===void 0?!1:I,L=n.lineProps,U=L===void 0?{}:L,j=n.renderer,z=n.PreTag,V=z===void 0?"pre":z,X=n.CodeTag,q=X===void 0?"code":X,W=n.code,B=W===void 0?(Array.isArray(i)?i[0]:i)||"":W,te=n.astGenerator,P=hQe(n,wQe);te=te||e;var Z=y?Ge.createElement(AQe,{containerStyle:_,codeStyle:h.style||{},numberStyle:w,startingLineNumber:C,codeString:B}):null,K=s.hljs||s['pre[class*="language-"]']||{backgroundColor:"#fff"},G=Lue(te)?"hljs":"prismjs",ne=m?Object.assign({},P,{style:Object.assign({},K,u)}):Object.assign({},P,{className:P.className?"".concat(G," ").concat(P.className):G,style:Object.assign({},u)});if(M?h.style=uu({whiteSpace:"pre-wrap"},h.style):h.style=uu({whiteSpace:"pre"},h.style),!te)return Ge.createElement(V,ne,Z,Ge.createElement(q,h,B));(A===void 0&&j||M)&&(A=!0),j=j||RQe;var oe=[{type:"text",value:B}],de=NQe({astGenerator:te,language:a,code:B,defaultCodeValue:oe});de.language===null&&(de.value=oe);var ie=de.value.length;ie===1&&de.value[0].type==="text"&&(ie=de.value[0].value.split(`
|
||
`).length);var ue=ie+C,Ne=DQe(de,A,U,y,x,C,ue,w,M);return Ge.createElement(V,ne,Ge.createElement(q,h,!x&&Z,j({rows:Ne,stylesheet:s,useInlineStyles:m})))}}const MQe=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var Cw,OH;function IQe(){if(OH)return Cw;OH=1,Cw=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},n=0;n<arguments.length;n++){var a=arguments[n];for(var i in a)e.call(a,i)&&(r[i]=a[i])}return r}return Cw}var Tw,BH;function Mue(){if(BH)return Tw;BH=1,Tw=t;var e=t.prototype;e.space=null,e.normal={},e.property={};function t(r,n,a){this.property=r,this.normal=n,a&&(this.space=a)}return Tw}var Aw,PH;function OQe(){if(PH)return Aw;PH=1;var e=IQe(),t=Mue();Aw=r;function r(n){for(var a=n.length,i=[],o=[],s=-1,l,u;++s<a;)l=n[s],i.push(l.property),o.push(l.normal),u=l.space;return new t(e.apply(null,i),e.apply(null,o),u)}return Aw}var _w,zH;function YN(){if(zH)return _w;zH=1,_w=e;function e(t){return t.toLowerCase()}return _w}var Dw,HH;function Iue(){if(HH)return Dw;HH=1,Dw=t;var e=t.prototype;e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1;function t(r,n){this.property=r,this.attribute=n}return Dw}var Gs={},UH;function XN(){if(UH)return Gs;UH=1;var e=0;Gs.boolean=t(),Gs.booleanish=t(),Gs.overloadedBoolean=t(),Gs.number=t(),Gs.spaceSeparated=t(),Gs.commaSeparated=t(),Gs.commaOrSpaceSeparated=t();function t(){return Math.pow(2,++e)}return Gs}var Rw,GH;function Oue(){if(GH)return Rw;GH=1;var e=Iue(),t=XN();Rw=a,a.prototype=new e,a.prototype.defined=!0;var r=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],n=r.length;function a(o,s,l,u){var d=-1,h;for(i(this,"space",u),e.call(this,o,s);++d<n;)h=r[d],i(this,h,(l&t[h])===t[h])}function i(o,s,l){l&&(o[s]=l)}return Rw}var Nw,$H;function z0(){if($H)return Nw;$H=1;var e=YN(),t=Mue(),r=Oue();Nw=n;function n(a){var i=a.space,o=a.mustUseProperty||[],s=a.attributes||{},l=a.properties,u=a.transform,d={},h={},f,m;for(f in l)m=new r(f,u(s,f),l[f],i),o.indexOf(f)!==-1&&(m.mustUseProperty=!0),d[f]=m,h[e(f)]=f,h[e(m.attribute)]=f;return new t(d,h,i)}return Nw}var Lw,jH;function BQe(){if(jH)return Lw;jH=1;var e=z0();Lw=e({space:"xlink",transform:t,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function t(r,n){return"xlink:"+n.slice(5).toLowerCase()}return Lw}var Mw,qH;function PQe(){if(qH)return Mw;qH=1;var e=z0();Mw=e({space:"xml",transform:t,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function t(r,n){return"xml:"+n.slice(3).toLowerCase()}return Mw}var Iw,WH;function zQe(){if(WH)return Iw;WH=1,Iw=e;function e(t,r){return r in t?t[r]:r}return Iw}var Ow,VH;function Bue(){if(VH)return Ow;VH=1;var e=zQe();Ow=t;function t(r,n){return e(r,n.toLowerCase())}return Ow}var Bw,KH;function HQe(){if(KH)return Bw;KH=1;var e=z0(),t=Bue();return Bw=e({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:t,properties:{xmlns:null,xmlnsXLink:null}}),Bw}var Pw,YH;function UQe(){if(YH)return Pw;YH=1;var e=XN(),t=z0(),r=e.booleanish,n=e.number,a=e.spaceSeparated;Pw=t({transform:i,properties:{ariaActiveDescendant:null,ariaAtomic:r,ariaAutoComplete:null,ariaBusy:r,ariaChecked:r,ariaColCount:n,ariaColIndex:n,ariaColSpan:n,ariaControls:a,ariaCurrent:null,ariaDescribedBy:a,ariaDetails:null,ariaDisabled:r,ariaDropEffect:a,ariaErrorMessage:null,ariaExpanded:r,ariaFlowTo:a,ariaGrabbed:r,ariaHasPopup:null,ariaHidden:r,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a,ariaLevel:n,ariaLive:null,ariaModal:r,ariaMultiLine:r,ariaMultiSelectable:r,ariaOrientation:null,ariaOwns:a,ariaPlaceholder:null,ariaPosInSet:n,ariaPressed:r,ariaReadOnly:r,ariaRelevant:null,ariaRequired:r,ariaRoleDescription:a,ariaRowCount:n,ariaRowIndex:n,ariaRowSpan:n,ariaSelected:r,ariaSetSize:n,ariaSort:null,ariaValueMax:n,ariaValueMin:n,ariaValueNow:n,ariaValueText:null,role:null}});function i(o,s){return s==="role"?s:"aria-"+s.slice(4).toLowerCase()}return Pw}var zw,XH;function GQe(){if(XH)return zw;XH=1;var e=XN(),t=z0(),r=Bue(),n=e.boolean,a=e.overloadedBoolean,i=e.booleanish,o=e.number,s=e.spaceSeparated,l=e.commaSeparated;return zw=t({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:r,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l,acceptCharset:s,accessKey:s,action:null,allow:null,allowFullScreen:n,allowPaymentRequest:n,allowUserMedia:n,alt:null,as:null,async:n,autoCapitalize:null,autoComplete:s,autoFocus:n,autoPlay:n,capture:n,charSet:null,checked:n,cite:null,className:s,cols:o,colSpan:null,content:null,contentEditable:i,controls:n,controlsList:s,coords:o|l,crossOrigin:null,data:null,dateTime:null,decoding:null,default:n,defer:n,dir:null,dirName:null,disabled:n,download:a,draggable:i,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:n,formTarget:null,headers:s,height:o,hidden:n,high:o,href:null,hrefLang:null,htmlFor:s,httpEquiv:s,id:null,imageSizes:null,imageSrcSet:l,inputMode:null,integrity:null,is:null,isMap:n,itemId:null,itemProp:s,itemRef:s,itemScope:n,itemType:s,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:n,low:o,manifest:null,max:null,maxLength:o,media:null,method:null,min:null,minLength:o,multiple:n,muted:n,name:null,nonce:null,noModule:n,noValidate:n,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:n,optimum:o,pattern:null,ping:s,placeholder:null,playsInline:n,poster:null,preload:null,readOnly:n,referrerPolicy:null,rel:s,required:n,reversed:n,rows:o,rowSpan:o,sandbox:s,scope:null,scoped:n,seamless:n,selected:n,shape:null,size:o,sizes:null,slot:null,span:o,spellCheck:i,src:null,srcDoc:null,srcLang:null,srcSet:l,start:o,step:null,style:null,tabIndex:o,target:null,title:null,translate:null,type:null,typeMustMatch:n,useMap:null,value:i,width:o,wrap:null,align:null,aLink:null,archive:s,axis:null,background:null,bgColor:null,border:o,borderColor:null,bottomMargin:o,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:n,declare:n,event:null,face:null,frame:null,frameBorder:null,hSpace:o,leftMargin:o,link:null,longDesc:null,lowSrc:null,marginHeight:o,marginWidth:o,noResize:n,noHref:n,noShade:n,noWrap:n,object:null,profile:null,prompt:null,rev:null,rightMargin:o,rules:null,scheme:null,scrolling:i,standby:null,summary:null,text:null,topMargin:o,valueType:null,version:null,vAlign:null,vLink:null,vSpace:o,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:n,disableRemotePlayback:n,prefix:null,property:null,results:o,security:null,unselectable:null}}),zw}var Hw,JH;function $Qe(){if(JH)return Hw;JH=1;var e=OQe(),t=BQe(),r=PQe(),n=HQe(),a=UQe(),i=GQe();return Hw=e([r,t,n,a,i]),Hw}var Uw,ZH;function jQe(){if(ZH)return Uw;ZH=1;var e=YN(),t=Oue(),r=Iue(),n="data";Uw=s;var a=/^data[-\w.:]+$/i,i=/-[a-z]/g,o=/[A-Z]/g;function s(f,m){var b=e(m),y=m,F=r;return b in f.normal?f.property[f.normal[b]]:(b.length>4&&b.slice(0,4)===n&&a.test(m)&&(m.charAt(4)==="-"?y=l(m):m=u(m),F=t),new F(y,m))}function l(f){var m=f.slice(5).replace(i,h);return n+m.charAt(0).toUpperCase()+m.slice(1)}function u(f){var m=f.slice(4);return i.test(m)?f:(m=m.replace(o,d),m.charAt(0)!=="-"&&(m="-"+m),n+m)}function d(f){return"-"+f.toLowerCase()}function h(f){return f.charAt(1).toUpperCase()}return Uw}var Gw,QH;function qQe(){if(QH)return Gw;QH=1,Gw=t;var e=/[#.]/g;function t(r,n){for(var a=r||"",i=n||"div",o={},s=0,l,u,d;s<a.length;)e.lastIndex=s,d=e.exec(a),l=a.slice(s,d?d.index:a.length),l&&(u?u==="#"?o.id=l:o.className?o.className.push(l):o.className=[l]:i=l,s+=l.length),d&&(u=d[0],s++);return{type:"element",tagName:i,properties:o,children:[]}}return Gw}var X1={},eU;function WQe(){if(eU)return X1;eU=1,X1.parse=n,X1.stringify=a;var e="",t=" ",r=/[ \t\n\r\f]+/g;function n(i){var o=String(i||e).trim();return o===e?[]:o.split(r)}function a(i){return i.join(t).trim()}return X1}var J1={},tU;function VQe(){if(tU)return J1;tU=1,J1.parse=n,J1.stringify=a;var e=",",t=" ",r="";function n(i){for(var o=[],s=String(i||r),l=s.indexOf(e),u=0,d=!1,h;!d;)l===-1&&(l=s.length,d=!0),h=s.slice(u,l).trim(),(h||!d)&&o.push(h),u=l+1,l=s.indexOf(e,u);return o}function a(i,o){var s=o||{},l=s.padLeft===!1?r:t,u=s.padRight?t:r;return i[i.length-1]===r&&(i=i.concat(r)),i.join(u+e+l).trim()}return J1}var $w,rU;function KQe(){if(rU)return $w;rU=1;var e=jQe(),t=YN(),r=qQe(),n=WQe().parse,a=VQe().parse;$w=o;var i={}.hasOwnProperty;function o(b,y,F){var x=F?m(F):null;return E;function E(_,D){var w=r(_,y),A=Array.prototype.slice.call(arguments,2),I=w.tagName.toLowerCase(),M;if(w.tagName=x&&i.call(x,I)?x[I]:I,D&&s(D,w)&&(A.unshift(D),D=null),D)for(M in D)C(w.properties,M,D[M]);return u(w.children,A),w.tagName==="template"&&(w.content={type:"root",children:w.children},w.children=[]),w}function C(_,D,w){var A,I,M;w==null||w!==w||(A=e(b,D),I=A.property,M=w,typeof M=="string"&&(A.spaceSeparated?M=n(M):A.commaSeparated?M=a(M):A.commaOrSpaceSeparated&&(M=n(a(M).join(" ")))),I==="style"&&typeof w!="string"&&(M=f(M)),I==="className"&&_.className&&(M=_.className.concat(M)),_[I]=d(A,I,M))}}function s(b,y){return typeof b=="string"||"length"in b||l(y.tagName,b)}function l(b,y){var F=y.type;return b==="input"||!F||typeof F!="string"?!1:typeof y.children=="object"&&"length"in y.children?!0:(F=F.toLowerCase(),b==="button"?F!=="menu"&&F!=="submit"&&F!=="reset"&&F!=="button":"value"in y)}function u(b,y){var F,x;if(typeof y=="string"||typeof y=="number"){b.push({type:"text",value:String(y)});return}if(typeof y=="object"&&"length"in y){for(F=-1,x=y.length;++F<x;)u(b,y[F]);return}if(typeof y!="object"||!("type"in y))throw new Error("Expected node, nodes, or string, got `"+y+"`");b.push(y)}function d(b,y,F){var x,E,C;if(typeof F!="object"||!("length"in F))return h(b,y,F);for(E=F.length,x=-1,C=[];++x<E;)C[x]=h(b,y,F[x]);return C}function h(b,y,F){var x=F;return b.number||b.positiveNumber?!isNaN(x)&&x!==""&&(x=Number(x)):(b.boolean||b.overloadedBoolean)&&typeof x=="string"&&(x===""||t(F)===t(y))&&(x=!0),x}function f(b){var y=[],F;for(F in b)y.push([F,b[F]].join(": "));return y.join("; ")}function m(b){for(var y=b.length,F=-1,x={},E;++F<y;)E=b[F],x[E.toLowerCase()]=E;return x}return $w}var jw,nU;function YQe(){if(nU)return jw;nU=1;var e=$Qe(),t=KQe(),r=t(e,"div");return r.displayName="html",jw=r,jw}var qw,aU;function XQe(){return aU||(aU=1,qw=YQe()),qw}const JQe="Æ",ZQe="&",QQe="Á",eet="Â",tet="À",ret="Å",net="Ã",aet="Ä",iet="©",oet="Ç",set="Ð",uet="É",cet="Ê",det="È",het="Ë",pet=">",fet="Í",met="Î",get="Ì",bet="Ï",yet="<",vet="Ñ",Fet="Ó",Eet="Ô",xet="Ò",wet="Ø",ket="Õ",Cet="Ö",Tet='"',Aet="®",_et="Þ",Det="Ú",Ret="Û",Net="Ù",Let="Ü",Met="Ý",Iet="á",Oet="â",Bet="´",Pet="æ",zet="à",Het="&",Uet="å",Get="ã",$et="ä",jet="¦",qet="ç",Wet="¸",Vet="¢",Ket="©",Yet="¤",Xet="°",Jet="÷",Zet="é",Qet="ê",ett="è",ttt="ð",rtt="ë",ntt="½",att="¼",itt="¾",ott=">",stt="í",ltt="î",utt="¡",ctt="ì",dtt="¿",htt="ï",ptt="«",ftt="<",mtt="¯",gtt="µ",btt="·",ytt=" ",vtt="¬",Ftt="ñ",Ett="ó",Stt="ô",xtt="ò",wtt="ª",ktt="º",Ctt="ø",Ttt="õ",Att="ö",_tt="¶",Dtt="±",Rtt="£",Ntt='"',Ltt="»",Mtt="®",Itt="§",Ott="",Btt="¹",Ptt="²",ztt="³",Htt="ß",Utt="þ",Gtt="×",$tt="ú",jtt="û",qtt="ù",Wtt="¨",Vtt="ü",Ktt="ý",Ytt="¥",Xtt="ÿ",Jtt={AElig:JQe,AMP:ZQe,Aacute:QQe,Acirc:eet,Agrave:tet,Aring:ret,Atilde:net,Auml:aet,COPY:iet,Ccedil:oet,ETH:set,Eacute:uet,Ecirc:cet,Egrave:det,Euml:het,GT:pet,Iacute:fet,Icirc:met,Igrave:get,Iuml:bet,LT:yet,Ntilde:vet,Oacute:Fet,Ocirc:Eet,Ograve:xet,Oslash:wet,Otilde:ket,Ouml:Cet,QUOT:Tet,REG:Aet,THORN:_et,Uacute:Det,Ucirc:Ret,Ugrave:Net,Uuml:Let,Yacute:Met,aacute:Iet,acirc:Oet,acute:Bet,aelig:Pet,agrave:zet,amp:Het,aring:Uet,atilde:Get,auml:$et,brvbar:jet,ccedil:qet,cedil:Wet,cent:Vet,copy:Ket,curren:Yet,deg:Xet,divide:Jet,eacute:Zet,ecirc:Qet,egrave:ett,eth:ttt,euml:rtt,frac12:ntt,frac14:att,frac34:itt,gt:ott,iacute:stt,icirc:ltt,iexcl:utt,igrave:ctt,iquest:dtt,iuml:htt,laquo:ptt,lt:ftt,macr:mtt,micro:gtt,middot:btt,nbsp:ytt,not:vtt,ntilde:Ftt,oacute:Ett,ocirc:Stt,ograve:xtt,ordf:wtt,ordm:ktt,oslash:Ctt,otilde:Ttt,ouml:Att,para:_tt,plusmn:Dtt,pound:Rtt,quot:Ntt,raquo:Ltt,reg:Mtt,sect:Itt,shy:Ott,sup1:Btt,sup2:Ptt,sup3:ztt,szlig:Htt,thorn:Utt,times:Gtt,uacute:$tt,ucirc:jtt,ugrave:qtt,uml:Wtt,uuml:Vtt,yacute:Ktt,yen:Ytt,yuml:Xtt},Ztt={0:"<22>",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:"Ÿ"};var Ww,iU;function Pue(){if(iU)return Ww;iU=1,Ww=e;function e(t){var r=typeof t=="string"?t.charCodeAt(0):t;return r>=48&&r<=57}return Ww}var Vw,oU;function Qtt(){if(oU)return Vw;oU=1,Vw=e;function e(t){var r=typeof t=="string"?t.charCodeAt(0):t;return r>=97&&r<=102||r>=65&&r<=70||r>=48&&r<=57}return Vw}var Kw,sU;function ert(){if(sU)return Kw;sU=1,Kw=e;function e(t){var r=typeof t=="string"?t.charCodeAt(0):t;return r>=97&&r<=122||r>=65&&r<=90}return Kw}var Yw,lU;function trt(){if(lU)return Yw;lU=1;var e=ert(),t=Pue();Yw=r;function r(n){return e(n)||t(n)}return Yw}var Xw,uU;function rrt(){if(uU)return Xw;uU=1;var e,t=59;Xw=r;function r(n){var a="&"+n+";",i;return e=e||document.createElement("i"),e.innerHTML=a,i=e.textContent,i.charCodeAt(i.length-1)===t&&n!=="semi"||i===a?!1:i}return Xw}var Jw,cU;function nrt(){if(cU)return Jw;cU=1;var e=Jtt,t=Ztt,r=Pue(),n=Qtt(),a=trt(),i=rrt();Jw=te;var o={}.hasOwnProperty,s=String.fromCharCode,l=Function.prototype,u={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d=9,h=10,f=12,m=32,b=38,y=59,F=60,x=61,E=35,C=88,_=120,D=65533,w="named",A="hexadecimal",I="decimal",M={};M[A]=16,M[I]=10;var L={};L[w]=a,L[I]=r,L[A]=n;var U=1,j=2,z=3,V=4,X=5,q=6,W=7,B={};B[U]="Named character references must be terminated by a semicolon",B[j]="Numeric character references must be terminated by a semicolon",B[z]="Named character references cannot be empty",B[V]="Numeric character references cannot be empty",B[X]="Named character references must be known",B[q]="Numeric character references cannot be disallowed",B[W]="Numeric character references cannot be outside the permissible Unicode range";function te(G,ne){var oe={},de,ie;ne||(ne={});for(ie in u)de=ne[ie],oe[ie]=de??u[ie];return(oe.position.indent||oe.position.start)&&(oe.indent=oe.position.indent||[],oe.position=oe.position.start),P(G,oe)}function P(G,ne){var oe=ne.additional,de=ne.nonTerminated,ie=ne.text,ue=ne.reference,Ne=ne.warning,pe=ne.textContext,Le=ne.referenceContext,Me=ne.warningContext,Ee=ne.position,Te=ne.indent||[],Re=G.length,fe=0,Ze=-1,yt=Ee.column||1,qe=Ee.line||1,Ke="",xe=[],Yt,nr,Pe,Qe,me,ke,Ye,pt,St,gr,Sr,ar,Nt,br,Fe,$e,ct,vt,Lt;for(typeof oe=="string"&&(oe=oe.charCodeAt(0)),$e=fr(),pt=Ne?Pr:l,fe--,Re++;++fe<Re;)if(me===h&&(yt=Te[Ze]||1),me=G.charCodeAt(fe),me===b){if(Ye=G.charCodeAt(fe+1),Ye===d||Ye===h||Ye===f||Ye===m||Ye===b||Ye===F||Ye!==Ye||oe&&Ye===oe){Ke+=s(me),yt++;continue}for(Nt=fe+1,ar=Nt,Lt=Nt,Ye===E?(Lt=++ar,Ye=G.charCodeAt(Lt),Ye===C||Ye===_?(br=A,Lt=++ar):br=I):br=w,Yt="",Sr="",Qe="",Fe=L[br],Lt--;++Lt<Re&&(Ye=G.charCodeAt(Lt),!!Fe(Ye));)Qe+=s(Ye),br===w&&o.call(e,Qe)&&(Yt=Qe,Sr=e[Qe]);Pe=G.charCodeAt(Lt)===y,Pe&&(Lt++,nr=br===w?i(Qe):!1,nr&&(Yt=Qe,Sr=nr)),vt=1+Lt-Nt,!Pe&&!de||(Qe?br===w?(Pe&&!Sr?pt(X,1):(Yt!==Qe&&(Lt=ar+Yt.length,vt=1+Lt-ar,Pe=!1),Pe||(St=Yt?U:z,ne.attribute?(Ye=G.charCodeAt(Lt),Ye===x?(pt(St,vt),Sr=null):a(Ye)?Sr=null:pt(St,vt)):pt(St,vt))),ke=Sr):(Pe||pt(j,vt),ke=parseInt(Qe,M[br]),Z(ke)?(pt(W,vt),ke=s(D)):ke in t?(pt(q,vt),ke=t[ke]):(gr="",K(ke)&&pt(q,vt),ke>65535&&(ke-=65536,gr+=s(ke>>>10|55296),ke=56320|ke&1023),ke=gr+s(ke))):br!==w&&pt(V,vt)),ke?(Jr(),$e=fr(),fe=Lt-1,yt+=Lt-Nt+1,xe.push(ke),ct=fr(),ct.offset++,ue&&ue.call(Le,ke,{start:$e,end:ct},G.slice(Nt-1,Lt)),$e=ct):(Qe=G.slice(Nt-1,Lt),Ke+=Qe,yt+=Qe.length,fe=Lt-1)}else me===10&&(qe++,Ze++,yt=0),me===me?(Ke+=s(me),yt++):Jr();return xe.join("");function fr(){return{line:qe,column:yt,offset:fe+(Ee.offset||0)}}function Pr(ba,ft){var or=fr();or.column+=ft,or.offset+=ft,Ne.call(Me,B[ba],or,ba)}function Jr(){Ke&&(xe.push(Ke),ie&&ie.call(pe,Ke,{start:$e,end:fr()}),Ke="")}}function Z(G){return G>=55296&&G<=57343||G>1114111}function K(G){return G>=1&&G<=8||G===11||G>=13&&G<=31||G>=127&&G<=159||G>=64976&&G<=65007||(G&65535)===65535||(G&65535)===65534}return Jw}var Zw={exports:{}},dU;function art(){return dU||(dU=1,function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
||
* Prism: Lightweight, robust, elegant syntax highlighting
|
||
*
|
||
* @license MIT <https://opensource.org/licenses/MIT>
|
||
* @author Lea Verou <https://lea.verou.me>
|
||
* @namespace
|
||
* @public
|
||
*/var r=function(n){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},s={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function E(C){return C instanceof l?new l(C.type,E(C.content),C.alias):Array.isArray(C)?C.map(E):C.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(E){return Object.prototype.toString.call(E).slice(8,-1)},objId:function(E){return E.__id||Object.defineProperty(E,"__id",{value:++i}),E.__id},clone:function E(C,_){_=_||{};var D,w;switch(s.util.type(C)){case"Object":if(w=s.util.objId(C),_[w])return _[w];D={},_[w]=D;for(var A in C)C.hasOwnProperty(A)&&(D[A]=E(C[A],_));return D;case"Array":return w=s.util.objId(C),_[w]?_[w]:(D=[],_[w]=D,C.forEach(function(I,M){D[M]=E(I,_)}),D);default:return C}},getLanguage:function(E){for(;E;){var C=a.exec(E.className);if(C)return C[1].toLowerCase();E=E.parentElement}return"none"},setLanguage:function(E,C){E.className=E.className.replace(RegExp(a,"gi"),""),E.classList.add("language-"+C)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(D){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(D.stack)||[])[1];if(E){var C=document.getElementsByTagName("script");for(var _ in C)if(C[_].src==E)return C[_]}return null}},isActive:function(E,C,_){for(var D="no-"+C;E;){var w=E.classList;if(w.contains(C))return!0;if(w.contains(D))return!1;E=E.parentElement}return!!_}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(E,C){var _=s.util.clone(s.languages[E]);for(var D in C)_[D]=C[D];return _},insertBefore:function(E,C,_,D){D=D||s.languages;var w=D[E],A={};for(var I in w)if(w.hasOwnProperty(I)){if(I==C)for(var M in _)_.hasOwnProperty(M)&&(A[M]=_[M]);_.hasOwnProperty(I)||(A[I]=w[I])}var L=D[E];return D[E]=A,s.languages.DFS(s.languages,function(U,j){j===L&&U!=E&&(this[U]=A)}),A},DFS:function E(C,_,D,w){w=w||{};var A=s.util.objId;for(var I in C)if(C.hasOwnProperty(I)){_.call(C,I,C[I],D||I);var M=C[I],L=s.util.type(M);L==="Object"&&!w[A(M)]?(w[A(M)]=!0,E(M,_,null,w)):L==="Array"&&!w[A(M)]&&(w[A(M)]=!0,E(M,_,I,w))}}},plugins:{},highlightAll:function(E,C){s.highlightAllUnder(document,E,C)},highlightAllUnder:function(E,C,_){var D={callback:_,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",D),D.elements=Array.prototype.slice.apply(D.container.querySelectorAll(D.selector)),s.hooks.run("before-all-elements-highlight",D);for(var w=0,A;A=D.elements[w++];)s.highlightElement(A,C===!0,D.callback)},highlightElement:function(E,C,_){var D=s.util.getLanguage(E),w=s.languages[D];s.util.setLanguage(E,D);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(A,D);var I=E.textContent,M={element:E,language:D,grammar:w,code:I};function L(j){M.highlightedCode=j,s.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,s.hooks.run("after-highlight",M),s.hooks.run("complete",M),_&&_.call(M.element)}if(s.hooks.run("before-sanity-check",M),A=M.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!M.code){s.hooks.run("complete",M),_&&_.call(M.element);return}if(s.hooks.run("before-highlight",M),!M.grammar){L(s.util.encode(M.code));return}if(C&&n.Worker){var U=new Worker(s.filename);U.onmessage=function(j){L(j.data)},U.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else L(s.highlight(M.code,M.grammar,M.language))},highlight:function(E,C,_){var D={code:E,grammar:C,language:_};if(s.hooks.run("before-tokenize",D),!D.grammar)throw new Error('The language "'+D.language+'" has no grammar.');return D.tokens=s.tokenize(D.code,D.grammar),s.hooks.run("after-tokenize",D),l.stringify(s.util.encode(D.tokens),D.language)},tokenize:function(E,C){var _=C.rest;if(_){for(var D in _)C[D]=_[D];delete C.rest}var w=new h;return f(w,w.head,E),d(E,w,C,w.head,0),b(w)},hooks:{all:{},add:function(E,C){var _=s.hooks.all;_[E]=_[E]||[],_[E].push(C)},run:function(E,C){var _=s.hooks.all[E];if(!(!_||!_.length))for(var D=0,w;w=_[D++];)w(C)}},Token:l};n.Prism=s;function l(E,C,_,D){this.type=E,this.content=C,this.alias=_,this.length=(D||"").length|0}l.stringify=function E(C,_){if(typeof C=="string")return C;if(Array.isArray(C)){var D="";return C.forEach(function(L){D+=E(L,_)}),D}var w={type:C.type,content:E(C.content,_),tag:"span",classes:["token",C.type],attributes:{},language:_},A=C.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(w.classes,A):w.classes.push(A)),s.hooks.run("wrap",w);var I="";for(var M in w.attributes)I+=" "+M+'="'+(w.attributes[M]||"").replace(/"/g,""")+'"';return"<"+w.tag+' class="'+w.classes.join(" ")+'"'+I+">"+w.content+"</"+w.tag+">"};function u(E,C,_,D){E.lastIndex=C;var w=E.exec(_);if(w&&D&&w[1]){var A=w[1].length;w.index+=A,w[0]=w[0].slice(A)}return w}function d(E,C,_,D,w,A){for(var I in _)if(!(!_.hasOwnProperty(I)||!_[I])){var M=_[I];M=Array.isArray(M)?M:[M];for(var L=0;L<M.length;++L){if(A&&A.cause==I+","+L)return;var U=M[L],j=U.inside,z=!!U.lookbehind,V=!!U.greedy,X=U.alias;if(V&&!U.pattern.global){var q=U.pattern.toString().match(/[imsuy]*$/)[0];U.pattern=RegExp(U.pattern.source,q+"g")}for(var W=U.pattern||U,B=D.next,te=w;B!==C.tail&&!(A&&te>=A.reach);te+=B.value.length,B=B.next){var P=B.value;if(C.length>E.length)return;if(!(P instanceof l)){var Z=1,K;if(V){if(K=u(W,te,E,z),!K||K.index>=E.length)break;var de=K.index,G=K.index+K[0].length,ne=te;for(ne+=B.value.length;de>=ne;)B=B.next,ne+=B.value.length;if(ne-=B.value.length,te=ne,B.value instanceof l)continue;for(var oe=B;oe!==C.tail&&(ne<G||typeof oe.value=="string");oe=oe.next)Z++,ne+=oe.value.length;Z--,P=E.slice(te,ne),K.index-=te}else if(K=u(W,0,P,z),!K)continue;var de=K.index,ie=K[0],ue=P.slice(0,de),Ne=P.slice(de+ie.length),pe=te+P.length;A&&pe>A.reach&&(A.reach=pe);var Le=B.prev;ue&&(Le=f(C,Le,ue),te+=ue.length),m(C,Le,Z);var Me=new l(I,j?s.tokenize(ie,j):ie,X,ie);if(B=f(C,Le,Me),Ne&&f(C,B,Ne),Z>1){var Ee={cause:I+","+L,reach:pe};d(E,C,_,B.prev,te,Ee),A&&Ee.reach>A.reach&&(A.reach=Ee.reach)}}}}}}function h(){var E={value:null,prev:null,next:null},C={value:null,prev:E,next:null};E.next=C,this.head=E,this.tail=C,this.length=0}function f(E,C,_){var D=C.next,w={value:_,prev:C,next:D};return C.next=w,D.prev=w,E.length++,w}function m(E,C,_){for(var D=C.next,w=0;w<_&&D!==E.tail;w++)D=D.next;C.next=D,D.prev=C,E.length-=w}function b(E){for(var C=[],_=E.head.next;_!==E.tail;)C.push(_.value),_=_.next;return C}if(!n.document)return n.addEventListener&&(s.disableWorkerMessageHandler||n.addEventListener("message",function(E){var C=JSON.parse(E.data),_=C.language,D=C.code,w=C.immediateClose;n.postMessage(s.highlight(D,s.languages[_],_)),w&&n.close()},!1)),s;var y=s.util.currentScript();y&&(s.filename=y.src,y.hasAttribute("data-manual")&&(s.manual=!0));function F(){s.manual||s.highlightAll()}if(!s.manual){var x=document.readyState;x==="loading"||x==="interactive"&&y&&y.defer?document.addEventListener("DOMContentLoaded",F):window.requestAnimationFrame?window.requestAnimationFrame(F):window.setTimeout(F,16)}return s}(t);e.exports&&(e.exports=r),typeof Pb<"u"&&(Pb.Prism=r)}(Zw)),Zw.exports}var Qw,hU;function irt(){if(hU)return Qw;hU=1,Qw=e,e.displayName="markup",e.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function e(t){t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\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:/<!\[CDATA\[[\s\S]*?\]\]>/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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,a){var i={};i["language-"+a]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[a]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};o["language-"+a]={pattern:/[\s\S]+/,inside:t.languages[a]};var s={};s[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(r,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\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:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}return Qw}var ek,pU;function ort(){if(pU)return ek;pU=1,ek=e,e.displayName="css",e.aliases=[];function e(t){(function(r){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,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:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var a=r.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(t)}return ek}var tk,fU;function srt(){if(fU)return tk;fU=1,tk=e,e.displayName="clike",e.aliases=[];function e(t){t.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:/[{}[\];(),.:]/}}return tk}var rk,mU;function lrt(){if(mU)return rk;mU=1,rk=e,e.displayName="javascript",e.aliases=["js"];function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.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:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.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:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.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:t.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"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.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")),t.languages.js=t.languages.javascript}return rk}var nk,gU;function urt(){if(gU)return nk;gU=1;var e=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Pb=="object"?Pb:{},t=D();e.Prism={manual:!0,disableWorkerMessageHandler:!0};var r=XQe(),n=nrt(),a=art(),i=irt(),o=ort(),s=srt(),l=lrt();t();var u={}.hasOwnProperty;function d(){}d.prototype=a;var h=new d;nk=h,h.highlight=b,h.register=f,h.alias=m,h.registered=y,h.listLanguages=F,f(i),f(o),f(s),f(l),h.util.encode=C,h.Token.stringify=x;function f(w){if(typeof w!="function"||!w.displayName)throw new Error("Expected `function` for `grammar`, got `"+w+"`");h.languages[w.displayName]===void 0&&w(h)}function m(w,A){var I=h.languages,M=w,L,U,j,z;A&&(M={},M[w]=A);for(L in M)for(U=M[L],U=typeof U=="string"?[U]:U,j=U.length,z=-1;++z<j;)I[U[z]]=I[L]}function b(w,A){var I=a.highlight,M;if(typeof w!="string")throw new Error("Expected `string` for `value`, got `"+w+"`");if(h.util.type(A)==="Object")M=A,A=null;else{if(typeof A!="string")throw new Error("Expected `string` for `name`, got `"+A+"`");if(u.call(h.languages,A))M=h.languages[A];else throw new Error("Unknown language: `"+A+"` is not registered")}return I.call(this,w,M,A)}function y(w){if(typeof w!="string")throw new Error("Expected `string` for `language`, got `"+w+"`");return u.call(h.languages,w)}function F(){var w=h.languages,A=[],I;for(I in w)u.call(w,I)&&typeof w[I]=="object"&&A.push(I);return A}function x(w,A,I){var M;return typeof w=="string"?{type:"text",value:w}:h.util.type(w)==="Array"?E(w,A):(M={type:w.type,content:h.Token.stringify(w.content,A,I),tag:"span",classes:["token",w.type],attributes:{},language:A,parent:I},w.alias&&(M.classes=M.classes.concat(w.alias)),h.hooks.run("wrap",M),r(M.tag+"."+M.classes.join("."),_(M.attributes),M.content))}function E(w,A){for(var I=[],M=w.length,L=-1,U;++L<M;)U=w[L],U!==""&&U!==null&&U!==void 0&&I.push(U);for(L=-1,M=I.length;++L<M;)U=I[L],I[L]=h.Token.stringify(U,A,I);return I}function C(w){return w}function _(w){var A;for(A in w)w[A]=n(w[A]);return w}function D(){var w="Prism"in e,A=w?e.Prism:void 0;return I;function I(){w?e.Prism=A:delete e.Prism,w=void 0,A=void 0}}return nk}const crt={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var ak,bU;function drt(){if(bU)return ak;bU=1,ak=e,e.displayName="abap",e.aliases=[];function e(t){t.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|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/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:/[,.:()]/}}return ak}var ik,yU;function hrt(){if(yU)return ik;yU=1,ik=e,e.displayName="abnf",e.aliases=[];function e(t){(function(r){var n="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";r.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:/[()\[\]]/}})(t)}return ik}var ok,vU;function prt(){if(vU)return ok;vU=1,ok=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return ok}var sk,FU;function frt(){if(FU)return sk;FU=1,sk=e,e.displayName="ada",e.aliases=[];function e(t){t.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}],"attr-name":/\b'\w+/,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|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}}return sk}var lk,EU;function mrt(){if(EU)return lk;EU=1,lk=e,e.displayName="agda",e.aliases=[];function e(t){(function(r){r.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/}})(t)}return lk}var uk,SU;function grt(){if(SU)return uk;SU=1,uk=e,e.displayName="al",e.aliases=[];function e(t){t.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:/[()\[\]{}:.;,]/}}return uk}var ck,xU;function brt(){if(xU)return ck;xU=1,ck=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.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:/[;:()=]/},t.languages.g4=t.languages.antlr4}return ck}var dk,wU;function yrt(){if(wU)return dk;wU=1,dk=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.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:/\^?.*\$|\^.*\$?/}}return dk}var hk,kU;function JN(){if(kU)return hk;kU=1,hk=e,e.displayName="sql",e.aliases=[];function e(t){t.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:/[;[\]()`,.]/}}return hk}var pk,CU;function vrt(){if(CU)return pk;CU=1;var e=JN();pk=t,t.displayName="apex",t.aliases=[];function t(r){r.register(e),function(n){var a=/\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,i=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return a.source});function o(l){return RegExp(l.replace(/<CLASS-NAME>/g,function(){return i}),"i")}var s={keyword:a,punctuation:/[()\[\]{};,:.<>]/};n.languages.apex={comment:n.languages.clike.comment,string:n.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:n.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,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:/[()\[\]{};,.]/}}(r)}return pk}var fk,TU;function Frt(){if(TU)return fk;TU=1,fk=e,e.displayName="apl",e.aliases=[];function e(t){t.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"}}}return fk}var mk,AU;function Ert(){if(AU)return mk;AU=1,mk=e,e.displayName="applescript",e.aliases=[];function e(t){t.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:/[{}():,¬«»《》]/}}return mk}var gk,_U;function Srt(){if(_U)return gk;_U=1,gk=e,e.displayName="aql",e.aliases=[];function e(t){t.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:/::|[?.:,;()[\]{}]/}}return gk}var bk,DU;function nd(){if(DU)return bk;DU=1,bk=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.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|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.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},t.languages.c.string],char:t.languages.c.char,comment:t.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:t.languages.c}}}}),t.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 t.languages.c.boolean}return bk}var yk,RU;function ZN(){if(RU)return yk;RU=1;var e=nd();yk=t,t.displayName="cpp",t.aliases=[];function t(r){r.register(e),function(n){var a=/\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/,i=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return a.source});n.languages.cpp=n.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return a.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:a,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/}),n.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),n.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:n.languages.cpp}}}}),n.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),n.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:n.languages.extend("cpp",{})}}),n.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},n.languages.cpp["base-clause"])}(r)}return yk}var vk,NU;function xrt(){if(NU)return vk;NU=1;var e=ZN();vk=t,t.displayName="arduino",t.aliases=["ino"];function t(r){r.register(e),r.languages.arduino=r.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/}),r.languages.ino=r.languages.arduino}return vk}var Fk,LU;function wrt(){if(LU)return Fk;LU=1,Fk=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return Fk}var Ek,MU;function krt(){if(MU)return Ek;MU=1,Ek=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(r){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+$).+/}},a=r.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\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,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\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]*)<?\d*>/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(o){o=o.split(" ");for(var s={},l=0,u=o.length;l<u;l++)s[o[l]]=a[o[l]];return s}n.inside.interpreted.inside.rest=i("macro inline replacement entity"),a["passthrough-block"].inside.rest=i("macro"),a["literal-block"].inside.rest=i("callout"),a.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"),a["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"),a.title.inside.rest=i("macro inline replacement entity"),r.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.value.replace(/&/,"&"))}),r.languages.adoc=r.languages.asciidoc})(t)}return Ek}var Sk,IU;function Crt(){if(IU)return Sk;IU=1,Sk=e,e.displayName="asm6502",e.aliases=[];function e(t){t.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:/[(),:]/}}return Sk}var xk,OU;function Trt(){if(OU)return xk;OU=1,xk=e,e.displayName="asmatmel",e.aliases=[];function e(t){t.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:/[(),:]/}}return xk}var wk,BU;function G2(){if(BU)return wk;BU=1,wk=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(r){function n(Z,K){return Z.replace(/<<(\d+)>>/g,function(G,ne){return"(?:"+K[+ne]+")"})}function a(Z,K,G){return RegExp(n(Z,K),"")}function i(Z,K){for(var G=0;G<K;G++)Z=Z.replace(/<<self>>/g,function(){return"(?:"+Z+")"});return Z.replace(/<<self>>/g,"[^\\s\\S]")}var o={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 s(Z){return"\\b(?:"+Z.trim().replace(/ /g,"|")+")\\b"}var l=s(o.typeDeclaration),u=RegExp(s(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),d=s(o.typeDeclaration+" "+o.contextual+" "+o.other),h=s(o.type+" "+o.typeDeclaration+" "+o.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),m=i(/\((?:[^()]|<<self>>)*\)/.source,2),b=/@?\b[A-Za-z_]\w*\b/.source,y=n(/<<0>>(?:\s*<<1>>)?/.source,[b,f]),F=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,y]),x=/\[\s*(?:,\s*)*\]/.source,E=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[F,x]),C=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,x]),_=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[C]),D=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[_,F,x]),w={keyword:u,punctuation:/[<>()?,.:[\]]/},A=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,I=/"(?:\\.|[^\\"\r\n])*"/.source,M=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;r.languages.csharp=r.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[M]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[I]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[F]),lookbehind:!0,inside:w},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[b,D]),lookbehind:!0,inside:w},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[b]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[l,y]),lookbehind:!0,inside:w},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[F]),lookbehind:!0,inside:w},{pattern:a(/(\bwhere\s+)<<0>>/.source,[b]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[E]),lookbehind:!0,inside:w},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[D,h,b]),inside:w}],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:/\?\.?|::|[{}[\];(),.:]/}),r.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),r.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[b]),lookbehind:!0,alias:"punctuation"}}),r.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[b]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:w},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[D,F]),inside:w,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[D]),lookbehind:!0,inside:w,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[b,f]),inside:{function:a(/^<<0>>/.source,[b]),generic:{pattern:RegExp(f),alias:"class-name",inside:w}}},"type-list":{pattern:a(/\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,[l,y,b,D,u.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[y,m]),lookbehind:!0,greedy:!0,inside:r.languages.csharp},keyword:u,"class-name":{pattern:RegExp(D),greedy:!0,inside:w},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 L=I+"|"+A,U=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[L]),j=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[U]),2),z=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,V=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[F,j]);r.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[z,V]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[z]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[j]),inside:r.languages.csharp},"class-name":{pattern:RegExp(F),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var X=/:[^}\r\n]+/.source,q=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[U]),2),W=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[q,X]),B=i(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[L]),2),te=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[B,X]);function P(Z,K){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Z]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[K,X]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:r.languages.csharp}}},string:/[\s\S]+/}}r.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[W]),lookbehind:!0,greedy:!0,inside:P(W,q)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[te]),lookbehind:!0,greedy:!0,inside:P(te,B)}],char:{pattern:RegExp(A),greedy:!0}}),r.languages.dotnet=r.languages.cs=r.languages.csharp})(t)}return wk}var kk,PU;function Art(){if(PU)return kk;PU=1;var e=G2();kk=t,t.displayName="aspnet",t.aliases=[];function t(r){r.register(e),r.languages.aspnet=r.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:r.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:r.languages.csharp}}}),r.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,r.languages.insertBefore("inside","punctuation",{directive:r.languages.aspnet.directive},r.languages.aspnet.tag.inside["attr-value"]),r.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),r.languages.insertBefore("aspnet",r.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:r.languages.csharp||{}}})}return kk}var Ck,zU;function _rt(){if(zU)return Ck;zU=1,Ck=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.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/,selector:/\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,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,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,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:/[{}[\]():,]/}}return Ck}var Tk,HU;function Drt(){if(HU)return Tk;HU=1,Tk=e,e.displayName="autoit",e.aliases=[];function e(t){t.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:/[\[\]().,:]/}}return Tk}var Ak,UU;function Rrt(){if(UU)return Ak;UU=1,Ak=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(r){function n(d,h){return d.replace(/<<(\d+)>>/g,function(f,m){return h[+m]})}function a(d,h,f){return RegExp(n(d,h),f)}var i=/bool|clip|float|int|string|val/.source,o=[/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("|"),s=[/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("|"),l=[/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=[o,s,l].join("|");r.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\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:a(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:a(/\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:/[{}\[\]();,.]/},r.languages.avs=r.languages.avisynth})(t)}return Ak}var _k,GU;function Nrt(){if(GU)return _k;GU=1,_k=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.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:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return _k}var Dk,$U;function zue(){if($U)return Dk;$U=1,Dk=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(r){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",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:a,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})/};r.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},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:a}},{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|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|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|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}},a.inside=r.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=i.variable[1].inside,l=0;l<o.length;l++)s[o[l]]=r.languages.bash[o[l]];r.languages.shell=r.languages.bash})(t)}return Dk}var Rk,jU;function Hue(){if(jU)return Rk;jU=1,Rk=e,e.displayName="basic",e.aliases=[];function e(t){t.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:/[,;:()]/}}return Rk}var Nk,qU;function Lrt(){if(qU)return Nk;qU=1,Nk=e,e.displayName="batch",e.aliases=[];function e(t){(function(r){var n=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;r.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:a,variable:n,number:o,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:a,variable:n,number:o,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:a,variable:[n,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:n,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return Nk}var Lk,WU;function Mrt(){if(WU)return Lk;WU=1,Lk=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.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=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return Lk}var Mk,VU;function Irt(){if(VU)return Mk;VU=1,Mk=e,e.displayName="bicep",e.aliases=[];function e(t){t.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:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return Mk}var Ik,KU;function Ort(){if(KU)return Ik;KU=1,Ik=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.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/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return Ik}var Ok,YU;function Brt(){if(YU)return Ok;YU=1;var e=nd();Ok=t,t.displayName="bison",t.aliases=[];function t(r){r.register(e),r.languages.bison=r.languages.extend("c",{}),r.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:r.languages.c}},comment:r.languages.c.comment,string:r.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return Ok}var Bk,XU;function Prt(){if(XU)return Bk;XU=1,Bk=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.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}/},t.languages.rbnf=t.languages.bnf}return Bk}var Pk,JU;function zrt(){if(JU)return Pk;JU=1,Pk=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return Pk}var zk,ZU;function Hrt(){if(ZU)return zk;ZU=1,zk=e,e.displayName="brightscript",e.aliases=[];function e(t){t.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},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return zk}var Hk,QU;function Urt(){if(QU)return Hk;QU=1,Hk=e,e.displayName="bro",e.aliases=[];function e(t){t.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:/[{}[\];(),.:]/}}return Hk}var Uk,eG;function Grt(){if(eG)return Uk;eG=1,Uk=e,e.displayName="bsl",e.aliases=[];function e(t){t.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"}]},t.languages.oscript=t.languages.bsl}return Uk}var Gk,tG;function $rt(){if(tG)return Gk;tG=1,Gk=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.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"}}),t.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 t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return Gk}var $k,rG;function jrt(){if(rG)return $k;rG=1;var e=ZN();$k=t,t.displayName="chaiscript",t.aliases=[];function t(r){r.register(e),r.languages.chaiscript=r.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:[r.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),r.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),r.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:r.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return $k}var jk,nG;function qrt(){if(nG)return jk;nG=1,jk=e,e.displayName="cil",e.aliases=[];function e(t){t.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]+/}}return jk}var qk,aG;function Wrt(){if(aG)return qk;aG=1,qk=e,e.displayName="clojure",e.aliases=[];function e(t){t.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:/[{}\[\](),]/}}return qk}var Wk,iG;function Vrt(){if(iG)return Wk;iG=1,Wk=e,e.displayName="cmake",e.aliases=[];function e(t){t.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_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\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|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|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:/[()>}]|\$[<{]/}}return Wk}var Vk,oG;function Krt(){if(oG)return Vk;oG=1,Vk=e,e.displayName="cobol",e.aliases=[];function e(t){t.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:/[.:,()]/}}return Vk}var Kk,sG;function Yrt(){if(sG)return Kk;sG=1,Kk=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(r){var n=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};r.languages.coffeescript=r.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],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"}}),r.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:a}}}),r.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:r.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),r.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete r.languages.coffeescript["template-string"],r.languages.coffee=r.languages.coffeescript})(t)}return Kk}var Yk,lG;function Xrt(){if(lG)return Yk;lG=1,Yk=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.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"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return Yk}var Xk,uG;function Jrt(){if(uG)return Xk;uG=1,Xk=e,e.displayName="coq",e.aliases=[];function e(t){(function(r){for(var n=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,a=0;a<2;a++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,"[]"),r.languages.coq={comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/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:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return Xk}var Jk,cG;function $2(){if(cG)return Jk;cG=1,Jk=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(r){r.languages.ruby=r.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:/[(){}[\].,;]/}),r.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:r.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete r.languages.ruby.function;var a="(?:"+[/([^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;r.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[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:/\./}}}),r.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),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+a),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 r.languages.ruby.string,r.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)/}),r.languages.rb=r.languages.ruby})(t)}return Jk}var Zk,dG;function Zrt(){if(dG)return Zk;dG=1;var e=$2();Zk=t,t.displayName="crystal",t.aliases=[];function t(r){r.register(e),function(n){n.languages.crystal=n.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:[/->/,n.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),n.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:n.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:n.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}})}(r)}return Zk}var Qk,hG;function Qrt(){if(hG)return Qk;hG=1;var e=G2();Qk=t,t.displayName="cshtml",t.aliases=["razor"];function t(r){r.register(e),function(n){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,i=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(F,x){for(var E=0;E<x;E++)F=F.replace(/<self>/g,function(){return"(?:"+F+")"});return F.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+i+")").replace(/<comment>/g,"(?:"+a+")")}var s=o(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),l=o(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),u=o(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),d=o(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),h=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,f=/(?!\d)[^\s>\/=$<%]+/.source+h+/\s*\/?>/.source,m=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+h+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|"+o(/<\1/.source+h+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+f+")";n.languages.cshtml=n.languages.extend("markup",{});var b=n.languages.insertBefore("csharp","string",{html:{pattern:RegExp(m),greedy:!0,inside:n.languages.cshtml}},{csharp:n.languages.extend("csharp",{})}),y={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:b};n.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[u,/(?:code|functions)\s*/.source+u,/(?:for|foreach|lock|switch|using|while)\s*/.source+s+/\s*/.source+u,/do\s*/.source+u+/\s*while\s*/.source+s+/(?:\s*;)?/.source,/try\s*/.source+u+/\s*catch\s*/.source+s+/\s*/.source+u+/\s*finally\s*/.source+u,/if\s*/.source+s+/\s*/.source+u+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+s+")?"+/\s*/.source+u+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:y}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:y}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+s+")(?:"+/[?!]?\.\w+\b/.source+"|"+s+"|"+l+"|"+d+s+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:y}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),n.languages.razor=n.languages.cshtml}(r)}return Qk}var eC,pG;function ent(){if(pG)return eC;pG=1,eC=e,e.displayName="csp",e.aliases=[];function e(t){(function(r){function n(a){return RegExp(/([ \t])/.source+"(?:"+a+")"+/(?=[\s;]|$)/.source,"i")}r.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:/;/}})(t)}return eC}var tC,fG;function tnt(){if(fG)return tC;fG=1,tC=e,e.displayName="cssExtras",e.aliases=[];function e(t){(function(r){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,a;r.languages.css.selector={pattern:r.languages.css.selector.pattern,lookbehind:!0,inside:a={"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:/[(),]/}},r.languages.css.atrule.inside["selector-function-argument"].inside=a,r.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},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};r.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|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:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})})(t)}return tC}var rC,mG;function rnt(){if(mG)return rC;mG=1,rC=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return rC}var nC,gG;function nnt(){if(gG)return nC;gG=1,nC=e,e.displayName="cypher",e.aliases=[];function e(t){t.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:/[()[\]{},;.]/}}return nC}var aC,bG;function ant(){if(bG)return aC;bG=1,aC=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.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|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.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"}})}return aC}var iC,yG;function int(){if(yG)return iC;yG=1,iC=e,e.displayName="dart",e.aliases=[];function e(t){(function(r){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/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[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:/\./}}}};r.languages.dart=r.languages.extend("clike",{"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),r.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:r.languages.dart}}},string:/[\s\S]+/}},string:void 0}),r.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),r.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return iC}var oC,vG;function ont(){if(vG)return oC;vG=1,oC=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(r){r.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/}})(t)}return oC}var sC,FG;function snt(){if(FG)return sC;FG=1,sC=e,e.displayName="dax",e.aliases=[];function e(t){t.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:/[;\[\](){}`,.]/}}return sC}var lC,EG;function lnt(){if(EG)return lC;EG=1,lC=e,e.displayName="dhall",e.aliases=[];function e(t){t.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/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return lC}var uC,SG;function unt(){if(SG)return uC;SG=1,uC=e,e.displayName="diff",e.aliases=[];function e(t){(function(r){r.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(a){var i=n[a],o=[];/^\w+$/.test(a)||o.push(/\w+/.exec(a)[0]),a==="diff"&&o.push("bold"),r.languages.diff[a]={pattern:RegExp("^(?:["+i+`].*(?:\r
|
||
?|
|
||
|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(r.languages.diff,"PREFIXES",{value:n})})(t)}return uC}var cC,xG;function ci(){if(xG)return cC;xG=1,cC=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(r){function n(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(r.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,s){if(a.language===i){var l=a.tokenStack=[];a.code=a.code.replace(o,function(u){if(typeof s=="function"&&!s(u))return u;for(var d=l.length,h;a.code.indexOf(h=n(i,d))!==-1;)++d;return l[d]=u,h}),a.grammar=r.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=r.languages[i];var o=0,s=Object.keys(a.tokenStack);function l(u){for(var d=0;d<u.length&&!(o>=s.length);d++){var h=u[d];if(typeof h=="string"||h.content&&typeof h.content=="string"){var f=s[o],m=a.tokenStack[f],b=typeof h=="string"?h:h.content,y=n(i,f),F=b.indexOf(y);if(F>-1){++o;var x=b.substring(0,F),E=new r.Token(i,r.tokenize(m,a.grammar),"language-"+i,m),C=b.substring(F+y.length),_=[];x&&_.push.apply(_,l([x])),_.push(E),C&&_.push.apply(_,l([C])),typeof h=="string"?u.splice.apply(u,[d,1].concat(_)):h.content=_}}else h.content&&l(h.content)}return u}l(a.tokens)}}})})(t)}return cC}var dC,wG;function cnt(){if(wG)return dC;wG=1;var e=ci();dC=t,t.displayName="django",t.aliases=["jinja2"];function t(r){r.register(e),function(n){n.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 a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,i=n.languages["markup-templating"];n.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),n.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),n.languages.jinja2=n.languages.django,n.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),n.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})}(r)}return dC}var hC,kG;function dnt(){if(kG)return hC;kG=1,hC=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.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:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return hC}var pC,CG;function hnt(){if(CG)return pC;CG=1,pC=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(r){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return n}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return i}),s={pattern:RegExp(i),greedy:!0},l={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(d,h){return d=d.replace(/<OPT>/g,function(){return o}).replace(/<SP>/g,function(){return a}),RegExp(d,h)}r.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<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:l,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:l},r.languages.dockerfile=r.languages.docker})(t)}return pC}var fC,TG;function pnt(){if(TG)return fC;TG=1,fC=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(r){var n="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:r.languages.markup}};function i(o,s){return RegExp(o.replace(/<ID>/g,function(){return n}),s)}r.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:i(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:i(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},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\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},r.languages.gv=r.languages.dot})(t)}return fC}var mC,AG;function fnt(){if(AG)return mC;AG=1,mC=e,e.displayName="ebnf",e.aliases=[];function e(t){t.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:/[-=|*/!]/}}return mC}var gC,_G;function mnt(){if(_G)return gC;_G=1,gC=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.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:/^=/}}}}return gC}var bC,DG;function gnt(){if(DG)return bC;DG=1,bC=e,e.displayName="eiffel",e.aliases=[];function e(t){t.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:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return bC}var yC,RG;function bnt(){if(RG)return yC;RG=1;var e=ci();yC=t,t.displayName="ejs",t.aliases=["eta"];function t(r){r.register(e),function(n){n.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:n.languages.javascript}},n.hooks.add("before-tokenize",function(a){var i=/<%(?!%)[\s\S]+?%>/g;n.languages["markup-templating"].buildPlaceholders(a,"ejs",i)}),n.hooks.add("after-tokenize",function(a){n.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),n.languages.eta=n.languages.ejs}(r)}return yC}var vC,NG;function ynt(){if(NG)return vC;NG=1,vC=e,e.displayName="elixir",e.aliases=[];function e(t){t.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:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(r){r.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return vC}var FC,LG;function vnt(){if(LG)return FC;LG=1,FC=e,e.displayName="elm",e.aliases=[];function e(t){t.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:/[{}[\]|(),.:]/}}return FC}var EC,MG;function Fnt(){if(MG)return EC;MG=1;var e=$2(),t=ci();EC=r,r.displayName="erb",r.aliases=[];function r(n){n.register(e),n.register(t),function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(i){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"erb",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"erb")})}(n)}return EC}var SC,IG;function Ent(){if(IG)return SC;IG=1,SC=e,e.displayName="erlang",e.aliases=[];function e(t){t.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|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:/[()[\]{}:;,.#|]|<<|>>/}}return SC}var xC,OG;function Uue(){if(OG)return xC;OG=1,xC=e,e.displayName="lua",e.aliases=[];function e(t){t.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:/[\[\](){},;]|\.+|:+/}}return xC}var wC,BG;function Snt(){if(BG)return wC;BG=1;var e=Uue(),t=ci();wC=r,r.displayName="etlua",r.aliases=[];function r(n){n.register(e),n.register(t),function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(i){var o=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"etlua",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"etlua")})}(n)}return wC}var kC,PG;function xnt(){if(PG)return kC;PG=1,kC=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.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:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",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:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return kC}var CC,zG;function wnt(){if(zG)return CC;zG=1,CC=e,e.displayName="factor",e.aliases=[];function e(t){(function(r){var n={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={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:a.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:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"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:a}},o=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(d){return new RegExp("(^|\\s)(?:"+d.map(o).join("|")+")(?=\\s|$)")},l={"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","<wrapper>","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","<PRIVATE",">>>>>>","<<<<<<<","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?","<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","<iota>","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?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","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","<fp-nan>","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(l).forEach(function(d){i[d].pattern=s(l[d])});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","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];i.combinators.pattern=s(u),r.languages.factor=i})(t)}return CC}var TC,HG;function knt(){if(HG)return TC;HG=1,TC=e,e.displayName="$false",e.aliases=[];function e(t){(function(r){r.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:/[()<BDO®]/,alias:"bold"}}})(t)}return TC}var AC,UG;function Cnt(){if(UG)return AC;UG=1,AC=e,e.displayName="firestoreSecurityRules",e.aliases=[];function e(t){t.languages["firestore-security-rules"]=t.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.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:/,/}}})}return AC}var _C,GG;function Tnt(){if(GG)return _C;GG=1,_C=e,e.displayName="flow",e.aliases=[];function e(t){(function(r){r.languages.flow=r.languages.extend("javascript",{}),r.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),r.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 r.languages.flow.parameter,r.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(r.languages.flow.keyword)||(r.languages.flow.keyword=[r.languages.flow.keyword]),r.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})})(t)}return _C}var DC,$G;function Ant(){if($G)return DC;$G=1,DC=e,e.displayName="fortran",e.aliases=[];function e(t){t.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:/\(\/|\/\)|[(),;:&]/}}return DC}var RC,jG;function _nt(){if(jG)return RC;jG=1,RC=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.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|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.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"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.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:t.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}})}return RC}var NC,qG;function Dnt(){if(qG)return NC;qG=1;var e=ci();NC=t,t.displayName="ftl",t.aliases=[];function t(r){r.register(e),function(n){for(var a=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)a=a.replace(/<expr>/g,function(){return a});a=a.replace(/<expr>/g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return a})),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:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,n.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:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},n.hooks.add("before-tokenize",function(s){var l=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return a}),"gi");n.languages["markup-templating"].buildPlaceholders(s,"ftl",l)}),n.hooks.add("after-tokenize",function(s){n.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(r)}return NC}var LC,WG;function Rnt(){if(WG)return LC;WG=1,LC=e,e.displayName="gap",e.aliases=[];function e(t){t.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:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return LC}var MC,VG;function Nnt(){if(VG)return MC;VG=1,MC=e,e.displayName="gcode",e.aliases=[];function e(t){t.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:/[:*]/}}return MC}var IC,KG;function Lnt(){if(KG)return IC;KG=1,IC=e,e.displayName="gdscript",e.aliases=[];function e(t){t.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:/[.:,;()[\]{}]/}}return IC}var OC,YG;function Mnt(){if(YG)return OC;YG=1,OC=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return OC}var BC,XG;function Int(){if(XG)return BC;XG=1,BC=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(r){var n=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;r.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"}}})(t)}return BC}var PC,JG;function Ont(){if(JG)return PC;JG=1,PC=e,e.displayName="git",e.aliases=[];function e(t){t.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}}return PC}var zC,ZG;function Bnt(){if(ZG)return zC;ZG=1;var e=nd();zC=t,t.displayName="glsl",t.aliases=[];function t(r){r.register(e),r.languages.glsl=r.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/})}return zC}var HC,QG;function Pnt(){if(QG)return HC;QG=1,HC=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.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/})}return HC}var UC,e$;function znt(){if(e$)return UC;e$=1,UC=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.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:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return UC}var GC,t$;function Hnt(){if(t$)return GC;t$=1,GC=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.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:/[()[\],]/}}return GC}var $C,r$;function Unt(){if(r$)return $C;r$=1,$C=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.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/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return $C}var jC,n$;function Gnt(){if(n$)return jC;n$=1,jC=e,e.displayName="graphql",e.aliases=[];function e(t){t.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:t.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+/},t.hooks.add("after-tokenize",function(n){if(n.language!=="graphql")return;var a=n.tokens.filter(function(x){return typeof x!="string"&&x.type!=="comment"&&x.type!=="scalar"}),i=0;function o(x){return a[i+x]}function s(x,E){E=E||0;for(var C=0;C<x.length;C++){var _=o(C+E);if(!_||_.type!==x[C])return!1}return!0}function l(x,E){for(var C=1,_=i;_<a.length;_++){var D=a[_],w=D.content;if(D.type==="punctuation"&&typeof w=="string"){if(x.test(w))C++;else if(E.test(w)&&(C--,C===0))return _}}return-1}function u(x,E){var C=x.alias;C?Array.isArray(C)||(x.alias=C=[C]):x.alias=C=[],C.push(E)}for(;i<a.length;){var d=a[i++];if(d.type==="keyword"&&d.content==="mutation"){var h=[];if(s(["definition-mutation","punctuation"])&&o(1).content==="("){i+=2;var f=l(/^\($/,/^\)$/);if(f===-1)continue;for(;i<f;i++){var m=o(0);m.type==="variable"&&(u(m,"variable-input"),h.push(m.content))}i=f+1}if(s(["punctuation","property-query"])&&o(0).content==="{"&&(i++,u(o(0),"property-mutation"),h.length>0)){var b=l(/^\{$/,/^\}$/);if(b===-1)continue;for(var y=i;y<b;y++){var F=a[y];F.type==="variable"&&h.indexOf(F.content)>=0&&u(F,"variable-input")}}}}})}return jC}var qC,a$;function $nt(){if(a$)return qC;a$=1,qC=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,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"}}),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"}}),t.hooks.add("wrap",function(r){if(r.language==="groovy"&&r.type==="string"){var n=r.content.value[0];if(n!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;n==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),r.content.value=r.content.value.replace(/</g,"<").replace(/&/g,"&"),r.content=t.highlight(r.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),r.classes.push(n==="/"?"regex":"gstring")}}})}return qC}var WC,i$;function jnt(){if(i$)return WC;i$=1;var e=$2();WC=t,t.displayName="haml",t.aliases=[];function t(r){r.register(e),function(n){n.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:n.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:n.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:n.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:n.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:n.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:n.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:n.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,l=i.length;s<l;s++){var u=i[s];u=typeof u=="string"?{filter:u,language:u}:u,n.languages[u.language]&&(o["filter-"+u.filter]={pattern:RegExp(a.replace("{{filter_name}}",function(){return u.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[u.language,"language-"+u.language],inside:n.languages[u.language]}}})}n.languages.insertBefore("haml","filter",o)}(r)}return WC}var VC,o$;function qnt(){if(o$)return VC;o$=1;var e=ci();VC=t,t.displayName="handlebars",t.aliases=["hbs"];function t(r){r.register(e),function(n){n.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]+/},n.hooks.add("before-tokenize",function(a){var i=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;n.languages["markup-templating"].buildPlaceholders(a,"handlebars",i)}),n.hooks.add("after-tokenize",function(a){n.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),n.languages.hbs=n.languages.handlebars}(r)}return VC}var KC,s$;function QN(){if(s$)return KC;s$=1,KC=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.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:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return KC}var YC,l$;function Wnt(){if(l$)return YC;l$=1,YC=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.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}|[-+*/%!=&|^])=?|[?:~]/}),t.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:t.languages.haxe}}},string:/[\s\S]+/}}}),t.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:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return YC}var XC,u$;function Vnt(){if(u$)return XC;u$=1,XC=e,e.displayName="hcl",e.aliases=[];function e(t){t.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:/[=\[\]{}]/}}return XC}var JC,c$;function Knt(){if(c$)return JC;c$=1;var e=nd();JC=t,t.displayName="hlsl",t.aliases=[];function t(r){r.register(e),r.languages.hlsl=r.languages.extend("c",{"class-name":[r.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/})}return JC}var ZC,d$;function Ynt(){if(d$)return ZC;d$=1,ZC=e,e.displayName="hoon",e.aliases=[];function e(t){t.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:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return ZC}var QC,h$;function Xnt(){if(h$)return QC;h$=1,QC=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return QC}var eT,p$;function Jnt(){if(p$)return eT;p$=1,eT=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return eT}var tT,f$;function Znt(){if(f$)return tT;f$=1,tT=e,e.displayName="http",e.aliases=[];function e(t){(function(r){function n(h){return RegExp("(^(?:"+h+"):[ ]*(?![ ]))[^]+","i")}r.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:r.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:r.languages.csp},{pattern:n(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:r.languages.hpkp},{pattern:n(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:r.languages.hsts},{pattern:n(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=r.languages,i={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},o={"application/json":!0,"application/xml":!0};function s(h){var f=h.replace(/^[a-z]+\//,""),m="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+h+"|"+m+")"}var l;for(var u in i)if(i[u]){l=l||{};var d=o[u]?s(u):u;l[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[u]}}l&&r.languages.insertBefore("http","header",l)})(t)}return tT}var rT,m$;function Qnt(){if(m$)return rT;m$=1,rT=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.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:/[\[,;:()\]]/}}return rT}var nT,g$;function eat(){if(g$)return nT;g$=1,nT=e,e.displayName="icon",e.aliases=[];function e(t){t.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:/[\[\](){},;]/}}return nT}var aT,b$;function tat(){if(b$)return aT;b$=1,aT=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(r){function n(u,d){return d<=0?/[]/.source:u.replace(/<SELF>/g,function(){return n(u,d-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:a,greedy:!0,inside:{escape:i}},s=n(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return a.source}),8),l={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};r.languages["icu-message-format"]={argument:{pattern:RegExp(s),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":l,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":l,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(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:o},l.inside.message.inside=r.languages["icu-message-format"],r.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=r.languages["icu-message-format"]})(t)}return aT}var iT,y$;function rat(){if(y$)return iT;y$=1;var e=QN();iT=t,t.displayName="idris",t.aliases=["idr"];function t(r){r.register(e),r.languages.idris=r.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}),r.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),r.languages.idr=r.languages.idris}return iT}var oT,v$;function nat(){if(v$)return oT;v$=1,oT=e,e.displayName="iecst",e.aliases=[];function e(t){t.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:/[()[\].,;]/}}return oT}var sT,F$;function aat(){if(F$)return sT;F$=1,sT=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(r){r.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},r.languages.gitignore=r.languages.ignore,r.languages.hgignore=r.languages.ignore,r.languages.npmignore=r.languages.ignore})(t)}return sT}var lT,E$;function iat(){if(E$)return lT;E$=1,lT=e,e.displayName="inform7",e.aliases=[];function e(t){t.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:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return lT}var uT,S$;function oat(){if(S$)return uT;S$=1,uT=e,e.displayName="ini",e.aliases=[];function e(t){t.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:/=/}}return uT}var cT,x$;function sat(){if(x$)return cT;x$=1,cT=e,e.displayName="io",e.aliases=[];function e(t){t.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:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}return cT}var dT,w$;function lat(){if(w$)return dT;w$=1,dT=e,e.displayName="j",e.aliases=[];function e(t){t.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"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:/[()]/}}return dT}var hT,k$;function eL(){if(k$)return hT;k$=1,hT=e,e.displayName="java",e.aliases=[];function e(t){(function(r){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|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(a+/[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:/\./}};r.languages.java=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:n,function:[r.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}}),r.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),r.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:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return hT}var pT,C$;function j2(){if(C$)return pT;C$=1,pT=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(r){var n=r.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 a(o,s){var l="doc-comment",u=r.languages[o];if(u){var d=u[l];if(!d){var h={};h[l]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=r.languages.insertBefore(o,"comment",h),d=u[l]}if(d instanceof RegExp&&(d=u[l]={pattern:d}),Array.isArray(d))for(var f=0,m=d.length;f<m;f++)d[f]instanceof RegExp&&(d[f]={pattern:d[f]}),s(d[f]);else s(d)}}function i(o,s){typeof o=="string"&&(o=[o]),o.forEach(function(l){a(l,function(u){u.inside||(u.inside={}),u.inside.rest=s})})}Object.defineProperty(n,"addSupport",{value:i}),n.addSupport(["java","javascript","php"],n)})(t)}return pT}var fT,T$;function uat(){if(T$)return fT;T$=1;var e=eL(),t=j2();fT=r,r.displayName="javadoc",r.aliases=[];function r(n){n.register(e),n.register(t),function(a){var i=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,o=/#\s*\w+(?:\s*\([^()]*\))?/.source,s=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return o});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),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:a.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:i,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:i,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)}(n)}return fT}var mT,A$;function cat(){if(A$)return mT;A$=1,mT=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.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$.+-]*\/)+(?:<init>)?\([^()]*\)/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$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\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/}}}}return mT}var gT,_$;function dat(){if(_$)return gT;_$=1,gT=e,e.displayName="jexl",e.aliases=[];function e(t){t.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:/[{}[\](),.]/}}return gT}var bT,D$;function hat(){if(D$)return bT;D$=1,bT=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.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/}),t.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]*:)/}})}return bT}var yT,R$;function pat(){if(R$)return yT;R$=1,yT=e,e.displayName="jq",e.aliases=[];function e(t){(function(r){var n=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=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:/^\\\(|\)$/}}},o=r.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:a,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=o})(t)}return yT}var vT,N$;function fat(){if(N$)return vT;N$=1,vT=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(r){r.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+r.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),r.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+r.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),r.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,d){return RegExp(u.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}r.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:r.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:r.languages.javascript}}),r.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"}),r.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),r.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\s*)#?<ID>/.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 a=["function","function-variable","method","method-variable","property-access"],i=0;i<a.length;i++){var o=a[i],s=r.languages.javascript[o];r.util.type(s)==="RegExp"&&(s=r.languages.javascript[o]={pattern:s});var l=s.inside||{};s.inside=l,l["maybe-class-name"]=/^[A-Z][\s\S]*/}})(t)}return vT}var FT,L$;function mat(){if(L$)return FT;L$=1,FT=e,e.displayName="jsTemplates",e.aliases=[];function e(t){(function(r){var n=r.languages.javascript["template-string"],a=n.pattern.source,i=n.inside.interpolation,o=i.inside["interpolation-punctuation"],s=i.pattern.source;function l(y,F){if(r.languages[y])return{pattern:RegExp("((?:"+F+")\\s*)"+a),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:y}}}}r.languages.javascript["template-string"]=[l("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),l("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),l("svg",/\bsvg/.source),l("markdown",/\b(?:markdown|md)/.source),l("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),l("sql",/\bsql/.source),n].filter(Boolean);function u(y,F){return"___"+F.toUpperCase()+"_"+y+"___"}function d(y,F,x){var E={code:y,grammar:F,language:x};return r.hooks.run("before-tokenize",E),E.tokens=r.tokenize(E.code,E.grammar),r.hooks.run("after-tokenize",E),E.tokens}function h(y){var F={};F["interpolation-punctuation"]=o;var x=r.tokenize(y,F);if(x.length===3){var E=[1,1];E.push.apply(E,d(x[1],r.languages.javascript,"javascript")),x.splice.apply(x,E)}return new r.Token("interpolation",x,i.alias,y)}function f(y,F,x){var E=r.tokenize(y,{interpolation:{pattern:RegExp(s),lookbehind:!0}}),C=0,_={},D=E.map(function(M){if(typeof M=="string")return M;for(var L=M.content,U;y.indexOf(U=u(C++,x))!==-1;);return _[U]=L,U}).join(""),w=d(D,F,x),A=Object.keys(_);C=0;function I(M){for(var L=0;L<M.length;L++){if(C>=A.length)return;var U=M[L];if(typeof U=="string"||typeof U.content=="string"){var j=A[C],z=typeof U=="string"?U:U.content,V=z.indexOf(j);if(V!==-1){++C;var X=z.substring(0,V),q=h(_[j]),W=z.substring(V+j.length),B=[];if(X&&B.push(X),B.push(q),W){var te=[W];I(te),B.push.apply(B,te)}typeof U=="string"?(M.splice.apply(M,[L,1].concat(B)),L+=B.length-1):U.content=B}}else{var P=U.content;Array.isArray(P)?I(P):I([P])}}}return I(w),new r.Token(x,w,"language-"+x,y)}var m={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};r.hooks.add("after-tokenize",function(y){if(!(y.language in m))return;function F(x){for(var E=0,C=x.length;E<C;E++){var _=x[E];if(typeof _!="string"){var D=_.content;if(!Array.isArray(D)){typeof D!="string"&&F([D]);continue}if(_.type==="template-string"){var w=D[1];if(D.length===3&&typeof w!="string"&&w.type==="embedded-code"){var A=b(w),I=w.alias,M=Array.isArray(I)?I[0]:I,L=r.languages[M];if(!L)continue;D[1]=f(A,L,M)}}else F(D)}}}F(y.tokens)});function b(y){return typeof y=="string"?y:Array.isArray(y)?y.map(b).join(""):b(y.content)}})(t)}return FT}var ET,M$;function tL(){if(M$)return ET;M$=1,ET=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(r){r.languages.typescript=r.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/}),r.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 r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var n=r.languages.extend("typescript",{});delete n["class-name"],r.languages.typescript["class-name"].inside=n,r.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}}}}),r.languages.ts=r.languages.typescript})(t)}return ET}var ST,I$;function gat(){if(I$)return ST;I$=1;var e=j2(),t=tL();ST=r,r.displayName="jsdoc",r.aliases=[];function r(n){n.register(e),n.register(t),function(a){var i=a.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\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:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:a.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:i,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(n)}return ST}var xT,O$;function rL(){if(O$)return xT;O$=1,xT=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.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"}},t.languages.webmanifest=t.languages.json}return xT}var wT,B$;function bat(){if(B$)return wT;B$=1;var e=rL();wT=t,t.displayName="json5",t.aliases=[];function t(r){r.register(e),function(n){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;n.languages.json5=n.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(r)}return wT}var kT,P$;function yat(){if(P$)return kT;P$=1;var e=rL();kT=t,t.displayName="jsonp",t.aliases=[];function t(r){r.register(e),r.languages.jsonp=r.languages.extend("json",{punctuation:/[{}[\]();,.]/}),r.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return kT}var CT,z$;function vat(){if(z$)return CT;z$=1,CT=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.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|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(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:/:/}}}}}}return CT}var TT,H$;function Gue(){if(H$)return TT;H$=1,TT=e,e.displayName="jsx",e.aliases=[];function e(t){(function(r){var n=r.util.clone(r.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function s(d,h){return d=d.replace(/<S>/g,function(){return a}).replace(/<BRACES>/g,function(){return i}).replace(/<SPREAD>/g,function(){return o}),RegExp(d,h)}o=s(o).source,r.languages.jsx=r.languages.extend("markup",n),r.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=n.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:s(/<SPREAD>/.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var l=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(l).join(""):""},u=function(d){for(var h=[],f=0;f<d.length;f++){var m=d[f],b=!1;if(typeof m!="string"&&(m.type==="tag"&&m.content[0]&&m.content[0].type==="tag"?m.content[0].content[0].content==="</"?h.length>0&&h[h.length-1].tagName===l(m.content[0].content[1])&&h.pop():m.content[m.content.length-1].content==="/>"||h.push({tagName:l(m.content[0].content[1]),openedBraces:0}):h.length>0&&m.type==="punctuation"&&m.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?h[h.length-1].openedBraces--:b=!0),(b||typeof m=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var y=l(m);f<d.length-1&&(typeof d[f+1]=="string"||d[f+1].type==="plain-text")&&(y+=l(d[f+1]),d.splice(f+1,1)),f>0&&(typeof d[f-1]=="string"||d[f-1].type==="plain-text")&&(y=l(d[f-1])+y,d.splice(f-1,1),f--),d[f]=new r.Token("plain-text",y,null,y)}m.content&&typeof m.content!="string"&&u(m.content)}};r.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return TT}var AT,U$;function Fat(){if(U$)return AT;U$=1,AT=e,e.displayName="julia",e.aliases=[];function e(t){t.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|[πℯ]/}}return AT}var _T,G$;function Eat(){if(G$)return _T;G$=1,_T=e,e.displayName="keepalived",e.aliases=[];function e(t){t.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}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\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})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/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:/[\{\}]/}}return _T}var DT,$$;function Sat(){if($$)return DT;$$=1,DT=e,e.displayName="keyman",e.aliases=[];function e(t){t.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|nomatch|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:/[()=,]/}}return DT}var RT,j$;function xat(){if(j$)return RT;j$=1,RT=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(r){r.languages.kotlin=r.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 r.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:r.languages.kotlin}};r.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 r.languages.kotlin.string,r.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),r.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),r.languages.kt=r.languages.kotlin,r.languages.kts=r.languages.kotlin})(t)}return RT}var NT,q$;function wat(){if(q$)return NT;q$=1,NT=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(r){var n=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(i,o){return RegExp(i.replace(/<nonId>/g,n),o)}r.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},r.languages.kum=r.languages.kumir})(t)}return NT}var LT,W$;function kat(){if(W$)return LT;W$=1,LT=e,e.displayName="kusto",e.aliases=[];function e(t){t.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:/[()\[\]{},;.:]/}}return LT}var MT,V$;function Cat(){if(V$)return MT;V$=1,MT=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(r){var n=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:n,alias:"regex"}};r.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:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,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:/[[\]{}&]/},r.languages.tex=r.languages.latex,r.languages.context=r.languages.latex})(t)}return MT}var IT,K$;function q2(){if(K$)return IT;K$=1;var e=ci();IT=t,t.displayName="php",t.aliases=[];function t(r){r.register(e),function(n){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{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*\()/],o=/\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,s=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,l=/[{}\[\](),:;]/;n.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,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|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|new|or|parent|print|private|protected|public|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:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:l};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:n.languages.php},d=[{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:u}},{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:u}}];n.languages.insertBefore("php","variable",{string:d,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:d,"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:i,number:o,operator:s,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),n.hooks.add("before-tokenize",function(h){if(/<\?/.test(h.code)){var f=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;n.languages["markup-templating"].buildPlaceholders(h,"php",f)}}),n.hooks.add("after-tokenize",function(h){n.languages["markup-templating"].tokenizePlaceholders(h,"php")})}(r)}return IT}var OT,Y$;function Tat(){if(Y$)return OT;Y$=1;var e=ci(),t=q2();OT=r,r.displayName="latte",r.aliases=[];function r(n){n.register(e),n.register(t),function(a){a.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:a.languages.php}};var i=a.languages.extend("markup",{});a.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:a.languages.php}}}}}},i.tag),a.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(o,"latte",s),o.grammar=i}}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"latte")})}(n)}return OT}var BT,X$;function Aat(){if(X$)return BT;X$=1,BT=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.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:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return BT}var PT,J$;function nL(){if(J$)return PT;J$=1,PT=e,e.displayName="scheme",e.aliases=[];function e(t){(function(r){r.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({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\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(a){for(var i in a)a[i]=a[i].replace(/<[\w\s]+>/g,function(o){return"(?:"+a[o].trim()+")"});return a[i]}})(t)}return PT}var zT,Z$;function _at(){if(Z$)return zT;Z$=1;var e=nL();zT=t,t.displayName="lilypond",t.aliases=[];function t(r){r.register(e),function(n){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,i=5,o=0;o<i;o++)a=a.replace(/<expr>/g,function(){return a});a=a.replace(/<expr>/g,/[^\s\S]/.source);var s=n.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return a}),"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:n.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/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,n.languages.ly=s}(r)}return zT}var HT,Q$;function Dat(){if(Q$)return HT;Q$=1;var e=ci();HT=t,t.displayName="liquid",t.aliases=[];function t(r){r.register(e),r.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"}},r.hooks.add("before-tokenize",function(n){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,i=!1;r.languages["markup-templating"].buildPlaceholders(n,"liquid",a,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var l=s[1];if(l==="raw"&&!i)return i=!0,!0;if(l==="endraw")return i=!1,!0}return!i})}),r.hooks.add("after-tokenize",function(n){r.languages["markup-templating"].tokenizePlaceholders(n,"liquid")})}return HT}var UT,ej;function Rat(){if(ej)return UT;ej=1,UT=e,e.displayName="lisp",e.aliases=[];function e(t){(function(r){function n(y){return RegExp(/(\()/.source+"(?:"+y+")"+/(?=[\s\)])/.source)}function a(y){return RegExp(/([\s([])/.source+"(?:"+y+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+i,s="(\\()",l="(?=\\))",u="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,h={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(s+"(?: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(s+"(?: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:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+d+/\)/.source),inside:h},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:h},m="\\S+(?:\\s+\\S+)*",b={pattern:RegExp(s+d+l),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:/[()]/}};h.lambda.inside.arguments=b,h.defun.inside.arguments=r.util.clone(b),h.defun.inside.arguments.inside.sublist=b,r.languages.lisp=h,r.languages.elisp=h,r.languages.emacs=h,r.languages["emacs-lisp"]=h})(t)}return UT}var GT,tj;function Nat(){if(tj)return GT;tj=1,GT=e,e.displayName="livescript",e.aliases=[];function e(t){t.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:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return GT}var $T,rj;function Lat(){if(rj)return $T;rj=1,$T=e,e.displayName="llvm",e.aliases=[];function e(t){(function(r){r.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:/[{}[\];(),.!*=<>]/}})(t)}return $T}var jT,nj;function Mat(){if(nj)return jT;nj=1,jT=e,e.displayName="log",e.aliases=[];function e(t){t.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:t.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:/[\[\].,]/}}return jT}var qT,aj;function Iat(){if(aj)return qT;aj=1,qT=e,e.displayName="lolcode",e.aliases=[];function e(t){t.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}|…|,|!/}}return qT}var WT,ij;function Oat(){if(ij)return WT;ij=1,WT=e,e.displayName="magma",e.aliases=[];function e(t){t.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:/[()[\]{}<>,;.:]/}}return WT}var VT,oj;function Bat(){if(oj)return VT;oj=1,VT=e,e.displayName="makefile",e.aliases=[];function e(t){t.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:/[:;(){}]/}}return VT}var KT,sj;function Pat(){if(sj)return KT;sj=1,KT=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(r){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(f){return f=f.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;r.languages.markdown=r.languages.extend("markup",{}),r.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:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+s+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+s+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:r.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:a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~)<inner>)+\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:a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.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(f){["url","bold","italic","strike","code-snippet"].forEach(function(m){f!==m&&(r.languages.markdown[f].inside.content.inside[m]=r.languages.markdown[m])})}),r.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function m(b){if(!(!b||typeof b=="string"))for(var y=0,F=b.length;y<F;y++){var x=b[y];if(x.type!=="code"){m(x.content);continue}var E=x.content[1],C=x.content[3];if(E&&C&&E.type==="code-language"&&C.type==="code-block"&&typeof E.content=="string"){var _=E.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");_=(/[a-z][\w-]*/i.exec(_)||[""])[0].toLowerCase();var D="language-"+_;C.alias?typeof C.alias=="string"?C.alias=[C.alias,D]:C.alias.push(D):C.alias=[D]}}}m(f.tokens)}),r.hooks.add("wrap",function(f){if(f.type==="code-block"){for(var m="",b=0,y=f.classes.length;b<y;b++){var F=f.classes[b],x=/language-(.+)/.exec(F);if(x){m=x[1];break}}var E=r.languages[m];if(E)f.content=r.highlight(h(f.content.value),E,m);else if(m&&m!=="none"&&r.plugins.autoloader){var C="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);f.attributes.id=C,r.plugins.autoloader.loadLanguages(m,function(){var _=document.getElementById(C);_&&(_.innerHTML=r.highlight(_.textContent,r.languages[m],m))})}}});var l=RegExp(r.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function h(f){var m=f.replace(l,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,y){if(y=y.toLowerCase(),y[0]==="#"){var F;return y[1]==="x"?F=parseInt(y.slice(2),16):F=Number(y.slice(1)),d(F)}else{var x=u[y];return x||b}}),m}r.languages.md=r.languages.markdown})(t)}return KT}var YT,lj;function zat(){if(lj)return YT;lj=1,YT=e,e.displayName="matlab",e.aliases=[];function e(t){t.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}|[.,;\[\](){}!]/}}return YT}var XT,uj;function Hat(){if(uj)return XT;uj=1,XT=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(r){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;r.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}})(t)}return XT}var JT,cj;function Uat(){if(cj)return JT;cj=1,JT=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},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:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return JT}var ZT,dj;function Gat(){if(dj)return ZT;dj=1,ZT=e,e.displayName="mermaid",e.aliases=[];function e(t){t.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]|===+|---+|-\.+-)(?![<>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:/[(){};]/}}return ZT}var QT,hj;function $at(){if(hj)return QT;hj=1,QT=e,e.displayName="mizar",e.aliases=[];function e(t){t.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:/\(#|#\)|[,:;\[\](){}]/}}return QT}var e3,pj;function jat(){if(pj)return e3;pj=1,e3=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(r){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"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];n=n.map(function(o){return o.replace("$","\\$")});var i="(?:"+n.join("|")+")\\b";r.languages.mongodb=r.languages.extend("javascript",{}),r.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)?$")}}}),r.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}},r.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return e3}var t3,fj;function qat(){if(fj)return t3;fj=1,t3=e,e.displayName="monkey",e.aliases=[];function e(t){t.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:/[.,:;()\[\]]/}}return t3}var r3,mj;function Wat(){if(mj)return r3;mj=1,r3=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.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:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return r3}var n3,gj;function Vat(){if(gj)return n3;gj=1,n3=e,e.displayName="n1ql",e.aliases=[];function e(t){t.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:/[;[\](),.{}:]/}}return n3}var a3,bj;function Kat(){if(bj)return a3;bj=1,a3=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.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/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return a3}var i3,yj;function Yat(){if(yj)return i3;yj=1,i3=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.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:/[{}[\];(),:]/}}return i3}var o3,vj;function Xat(){if(vj)return o3;vj=1,o3=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(r){var n=/\{[^\r\n\[\]{}]*\}/,a={"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"}]};r.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:a}}},"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:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},r.languages.nani=r.languages.naniscript,r.hooks.add("after-tokenize",function(s){var l=s.tokens;l.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var d=o(u);i(d)||(u.type="bad-line",u.content=d)}})});function i(s){for(var l="[]{}",u=[],d=0;d<s.length;d++){var h=s[d],f=l.indexOf(h);if(f!==-1){if(f%2===0)u.push(f+1);else if(u.pop()!==f)return!1}}return u.length===0}function o(s){return typeof s=="string"?s:Array.isArray(s)?s.map(o).join(""):o(s.content)}})(t)}return o3}var s3,Fj;function Jat(){if(Fj)return s3;Fj=1,s3=e,e.displayName="nasm",e.aliases=[];function e(t){t.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:/[\[\]*+\-\/%<>=&|$!]/}}return s3}var l3,Ej;function Zat(){if(Ej)return l3;Ej=1,l3=e,e.displayName="neon",e.aliases=[];function e(t){t.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:"atrule"},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:/[,:=[\]{}()-]/}}return l3}var u3,Sj;function Qat(){if(Sj)return u3;Sj=1,u3=e,e.displayName="nevod",e.aliases=[];function e(t){t.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\-.]+/}}return u3}var c3,xj;function eit(){if(xj)return c3;xj=1,c3=e,e.displayName="nginx",e.aliases=[];function e(t){(function(r){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;r.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:/[{};]/}})(t)}return c3}var d3,wj;function tit(){if(wj)return d3;wj=1,d3=e,e.displayName="nim",e.aliases=[];function e(t){t.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:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return d3}var h3,kj;function rit(){if(kj)return h3;kj=1,h3=e,e.displayName="nix",e.aliases=[];function e(t){t.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:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return h3}var p3,Cj;function nit(){if(Cj)return p3;Cj=1,p3=e,e.displayName="nsis",e.aliases=[];function e(t){t.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|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|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|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}}}return p3}var f3,Tj;function ait(){if(Tj)return f3;Tj=1;var e=nd();f3=t,t.displayName="objectivec",t.aliases=["objc"];function t(r){r.register(e),r.languages.objectivec=r.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 r.languages.objectivec["class-name"],r.languages.objc=r.languages.objectivec}return f3}var m3,Aj;function iit(){if(Aj)return m3;Aj=1,m3=e,e.displayName="ocaml",e.aliases=[];function e(t){t.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/}}return m3}var g3,_j;function oit(){if(_j)return g3;_j=1;var e=nd();g3=t,t.displayName="opencl",t.aliases=[];function t(r){r.register(e),function(n){n.languages.opencl=n.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"}}),n.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 a={"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"}};n.languages.insertBefore("c","keyword",a),n.languages.cpp&&(a["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"},n.languages.insertBefore("cpp","keyword",a))}(r)}return g3}var b3,Dj;function sit(){if(Dj)return b3;Dj=1,b3=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.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:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return b3}var y3,Rj;function lit(){if(Rj)return y3;Rj=1,y3=e,e.displayName="oz",e.aliases=[];function e(t){t.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:/[\[\](){}.:;?]/}}return y3}var v3,Nj;function uit(){if(Nj)return v3;Nj=1,v3=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var r=["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 r=r.map(function(n){return n.split("").join(" *")}).join("|"),RegExp("\\b(?:"+r+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return v3}var F3,Lj;function cit(){if(Lj)return F3;Lj=1,F3=e,e.displayName="parser",e.aliases=[];function e(t){(function(r){var n=r.languages.parser=r.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=r.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}}}),r.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"])})(t)}return F3}var E3,Mj;function dit(){if(Mj)return E3;Mj=1,E3=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.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:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return E3}var S3,Ij;function hit(){if(Ij)return S3;Ij=1,S3=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(r){var n=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return n}),i=r.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+)<type>/.source.replace(/<type>/g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return a})),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:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,l){return s[l]=i[l],s},{});i["class-name"].forEach(function(s){s.inside=o})})(t)}return S3}var x3,Oj;function pit(){if(Oj)return x3;Oj=1,x3=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.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/},t.languages.px=t.languages.pcaxis}return x3}var w3,Bj;function fit(){if(Bj)return w3;Bj=1,w3=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.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:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return w3}var k3,Pj;function mit(){if(Pj)return k3;Pj=1,k3=e,e.displayName="perl",e.aliases=[];function e(t){(function(r){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;r.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:/[{}[\];(),:]/}})(t)}return k3}var C3,zj;function git(){if(zj)return C3;zj=1;var e=q2();C3=t,t.displayName="phpExtras",t.aliases=[];function t(r){r.register(e),r.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:/::|\\/}}})}return C3}var T3,Hj;function bit(){if(Hj)return T3;Hj=1;var e=q2(),t=j2();T3=r,r.displayName="phpdoc",r.aliases=[];function r(n){n.register(e),n.register(t),function(a){var i=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+i+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+i),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)}(n)}return T3}var A3,Uj;function yit(){if(Uj)return A3;Uj=1;var e=JN();A3=t,t.displayName="plsql",t.aliases=[];function t(r){r.register(e),r.languages.plsql=r.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:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),r.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return A3}var _3,Gj;function vit(){if(Gj)return _3;Gj=1,_3=e,e.displayName="powerquery",e.aliases=[];function e(t){t.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:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return _3}var D3,$j;function Fit(){if($j)return D3;$j=1,D3=e,e.displayName="powershell",e.aliases=[];function e(t){(function(r){var n=r.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}})(t)}return D3}var R3,jj;function Eit(){if(jj)return R3;jj=1,R3=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.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:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.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"}})}return R3}var N3,qj;function Sit(){if(qj)return N3;qj=1,N3=e,e.displayName="prolog",e.aliases=[];function e(t){t.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:/[(){}\[\],]/}}return N3}var L3,Wj;function xit(){if(Wj)return L3;Wj=1,L3=e,e.displayName="promql",e.aliases=[];function e(t){(function(r){var n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],i=["offset"],o=n.concat(a,i);r.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.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(?:"+o.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:/[{};()`,.[\]]/}})(t)}return L3}var M3,Vj;function wit(){if(Vj)return M3;Vj=1,M3=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return M3}var I3,Kj;function kit(){if(Kj)return I3;Kj=1,I3=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(r){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;r.languages.protobuf=r.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}),r.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}})})(t)}return I3}var O3,Yj;function Cit(){if(Yj)return O3;Yj=1,O3=e,e.displayName="psl",e.aliases=[];function e(t){t.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:/[(){}\[\];,]/}}return O3}var B3,Xj;function Tit(){if(Xj)return B3;Xj=1,B3=e,e.displayName="pug",e.aliases=[];function e(t){(function(r){r.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:r.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:r.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:r.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:r.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:r.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:r.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:r.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:r.languages.javascript}],punctuation:/[.\-!=|]+/};for(var n=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},o=0,s=a.length;o<s;o++){var l=a[o];l=typeof l=="string"?{filter:l,language:l}:l,r.languages[l.language]&&(i["filter-"+l.filter]={pattern:RegExp(n.replace("<filter_name>",function(){return l.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[l.language,"language-"+l.language],inside:r.languages[l.language]}}})}r.languages.insertBefore("pug","filter",i)})(t)}return B3}var P3,Jj;function Ait(){if(Jj)return P3;Jj=1,P3=e,e.displayName="puppet",e.aliases=[];function e(t){(function(r){r.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:r.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];r.languages.puppet.heredoc[0].inside.interpolation=n,r.languages.puppet.string.inside["double-quoted"].inside.interpolation=n})(t)}return P3}var z3,Zj;function _it(){if(Zj)return z3;Zj=1,z3=e,e.displayName="pure",e.aliases=[];function e(t){(function(r){r.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"],a=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;n.forEach(function(i){var o=i;if(typeof i!="string"&&(o=i.alias,i=i.lang),r.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(a.replace("<lang>",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:r.util.clone(r.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=r.util.clone(r.languages[o]),r.languages.insertBefore("pure","inline-lang",s)}}),r.languages.c&&(r.languages.pure["inline-lang"].inside.rest=r.util.clone(r.languages.c))})(t)}return z3}var H3,Qj;function Dit(){if(Qj)return H3;Qj=1,H3=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.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+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.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 t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return H3}var U3,eq;function Rit(){if(eq)return U3;eq=1;var e=QN();U3=t,t.displayName="purescript",t.aliases=["purs"];function t(r){r.register(e),r.languages.purescript=r.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:[r.languages.haskell.operator[0],r.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]/]}),r.languages.purs=r.languages.purescript}return U3}var G3,tq;function Nit(){if(tq)return G3;tq=1,G3=e,e.displayName="python",e.aliases=["py"];function e(t){t.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://,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:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return G3}var $3,rq;function Lit(){if(rq)return $3;rq=1,$3=e,e.displayName="q",e.aliases=[];function e(t){t.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:/[(){}\[\];.]/}}return $3}var j3,nq;function Mit(){if(nq)return j3;nq=1,j3=e,e.displayName="qml",e.aliases=[];function e(t){(function(r){for(var n=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return n}).replace(/<comment>/g,function(){return a}),o=0;o<2;o++)i=i.replace(/<expr>/g,function(){return i});i=i.replace(/<expr>/g,"[^\\s\\S]"),r.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*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:r.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;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:r.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return j3}var q3,aq;function Iit(){if(aq)return q3;aq=1,q3=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.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/})}return q3}var W3,iq;function Oit(){if(iq)return W3;iq=1,W3=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(r){function n(b,y){return b.replace(/<<(\d+)>>/g,function(F,x){return"(?:"+y[+x]+")"})}function a(b,y,F){return RegExp(n(b,y),"")}function i(b,y){for(var F=0;F<y;F++)b=b.replace(/<<self>>/g,function(){return"(?:"+b+")"});return b.replace(/<<self>>/g,"[^\\s\\S]")}var o={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 s(b){return"\\b(?:"+b.trim().replace(/ /g,"|")+")\\b"}var l=RegExp(s(o.type+" "+o.other)),u=/\b[A-Za-z_]\w*\b/.source,d=n(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),h={keyword:l,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;r.languages.qsharp=r.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:h},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:h}],keyword:l,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:/::|[{}[\];(),.:]/}),r.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var m=i(n(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[f]),2);r.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[m]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[m]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:r.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return W3}var V3,oq;function Bit(){if(oq)return V3;oq=1,V3=e,e.displayName="r",e.aliases=[];function e(t){t.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:/[(){}\[\],;]/}}return V3}var K3,sq;function Pit(){if(sq)return K3;sq=1;var e=nL();K3=t,t.displayName="racket",t.aliases=["rkt"];function t(r){r.register(e),r.languages.racket=r.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),r.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),r.languages.rkt=r.languages.racket}return K3}var Y3,lq;function zit(){if(lq)return Y3;lq=1,Y3=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.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/}),t.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 t.languages.reason.function}return Y3}var X3,uq;function Hit(){if(uq)return X3;uq=1,X3=e,e.displayName="regex",e.aliases=[];function e(t){(function(r){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?: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"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",l=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};r.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:l,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":o,escape:a}},"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:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(t)}return X3}var J3,cq;function Uit(){if(cq)return J3;cq=1,J3=e,e.displayName="rego",e.aliases=[];function e(t){t.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:/[,;.\[\]{}()]/}}return J3}var Z3,dq;function Git(){if(dq)return Z3;dq=1,Z3=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.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:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return Z3}var Q3,hq;function $it(){if(hq)return Q3;hq=1,Q3=e,e.displayName="rest",e.aliases=[];function e(t){t.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}}}return Q3}var eA,pq;function jit(){if(pq)return eA;pq=1,eA=e,e.displayName="rip",e.aliases=[];function e(t){t.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`'",.:;#\/\\()<>\[\]{}]*/}}return eA}var tA,fq;function qit(){if(fq)return tA;fq=1,tA=e,e.displayName="roboconf",e.aliases=[];function e(t){t.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:/[{},.;:=]/}}return tA}var rA,mq;function Wit(){if(mq)return rA;mq=1,rA=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(r){var n={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(u,d){var h={};h["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in d)h[f]=d[f];return h.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},h.variable=a,h.comment=n,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return u}),"im"),alias:"section",inside:h}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},l={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};r.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":s,documentation:o,property:l}),keywords:i("Keywords",{"keyword-name":s,documentation:o,property:l}),tasks:i("Tasks",{"task-name":s,documentation:o,property:l}),comment:n},r.languages.robot=r.languages.robotframework})(t)}return rA}var nA,gq;function Vit(){if(gq)return nA;gq=1,nA=e,e.displayName="rust",e.aliases=[];function e(t){(function(r){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,a=0;a<2;a++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,function(){return/[^\s\S]/.source}),r.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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},r.languages.rust["closure-params"].inside.rest=r.languages.rust,r.languages.rust.attribute.inside.string=r.languages.rust.string})(t)}return nA}var aA,bq;function Kit(){if(bq)return aA;bq=1,aA=e,e.displayName="sas",e.aliases=[];function e(t){(function(r){var n=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(n+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},s={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"},l={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={pattern:RegExp(n),greedy:!0},h=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},m={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":i,punctuation:h,string:d},b={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},y={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},F={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"},x={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},E=/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,C={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return E}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return E}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:f,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:a,"numeric-constant":i,punctuation:h,string:d}},_={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};r.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)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return n}),"im"),alias:"language-sql",inside:r.languages.sql},"global-statements":F,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":i,punctuation:h,string:d}},"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))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,alias:"language-groovy",inside:r.languages.groovy},keyword:_,"submit-statement":x,"global-statements":F,number:a,"numeric-constant":i,punctuation:h,string:d}},"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))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,alias:"language-lua",inside:r.languages.lua},keyword:_,"submit-statement":x,"global-statements":F,number:a,"numeric-constant":i,punctuation:h,string:d}},"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":C,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:l,keyword:_,function:f,format:b,altformat:y,"global-statements":F,number:a,"numeric-constant":i,punctuation:h,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,inside:m},"macro-keyword":s,"macro-variable":o,"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":s,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:h}},"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:a,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":C,comment:u,function:f,format:b,altformat:y,"numeric-constant":i,datetime:{pattern:RegExp(n+"(?:dt?|t)"),alias:"number"},string:d,step:l,keyword:_,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:h}})(t)}return aA}var iA,yq;function Yit(){if(yq)return iA;yq=1,iA=e,e.displayName="sass",e.aliases=[];function e(t){(function(r){r.languages.sass=r.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete r.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];r.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:a,important:r.languages.sass.important}}}),delete r.languages.sass.property,delete r.languages.sass.important,r.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}})})(t)}return iA}var oA,vq;function Xit(){if(vq)return oA;vq=1;var e=eL();oA=t,t.displayName="scala",t.aliases=[];function t(r){r.register(e),r.languages.scala=r.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|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|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*/}),r.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:r.languages.scala}}},string:/[\s\S]+/}}}),delete r.languages.scala["class-name"],delete r.languages.scala.function}return oA}var sA,Fq;function Jit(){if(Fq)return sA;Fq=1,sA=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.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]+\}/}}}),t.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}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.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}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return sA}var lA,Eq;function Zit(){if(Eq)return lA;Eq=1;var e=zue();lA=t,t.displayName="shellSession",t.aliases=[];function t(r){r.register(e),function(n){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");n.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?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return a}),"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:n.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},n.languages["sh-session"]=n.languages.shellsession=n.languages["shell-session"]}(r)}return lA}var uA,Sq;function Qit(){if(Sq)return uA;Sq=1,uA=e,e.displayName="smali",e.aliases=[];function e(t){t.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:/[{}(),;:]/}}return uA}var cA,xq;function eot(){if(xq)return cA;xq=1,cA=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.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:/[.;:?\[\](){}]/}}return cA}var dA,wq;function tot(){if(wq)return dA;wq=1;var e=ci();dA=t,t.displayName="smarty",t.aliases=[];function t(r){r.register(e),function(n){n.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:n.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/]},n.languages.smarty["embedded-php"].inside.smarty.inside=n.languages.smarty,n.languages.smarty.string[0].inside.interpolation.inside.expression.inside=n.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,i=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return a.source}),"g");n.hooks.add("before-tokenize",function(o){var s="{literal}",l="{/literal}",u=!1;n.languages["markup-templating"].buildPlaceholders(o,"smarty",i,function(d){return d===l&&(u=!1),u?!1:(d===s&&(u=!0),!0)})}),n.hooks.add("after-tokenize",function(o){n.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})}(r)}return dA}var hA,kq;function rot(){if(kq)return hA;kq=1,hA=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(r){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;r.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/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:/[(){}\[\].:,;]/},r.languages.sml["class-name"][0].inside=r.languages.sml,r.languages.smlnj=r.languages.sml})(t)}return hA}var pA,Cq;function not(){if(Cq)return pA;Cq=1,pA=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.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:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.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/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return pA}var fA,Tq;function aot(){if(Tq)return fA;Tq=1,fA=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(r){var n={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};r.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:/[(),]/},r.languages.sln=r.languages["solution-file"]})(t)}return fA}var mA,Aq;function iot(){if(Aq)return mA;Aq=1;var e=ci();mA=t,t.displayName="soy",t.aliases=[];function t(r){r.register(e),function(n){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,i=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;n.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:a,greedy:!0},number:i,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:i,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},n.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,l="{literal}",u="{/literal}",d=!1;n.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(h){return h===u&&(d=!1),d?!1:(h===l&&(d=!0),!0)})}),n.hooks.add("after-tokenize",function(o){n.languages["markup-templating"].tokenizePlaceholders(o,"soy")})}(r)}return mA}var gA,_q;function $ue(){if(_q)return gA;_q=1,gA=e,e.displayName="turtle",e.aliases=[];function e(t){t.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:/@/}}},t.languages.trig=t.languages.turtle}return gA}var bA,Dq;function oot(){if(Dq)return bA;Dq=1;var e=$ue();bA=t,t.displayName="sparql",t.aliases=["rq"];function t(r){r.register(e),r.languages.sparql=r.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),r.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]}),r.languages.rq=r.languages.sparql}return bA}var yA,Rq;function sot(){if(Rq)return yA;Rq=1,yA=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.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:/[()[\],]/}}return yA}var vA,Nq;function lot(){if(Nq)return vA;Nq=1,vA=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.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}),t.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:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return vA}var FA,Lq;function uot(){if(Lq)return FA;Lq=1,FA=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.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:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return FA}var EA,Mq;function cot(){if(Mq)return EA;Mq=1,EA=e,e.displayName="stan",e.aliases=[];function e(t){(function(r){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/;r.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:/[()\[\]{},;]/},r.languages.stan.constraint.inside.expression.inside=r.languages.stan})(t)}return EA}var SA,Iq;function dot(){if(Iq)return SA;Iq=1,SA=e,e.displayName="stylus",e.aliases=[];function e(t){(function(r){var n={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={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:a,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:a,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},r.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:/[{}()\[\];:.]/}})(t)}return SA}var xA,Oq;function hot(){if(Oq)return xA;Oq=1,xA=e,e.displayName="swift",e.aliases=[];function e(t){t.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:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(r){r.inside.interpolation.inside=t.languages.swift})}return xA}var wA,Bq;function pot(){if(Bq)return wA;Bq=1,wA=e,e.displayName="systemd",e.aliases=[];function e(t){(function(r){var n={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;r.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+"(?:"+a+`|(?=[^"\r
|
||
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:n,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return wA}var kA,Pq;function aL(){if(Pq)return kA;Pq=1,kA=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(r){function n(i,o,s){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function a(i){var o=r.languages[i],s="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("=",o,s),"class-feature":n("\\+",o,s),standard:n("",o,s)}}}}r.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return kA}var CA,zq;function fot(){if(zq)return CA;zq=1;var e=aL(),t=G2();CA=r,r.displayName="t4Cs",r.aliases=[];function r(n){n.register(e),n.register(t),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}return CA}var TA,Hq;function jue(){if(Hq)return TA;Hq=1;var e=Hue();TA=t,t.displayName="vbnet",t.aliases=[];function t(r){r.register(e),r.languages.vbnet=r.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:/[,;:(){}]/})}return TA}var AA,Uq;function mot(){if(Uq)return AA;Uq=1;var e=aL(),t=jue();AA=r,r.displayName="t4Vb",r.aliases=[];function r(n){n.register(e),n.register(t),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}return AA}var _A,Gq;function que(){if(Gq)return _A;Gq=1,_A=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(r){var n=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+a.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(u,d){d=(d||"").replace(/m/g,"")+"m";var h=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return u});return RegExp(h,d)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\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:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml})(t)}return _A}var DA,$q;function got(){if($q)return DA;$q=1;var e=que();DA=t,t.displayName="tap",t.aliases=[];function t(r){r.register(e),r.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:r.languages.yaml,alias:"language-yaml"}}}return DA}var RA,jq;function bot(){if(jq)return RA;jq=1,RA=e,e.displayName="tcl",e.aliases=[];function e(t){t.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:/[{}()\[\]]/}}return RA}var NA,qq;function yot(){if(qq)return NA;qq=1,NA=e,e.displayName="textile",e.aliases=[];function e(t){(function(r){var n=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function i(f,m){return RegExp(f.replace(/<MOD>/g,function(){return"(?:"+n+")"}).replace(/<PAR>/g,function(){return"(?:"+a+")"}),m||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:r.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=r.languages.textile=r.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*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")<MOD>+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:o},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:/[()]/}}}}}),l=s.phrase.inside,u={inline:l.inline,link:l.link,image:l.image,footnote:l.footnote,acronym:l.acronym,mark:l.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=l.inline.inside;d.bold.inside=u,d.italic.inside=u,d.inserted.inside=u,d.deleted.inside=u,d.span.inside=u;var h=l.table.inside;h.inline=u.inline,h.link=u.link,h.image=u.image,h.footnote=u.footnote,h.acronym=u.acronym,h.mark=u.mark})(t)}return NA}var LA,Wq;function vot(){if(Wq)return LA;Wq=1,LA=e,e.displayName="toml",e.aliases=[];function e(t){(function(r){var n=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(i){return i.replace(/__/g,function(){return n})}r.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\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:/[.,=[\]{}]/}})(t)}return LA}var MA,Vq;function Fot(){if(Vq)return MA;Vq=1,MA=e,e.displayName="tremor",e.aliases=[];function e(t){(function(r){r.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;r.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:r.languages.tremor}}},string:/[\s\S]+/}},r.languages.troy=r.languages.tremor,r.languages.trickle=r.languages.tremor})(t)}return MA}var IA,Kq;function Eot(){if(Kq)return IA;Kq=1;var e=Gue(),t=tL();IA=r,r.displayName="tsx",r.aliases=[];function r(n){n.register(e),n.register(t),function(a){var i=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",i),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var o=a.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(n)}return IA}var OA,Yq;function Sot(){if(Yq)return OA;Yq=1;var e=ci();OA=t,t.displayName="tt2",t.aliases=[];function t(r){r.register(e),function(n){n.languages.tt2=n.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:/[[\]{},()]/}),n.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),n.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),n.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 n.languages.tt2.string,n.hooks.add("before-tokenize",function(a){var i=/\[%[\s\S]+?%\]/g;n.languages["markup-templating"].buildPlaceholders(a,"tt2",i)}),n.hooks.add("after-tokenize",function(a){n.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(r)}return OA}var BA,Xq;function xot(){if(Xq)return BA;Xq=1;var e=ci();BA=t,t.displayName="twig",t.aliases=[];function t(r){r.register(e),r.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:/[()\[\]{}:.,]/},r.hooks.add("before-tokenize",function(n){if(n.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;r.languages["markup-templating"].buildPlaceholders(n,"twig",a)}}),r.hooks.add("after-tokenize",function(n){r.languages["markup-templating"].tokenizePlaceholders(n,"twig")})}return BA}var PA,Jq;function wot(){if(Jq)return PA;Jq=1,PA=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(r){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/;r.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,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:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},r.languages.tsconfig=r.languages.typoscript})(t)}return PA}var zA,Zq;function kot(){if(Zq)return zA;Zq=1,zA=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.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:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return zA}var HA,Qq;function Cot(){if(Qq)return HA;Qq=1,HA=e,e.displayName="uorazor",e.aliases=[];function e(t){t.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:/[()\[\]{}:.,]/}}return HA}var UA,eW;function Tot(){if(eW)return UA;eW=1,UA=e,e.displayName="uri",e.aliases=["url"];function e(t){t.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":/\//}}},t.languages.url=t.languages.uri}return UA}var GA,tW;function Aot(){if(tW)return GA;tW=1,GA=e,e.displayName="v",e.aliases=[];function e(t){(function(r){var n={pattern:/[\s\S]+/,inside:null};r.languages.v=r.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=r.languages.v,r.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),r.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+/}}}),r.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:r.languages.v.generic.inside}}}})})(t)}return GA}var $A,rW;function _ot(){if(rW)return $A;rW=1,$A=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.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/}),t.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:t.languages.vala}},string:/[\s\S]+/}}}),t.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:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return $A}var jA,nW;function Dot(){if(nW)return jA;nW=1,jA=e,e.displayName="velocity",e.aliases=[];function e(t){(function(r){r.languages.velocity=r.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},r.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}),r.languages.velocity.tag.inside["attr-value"].inside.rest=r.languages.velocity})(t)}return jA}var qA,aW;function Rot(){if(aW)return qA;aW=1,qA=e,e.displayName="verilog",e.aliases=[];function e(t){t.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:/[[\];(),.:]/}}return qA}var WA,iW;function Not(){if(iW)return WA;iW=1,WA=e,e.displayName="vhdl",e.aliases=[];function e(t){t.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]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|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|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|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:/[{}[\];(),.:]/}}return WA}var VA,oW;function Lot(){if(oW)return VA;oW=1,VA=e,e.displayName="vim",e.aliases=[];function e(t){t.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:/[{}[\](),;:]/}}return VA}var KA,sW;function Mot(){if(sW)return KA;sW=1,KA=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.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:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return KA}var YA,lW;function Iot(){if(lW)return YA;lW=1,YA=e,e.displayName="warpscript",e.aliases=[];function e(t){t.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/}}return YA}var XA,uW;function Oot(){if(uW)return XA;uW=1,XA=e,e.displayName="wasm",e.aliases=[];function e(t){t.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:/[()]/}}return XA}var JA,cW;function Bot(){if(cW)return JA;cW=1,JA=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(r){var n=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\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={};r.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+a),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+n+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),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(a+"(?="+/\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 o in r.languages["web-idl"])o!=="class-name"&&(i[o]=r.languages["web-idl"][o]);r.languages.webidl=r.languages["web-idl"]})(t)}return JA}var ZA,dW;function Pot(){if(dW)return ZA;dW=1,ZA=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.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:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.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:t.languages.markup.tag.inside}}}})}return ZA}var QA,hW;function zot(){if(hW)return QA;hW=1,QA=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.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:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return QA}var e4,pW;function Hot(){if(pW)return e4;pW=1,e4=e,e.displayName="wren",e.aliases=[];function e(t){t.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:/[\[\](){}.,;]/},t.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:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return e4}var t4,fW;function Uot(){if(fW)return t4;fW=1,t4=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(r){r.languages.xeora=r.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"}}),r.languages.insertBefore("inside","punctuation",{variable:r.languages.xeora["function-inline"].inside.variable},r.languages.xeora["function-block"]),r.languages.xeoracube=r.languages.xeora})(t)}return t4}var r4,mW;function Got(){if(mW)return r4;mW=1,r4=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(r){function n(s,l){r.languages[s]&&r.languages.insertBefore(s,"comment",{"doc-comment":l})}var a=r.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};n("csharp",i),n("fsharp",i),n("vbnet",o)})(t)}return r4}var n4,gW;function $ot(){if(gW)return n4;gW=1,n4=e,e.displayName="xojo",e.aliases=[];function e(t){t.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:/[.,;:()]/}}return n4}var a4,bW;function jot(){if(bW)return a4;bW=1,a4=e,e.displayName="xquery",e.aliases=[];function e(t){(function(r){r.languages.xquery=r.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:/[[\](){},;:/]/}),r.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,r.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,r.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,r.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:r.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("")},a=function(i){for(var o=[],s=0;s<i.length;s++){var l=i[s],u=!1;if(typeof l!="string"&&(l.type==="tag"&&l.content[0]&&l.content[0].type==="tag"?l.content[0].content[0].content==="</"?o.length>0&&o[o.length-1].tagName===n(l.content[0].content[1])&&o.pop():l.content[l.content.length-1].content==="/>"||o.push({tagName:n(l.content[0].content[1]),openedBraces:0}):o.length>0&&l.type==="punctuation"&&l.content==="{"&&(!i[s+1]||i[s+1].type!=="punctuation"||i[s+1].content!=="{")&&(!i[s-1]||i[s-1].type!=="plain-text"||i[s-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&l.type==="punctuation"&&l.content==="}"?o[o.length-1].openedBraces--:l.type!=="comment"&&(u=!0)),(u||typeof l=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var d=n(l);s<i.length-1&&(typeof i[s+1]=="string"||i[s+1].type==="plain-text")&&(d+=n(i[s+1]),i.splice(s+1,1)),s>0&&(typeof i[s-1]=="string"||i[s-1].type==="plain-text")&&(d=n(i[s-1])+d,i.splice(s-1,1),s--),/^\s+$/.test(d)?i[s]=d:i[s]=new r.Token("plain-text",d,null,d)}l.content&&typeof l.content!="string"&&a(l.content)}};r.hooks.add("after-tokenize",function(i){i.language==="xquery"&&a(i.tokens)})})(t)}return a4}var i4,yW;function qot(){if(yW)return i4;yW=1,i4=e,e.displayName="yang",e.aliases=[];function e(t){t.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:/[{};:]/}}return i4}var o4,vW;function Wot(){if(vW)return o4;vW=1,o4=e,e.displayName="zig",e.aliases=[];function e(t){(function(r){function n(d){return function(){return d}}var a=/\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(?!"+a.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,n(o)),l=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,n(i)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+l+")+";r.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*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,n(u)).replace(/<ALIGN>/g,n(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,n(u)).replace(/<ALIGN>/g,n(o))),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:a,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:/[.:,;(){}[\]]/},r.languages.zig["class-name"].forEach(function(d){d.inside===null&&(d.inside=r.languages.zig)})})(t)}return o4}var s4,FW;function Vot(){if(FW)return s4;FW=1;var e=urt();return s4=e,e.register(drt()),e.register(hrt()),e.register(prt()),e.register(frt()),e.register(mrt()),e.register(grt()),e.register(brt()),e.register(yrt()),e.register(vrt()),e.register(Frt()),e.register(Ert()),e.register(Srt()),e.register(xrt()),e.register(wrt()),e.register(krt()),e.register(Crt()),e.register(Trt()),e.register(Art()),e.register(_rt()),e.register(Drt()),e.register(Rrt()),e.register(Nrt()),e.register(zue()),e.register(Hue()),e.register(Lrt()),e.register(Mrt()),e.register(Irt()),e.register(Ort()),e.register(Brt()),e.register(Prt()),e.register(zrt()),e.register(Hrt()),e.register(Urt()),e.register(Grt()),e.register(nd()),e.register($rt()),e.register(jrt()),e.register(qrt()),e.register(Wrt()),e.register(Vrt()),e.register(Krt()),e.register(Yrt()),e.register(Xrt()),e.register(Jrt()),e.register(ZN()),e.register(Zrt()),e.register(G2()),e.register(Qrt()),e.register(ent()),e.register(tnt()),e.register(rnt()),e.register(nnt()),e.register(ant()),e.register(int()),e.register(ont()),e.register(snt()),e.register(lnt()),e.register(unt()),e.register(cnt()),e.register(dnt()),e.register(hnt()),e.register(pnt()),e.register(fnt()),e.register(mnt()),e.register(gnt()),e.register(bnt()),e.register(ynt()),e.register(vnt()),e.register(Fnt()),e.register(Ent()),e.register(Snt()),e.register(xnt()),e.register(wnt()),e.register(knt()),e.register(Cnt()),e.register(Tnt()),e.register(Ant()),e.register(_nt()),e.register(Dnt()),e.register(Rnt()),e.register(Nnt()),e.register(Lnt()),e.register(Mnt()),e.register(Int()),e.register(Ont()),e.register(Bnt()),e.register(Pnt()),e.register(znt()),e.register(Hnt()),e.register(Unt()),e.register(Gnt()),e.register($nt()),e.register(jnt()),e.register(qnt()),e.register(QN()),e.register(Wnt()),e.register(Vnt()),e.register(Knt()),e.register(Ynt()),e.register(Xnt()),e.register(Jnt()),e.register(Znt()),e.register(Qnt()),e.register(eat()),e.register(tat()),e.register(rat()),e.register(nat()),e.register(aat()),e.register(iat()),e.register(oat()),e.register(sat()),e.register(lat()),e.register(eL()),e.register(uat()),e.register(j2()),e.register(cat()),e.register(dat()),e.register(hat()),e.register(pat()),e.register(fat()),e.register(mat()),e.register(gat()),e.register(rL()),e.register(bat()),e.register(yat()),e.register(vat()),e.register(Gue()),e.register(Fat()),e.register(Eat()),e.register(Sat()),e.register(xat()),e.register(wat()),e.register(kat()),e.register(Cat()),e.register(Tat()),e.register(Aat()),e.register(_at()),e.register(Dat()),e.register(Rat()),e.register(Nat()),e.register(Lat()),e.register(Mat()),e.register(Iat()),e.register(Uue()),e.register(Oat()),e.register(Bat()),e.register(Pat()),e.register(ci()),e.register(zat()),e.register(Hat()),e.register(Uat()),e.register(Gat()),e.register($at()),e.register(jat()),e.register(qat()),e.register(Wat()),e.register(Vat()),e.register(Kat()),e.register(Yat()),e.register(Xat()),e.register(Jat()),e.register(Zat()),e.register(Qat()),e.register(eit()),e.register(tit()),e.register(rit()),e.register(nit()),e.register(ait()),e.register(iit()),e.register(oit()),e.register(sit()),e.register(lit()),e.register(uit()),e.register(cit()),e.register(dit()),e.register(hit()),e.register(pit()),e.register(fit()),e.register(mit()),e.register(git()),e.register(q2()),e.register(bit()),e.register(yit()),e.register(vit()),e.register(Fit()),e.register(Eit()),e.register(Sit()),e.register(xit()),e.register(wit()),e.register(kit()),e.register(Cit()),e.register(Tit()),e.register(Ait()),e.register(_it()),e.register(Dit()),e.register(Rit()),e.register(Nit()),e.register(Lit()),e.register(Mit()),e.register(Iit()),e.register(Oit()),e.register(Bit()),e.register(Pit()),e.register(zit()),e.register(Hit()),e.register(Uit()),e.register(Git()),e.register($it()),e.register(jit()),e.register(qit()),e.register(Wit()),e.register($2()),e.register(Vit()),e.register(Kit()),e.register(Yit()),e.register(Xit()),e.register(nL()),e.register(Jit()),e.register(Zit()),e.register(Qit()),e.register(eot()),e.register(tot()),e.register(rot()),e.register(not()),e.register(aot()),e.register(iot()),e.register(oot()),e.register(sot()),e.register(lot()),e.register(JN()),e.register(uot()),e.register(cot()),e.register(dot()),e.register(hot()),e.register(pot()),e.register(fot()),e.register(aL()),e.register(mot()),e.register(got()),e.register(bot()),e.register(yot()),e.register(vot()),e.register(Fot()),e.register(Eot()),e.register(Sot()),e.register($ue()),e.register(xot()),e.register(tL()),e.register(wot()),e.register(kot()),e.register(Cot()),e.register(Tot()),e.register(Aot()),e.register(_ot()),e.register(jue()),e.register(Dot()),e.register(Rot()),e.register(Not()),e.register(Lot()),e.register(Mot()),e.register(Iot()),e.register(Oot()),e.register(Bot()),e.register(Pot()),e.register(zot()),e.register(Hot()),e.register(Uot()),e.register(Got()),e.register($ot()),e.register(jot()),e.register(que()),e.register(qot()),e.register(Wot()),s4}var Kot=Vot();const Yot=On(Kot);var O6=LQe(Yot,crt);O6.supportedLanguages=MQe;var l4={},u4={exports:{}},EW;function Xot(){return EW||(EW=1,function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(u4)),u4.exports}var c4={},SW;function Jot(){return SW||(SW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",maxHeight:"inherit",height:"inherit",padding:"0 1em",display:"block",overflow:"auto"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",margin:".5em 0",overflow:"visible",padding:"1px",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em"},'pre[class*="language-"] > code':{position:"relative",zIndex:"1",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em",position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal"},'pre[class*="language-"]:before':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"0.18em",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(-2deg)",MozTransform:"rotate(-2deg)",msTransform:"rotate(-2deg)",OTransform:"rotate(-2deg)",transform:"rotate(-2deg)"},'pre[class*="language-"]:after':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"auto",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(2deg)",MozTransform:"rotate(2deg)",msTransform:"rotate(2deg)",OTransform:"rotate(2deg)",transform:"rotate(2deg)",right:"0.75em"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"},'pre[class*="language-"].line-numbers.line-numbers':{paddingLeft:"0"},'pre[class*="language-"].line-numbers.line-numbers code':{paddingLeft:"3.8em"},'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows':{left:"0"},'pre[class*="language-"][data-line]':{paddingTop:"0",paddingBottom:"0",paddingLeft:"0"},"pre[data-line] code":{position:"relative",paddingLeft:"4em"},"pre .line-highlight":{marginTop:"0"}}}(c4)),c4}var d4={},xW;function Zot(){return xW||(xW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(30, 20%, 25%)",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:".3em solid hsl(30, 20%, 40%)",borderRadius:".5em",boxShadow:"1px 1px .5em black inset"},':not(pre) > code[class*="language-"]':{background:"hsl(30, 20%, 25%)",padding:".15em .2em .05em",borderRadius:".3em",border:".13em solid hsl(30, 20%, 40%)",boxShadow:"1px 1px .3em -.1em black inset",whiteSpace:"normal"},comment:{color:"hsl(30, 20%, 50%)"},prolog:{color:"hsl(30, 20%, 50%)"},doctype:{color:"hsl(30, 20%, 50%)"},cdata:{color:"hsl(30, 20%, 50%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},property:{color:"hsl(350, 40%, 70%)"},tag:{color:"hsl(350, 40%, 70%)"},boolean:{color:"hsl(350, 40%, 70%)"},number:{color:"hsl(350, 40%, 70%)"},constant:{color:"hsl(350, 40%, 70%)"},symbol:{color:"hsl(350, 40%, 70%)"},selector:{color:"hsl(75, 70%, 60%)"},"attr-name":{color:"hsl(75, 70%, 60%)"},string:{color:"hsl(75, 70%, 60%)"},char:{color:"hsl(75, 70%, 60%)"},builtin:{color:"hsl(75, 70%, 60%)"},inserted:{color:"hsl(75, 70%, 60%)"},operator:{color:"hsl(40, 90%, 60%)"},entity:{color:"hsl(40, 90%, 60%)",cursor:"help"},url:{color:"hsl(40, 90%, 60%)"},".language-css .token.string":{color:"hsl(40, 90%, 60%)"},".style .token.string":{color:"hsl(40, 90%, 60%)"},variable:{color:"hsl(40, 90%, 60%)"},atrule:{color:"hsl(350, 40%, 70%)"},"attr-value":{color:"hsl(350, 40%, 70%)"},keyword:{color:"hsl(350, 40%, 70%)"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"}}}(d4)),d4}var h4={},wW;function Qot(){return wW||(wW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"black",color:"white",boxShadow:"-.3em 0 0 .3em black, .3em 0 0 .3em black"},'pre[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:".4em .8em",margin:".5em 0",overflow:"auto",background:`url('data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>')`,backgroundSize:"1em 1em"},':not(pre) > code[class*="language-"]':{padding:".2em",borderRadius:".3em",boxShadow:"none",whiteSpace:"normal"},comment:{color:"#aaa"},prolog:{color:"#aaa"},doctype:{color:"#aaa"},cdata:{color:"#aaa"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#0cf"},tag:{color:"#0cf"},boolean:{color:"#0cf"},number:{color:"#0cf"},constant:{color:"#0cf"},symbol:{color:"#0cf"},selector:{color:"yellow"},"attr-name":{color:"yellow"},string:{color:"yellow"},char:{color:"yellow"},builtin:{color:"yellow"},operator:{color:"yellowgreen"},entity:{color:"yellowgreen",cursor:"help"},url:{color:"yellowgreen"},".language-css .token.string":{color:"yellowgreen"},variable:{color:"yellowgreen"},inserted:{color:"yellowgreen"},atrule:{color:"deeppink"},"attr-value":{color:"deeppink"},keyword:{color:"deeppink"},regex:{color:"orange"},important:{color:"orange",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"},"pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"}}}(h4)),h4}var p4={},kW;function est(){return kW||(kW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#272822",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(p4)),p4}var f4={},CW;function tst(){return CW||(CW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",backgroundColor:"#fdf6e3"},'pre[class*="language-"]::-moz-selection':{background:"#073642"},'pre[class*="language-"] ::-moz-selection':{background:"#073642"},'code[class*="language-"]::-moz-selection':{background:"#073642"},'code[class*="language-"] ::-moz-selection':{background:"#073642"},'pre[class*="language-"]::selection':{background:"#073642"},'pre[class*="language-"] ::selection':{background:"#073642"},'code[class*="language-"]::selection':{background:"#073642"},'code[class*="language-"] ::selection':{background:"#073642"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdf6e3",padding:".1em",borderRadius:".3em"},comment:{color:"#93a1a1"},prolog:{color:"#93a1a1"},doctype:{color:"#93a1a1"},cdata:{color:"#93a1a1"},punctuation:{color:"#586e75"},namespace:{Opacity:".7"},property:{color:"#268bd2"},tag:{color:"#268bd2"},boolean:{color:"#268bd2"},number:{color:"#268bd2"},constant:{color:"#268bd2"},symbol:{color:"#268bd2"},deleted:{color:"#268bd2"},selector:{color:"#2aa198"},"attr-name":{color:"#2aa198"},string:{color:"#2aa198"},char:{color:"#2aa198"},builtin:{color:"#2aa198"},url:{color:"#2aa198"},inserted:{color:"#2aa198"},entity:{color:"#657b83",background:"#eee8d5",cursor:"help"},atrule:{color:"#859900"},"attr-value":{color:"#859900"},keyword:{color:"#859900"},function:{color:"#b58900"},"class-name":{color:"#b58900"},regex:{color:"#cb4b16"},important:{color:"#cb4b16",fontWeight:"bold"},variable:{color:"#cb4b16"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(f4)),f4}var m4={},TW;function rst(){return TW||(TW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ccc",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ccc",background:"#2d2d2d",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},':not(pre) > code[class*="language-"]':{background:"#2d2d2d",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#999"},"block-comment":{color:"#999"},prolog:{color:"#999"},doctype:{color:"#999"},cdata:{color:"#999"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},deleted:{color:"#e2777a"},"function-name":{color:"#6196cc"},boolean:{color:"#f08d49"},number:{color:"#f08d49"},function:{color:"#f08d49"},property:{color:"#f8c555"},"class-name":{color:"#f8c555"},constant:{color:"#f8c555"},symbol:{color:"#f8c555"},selector:{color:"#cc99cd"},important:{color:"#cc99cd",fontWeight:"bold"},atrule:{color:"#cc99cd"},keyword:{color:"#cc99cd"},builtin:{color:"#cc99cd"},string:{color:"#7ec699"},char:{color:"#7ec699"},"attr-value":{color:"#7ec699"},regex:{color:"#7ec699"},variable:{color:"#7ec699"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}}(m4)),m4}var g4={},AW;function nst(){return AW||(AW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(0, 0%, 8%)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",borderRadius:".5em",border:".3em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .5em black inset",margin:".5em 0",overflow:"auto",padding:"1em"},':not(pre) > code[class*="language-"]':{background:"hsl(0, 0%, 8%)",borderRadius:".3em",border:".13em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .3em -.1em black inset",padding:".15em .2em .05em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"]::selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},comment:{color:"hsl(0, 0%, 47%)"},prolog:{color:"hsl(0, 0%, 47%)"},doctype:{color:"hsl(0, 0%, 47%)"},cdata:{color:"hsl(0, 0%, 47%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},tag:{color:"hsl(14, 58%, 55%)"},boolean:{color:"hsl(14, 58%, 55%)"},number:{color:"hsl(14, 58%, 55%)"},deleted:{color:"hsl(14, 58%, 55%)"},keyword:{color:"hsl(53, 89%, 79%)"},property:{color:"hsl(53, 89%, 79%)"},selector:{color:"hsl(53, 89%, 79%)"},constant:{color:"hsl(53, 89%, 79%)"},symbol:{color:"hsl(53, 89%, 79%)"},builtin:{color:"hsl(53, 89%, 79%)"},"attr-name":{color:"hsl(76, 21%, 52%)"},"attr-value":{color:"hsl(76, 21%, 52%)"},string:{color:"hsl(76, 21%, 52%)"},char:{color:"hsl(76, 21%, 52%)"},operator:{color:"hsl(76, 21%, 52%)"},entity:{color:"hsl(76, 21%, 52%)",cursor:"help"},url:{color:"hsl(76, 21%, 52%)"},".language-css .token.string":{color:"hsl(76, 21%, 52%)"},".style .token.string":{color:"hsl(76, 21%, 52%)"},variable:{color:"hsl(76, 21%, 52%)"},inserted:{color:"hsl(76, 21%, 52%)"},atrule:{color:"hsl(218, 22%, 55%)"},regex:{color:"hsl(42, 75%, 65%)"},important:{color:"hsl(42, 75%, 65%)",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},".language-markup .token.tag":{color:"hsl(33, 33%, 52%)"},".language-markup .token.attr-name":{color:"hsl(33, 33%, 52%)"},".language-markup .token.punctuation":{color:"hsl(33, 33%, 52%)"},"":{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))",borderBottom:"1px dashed hsl(0, 0%, 33%)",borderTop:"1px dashed hsl(0, 0%, 33%)",marginTop:"0.75em",zIndex:"0"},".line-highlight.line-highlight:before":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"}}}(g4)),g4}var b4={},_W;function ast(){return _W||(_W=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(b4)),b4}var y4={},DW;function ist(){return DW||(DW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2b2b2b",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#d4d0ab"},prolog:{color:"#d4d0ab"},doctype:{color:"#d4d0ab"},cdata:{color:"#d4d0ab"},punctuation:{color:"#fefefe"},property:{color:"#ffa07a"},tag:{color:"#ffa07a"},constant:{color:"#ffa07a"},symbol:{color:"#ffa07a"},deleted:{color:"#ffa07a"},boolean:{color:"#00e0e0"},number:{color:"#00e0e0"},selector:{color:"#abe338"},"attr-name":{color:"#abe338"},string:{color:"#abe338"},char:{color:"#abe338"},builtin:{color:"#abe338"},inserted:{color:"#abe338"},operator:{color:"#00e0e0"},entity:{color:"#00e0e0",cursor:"help"},url:{color:"#00e0e0"},".language-css .token.string":{color:"#00e0e0"},".style .token.string":{color:"#00e0e0"},variable:{color:"#00e0e0"},atrule:{color:"#ffd700"},"attr-value":{color:"#ffd700"},function:{color:"#ffd700"},keyword:{color:"#00e0e0"},regex:{color:"#ffd700"},important:{color:"#ffd700",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(y4)),y4}var v4={},RW;function ost(){return RW||(RW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#1d1f21"},':not(pre) > code[class*="language-"]':{background:"#1d1f21",padding:".1em",borderRadius:".3em"},comment:{color:"#7C7C7C"},prolog:{color:"#7C7C7C"},doctype:{color:"#7C7C7C"},cdata:{color:"#7C7C7C"},punctuation:{color:"#c5c8c6"},".namespace":{Opacity:".7"},property:{color:"#96CBFE"},keyword:{color:"#96CBFE"},tag:{color:"#96CBFE"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#99CC99"},constant:{color:"#99CC99"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},number:{color:"#FF73FD"},selector:{color:"#A8FF60"},"attr-name":{color:"#A8FF60"},string:{color:"#A8FF60"},char:{color:"#A8FF60"},builtin:{color:"#A8FF60"},inserted:{color:"#A8FF60"},variable:{color:"#C6C5FE"},operator:{color:"#EDEDED"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"},function:{color:"#DAD085"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(v4)),v4}var F4={},NW;function sst(){return NW||(NW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#898ea4"},prolog:{color:"#898ea4"},doctype:{color:"#898ea4"},cdata:{color:"#898ea4"},punctuation:{color:"#5e6687"},namespace:{Opacity:".7"},operator:{color:"#c76b29"},boolean:{color:"#c76b29"},number:{color:"#c76b29"},property:{color:"#c08b30"},tag:{color:"#3d8fd1"},string:{color:"#22a2c9"},selector:{color:"#6679cc"},"attr-name":{color:"#c76b29"},entity:{color:"#22a2c9",cursor:"help"},url:{color:"#22a2c9"},".language-css .token.string":{color:"#22a2c9"},".style .token.string":{color:"#22a2c9"},"attr-value":{color:"#ac9739"},keyword:{color:"#ac9739"},control:{color:"#ac9739"},directive:{color:"#ac9739"},unit:{color:"#ac9739"},statement:{color:"#22a2c9"},regex:{color:"#22a2c9"},atrule:{color:"#22a2c9"},placeholder:{color:"#3d8fd1"},variable:{color:"#3d8fd1"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #202746",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c94922"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:"0.4em solid #c94922",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#dfe2f1"},".line-numbers .line-numbers-rows > span:before":{color:"#979db4"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))"}}}(F4)),F4}var E4={},LW;function lst(){return LW||(LW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"none",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"#222",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"15px",margin:"1em 0",overflow:"auto",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},'pre[class*="language-"] code':{float:"left",padding:"0 15px 0 0"},':not(pre) > code[class*="language-"]':{background:"#222",padding:"5px 10px",lineHeight:"1",MozBorderRadius:"3px",WebkitBorderRadius:"3px",borderRadius:"3px"},comment:{color:"#797979"},prolog:{color:"#797979"},doctype:{color:"#797979"},cdata:{color:"#797979"},selector:{color:"#fff"},operator:{color:"#fff"},punctuation:{color:"#fff"},namespace:{Opacity:".7"},tag:{color:"#ffd893"},boolean:{color:"#ffd893"},atrule:{color:"#B0C975"},"attr-value":{color:"#B0C975"},hex:{color:"#B0C975"},string:{color:"#B0C975"},property:{color:"#c27628"},entity:{color:"#c27628",cursor:"help"},url:{color:"#c27628"},"attr-name":{color:"#c27628"},keyword:{color:"#c27628"},regex:{color:"#9B71C6"},function:{color:"#e5a638"},constant:{color:"#e5a638"},variable:{color:"#fdfba8"},number:{color:"#8799B0"},important:{color:"#E45734"},deliminator:{color:"#E45734"},".line-highlight.line-highlight":{background:"rgba(255, 255, 255, .2)"},".line-highlight.line-highlight:before":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-highlight.line-highlight[data-end]:after":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-numbers .line-numbers-rows > span":{borderRight:"3px #d9d336 solid"}}}(E4)),E4}var S4={},MW;function ust(){return MW||(MW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#111b27",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#111b27",background:"#e3eaf2",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'code[class*="language-"]::-moz-selection':{background:"#8da1b9"},'code[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"]::selection':{background:"#8da1b9"},'pre[class*="language-"] ::selection':{background:"#8da1b9"},'code[class*="language-"]::selection':{background:"#8da1b9"},'code[class*="language-"] ::selection':{background:"#8da1b9"},':not(pre) > code[class*="language-"]':{background:"#e3eaf2",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#3c526d"},prolog:{color:"#3c526d"},doctype:{color:"#3c526d"},cdata:{color:"#3c526d"},punctuation:{color:"#111b27"},"delimiter.important":{color:"#006d6d",fontWeight:"inherit"},"selector.parent":{color:"#006d6d"},tag:{color:"#006d6d"},"tag.punctuation":{color:"#006d6d"},"attr-name":{color:"#755f00"},boolean:{color:"#755f00"},"boolean.important":{color:"#755f00"},number:{color:"#755f00"},constant:{color:"#755f00"},"selector.attribute":{color:"#755f00"},"class-name":{color:"#005a8e"},key:{color:"#005a8e"},parameter:{color:"#005a8e"},property:{color:"#005a8e"},"property-access":{color:"#005a8e"},variable:{color:"#005a8e"},"attr-value":{color:"#116b00"},inserted:{color:"#116b00"},color:{color:"#116b00"},"selector.value":{color:"#116b00"},string:{color:"#116b00"},"string.url-link":{color:"#116b00"},builtin:{color:"#af00af"},"keyword-array":{color:"#af00af"},package:{color:"#af00af"},regex:{color:"#af00af"},function:{color:"#7c00aa"},"selector.class":{color:"#7c00aa"},"selector.id":{color:"#7c00aa"},"atrule.rule":{color:"#a04900"},combinator:{color:"#a04900"},keyword:{color:"#a04900"},operator:{color:"#a04900"},"pseudo-class":{color:"#a04900"},"pseudo-element":{color:"#a04900"},selector:{color:"#a04900"},unit:{color:"#a04900"},deleted:{color:"#c22f2e"},important:{color:"#c22f2e",fontWeight:"bold"},"keyword-this":{color:"#005a8e",fontWeight:"bold"},this:{color:"#005a8e",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#af00af"},".language-markdown .token.code":{color:"#006d6d"},".language-markdown .token.hr.punctuation":{color:"#005a8e"},".language-markdown .token.url > .token.content":{color:"#116b00"},".language-markdown .token.url-link":{color:"#755f00"},".language-markdown .token.list.punctuation":{color:"#af00af"},".language-markdown .token.table-header":{color:"#111b27"},".language-json .token.operator":{color:"#111b27"},".language-scss .token.variable":{color:"#006d6d"},"token.tab:not(:empty):before":{color:"#3c526d"},"token.cr:before":{color:"#3c526d"},"token.lf:before":{color:"#3c526d"},"token.space:before":{color:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#e3eaf2",background:"#3c526d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #8da1b92f 70%, #8da1b925)"},".line-highlight.line-highlight:before":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#3c526d1f"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #8da1b97a",background:"#d0dae77a"},".line-numbers .line-numbers-rows > span:before":{color:"#3c526dda"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#7c00aa"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},".command-line .command-line-prompt":{borderRight:"1px solid #8da1b97a"},".command-line .command-line-prompt > span:before":{color:"#3c526dda"}}}(S4)),S4}var x4={},IW;function cst(){return IW||(IW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}}(x4)),x4}var w4={},OW;function dst(){return OW||(OW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local",margin:".5em 0",padding:"0 1em"},'pre[class*="language-"] > code':{display:"block"},':not(pre) > code[class*="language-"]':{position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"}}}(w4)),w4}var k4={},BW;function hst(){return BW||(BW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#2b2b2b"},'pre[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:".1em",borderRadius:".3em"},comment:{color:"#808080"},prolog:{color:"#808080"},cdata:{color:"#808080"},delimiter:{color:"#cc7832"},boolean:{color:"#cc7832"},keyword:{color:"#cc7832"},selector:{color:"#cc7832"},important:{color:"#cc7832"},atrule:{color:"#cc7832"},operator:{color:"#a9b7c6"},punctuation:{color:"#a9b7c6"},"attr-name":{color:"#a9b7c6"},tag:{color:"#e8bf6a"},"tag.punctuation":{color:"#e8bf6a"},doctype:{color:"#e8bf6a"},builtin:{color:"#e8bf6a"},entity:{color:"#6897bb"},number:{color:"#6897bb"},symbol:{color:"#6897bb"},property:{color:"#9876aa"},constant:{color:"#9876aa"},variable:{color:"#9876aa"},string:{color:"#6a8759"},char:{color:"#6a8759"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline"},function:{color:"#ffc66d"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#294436"},deleted:{background:"#484a4a"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"}}}(k4)),k4}var C4={},PW;function pst(){return PW||(PW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#282a36",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#282a36",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#6272a4"},prolog:{color:"#6272a4"},doctype:{color:"#6272a4"},cdata:{color:"#6272a4"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#ff79c6"},tag:{color:"#ff79c6"},constant:{color:"#ff79c6"},symbol:{color:"#ff79c6"},deleted:{color:"#ff79c6"},boolean:{color:"#bd93f9"},number:{color:"#bd93f9"},selector:{color:"#50fa7b"},"attr-name":{color:"#50fa7b"},string:{color:"#50fa7b"},char:{color:"#50fa7b"},builtin:{color:"#50fa7b"},inserted:{color:"#50fa7b"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#f1fa8c"},"attr-value":{color:"#f1fa8c"},function:{color:"#f1fa8c"},"class-name":{color:"#f1fa8c"},keyword:{color:"#8be9fd"},regex:{color:"#ffb86c"},important:{color:"#ffb86c",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(C4)),C4}var T4={},zW;function fst(){return zW||(zW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6c6783"},prolog:{color:"#6c6783"},doctype:{color:"#6c6783"},cdata:{color:"#6c6783"},punctuation:{color:"#6c6783"},namespace:{Opacity:".7"},tag:{color:"#e09142"},operator:{color:"#e09142"},number:{color:"#e09142"},property:{color:"#9a86fd"},function:{color:"#9a86fd"},"tag-id":{color:"#eeebff"},selector:{color:"#eeebff"},"atrule-id":{color:"#eeebff"},"code.language-javascript":{color:"#c4b9fe"},"attr-name":{color:"#c4b9fe"},"code.language-css":{color:"#ffcc99"},"code.language-scss":{color:"#ffcc99"},boolean:{color:"#ffcc99"},string:{color:"#ffcc99"},entity:{color:"#ffcc99",cursor:"help"},url:{color:"#ffcc99"},".language-css .token.string":{color:"#ffcc99"},".language-scss .token.string":{color:"#ffcc99"},".style .token.string":{color:"#ffcc99"},"attr-value":{color:"#ffcc99"},keyword:{color:"#ffcc99"},control:{color:"#ffcc99"},directive:{color:"#ffcc99"},unit:{color:"#ffcc99"},statement:{color:"#ffcc99"},regex:{color:"#ffcc99"},atrule:{color:"#ffcc99"},placeholder:{color:"#ffcc99"},variable:{color:"#ffcc99"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #eeebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c4b9fe"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #8a75f5",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c2937"},".line-numbers .line-numbers-rows > span:before":{color:"#3c3949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))"}}}(T4)),T4}var A4={},HW;function mst(){return HW||(HW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6a5f58"},prolog:{color:"#6a5f58"},doctype:{color:"#6a5f58"},cdata:{color:"#6a5f58"},punctuation:{color:"#6a5f58"},namespace:{Opacity:".7"},tag:{color:"#bfa05a"},operator:{color:"#bfa05a"},number:{color:"#bfa05a"},property:{color:"#88786d"},function:{color:"#88786d"},"tag-id":{color:"#fff3eb"},selector:{color:"#fff3eb"},"atrule-id":{color:"#fff3eb"},"code.language-javascript":{color:"#a48774"},"attr-name":{color:"#a48774"},"code.language-css":{color:"#fcc440"},"code.language-scss":{color:"#fcc440"},boolean:{color:"#fcc440"},string:{color:"#fcc440"},entity:{color:"#fcc440",cursor:"help"},url:{color:"#fcc440"},".language-css .token.string":{color:"#fcc440"},".language-scss .token.string":{color:"#fcc440"},".style .token.string":{color:"#fcc440"},"attr-value":{color:"#fcc440"},keyword:{color:"#fcc440"},control:{color:"#fcc440"},directive:{color:"#fcc440"},unit:{color:"#fcc440"},statement:{color:"#fcc440"},regex:{color:"#fcc440"},atrule:{color:"#fcc440"},placeholder:{color:"#fcc440"},variable:{color:"#fcc440"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #fff3eb",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#a48774"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #816d5f",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#35302b"},".line-numbers .line-numbers-rows > span:before":{color:"#46403d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))"}}}(A4)),A4}var _4={},UW;function gst(){return UW||(UW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#535f53"},prolog:{color:"#535f53"},doctype:{color:"#535f53"},cdata:{color:"#535f53"},punctuation:{color:"#535f53"},namespace:{Opacity:".7"},tag:{color:"#a2b34d"},operator:{color:"#a2b34d"},number:{color:"#a2b34d"},property:{color:"#687d68"},function:{color:"#687d68"},"tag-id":{color:"#f0fff0"},selector:{color:"#f0fff0"},"atrule-id":{color:"#f0fff0"},"code.language-javascript":{color:"#b3d6b3"},"attr-name":{color:"#b3d6b3"},"code.language-css":{color:"#e5fb79"},"code.language-scss":{color:"#e5fb79"},boolean:{color:"#e5fb79"},string:{color:"#e5fb79"},entity:{color:"#e5fb79",cursor:"help"},url:{color:"#e5fb79"},".language-css .token.string":{color:"#e5fb79"},".language-scss .token.string":{color:"#e5fb79"},".style .token.string":{color:"#e5fb79"},"attr-value":{color:"#e5fb79"},keyword:{color:"#e5fb79"},control:{color:"#e5fb79"},directive:{color:"#e5fb79"},unit:{color:"#e5fb79"},statement:{color:"#e5fb79"},regex:{color:"#e5fb79"},atrule:{color:"#e5fb79"},placeholder:{color:"#e5fb79"},variable:{color:"#e5fb79"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #f0fff0",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#b3d6b3"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #5c705c",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c302c"},".line-numbers .line-numbers-rows > span:before":{color:"#3b423b"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))"}}}(_4)),_4}var D4={},GW;function bst(){return GW||(GW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#b6ad9a"},prolog:{color:"#b6ad9a"},doctype:{color:"#b6ad9a"},cdata:{color:"#b6ad9a"},punctuation:{color:"#b6ad9a"},namespace:{Opacity:".7"},tag:{color:"#063289"},operator:{color:"#063289"},number:{color:"#063289"},property:{color:"#b29762"},function:{color:"#b29762"},"tag-id":{color:"#2d2006"},selector:{color:"#2d2006"},"atrule-id":{color:"#2d2006"},"code.language-javascript":{color:"#896724"},"attr-name":{color:"#896724"},"code.language-css":{color:"#728fcb"},"code.language-scss":{color:"#728fcb"},boolean:{color:"#728fcb"},string:{color:"#728fcb"},entity:{color:"#728fcb",cursor:"help"},url:{color:"#728fcb"},".language-css .token.string":{color:"#728fcb"},".language-scss .token.string":{color:"#728fcb"},".style .token.string":{color:"#728fcb"},"attr-value":{color:"#728fcb"},keyword:{color:"#728fcb"},control:{color:"#728fcb"},directive:{color:"#728fcb"},unit:{color:"#728fcb"},statement:{color:"#728fcb"},regex:{color:"#728fcb"},atrule:{color:"#728fcb"},placeholder:{color:"#93abdc"},variable:{color:"#93abdc"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #2d2006",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#896724"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #896724",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#ece8de"},".line-numbers .line-numbers-rows > span:before":{color:"#cdc4b1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))"}}}(D4)),D4}var R4={},$W;function yst(){return $W||($W=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#4a5f78"},prolog:{color:"#4a5f78"},doctype:{color:"#4a5f78"},cdata:{color:"#4a5f78"},punctuation:{color:"#4a5f78"},namespace:{Opacity:".7"},tag:{color:"#0aa370"},operator:{color:"#0aa370"},number:{color:"#0aa370"},property:{color:"#57718e"},function:{color:"#57718e"},"tag-id":{color:"#ebf4ff"},selector:{color:"#ebf4ff"},"atrule-id":{color:"#ebf4ff"},"code.language-javascript":{color:"#7eb6f6"},"attr-name":{color:"#7eb6f6"},"code.language-css":{color:"#47ebb4"},"code.language-scss":{color:"#47ebb4"},boolean:{color:"#47ebb4"},string:{color:"#47ebb4"},entity:{color:"#47ebb4",cursor:"help"},url:{color:"#47ebb4"},".language-css .token.string":{color:"#47ebb4"},".language-scss .token.string":{color:"#47ebb4"},".style .token.string":{color:"#47ebb4"},"attr-value":{color:"#47ebb4"},keyword:{color:"#47ebb4"},control:{color:"#47ebb4"},directive:{color:"#47ebb4"},unit:{color:"#47ebb4"},statement:{color:"#47ebb4"},regex:{color:"#47ebb4"},atrule:{color:"#47ebb4"},placeholder:{color:"#47ebb4"},variable:{color:"#47ebb4"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebf4ff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#7eb6f6"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #34659d",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#1f2932"},".line-numbers .line-numbers-rows > span:before":{color:"#2c3847"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))"}}}(R4)),R4}var N4={},jW;function vst(){return jW||(jW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#5b5b76"},prolog:{color:"#5b5b76"},doctype:{color:"#5b5b76"},cdata:{color:"#5b5b76"},punctuation:{color:"#5b5b76"},namespace:{Opacity:".7"},tag:{color:"#dd672c"},operator:{color:"#dd672c"},number:{color:"#dd672c"},property:{color:"#767693"},function:{color:"#767693"},"tag-id":{color:"#ebebff"},selector:{color:"#ebebff"},"atrule-id":{color:"#ebebff"},"code.language-javascript":{color:"#aaaaca"},"attr-name":{color:"#aaaaca"},"code.language-css":{color:"#fe8c52"},"code.language-scss":{color:"#fe8c52"},boolean:{color:"#fe8c52"},string:{color:"#fe8c52"},entity:{color:"#fe8c52",cursor:"help"},url:{color:"#fe8c52"},".language-css .token.string":{color:"#fe8c52"},".language-scss .token.string":{color:"#fe8c52"},".style .token.string":{color:"#fe8c52"},"attr-value":{color:"#fe8c52"},keyword:{color:"#fe8c52"},control:{color:"#fe8c52"},directive:{color:"#fe8c52"},unit:{color:"#fe8c52"},statement:{color:"#fe8c52"},regex:{color:"#fe8c52"},atrule:{color:"#fe8c52"},placeholder:{color:"#fe8c52"},variable:{color:"#fe8c52"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#aaaaca"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #7676f4",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#262631"},".line-numbers .line-numbers-rows > span:before":{color:"#393949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))"}}}(N4)),N4}var L4={},qW;function Fst(){return qW||(qW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"]::selection':{background:"#b3d4fc"},'pre[class*="language-"] ::selection':{background:"#b3d4fc"},'code[class*="language-"]::selection':{background:"#b3d4fc"},'code[class*="language-"] ::selection':{background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#999988",fontStyle:"italic"},prolog:{color:"#999988",fontStyle:"italic"},doctype:{color:"#999988",fontStyle:"italic"},cdata:{color:"#999988",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#e3116c"},"attr-value":{color:"#e3116c"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},entity:{color:"#36acaa"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},property:{color:"#36acaa"},regex:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#00a4db"},keyword:{color:"#00a4db"},"attr-name":{color:"#00a4db"},".language-autohotkey .token.selector":{color:"#00a4db"},function:{color:"#9a050f",fontWeight:"bold"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},tag:{color:"#00009f"},selector:{color:"#00009f"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(L4)),L4}var M4={},WW;function Est(){return WW||(WW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#1d2021"},'pre[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},':not(pre) > code[class*="language-"]':{background:"#1d2021",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#a89984"},prolog:{color:"#a89984"},cdata:{color:"#a89984"},delimiter:{color:"#fb4934"},boolean:{color:"#fb4934"},keyword:{color:"#fb4934"},selector:{color:"#fb4934"},important:{color:"#fb4934"},atrule:{color:"#fb4934"},operator:{color:"#a89984"},punctuation:{color:"#a89984"},"attr-name":{color:"#a89984"},tag:{color:"#fabd2f"},"tag.punctuation":{color:"#fabd2f"},doctype:{color:"#fabd2f"},builtin:{color:"#fabd2f"},entity:{color:"#d3869b"},number:{color:"#d3869b"},symbol:{color:"#d3869b"},property:{color:"#fb4934"},constant:{color:"#fb4934"},variable:{color:"#fb4934"},string:{color:"#b8bb26"},char:{color:"#b8bb26"},"attr-value":{color:"#a89984"},"attr-value.punctuation":{color:"#a89984"},url:{color:"#b8bb26",textDecoration:"underline"},function:{color:"#fabd2f"},regex:{background:"#b8bb26"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#a89984"},deleted:{background:"#fb4934"}}}(M4)),M4}var I4={},VW;function Sst(){return VW||(VW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#f9f5d7"},'pre[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},':not(pre) > code[class*="language-"]':{background:"#f9f5d7",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#7c6f64"},prolog:{color:"#7c6f64"},cdata:{color:"#7c6f64"},delimiter:{color:"#9d0006"},boolean:{color:"#9d0006"},keyword:{color:"#9d0006"},selector:{color:"#9d0006"},important:{color:"#9d0006"},atrule:{color:"#9d0006"},operator:{color:"#7c6f64"},punctuation:{color:"#7c6f64"},"attr-name":{color:"#7c6f64"},tag:{color:"#b57614"},"tag.punctuation":{color:"#b57614"},doctype:{color:"#b57614"},builtin:{color:"#b57614"},entity:{color:"#8f3f71"},number:{color:"#8f3f71"},symbol:{color:"#8f3f71"},property:{color:"#9d0006"},constant:{color:"#9d0006"},variable:{color:"#9d0006"},string:{color:"#797403"},char:{color:"#797403"},"attr-value":{color:"#7c6f64"},"attr-value.punctuation":{color:"#7c6f64"},url:{color:"#797403",textDecoration:"underline"},function:{color:"#b57614"},regex:{background:"#797403"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#7c6f64"},deleted:{background:"#9d0006"}}}(I4)),I4}var O4={},KW;function xst(){return KW||(KW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},"pre[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",border:"1px solid #2a4555",borderRadius:"5px",padding:"1.5em 1em",margin:"1em 0",overflow:"auto"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},":not(pre) > code[class*='language-']":{color:"#f0f6f6",background:"#2a4555",padding:"0.2em 0.3em",borderRadius:"0.2em",boxDecorationBreak:"clone"},comment:{color:"#446e69"},prolog:{color:"#446e69"},doctype:{color:"#446e69"},cdata:{color:"#446e69"},punctuation:{color:"#d6b007"},property:{color:"#d6e7ff"},tag:{color:"#d6e7ff"},boolean:{color:"#d6e7ff"},number:{color:"#d6e7ff"},constant:{color:"#d6e7ff"},symbol:{color:"#d6e7ff"},deleted:{color:"#d6e7ff"},selector:{color:"#e60067"},"attr-name":{color:"#e60067"},builtin:{color:"#e60067"},inserted:{color:"#e60067"},string:{color:"#49c6ec"},char:{color:"#49c6ec"},operator:{color:"#ec8e01",background:"transparent"},entity:{color:"#ec8e01",background:"transparent"},url:{color:"#ec8e01",background:"transparent"},".language-css .token.string":{color:"#ec8e01",background:"transparent"},".style .token.string":{color:"#ec8e01",background:"transparent"},atrule:{color:"#0fe468"},"attr-value":{color:"#0fe468"},keyword:{color:"#0fe468"},function:{color:"#78f3e9"},"class-name":{color:"#78f3e9"},regex:{color:"#d6e7ff"},important:{color:"#d6e7ff"},variable:{color:"#d6e7ff"}}}(O4)),O4}var B4={},YW;function wst(){return YW||(YW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8"},'pre[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#797379"},prolog:{color:"#797379"},doctype:{color:"#797379"},cdata:{color:"#797379"},punctuation:{color:"#b9b5b8"},".namespace":{Opacity:".7"},null:{color:"#fd8b19"},operator:{color:"#fd8b19"},boolean:{color:"#fd8b19"},number:{color:"#fd8b19"},property:{color:"#fdcc59"},tag:{color:"#1290bf"},string:{color:"#149b93"},selector:{color:"#c85e7c"},"attr-name":{color:"#fd8b19"},entity:{color:"#149b93",cursor:"help"},url:{color:"#149b93"},".language-css .token.string":{color:"#149b93"},".style .token.string":{color:"#149b93"},"attr-value":{color:"#8fc13e"},keyword:{color:"#8fc13e"},control:{color:"#8fc13e"},directive:{color:"#8fc13e"},unit:{color:"#8fc13e"},statement:{color:"#149b93"},regex:{color:"#149b93"},atrule:{color:"#149b93"},placeholder:{color:"#1290bf"},variable:{color:"#1290bf"},important:{color:"#dd464c",fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid red",OutlineOffset:".4em"}}}(B4)),B4}var P4={},XW;function kst(){return XW||(XW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#263E52",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#263E52",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#5c98cd"},prolog:{color:"#5c98cd"},doctype:{color:"#5c98cd"},cdata:{color:"#5c98cd"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#F05E5D"},tag:{color:"#F05E5D"},constant:{color:"#F05E5D"},symbol:{color:"#F05E5D"},deleted:{color:"#F05E5D"},boolean:{color:"#BC94F9"},number:{color:"#BC94F9"},selector:{color:"#FCFCD6"},"attr-name":{color:"#FCFCD6"},string:{color:"#FCFCD6"},char:{color:"#FCFCD6"},builtin:{color:"#FCFCD6"},inserted:{color:"#FCFCD6"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#66D8EF"},"attr-value":{color:"#66D8EF"},function:{color:"#66D8EF"},"class-name":{color:"#66D8EF"},keyword:{color:"#6EB26E"},regex:{color:"#F05E5D"},important:{color:"#F05E5D",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(P4)),P4}var z4={},JW;function Cst(){return JW||(JW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#a5e844"},attribute:{color:"#a5e844"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},comment:{color:"#616161"},constant:{color:"#c792ea"},deleted:{color:"#ff6666"},doctype:{color:"#616161"},entity:{color:"#ff6666"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#616161"},property:{color:"#80cbc4"},"pseudo-class":{color:"#a5e844"},"pseudo-element":{color:"#a5e844"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#ff6666"},string:{color:"#a5e844"},symbol:{color:"#c792ea"},tag:{color:"#ff6666"},unit:{color:"#fd9170"},url:{color:"#ff6666"},variable:{color:"#ff6666"}}}(z4)),z4}var H4={},ZW;function Tst(){return ZW||(ZW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#f76d47"},".language-sass > code":{color:"#f76d47"},".language-scss > code":{color:"#f76d47"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#7c4dff"},"attr-name":{color:"#39adb5"},"attr-value":{color:"#f6a434"},attribute:{color:"#f6a434"},boolean:{color:"#7c4dff"},builtin:{color:"#39adb5"},cdata:{color:"#39adb5"},char:{color:"#39adb5"},class:{color:"#39adb5"},"class-name":{color:"#6182b8"},comment:{color:"#aabfc9"},constant:{color:"#7c4dff"},deleted:{color:"#e53935"},doctype:{color:"#aabfc9"},entity:{color:"#e53935"},function:{color:"#7c4dff"},hexcode:{color:"#f76d47"},id:{color:"#7c4dff",fontWeight:"bold"},important:{color:"#7c4dff",fontWeight:"bold"},inserted:{color:"#39adb5"},keyword:{color:"#7c4dff"},number:{color:"#f76d47"},operator:{color:"#39adb5"},prolog:{color:"#aabfc9"},property:{color:"#39adb5"},"pseudo-class":{color:"#f6a434"},"pseudo-element":{color:"#f6a434"},punctuation:{color:"#39adb5"},regex:{color:"#6182b8"},selector:{color:"#e53935"},string:{color:"#f6a434"},symbol:{color:"#7c4dff"},tag:{color:"#e53935"},unit:{color:"#f76d47"},url:{color:"#e53935"},variable:{color:"#e53935"}}}(H4)),H4}var U4={},QW;function Ast(){return QW||(QW=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#c3e88d"},attribute:{color:"#c3e88d"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},color:{color:"#f2ff00"},comment:{color:"#546e7a"},constant:{color:"#c792ea"},deleted:{color:"#f07178"},doctype:{color:"#546e7a"},entity:{color:"#f07178"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea",fontStyle:"italic"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#546e7a"},property:{color:"#80cbc4"},"pseudo-class":{color:"#c3e88d"},"pseudo-element":{color:"#c3e88d"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#f07178"},string:{color:"#c3e88d"},symbol:{color:"#c792ea"},tag:{color:"#f07178"},unit:{color:"#f07178"},url:{color:"#fd9170"},variable:{color:"#f07178"}}}(U4)),U4}var G4={},eV;function _st(){return eV||(eV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#d6deeb",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#011627"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},':not(pre) > code[class*="language-"]':{color:"white",background:"#011627",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(130, 170, 255)"},function:{color:"rgb(130, 170, 255)"},builtin:{color:"rgb(130, 170, 255)"},char:{color:"rgb(130, 170, 255)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(G4)),G4}var $4={},tV;function Dst(){return tV||(tV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}($4)),$4}var j4={},rV;function Rst(){return rV||(rV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}}(j4)),j4}var q4={},nV;function Nst(){return nV||(nV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}}(q4)),q4}var W4={},aV;function Lst(){return aV||(aV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#dccf8f",textShadow:"0"},'pre[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#DCCF8F",textShadow:"0",borderRadius:"5px",border:"1px solid #000",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"12px",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{borderRadius:"5px",border:"1px solid #000",color:"#DCCF8F",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"2px 6px"},namespace:{Opacity:".7"},comment:{color:"#586e75",fontStyle:"italic"},prolog:{color:"#586e75",fontStyle:"italic"},doctype:{color:"#586e75",fontStyle:"italic"},cdata:{color:"#586e75",fontStyle:"italic"},number:{color:"#b89859"},string:{color:"#468966"},char:{color:"#468966"},builtin:{color:"#468966"},inserted:{color:"#468966"},"attr-name":{color:"#b89859"},operator:{color:"#dccf8f"},entity:{color:"#dccf8f",cursor:"help"},url:{color:"#dccf8f"},".language-css .token.string":{color:"#dccf8f"},".style .token.string":{color:"#dccf8f"},selector:{color:"#859900"},regex:{color:"#859900"},atrule:{color:"#cb4b16"},keyword:{color:"#cb4b16"},"attr-value":{color:"#468966"},function:{color:"#b58900"},variable:{color:"#b58900"},placeholder:{color:"#b58900"},property:{color:"#b89859"},tag:{color:"#ffb03b"},boolean:{color:"#b89859"},constant:{color:"#b89859"},symbol:{color:"#b89859"},important:{color:"#dc322f"},statement:{color:"#dc322f"},deleted:{color:"#dc322f"},punctuation:{color:"#dccf8f"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(W4)),W4}var V4={},iV;function Mst(){return iV||(iV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245"},"pre[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245",padding:"2em",margin:"0.5em 0",overflow:"auto",background:"#1e1e3f"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},":not(pre) > code[class*='language-']":{background:"#1e1e3f",padding:"0.1em",borderRadius:"0.3em"},"":{fontWeight:"400"},comment:{color:"#b362ff"},prolog:{color:"#b362ff"},cdata:{color:"#b362ff"},delimiter:{color:"#ff9d00"},keyword:{color:"#ff9d00"},selector:{color:"#ff9d00"},important:{color:"#ff9d00"},atrule:{color:"#ff9d00"},operator:{color:"rgb(255, 180, 84)",background:"none"},"attr-name":{color:"rgb(255, 180, 84)"},punctuation:{color:"#ffffff"},boolean:{color:"rgb(255, 98, 140)"},tag:{color:"rgb(255, 157, 0)"},"tag.punctuation":{color:"rgb(255, 157, 0)"},doctype:{color:"rgb(255, 157, 0)"},builtin:{color:"rgb(255, 157, 0)"},entity:{color:"#6897bb",background:"none"},symbol:{color:"#6897bb"},number:{color:"#ff628c"},property:{color:"#ff628c"},constant:{color:"#ff628c"},variable:{color:"#ff628c"},string:{color:"#a5ff90"},char:{color:"#a5ff90"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline",background:"none"},function:{color:"rgb(250, 208, 0)"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#00ff00"},deleted:{background:"#ff000d"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"},"class-name":{color:"#fb94ff"},".language-css .token.string":{background:"none"},".style .token.string":{background:"none"},".line-highlight.line-highlight":{marginTop:"36px",background:"linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)"},".line-highlight.line-highlight:before":{content:"''"},".line-highlight.line-highlight[data-end]:after":{content:"''"}}}(V4)),V4}var K4={},oV;function Ist(){return oV||(oV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#002b36"},':not(pre) > code[class*="language-"]':{background:"#002b36",padding:".1em",borderRadius:".3em"},comment:{color:"#586e75"},prolog:{color:"#586e75"},doctype:{color:"#586e75"},cdata:{color:"#586e75"},punctuation:{color:"#93a1a1"},".namespace":{Opacity:".7"},property:{color:"#268bd2"},keyword:{color:"#268bd2"},tag:{color:"#268bd2"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#b58900"},constant:{color:"#b58900"},symbol:{color:"#dc322f"},deleted:{color:"#dc322f"},number:{color:"#859900"},selector:{color:"#859900"},"attr-name":{color:"#859900"},string:{color:"#859900"},char:{color:"#859900"},builtin:{color:"#859900"},inserted:{color:"#859900"},variable:{color:"#268bd2"},operator:{color:"#EDEDED"},function:{color:"#268bd2"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"}}}(K4)),K4}var Y4={},sV;function Ost(){return sV||(sV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)"},':not(pre) > code[class*="language-"]':{backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8e8e8e"},"block-comment":{color:"#8e8e8e"},prolog:{color:"#8e8e8e"},doctype:{color:"#8e8e8e"},cdata:{color:"#8e8e8e"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},number:{color:"#e2777a"},unit:{color:"#e2777a"},hexcode:{color:"#e2777a"},deleted:{color:"#e2777a"},property:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},selector:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},"function-name":{color:"#6196cc"},boolean:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"selector.id":{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},function:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"class-name":{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"},constant:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},symbol:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},important:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575",fontWeight:"bold"},atrule:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},keyword:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},"selector.class":{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},builtin:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},string:{color:"#f87c32"},char:{color:"#f87c32"},"attr-value":{color:"#f87c32"},regex:{color:"#f87c32"},variable:{color:"#f87c32"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}}(Y4)),Y4}var X4={},lV;function Bst(){return lV||(lV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"]::selection':{background:"#C1DEF1"},'pre[class*="language-"] ::selection':{background:"#C1DEF1"},'code[class*="language-"]::selection':{background:"#C1DEF1"},'code[class*="language-"] ::selection':{background:"#C1DEF1"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#008000",fontStyle:"italic"},prolog:{color:"#008000",fontStyle:"italic"},doctype:{color:"#008000",fontStyle:"italic"},cdata:{color:"#008000",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#A31515"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#0000ff"},keyword:{color:"#0000ff"},"attr-value":{color:"#0000ff"},".language-autohotkey .token.selector":{color:"#0000ff"},".language-json .token.boolean":{color:"#0000ff"},".language-json .token.number":{color:"#0000ff"},'code[class*="language-css"]':{color:"#0000ff"},function:{color:"#393A34"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},selector:{color:"#800000"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#2B91AF"},".language-json .token.property":{color:"#2B91AF"},tag:{color:"#800000"},"attr-name":{color:"#ff0000"},property:{color:"#ff0000"},regex:{color:"#ff0000"},entity:{color:"#ff0000"},"directive.tag.tag":{background:"#ffff00",color:"#393A34"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#a5a5a5"},".line-numbers .line-numbers-rows > span:before":{color:"#2B91AF"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))"}}}(X4)),X4}var J4={},uV;function Pst(){return uV||(uV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}}(J4)),J4}var Z4={},cV;function zst(){return cV||(cV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none"},'pre[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none",background:"#2a2a2a",padding:"15px",borderRadius:"4px",border:"1px solid #e1e1e8",overflow:"auto",position:"relative"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{background:"#2a2a2a",padding:"0.15em 0.2em 0.05em",borderRadius:".3em",border:"0.13em solid #7a6652",boxShadow:"1px 1px 0.3em -0.1em #000 inset"},'pre[class*="language-"] code':{whiteSpace:"pre",display:"block"},namespace:{Opacity:".7"},comment:{color:"#6f705e"},prolog:{color:"#6f705e"},doctype:{color:"#6f705e"},cdata:{color:"#6f705e"},operator:{color:"#a77afe"},boolean:{color:"#a77afe"},number:{color:"#a77afe"},"attr-name":{color:"#e6d06c"},string:{color:"#e6d06c"},entity:{color:"#e6d06c",cursor:"help"},url:{color:"#e6d06c"},".language-css .token.string":{color:"#e6d06c"},".style .token.string":{color:"#e6d06c"},selector:{color:"#a6e22d"},inserted:{color:"#a6e22d"},atrule:{color:"#ef3b7d"},"attr-value":{color:"#ef3b7d"},keyword:{color:"#ef3b7d"},important:{color:"#ef3b7d",fontWeight:"bold"},deleted:{color:"#ef3b7d"},regex:{color:"#76d9e6"},statement:{color:"#76d9e6",fontWeight:"bold"},placeholder:{color:"#fff"},variable:{color:"#fff"},bold:{fontWeight:"bold"},punctuation:{color:"#bebec5"},italic:{fontStyle:"italic"},"code.language-markup":{color:"#f9f9f9"},"code.language-markup .token.tag":{color:"#ef3b7d"},"code.language-markup .token.attr-name":{color:"#a6e22d"},"code.language-markup .token.attr-value":{color:"#e6d06c"},"code.language-markup .token.style":{color:"#76d9e6"},"code.language-markup .token.script":{color:"#76d9e6"},"code.language-markup .token.script .token.keyword":{color:"#76d9e6"},".line-highlight.line-highlight":{padding:"0",background:"rgba(255, 255, 255, 0.08)"},".line-highlight.line-highlight:before":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"},".line-highlight.line-highlight[data-end]:after":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"}}}(Z4)),Z4}var Q4={},dV;function Hst(){return dV||(dV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#22da17",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"5px 0"},'pre[class*="language-"]':{color:"white",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"0.5em 0",background:"#0a143c",padding:"1em",overflow:"auto"},'pre[class*="language-"] *':{fontFamily:"monospace"},':not(pre) > code[class*="language-"]':{color:"white",background:"#0a143c",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(34 183 199)"},function:{color:"rgb(34 183 199)"},builtin:{color:"rgb(34 183 199)"},char:{color:"rgb(34 183 199)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}}(Q4)),Q4}var hV;function Ust(){return hV||(hV=1,function(e){var t=Xot();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"a11yDark",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"atomDark",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"base16AteliersulphurpoolLight",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"cb",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"coldarkCold",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"coldarkDark",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"coy",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"coyWithoutShadows",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"darcula",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"dark",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"dracula",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"duotoneDark",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"duotoneEarth",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"duotoneForest",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"duotoneLight",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"duotoneSea",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"duotoneSpace",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"funky",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"ghcolors",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"gruvboxDark",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"gruvboxLight",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"holiTheme",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"hopscotch",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"lucario",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"materialDark",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"materialLight",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"materialOceanic",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"nightOwl",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"nord",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"okaidia",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"oneDark",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"oneLight",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"pojoaque",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"prism",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"shadesOfPurple",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"solarizedDarkAtom",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"solarizedlight",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"synthwave84",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"tomorrow",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"twilight",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"vs",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"vscDarkPlus",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"xonokai",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"zTouch",{enumerable:!0,get:function(){return Ne.default}});var r=t(Jot()),n=t(Zot()),a=t(Qot()),i=t(est()),o=t(tst()),s=t(rst()),l=t(nst()),u=t(ast()),d=t(ist()),h=t(ost()),f=t(sst()),m=t(lst()),b=t(ust()),y=t(cst()),F=t(dst()),x=t(hst()),E=t(pst()),C=t(fst()),_=t(mst()),D=t(gst()),w=t(bst()),A=t(yst()),I=t(vst()),M=t(Fst()),L=t(Est()),U=t(Sst()),j=t(xst()),z=t(wst()),V=t(kst()),X=t(Cst()),q=t(Tst()),W=t(Ast()),B=t(_st()),te=t(Dst()),P=t(Rst()),Z=t(Nst()),K=t(Lst()),G=t(Mst()),ne=t(Ist()),oe=t(Ost()),de=t(Bst()),ie=t(Pst()),ue=t(zst()),Ne=t(Hst())}(l4)),l4}var Z1=Ust();const Gst=({message:e})=>{const{t}=Er(),{theme:r}=f5(),[n,a]=T.useState(null),[i,o]=T.useState(!1),{thinkingContent:s,displayContent:l,thinkingTime:u,isThinking:d}=e;T.useEffect(()=>{d&&o(!1)},[d,e.id]);const h=s,f=e.role==="user"?e.content:l!==void 0?l:e.content||"";T.useEffect(()=>{(async()=>{try{const{default:F}=await Br(async()=>{const{default:x}=await import("./index-BADD45_R.js");return{default:x}},[]);a(()=>F)}catch(F){console.error("Failed to load KaTeX plugin:",F),a(null)}})()},[]);const m=T.useMemo(()=>({code:y=>{const{inline:F,className:x,children:E,...C}=y,_=/language-(\w+)/.exec(x||""),D=_?_[1]:void 0;return D==="math"&&!F?S.jsx("div",{className:"katex-display-wrapper my-4 overflow-x-auto",children:S.jsx("div",{className:"text-current",children:E})}):D==="math"&&F?S.jsx("span",{className:"katex-inline-wrapper",children:S.jsx("span",{className:"text-current",children:E})}):S.jsx(B6,{inline:F,className:x,...C,renderAsDiagram:e.mermaidRendered??!1,messageRole:e.role,children:E})},p:({children:y})=>S.jsx("div",{className:"my-2",children:y}),h1:({children:y})=>S.jsx("h1",{className:"text-xl font-bold mt-4 mb-2",children:y}),h2:({children:y})=>S.jsx("h2",{className:"text-lg font-bold mt-4 mb-2",children:y}),h3:({children:y})=>S.jsx("h3",{className:"text-base font-bold mt-3 mb-2",children:y}),h4:({children:y})=>S.jsx("h4",{className:"text-base font-semibold mt-3 mb-2",children:y}),ul:({children:y})=>S.jsx("ul",{className:"list-disc pl-5 my-2",children:y}),ol:({children:y})=>S.jsx("ol",{className:"list-decimal pl-5 my-2",children:y}),li:({children:y})=>S.jsx("li",{className:"my-1",children:y})}),[e.mermaidRendered,e.role]),b=T.useMemo(()=>({code:y=>S.jsx(B6,{...y,renderAsDiagram:e.mermaidRendered??!1,messageRole:e.role})}),[e.mermaidRendered,e.role]);return S.jsxs("div",{className:`${e.role==="user"?"max-w-[80%] bg-primary text-primary-foreground":e.isError?"w-[95%] bg-red-100 text-red-600 dark:bg-red-950 dark:text-red-400":"w-[95%] bg-muted"} rounded-lg px-4 py-2`,children:[e.role==="assistant"&&(d||u!==null)&&S.jsxs("div",{className:"mb-2",children:[S.jsxs("div",{className:"flex items-center text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 transition-colors duration-200 text-sm cursor-pointer select-none",onClick:()=>{h&&h.trim()!==""&&o(!i)},children:[d?S.jsxs(S.Fragment,{children:[S.jsx(wO,{className:"mr-2 size-4 animate-spin"}),S.jsx("span",{children:t("retrievePanel.chatMessage.thinking")})]}):typeof u=="number"&&S.jsx("span",{children:t("retrievePanel.chatMessage.thinkingTime",{time:u})}),h&&h.trim()!==""&&S.jsx(zv,{className:`ml-2 size-4 shrink-0 transition-transform ${i?"rotate-180":""}`})]}),i&&h&&h.trim()!==""&&S.jsxs("div",{className:"mt-2 pl-4 border-l-2 border-primary/20 dark:border-primary/40 text-sm prose dark:prose-invert max-w-none break-words prose-p:my-1 prose-headings:my-2 [&_sup]:text-[0.75em] [&_sup]:align-[0.1em] [&_sup]:leading-[0] [&_sub]:text-[0.75em] [&_sub]:align-[-0.2em] [&_sub]:leading-[0] [&_mark]:bg-yellow-200 [&_mark]:dark:bg-yellow-800 [&_u]:underline [&_del]:line-through [&_ins]:underline [&_ins]:decoration-green-500 [&_.footnotes]:mt-6 [&_.footnotes]:pt-3 [&_.footnotes]:border-t [&_.footnotes]:border-border [&_.footnotes_ol]:text-xs [&_.footnotes_li]:my-0.5 [&_a[href^='#fn']]:text-primary [&_a[href^='#fn']]:no-underline [&_a[href^='#fn']]:hover:underline [&_a[href^='#fnref']]:text-primary [&_a[href^='#fnref']]:no-underline [&_a[href^='#fnref']]:hover:underline text-foreground",children:[d&&S.jsx("div",{className:"mb-2 text-xs text-gray-400 dark:text-gray-300 italic",children:t("retrievePanel.chatMessage.thinkingInProgress","Thinking in progress...")}),S.jsx(yP,{remarkPlugins:[TP,NH,XP],rehypePlugins:[KP,...n&&(e.latexRendered??!0)?[[n,{errorColor:r==="dark"?"#ef4444":"#dc2626",throwOnError:!1,displayMode:!1,strict:!1,trust:!0,errorCallback:(y,F)=>{}}]]:[],AP],skipHtml:!1,components:b,children:h})]})]}),f&&S.jsx("div",{className:"relative",children:S.jsx(yP,{className:`prose dark:prose-invert max-w-none text-sm break-words prose-headings:mt-4 prose-headings:mb-2 prose-p:my-2 prose-ul:my-2 prose-ol:my-2 prose-li:my-1 [&_.katex]:text-current [&_.katex-display]:my-4 [&_.katex-display]:max-w-full [&_.katex-display_>.base]:overflow-x-auto [&_sup]:text-[0.75em] [&_sup]:align-[0.1em] [&_sup]:leading-[0] [&_sub]:text-[0.75em] [&_sub]:align-[-0.2em] [&_sub]:leading-[0] [&_mark]:bg-yellow-200 [&_mark]:dark:bg-yellow-800 [&_u]:underline [&_del]:line-through [&_ins]:underline [&_ins]:decoration-green-500 [&_.footnotes]:mt-8 [&_.footnotes]:pt-4 [&_.footnotes]:border-t [&_.footnotes_ol]:text-sm [&_.footnotes_li]:my-1 ${e.role==="user"?"text-primary-foreground":"text-foreground"} ${e.role==="user"?'[&_.footnotes]:border-primary-foreground/30 [&_a[href^="#fn"]]:text-primary-foreground [&_a[href^="#fn"]]:no-underline [&_a[href^="#fn"]]:hover:underline [&_a[href^="#fnref"]]:text-primary-foreground [&_a[href^="#fnref"]]:no-underline [&_a[href^="#fnref"]]:hover:underline':'[&_.footnotes]:border-border [&_a[href^="#fn"]]:text-primary [&_a[href^="#fn"]]:no-underline [&_a[href^="#fn"]]:hover:underline [&_a[href^="#fnref"]]:text-primary [&_a[href^="#fnref"]]:no-underline [&_a[href^="#fnref"]]:hover:underline'}`,remarkPlugins:[TP,NH,XP],rehypePlugins:[KP,...n&&(e.latexRendered??!0)?[[n,{errorColor:r==="dark"?"#ef4444":"#dc2626",throwOnError:!1,displayMode:!1,strict:!1,trust:!0,errorCallback:(y,F)=>{}}]]:[],AP],skipHtml:!1,components:m,children:f})}),!(f&&f.trim()!=="")&&!d&&!u&&S.jsx(wO,{className:"animate-spin duration-2000"})]})},$st=(e,t)=>!t||e!=="json"?!1:t.length>5e3,B6=T.memo(({inline:e,className:t,children:r,renderAsDiagram:n=!1,messageRole:a,...i})=>{const{theme:o}=f5(),[s,l]=T.useState(!1),u=t==null?void 0:t.match(/language-(\w+)/),d=u?u[1]:void 0,h=T.useRef(null),f=T.useRef(null),m=String(r||"").replace(/\n$/,""),b=$st(d,m);if(T.useEffect(()=>{if(n&&!s&&d==="mermaid"&&h.current){const x=h.current;f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{if(x&&!s)try{RH.initialize({startOnLoad:!1,theme:o==="dark"?"dark":"default",securityLevel:"loose",suppressErrorRendering:!0}),x.innerHTML='<div class="flex justify-center items-center p-4"><svg class="animate-spin h-5 w-5 text-primary" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg></div>';const E=String(r).replace(/\n$/,"").trim();if(!(E.length>10&&(E.startsWith("graph")||E.startsWith("sequenceDiagram")||E.startsWith("classDiagram")||E.startsWith("stateDiagram")||E.startsWith("gantt")||E.startsWith("pie")||E.startsWith("flowchart")||E.startsWith("erDiagram")))){console.log("Mermaid content might be incomplete, skipping render attempt:",E);return}const _=E.split(`
|
||
`).map(w=>{const A=w.trim();if(A.startsWith("subgraph")){const I=A.split(" ");if(I.length>1)return`subgraph "${I.slice(1).join(" ").replace(/["']/g,"")}"`}return A}).filter(w=>!w.trim().startsWith("linkStyle")).join(`
|
||
`),D=`mermaid-${Date.now()}`;RH.render(D,_).then(({svg:w,bindFunctions:A})=>{if(h.current===x&&!s){if(x.innerHTML=w,l(!0),A)try{A(x)}catch(I){console.error("Mermaid bindFunctions error:",I),x.innerHTML+='<p class="text-orange-500 text-xs">Diagram interactions might be limited.</p>'}}else h.current!==x&&console.log("Mermaid container changed before rendering completed.")}).catch(w=>{if(console.error("Mermaid rendering promise error (debounced):",w),console.error("Failed content (debounced):",_),h.current===x){const A=w instanceof Error?w.message:String(w),I=document.createElement("pre");I.className="text-red-500 text-xs whitespace-pre-wrap break-words",I.textContent=`Mermaid diagram error: ${A}
|
||
|
||
Content:
|
||
${_}`,x.innerHTML="",x.appendChild(I)}})}catch(E){if(console.error("Mermaid synchronous error (debounced):",E),console.error("Failed content (debounced):",String(r)),h.current===x){const C=E instanceof Error?E.message:String(E),_=document.createElement("pre");_.className="text-red-500 text-xs whitespace-pre-wrap break-words",_.textContent=`Mermaid diagram setup error: ${C}`,x.innerHTML="",x.appendChild(_)}}},300)}return()=>{f.current&&clearTimeout(f.current)}},[n,s,d,r,o]),b)return S.jsx("pre",{className:"whitespace-pre-wrap break-words bg-muted p-4 rounded-md overflow-x-auto text-sm font-mono",children:m});if(d==="mermaid"&&!n)return S.jsx(O6,{style:o==="dark"?Z1.oneDark:Z1.oneLight,PreTag:"div",language:"text",...i,children:m});if(d==="mermaid")return S.jsx("div",{className:"mermaid-diagram-container my-4 overflow-x-auto",ref:h});const y=e??!(t!=null&&t.startsWith("language-")),F=()=>a==="user"?"bg-primary-foreground/20 text-primary-foreground border border-primary-foreground/30":o==="dark"?"bg-muted-foreground/20 text-muted-foreground border border-muted-foreground/30":"bg-slate-200 text-slate-800 border border-slate-300";return y?S.jsx("code",{className:ut(t,"mx-1 rounded-sm px-1 py-0.5 font-mono text-sm",F()),...i,children:r}):S.jsx(O6,{style:o==="dark"?Z1.oneDark:Z1.oneLight,PreTag:"div",language:d,...i,children:m})});B6.displayName="CodeHighlight";async function jst(e){if(!e||e.trim()==="")return{success:!1,method:"fallback",error:"No text provided"};if(navigator.clipboard&&typeof navigator.clipboard.writeText=="function")try{return await navigator.clipboard.writeText(e),{success:!0,method:"clipboard-api"}}catch(t){console.warn("Clipboard API failed:",t)}try{const t=await qst(e);if(t.success)return t}catch(t){console.warn("execCommand failed:",t)}try{const t=await Wst(e);if(t.success)return t}catch(t){console.warn("Manual selection failed:",t)}return{success:!1,method:"fallback",error:"All copy methods failed. Please copy the text manually."}}async function qst(e){return new Promise(t=>{const r=document.createElement("textarea");r.value=e,r.style.position="fixed",r.style.left="-9999px",r.style.top="-9999px",r.style.opacity="0",r.setAttribute("readonly",""),document.body.appendChild(r);try{r.select(),r.setSelectionRange(0,e.length);const n=document.execCommand("copy");t(n?{success:!0,method:"execCommand"}:{success:!1,method:"execCommand",error:"execCommand returned false"})}catch(n){t({success:!1,method:"execCommand",error:n instanceof Error?n.message:"execCommand failed"})}finally{document.body.removeChild(r)}})}async function Wst(e){return new Promise(t=>{const r=document.createElement("textarea");r.value=e,r.style.position="absolute",r.style.left="-9999px",r.style.top="-9999px",r.style.opacity="0",r.style.pointerEvents="none",r.setAttribute("readonly",""),r.setAttribute("tabindex","-1"),document.body.appendChild(r);try{r.focus(),r.select(),r.setSelectionRange(0,e.length);const n=new ClipboardEvent("copy",{clipboardData:new DataTransfer});n.clipboardData?(n.clipboardData.setData("text/plain",e),document.dispatchEvent(n),t({success:!0,method:"manual-select"})):t({success:!1,method:"manual-select",error:"Manual selection prepared, but automatic copy failed"})}catch(n){t({success:!1,method:"manual-select",error:n instanceof Error?n.message:"Manual selection failed"})}finally{setTimeout(()=>{document.body.contains(r)&&document.body.removeChild(r)},100)}})}const pV=()=>typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`id-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,Vst=e=>{const r=(e.match(/\$\$/g)||[]).length%2!==0,i=(e.replace(/\$\$[\s\S]*?\$\$/g,"").match(new RegExp("(?<!\\$)\\$(?!\\$)","g"))||[]).length%2!==0;return!r&&!i},fV=e=>{const t="<think>",r="</think>",n=[],a=[];let i=0;for(;(i=e.indexOf(t,i))!==-1;)n.push(i),i+=t.length;let o=0;for(;(o=e.indexOf(r,o))!==-1;)a.push(o),o+=r.length;const s=n.length>0,l=a.length>0,u=s&&n.length>a.length;let d="",h=e;if(s){if(l&&n.length===a.length){const f=n[n.length-1],m=a[a.length-1];m>f&&(d=e.substring(f+t.length,m).trim(),h=e.substring(m+r.length).trim())}else if(u){const f=n[n.length-1];d=e.substring(f+t.length),h=""}}return{isThinking:u,thinkingContent:d,displayContent:h,hasValidThinkBlock:s&&l&&n.length===a.length}};function Kst(){const{t:e}=Er(),[t,r]=T.useState(()=>{try{return(rt.getState().retrievalHistory||[]).map((z,V)=>{try{const X=z;return{...z,id:X.id||`hist-${Date.now()}-${V}`,mermaidRendered:X.mermaidRendered??!0,latexRendered:X.latexRendered??!0}}catch(X){return console.error("Error processing message:",X),{role:"system",content:"Error loading message",id:`error-${Date.now()}-${V}`,isError:!0,mermaidRendered:!0}}})}catch(j){return console.error("Error loading history:",j),[]}}),[n,a]=T.useState(""),[i,o]=T.useState(!1),[s,l]=T.useState(""),u=T.useRef(null),d=n.includes(`
|
||
`),h=T.useCallback(j=>{a(j.target.value),s&&l("")},[s]),f=T.useCallback(j=>{requestAnimationFrame(()=>{j.style.height="auto",j.style.height=Math.min(j.scrollHeight,120)+"px"})},[]),m=T.useCallback(()=>{D.current=!0,requestAnimationFrame(()=>{A.current&&A.current.scrollIntoView({behavior:"auto"})})},[]),b=T.useCallback(async j=>{if(j.preventDefault(),!n.trim()||i)return;const z=["naive","local","global","hybrid","mix","bypass"],V=n.match(/^\/(\w+)\s+([\s\S]+)/);let X,q=n;if(/^\/\S+/.test(n)&&!V){l(e("retrievePanel.retrieval.queryModePrefixInvalid"));return}if(V){const de=V[1],ie=V[2];if(!z.includes(de)){l(e("retrievePanel.retrieval.queryModeError",{modes:"naive, local, global, hybrid, mix, bypass"}));return}X=de,q=ie}l(""),E.current=null,C.current=!1;const W={id:pV(),content:n,role:"user"},B={id:pV(),content:"",role:"assistant",mermaidRendered:!1,latexRendered:!1,thinkingTime:null,thinkingContent:void 0,displayContent:void 0,isThinking:!1},te=[...t];r([...te,W,B]),x.current=!0,w.current=!0,setTimeout(()=>{m()},0),a(""),o(!0),u.current&&"style"in u.current&&(u.current.style.height="40px");const P=(de,ie)=>{B.content+=de,B.content.includes("<think>")&&!E.current&&(E.current=Date.now());const ue=fV(B.content);if(B.isThinking=ue.isThinking,ue.hasValidThinkBlock&&!C.current){if(E.current&&!B.thinkingTime){const Ee=(Date.now()-E.current)/1e3;B.thinkingTime=parseFloat(Ee.toFixed(2))}C.current=!0}B.thinkingContent=ue.thinkingContent,ue.isThinking?B.displayContent="":B.displayContent=ue.displayContent||B.content;const Ne=/```mermaid\s+([\s\S]+?)```/g;let pe=!1,Le;for(;(Le=Ne.exec(B.content))!==null;)if(Le[1]&&Le[1].trim().length>10){pe=!0;break}B.mermaidRendered=pe;const Me=Vst(B.content);B.latexRendered=Me,r(Ee=>{const Te=[...Ee],Re=Te[Te.length-1];return Re&&Re.id===B.id&&Object.assign(Re,{content:B.content,thinkingContent:B.thinkingContent,displayContent:B.displayContent,isThinking:B.isThinking,isError:ie,mermaidRendered:B.mermaidRendered,latexRendered:B.latexRendered,thinkingTime:B.thinkingTime}),Te}),x.current&&setTimeout(()=>{m()},30)},Z=rt.getState();Z.querySettings.user_prompt&&Z.querySettings.user_prompt.trim()&&Z.addUserPromptToHistory(Z.querySettings.user_prompt.trim());const K=X||Z.querySettings.mode,G=Z.querySettings.history_turns||0,ne=K==="bypass"&&G===0?3:G,oe={...Z.querySettings,query:q,conversation_history:ne>0?te.filter(de=>de.isError!==!0).slice(-ne*2).map(de=>({role:de.role,content:de.content})):[],...X?{mode:X}:{}};try{if(Z.querySettings.stream){let de="";await S1e(oe,P,ie=>{de+=ie}),de&&(B.content&&(de=B.content+`
|
||
`+de),P(de,!0))}else{const de=await E1e(oe);P(de.response)}}catch(de){P(`${e("retrievePanel.retrieval.error")}
|
||
${ka(de)}`,!0)}finally{o(!1),w.current=!1;try{const de=fV(B.content);if(B.isThinking=!1,de.hasValidThinkBlock&&E.current&&!B.thinkingTime){const ie=(Date.now()-E.current)/1e3;B.thinkingTime=parseFloat(ie.toFixed(2))}de.displayContent!==void 0&&(B.displayContent=de.displayContent)}catch(de){console.error("Error in final COT state validation:",de),B.isThinking=!1}finally{E.current=null}try{rt.getState().setRetrievalHistory([...te,W,B])}catch(de){console.error("Error saving retrieval history:",de)}}},[n,i,t,r,e,m]),y=T.useCallback(j=>{if(j.key==="Enter"&&j.shiftKey){j.preventDefault();const z=j.target,V=z.selectionStart||0,X=z.selectionEnd||0,q=n.slice(0,V)+`
|
||
`+n.slice(X);a(q),setTimeout(()=>{z.setSelectionRange&&z.setSelectionRange(V+1,V+1),u.current&&u.current.tagName==="TEXTAREA"&&f(u.current)},0)}else j.key==="Enter"&&!j.shiftKey&&(j.preventDefault(),b(j))},[n,b,f]),F=T.useCallback(j=>{const z=j.clipboardData.getData("text");if(z.includes(`
|
||
`)){j.preventDefault();const V=j.target,X=V.selectionStart||0,q=V.selectionEnd||0,W=n.slice(0,X)+z+n.slice(q);a(W),setTimeout(()=>{if(u.current&&u.current.setSelectionRange){const B=X+z.length;u.current.setSelectionRange(B,B)}},0)}},[n]);T.useEffect(()=>{if(u.current){const j=u.current,z=j.selectionStart||n.length;requestAnimationFrame(()=>{j.focus(),j.setSelectionRange&&j.setSelectionRange(z,z)})}},[d,n.length]),T.useEffect(()=>{d&&u.current&&u.current.tagName==="TEXTAREA"&&f(u.current)},[d,n,f]);const x=T.useRef(!0),E=T.useRef(null),C=T.useRef(!1),_=T.useRef(!1),D=T.useRef(!1),w=T.useRef(!1),A=T.useRef(null),I=T.useRef(null);T.useEffect(()=>()=>{E.current&&(E.current=null)},[]),T.useEffect(()=>{const j=I.current;if(!j)return;const z=X=>{Math.abs(X.deltaY)>10&&!_.current&&(x.current=!1)},V=E0e(()=>{if(D.current){D.current=!1;return}const X=I.current;X&&(X.scrollHeight-X.scrollTop-X.clientHeight<20?x.current=!0:!_.current&&!w.current&&(x.current=!1))},30);return j.addEventListener("wheel",z),j.addEventListener("scroll",V),()=>{j.removeEventListener("wheel",z),j.removeEventListener("scroll",V)}},[]),T.useEffect(()=>{const j=document.querySelector("form");if(!j)return;const z=()=>{_.current=!0,setTimeout(()=>{_.current=!1},500)};return j.addEventListener("mousedown",z),()=>{j.removeEventListener("mousedown",z)}},[]);const M=y5(t,150);T.useEffect(()=>{x.current&&m()},[M,m]);const L=T.useCallback(()=>{r([]),rt.getState().setRetrievalHistory([])},[r]),U=T.useCallback(async j=>{let z="";if(j.role==="user"?z=j.content||"":z=j.displayContent!==void 0?j.displayContent:j.content||"",!z.trim()){lr.error(e("retrievePanel.chatMessage.copyEmpty","No content to copy"));return}try{const V=await jst(z);if(V.success){const X={"clipboard-api":e("retrievePanel.chatMessage.copySuccess","Content copied to clipboard"),execCommand:e("retrievePanel.chatMessage.copySuccessLegacy","Content copied (legacy method)"),"manual-select":e("retrievePanel.chatMessage.copySuccessManual","Content copied (manual method)"),fallback:e("retrievePanel.chatMessage.copySuccess","Content copied to clipboard")};lr.success(X[V.method]||e("retrievePanel.chatMessage.copySuccess","Content copied to clipboard"))}else V.method==="fallback"?lr.error(V.error||e("retrievePanel.chatMessage.copyFailed","Failed to copy content"),{description:e("retrievePanel.chatMessage.copyManualInstruction","Please select and copy the text manually")}):lr.error(e("retrievePanel.chatMessage.copyFailed","Failed to copy content"),{description:V.error})}catch(V){console.error("Clipboard operation failed:",V),lr.error(e("retrievePanel.chatMessage.copyError","Copy operation failed"),{description:V instanceof Error?V.message:"Unknown error occurred"})}},[e]);return S.jsxs("div",{className:"flex size-full gap-2 px-2 pb-12 overflow-hidden",children:[S.jsxs("div",{className:"flex grow flex-col gap-4",children:[S.jsx("div",{className:"relative grow",children:S.jsx("div",{ref:I,className:"bg-primary-foreground/60 absolute inset-0 flex flex-col overflow-auto rounded-lg border p-2",onClick:()=>{x.current&&(x.current=!1)},children:S.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-2",children:[t.length===0?S.jsx("div",{className:"text-muted-foreground flex h-full items-center justify-center text-lg",children:e("retrievePanel.retrieval.startPrompt")}):t.map(j=>S.jsxs("div",{className:`flex ${j.role==="user"?"justify-end":"justify-start"} items-end gap-2`,children:[j.role==="user"&&S.jsx(Ot,{onClick:()=>U(j),className:"mb-2 size-6 rounded-md opacity-60 transition-opacity hover:opacity-100 shrink-0",tooltip:e("retrievePanel.chatMessage.copyTooltip"),variant:"ghost",size:"icon",children:S.jsx(xO,{className:"size-4"})}),S.jsx(Gst,{message:j}),j.role==="assistant"&&S.jsx(Ot,{onClick:()=>U(j),className:"mb-2 size-6 rounded-md opacity-60 transition-opacity hover:opacity-100 shrink-0",tooltip:e("retrievePanel.chatMessage.copyTooltip"),variant:"ghost",size:"icon",children:S.jsx(xO,{className:"size-4"})})]},j.id)),S.jsx("div",{ref:A,className:"pb-1"})]})})}),S.jsxs("form",{onSubmit:b,className:"flex shrink-0 items-center gap-2",autoComplete:"on",method:"post",action:"#",role:"search",children:[S.jsx("input",{type:"submit",style:{display:"none"},tabIndex:-1}),S.jsxs(Ot,{type:"button",variant:"outline",onClick:L,disabled:i,size:"sm",children:[S.jsx(EJ,{}),e("retrievePanel.retrieval.clear")]}),S.jsxs("div",{className:"flex-1 relative",children:[S.jsx("label",{htmlFor:"query-input",className:"sr-only",children:e("retrievePanel.retrieval.placeholder")}),d?S.jsx(hte,{ref:u,id:"query-input",autoComplete:"on",className:"w-full min-h-[40px] max-h-[120px] overflow-y-auto",value:n,onChange:h,onKeyDown:y,onPaste:F,placeholder:e("retrievePanel.retrieval.placeholder"),disabled:i,rows:1,style:{resize:"none",height:"auto",minHeight:"40px",maxHeight:"120px"},onInput:j=>{const z=j.target;requestAnimationFrame(()=>{z.style.height="auto",z.style.height=Math.min(z.scrollHeight,120)+"px"})}}):S.jsx(ea,{ref:u,id:"query-input",autoComplete:"on",className:"w-full",value:n,onChange:h,onKeyDown:y,onPaste:F,placeholder:e("retrievePanel.retrieval.placeholder"),disabled:i}),s&&S.jsx("div",{className:"absolute left-0 top-full mt-1 text-xs text-red-500",children:s})]}),S.jsxs(Ot,{type:"submit",variant:"default",disabled:i,size:"sm",children:[S.jsx(ZFe,{}),e("retrievePanel.retrieval.send")]})]})]}),S.jsx(D5e,{})]})}const Yst=()=>{const e=T.useContext(GY);if(!e)throw new Error("useTabVisibility must be used within a TabVisibilityProvider");return e};function Xst(){const{t:e}=Er(),{isTabVisible:t}=Yst(),r=t("api"),[n,a]=T.useState(!1);return T.useEffect(()=>{n||a(!0)},[n]),S.jsx("div",{className:`size-full ${r?"":"hidden"}`,children:n?S.jsx("iframe",{src:Vb+"/docs",className:"size-full w-full h-full",style:{width:"100%",height:"100%",border:"none"}},"api-docs-iframe"):S.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background",children:S.jsxs("div",{className:"text-center",children:[S.jsx("div",{className:"mb-2 h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent"}),S.jsx("p",{children:e("apiSite.loading")})]})})})}function Jst(){const e=Mn.use.message(),t=rt.use.enableHealthCheck(),r=rt.use.currentTab(),[n,a]=T.useState(!1),[i,o]=T.useState(!0),s=T.useRef(!1),l=T.useRef(!1),u=T.useCallback(f=>{a(f),f||Mn.getState().clear()},[]),d=T.useRef(!0);T.useEffect(()=>{d.current=!0;const f=()=>{d.current=!1};return window.addEventListener("beforeunload",f),()=>{d.current=!1,window.removeEventListener("beforeunload",f)}},[]),T.useEffect(()=>{const f=async()=>{try{d.current&&await Mn.getState().check()}catch(m){console.error("Health check error:",m)}};if(Mn.getState().setHealthCheckFunction(f),!t||n){Mn.getState().clearHealthCheckTimer();return}return l.current||(l.current=!0),Mn.getState().resetHealthCheckTimer(),()=>{Mn.getState().clearHealthCheckTimer()}},[t,n]),T.useEffect(()=>{(async()=>{if(s.current)return;if(s.current=!0,sessionStorage.getItem("VERSION_CHECKED_FROM_LOGIN")==="true"){o(!1);return}try{o(!0);const b=localStorage.getItem("LIGHTRAG-API-TOKEN"),y=await BY();if(!y.auth_configured&&y.access_token)Ti.getState().login(y.access_token,!0,y.core_version,y.api_version,y.webui_title||null,y.webui_description||null);else if(b&&(y.core_version||y.api_version||y.webui_title||y.webui_description)){const F=y.auth_mode==="disabled"||Ti.getState().isGuestMode;Ti.getState().login(b,F,y.core_version,y.api_version,y.webui_title||null,y.webui_description||null)}sessionStorage.setItem("VERSION_CHECKED_FROM_LOGIN","true")}catch(b){console.error("Failed to get version info:",b)}finally{o(!1)}})()},[]);const h=T.useCallback(f=>rt.getState().setCurrentTab(f),[]);return T.useEffect(()=>{e&&(e.includes(MY)||e.includes(IY))&&a(!0)},[e]),S.jsx(UY,{children:S.jsx(cbe,{children:i?S.jsxs("div",{className:"flex h-screen w-screen flex-col",children:[S.jsxs("header",{className:"border-border/40 bg-background/95 supports-[backdrop-filter]:bg-background/60 sticky top-0 z-50 flex h-10 w-full border-b px-4 backdrop-blur",children:[S.jsx("div",{className:"min-w-[200px] w-auto flex items-center",children:S.jsxs("a",{href:RY,className:"flex items-center gap-2",children:[S.jsx(WR,{className:"size-4 text-emerald-400","aria-hidden":"true"}),S.jsx("span",{className:"font-bold md:inline-block",children:C_.name})]})}),S.jsx("div",{className:"flex h-10 flex-1 items-center justify-center"}),S.jsx("nav",{className:"w-[200px] flex items-center justify-end"})]}),S.jsx("div",{className:"flex flex-1 items-center justify-center",children:S.jsxs("div",{className:"text-center",children:[S.jsx("div",{className:"mb-2 h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent mx-auto"}),S.jsx("p",{children:"Initializing..."})]})})]}):S.jsxs("main",{className:"flex h-screen w-screen overflow-hidden",children:[S.jsxs(vSe,{defaultValue:r,className:"!m-0 flex grow flex-col !p-0 overflow-hidden",onValueChange:h,children:[S.jsx(ESe,{}),S.jsxs("div",{className:"relative grow",children:[S.jsx(Jf,{value:"documents",className:"absolute top-0 right-0 bottom-0 left-0 overflow-auto",children:S.jsx(A5e,{})}),S.jsx(Jf,{value:"knowledge-graph",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:S.jsx(fRe,{})}),S.jsx(Jf,{value:"retrieval",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:S.jsx(Kst,{})}),S.jsx(Jf,{value:"api",className:"absolute top-0 right-0 bottom-0 left-0 overflow-hidden",children:S.jsx(Xst,{})})]})]}),t&&S.jsx(gEe,{}),S.jsx(P2e,{open:n,onOpenChange:u})]})})})}const Zst=()=>{const e=oR(),{login:t,isAuthenticated:r}=Ti(),{t:n}=Er(),[a,i]=T.useState(!1),[o,s]=T.useState(""),[l,u]=T.useState(""),[d,h]=T.useState(!0),f=T.useRef(!1);if(T.useEffect(()=>{console.log("LoginPage mounted")},[]),T.useEffect(()=>((async()=>{if(!f.current){f.current=!0;try{if(r){e("/");return}const y=await BY();if((y.core_version||y.api_version)&&sessionStorage.setItem("VERSION_CHECKED_FROM_LOGIN","true"),!y.auth_configured&&y.access_token){t(y.access_token,!0,y.core_version,y.api_version,y.webui_title||null,y.webui_description||null),y.message&&lr.info(y.message),e("/");return}h(!1)}catch(y){console.error("Failed to check auth configuration:",y),h(!1)}}})(),()=>{}),[r,t,e]),d)return null;const m=async b=>{if(b.preventDefault(),!o||!l){lr.error(n("login.errorEmptyFields"));return}try{i(!0);const y=await A1e(o,l);localStorage.getItem("LIGHTRAG-PREVIOUS-USER")===o?console.log("Same user logging in, preserving chat history"):(console.log("Different user logging in, clearing chat history"),rt.getState().setRetrievalHistory([])),localStorage.setItem("LIGHTRAG-PREVIOUS-USER",o);const E=y.auth_mode==="disabled";t(y.access_token,E,y.core_version,y.api_version,y.webui_title||null,y.webui_description||null),(y.core_version||y.api_version)&&sessionStorage.setItem("VERSION_CHECKED_FROM_LOGIN","true"),E?lr.info(y.message||n("login.authDisabled","Authentication is disabled. Using guest access.")):lr.success(n("login.successMessage")),e("/")}catch(y){console.error("Login failed...",y),lr.error(n("login.errorInvalidCredentials")),Ti.getState().logout(),localStorage.removeItem("LIGHTRAG-API-TOKEN")}finally{i(!1)}};return S.jsxs("div",{className:"flex h-screen w-screen items-center justify-center bg-gradient-to-br from-emerald-50 to-teal-100 dark:from-gray-900 dark:to-gray-800",children:[S.jsx("div",{className:"absolute top-4 right-4 flex items-center gap-2",children:S.jsx(xZ,{className:"bg-white/30 dark:bg-gray-800/30 backdrop-blur-sm rounded-md"})}),S.jsxs(Nc,{className:"w-full max-w-[480px] shadow-lg mx-4",children:[S.jsx(Nm,{className:"flex items-center justify-center space-y-2 pb-8 pt-6",children:S.jsxs("div",{className:"flex flex-col items-center space-y-4",children:[S.jsxs("div",{className:"flex items-center gap-3",children:[S.jsx("img",{src:"logo.svg",alt:"LightRAG Logo",className:"h-12 w-12"}),S.jsx(WR,{className:"size-10 text-emerald-400","aria-hidden":"true"})]}),S.jsxs("div",{className:"text-center space-y-2",children:[S.jsx("h1",{className:"text-3xl font-bold tracking-tight",children:"LightRAG"}),S.jsx("p",{className:"text-muted-foreground text-sm",children:n("login.description")})]})]})}),S.jsx(Mm,{className:"px-8 pb-8",children:S.jsxs("form",{onSubmit:m,className:"space-y-6",children:[S.jsxs("div",{className:"flex items-center gap-4",children:[S.jsx("label",{htmlFor:"username-input",className:"text-sm font-medium w-16 shrink-0",children:n("login.username")}),S.jsx(ea,{id:"username-input",placeholder:n("login.usernamePlaceholder"),value:o,onChange:b=>s(b.target.value),required:!0,className:"h-11 flex-1"})]}),S.jsxs("div",{className:"flex items-center gap-4",children:[S.jsx("label",{htmlFor:"password-input",className:"text-sm font-medium w-16 shrink-0",children:n("login.password")}),S.jsx(ea,{id:"password-input",type:"password",placeholder:n("login.passwordPlaceholder"),value:l,onChange:b=>u(b.target.value),required:!0,className:"h-11 flex-1"})]}),S.jsx(Ot,{type:"submit",className:"w-full h-11 text-base font-medium mt-2",disabled:a,children:n(a?"login.loggingIn":"login.loginButton")})]})})]})]})},Qst=()=>{const[e,t]=T.useState(!0),{isAuthenticated:r}=Ti(),n=oR();return T.useEffect(()=>{wv.setNavigate(n)},[n]),T.useEffect(()=>((async()=>{try{const i=localStorage.getItem("LIGHTRAG-API-TOKEN");if(i&&r){t(!1);return}i||Ti.getState().logout()}catch(i){console.error("Auth initialization error:",i),r||Ti.getState().logout()}finally{t(!1)}})(),()=>{}),[r]),T.useEffect(()=>{!e&&!r&&window.location.hash.slice(1)!=="/login"&&(console.log("Not authenticated, redirecting to login"),n("/login"))},[e,r,n]),e?null:S.jsxs(Zfe,{children:[S.jsx(h_,{path:"/login",element:S.jsx(Zst,{})}),S.jsx(h_,{path:"/*",element:r?S.jsx(Jst,{}):null})]})},elt=()=>S.jsx(UY,{children:S.jsxs(Eme,{children:[S.jsx(Qst,{}),S.jsx(sbe,{position:"bottom-center",theme:"system",closeButton:!0,richColors:!0})]})}),ir=e=>typeof e=="string",Kf=()=>{let e,t;const r=new Promise((n,a)=>{e=n,t=a});return r.resolve=e,r.reject=t,r},mV=e=>e==null?"":""+e,tlt=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},rlt=/###/g,gV=e=>e&&e.indexOf("###")>-1?e.replace(rlt,"."):e,bV=e=>!e||ir(e),wm=(e,t,r)=>{const n=ir(t)?t.split("."):t;let a=0;for(;a<n.length-1;){if(bV(e))return{};const i=gV(n[a]);!e[i]&&r&&(e[i]=new r),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++a}return bV(e)?{}:{obj:e,k:gV(n[a])}},yV=(e,t,r)=>{const{obj:n,k:a}=wm(e,t,Object);if(n!==void 0||t.length===1){n[a]=r;return}let i=t[t.length-1],o=t.slice(0,t.length-1),s=wm(e,o,Object);for(;s.obj===void 0&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),s=wm(e,o,Object),s!=null&&s.obj&&typeof s.obj[`${s.k}.${i}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=r},nlt=(e,t,r,n)=>{const{obj:a,k:i}=wm(e,t,Object);a[i]=a[i]||[],a[i].push(r)},rv=(e,t)=>{const{obj:r,k:n}=wm(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},alt=(e,t,r)=>{const n=rv(e,r);return n!==void 0?n:rv(t,r)},Wue=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?ir(e[n])||e[n]instanceof String||ir(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):Wue(e[n],t[n],r):e[n]=t[n]);return e},Vd=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ilt={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const olt=e=>ir(e)?e.replace(/[&<>"'\/]/g,t=>ilt[t]):e;class slt{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const llt=[" ",",","?","!",";"],ult=new slt(20),clt=(e,t,r)=>{t=t||"",r=r||"";const n=llt.filter(o=>t.indexOf(o)<0&&r.indexOf(o)<0);if(n.length===0)return!0;const a=ult.getRegExp(`(${n.map(o=>o==="?"?"\\?":o).join("|")})`);let i=!a.test(e);if(!i){const o=e.indexOf(r);o>0&&!a.test(e.substring(0,o))&&(i=!0)}return i},P6=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let a=e;for(let i=0;i<n.length;){if(!a||typeof a!="object")return;let o,s="";for(let l=i;l<n.length;++l)if(l!==i&&(s+=r),s+=n[l],o=a[s],o!==void 0){if(["string","number","boolean"].indexOf(typeof o)>-1&&l<n.length-1)continue;i+=l-i+1;break}a=o}return a},nv=e=>e==null?void 0:e.replace("_","-"),dlt={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var r,n;(n=(r=console==null?void 0:console[e])==null?void 0:r.apply)==null||n.call(r,console,t)}};class av{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||dlt,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,a){return a&&!this.debug?null:(ir(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new av(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new av(this.logger,t)}}var rs=new av;class W2{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const a=this.observers[n].get(r)||0;this.observers[n].set(r,a+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(o=>{let[s,l]=o;for(let u=0;u<l;u++)s(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(o=>{let[s,l]=o;for(let u=0;u<l;u++)s.apply(s,[t,...n])})}}class vV extends W2{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){var u,d;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,o=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,r],n&&(Array.isArray(n)?s.push(...n):ir(n)&&i?s.push(...n.split(i)):s.push(n)));const l=rv(this.data,s);return!l&&!r&&!n&&t.indexOf(".")>-1&&(t=s[0],r=s[1],n=s.slice(2).join(".")),l||!o||!ir(n)?l:P6((d=(u=this.data)==null?void 0:u[t])==null?void 0:d[r],n,i)}addResource(t,r,n,a){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let s=[t,r];n&&(s=s.concat(o?n.split(o):n)),t.indexOf(".")>-1&&(s=t.split("."),a=r,r=s[1]),this.addNamespaces(r),yV(this.data,s,a),i.silent||this.emit("added",t,r,n,a)}addResources(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in n)(ir(n[i])||Array.isArray(n[i]))&&this.addResource(t,r,i,n[i],{silent:!0});a.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,a,i){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,r];t.indexOf(".")>-1&&(s=t.split("."),a=n,n=r,r=s[1]),this.addNamespaces(r);let l=rv(this.data,s)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),a?Wue(l,n,i):l={...l,...n},yV(this.data,s,l),o.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(a=>r[a]&&Object.keys(r[a]).length>0)}toJSON(){return this.data}}var Vue={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,a){return e.forEach(i=>{var o;t=((o=this.processors[i])==null?void 0:o.process(t,r,n,a))??t}),t}};const FV={},EV=e=>!ir(e)&&typeof e!="boolean"&&typeof e!="number";class iv extends W2{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),tlt(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=rs.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const n=this.resolve(t,r);return(n==null?void 0:n.res)!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let i=r.ns||this.options.defaultNS||[];const o=n&&t.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!clt(t,n,a);if(o&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:ir(i)?[i]:i};const u=t.split(n);(n!==a||n===a&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(a)}return{key:t,namespaces:ir(i)?[i]:i}}translate(t,r,n){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],r),l=s[s.length-1],u=r.lng||this.language,d=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(d){const U=r.nsSeparator||this.options.nsSeparator;return a?{res:`${l}${U}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${U}${o}`}return a?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:o}const h=this.resolve(t,r);let f=h==null?void 0:h.res;const m=(h==null?void 0:h.usedKey)||o,b=(h==null?void 0:h.exactUsedKey)||o,y=["[object Number]","[object Function]","[object RegExp]"],F=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,E=r.count!==void 0&&!ir(r.count),C=iv.hasDefaultValue(r),_=E?this.pluralResolver.getSuffix(u,r.count,r):"",D=r.ordinal&&E?this.pluralResolver.getSuffix(u,r.count,{ordinal:!1}):"",w=E&&!r.ordinal&&r.count===0,A=w&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${_}`]||r[`defaultValue${D}`]||r.defaultValue;let I=f;x&&!f&&C&&(I=A);const M=EV(I),L=Object.prototype.toString.apply(I);if(x&&I&&M&&y.indexOf(L)<0&&!(ir(F)&&Array.isArray(I))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,I,{...r,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return a?(h.res=U,h.usedParams=this.getUsedParamsDetails(r),h):U}if(i){const U=Array.isArray(I),j=U?[]:{},z=U?b:m;for(const V in I)if(Object.prototype.hasOwnProperty.call(I,V)){const X=`${z}${i}${V}`;C&&!f?j[V]=this.translate(X,{...r,defaultValue:EV(A)?A[V]:void 0,joinArrays:!1,ns:s}):j[V]=this.translate(X,{...r,joinArrays:!1,ns:s}),j[V]===X&&(j[V]=I[V])}f=j}}else if(x&&ir(F)&&Array.isArray(f))f=f.join(F),f&&(f=this.extendTranslation(f,t,r,n));else{let U=!1,j=!1;!this.isValidLookup(f)&&C&&(U=!0,f=A),this.isValidLookup(f)||(j=!0,f=o);const V=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&j?void 0:f,X=C&&A!==f&&this.options.updateMissing;if(j||U||X){if(this.logger.log(X?"updateKey":"missingKey",u,l,o,X?A:f),i){const te=this.resolve(o,{...r,keySeparator:!1});te&&te.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let q=[];const W=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&W&&W[0])for(let te=0;te<W.length;te++)q.push(W[te]);else this.options.saveMissingTo==="all"?q=this.languageUtils.toResolveHierarchy(r.lng||this.language):q.push(r.lng||this.language);const B=(te,P,Z)=>{var G;const K=C&&Z!==f?Z:V;this.options.missingKeyHandler?this.options.missingKeyHandler(te,l,P,K,X,r):(G=this.backendConnector)!=null&&G.saveMissing&&this.backendConnector.saveMissing(te,l,P,K,X,r),this.emit("missingKey",te,l,P,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?q.forEach(te=>{const P=this.pluralResolver.getSuffixes(te,r);w&&r[`defaultValue${this.options.pluralSeparator}zero`]&&P.indexOf(`${this.options.pluralSeparator}zero`)<0&&P.push(`${this.options.pluralSeparator}zero`),P.forEach(Z=>{B([te],o+Z,r[`defaultValue${Z}`]||A)})}):B(q,o,A))}f=this.extendTranslation(f,t,r,h,n),j&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${o}`),(j||U)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,U?f:void 0))}return a?(h.res=f,h.usedParams=this.getUsedParamsDetails(r),h):f}extendTranslation(t,r,n,a,i){var u,d;var o=this;if((u=this.i18nFormat)!=null&&u.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const h=ir(t)&&(((d=n==null?void 0:n.interpolation)==null?void 0:d.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(h){const b=t.match(this.interpolator.nestingRegexp);f=b&&b.length}let m=n.replace&&!ir(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,n.lng||this.language||a.usedLng,n),h){const b=t.match(this.interpolator.nestingRegexp),y=b&&b.length;f<y&&(n.nest=!1)}!n.lng&&a&&a.res&&(n.lng=this.language||a.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var b=arguments.length,y=new Array(b),F=0;F<b;F++)y[F]=arguments[F];return(i==null?void 0:i[0])===y[0]&&!n.context?(o.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${r[0]}`),null):o.translate(...y,r)},n)),n.interpolation&&this.interpolator.reset()}const s=n.postProcess||this.options.postProcess,l=ir(s)?[s]:s;return t!=null&&(l!=null&&l.length)&&n.applyPostProcessor!==!1&&(t=Vue.handle(l,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,a,i,o,s;return ir(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(n))return;const u=this.extractFromKey(l,r),d=u.key;a=d;let h=u.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const f=r.count!==void 0&&!ir(r.count),m=f&&!r.ordinal&&r.count===0,b=r.context!==void 0&&(ir(r.context)||typeof r.context=="number")&&r.context!=="",y=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);h.forEach(F=>{var x,E;this.isValidLookup(n)||(s=F,!FV[`${y[0]}-${F}`]&&((x=this.utils)!=null&&x.hasLoadedNamespace)&&!((E=this.utils)!=null&&E.hasLoadedNamespace(s))&&(FV[`${y[0]}-${F}`]=!0,this.logger.warn(`key "${a}" for languages "${y.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(C=>{var w;if(this.isValidLookup(n))return;o=C;const _=[d];if((w=this.i18nFormat)!=null&&w.addLookupKeys)this.i18nFormat.addLookupKeys(_,d,C,F,r);else{let A;f&&(A=this.pluralResolver.getSuffix(C,r.count,r));const I=`${this.options.pluralSeparator}zero`,M=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(_.push(d+A),r.ordinal&&A.indexOf(M)===0&&_.push(d+A.replace(M,this.options.pluralSeparator)),m&&_.push(d+I)),b){const L=`${d}${this.options.contextSeparator}${r.context}`;_.push(L),f&&(_.push(L+A),r.ordinal&&A.indexOf(M)===0&&_.push(L+A.replace(M,this.options.pluralSeparator)),m&&_.push(L+I))}}let D;for(;D=_.pop();)this.isValidLookup(n)||(i=D,n=this.getResource(C,F,D,r))}))})}),{res:n,usedKey:a,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n){var i;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(i=this.i18nFormat)!=null&&i.getResource?this.i18nFormat.getResource(t,r,n,a):this.resourceStore.getResource(t,r,n,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!ir(t.replace);let a=n?t.replace:t;if(n&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!n){a={...a};for(const i of r)delete a[i]}return a}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class SV{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rs.create("languageUtils")}getScriptPartFromCode(t){if(t=nv(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=nv(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(ir(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const a=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(a))&&(r=a)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const a=this.getLanguagePartFromCode(n);if(this.isSupportedCode(a))return r=a;r=this.options.supportedLngs.find(i=>{if(i===a)return i;if(!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),ir(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),a=[],i=o=>{o&&(this.isSupportedCode(o)?a.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return ir(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):ir(t)&&i(this.formatLanguageCode(t)),n.forEach(o=>{a.indexOf(o)<0&&i(this.formatLanguageCode(o))}),a}}const xV={zero:0,one:1,two:2,few:3,many:4,other:5},wV={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class hlt{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=rs.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=nv(t==="dev"?"en":t),a=r.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(n,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),wV;if(!t.match(/-|_/))return wV;const l=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(l,r)}return this.pluralRulesCache[i]=o,o}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(a=>`${r}${a}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((a,i)=>xV[a]-xV[i]).map(a=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,n);return a?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const kV=function(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=alt(e,t,r);return!i&&a&&ir(r)&&(i=P6(e,r,n),i===void 0&&(i=P6(t,r,n))),i},e_=e=>e.replace(/\$/g,"$$$$");class plt{constructor(){var r;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=rs.create("interpolator"),this.options=t,this.format=((r=t==null?void 0:t.interpolation)==null?void 0:r.format)||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:a,prefix:i,prefixEscaped:o,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:d,unescapePrefix:h,nestingPrefix:f,nestingPrefixEscaped:m,nestingSuffix:b,nestingSuffixEscaped:y,nestingOptionsSeparator:F,maxReplaces:x,alwaysFormat:E}=t.interpolation;this.escape=r!==void 0?r:olt,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=i?Vd(i):o||"{{",this.suffix=s?Vd(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=f?Vd(f):m||Vd("$t("),this.nestingSuffix=b?Vd(b):y||Vd(")"),this.nestingOptionsSeparator=F||",",this.maxReplaces=x||1e3,this.alwaysFormat=E!==void 0?E:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>(r==null?void 0:r.source)===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,a){var m;let i,o,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=b=>{if(b.indexOf(this.formatSeparator)<0){const E=kV(r,l,b,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,n,{...a,...r,interpolationkey:b}):E}const y=b.split(this.formatSeparator),F=y.shift().trim(),x=y.join(this.formatSeparator).trim();return this.format(kV(r,l,F,this.options.keySeparator,this.options.ignoreJSONStructure),x,n,{...a,...r,interpolationkey:F})};this.resetRegExp();const d=(a==null?void 0:a.missingInterpolationHandler)||this.options.missingInterpolationHandler,h=((m=a==null?void 0:a.interpolation)==null?void 0:m.skipOnVariables)!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:b=>e_(b)},{regex:this.regexp,safeValue:b=>this.escapeValue?e_(this.escape(b)):e_(b)}].forEach(b=>{for(s=0;i=b.regex.exec(t);){const y=i[1].trim();if(o=u(y),o===void 0)if(typeof d=="function"){const x=d(t,i,a);o=ir(x)?x:""}else if(a&&Object.prototype.hasOwnProperty.call(a,y))o="";else if(h){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),o="";else!ir(o)&&!this.useRawValueToEscape&&(o=mV(o));const F=b.safeValue(o);if(t=t.replace(i[0],F),h?(b.regex.lastIndex+=o.length,b.regex.lastIndex-=i[0].length):b.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,i,o;const s=(l,u)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const h=l.split(new RegExp(`${d}[ ]*{`));let f=`{${h[1]}`;l=h[0],f=this.interpolate(f,o);const m=f.match(/'/g),b=f.match(/"/g);(((m==null?void 0:m.length)??0)%2===0&&!b||b.length%2!==0)&&(f=f.replace(/'/g,'"'));try{o=JSON.parse(f),u&&(o={...u,...o})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,y),`${l}${d}${f}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,l};for(;a=this.nestingRegexp.exec(t);){let l=[];o={...n},o=o.replace&&!ir(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(h=>h.trim());a[1]=d.shift(),l=d,u=!0}if(i=r(s.call(this,a[1].trim(),o),o),i&&a[0]===t&&!ir(i))return i;ir(i)||(i=mV(i)),i||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),i=""),u&&(i=l.reduce((d,h)=>this.format(d,h,n.lng,{...n,interpolationkey:a[1].trim()}),i.trim())),t=t.replace(a[0],i),this.regexp.lastIndex=0}return t}}const flt=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const a=n[1].substring(0,n[1].length-1);t==="currency"&&a.indexOf(":")<0?r.currency||(r.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?r.range||(r.range=a.trim()):a.split(";").forEach(o=>{if(o){const[s,...l]=o.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();r[d]||(r[d]=u),u==="false"&&(r[d]=!1),u==="true"&&(r[d]=!0),isNaN(u)||(r[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:r}},Kd=e=>{const t={};return(r,n,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const o=n+JSON.stringify(i);let s=t[o];return s||(s=e(nv(n),a),t[o]=s),s(r)}};class mlt{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=rs.create("formatter"),this.options=t,this.formats={number:Kd((r,n)=>{const a=new Intl.NumberFormat(r,{...n});return i=>a.format(i)}),currency:Kd((r,n)=>{const a=new Intl.NumberFormat(r,{...n,style:"currency"});return i=>a.format(i)}),datetime:Kd((r,n)=>{const a=new Intl.DateTimeFormat(r,{...n});return i=>a.format(i)}),relativetime:Kd((r,n)=>{const a=new Intl.RelativeTimeFormat(r,{...n});return i=>a.format(i,n.range||"day")}),list:Kd((r,n)=>{const a=new Intl.ListFormat(r,{...n});return i=>a.format(i)})},this.init(t)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=r.interpolation.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Kd(r)}format(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=r.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(s=>s.indexOf(")")>-1)){const s=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,s)].join(this.formatSeparator)}return i.reduce((s,l)=>{var h;const{formatName:u,formatOptions:d}=flt(l);if(this.formats[u]){let f=s;try{const m=((h=a==null?void 0:a.formatParams)==null?void 0:h[a.interpolationkey])||{},b=m.locale||m.lng||a.locale||a.lng||n;f=this.formats[u](s,b,{...d,...a,...m})}catch(m){this.logger.warn(m)}return f}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const glt=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class blt extends W2{constructor(t,r,n){var i,o;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=a,this.logger=rs.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],(o=(i=this.backend)==null?void 0:i.init)==null||o.call(i,n,a.backend,a)}queueLoad(t,r,n,a){const i={},o={},s={},l={};return t.forEach(u=>{let d=!0;r.forEach(h=>{const f=`${u}|${h}`;!n.reload&&this.store.hasResourceBundle(u,h)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?o[f]===void 0&&(o[f]=!0):(this.state[f]=1,d=!1,o[f]===void 0&&(o[f]=!0),i[f]===void 0&&(i[f]=!0),l[h]===void 0&&(l[h]=!0)))}),d||(s[u]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,r,n){const a=t.split("|"),i=a[0],o=a[1];r&&this.emit("failedLoading",i,o,r),!r&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const s={};this.queue.forEach(l=>{nlt(l.loaded,[i],o),glt(l,t),r&&l.errors.push(r),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{s[u]||(s[u]={});const d=l.loaded[u];d.length&&d.forEach(h=>{s[u][h]===void 0&&(s[u][h]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:a,wait:i,callback:o});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(u&&d&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,a+1,i*2,o)},i);return}o(u,d)},l=this.backend[n].bind(this.backend);if(l.length===2){try{const u=l(t,r);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return l(t,r,s)}prepareLoading(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();ir(t)&&(t=this.languageUtils.toResolveHierarchy(t)),ir(r)&&(r=[r]);const i=this.queueLoad(t,r,n,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(o=>{this.loadOne(o)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),a=n[0],i=n[1];this.read(a,i,"read",void 0,void 0,(o,s)=>{o&&this.logger.warn(`${r}loading namespace ${i} for language ${a} failed`,o),!o&&s&&this.logger.log(`${r}loaded namespace ${i} for language ${a}`,s),this.loaded(t,o,s)})}saveMissing(t,r,n,a,i){var l,u,d,h,f;let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(l=this.services)==null?void 0:l.utils)!=null&&u.hasLoadedNamespace&&!((h=(d=this.services)==null?void 0:d.utils)!=null&&h.hasLoadedNamespace(r))){this.logger.warn(`did not save key "${n}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((f=this.backend)!=null&&f.create){const m={...o,isUpdate:i},b=this.backend.create.bind(this.backend);if(b.length<6)try{let y;b.length===5?y=b(t,r,n,a,m):y=b(t,r,n,a),y&&typeof y.then=="function"?y.then(F=>s(null,F)).catch(s):s(null,y)}catch(y){s(y)}else b(t,r,n,a,s,m)}!t||!t[0]||this.store.addResource(t[0],r,n,a)}}}const CV=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),ir(e[1])&&(t.defaultValue=e[1]),ir(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),TV=e=>{var t,r;return ir(e.ns)&&(e.ns=[e.ns]),ir(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),ir(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((r=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:r.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},Q1=()=>{},ylt=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class Qm extends W2{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=TV(t),this.services={},this.logger=rs,this.modules={external:[]},ylt(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(n=r,r={}),r.defaultNS==null&&r.ns&&(ir(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const a=CV();this.options={...a,...this.options,...TV(r)},this.options.interpolation={...a.interpolation,...this.options.interpolation},r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?rs.init(i(this.modules.logger),this.options):rs.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=mlt;const h=new SV(this.options);this.store=new vV(this.options.resources,this.options);const f=this.services;f.logger=rs,f.resourceStore=this.store,f.languageUtils=h,f.pluralResolver=new hlt(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(f.formatter=i(d),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new plt(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new blt(i(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(m){for(var b=arguments.length,y=new Array(b>1?b-1:0),F=1;F<b;F++)y[F-1]=arguments[F];t.emit(m,...y)}),this.modules.languageDetector&&(f.languageDetector=i(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=i(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new iv(this.services,this.options),this.translator.on("*",function(m){for(var b=arguments.length,y=new Array(b>1?b-1:0),F=1;F<b;F++)y[F-1]=arguments[F];t.emit(m,...y)}),this.modules.external.forEach(m=>{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Q1),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const l=Kf(),u=()=>{const d=(h,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),n(h,f)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),l}loadResources(t){var i,o;let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q1;const a=ir(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if((a==null?void 0:a.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const s=[],l=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(h=>{h!=="cimode"&&s.indexOf(h)<0&&s.push(h)})};a?l(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>l(d)),(o=(i=this.options.preload)==null?void 0:i.forEach)==null||o.call(i,u=>l(u)),this.services.backendConnector.load(s,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(u)})}else n(null)}reloadResources(t,r,n){const a=Kf();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=Q1),this.services.backendConnector.reload(t,r,i=>{a.resolve(),n(i)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Vue.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;const a=Kf();this.emit("languageChanging",t);const i=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},o=(l,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,a.resolve(function(){return n.t(...arguments)}),r&&r(l,function(){return n.t(...arguments)})},s=l=>{var d,h;!t&&!l&&this.services.languageDetector&&(l=[]);const u=ir(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),(h=(d=this.services.languageDetector)==null?void 0:d.cacheUserLanguage)==null||h.call(d,u)),this.loadResources(u,f=>{o(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),a}getFixedT(t,r,n){var a=this;const i=function(o,s){let l;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),h=2;h<u;h++)d[h-2]=arguments[h];l=a.options.overloadTranslationOptionHandler([o,s].concat(d))}else l={...s};l.lng=l.lng||i.lng,l.lngs=l.lngs||i.lngs,l.ns=l.ns||i.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||n||i.keyPrefix);const f=a.options.keySeparator||".";let m;return l.keyPrefix&&Array.isArray(o)?m=o.map(b=>`${l.keyPrefix}${f}${b}`):m=l.keyPrefix?`${l.keyPrefix}${f}${o}`:o,a.t(m,l)};return ir(t)?i.lng=t:i.lngs=t,i.ns=r,i.keyPrefix=n,i}t(){var a;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(a=this.translator)==null?void 0:a.translate(...r)}exists(){var a;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(a=this.translator)==null?void 0:a.exists(...r)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const o=(s,l)=>{const u=this.services.backendConnector.state[`${s}|${l}`];return u===-1||u===0||u===2};if(r.precheck){const s=r.precheck(this,o);if(s!==void 0)return s}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(n,t)&&(!a||o(i,t)))}loadNamespaces(t,r){const n=Kf();return this.options.ns?(ir(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{n.resolve(),r&&r(a)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=Kf();ir(t)&&(t=[t]);const a=this.options.preload||[],i=t.filter(o=>a.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return i.length?(this.options.preload=a.concat(i),this.loadResources(o=>{n.resolve(),r&&r(o)}),n):(r&&r(),Promise.resolve())}dir(t){var a,i;if(t||(t=this.resolvedLanguage||(((a=this.languages)==null?void 0:a.length)>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((i=this.services)==null?void 0:i.languageUtils)||new SV(CV());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Qm(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q1;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},i=new Qm(a);if((t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(s=>{i[s]=this[s]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const s=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},Object.keys(l[u]).reduce((d,h)=>(d[h]={...l[u][h]},d),{})),{});i.store=new vV(s,a),i.services.resourceStore=i.store}return i.translator=new iv(i.services,a),i.translator.on("*",function(s){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];i.emit(s,...u)}),i.init(a,r),i.translator.options=a,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Kn=Qm.createInstance();Kn.createInstance=Qm.createInstance;Kn.createInstance;Kn.dir;Kn.init;Kn.loadResources;Kn.reloadResources;Kn.use;Kn.changeLanguage;Kn.getFixedT;Kn.t;Kn.exists;Kn.setDefaultNamespace;Kn.hasLoadedNamespace;Kn.loadNamespaces;Kn.loadLanguages;const vlt=Object.freeze(Object.defineProperty({__proto__:null,default:Kn},Symbol.toStringTag,{value:"Module"})),Flt={language:"Language",theme:"Theme",light:"Light",dark:"Dark",system:"System"},Elt={documents:"Documents",knowledgeGraph:"Knowledge Graph",retrieval:"Retrieval",api:"API",projectRepository:"Project Repository",logout:"Logout",themeToggle:{switchToLight:"Switch to light theme",switchToDark:"Switch to dark theme"}},Slt={description:"Please enter your account and password to log in to the system",username:"Username",usernamePlaceholder:"Please input a username",password:"Password",passwordPlaceholder:"Please input a password",loginButton:"Login",loggingIn:"Logging in...",successMessage:"Login succeeded",errorEmptyFields:"Please enter your username and password",errorInvalidCredentials:"Login failed, please check username and password",authDisabled:"Authentication is disabled. Using login free mode.",guestMode:"Login Free"},xlt={cancel:"Cancel",save:"Save",saving:"Saving...",saveFailed:"Save failed"},wlt={clearDocuments:{button:"Clear",tooltip:"Clear documents",title:"Clear Documents",description:"This will remove all documents from the system",warning:"WARNING: This action will permanently delete all documents and cannot be undone!",confirm:"Do you really want to clear all documents?",confirmPrompt:"Type 'yes' to confirm this action",confirmPlaceholder:"Type yes to confirm",clearCache:"Clear LLM cache",confirmButton:"YES",clearing:"Clearing...",timeout:"Clear operation timed out, please try again",success:"Documents cleared successfully",cacheCleared:"Cache cleared successfully",cacheClearFailed:`Failed to clear cache:
|
||
{{error}}`,failed:`Clear Documents Failed:
|
||
{{message}}`,error:`Clear Documents Failed:
|
||
{{error}}`},deleteDocuments:{button:"Delete",tooltip:"Delete selected documents",title:"Delete Documents",description:"This will permanently delete the selected documents from the system",warning:"WARNING: This action will permanently delete the selected documents and cannot be undone!",confirm:"Do you really want to delete {{count}} selected document(s)?",confirmPrompt:"Type 'yes' to confirm this action",confirmPlaceholder:"Type yes to confirm",confirmButton:"YES",deleteFileOption:"Also delete uploaded files",deleteFileTooltip:"Check this option to also delete the corresponding uploaded files on the server",success:"Document deletion pipeline started successfully",failed:`Delete Documents Failed:
|
||
{{message}}`,error:`Delete Documents Failed:
|
||
{{error}}`,busy:"Pipeline is busy, please try again later",notAllowed:"No permission to perform this operation"},selectDocuments:{selectCurrentPage:"Select Current Page ({{count}})",deselectAll:"Deselect All ({{count}})"},uploadDocuments:{button:"Upload",tooltip:"Upload documents",title:"Upload Documents",description:"Drag and drop your documents here or click to browse.",single:{uploading:"Uploading {{name}}: {{percent}}%",success:`Upload Success:
|
||
{{name}} uploaded successfully`,failed:`Upload Failed:
|
||
{{name}}
|
||
{{message}}`,error:`Upload Failed:
|
||
{{name}}
|
||
{{error}}`},batch:{uploading:"Uploading files...",success:"Files uploaded successfully",error:"Some files failed to upload"},generalError:`Upload Failed
|
||
{{error}}`,fileTypes:"Supported types: TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"Cannot upload more than 1 file at a time",maxFilesLimit:"Cannot upload more than {{count}} files",fileRejected:"File {{name}} was rejected",unsupportedType:"Unsupported file type",fileTooLarge:"File too large, maximum size is {{maxSize}}",dropHere:"Drop the files here",dragAndDrop:"Drag and drop files here, or click to select files",removeFile:"Remove file",uploadDescription:"You can upload {{isMultiple ? 'multiple' : count}} files (up to {{maxSize}} each)",duplicateFile:"File name already exists in server cache"}},documentManager:{title:"Document Management",scanButton:"Scan",scanTooltip:"Scan and process documents in input folder, and also reprocess all failed documents",retryFailedButton:"Retry",retryFailedTooltip:"Retry processing all failed documents",refreshTooltip:"Reset document list",pipelineStatusButton:"Pipeline",pipelineStatusTooltip:"View document processing pipeline status",uploadedTitle:"Uploaded Documents",uploadedDescription:"List of uploaded documents and their statuses.",emptyTitle:"No Documents",emptyDescription:"There are no uploaded documents yet.",columns:{id:"ID",fileName:"File Name",summary:"Summary",status:"Status",length:"Length",chunks:"Chunks",created:"Created",updated:"Updated",metadata:"Metadata",select:"Select"},status:{all:"All",completed:"Completed",processing:"Processing",pending:"Pending",failed:"Failed"},errors:{loadFailed:`Failed to load documents
|
||
{{error}}`,scanFailed:`Failed to scan documents
|
||
{{error}}`,scanProgressFailed:`Failed to get scan progress
|
||
{{error}}`},fileNameLabel:"File Name",showButton:"Show",hideButton:"Hide",showFileNameTooltip:"Show file name",hideFileNameTooltip:"Hide file name"},pipelineStatus:{title:"Pipeline Status",busy:"Pipeline Busy",requestPending:"Request Pending",jobName:"Job Name",startTime:"Start Time",progress:"Progress",unit:"batch",latestMessage:"Latest Message",historyMessages:"History Messages",errors:{fetchFailed:`Failed to get pipeline status
|
||
{{error}}`}}},klt={dataIsTruncated:"Graph data is truncated to Max Nodes",statusDialog:{title:"LightRAG Server Settings",description:"View current system status and connection information"},legend:"Legend",nodeTypes:{person:"Person",category:"Category",geo:"Geographic",location:"Location",organization:"Organization",event:"Event",equipment:"Equipment",weapon:"Weapon",animal:"Animal",unknown:"Unknown",object:"Object",group:"Group",technology:"Technology",product:"Product",document:"Document",content:"Content",data:"Data",artifact:"Artifact",concept:"Concept",naturalobject:"Natural Object",method:"Method",creature:"Creature",plant:"Plant",disease:"Disease",drug:"Drug",food:"Food",other:"Other"},sideBar:{settings:{settings:"Settings",healthCheck:"Health Check",showPropertyPanel:"Show Property Panel",showSearchBar:"Show Search Bar",showNodeLabel:"Show Node Label",nodeDraggable:"Node Draggable",showEdgeLabel:"Show Edge Label",hideUnselectedEdges:"Hide Unselected Edges",edgeEvents:"Edge Events",maxQueryDepth:"Max Query Depth",maxNodes:"Max Nodes",maxLayoutIterations:"Max Layout Iterations",resetToDefault:"Reset to default",edgeSizeRange:"Edge Size Range",depth:"D",max:"Max",degree:"Degree",apiKey:"API Key",enterYourAPIkey:"Enter your API key",save:"Save",refreshLayout:"Refresh Layout"},zoomControl:{zoomIn:"Zoom In",zoomOut:"Zoom Out",resetZoom:"Reset Zoom",rotateCamera:"Clockwise Rotate",rotateCameraCounterClockwise:"Counter-Clockwise Rotate"},layoutsControl:{startAnimation:"Continue layout animation",stopAnimation:"Stop layout animation",layoutGraph:"Layout Graph",layouts:{Circular:"Circular",Circlepack:"Circlepack",Random:"Random",Noverlaps:"Noverlaps","Force Directed":"Force Directed","Force Atlas":"Force Atlas"}},fullScreenControl:{fullScreen:"Full Screen",windowed:"Windowed"},legendControl:{toggleLegend:"Toggle Legend"}},statusIndicator:{connected:"Connected",disconnected:"Disconnected"},statusCard:{unavailable:"Status information unavailable",serverInfo:"Server Info",workingDirectory:"Working Directory",inputDirectory:"Input Directory",maxParallelInsert:"Concurrent Doc Processing",summarySettings:"Summary Settings",llmConfig:"LLM Configuration",llmBinding:"LLM Binding",llmBindingHost:"LLM Endpoint",llmModel:"LLM Model",embeddingConfig:"Embedding Configuration",embeddingBinding:"Embedding Binding",embeddingBindingHost:"Embedding Endpoint",embeddingModel:"Embedding Model",storageConfig:"Storage Configuration",kvStorage:"KV Storage",docStatusStorage:"Doc Status Storage",graphStorage:"Graph Storage",vectorStorage:"Vector Storage",workspace:"Workspace",maxGraphNodes:"Max Graph Nodes",rerankerConfig:"Reranker Configuration",rerankerBindingHost:"Reranker Endpoint",rerankerModel:"Reranker Model",lockStatus:"Lock Status",threshold:"Threshold"},propertiesView:{editProperty:"Edit {{property}}",editPropertyDescription:"Edit the property value in the text area below.",errors:{duplicateName:"Node name already exists",updateFailed:"Failed to update node",tryAgainLater:"Please try again later"},success:{entityUpdated:"Node updated successfully",relationUpdated:"Relation updated successfully"},node:{title:"Node",id:"ID",labels:"Labels",degree:"Degree",properties:"Properties",relationships:"Relations(within subgraph)",expandNode:"Expand Node",pruneNode:"Prune Node",deleteAllNodesError:"Refuse to delete all nodes in the graph",nodesRemoved:"{{count}} nodes removed, including orphan nodes",noNewNodes:"No expandable nodes found",propertyNames:{description:"Description",entity_id:"Name",entity_type:"Type",source_id:"SrcID",Neighbour:"Neigh",file_path:"Source",keywords:"Keys",weight:"Weight"}},edge:{title:"Relationship",id:"ID",type:"Type",source:"Source",target:"Target",properties:"Properties"}},search:{placeholder:"Search nodes in page...",message:"And {{count}} others"},graphLabels:{selectTooltip:"Get subgraph of a node (label)",noLabels:"No matching nodes found",label:"Search node name",placeholder:"Search node name...",andOthers:"And {{count}} others",refreshGlobalTooltip:"Refresh global graph data and reset search history",refreshCurrentLabelTooltip:"Refresh current page graph data",refreshingTooltip:"Refreshing data..."},emptyGraph:"Empty(Try Reload Again)"},Clt={chatMessage:{copyTooltip:"Copy to clipboard",copyError:"Failed to copy text to clipboard",copyEmpty:"No content to copy",copySuccess:"Content copied to clipboard",copySuccessLegacy:"Content copied (legacy method)",copySuccessManual:"Content copied (manual method)",copyFailed:"Failed to copy content",copyManualInstruction:"Please select and copy the text manually",thinking:"Thinking...",thinkingTime:"Thinking time {{time}}s",thinkingInProgress:"Thinking in progress..."},retrieval:{startPrompt:"Start a retrieval by typing your query below",clear:"Clear",send:"Send",placeholder:"Enter your query (Support prefix: /<Query Mode>)",error:"Error: Failed to get response",queryModeError:"Only supports the following query modes: {{modes}}",queryModePrefixInvalid:"Invalid query mode prefix. Use: /<mode> [space] your query"},querySettings:{parametersTitle:"Parameters",parametersDescription:"Configure your query parameters",queryMode:"Query Mode",queryModeTooltip:`Select the retrieval strategy:
|
||
• Naive: Traditional text chunk vector retrieval
|
||
• Local: Focus on entity retrieval
|
||
• Global: Focus on relationship retrieval
|
||
• Hybrid: Local+Global
|
||
• Mix: Local+Global+Naive
|
||
• Bypass: Skip retrieval, send conversation history and current question to LLM`,queryModeOptions:{naive:"Naive",local:"Local",global:"Global",hybrid:"Hybrid",mix:"Mix",bypass:"Bypass"},responseFormat:"Response Format",responseFormatTooltip:`Defines the response format. Examples:
|
||
• Multiple Paragraphs
|
||
• Single Paragraph
|
||
• Bullet Points`,responseFormatOptions:{multipleParagraphs:"Multiple Paragraphs",singleParagraph:"Single Paragraph",bulletPoints:"Bullet Points"},topK:"KG Top K",topKTooltip:"Number of entities and relations to retrieve. Applicable for non-naive modes.",topKPlaceholder:"Enter top_k value",chunkTopK:"Chunk Top K",chunkTopKTooltip:"Number of text chunks to retrieve, applicable for all modes.",chunkTopKPlaceholder:"Enter chunk_top_k value",maxEntityTokens:"Max Entity Tokens",maxEntityTokensTooltip:"Maximum number of tokens allocated for entity context in unified token control system",maxRelationTokens:"Max Relation Tokens",maxRelationTokensTooltip:"Maximum number of tokens allocated for relationship context in unified token control system",maxTotalTokens:"Max Total Tokens",maxTotalTokensTooltip:"Maximum total tokens budget for the entire query context (entities + relations + chunks + system prompt)",historyTurns:"History Turns",historyTurnsTooltip:"Number of complete conversation turns (user-assistant pairs) to consider in the response context",historyTurnsPlaceholder:"Number of history turns",onlyNeedContext:"Only Need Context",onlyNeedContextTooltip:"If True, only returns the retrieved context without generating a response",onlyNeedPrompt:"Only Need Prompt",onlyNeedPromptTooltip:"If True, only returns the generated prompt without producing a response",streamResponse:"Stream Response",streamResponseTooltip:"If True, enables streaming output for real-time responses",userPrompt:"Additional Output Prompt",userPromptTooltip:"Provide additional response requirements to the LLM (unrelated to query content, only for output processing).",userPromptPlaceholder:"Enter custom prompt (optional)",enableRerank:"Enable Rerank",enableRerankTooltip:"Enable reranking for retrieved text chunks. If True but no rerank model is configured, a warning will be issued. Default is True."}},Tlt={loading:"Loading API Documentation..."},Alt={title:"API Key is required",description:"Please enter your API key to access the service",placeholder:"Enter your API key",save:"Save"},_lt={showing:"Showing {{start}} to {{end}} of {{total}} entries",page:"Page",pageSize:"Page Size",firstPage:"First Page",prevPage:"Previous Page",nextPage:"Next Page",lastPage:"Last Page"},Dlt={settings:Flt,header:Elt,login:Slt,common:xlt,documentPanel:wlt,graphPanel:klt,retrievePanel:Clt,apiSite:Tlt,apiKeyAlert:Alt,pagination:_lt},Rlt={language:"语言",theme:"主题",light:"浅色",dark:"深色",system:"系统"},Nlt={documents:"文档",knowledgeGraph:"知识图谱",retrieval:"检索",api:"API",projectRepository:"项目仓库",logout:"退出登录",themeToggle:{switchToLight:"切换到浅色主题",switchToDark:"切换到深色主题"}},Llt={description:"请输入您的账号和密码登录系统",username:"用户名",usernamePlaceholder:"请输入用户名",password:"密码",passwordPlaceholder:"请输入密码",loginButton:"登录",loggingIn:"登录中...",successMessage:"登录成功",errorEmptyFields:"请输入您的用户名和密码",errorInvalidCredentials:"登录失败,请检查用户名和密码",authDisabled:"认证已禁用,使用无需登陆模式。",guestMode:"无需登陆"},Mlt={cancel:"取消",save:"保存",saving:"保存中...",saveFailed:"保存失败"},Ilt={clearDocuments:{button:"清空",tooltip:"清空文档",title:"清空文档",description:"此操作将从系统中移除所有文档",warning:"警告:此操作将永久删除所有文档,无法恢复!",confirm:"确定要清空所有文档吗?",confirmPrompt:"请输入 yes 确认操作",confirmPlaceholder:"输入 yes 确认",clearCache:"清空LLM缓存",confirmButton:"确定",clearing:"正在清除...",timeout:"清除操作超时,请重试",success:"文档清空成功",cacheCleared:"缓存清空成功",cacheClearFailed:`清空缓存失败:
|
||
{{error}}`,failed:`清空文档失败:
|
||
{{message}}`,error:`清空文档失败:
|
||
{{error}}`},deleteDocuments:{button:"删除",tooltip:"删除选中的文档",title:"删除文档",description:"此操作将永久删除选中的文档",warning:"警告:此操作将永久删除选中的文档,无法恢复!",confirm:"确定要删除 {{count}} 个选中的文档吗?",confirmPrompt:"请输入 yes 确认操作",confirmPlaceholder:"输入 yes 确认",confirmButton:"确定",deleteFileOption:"同时删除上传文件",deleteFileTooltip:"选中此选项将同时删除服务器上对应的上传文件",success:"文档删除流水线启动成功",failed:`删除文档失败:
|
||
{{message}}`,error:`删除文档失败:
|
||
{{error}}`,busy:"流水线被占用,请稍后再试",notAllowed:"没有操作权限"},selectDocuments:{selectCurrentPage:"全选当前页 ({{count}})",deselectAll:"取消全选 ({{count}})"},uploadDocuments:{button:"上传",tooltip:"上传文档",title:"上传文档",description:"拖拽文件到此处或点击浏览",single:{uploading:"正在上传 {{name}}:{{percent}}%",success:`上传成功:
|
||
{{name}} 上传完成`,failed:`上传失败:
|
||
{{name}}
|
||
{{message}}`,error:`上传失败:
|
||
{{name}}
|
||
{{error}}`},batch:{uploading:"正在上传文件...",success:"文件上传完成",error:"部分文件上传失败"},generalError:`上传失败
|
||
{{error}}`,fileTypes:"支持的文件类型:TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"一次只能上传一个文件",maxFilesLimit:"最多只能上传 {{count}} 个文件",fileRejected:"文件 {{name}} 被拒绝",unsupportedType:"不支持的文件类型",fileTooLarge:"文件过大,最大允许 {{maxSize}}",dropHere:"将文件拖放到此处",dragAndDrop:"拖放文件到此处,或点击选择文件",removeFile:"移除文件",uploadDescription:"您可以上传{{isMultiple ? '多个' : count}}个文件(每个文件最大{{maxSize}})",duplicateFile:"文件名与服务器上的缓存重复"}},documentManager:{title:"文档管理",scanButton:"扫描",scanTooltip:"扫描处理输入目录中的文档,同时重新处理所有失败的文档",retryFailedButton:"重试",retryFailedTooltip:"重新处理所有失败的文档",refreshTooltip:"复位文档清单",pipelineStatusButton:"流水线",pipelineStatusTooltip:"查看文档处理流水线状态",uploadedTitle:"已上传文档",uploadedDescription:"已上传文档列表及其状态",emptyTitle:"无文档",emptyDescription:"还没有上传任何文档",columns:{id:"ID",fileName:"文件名",summary:"摘要",status:"状态",length:"长度",chunks:"分块",created:"创建时间",updated:"更新时间",metadata:"元数据",select:"选择"},status:{all:"全部",completed:"已完成",processing:"处理中",pending:"等待中",failed:"失败"},errors:{loadFailed:`加载文档失败
|
||
{{error}}`,scanFailed:`扫描文档失败
|
||
{{error}}`,scanProgressFailed:`获取扫描进度失败
|
||
{{error}}`},fileNameLabel:"文件名",showButton:"显示",hideButton:"隐藏",showFileNameTooltip:"显示文件名",hideFileNameTooltip:"隐藏文件名"},pipelineStatus:{title:"流水线状态",busy:"流水线忙碌",requestPending:"待处理请求",jobName:"作业名称",startTime:"开始时间",progress:"进度",unit:"批",latestMessage:"最新消息",historyMessages:"历史消息",errors:{fetchFailed:`获取流水线状态失败
|
||
{{error}}`}}},Olt={dataIsTruncated:"图数据已截断至最大返回节点数",statusDialog:{title:"LightRAG 服务器设置",description:"查看当前系统状态和连接信息"},legend:"图例",nodeTypes:{person:"人物角色",category:"分类",geo:"地理名称",location:"位置",organization:"组织机构",event:"事件",equipment:"装备",weapon:"武器",animal:"动物",unknown:"未知",object:"物品",group:"群组",technology:"技术",product:"产品",document:"文档",content:"内容",data:"数据",artifact:"人工制品",concept:"概念",naturalobject:"自然物品",method:"方法",creature:"生物神怪",plant:"植物",disease:"疾病",drug:"药物",food:"食物",other:"其他"},sideBar:{settings:{settings:"设置",healthCheck:"健康检查",showPropertyPanel:"显示属性面板",showSearchBar:"显示搜索栏",showNodeLabel:"显示节点标签",nodeDraggable:"节点可拖动",showEdgeLabel:"显示边标签",hideUnselectedEdges:"隐藏未选中的边",edgeEvents:"边事件",maxQueryDepth:"最大查询深度",maxNodes:"最大返回节点数",maxLayoutIterations:"最大布局迭代次数",resetToDefault:"重置为默认值",edgeSizeRange:"边粗细范围",depth:"深",max:"Max",degree:"邻边",apiKey:"API密钥",enterYourAPIkey:"输入您的API密钥",save:"保存",refreshLayout:"刷新布局"},zoomControl:{zoomIn:"放大",zoomOut:"缩小",resetZoom:"重置缩放",rotateCamera:"顺时针旋转图形",rotateCameraCounterClockwise:"逆时针旋转图形"},layoutsControl:{startAnimation:"继续布局动画",stopAnimation:"停止布局动画",layoutGraph:"图布局",layouts:{Circular:"环形",Circlepack:"圆形打包",Random:"随机",Noverlaps:"无重叠","Force Directed":"力导向","Force Atlas":"力地图"}},fullScreenControl:{fullScreen:"全屏",windowed:"窗口"},legendControl:{toggleLegend:"切换图例显示"}},statusIndicator:{connected:"已连接",disconnected:"未连接"},statusCard:{unavailable:"状态信息不可用",serverInfo:"服务器信息",workingDirectory:"工作目录",inputDirectory:"输入目录",maxParallelInsert:"并行处理文档",summarySettings:"摘要设置",llmConfig:"LLM配置",llmBinding:"LLM绑定",llmBindingHost:"LLM端点",llmModel:"LLM模型",embeddingConfig:"嵌入配置",embeddingBinding:"嵌入绑定",embeddingBindingHost:"嵌入端点",embeddingModel:"嵌入模型",storageConfig:"存储配置",kvStorage:"KV存储",docStatusStorage:"文档状态存储",graphStorage:"图存储",vectorStorage:"向量存储",workspace:"工作空间",maxGraphNodes:"最大图节点数",rerankerConfig:"重排序配置",rerankerBindingHost:"重排序端点",rerankerModel:"重排序模型",lockStatus:"锁状态",threshold:"阈值"},propertiesView:{editProperty:"编辑{{property}}",editPropertyDescription:"在下方文本区域编辑属性值。",errors:{duplicateName:"节点名称已存在",updateFailed:"更新节点失败",tryAgainLater:"请稍后重试"},success:{entityUpdated:"节点更新成功",relationUpdated:"关系更新成功"},node:{title:"节点",id:"ID",labels:"标签",degree:"度数",properties:"属性",relationships:"关系(子图内)",expandNode:"扩展节点",pruneNode:"修剪节点",deleteAllNodesError:"拒绝删除图中的所有节点",nodesRemoved:"已删除 {{count}} 个节点,包括孤立节点",noNewNodes:"没有发现可以扩展的节点",propertyNames:{description:"描述",entity_id:"名称",entity_type:"类型",source_id:"信源ID",Neighbour:"邻接",file_path:"信源",keywords:"Keys",weight:"权重"}},edge:{title:"关系",id:"ID",type:"类型",source:"源节点",target:"目标节点",properties:"属性"}},search:{placeholder:"页面内搜索节点...",message:"还有 {{count}} 个"},graphLabels:{selectTooltip:"获取节点(标签)子图",noLabels:"未找到匹配的节点",label:"搜索节点名称",placeholder:"搜索节点名称...",andOthers:"还有 {{count}} 个",refreshGlobalTooltip:"刷新全图数据和重置搜索历史",refreshCurrentLabelTooltip:"刷新当前页面图数据",refreshingTooltip:"正在刷新数据..."},emptyGraph:"无数据(请重载图形数据)"},Blt={chatMessage:{copyTooltip:"复制到剪贴板",copyError:"复制文本到剪贴板失败",copyEmpty:"没有内容可复制",copySuccess:"内容已复制到剪贴板",copySuccessLegacy:"内容已复制(传统方法)",copySuccessManual:"内容已复制(手动方法)",copyFailed:"复制内容失败",copyManualInstruction:"请手动选择并复制文本",thinking:"正在思考...",thinkingTime:"思考用时 {{time}} 秒",thinkingInProgress:"思考进行中..."},retrieval:{startPrompt:"输入查询开始检索",clear:"清空",send:"发送",placeholder:"输入查询内容 (支持模式前缀: /<Query Mode>)",error:"错误:获取响应失败",queryModeError:"仅支持以下查询模式:{{modes}}",queryModePrefixInvalid:"无效的查询模式前缀。请使用:/<模式> [空格] 查询内容"},querySettings:{parametersTitle:"参数",parametersDescription:"配置查询参数",queryMode:"查询模式",queryModeTooltip:`选择检索策略:
|
||
• Naive:传统文本块向量检索
|
||
• Local:侧重实体检索
|
||
• Global:侧重关系检索
|
||
• Hybrid:Local+Global
|
||
• Mix:Local+Global+Naive
|
||
• Bypass:跳过检索,把历史会话与当前问题送LLM`,queryModeOptions:{naive:"Naive",local:"Local",global:"Global",hybrid:"Hybrid",mix:"Mix",bypass:"Bypass"},responseFormat:"响应格式",responseFormatTooltip:`定义响应格式。例如:
|
||
• 多段落
|
||
• 单段落
|
||
• 要点`,responseFormatOptions:{multipleParagraphs:"多段落",singleParagraph:"单段落",bulletPoints:"要点"},topK:"KG Top K",topKTooltip:"实体关系检索数量, 适用于非naive模式",topKPlaceholder:"输入top_k值",chunkTopK:"文本块 Top K",chunkTopKTooltip:"文本块检索数量, 适用于所有模式",chunkTopKPlaceholder:"输入文本块chunk_top_k值",maxEntityTokens:"实体令牌数上限",maxEntityTokensTooltip:"统一令牌控制系统中分配给实体上下文的最大令牌数",maxRelationTokens:"关系令牌数上限",maxRelationTokensTooltip:"统一令牌控制系统中分配给关系上下文的最大令牌数",maxTotalTokens:"总令牌数上限",maxTotalTokensTooltip:"整个查询上下文的最大总令牌预算(实体+关系+文档块+系统提示)",historyTurns:"历史轮次",historyTurnsTooltip:"响应上下文中考虑的完整对话轮次(用户-助手对)数量",historyTurnsPlaceholder:"历史轮次数",onlyNeedContext:"仅需上下文",onlyNeedContextTooltip:"如果为True,仅返回检索到的上下文而不生成响应",onlyNeedPrompt:"仅需提示",onlyNeedPromptTooltip:"如果为True,仅返回生成的提示而不产生响应",streamResponse:"流式响应",streamResponseTooltip:"如果为True,启用实时流式输出响应",userPrompt:"附加输出提示词",userPromptTooltip:"向LLM提供额外的响应要求(与查询内容无关,仅用于处理输出)。",userPromptPlaceholder:"输入自定义提示词(可选)",enableRerank:"启用重排",enableRerankTooltip:"为检索到的文本块启用重排。如果为True但未配置重排模型,将发出警告。默认为True。"}},Plt={loading:"正在加载 API 文档..."},zlt={title:"需要 API Key",description:"请输入您的 API Key 以访问服务",placeholder:"请输入 API Key",save:"保存"},Hlt={showing:"显示第 {{start}} 到 {{end}} 条,共 {{total}} 条记录",page:"页",pageSize:"每页显示",firstPage:"首页",prevPage:"上一页",nextPage:"下一页",lastPage:"末页"},Ult={settings:Rlt,header:Nlt,login:Llt,common:Mlt,documentPanel:Ilt,graphPanel:Olt,retrievePanel:Blt,apiSite:Plt,apiKeyAlert:zlt,pagination:Hlt},Glt={language:"Langue",theme:"Thème",light:"Clair",dark:"Sombre",system:"Système"},$lt={documents:"Documents",knowledgeGraph:"Graphe de connaissances",retrieval:"Récupération",api:"API",projectRepository:"Référentiel du projet",logout:"Déconnexion",themeToggle:{switchToLight:"Passer au thème clair",switchToDark:"Passer au thème sombre"}},jlt={description:"Veuillez entrer votre compte et mot de passe pour vous connecter au système",username:"Nom d'utilisateur",usernamePlaceholder:"Veuillez saisir un nom d'utilisateur",password:"Mot de passe",passwordPlaceholder:"Veuillez saisir un mot de passe",loginButton:"Connexion",loggingIn:"Connexion en cours...",successMessage:"Connexion réussie",errorEmptyFields:"Veuillez saisir votre nom d'utilisateur et mot de passe",errorInvalidCredentials:"Échec de la connexion, veuillez vérifier le nom d'utilisateur et le mot de passe",authDisabled:"L'authentification est désactivée. Utilisation du mode sans connexion.",guestMode:"Mode sans connexion"},qlt={cancel:"Annuler",save:"Sauvegarder",saving:"Sauvegarde en cours...",saveFailed:"Échec de la sauvegarde"},Wlt={clearDocuments:{button:"Effacer",tooltip:"Effacer les documents",title:"Effacer les documents",description:"Cette action supprimera tous les documents du système",warning:"ATTENTION : Cette action supprimera définitivement tous les documents et ne peut pas être annulée !",confirm:"Voulez-vous vraiment effacer tous les documents ?",confirmPrompt:"Tapez 'yes' pour confirmer cette action",confirmPlaceholder:"Tapez yes pour confirmer",clearCache:"Effacer le cache LLM",confirmButton:"OUI",clearing:"Effacement en cours...",timeout:"L'opération d'effacement a expiré, veuillez réessayer",success:"Documents effacés avec succès",cacheCleared:"Cache effacé avec succès",cacheClearFailed:`Échec de l'effacement du cache :
|
||
{{error}}`,failed:`Échec de l'effacement des documents :
|
||
{{message}}`,error:`Échec de l'effacement des documents :
|
||
{{error}}`},deleteDocuments:{button:"Supprimer",tooltip:"Supprimer les documents sélectionnés",title:"Supprimer les documents",description:"Cette action supprimera définitivement les documents sélectionnés du système",warning:"ATTENTION : Cette action supprimera définitivement les documents sélectionnés et ne peut pas être annulée !",confirm:"Voulez-vous vraiment supprimer {{count}} document(s) sélectionné(s) ?",confirmPrompt:"Tapez 'yes' pour confirmer cette action",confirmPlaceholder:"Tapez yes pour confirmer",confirmButton:"OUI",deleteFileOption:"Supprimer également les fichiers téléchargés",deleteFileTooltip:"Cochez cette option pour supprimer également les fichiers téléchargés correspondants sur le serveur",success:"Pipeline de suppression de documents démarré avec succès",failed:`Échec de la suppression des documents :
|
||
{{message}}`,error:`Échec de la suppression des documents :
|
||
{{error}}`,busy:"Le pipeline est occupé, veuillez réessayer plus tard",notAllowed:"Aucune autorisation pour effectuer cette opération"},selectDocuments:{selectCurrentPage:"Sélectionner la page actuelle ({{count}})",deselectAll:"Tout désélectionner ({{count}})"},uploadDocuments:{button:"Télécharger",tooltip:"Télécharger des documents",title:"Télécharger des documents",description:"Glissez-déposez vos documents ici ou cliquez pour parcourir.",single:{uploading:"Téléchargement de {{name}} : {{percent}}%",success:`Succès du téléchargement :
|
||
{{name}} téléchargé avec succès`,failed:`Échec du téléchargement :
|
||
{{name}}
|
||
{{message}}`,error:`Échec du téléchargement :
|
||
{{name}}
|
||
{{error}}`},batch:{uploading:"Téléchargement des fichiers...",success:"Fichiers téléchargés avec succès",error:"Certains fichiers n'ont pas pu être téléchargés"},generalError:`Échec du téléchargement
|
||
{{error}}`,fileTypes:"Types pris en charge : TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"Impossible de télécharger plus d'un fichier à la fois",maxFilesLimit:"Impossible de télécharger plus de {{count}} fichiers",fileRejected:"Le fichier {{name}} a été rejeté",unsupportedType:"Type de fichier non pris en charge",fileTooLarge:"Fichier trop volumineux, taille maximale {{maxSize}}",dropHere:"Déposez les fichiers ici",dragAndDrop:"Glissez et déposez les fichiers ici, ou cliquez pour sélectionner",removeFile:"Supprimer le fichier",uploadDescription:"Vous pouvez télécharger {{isMultiple ? 'plusieurs' : count}} fichiers (jusqu'à {{maxSize}} chacun)",duplicateFile:"Le nom du fichier existe déjà dans le cache du serveur"}},documentManager:{title:"Gestion des documents",scanButton:"Scanner",scanTooltip:"Scanner et traiter les documents dans le dossier d'entrée, et retraiter également tous les documents échoués",retryFailedButton:"Réessayer",retryFailedTooltip:"Réessayer le traitement de tous les documents échoués",refreshTooltip:"Réinitialiser la liste des documents",pipelineStatusButton:"Pipeline",pipelineStatusTooltip:"Voir l'état du pipeline de traitement des documents",uploadedTitle:"Documents téléchargés",uploadedDescription:"Liste des documents téléchargés et leurs statuts.",emptyTitle:"Aucun document",emptyDescription:"Il n'y a pas encore de documents téléchargés.",columns:{id:"ID",fileName:"Nom du fichier",summary:"Résumé",status:"Statut",length:"Longueur",chunks:"Fragments",created:"Créé",updated:"Mis à jour",metadata:"Métadonnées",select:"Sélectionner"},status:{all:"Tous",completed:"Terminé",processing:"En traitement",pending:"En attente",failed:"Échoué"},errors:{loadFailed:`Échec du chargement des documents
|
||
{{error}}`,scanFailed:`Échec de la numérisation des documents
|
||
{{error}}`,scanProgressFailed:`Échec de l'obtention de la progression de la numérisation
|
||
{{error}}`},fileNameLabel:"Nom du fichier",showButton:"Afficher",hideButton:"Masquer",showFileNameTooltip:"Afficher le nom du fichier",hideFileNameTooltip:"Masquer le nom du fichier"},pipelineStatus:{title:"État du Pipeline",busy:"Pipeline occupé",requestPending:"Requête en attente",jobName:"Nom du travail",startTime:"Heure de début",progress:"Progression",unit:"lot",latestMessage:"Dernier message",historyMessages:"Historique des messages",errors:{fetchFailed:`Échec de la récupération de l'état du pipeline
|
||
{{error}}`}}},Vlt={dataIsTruncated:"Les données du graphe sont tronquées au nombre maximum de nœuds",statusDialog:{title:"Paramètres du Serveur LightRAG",description:"Afficher l'état actuel du système et les informations de connexion"},legend:"Légende",nodeTypes:{person:"Personne",category:"Catégorie",geo:"Géographique",location:"Emplacement",organization:"Organisation",event:"Événement",equipment:"Équipement",weapon:"Arme",animal:"Animal",unknown:"Inconnu",object:"Objet",group:"Groupe",technology:"Technologie",product:"Produit",document:"Document",content:"Contenu",data:"Données",artifact:"Artefact",concept:"Concept",naturalobject:"Objet naturel",method:"Méthode",creature:"Créature",plant:"Plante",disease:"Maladie",drug:"Médicament",food:"Nourriture",other:"Autre"},sideBar:{settings:{settings:"Paramètres",healthCheck:"Vérification de l'état",showPropertyPanel:"Afficher le panneau des propriétés",showSearchBar:"Afficher la barre de recherche",showNodeLabel:"Afficher l'étiquette du nœud",nodeDraggable:"Nœud déplaçable",showEdgeLabel:"Afficher l'étiquette de l'arête",hideUnselectedEdges:"Masquer les arêtes non sélectionnées",edgeEvents:"Événements des arêtes",maxQueryDepth:"Profondeur maximale de la requête",maxNodes:"Nombre maximum de nœuds",maxLayoutIterations:"Itérations maximales de mise en page",resetToDefault:"Réinitialiser par défaut",edgeSizeRange:"Plage de taille des arêtes",depth:"D",max:"Max",degree:"Degré",apiKey:"Clé API",enterYourAPIkey:"Entrez votre clé API",save:"Sauvegarder",refreshLayout:"Actualiser la mise en page"},zoomControl:{zoomIn:"Zoom avant",zoomOut:"Zoom arrière",resetZoom:"Réinitialiser le zoom",rotateCamera:"Rotation horaire",rotateCameraCounterClockwise:"Rotation antihoraire"},layoutsControl:{startAnimation:"Démarrer l'animation de mise en page",stopAnimation:"Arrêter l'animation de mise en page",layoutGraph:"Mettre en page le graphe",layouts:{Circular:"Circulaire",Circlepack:"Paquet circulaire",Random:"Aléatoire",Noverlaps:"Sans chevauchement","Force Directed":"Dirigé par la force","Force Atlas":"Atlas de force"}},fullScreenControl:{fullScreen:"Plein écran",windowed:"Fenêtré"},legendControl:{toggleLegend:"Basculer la légende"}},statusIndicator:{connected:"Connecté",disconnected:"Déconnecté"},statusCard:{unavailable:"Informations sur l'état indisponibles",serverInfo:"Informations du serveur",workingDirectory:"Répertoire de travail",inputDirectory:"Répertoire d'entrée",maxParallelInsert:"Traitement simultané des documents",summarySettings:"Paramètres de résumé",llmConfig:"Configuration du modèle de langage",llmBinding:"Liaison du modèle de langage",llmBindingHost:"Point de terminaison LLM",llmModel:"Modèle de langage",embeddingConfig:"Configuration d'incorporation",embeddingBinding:"Liaison d'incorporation",embeddingBindingHost:"Point de terminaison d'incorporation",embeddingModel:"Modèle d'incorporation",storageConfig:"Configuration de stockage",kvStorage:"Stockage clé-valeur",docStatusStorage:"Stockage de l'état des documents",graphStorage:"Stockage du graphe",vectorStorage:"Stockage vectoriel",workspace:"Espace de travail",maxGraphNodes:"Nombre maximum de nœuds du graphe",rerankerConfig:"Configuration du reclassement",rerankerBindingHost:"Point de terminaison de reclassement",rerankerModel:"Modèle de reclassement",lockStatus:"État des verrous",threshold:"Seuil"},propertiesView:{editProperty:"Modifier {{property}}",editPropertyDescription:"Modifiez la valeur de la propriété dans la zone de texte ci-dessous.",errors:{duplicateName:"Le nom du nœud existe déjà",updateFailed:"Échec de la mise à jour du nœud",tryAgainLater:"Veuillez réessayer plus tard"},success:{entityUpdated:"Nœud mis à jour avec succès",relationUpdated:"Relation mise à jour avec succès"},node:{title:"Nœud",id:"ID",labels:"Étiquettes",degree:"Degré",properties:"Propriétés",relationships:"Relations(dans le sous-graphe)",expandNode:"Développer le nœud",pruneNode:"Élaguer le nœud",deleteAllNodesError:"Refus de supprimer tous les nœuds du graphe",nodesRemoved:"{{count}} nœuds supprimés, y compris les nœuds orphelins",noNewNodes:"Aucun nœud développable trouvé",propertyNames:{description:"Description",entity_id:"Nom",entity_type:"Type",source_id:"ID source",Neighbour:"Voisin",file_path:"Source",keywords:"Keys",weight:"Poids"}},edge:{title:"Relation",id:"ID",type:"Type",source:"Source",target:"Cible",properties:"Propriétés"}},search:{placeholder:"Rechercher des nœuds dans la page...",message:"Et {{count}} autres"},graphLabels:{selectTooltip:"Obtenir le sous-graphe d'un nœud (étiquette)",noLabels:"Aucun nœud correspondant trouvé",label:"Rechercher le nom du nœud",placeholder:"Rechercher le nom du nœud...",andOthers:"Et {{count}} autres",refreshGlobalTooltip:"Actualiser les données du graphe global et réinitialiser l'historique de recherche",refreshCurrentLabelTooltip:"Actualiser les données du graphe de la page actuelle",refreshingTooltip:"Actualisation des données en cours..."},emptyGraph:"Vide (Essayez de recharger)"},Klt={chatMessage:{copyTooltip:"Copier dans le presse-papiers",copyError:"Échec de la copie du texte dans le presse-papiers",copyEmpty:"Aucun contenu à copier",copySuccess:"Contenu copié dans le presse-papiers",copySuccessLegacy:"Contenu copié (méthode héritée)",copySuccessManual:"Contenu copié (méthode manuelle)",copyFailed:"Échec de la copie du contenu",copyManualInstruction:"Veuillez sélectionner et copier le texte manuellement",thinking:"Réflexion en cours...",thinkingTime:"Temps de réflexion {{time}}s",thinkingInProgress:"Réflexion en cours..."},retrieval:{startPrompt:"Démarrez une récupération en tapant votre requête ci-dessous",clear:"Effacer",send:"Envoyer",placeholder:"Tapez votre requête (Préfixe de requête : /<Query Mode>)",error:"Erreur : Échec de l'obtention de la réponse",queryModeError:"Seuls les modes de requête suivants sont pris en charge : {{modes}}",queryModePrefixInvalid:"Préfixe de mode de requête invalide. Utilisez : /<mode> [espace] votre requête"},querySettings:{parametersTitle:"Paramètres",parametersDescription:"Configurez vos paramètres de requête",queryMode:"Mode de requête",queryModeTooltip:`Sélectionnez la stratégie de récupération :
|
||
• Naïf : Récupération vectorielle traditionnelle par blocs de texte
|
||
• Local : Axé sur la récupération d'entités
|
||
• Global : Axé sur la récupération de relations
|
||
• Hybride : Local+Global
|
||
• Mixte : Local+Global+Naïf
|
||
• Bypass : Ignorer la récupération, envoyer l'historique de conversation et la question actuelle au LLM`,queryModeOptions:{naive:"Naïf",local:"Local",global:"Global",hybrid:"Hybride",mix:"Mixte",bypass:"Bypass"},responseFormat:"Format de réponse",responseFormatTooltip:`Définit le format de la réponse. Exemples :
|
||
• Plusieurs paragraphes
|
||
• Paragraphe unique
|
||
• Points à puces`,responseFormatOptions:{multipleParagraphs:"Plusieurs paragraphes",singleParagraph:"Paragraphe unique",bulletPoints:"Points à puces"},topK:"KG Top K",topKTooltip:"Nombre d'entités et de relations à récupérer. Applicable pour les modes non-naïfs.",topKPlaceholder:"Entrez la valeur top_k",chunkTopK:"Top K des Chunks",chunkTopKTooltip:"Nombre de morceaux de texte à récupérer, applicable à tous les modes.",chunkTopKPlaceholder:"Entrez la valeur chunk_top_k",maxEntityTokens:"Limite de jetons d'entité",maxEntityTokensTooltip:"Nombre maximum de jetons alloués au contexte d'entité dans le système de contrôle de jetons unifié",maxRelationTokens:"Limite de jetons de relation",maxRelationTokensTooltip:"Nombre maximum de jetons alloués au contexte de relation dans le système de contrôle de jetons unifié",maxTotalTokens:"Limite totale de jetons",maxTotalTokensTooltip:"Budget total maximum de jetons pour l'ensemble du contexte de requête (entités + relations + blocs + prompt système)",historyTurns:"Tours d'historique",historyTurnsTooltip:"Nombre de tours complets de conversation (paires utilisateur-assistant) à prendre en compte dans le contexte de la réponse",historyTurnsPlaceholder:"Nombre de tours d'historique",onlyNeedContext:"Besoin uniquement du contexte",onlyNeedContextTooltip:"Si vrai, ne renvoie que le contexte récupéré sans générer de réponse",onlyNeedPrompt:"Besoin uniquement de l'invite",onlyNeedPromptTooltip:"Si vrai, ne renvoie que l'invite générée sans produire de réponse",streamResponse:"Réponse en flux",streamResponseTooltip:"Si vrai, active la sortie en flux pour des réponses en temps réel",userPrompt:"Invite de sortie supplémentaire",userPromptTooltip:"Fournir des exigences de réponse supplémentaires au LLM (sans rapport avec le contenu de la requête, uniquement pour le traitement de sortie).",userPromptPlaceholder:"Entrez une invite personnalisée (facultatif)",enableRerank:"Activer le Reclassement",enableRerankTooltip:"Active le reclassement pour les fragments de texte récupérés. Si True mais qu'aucun modèle de reclassement n'est configuré, un avertissement sera émis. True par défaut."}},Ylt={loading:"Chargement de la documentation de l'API..."},Xlt={title:"Clé API requise",description:"Veuillez entrer votre clé API pour accéder au service",placeholder:"Entrez votre clé API",save:"Sauvegarder"},Jlt={showing:"Affichage de {{start}} à {{end}} sur {{total}} entrées",page:"Page",pageSize:"Taille de la page",firstPage:"Première page",prevPage:"Page précédente",nextPage:"Page suivante",lastPage:"Dernière page"},Zlt={settings:Glt,header:$lt,login:jlt,common:qlt,documentPanel:Wlt,graphPanel:Vlt,retrievePanel:Klt,apiSite:Ylt,apiKeyAlert:Xlt,pagination:Jlt},Qlt={language:"اللغة",theme:"السمة",light:"فاتح",dark:"داكن",system:"النظام"},eut={documents:"المستندات",knowledgeGraph:"شبكة المعرفة",retrieval:"الاسترجاع",api:"واجهة برمجة التطبيقات",projectRepository:"مستودع المشروع",logout:"تسجيل الخروج",themeToggle:{switchToLight:"التحويل إلى السمة الفاتحة",switchToDark:"التحويل إلى السمة الداكنة"}},tut={description:"الرجاء إدخال حسابك وكلمة المرور لتسجيل الدخول إلى النظام",username:"اسم المستخدم",usernamePlaceholder:"الرجاء إدخال اسم المستخدم",password:"كلمة المرور",passwordPlaceholder:"الرجاء إدخال كلمة المرور",loginButton:"تسجيل الدخول",loggingIn:"جاري تسجيل الدخول...",successMessage:"تم تسجيل الدخول بنجاح",errorEmptyFields:"الرجاء إدخال اسم المستخدم وكلمة المرور",errorInvalidCredentials:"فشل تسجيل الدخول، يرجى التحقق من اسم المستخدم وكلمة المرور",authDisabled:"تم تعطيل المصادقة. استخدام وضع بدون تسجيل دخول.",guestMode:"وضع بدون تسجيل دخول"},rut={cancel:"إلغاء",save:"حفظ",saving:"جارٍ الحفظ...",saveFailed:"فشل الحفظ"},nut={clearDocuments:{button:"مسح",tooltip:"مسح المستندات",title:"مسح المستندات",description:"سيؤدي هذا إلى إزالة جميع المستندات من النظام",warning:"تحذير: سيؤدي هذا الإجراء إلى حذف جميع المستندات بشكل دائم ولا يمكن التراجع عنه!",confirm:"هل تريد حقًا مسح جميع المستندات؟",confirmPrompt:"اكتب 'yes' لتأكيد هذا الإجراء",confirmPlaceholder:"اكتب yes للتأكيد",clearCache:"مسح كاش نموذج اللغة",confirmButton:"نعم",clearing:"جارٍ المسح...",timeout:"انتهت مهلة عملية المسح، يرجى المحاولة مرة أخرى",success:"تم مسح المستندات بنجاح",cacheCleared:"تم مسح ذاكرة التخزين المؤقت بنجاح",cacheClearFailed:`فشل مسح ذاكرة التخزين المؤقت:
|
||
{{error}}`,failed:`فشل مسح المستندات:
|
||
{{message}}`,error:`فشل مسح المستندات:
|
||
{{error}}`},deleteDocuments:{button:"حذف",tooltip:"حذف المستندات المحددة",title:"حذف المستندات",description:"سيؤدي هذا إلى حذف المستندات المحددة نهائيًا من النظام",warning:"تحذير: سيؤدي هذا الإجراء إلى حذف المستندات المحددة نهائيًا ولا يمكن التراجع عنه!",confirm:"هل تريد حقًا حذف {{count}} مستند(ات) محدد(ة)؟",confirmPrompt:"اكتب 'yes' لتأكيد هذا الإجراء",confirmPlaceholder:"اكتب yes للتأكيد",confirmButton:"نعم",deleteFileOption:"حذف الملفات المرفوعة أيضًا",deleteFileTooltip:"حدد هذا الخيار لحذف الملفات المرفوعة المقابلة على الخادم أيضًا",success:"تم بدء تشغيل خط معالجة حذف المستندات بنجاح",failed:`فشل حذف المستندات:
|
||
{{message}}`,error:`فشل حذف المستندات:
|
||
{{error}}`,busy:"خط المعالجة مشغول، يرجى المحاولة مرة أخرى لاحقًا",notAllowed:"لا توجد صلاحية لتنفيذ هذه العملية"},selectDocuments:{selectCurrentPage:"تحديد الصفحة الحالية ({{count}})",deselectAll:"إلغاء تحديد الكل ({{count}})"},uploadDocuments:{button:"رفع",tooltip:"رفع المستندات",title:"رفع المستندات",description:"اسحب وأفلت مستنداتك هنا أو انقر للتصفح.",single:{uploading:"جارٍ الرفع {{name}}: {{percent}}%",success:`نجاح الرفع:
|
||
تم رفع {{name}} بنجاح`,failed:`فشل الرفع:
|
||
{{name}}
|
||
{{message}}`,error:`فشل الرفع:
|
||
{{name}}
|
||
{{error}}`},batch:{uploading:"جارٍ رفع الملفات...",success:"تم رفع الملفات بنجاح",error:"فشل رفع بعض الملفات"},generalError:`فشل الرفع
|
||
{{error}}`,fileTypes:"الأنواع المدعومة: TXT، MD، DOCX، PDF، PPTX، XLSX، RTF، ODT، EPUB، HTML، HTM، TEX، JSON، XML، YAML، YML، CSV، LOG، CONF، INI، PROPERTIES، SQL، BAT، SH، C، CPP، PY، JAVA، JS، TS، SWIFT، GO، RB، PHP، CSS، SCSS، LESS",fileUploader:{singleFileLimit:"لا يمكن رفع أكثر من ملف واحد في المرة الواحدة",maxFilesLimit:"لا يمكن رفع أكثر من {{count}} ملفات",fileRejected:"تم رفض الملف {{name}}",unsupportedType:"نوع الملف غير مدعوم",fileTooLarge:"حجم الملف كبير جدًا، الحد الأقصى {{maxSize}}",dropHere:"أفلت الملفات هنا",dragAndDrop:"اسحب وأفلت الملفات هنا، أو انقر للاختيار",removeFile:"إزالة الملف",uploadDescription:"يمكنك رفع {{isMultiple ? 'عدة' : count}} ملفات (حتى {{maxSize}} لكل منها)",duplicateFile:"اسم الملف موجود بالفعل في ذاكرة التخزين المؤقت للخادم"}},documentManager:{title:"إدارة المستندات",scanButton:"مسح ضوئي",scanTooltip:"مسح ومعالجة المستندات في مجلد الإدخال، وإعادة معالجة جميع المستندات الفاشلة أيضًا",retryFailedButton:"إعادة المحاولة",retryFailedTooltip:"إعادة معالجة جميع المستندات الفاشلة",refreshTooltip:"إعادة تعيين قائمة المستندات",pipelineStatusButton:"خط المعالجة",pipelineStatusTooltip:"عرض حالة خط معالجة المستندات",uploadedTitle:"المستندات المرفوعة",uploadedDescription:"قائمة المستندات المرفوعة وحالاتها.",emptyTitle:"لا توجد مستندات",emptyDescription:"لا توجد مستندات مرفوعة بعد.",columns:{id:"المعرف",fileName:"اسم الملف",summary:"الملخص",status:"الحالة",length:"الطول",chunks:"الأجزاء",created:"تم الإنشاء",updated:"تم التحديث",metadata:"البيانات الوصفية",select:"اختيار"},status:{all:"الكل",completed:"مكتمل",processing:"قيد المعالجة",pending:"معلق",failed:"فشل"},errors:{loadFailed:`فشل تحميل المستندات
|
||
{{error}}`,scanFailed:`فشل مسح المستندات
|
||
{{error}}`,scanProgressFailed:`فشل الحصول على تقدم المسح
|
||
{{error}}`},fileNameLabel:"اسم الملف",showButton:"عرض",hideButton:"إخفاء",showFileNameTooltip:"عرض اسم الملف",hideFileNameTooltip:"إخفاء اسم الملف"},pipelineStatus:{title:"حالة خط المعالجة",busy:"خط المعالجة مشغول",requestPending:"الطلب معلق",jobName:"اسم المهمة",startTime:"وقت البدء",progress:"التقدم",unit:"دفعة",latestMessage:"آخر رسالة",historyMessages:"سجل الرسائل",errors:{fetchFailed:`فشل في جلب حالة خط المعالجة
|
||
{{error}}`}}},aut={dataIsTruncated:"تم اقتصار بيانات الرسم البياني على الحد الأقصى للعقد",statusDialog:{title:"إعدادات خادم LightRAG",description:"عرض حالة النظام الحالية ومعلومات الاتصال"},legend:"المفتاح",nodeTypes:{person:"شخص",category:"فئة",geo:"كيان جغرافي",location:"موقع",organization:"منظمة",event:"حدث",equipment:"معدات",weapon:"سلاح",animal:"حيوان",unknown:"غير معروف",object:"مصنوع",group:"مجموعة",technology:"العلوم",product:"منتج",document:"وثيقة",content:"محتوى",data:"بيانات",artifact:"قطعة أثرية",concept:"مفهوم",naturalobject:"كائن طبيعي",method:"عملية",creature:"مخلوق",plant:"نبات",disease:"مرض",drug:"دواء",food:"طعام",other:"أخرى"},sideBar:{settings:{settings:"الإعدادات",healthCheck:"فحص الحالة",showPropertyPanel:"إظهار لوحة الخصائص",showSearchBar:"إظهار شريط البحث",showNodeLabel:"إظهار تسمية العقدة",nodeDraggable:"العقدة قابلة للسحب",showEdgeLabel:"إظهار تسمية الحافة",hideUnselectedEdges:"إخفاء الحواف غير المحددة",edgeEvents:"أحداث الحافة",maxQueryDepth:"أقصى عمق للاستعلام",maxNodes:"الحد الأقصى للعقد",maxLayoutIterations:"أقصى تكرارات التخطيط",resetToDefault:"إعادة التعيين إلى الافتراضي",edgeSizeRange:"نطاق حجم الحافة",depth:"D",max:"Max",degree:"الدرجة",apiKey:"مفتاح واجهة برمجة التطبيقات",enterYourAPIkey:"أدخل مفتاح واجهة برمجة التطبيقات الخاص بك",save:"حفظ",refreshLayout:"تحديث التخطيط"},zoomControl:{zoomIn:"تكبير",zoomOut:"تصغير",resetZoom:"إعادة تعيين التكبير",rotateCamera:"تدوير في اتجاه عقارب الساعة",rotateCameraCounterClockwise:"تدوير عكس اتجاه عقارب الساعة"},layoutsControl:{startAnimation:"بدء حركة التخطيط",stopAnimation:"إيقاف حركة التخطيط",layoutGraph:"تخطيط الرسم البياني",layouts:{Circular:"دائري",Circlepack:"حزمة دائرية",Random:"عشوائي",Noverlaps:"بدون تداخل","Force Directed":"موجه بالقوة","Force Atlas":"أطلس القوة"}},fullScreenControl:{fullScreen:"شاشة كاملة",windowed:"نوافذ"},legendControl:{toggleLegend:"تبديل المفتاح"}},statusIndicator:{connected:"متصل",disconnected:"غير متصل"},statusCard:{unavailable:"معلومات الحالة غير متوفرة",serverInfo:"معلومات الخادم",workingDirectory:"دليل العمل",inputDirectory:"دليل الإدخال",maxParallelInsert:"معالجة المستندات المتزامنة",summarySettings:"إعدادات الملخص",llmConfig:"تكوين نموذج اللغة الكبير",llmBinding:"ربط نموذج اللغة الكبير",llmBindingHost:"نقطة نهاية نموذج اللغة الكبير",llmModel:"نموذج اللغة الكبير",embeddingConfig:"تكوين التضمين",embeddingBinding:"ربط التضمين",embeddingBindingHost:"نقطة نهاية التضمين",embeddingModel:"نموذج التضمين",storageConfig:"تكوين التخزين",kvStorage:"تخزين المفتاح-القيمة",docStatusStorage:"تخزين حالة المستند",graphStorage:"تخزين الرسم البياني",vectorStorage:"تخزين المتجهات",workspace:"مساحة العمل",maxGraphNodes:"الحد الأقصى لعقد الرسم البياني",rerankerConfig:"تكوين إعادة الترتيب",rerankerBindingHost:"نقطة نهاية إعادة الترتيب",rerankerModel:"نموذج إعادة الترتيب",lockStatus:"حالة القفل",threshold:"العتبة"},propertiesView:{editProperty:"تعديل {{property}}",editPropertyDescription:"قم بتحرير قيمة الخاصية في منطقة النص أدناه.",errors:{duplicateName:"اسم العقدة موجود بالفعل",updateFailed:"فشل تحديث العقدة",tryAgainLater:"يرجى المحاولة مرة أخرى لاحقًا"},success:{entityUpdated:"تم تحديث العقدة بنجاح",relationUpdated:"تم تحديث العلاقة بنجاح"},node:{title:"عقدة",id:"المعرف",labels:"التسميات",degree:"الدرجة",properties:"الخصائص",relationships:"العلاقات (داخل الرسم الفرعي)",expandNode:"توسيع العقدة",pruneNode:"تقليم العقدة",deleteAllNodesError:"رفض حذف جميع العقد في الرسم البياني",nodesRemoved:"تم إزالة {{count}} عقدة، بما في ذلك العقد اليتيمة",noNewNodes:"لم يتم العثور على عقد قابلة للتوسيع",propertyNames:{description:"الوصف",entity_id:"الاسم",entity_type:"النوع",source_id:"معرف المصدر",Neighbour:"الجار",file_path:"المصدر",keywords:"الكلمات الرئيسية",weight:"الوزن"}},edge:{title:"علاقة",id:"المعرف",type:"النوع",source:"المصدر",target:"الهدف",properties:"الخصائص"}},search:{placeholder:"ابحث في العقد في الصفحة...",message:"و {{count}} آخرون"},graphLabels:{selectTooltip:"الحصول على الرسم البياني الفرعي لعقدة (تسمية)",noLabels:"لم يتم العثور على عقد مطابقة",label:"البحث عن اسم العقدة",placeholder:"البحث عن اسم العقدة...",andOthers:"و {{count}} آخرون",refreshGlobalTooltip:"تحديث بيانات الرسم البياني العالمي وإعادة تعيين سجل البحث",refreshCurrentLabelTooltip:"تحديث بيانات الرسم البياني للصفحة الحالية",refreshingTooltip:"جارٍ تحديث البيانات..."},emptyGraph:"فارغ (حاول إعادة التحميل)"},iut={chatMessage:{copyTooltip:"نسخ إلى الحافظة",copyError:"فشل نسخ النص إلى الحافظة",copyEmpty:"لا يوجد محتوى للنسخ",copySuccess:"تم نسخ المحتوى إلى الحافظة",copySuccessLegacy:"تم نسخ المحتوى (الطريقة التقليدية)",copySuccessManual:"تم نسخ المحتوى (الطريقة اليدوية)",copyFailed:"فشل نسخ المحتوى",copyManualInstruction:"يرجى تحديد ونسخ النص يدوياً",thinking:"جاري التفكير...",thinkingTime:"وقت التفكير {{time}} ثانية",thinkingInProgress:"التفكير قيد التقدم..."},retrieval:{startPrompt:"ابدأ الاسترجاع بكتابة استفسارك أدناه",clear:"مسح",send:"إرسال",placeholder:"اكتب استفسارك (بادئة وضع الاستعلام: /<Query Mode>)",error:"خطأ: فشل الحصول على الرد",queryModeError:"يُسمح فقط بأنماط الاستعلام التالية: {{modes}}",queryModePrefixInvalid:"بادئة وضع الاستعلام غير صالحة. استخدم: /<الوضع> [مسافة] استفسارك"},querySettings:{parametersTitle:"المعلمات",parametersDescription:"تكوين معلمات الاستعلام الخاص بك",queryMode:"وضع الاستعلام",queryModeTooltip:`حدد استراتيجية الاسترجاع:
|
||
• ساذج: استرجاع متجهي تقليدي لقطع النص
|
||
• محلي: يركز على استرجاع الكيانات
|
||
• عالمي: يركز على استرجاع العلاقات
|
||
• مختلط: محلي+عالمي
|
||
• مزيج: محلي+عالمي+ساذج
|
||
• تجاوز: تخطي الاسترجاع، إرسال تاريخ المحادثة والسؤال الحالي إلى LLM`,queryModeOptions:{naive:"ساذج",local:"محلي",global:"عالمي",hybrid:"مختلط",mix:"مزيج",bypass:"تجاوز"},responseFormat:"تنسيق الرد",responseFormatTooltip:`يحدد تنسيق الرد. أمثلة:
|
||
• فقرات متعددة
|
||
• فقرة واحدة
|
||
• نقاط نقطية`,responseFormatOptions:{multipleParagraphs:"فقرات متعددة",singleParagraph:"فقرة واحدة",bulletPoints:"نقاط نقطية"},topK:"KG أعلى K",topKTooltip:"عدد الكيانات والعلاقات المطلوب استردادها، لا ينطبق على الوضع наивный.",topKPlaceholder:"أدخل قيمة top_k",chunkTopK:"أعلى K للقطع",chunkTopKTooltip:"عدد أجزاء النص المطلوب استردادها، وينطبق على جميع الأوضاع.",chunkTopKPlaceholder:"أدخل قيمة chunk_top_k",maxEntityTokens:"الحد الأقصى لرموز الكيان",maxEntityTokensTooltip:"الحد الأقصى لعدد الرموز المخصصة لسياق الكيان في نظام التحكم الموحد في الرموز",maxRelationTokens:"الحد الأقصى لرموز العلاقة",maxRelationTokensTooltip:"الحد الأقصى لعدد الرموز المخصصة لسياق العلاقة في نظام التحكم الموحد في الرموز",maxTotalTokens:"إجمالي الحد الأقصى للرموز",maxTotalTokensTooltip:"الحد الأقصى الإجمالي لميزانية الرموز لسياق الاستعلام بالكامل (الكيانات + العلاقات + الأجزاء + موجه النظام)",historyTurns:"أدوار التاريخ",historyTurnsTooltip:"عدد الدورات الكاملة للمحادثة (أزواج المستخدم-المساعد) التي يجب مراعاتها في سياق الرد",historyTurnsPlaceholder:"عدد دورات التاريخ",onlyNeedContext:"تحتاج فقط إلى السياق",onlyNeedContextTooltip:"إذا كان صحيحًا، يتم إرجاع السياق المسترجع فقط دون إنشاء رد",onlyNeedPrompt:"تحتاج فقط إلى المطالبة",onlyNeedPromptTooltip:"إذا كان صحيحًا، يتم إرجاع المطالبة المولدة فقط دون إنتاج رد",streamResponse:"تدفق الرد",streamResponseTooltip:"إذا كان صحيحًا، يتيح إخراج التدفق للردود في الوقت الفعلي",userPrompt:"مطالبة إخراج إضافية",userPromptTooltip:"تقديم متطلبات استجابة إضافية إلى نموذج اللغة الكبير (غير متعلقة بمحتوى الاستعلام، فقط لمعالجة المخرجات).",userPromptPlaceholder:"أدخل مطالبة مخصصة (اختياري)",enableRerank:"تمكين إعادة الترتيب",enableRerankTooltip:"تمكين إعادة ترتيب أجزاء النص المسترجعة. إذا كان True ولكن لم يتم تكوين نموذج إعادة الترتيب، فسيتم إصدار تحذير. افتراضي True."}},out={loading:"جارٍ تحميل وثائق واجهة برمجة التطبيقات..."},sut={title:"مفتاح واجهة برمجة التطبيقات مطلوب",description:"الرجاء إدخال مفتاح واجهة برمجة التطبيقات للوصول إلى الخدمة",placeholder:"أدخل مفتاح واجهة برمجة التطبيقات",save:"حفظ"},lut={showing:"عرض {{start}} إلى {{end}} من أصل {{total}} إدخالات",page:"الصفحة",pageSize:"حجم الصفحة",firstPage:"الصفحة الأولى",prevPage:"الصفحة السابقة",nextPage:"الصفحة التالية",lastPage:"الصفحة الأخيرة"},uut={settings:Qlt,header:eut,login:tut,common:rut,documentPanel:nut,graphPanel:aut,retrievePanel:iut,apiSite:out,apiKeyAlert:sut,pagination:lut},cut={language:"語言",theme:"主題",light:"淺色",dark:"深色",system:"系統"},dut={documents:"文件",knowledgeGraph:"知識圖譜",retrieval:"檢索",api:"API",projectRepository:"專案庫",logout:"登出",themeToggle:{switchToLight:"切換至淺色主題",switchToDark:"切換至深色主題"}},hut={description:"請輸入您的帳號和密碼登入系統",username:"帳號",usernamePlaceholder:"請輸入帳號",password:"密碼",passwordPlaceholder:"請輸入密碼",loginButton:"登入",loggingIn:"登入中...",successMessage:"登入成功",errorEmptyFields:"請輸入您的帳號和密碼",errorInvalidCredentials:"登入失敗,請檢查帳號和密碼",authDisabled:"認證已停用,使用免登入模式",guestMode:"免登入"},put={cancel:"取消",save:"儲存",saving:"儲存中...",saveFailed:"儲存失敗"},fut={clearDocuments:{button:"清空",tooltip:"清空文件",title:"清空文件",description:"此操作將從系統中移除所有文件",warning:"警告:此操作將永久刪除所有文件,無法復原!",confirm:"確定要清空所有文件嗎?",confirmPrompt:"請輸入 yes 確認操作",confirmPlaceholder:"輸入 yes 以確認",clearCache:"清空 LLM 快取",confirmButton:"確定",clearing:"正在清除...",timeout:"清除操作逾時,請重試",success:"文件清空成功",cacheCleared:"快取清空成功",cacheClearFailed:`清空快取失敗:
|
||
{{error}}`,failed:`清空文件失敗:
|
||
{{message}}`,error:`清空文件失敗:
|
||
{{error}}`},deleteDocuments:{button:"刪除",tooltip:"刪除選取的文件",title:"刪除文件",description:"此操作將永久刪除選取的文件",warning:"警告:此操作將永久刪除選取的文件,無法復原!",confirm:"確定要刪除 {{count}} 個選取的文件嗎?",confirmPrompt:"請輸入 yes 確認操作",confirmPlaceholder:"輸入 yes 以確認",confirmButton:"確定",deleteFileOption:"同時刪除上傳檔案",deleteFileTooltip:"選取此選項將同時刪除伺服器上對應的上傳檔案",success:"文件刪除流水線啟動成功",failed:`刪除文件失敗:
|
||
{{message}}`,error:`刪除文件失敗:
|
||
{{error}}`,busy:"pipeline 被佔用,請稍後再試",notAllowed:"沒有操作權限"},selectDocuments:{selectCurrentPage:"全選當前頁 ({{count}})",deselectAll:"取消全選 ({{count}})"},uploadDocuments:{button:"上傳",tooltip:"上傳文件",title:"上傳文件",description:"拖曳檔案至此處或點擊瀏覽",single:{uploading:"正在上傳 {{name}}:{{percent}}%",success:`上傳成功:
|
||
{{name}} 上傳完成`,failed:`上傳失敗:
|
||
{{name}}
|
||
{{message}}`,error:`上傳失敗:
|
||
{{name}}
|
||
{{error}}`},batch:{uploading:"正在上傳檔案...",success:"檔案上傳完成",error:"部分檔案上傳失敗"},generalError:`上傳失敗
|
||
{{error}}`,fileTypes:"支援的檔案類型:TXT, MD, DOCX, PDF, PPTX, XLSX, RTF, ODT, EPUB, HTML, HTM, TEX, JSON, XML, YAML, YML, CSV, LOG, CONF, INI, PROPERTIES, SQL, BAT, SH, C, CPP, PY, JAVA, JS, TS, SWIFT, GO, RB, PHP, CSS, SCSS, LESS",fileUploader:{singleFileLimit:"一次只能上傳一個檔案",maxFilesLimit:"最多只能上傳 {{count}} 個檔案",fileRejected:"檔案 {{name}} 被拒絕",unsupportedType:"不支援的檔案類型",fileTooLarge:"檔案過大,最大允許 {{maxSize}}",dropHere:"將檔案拖放至此處",dragAndDrop:"拖放檔案至此處,或點擊選擇檔案",removeFile:"移除檔案",uploadDescription:"您可以上傳{{isMultiple ? '多個' : count}}個檔案(每個檔案最大{{maxSize}})",duplicateFile:"檔案名稱與伺服器上的快取重複"}},documentManager:{title:"文件管理",scanButton:"掃描",scanTooltip:"掃描處理輸入目錄中的文件,同時重新處理所有失敗的文件",retryFailedButton:"重試",retryFailedTooltip:"重新處理所有失敗的文件",refreshTooltip:"重設文件清單",pipelineStatusButton:"管線狀態",pipelineStatusTooltip:"查看文件處理管線狀態",uploadedTitle:"已上傳文件",uploadedDescription:"已上傳文件清單及其狀態",emptyTitle:"無文件",emptyDescription:"尚未上傳任何文件",columns:{id:"ID",fileName:"檔案名稱",summary:"摘要",status:"狀態",length:"長度",chunks:"分塊",created:"建立時間",updated:"更新時間",metadata:"元資料",select:"選擇"},status:{all:"全部",completed:"已完成",processing:"處理中",pending:"等待中",failed:"失敗"},errors:{loadFailed:`載入文件失敗
|
||
{{error}}`,scanFailed:`掃描文件失敗
|
||
{{error}}`,scanProgressFailed:`取得掃描進度失敗
|
||
{{error}}`},fileNameLabel:"檔案名稱",showButton:"顯示",hideButton:"隱藏",showFileNameTooltip:"顯示檔案名稱",hideFileNameTooltip:"隱藏檔案名稱"},pipelineStatus:{title:"pipeline 狀態",busy:"pipeline 忙碌中",requestPending:"待處理請求",jobName:"工作名稱",startTime:"開始時間",progress:"進度",unit:"梯次",latestMessage:"最新訊息",historyMessages:"歷史訊息",errors:{fetchFailed:`取得pipeline 狀態失敗
|
||
{{error}}`}}},mut={dataIsTruncated:"圖資料已截斷至最大回傳節點數",statusDialog:{title:"LightRAG 伺服器設定",description:"查看目前系統狀態和連線資訊"},legend:"圖例",nodeTypes:{person:"人物角色",category:"分類",geo:"地理名稱",location:"位置",organization:"組織機構",event:"事件",equipment:"設備",weapon:"武器",animal:"動物",unknown:"未知",object:"物品",group:"群組",technology:"技術",product:"產品",document:"文檔",content:"內容",data:"資料",artifact:"人工製品",concept:"概念",naturalobject:"自然物品",method:"方法",creature:"生物神怪",plant:"植物",disease:"疾病",drug:"藥物",food:"食物",other:"其他"},sideBar:{settings:{settings:"設定",healthCheck:"健康檢查",showPropertyPanel:"顯示屬性面板",showSearchBar:"顯示搜尋列",showNodeLabel:"顯示節點標籤",nodeDraggable:"節點可拖曳",showEdgeLabel:"顯示 Edge 標籤",hideUnselectedEdges:"隱藏未選取的 Edge",edgeEvents:"Edge 事件",maxQueryDepth:"最大查詢深度",maxNodes:"最大回傳節點數",maxLayoutIterations:"最大版面配置迭代次數",resetToDefault:"重設為預設值",edgeSizeRange:"Edge 粗細範圍",depth:"深度",max:"最大值",degree:"鄰邊",apiKey:"API key",enterYourAPIkey:"輸入您的 API key",save:"儲存",refreshLayout:"重新整理版面配置"},zoomControl:{zoomIn:"放大",zoomOut:"縮小",resetZoom:"重設縮放",rotateCamera:"順時針旋轉圖形",rotateCameraCounterClockwise:"逆時針旋轉圖形"},layoutsControl:{startAnimation:"繼續版面配置動畫",stopAnimation:"停止版面配置動畫",layoutGraph:"圖形版面配置",layouts:{Circular:"環形",Circlepack:"圓形打包",Random:"隨機",Noverlaps:"無重疊","Force Directed":"力導向","Force Atlas":"力圖"}},fullScreenControl:{fullScreen:"全螢幕",windowed:"視窗"},legendControl:{toggleLegend:"切換圖例顯示"}},statusIndicator:{connected:"已連線",disconnected:"未連線"},statusCard:{unavailable:"狀態資訊不可用",serverInfo:"伺服器資訊",workingDirectory:"工作目錄",inputDirectory:"輸入目錄",maxParallelInsert:"並行處理文档",summarySettings:"摘要設定",llmConfig:"LLM 設定",llmBinding:"LLM 綁定",llmBindingHost:"LLM 端點",llmModel:"LLM 模型",embeddingConfig:"嵌入設定",embeddingBinding:"嵌入綁定",embeddingBindingHost:"嵌入端點",embeddingModel:"嵌入模型",storageConfig:"儲存設定",kvStorage:"KV 儲存",docStatusStorage:"文件狀態儲存",graphStorage:"圖形儲存",vectorStorage:"向量儲存",workspace:"工作空間",maxGraphNodes:"最大圖形節點數",rerankerConfig:"重排序設定",rerankerBindingHost:"重排序端點",rerankerModel:"重排序模型",lockStatus:"鎖定狀態",threshold:"閾值"},propertiesView:{editProperty:"編輯{{property}}",editPropertyDescription:"在下方文字區域編輯屬性值。",errors:{duplicateName:"節點名稱已存在",updateFailed:"更新節點失敗",tryAgainLater:"請稍後重試"},success:{entityUpdated:"節點更新成功",relationUpdated:"關係更新成功"},node:{title:"節點",id:"ID",labels:"標籤",degree:"度數",properties:"屬性",relationships:"關係(子圖內)",expandNode:"展開節點",pruneNode:"修剪節點",deleteAllNodesError:"拒絕刪除圖中的所有節點",nodesRemoved:"已刪除 {{count}} 個節點,包括孤立節點",noNewNodes:"沒有發現可以展開的節點",propertyNames:{description:"描述",entity_id:"名稱",entity_type:"類型",source_id:"來源ID",Neighbour:"鄰接",file_path:"來源",keywords:"Keys",weight:"權重"}},edge:{title:"關係",id:"ID",type:"類型",source:"來源節點",target:"目標節點",properties:"屬性"}},search:{placeholder:"頁面內搜尋節點...",message:"還有 {{count}} 個"},graphLabels:{selectTooltip:"獲取節點(標籤)子圖",noLabels:"未找到匹配的節點",label:"搜尋節點名稱",placeholder:"搜尋節點名稱...",andOthers:"還有 {{count}} 個",refreshGlobalTooltip:"重新整理全圖資料和重置搜尋歷史",refreshCurrentLabelTooltip:"重新整理目前頁面圖形資料",refreshingTooltip:"正在重新整理資料..."},emptyGraph:"無數據(請重載圖形數據)"},gut={chatMessage:{copyTooltip:"複製到剪貼簿",copyError:"複製文字到剪貼簿失敗",copyEmpty:"沒有內容可複製",copySuccess:"內容已複製到剪貼簿",copySuccessLegacy:"內容已複製(傳統方法)",copySuccessManual:"內容已複製(手動方法)",copyFailed:"複製內容失敗",copyManualInstruction:"請手動選取並複製文字",thinking:"正在思考...",thinkingTime:"思考用時 {{time}} 秒",thinkingInProgress:"思考進行中..."},retrieval:{startPrompt:"輸入查詢開始檢索",clear:"清空",send:"送出",placeholder:"輸入查詢內容 (支援模式前綴:/<Query Mode>)",error:"錯誤:取得回應失敗",queryModeError:"僅支援以下查詢模式:{{modes}}",queryModePrefixInvalid:"無效的查詢模式前綴。請使用:/<模式> [空格] 查詢內容"},querySettings:{parametersTitle:"參數",parametersDescription:"設定查詢參數",queryMode:"查詢模式",queryModeTooltip:`選擇檢索策略:
|
||
• Naive:傳統文字塊向量檢索
|
||
• Local:側重實體檢索
|
||
• Global:側重關係檢索
|
||
• Hybrid:Local+Global
|
||
• Mix:Local+Global+Naive
|
||
• Bypass:跳過檢索,把歷史會話與當前問題送LLM`,queryModeOptions:{naive:"Naive",local:"Local",global:"Global",hybrid:"Hybrid",mix:"Mix",bypass:"Bypass"},responseFormat:"回應格式",responseFormatTooltip:`定義回應格式。例如:
|
||
• 多段落
|
||
• 單段落
|
||
• 重點`,responseFormatOptions:{multipleParagraphs:"多段落",singleParagraph:"單段落",bulletPoints:"重點"},topK:"知識圖譜 Top K",topKTooltip:"實體關係檢索數量,適用於非 naive 模式。",topKPlaceholder:"輸入 top_k 值",chunkTopK:"文本區塊 Top K",chunkTopKTooltip:"文本區塊檢索數量,適用於所有模式。",chunkTopKPlaceholder:"輸入文本區塊 chunk_top_k 值",historyTurns:"歷史輪次",historyTurnsTooltip:"回應上下文中考慮的完整對話輪次(使用者-助手對)數量",historyTurnsPlaceholder:"歷史輪次數",onlyNeedContext:"僅需上下文",onlyNeedContextTooltip:"如果為True,僅回傳檢索到的上下文而不產生回應",onlyNeedPrompt:"僅需提示",onlyNeedPromptTooltip:"如果為True,僅回傳產生的提示而不產生回應",streamResponse:"串流回應",streamResponseTooltip:"如果為True,啟用即時串流輸出回應",userPrompt:"附加輸出提示詞",userPromptTooltip:"向LLM提供額外的響應要求(與查詢內容無關,僅用於處理輸出)。",userPromptPlaceholder:"輸入自定義提示詞(可選)",enableRerank:"啟用重排",enableRerankTooltip:"為檢索到的文本塊啟用重排。如果為True但未配置重排模型,將發出警告。默認為True。",maxEntityTokens:"實體令牌數上限",maxEntityTokensTooltip:"統一令牌控制系統中分配給實體上下文的最大令牌數",maxRelationTokens:"關係令牌數上限",maxRelationTokensTooltip:"統一令牌控制系統中分配給關係上下文的最大令牌數",maxTotalTokens:"總令牌數上限",maxTotalTokensTooltip:"整個查詢上下文的最大總令牌預算(實體+關係+文檔塊+系統提示)"}},but={loading:"正在載入 API 文件..."},yut={title:"需要 API key",description:"請輸入您的 API key 以存取服務",placeholder:"請輸入 API key",save:"儲存"},vut={showing:"顯示第 {{start}} 到 {{end}} 筆,共 {{total}} 筆記錄",page:"頁",pageSize:"每頁顯示",firstPage:"第一頁",prevPage:"上一頁",nextPage:"下一頁",lastPage:"最後一頁"},Fut={settings:cut,header:dut,login:hut,common:put,documentPanel:fut,graphPanel:mut,retrievePanel:gut,apiSite:but,apiKeyAlert:yut,pagination:vut},Eut=()=>{var e;try{const t=localStorage.getItem("settings-storage");if(t)return((e=JSON.parse(t).state)==null?void 0:e.language)||"en"}catch(t){console.error("Failed to get stored language:",t)}return"en"};Kn.use(Sbe).init({resources:{en:{translation:Dlt},zh:{translation:Ult},fr:{translation:Zlt},ar:{translation:uut},zh_TW:{translation:Fut}},lng:Eut(),fallbackLng:"en",interpolation:{escapeValue:!1},returnEmptyString:!1,returnNull:!1});rt.subscribe(e=>{const t=e.language;Kn.language!==t&&Kn.changeLanguage(t)});phe.createRoot(document.getElementById("root")).render(S.jsx(T.StrictMode,{children:S.jsx(elt,{})}));export{Bne as $,vm as A,eze as B,qze as C,DN as D,ai as E,Cne as F,FVe as G,QYe as H,yH as I,QHe as J,lze as K,zh as L,Lct as M,N2 as N,Ine as O,X5 as P,uz as Q,Aje as R,Db as S,vVe as T,_0 as U,Lze as V,A0 as W,kt as X,Ut as Y,dVe as Z,H as _,zze as a,HB as a$,wje as a0,Lz as a1,Nz as a2,jct as a3,zct as a4,Gct as a5,Uct as a6,Bct as a7,qd as a8,gN as a9,sVe as aA,Qqe as aB,eVe as aC,EN as aD,CH as aE,MKe as aF,kje as aG,On as aH,O0 as aI,NKe as aJ,RKe as aK,hN as aL,ru as aM,Cz as aN,a$e as aO,Wm as aP,Zc as aQ,lVe as aR,Coe as aS,T2 as aT,R2 as aU,jy as aV,Aoe as aW,koe as aX,PWe as aY,Pt as aZ,vie as a_,$ct as aa,Pct as ab,Wct as ac,qct as ad,Hct as ae,iYe as af,Nle as ag,rdt as ah,tUe as ai,Vn as aj,_u as ak,lN as al,sse as am,td as an,Moe as ao,tr as ap,os as aq,XYe as ar,tdt as as,ndt as at,Qct as au,Bt as av,edt as aw,NYe as ax,AYe as ay,TYe as az,Pze as b,IB as b0,hc as b1,u2 as b2,Jte as b3,fv as b4,aMe as b5,ri as b6,JGe as b7,dN as b8,Lie as b9,Kqe as bA,Fp as bB,Au as bC,$z as bD,wN as bE,Eoe as bF,_6 as bG,uVe as bH,D2 as bI,Br as bJ,N0 as ba,Oie as bb,Oct as bc,kPe as bd,oVe as be,QWe as bf,Hqe as bg,SN as bh,MWe as bi,cVe as bj,M0 as bk,vp as bl,Uy as bm,qWe as bn,FXe as bo,L0 as bp,$y as bq,zWe as br,voe as bs,$qe as bt,jqe as bu,lc as bv,Kz as bw,qqe as bx,xN as by,Gqe as bz,Or as c,Rr as d,One as e,ga as f,Uze as g,fl as h,Ic as i,oUe as j,bp as k,je as l,Ooe as m,Mct as n,idt as o,Gze as p,$ze as q,adt as r,Hze as s,eUe as t,Qo as u,wYe as v,xVe as w,Vct as x,Bze as y,Ict as z};
|