@imenam/mcp-documentor 1.0.92 → 1.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/README.md +343 -327
  2. package/dist/src/core/git-sync.js +1 -0
  3. package/dist/src/core/publication-store.d.ts +76 -0
  4. package/dist/src/core/publication-store.js +180 -0
  5. package/dist/src/gui-worker.js +133 -1
  6. package/dist/src/index.js +110 -3
  7. package/gui/dist/assets/DocContent-BxncLHIS.css +1 -0
  8. package/gui/dist/assets/DocContent-qNz5QMPa.js +346 -0
  9. package/gui/dist/assets/arc-DvP0UOkD.js +1 -0
  10. package/gui/dist/assets/architectureDiagram-3BPJPVTR-3wEHUA1o.js +36 -0
  11. package/gui/dist/assets/{blockDiagram-GPEHLZMM-CgILcS8Q.js → blockDiagram-GPEHLZMM-C01nZdXH.js} +1 -1
  12. package/gui/dist/assets/{c4Diagram-AAUBKEIU-ByGBdJcU.js → c4Diagram-AAUBKEIU-C995ER45.js} +1 -1
  13. package/gui/dist/assets/channel-Cjefy81D.js +1 -0
  14. package/gui/dist/assets/chunk-2J33WTMH-B7Z-cZqf.js +1 -0
  15. package/gui/dist/assets/chunk-4BX2VUAB-BRtaRRAZ.js +1 -0
  16. package/gui/dist/assets/chunk-55IACEB6-CZbPaYTs.js +1 -0
  17. package/gui/dist/assets/{chunk-727SXJPM-B0BlALdx.js → chunk-727SXJPM-BMKPsW_V.js} +1 -1
  18. package/gui/dist/assets/{chunk-AQP2D5EJ-DlKhB6LK.js → chunk-AQP2D5EJ-BQJRaqJz.js} +1 -1
  19. package/gui/dist/assets/{chunk-FMBD7UC4-DBTqXHP1.js → chunk-FMBD7UC4-BiKjOUxU.js} +1 -1
  20. package/gui/dist/assets/chunk-ND2GUHAM-BQYUzZi5.js +1 -0
  21. package/gui/dist/assets/chunk-QZHKN3VN-C0mI_9k0.js +1 -0
  22. package/gui/dist/assets/classDiagram-4FO5ZUOK-U-TA2l-f.js +1 -0
  23. package/gui/dist/assets/classDiagram-v2-Q7XG4LA2-U-TA2l-f.js +1 -0
  24. package/gui/dist/assets/cose-bilkent-S5V4N54A-9QkakK6h.js +1 -0
  25. package/gui/dist/assets/dagre-BM42HDAG-p_TitJwo.js +4 -0
  26. package/gui/dist/assets/diagram-2AECGRRQ-T3ul_-C1.js +43 -0
  27. package/gui/dist/assets/diagram-5GNKFQAL-Cv4-mYjj.js +10 -0
  28. package/gui/dist/assets/{diagram-KO2AKTUF-B-LnaXtr.js → diagram-KO2AKTUF-GEuY7REm.js} +1 -1
  29. package/gui/dist/assets/diagram-LMA3HP47-BlZVA1ZL.js +24 -0
  30. package/gui/dist/assets/diagram-OG6HWLK6-DZ9muekA.js +24 -0
  31. package/gui/dist/assets/{erDiagram-TEJ5UH35-B7jlXuub.js → erDiagram-TEJ5UH35-BQ_TWeSA.js} +1 -1
  32. package/gui/dist/assets/{flowDiagram-I6XJVG4X-BjWyZsCs.js → flowDiagram-I6XJVG4X-BVxlCJhG.js} +1 -1
  33. package/gui/dist/assets/ganttDiagram-6RSMTGT7-DlHxknKg.js +292 -0
  34. package/gui/dist/assets/gitGraphDiagram-PVQCEYII-DYHNhcQ1.js +106 -0
  35. package/gui/dist/assets/infoDiagram-5YYISTIA-usWWgsgX.js +2 -0
  36. package/gui/dist/assets/{ishikawaDiagram-YF4QCWOH-De4Ds8bG.js → ishikawaDiagram-YF4QCWOH-GXA4mXdI.js} +1 -1
  37. package/gui/dist/assets/{journeyDiagram-JHISSGLW-Cjpgxilg.js → journeyDiagram-JHISSGLW-DuiQ_voI.js} +1 -1
  38. package/gui/dist/assets/{kanban-definition-UN3LZRKU-D8Y_Af2d.js → kanban-definition-UN3LZRKU-Cf5Zx4Ai.js} +1 -1
  39. package/gui/dist/assets/linear-Dxg5B9lZ.js +1 -0
  40. package/gui/dist/assets/main-BoIDzkiC.js +10 -0
  41. package/gui/dist/assets/main-DDy8gF40.css +1 -0
  42. package/gui/dist/assets/{mindmap-definition-RKZ34NQL-Cq_fBarD.js → mindmap-definition-RKZ34NQL-BI-GTubt.js} +1 -1
  43. package/gui/dist/assets/{pieDiagram-4H26LBE5-LGkTEx-6.js → pieDiagram-4H26LBE5-jm6JjM7-.js} +1 -1
  44. package/gui/dist/assets/public-5AzxUEZY.css +1 -0
  45. package/gui/dist/assets/public-BbfNIL4J.js +1 -0
  46. package/gui/dist/assets/{quadrantDiagram-W4KKPZXB-mgy_9RRW.js → quadrantDiagram-W4KKPZXB-D_FMBvP7.js} +1 -1
  47. package/gui/dist/assets/{requirementDiagram-4Y6WPE33-B_d8OEc3.js → requirementDiagram-4Y6WPE33-DrAnq7B5.js} +1 -1
  48. package/gui/dist/assets/{sankeyDiagram-5OEKKPKP-BgBLM80u.js → sankeyDiagram-5OEKKPKP-BBxMYinl.js} +1 -1
  49. package/gui/dist/assets/{sequenceDiagram-3UESZ5HK-B9GkqtWb.js → sequenceDiagram-3UESZ5HK-CzlReNxZ.js} +1 -1
  50. package/gui/dist/assets/stateDiagram-AJRCARHV-CAj_FaGh.js +1 -0
  51. package/gui/dist/assets/stateDiagram-v2-BHNVJYJU-DL8IxfA-.js +1 -0
  52. package/gui/dist/assets/{timeline-definition-PNZ67QCA-Dyx58rRr.js → timeline-definition-PNZ67QCA-CHzi4ypa.js} +1 -1
  53. package/gui/dist/assets/{vennDiagram-CIIHVFJN-IypthVr7.js → vennDiagram-CIIHVFJN-DT2hW75o.js} +1 -1
  54. package/gui/dist/assets/{wardley-L42UT6IY-DkLzWKUw.js → wardley-L42UT6IY-BBPqyjj6.js} +1 -1
  55. package/gui/dist/assets/{wardleyDiagram-YWT4CUSO-98VafNiZ.js → wardleyDiagram-YWT4CUSO-CoB6ihhL.js} +1 -1
  56. package/gui/dist/assets/{xychartDiagram-2RQKCTM6-dZj2dDaC.js → xychartDiagram-2RQKCTM6-FgTwWkea.js} +1 -1
  57. package/gui/dist/index.html +4 -2
  58. package/gui/dist/public.html +17 -0
  59. package/package.json +1 -1
  60. package/gui/dist/assets/arc-BbedxJ3W.js +0 -1
  61. package/gui/dist/assets/architectureDiagram-3BPJPVTR-DF3IYwLZ.js +0 -36
  62. package/gui/dist/assets/channel-CIJsZK_a.js +0 -1
  63. package/gui/dist/assets/chunk-2J33WTMH-DIk0ZeJ6.js +0 -1
  64. package/gui/dist/assets/chunk-4BX2VUAB-fF78mC-G.js +0 -1
  65. package/gui/dist/assets/chunk-55IACEB6-BzoqbAWn.js +0 -1
  66. package/gui/dist/assets/chunk-ND2GUHAM-BmMICe1L.js +0 -1
  67. package/gui/dist/assets/chunk-QZHKN3VN-DyEBqCzf.js +0 -1
  68. package/gui/dist/assets/classDiagram-4FO5ZUOK-LzEGnqT7.js +0 -1
  69. package/gui/dist/assets/classDiagram-v2-Q7XG4LA2-LzEGnqT7.js +0 -1
  70. package/gui/dist/assets/cose-bilkent-S5V4N54A-DMkNiOVz.js +0 -1
  71. package/gui/dist/assets/dagre-BM42HDAG-CEGX5APR.js +0 -4
  72. package/gui/dist/assets/diagram-2AECGRRQ-DHo40rfh.js +0 -43
  73. package/gui/dist/assets/diagram-5GNKFQAL-CPbyX-Jj.js +0 -10
  74. package/gui/dist/assets/diagram-LMA3HP47-gjnm6GxN.js +0 -24
  75. package/gui/dist/assets/diagram-OG6HWLK6-B_qc7WBs.js +0 -24
  76. package/gui/dist/assets/ganttDiagram-6RSMTGT7-CGdvXL_7.js +0 -292
  77. package/gui/dist/assets/gitGraphDiagram-PVQCEYII-TxUcHrcr.js +0 -106
  78. package/gui/dist/assets/index-ARDnpfWR.css +0 -1
  79. package/gui/dist/assets/index-CrG0yj-K.js +0 -355
  80. package/gui/dist/assets/infoDiagram-5YYISTIA-BElIHd-R.js +0 -2
  81. package/gui/dist/assets/linear-BB2LhUqA.js +0 -1
  82. package/gui/dist/assets/stateDiagram-AJRCARHV-UoRM2vqX.js +0 -1
  83. package/gui/dist/assets/stateDiagram-v2-BHNVJYJU-B7m-qaHs.js +0 -1
@@ -0,0 +1,346 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dagre-BM42HDAG-p_TitJwo.js","./graph--OzhPTMs.js","./layout-SsrduOYp.js","./cose-bilkent-S5V4N54A-9QkakK6h.js","./cytoscape.esm-DkOyvmE4.js","./c4Diagram-AAUBKEIU-C995ER45.js","./chunk-ND2GUHAM-BQYUzZi5.js","./flowDiagram-I6XJVG4X-BVxlCJhG.js","./chunk-FMBD7UC4-BiKjOUxU.js","./chunk-55IACEB6-CZbPaYTs.js","./chunk-2J33WTMH-B7Z-cZqf.js","./channel-Cjefy81D.js","./erDiagram-TEJ5UH35-BQ_TWeSA.js","./gitGraphDiagram-PVQCEYII-DYHNhcQ1.js","./chunk-4BX2VUAB-BRtaRRAZ.js","./chunk-QZHKN3VN-C0mI_9k0.js","./wardley-L42UT6IY-BBPqyjj6.js","./ganttDiagram-6RSMTGT7-DlHxknKg.js","./linear-Dxg5B9lZ.js","./init-Gi6I4Gst.js","./defaultLocale-DX6XiGOO.js","./infoDiagram-5YYISTIA-usWWgsgX.js","./pieDiagram-4H26LBE5-jm6JjM7-.js","./arc-DvP0UOkD.js","./ordinal-Cboi1Yqb.js","./quadrantDiagram-W4KKPZXB-D_FMBvP7.js","./xychartDiagram-2RQKCTM6-FgTwWkea.js","./requirementDiagram-4Y6WPE33-DrAnq7B5.js","./sequenceDiagram-3UESZ5HK-CzlReNxZ.js","./classDiagram-4FO5ZUOK-U-TA2l-f.js","./chunk-727SXJPM-BMKPsW_V.js","./classDiagram-v2-Q7XG4LA2-U-TA2l-f.js","./stateDiagram-AJRCARHV-CAj_FaGh.js","./chunk-AQP2D5EJ-BQJRaqJz.js","./stateDiagram-v2-BHNVJYJU-DL8IxfA-.js","./journeyDiagram-JHISSGLW-DuiQ_voI.js","./timeline-definition-PNZ67QCA-CHzi4ypa.js","./mindmap-definition-RKZ34NQL-BI-GTubt.js","./kanban-definition-UN3LZRKU-Cf5Zx4Ai.js","./sankeyDiagram-5OEKKPKP-BBxMYinl.js","./diagram-LMA3HP47-BlZVA1ZL.js","./diagram-2AECGRRQ-T3ul_-C1.js","./blockDiagram-GPEHLZMM-C01nZdXH.js","./diagram-5GNKFQAL-Cv4-mYjj.js","./architectureDiagram-3BPJPVTR-3wEHUA1o.js","./diagram-KO2AKTUF-GEuY7REm.js","./diagram-OG6HWLK6-DZ9muekA.js","./wardleyDiagram-YWT4CUSO-CoB6ihhL.js"])))=>i.map(i=>d[i]);
2
+ (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 s of a)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(a){if(a.ep)return;a.ep=!0;const s=r(a);fetch(a.href,s)}})();function Kd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gg={exports:{}},nc={};var ev;function ZM(){if(ev)return nc;ev=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,a,s){var l=null;if(s!==void 0&&(l=""+s),a.key!==void 0&&(l=""+a.key),"key"in a){s={};for(var c in a)c!=="key"&&(s[c]=a[c])}else s=a;return a=s.ref,{$$typeof:e,type:n,key:l,ref:a!==void 0?a:null,props:s}}return nc.Fragment=t,nc.jsx=r,nc.jsxs=r,nc}var tv;function KM(){return tv||(tv=1,Gg.exports=ZM()),Gg.exports}var vt=KM(),jg={exports:{}},Pe={};var rv;function QM(){if(rv)return Pe;rv=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"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function m(U){return U===null||typeof U!="object"?null:(U=b&&U[b]||U["@@iterator"],typeof U=="function"?U:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,k={};function x(U,ee,N){this.props=U,this.context=ee,this.refs=k,this.updater=N||C}x.prototype.isReactComponent={},x.prototype.setState=function(U,ee){if(typeof U!="object"&&typeof U!="function"&&U!=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,U,ee,"setState")},x.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};function w(){}w.prototype=x.prototype;function v(U,ee,N){this.props=U,this.context=ee,this.refs=k,this.updater=N||C}var O=v.prototype=new w;O.constructor=v,E(O,x.prototype),O.isPureReactComponent=!0;var F=Array.isArray;function R(){}var $={H:null,A:null,T:null,S:null},z=Object.prototype.hasOwnProperty;function K(U,ee,N){var de=N.ref;return{$$typeof:e,type:U,key:ee,ref:de!==void 0?de:null,props:N}}function M(U,ee){return K(U.type,ee,U.props)}function q(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function X(U){var ee={"=":"=0",":":"=2"};return"$"+U.replace(/[=:]/g,function(N){return ee[N]})}var J=/\/+/g;function W(U,ee){return typeof U=="object"&&U!==null&&U.key!=null?X(""+U.key):ee.toString(36)}function H(U){switch(U.status){case"fulfilled":return U.value;case"rejected":throw U.reason;default:switch(typeof U.status=="string"?U.then(R,R):(U.status="pending",U.then(function(ee){U.status==="pending"&&(U.status="fulfilled",U.value=ee)},function(ee){U.status==="pending"&&(U.status="rejected",U.reason=ee)})),U.status){case"fulfilled":return U.value;case"rejected":throw U.reason}}throw U}function I(U,ee,N,de,me){var ge=typeof U;(ge==="undefined"||ge==="boolean")&&(U=null);var Se=!1;if(U===null)Se=!0;else switch(ge){case"bigint":case"string":case"number":Se=!0;break;case"object":switch(U.$$typeof){case e:case t:Se=!0;break;case p:return Se=U._init,I(Se(U._payload),ee,N,de,me)}}if(Se)return me=me(U),Se=de===""?"."+W(U,0):de,F(me)?(N="",Se!=null&&(N=Se.replace(J,"$&/")+"/"),I(me,ee,N,"",function(qe){return qe})):me!=null&&(q(me)&&(me=M(me,N+(me.key==null||U&&U.key===me.key?"":(""+me.key).replace(J,"$&/")+"/")+Se)),ee.push(me)),1;Se=0;var Te=de===""?".":de+":";if(F(U))for(var Le=0;Le<U.length;Le++)de=U[Le],ge=Te+W(de,Le),Se+=I(de,ee,N,ge,me);else if(Le=m(U),typeof Le=="function")for(U=Le.call(U),Le=0;!(de=U.next()).done;)de=de.value,ge=Te+W(de,Le++),Se+=I(de,ee,N,ge,me);else if(ge==="object"){if(typeof U.then=="function")return I(H(U),ee,N,de,me);throw ee=String(U),Error("Objects are not valid as a React child (found: "+(ee==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":ee)+"). If you meant to render a collection of children, use an array instead.")}return Se}function P(U,ee,N){if(U==null)return U;var de=[],me=0;return I(U,de,"","",function(ge){return ee.call(N,ge,me++)}),de}function V(U){if(U._status===-1){var ee=U._result;ee=ee(),ee.then(function(N){(U._status===0||U._status===-1)&&(U._status=1,U._result=N)},function(N){(U._status===0||U._status===-1)&&(U._status=2,U._result=N)}),U._status===-1&&(U._status=0,U._result=ee)}if(U._status===1)return U._result.default;throw U._result}var se=typeof reportError=="function"?reportError:function(U){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ee=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof U=="object"&&U!==null&&typeof U.message=="string"?String(U.message):String(U),error:U});if(!window.dispatchEvent(ee))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",U);return}console.error(U)},L={map:P,forEach:function(U,ee,N){P(U,function(){ee.apply(this,arguments)},N)},count:function(U){var ee=0;return P(U,function(){ee++}),ee},toArray:function(U){return P(U,function(ee){return ee})||[]},only:function(U){if(!q(U))throw Error("React.Children.only expected to receive a single React element child.");return U}};return Pe.Activity=g,Pe.Children=L,Pe.Component=x,Pe.Fragment=r,Pe.Profiler=a,Pe.PureComponent=v,Pe.StrictMode=n,Pe.Suspense=h,Pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Pe.__COMPILER_RUNTIME={__proto__:null,c:function(U){return $.H.useMemoCache(U)}},Pe.cache=function(U){return function(){return U.apply(null,arguments)}},Pe.cacheSignal=function(){return null},Pe.cloneElement=function(U,ee,N){if(U==null)throw Error("The argument must be a React element, but you passed "+U+".");var de=E({},U.props),me=U.key;if(ee!=null)for(ge in ee.key!==void 0&&(me=""+ee.key),ee)!z.call(ee,ge)||ge==="key"||ge==="__self"||ge==="__source"||ge==="ref"&&ee.ref===void 0||(de[ge]=ee[ge]);var ge=arguments.length-2;if(ge===1)de.children=N;else if(1<ge){for(var Se=Array(ge),Te=0;Te<ge;Te++)Se[Te]=arguments[Te+2];de.children=Se}return K(U.type,me,de)},Pe.createContext=function(U){return U={$$typeof:l,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null},U.Provider=U,U.Consumer={$$typeof:s,_context:U},U},Pe.createElement=function(U,ee,N){var de,me={},ge=null;if(ee!=null)for(de in ee.key!==void 0&&(ge=""+ee.key),ee)z.call(ee,de)&&de!=="key"&&de!=="__self"&&de!=="__source"&&(me[de]=ee[de]);var Se=arguments.length-2;if(Se===1)me.children=N;else if(1<Se){for(var Te=Array(Se),Le=0;Le<Se;Le++)Te[Le]=arguments[Le+2];me.children=Te}if(U&&U.defaultProps)for(de in Se=U.defaultProps,Se)me[de]===void 0&&(me[de]=Se[de]);return K(U,ge,me)},Pe.createRef=function(){return{current:null}},Pe.forwardRef=function(U){return{$$typeof:c,render:U}},Pe.isValidElement=q,Pe.lazy=function(U){return{$$typeof:p,_payload:{_status:-1,_result:U},_init:V}},Pe.memo=function(U,ee){return{$$typeof:d,type:U,compare:ee===void 0?null:ee}},Pe.startTransition=function(U){var ee=$.T,N={};$.T=N;try{var de=U(),me=$.S;me!==null&&me(N,de),typeof de=="object"&&de!==null&&typeof de.then=="function"&&de.then(R,se)}catch(ge){se(ge)}finally{ee!==null&&N.types!==null&&(ee.types=N.types),$.T=ee}},Pe.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Pe.use=function(U){return $.H.use(U)},Pe.useActionState=function(U,ee,N){return $.H.useActionState(U,ee,N)},Pe.useCallback=function(U,ee){return $.H.useCallback(U,ee)},Pe.useContext=function(U){return $.H.useContext(U)},Pe.useDebugValue=function(){},Pe.useDeferredValue=function(U,ee){return $.H.useDeferredValue(U,ee)},Pe.useEffect=function(U,ee){return $.H.useEffect(U,ee)},Pe.useEffectEvent=function(U){return $.H.useEffectEvent(U)},Pe.useId=function(){return $.H.useId()},Pe.useImperativeHandle=function(U,ee,N){return $.H.useImperativeHandle(U,ee,N)},Pe.useInsertionEffect=function(U,ee){return $.H.useInsertionEffect(U,ee)},Pe.useLayoutEffect=function(U,ee){return $.H.useLayoutEffect(U,ee)},Pe.useMemo=function(U,ee){return $.H.useMemo(U,ee)},Pe.useOptimistic=function(U,ee){return $.H.useOptimistic(U,ee)},Pe.useReducer=function(U,ee,N){return $.H.useReducer(U,ee,N)},Pe.useRef=function(U){return $.H.useRef(U)},Pe.useState=function(U){return $.H.useState(U)},Pe.useSyncExternalStore=function(U,ee,N){return $.H.useSyncExternalStore(U,ee,N)},Pe.useTransition=function(){return $.H.useTransition()},Pe.version="19.2.4",Pe}var nv;function Kb(){return nv||(nv=1,jg.exports=QM()),jg.exports}var Tr=Kb();const Ta=Kd(Tr);var Wg={exports:{}},ic={},Yg={exports:{}},Vg={};var iv;function JM(){return iv||(iv=1,(function(e){function t(I,P){var V=I.length;I.push(P);e:for(;0<V;){var se=V-1>>>1,L=I[se];if(0<a(L,P))I[se]=P,I[V]=L,V=se;else break e}}function r(I){return I.length===0?null:I[0]}function n(I){if(I.length===0)return null;var P=I[0],V=I.pop();if(V!==P){I[0]=V;e:for(var se=0,L=I.length,U=L>>>1;se<U;){var ee=2*(se+1)-1,N=I[ee],de=ee+1,me=I[de];if(0>a(N,V))de<L&&0>a(me,N)?(I[se]=me,I[de]=V,se=de):(I[se]=N,I[ee]=V,se=ee);else if(de<L&&0>a(me,V))I[se]=me,I[de]=V,se=de;else break e}}return P}function a(I,P){var V=I.sortIndex-P.sortIndex;return V!==0?V:I.id-P.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var h=[],d=[],p=1,g=null,b=3,m=!1,C=!1,E=!1,k=!1,x=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;function O(I){for(var P=r(d);P!==null;){if(P.callback===null)n(d);else if(P.startTime<=I)n(d),P.sortIndex=P.expirationTime,t(h,P);else break;P=r(d)}}function F(I){if(E=!1,O(I),!C)if(r(h)!==null)C=!0,R||(R=!0,X());else{var P=r(d);P!==null&&H(F,P.startTime-I)}}var R=!1,$=-1,z=5,K=-1;function M(){return k?!0:!(e.unstable_now()-K<z)}function q(){if(k=!1,R){var I=e.unstable_now();K=I;var P=!0;try{e:{C=!1,E&&(E=!1,w($),$=-1),m=!0;var V=b;try{t:{for(O(I),g=r(h);g!==null&&!(g.expirationTime>I&&M());){var se=g.callback;if(typeof se=="function"){g.callback=null,b=g.priorityLevel;var L=se(g.expirationTime<=I);if(I=e.unstable_now(),typeof L=="function"){g.callback=L,O(I),P=!0;break t}g===r(h)&&n(h),O(I)}else n(h);g=r(h)}if(g!==null)P=!0;else{var U=r(d);U!==null&&H(F,U.startTime-I),P=!1}}break e}finally{g=null,b=V,m=!1}P=void 0}}finally{P?X():R=!1}}}var X;if(typeof v=="function")X=function(){v(q)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,W=J.port2;J.port1.onmessage=q,X=function(){W.postMessage(null)}}else X=function(){x(q,0)};function H(I,P){$=x(function(){I(e.unstable_now())},P)}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(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(I){switch(b){case 1:case 2:case 3:var P=3;break;default:P=b}var V=b;b=P;try{return I()}finally{b=V}},e.unstable_requestPaint=function(){k=!0},e.unstable_runWithPriority=function(I,P){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var V=b;b=I;try{return P()}finally{b=V}},e.unstable_scheduleCallback=function(I,P,V){var se=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?se+V:se):V=se,I){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=V+L,I={id:p++,callback:P,priorityLevel:I,startTime:V,expirationTime:L,sortIndex:-1},V>se?(I.sortIndex=V,t(d,I),r(h)===null&&I===r(d)&&(E?(w($),$=-1):E=!0,H(F,V-se))):(I.sortIndex=L,t(h,I),C||m||(C=!0,R||(R=!0,X()))),I},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(I){var P=b;return function(){var V=b;b=P;try{return I.apply(this,arguments)}finally{b=V}}}})(Vg)),Vg}var av;function e3(){return av||(av=1,Yg.exports=JM()),Yg.exports}var Xg={exports:{}},Er={};var ov;function t3(){if(ov)return Er;ov=1;var e=Kb();function t(h){var d="https://react.dev/errors/"+h;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)d+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+h+"; visit "+d+" 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 s(h,d,p){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:g==null?null:""+g,children:h,containerInfo:d,implementation:p}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(h,d){if(h==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return Er.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Er.createPortal=function(h,d){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return s(h,d,null,p)},Er.flushSync=function(h){var d=l.T,p=n.p;try{if(l.T=null,n.p=2,h)return h()}finally{l.T=d,n.p=p,n.d.f()}},Er.preconnect=function(h,d){typeof h=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,n.d.C(h,d))},Er.prefetchDNS=function(h){typeof h=="string"&&n.d.D(h)},Er.preinit=function(h,d){if(typeof h=="string"&&d&&typeof d.as=="string"){var p=d.as,g=c(p,d.crossOrigin),b=typeof d.integrity=="string"?d.integrity:void 0,m=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;p==="style"?n.d.S(h,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:m}):p==="script"&&n.d.X(h,{crossOrigin:g,integrity:b,fetchPriority:m,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},Er.preinitModule=function(h,d){if(typeof h=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var p=c(d.as,d.crossOrigin);n.d.M(h,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&n.d.M(h)},Er.preload=function(h,d){if(typeof h=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var p=d.as,g=c(p,d.crossOrigin);n.d.L(h,p,{crossOrigin:g,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},Er.preloadModule=function(h,d){if(typeof h=="string")if(d){var p=c(d.as,d.crossOrigin);n.d.m(h,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else n.d.m(h)},Er.requestFormReset=function(h){n.d.r(h)},Er.unstable_batchedUpdates=function(h,d){return h(d)},Er.useFormState=function(h,d,p){return l.H.useFormState(h,d,p)},Er.useFormStatus=function(){return l.H.useHostTransitionStatus()},Er.version="19.2.4",Er}var sv;function r3(){if(sv)return Xg.exports;sv=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(),Xg.exports=t3(),Xg.exports}var lv;function n3(){if(lv)return ic;lv=1;var e=e3(),t=Kb(),r=r3();function n(i){var o="https://react.dev/errors/"+i;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)o+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var o=i,u=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(u=o.return),i=o.return;while(i)}return o.tag===3?u:null}function l(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function c(i){if(i.tag===31){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function h(i){if(s(i)!==i)throw Error(n(188))}function d(i){var o=i.alternate;if(!o){if(o=s(i),o===null)throw Error(n(188));return o!==i?null:i}for(var u=i,f=o;;){var y=u.return;if(y===null)break;var S=y.alternate;if(S===null){if(f=y.return,f!==null){u=f;continue}break}if(y.child===S.child){for(S=y.child;S;){if(S===u)return h(y),i;if(S===f)return h(y),o;S=S.sibling}throw Error(n(188))}if(u.return!==f.return)u=y,f=S;else{for(var _=!1,D=y.child;D;){if(D===u){_=!0,u=y,f=S;break}if(D===f){_=!0,f=y,u=S;break}D=D.sibling}if(!_){for(D=S.child;D;){if(D===u){_=!0,u=S,f=y;break}if(D===f){_=!0,f=S,u=y;break}D=D.sibling}if(!_)throw Error(n(189))}}if(u.alternate!==f)throw Error(n(190))}if(u.tag!==3)throw Error(n(188));return u.stateNode.current===u?i:o}function p(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i;for(i=i.child;i!==null;){if(o=p(i),o!==null)return o;i=i.sibling}return null}var g=Object.assign,b=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),v=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),M=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function X(i){return i===null||typeof i!="object"?null:(i=q&&i[q]||i["@@iterator"],typeof i=="function"?i:null)}var J=Symbol.for("react.client.reference");function W(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===J?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case E:return"Fragment";case x:return"Profiler";case k:return"StrictMode";case F:return"Suspense";case R:return"SuspenseList";case K:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case C:return"Portal";case v:return i.displayName||"Context";case w:return(i._context.displayName||"Context")+".Consumer";case O:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case $:return o=i.displayName||null,o!==null?o:W(i.type)||"Memo";case z:o=i._payload,i=i._init;try{return W(i(o))}catch{}}return null}var H=Array.isArray,I=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},se=[],L=-1;function U(i){return{current:i}}function ee(i){0>L||(i.current=se[L],se[L]=null,L--)}function N(i,o){L++,se[L]=i.current,i.current=o}var de=U(null),me=U(null),ge=U(null),Se=U(null);function Te(i,o){switch(N(ge,o),N(me,i),N(de,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?kw(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=kw(o),i=Tw(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}ee(de),N(de,i)}function Le(){ee(de),ee(me),ee(ge)}function qe(i){i.memoizedState!==null&&N(Se,i);var o=de.current,u=Tw(o,i.type);o!==u&&(N(me,i),N(de,u))}function lt(i){me.current===i&&(ee(de),ee(me)),Se.current===i&&(ee(Se),Jl._currentValue=V)}var ur,ar;function Jt(i){if(ur===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);ur=o&&o[1]||"",ar=-1<u.stack.indexOf(`
3
+ at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
4
+ `+ur+i+ar}var Pr=!1;function Xn(i,o){if(!i||Pr)return"";Pr=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(o){var he=function(){throw Error()};if(Object.defineProperty(he.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(he,[])}catch(oe){var ne=oe}Reflect.construct(i,[],he)}else{try{he.call()}catch(oe){ne=oe}i.call(he.prototype)}}else{try{throw Error()}catch(oe){ne=oe}(he=i())&&typeof he.catch=="function"&&he.catch(function(){})}}catch(oe){if(oe&&ne&&typeof oe.stack=="string")return[oe.stack,ne.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=f.DetermineComponentFrameRoot(),_=S[0],D=S[1];if(_&&D){var j=_.split(`
5
+ `),re=D.split(`
6
+ `);for(y=f=0;f<j.length&&!j[f].includes("DetermineComponentFrameRoot");)f++;for(;y<re.length&&!re[y].includes("DetermineComponentFrameRoot");)y++;if(f===j.length||y===re.length)for(f=j.length-1,y=re.length-1;1<=f&&0<=y&&j[f]!==re[y];)y--;for(;1<=f&&0<=y;f--,y--)if(j[f]!==re[y]){if(f!==1||y!==1)do if(f--,y--,0>y||j[f]!==re[y]){var ce=`
7
+ `+j[f].replace(" at new "," at ");return i.displayName&&ce.includes("<anonymous>")&&(ce=ce.replace("<anonymous>",i.displayName)),ce}while(1<=f&&0<=y);break}}}finally{Pr=!1,Error.prepareStackTrace=u}return(u=i?i.displayName||i.name:"")?Jt(u):""}function Wi(i,o){switch(i.tag){case 26:case 27:case 5:return Jt(i.type);case 16:return Jt("Lazy");case 13:return i.child!==o&&o!==null?Jt("Suspense Fallback"):Jt("Suspense");case 19:return Jt("SuspenseList");case 0:case 15:return Xn(i.type,!1);case 11:return Xn(i.type.render,!1);case 1:return Xn(i.type,!0);case 31:return Jt("Activity");default:return""}}function Ln(i){try{var o="",u=null;do o+=Wi(i,u),u=i,i=i.return;while(i);return o}catch(f){return`
8
+ Error generating stack: `+f.message+`
9
+ `+f.stack}}var Nn=Object.prototype.hasOwnProperty,On=e.unstable_scheduleCallback,Yi=e.unstable_cancelCallback,ko=e.unstable_shouldYield,To=e.unstable_requestPaint,er=e.unstable_now,di=e.unstable_getCurrentPriorityLevel,le=e.unstable_ImmediatePriority,be=e.unstable_UserBlockingPriority,Oe=e.unstable_NormalPriority,Ye=e.unstable_LowPriority,st=e.unstable_IdlePriority,hr=e.log,fn=e.unstable_setDisableYieldValue,Gt=null,At=null;function Tt(i){if(typeof hr=="function"&&fn(i),At&&typeof At.setStrictMode=="function")try{At.setStrictMode(Gt,i)}catch{}}var at=Math.clz32?Math.clz32:Ip,gn=Math.log,Lr=Math.LN2;function Ip(i){return i>>>=0,i===0?32:31-(gn(i)/Lr|0)|0}var Vi=256,Xi=262144,_o=4194304;function tn(i){var o=i&42;if(o!==0)return o;switch(i&-i){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:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function wo(i,o,u){var f=i.pendingLanes;if(f===0)return 0;var y=0,S=i.suspendedLanes,_=i.pingedLanes;i=i.warmLanes;var D=f&134217727;return D!==0?(f=D&~S,f!==0?y=tn(f):(_&=D,_!==0?y=tn(_):u||(u=D&~i,u!==0&&(y=tn(u))))):(D=f&~S,D!==0?y=tn(D):_!==0?y=tn(_):u||(u=f&~i,u!==0&&(y=tn(u)))),y===0?0:o!==0&&o!==y&&(o&S)===0&&(S=y&-y,u=o&-o,S>=u||S===32&&(u&4194048)!==0)?o:y}function Fa(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function Ut(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32: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 o+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 pi(){var i=_o;return _o<<=1,(_o&62914560)===0&&(_o=4194304),i}function sl(i){for(var o=[],u=0;31>u;u++)o.push(i);return o}function Zi(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function ll(i,o,u,f,y,S){var _=i.pendingLanes;i.pendingLanes=u,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=u,i.entangledLanes&=u,i.errorRecoveryDisabledLanes&=u,i.shellSuspendCounter=0;var D=i.entanglements,j=i.expirationTimes,re=i.hiddenUpdates;for(u=_&~u;0<u;){var ce=31-at(u),he=1<<ce;D[ce]=0,j[ce]=-1;var ne=re[ce];if(ne!==null)for(re[ce]=null,ce=0;ce<ne.length;ce++){var oe=ne[ce];oe!==null&&(oe.lane&=-536870913)}u&=~he}f!==0&&cl(i,f,0),S!==0&&y===0&&i.tag!==0&&(i.suspendedLanes|=S&~(_&~o))}function cl(i,o,u){i.pendingLanes|=o,i.suspendedLanes&=~o;var f=31-at(o);i.entangledLanes|=o,i.entanglements[f]=i.entanglements[f]|1073741824|u&261930}function ul(i,o){var u=i.entangledLanes|=o;for(i=i.entanglements;u;){var f=31-at(u),y=1<<f;y&o|i[f]&o&&(i[f]|=o),u&=~y}}function Cu(i,o){var u=o&-o;return u=(u&42)!==0?1:Nr(u),(u&(i.suspendedLanes|o))!==0?0:u}function Nr(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;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:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function In(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function hl(){var i=P.p;return i!==0?i:(i=window.event,i===void 0?32:Yw(i.type))}function dl(i,o){var u=P.p;try{return P.p=i,o()}finally{P.p=u}}var mn=Math.random().toString(36).slice(2),$t="__reactFiber$"+mn,Rt="__reactProps$"+mn,fi="__reactContainer$"+mn,vo="__reactEvents$"+mn,Bp="__reactListeners$"+mn,Eu="__reactHandles$"+mn,pl="__reactResources$"+mn,Ki="__reactMarker$"+mn;function De(i){delete i[$t],delete i[Rt],delete i[vo],delete i[Bp],delete i[Eu]}function G(i){var o=i[$t];if(o)return o;for(var u=i.parentNode;u;){if(o=u[fi]||u[$t]){if(u=o.alternate,o.child!==null||u!==null&&u.child!==null)for(i=Lw(i);i!==null;){if(u=i[$t])return u;i=Lw(i)}return o}i=u,u=i.parentNode}return null}function fe(i){if(i=i[$t]||i[fi]){var o=i.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return i}return null}function Ee(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i.stateNode;throw Error(n(33))}function pt(i){var o=i[pl];return o||(o=i[pl]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function tt(i){i[Ki]=!0}var Nt=new Set,dr={};function jt(i,o){or(i,o),or(i+"Capture",o)}function or(i,o){for(dr[i]=o,i=0;i<o.length;i++)Nt.add(o[i])}var fl=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]*$"),zt={},gl={};function xu(i){return Nn.call(gl,i)?!0:Nn.call(zt,i)?!1:fl.test(i)?gl[i]=!0:(zt[i]=!0,!1)}function ku(i,o,u){if(xu(o))if(u===null)i.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":i.removeAttribute(o);return;case"boolean":var f=o.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){i.removeAttribute(o);return}}i.setAttribute(o,""+u)}}function Tu(i,o,u){if(u===null)i.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(o);return}i.setAttribute(o,""+u)}}function gi(i,o,u,f){if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttributeNS(o,u,""+f)}}function bn(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function gk(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function qB(i,o,u){var f=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);if(!i.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var y=f.get,S=f.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return y.call(this)},set:function(_){u=""+_,S.call(this,_)}}),Object.defineProperty(i,o,{enumerable:f.enumerable}),{getValue:function(){return u},setValue:function(_){u=""+_},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function Fp(i){if(!i._valueTracker){var o=gk(i)?"checked":"value";i._valueTracker=qB(i,o,""+i[o])}}function mk(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var u=o.getValue(),f="";return i&&(f=gk(i)?i.checked?"true":"false":i.value),i=f,i!==u?(o.setValue(i),!0):!1}function _u(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var GB=/[\n"\\]/g;function yn(i){return i.replace(GB,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function Mp(i,o,u,f,y,S,_,D){i.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?i.type=_:i.removeAttribute("type"),o!=null?_==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=""+bn(o)):i.value!==""+bn(o)&&(i.value=""+bn(o)):_!=="submit"&&_!=="reset"||i.removeAttribute("value"),o!=null?Up(i,_,bn(o)):u!=null?Up(i,_,bn(u)):f!=null&&i.removeAttribute("value"),y==null&&S!=null&&(i.defaultChecked=!!S),y!=null&&(i.checked=y&&typeof y!="function"&&typeof y!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?i.name=""+bn(D):i.removeAttribute("name")}function bk(i,o,u,f,y,S,_,D){if(S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(i.type=S),o!=null||u!=null){if(!(S!=="submit"&&S!=="reset"||o!=null)){Fp(i);return}u=u!=null?""+bn(u):"",o=o!=null?""+bn(o):u,D||o===i.value||(i.value=o),i.defaultValue=o}f=f??y,f=typeof f!="function"&&typeof f!="symbol"&&!!f,i.checked=D?i.checked:!!f,i.defaultChecked=!!f,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(i.name=_),Fp(i)}function Up(i,o,u){o==="number"&&_u(i.ownerDocument)===i||i.defaultValue===""+u||(i.defaultValue=""+u)}function Ao(i,o,u,f){if(i=i.options,o){o={};for(var y=0;y<u.length;y++)o["$"+u[y]]=!0;for(u=0;u<i.length;u++)y=o.hasOwnProperty("$"+i[u].value),i[u].selected!==y&&(i[u].selected=y),y&&f&&(i[u].defaultSelected=!0)}else{for(u=""+bn(u),o=null,y=0;y<i.length;y++){if(i[y].value===u){i[y].selected=!0,f&&(i[y].defaultSelected=!0);return}o!==null||i[y].disabled||(o=i[y])}o!==null&&(o.selected=!0)}}function yk(i,o,u){if(o!=null&&(o=""+bn(o),o!==i.value&&(i.value=o),u==null)){i.defaultValue!==o&&(i.defaultValue=o);return}i.defaultValue=u!=null?""+bn(u):""}function Sk(i,o,u,f){if(o==null){if(f!=null){if(u!=null)throw Error(n(92));if(H(f)){if(1<f.length)throw Error(n(93));f=f[0]}u=f}u==null&&(u=""),o=u}u=bn(o),i.defaultValue=u,f=i.textContent,f===u&&f!==""&&f!==null&&(i.value=f),Fp(i)}function Ro(i,o){if(o){var u=i.firstChild;if(u&&u===i.lastChild&&u.nodeType===3){u.nodeValue=o;return}}i.textContent=o}var jB=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 Ck(i,o,u){var f=o.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?f?i.setProperty(o,""):o==="float"?i.cssFloat="":i[o]="":f?i.setProperty(o,u):typeof u!="number"||u===0||jB.has(o)?o==="float"?i.cssFloat=u:i[o]=(""+u).trim():i[o]=u+"px"}function Ek(i,o,u){if(o!=null&&typeof o!="object")throw Error(n(62));if(i=i.style,u!=null){for(var f in u)!u.hasOwnProperty(f)||o!=null&&o.hasOwnProperty(f)||(f.indexOf("--")===0?i.setProperty(f,""):f==="float"?i.cssFloat="":i[f]="");for(var y in o)f=o[y],o.hasOwnProperty(y)&&u[y]!==f&&Ck(i,y,f)}else for(var S in o)o.hasOwnProperty(S)&&Ck(i,S,o[S])}function $p(i){if(i.indexOf("-")===-1)return!1;switch(i){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 WB=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"]]),YB=/^[\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 wu(i){return YB.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function mi(){}var zp=null;function Pp(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Do=null,Lo=null;function xk(i){var o=fe(i);if(o&&(i=o.stateNode)){var u=i[Rt]||null;e:switch(i=o.stateNode,o.type){case"input":if(Mp(i,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),o=u.name,u.type==="radio"&&o!=null){for(u=i;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+yn(""+o)+'"][type="radio"]'),o=0;o<u.length;o++){var f=u[o];if(f!==i&&f.form===i.form){var y=f[Rt]||null;if(!y)throw Error(n(90));Mp(f,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(o=0;o<u.length;o++)f=u[o],f.form===i.form&&mk(f)}break e;case"textarea":yk(i,u.value,u.defaultValue);break e;case"select":o=u.value,o!=null&&Ao(i,!!u.multiple,o,!1)}}}var Hp=!1;function kk(i,o,u){if(Hp)return i(o,u);Hp=!0;try{var f=i(o);return f}finally{if(Hp=!1,(Do!==null||Lo!==null)&&(ph(),Do&&(o=Do,i=Lo,Lo=Do=null,xk(o),i)))for(o=0;o<i.length;o++)xk(i[o])}}function ml(i,o){var u=i.stateNode;if(u===null)return null;var f=u[Rt]||null;if(f===null)return null;u=f[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(i=i.type,f=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!f;break e;default:i=!1}if(i)return null;if(u&&typeof u!="function")throw Error(n(231,o,typeof u));return u}var bi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qp=!1;if(bi)try{var bl={};Object.defineProperty(bl,"passive",{get:function(){qp=!0}}),window.addEventListener("test",bl,bl),window.removeEventListener("test",bl,bl)}catch{qp=!1}var Qi=null,Gp=null,vu=null;function Tk(){if(vu)return vu;var i,o=Gp,u=o.length,f,y="value"in Qi?Qi.value:Qi.textContent,S=y.length;for(i=0;i<u&&o[i]===y[i];i++);var _=u-i;for(f=1;f<=_&&o[u-f]===y[S-f];f++);return vu=y.slice(i,1<f?1-f:void 0)}function Au(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function Ru(){return!0}function _k(){return!1}function Hr(i){function o(u,f,y,S,_){this._reactName=u,this._targetInst=y,this.type=f,this.nativeEvent=S,this.target=_,this.currentTarget=null;for(var D in i)i.hasOwnProperty(D)&&(u=i[D],this[D]=u?u(S):S[D]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?Ru:_k,this.isPropagationStopped=_k,this}return g(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Ru)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Ru)},persist:function(){},isPersistent:Ru}),o}var Ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Du=Hr(Ma),yl=g({},Ma,{view:0,detail:0}),VB=Hr(yl),jp,Wp,Sl,Lu=g({},yl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vp,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Sl&&(Sl&&i.type==="mousemove"?(jp=i.screenX-Sl.screenX,Wp=i.screenY-Sl.screenY):Wp=jp=0,Sl=i),jp)},movementY:function(i){return"movementY"in i?i.movementY:Wp}}),wk=Hr(Lu),XB=g({},Lu,{dataTransfer:0}),ZB=Hr(XB),KB=g({},yl,{relatedTarget:0}),Yp=Hr(KB),QB=g({},Ma,{animationName:0,elapsedTime:0,pseudoElement:0}),JB=Hr(QB),eF=g({},Ma,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),tF=Hr(eF),rF=g({},Ma,{data:0}),vk=Hr(rF),nF={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iF={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"},aF={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oF(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=aF[i])?!!o[i]:!1}function Vp(){return oF}var sF=g({},yl,{key:function(i){if(i.key){var o=nF[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=Au(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?iF[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vp,charCode:function(i){return i.type==="keypress"?Au(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Au(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),lF=Hr(sF),cF=g({},Lu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ak=Hr(cF),uF=g({},yl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vp}),hF=Hr(uF),dF=g({},Ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),pF=Hr(dF),fF=g({},Lu,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),gF=Hr(fF),mF=g({},Ma,{newState:0,oldState:0}),bF=Hr(mF),yF=[9,13,27,32],Xp=bi&&"CompositionEvent"in window,Cl=null;bi&&"documentMode"in document&&(Cl=document.documentMode);var SF=bi&&"TextEvent"in window&&!Cl,Rk=bi&&(!Xp||Cl&&8<Cl&&11>=Cl),Dk=" ",Lk=!1;function Nk(i,o){switch(i){case"keyup":return yF.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ok(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var No=!1;function CF(i,o){switch(i){case"compositionend":return Ok(o);case"keypress":return o.which!==32?null:(Lk=!0,Dk);case"textInput":return i=o.data,i===Dk&&Lk?null:i;default:return null}}function EF(i,o){if(No)return i==="compositionend"||!Xp&&Nk(i,o)?(i=Tk(),vu=Gp=Qi=null,No=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Rk&&o.locale!=="ko"?null:o.data;default:return null}}var xF={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 Ik(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!xF[i.type]:o==="textarea"}function Bk(i,o,u,f){Do?Lo?Lo.push(f):Lo=[f]:Do=f,o=Ch(o,"onChange"),0<o.length&&(u=new Du("onChange","change",null,u,f),i.push({event:u,listeners:o}))}var El=null,xl=null;function kF(i){bw(i,0)}function Nu(i){var o=Ee(i);if(mk(o))return i}function Fk(i,o){if(i==="change")return o}var Mk=!1;if(bi){var Zp;if(bi){var Kp="oninput"in document;if(!Kp){var Uk=document.createElement("div");Uk.setAttribute("oninput","return;"),Kp=typeof Uk.oninput=="function"}Zp=Kp}else Zp=!1;Mk=Zp&&(!document.documentMode||9<document.documentMode)}function $k(){El&&(El.detachEvent("onpropertychange",zk),xl=El=null)}function zk(i){if(i.propertyName==="value"&&Nu(xl)){var o=[];Bk(o,xl,i,Pp(i)),kk(kF,o)}}function TF(i,o,u){i==="focusin"?($k(),El=o,xl=u,El.attachEvent("onpropertychange",zk)):i==="focusout"&&$k()}function _F(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Nu(xl)}function wF(i,o){if(i==="click")return Nu(o)}function vF(i,o){if(i==="input"||i==="change")return Nu(o)}function AF(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var rn=typeof Object.is=="function"?Object.is:AF;function kl(i,o){if(rn(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var u=Object.keys(i),f=Object.keys(o);if(u.length!==f.length)return!1;for(f=0;f<u.length;f++){var y=u[f];if(!Nn.call(o,y)||!rn(i[y],o[y]))return!1}return!0}function Pk(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Hk(i,o){var u=Pk(i);i=0;for(var f;u;){if(u.nodeType===3){if(f=i+u.textContent.length,i<=o&&f>=o)return{node:u,offset:o-i};i=f}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Pk(u)}}function qk(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?qk(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Gk(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var o=_u(i.document);o instanceof i.HTMLIFrameElement;){try{var u=typeof o.contentWindow.location.href=="string"}catch{u=!1}if(u)i=o.contentWindow;else break;o=_u(i.document)}return o}function Qp(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}var RF=bi&&"documentMode"in document&&11>=document.documentMode,Oo=null,Jp=null,Tl=null,ef=!1;function jk(i,o,u){var f=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;ef||Oo==null||Oo!==_u(f)||(f=Oo,"selectionStart"in f&&Qp(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Tl&&kl(Tl,f)||(Tl=f,f=Ch(Jp,"onSelect"),0<f.length&&(o=new Du("onSelect","select",null,o,u),i.push({event:o,listeners:f}),o.target=Oo)))}function Ua(i,o){var u={};return u[i.toLowerCase()]=o.toLowerCase(),u["Webkit"+i]="webkit"+o,u["Moz"+i]="moz"+o,u}var Io={animationend:Ua("Animation","AnimationEnd"),animationiteration:Ua("Animation","AnimationIteration"),animationstart:Ua("Animation","AnimationStart"),transitionrun:Ua("Transition","TransitionRun"),transitionstart:Ua("Transition","TransitionStart"),transitioncancel:Ua("Transition","TransitionCancel"),transitionend:Ua("Transition","TransitionEnd")},tf={},Wk={};bi&&(Wk=document.createElement("div").style,"AnimationEvent"in window||(delete Io.animationend.animation,delete Io.animationiteration.animation,delete Io.animationstart.animation),"TransitionEvent"in window||delete Io.transitionend.transition);function $a(i){if(tf[i])return tf[i];if(!Io[i])return i;var o=Io[i],u;for(u in o)if(o.hasOwnProperty(u)&&u in Wk)return tf[i]=o[u];return i}var Yk=$a("animationend"),Vk=$a("animationiteration"),Xk=$a("animationstart"),DF=$a("transitionrun"),LF=$a("transitionstart"),NF=$a("transitioncancel"),Zk=$a("transitionend"),Kk=new Map,rf="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 toggle touchMove waiting wheel".split(" ");rf.push("scrollEnd");function Bn(i,o){Kk.set(i,o),jt(o,[i])}var Ou=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},Sn=[],Bo=0,nf=0;function Iu(){for(var i=Bo,o=nf=Bo=0;o<i;){var u=Sn[o];Sn[o++]=null;var f=Sn[o];Sn[o++]=null;var y=Sn[o];Sn[o++]=null;var S=Sn[o];if(Sn[o++]=null,f!==null&&y!==null){var _=f.pending;_===null?y.next=y:(y.next=_.next,_.next=y),f.pending=y}S!==0&&Qk(u,y,S)}}function Bu(i,o,u,f){Sn[Bo++]=i,Sn[Bo++]=o,Sn[Bo++]=u,Sn[Bo++]=f,nf|=f,i.lanes|=f,i=i.alternate,i!==null&&(i.lanes|=f)}function af(i,o,u,f){return Bu(i,o,u,f),Fu(i)}function za(i,o){return Bu(i,null,null,o),Fu(i)}function Qk(i,o,u){i.lanes|=u;var f=i.alternate;f!==null&&(f.lanes|=u);for(var y=!1,S=i.return;S!==null;)S.childLanes|=u,f=S.alternate,f!==null&&(f.childLanes|=u),S.tag===22&&(i=S.stateNode,i===null||i._visibility&1||(y=!0)),i=S,S=S.return;return i.tag===3?(S=i.stateNode,y&&o!==null&&(y=31-at(u),i=S.hiddenUpdates,f=i[y],f===null?i[y]=[o]:f.push(o),o.lane=u|536870912),S):null}function Fu(i){if(50<Wl)throw Wl=0,fg=null,Error(n(185));for(var o=i.return;o!==null;)i=o,o=i.return;return i.tag===3?i.stateNode:null}var Fo={};function OF(i,o,u,f){this.tag=i,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(i,o,u,f){return new OF(i,o,u,f)}function of(i){return i=i.prototype,!(!i||!i.isReactComponent)}function yi(i,o){var u=i.alternate;return u===null?(u=nn(i.tag,o,i.key,i.mode),u.elementType=i.elementType,u.type=i.type,u.stateNode=i.stateNode,u.alternate=i,i.alternate=u):(u.pendingProps=o,u.type=i.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=i.flags&65011712,u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,o=i.dependencies,u.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},u.sibling=i.sibling,u.index=i.index,u.ref=i.ref,u.refCleanup=i.refCleanup,u}function Jk(i,o){i.flags&=65011714;var u=i.alternate;return u===null?(i.childLanes=0,i.lanes=o,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,o=u.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),i}function Mu(i,o,u,f,y,S){var _=0;if(f=i,typeof i=="function")of(i)&&(_=1);else if(typeof i=="string")_=UM(i,u,de.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case K:return i=nn(31,u,o,y),i.elementType=K,i.lanes=S,i;case E:return Pa(u.children,y,S,o);case k:_=8,y|=24;break;case x:return i=nn(12,u,o,y|2),i.elementType=x,i.lanes=S,i;case F:return i=nn(13,u,o,y),i.elementType=F,i.lanes=S,i;case R:return i=nn(19,u,o,y),i.elementType=R,i.lanes=S,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case v:_=10;break e;case w:_=9;break e;case O:_=11;break e;case $:_=14;break e;case z:_=16,f=null;break e}_=29,u=Error(n(130,i===null?"null":typeof i,"")),f=null}return o=nn(_,u,o,y),o.elementType=i,o.type=f,o.lanes=S,o}function Pa(i,o,u,f){return i=nn(7,i,f,o),i.lanes=u,i}function sf(i,o,u){return i=nn(6,i,null,o),i.lanes=u,i}function eT(i){var o=nn(18,null,null,0);return o.stateNode=i,o}function lf(i,o,u){return o=nn(4,i.children!==null?i.children:[],i.key,o),o.lanes=u,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}var tT=new WeakMap;function Cn(i,o){if(typeof i=="object"&&i!==null){var u=tT.get(i);return u!==void 0?u:(o={value:i,source:o,stack:Ln(o)},tT.set(i,o),o)}return{value:i,source:o,stack:Ln(o)}}var Mo=[],Uo=0,Uu=null,_l=0,En=[],xn=0,Ji=null,Zn=1,Kn="";function Si(i,o){Mo[Uo++]=_l,Mo[Uo++]=Uu,Uu=i,_l=o}function rT(i,o,u){En[xn++]=Zn,En[xn++]=Kn,En[xn++]=Ji,Ji=i;var f=Zn;i=Kn;var y=32-at(f)-1;f&=~(1<<y),u+=1;var S=32-at(o)+y;if(30<S){var _=y-y%5;S=(f&(1<<_)-1).toString(32),f>>=_,y-=_,Zn=1<<32-at(o)+y|u<<y|f,Kn=S+i}else Zn=1<<S|u<<y|f,Kn=i}function cf(i){i.return!==null&&(Si(i,1),rT(i,1,0))}function uf(i){for(;i===Uu;)Uu=Mo[--Uo],Mo[Uo]=null,_l=Mo[--Uo],Mo[Uo]=null;for(;i===Ji;)Ji=En[--xn],En[xn]=null,Kn=En[--xn],En[xn]=null,Zn=En[--xn],En[xn]=null}function nT(i,o){En[xn++]=Zn,En[xn++]=Kn,En[xn++]=Ji,Zn=o.id,Kn=o.overflow,Ji=i}var pr=null,_t=null,rt=!1,ea=null,kn=!1,hf=Error(n(519));function ta(i){var o=Error(n(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wl(Cn(o,i)),hf}function iT(i){var o=i.stateNode,u=i.type,f=i.memoizedProps;switch(o[$t]=i,o[Rt]=f,u){case"dialog":Ze("cancel",o),Ze("close",o);break;case"iframe":case"object":case"embed":Ze("load",o);break;case"video":case"audio":for(u=0;u<Vl.length;u++)Ze(Vl[u],o);break;case"source":Ze("error",o);break;case"img":case"image":case"link":Ze("error",o),Ze("load",o);break;case"details":Ze("toggle",o);break;case"input":Ze("invalid",o),bk(o,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":Ze("invalid",o);break;case"textarea":Ze("invalid",o),Sk(o,f.value,f.defaultValue,f.children)}u=f.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||o.textContent===""+u||f.suppressHydrationWarning===!0||Ew(o.textContent,u)?(f.popover!=null&&(Ze("beforetoggle",o),Ze("toggle",o)),f.onScroll!=null&&Ze("scroll",o),f.onScrollEnd!=null&&Ze("scrollend",o),f.onClick!=null&&(o.onclick=mi),o=!0):o=!1,o||ta(i,!0)}function aT(i){for(pr=i.return;pr;)switch(pr.tag){case 5:case 31:case 13:kn=!1;return;case 27:case 3:kn=!0;return;default:pr=pr.return}}function $o(i){if(i!==pr)return!1;if(!rt)return aT(i),rt=!0,!1;var o=i.tag,u;if((u=o!==3&&o!==27)&&((u=o===5)&&(u=i.type,u=!(u!=="form"&&u!=="button")||Rg(i.type,i.memoizedProps)),u=!u),u&&_t&&ta(i),aT(i),o===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(317));_t=Dw(i)}else if(o===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(317));_t=Dw(i)}else o===27?(o=_t,ga(i.type)?(i=Ig,Ig=null,_t=i):_t=o):_t=pr?_n(i.stateNode.nextSibling):null;return!0}function Ha(){_t=pr=null,rt=!1}function df(){var i=ea;return i!==null&&(Wr===null?Wr=i:Wr.push.apply(Wr,i),ea=null),i}function wl(i){ea===null?ea=[i]:ea.push(i)}var pf=U(null),qa=null,Ci=null;function ra(i,o,u){N(pf,o._currentValue),o._currentValue=u}function Ei(i){i._currentValue=pf.current,ee(pf)}function ff(i,o,u){for(;i!==null;){var f=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,f!==null&&(f.childLanes|=o)):f!==null&&(f.childLanes&o)!==o&&(f.childLanes|=o),i===u)break;i=i.return}}function gf(i,o,u,f){var y=i.child;for(y!==null&&(y.return=i);y!==null;){var S=y.dependencies;if(S!==null){var _=y.child;S=S.firstContext;e:for(;S!==null;){var D=S;S=y;for(var j=0;j<o.length;j++)if(D.context===o[j]){S.lanes|=u,D=S.alternate,D!==null&&(D.lanes|=u),ff(S.return,u,i),f||(_=null);break e}S=D.next}}else if(y.tag===18){if(_=y.return,_===null)throw Error(n(341));_.lanes|=u,S=_.alternate,S!==null&&(S.lanes|=u),ff(_,u,i),_=null}else _=y.child;if(_!==null)_.return=y;else for(_=y;_!==null;){if(_===i){_=null;break}if(y=_.sibling,y!==null){y.return=_.return,_=y;break}_=_.return}y=_}}function zo(i,o,u,f){i=null;for(var y=o,S=!1;y!==null;){if(!S){if((y.flags&524288)!==0)S=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var _=y.alternate;if(_===null)throw Error(n(387));if(_=_.memoizedProps,_!==null){var D=y.type;rn(y.pendingProps.value,_.value)||(i!==null?i.push(D):i=[D])}}else if(y===Se.current){if(_=y.alternate,_===null)throw Error(n(387));_.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(i!==null?i.push(Jl):i=[Jl])}y=y.return}i!==null&&gf(o,i,u,f),o.flags|=262144}function $u(i){for(i=i.firstContext;i!==null;){if(!rn(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function Ga(i){qa=i,Ci=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function fr(i){return oT(qa,i)}function zu(i,o){return qa===null&&Ga(i),oT(i,o)}function oT(i,o){var u=o._currentValue;if(o={context:o,memoizedValue:u,next:null},Ci===null){if(i===null)throw Error(n(308));Ci=o,i.dependencies={lanes:0,firstContext:o},i.flags|=524288}else Ci=Ci.next=o;return u}var IF=typeof AbortController<"u"?AbortController:function(){var i=[],o=this.signal={aborted:!1,addEventListener:function(u,f){i.push(f)}};this.abort=function(){o.aborted=!0,i.forEach(function(u){return u()})}},BF=e.unstable_scheduleCallback,FF=e.unstable_NormalPriority,Wt={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mf(){return{controller:new IF,data:new Map,refCount:0}}function vl(i){i.refCount--,i.refCount===0&&BF(FF,function(){i.controller.abort()})}var Al=null,bf=0,Po=0,Ho=null;function MF(i,o){if(Al===null){var u=Al=[];bf=0,Po=Cg(),Ho={status:"pending",value:void 0,then:function(f){u.push(f)}}}return bf++,o.then(sT,sT),o}function sT(){if(--bf===0&&Al!==null){Ho!==null&&(Ho.status="fulfilled");var i=Al;Al=null,Po=0,Ho=null;for(var o=0;o<i.length;o++)(0,i[o])()}}function UF(i,o){var u=[],f={status:"pending",value:null,reason:null,then:function(y){u.push(y)}};return i.then(function(){f.status="fulfilled",f.value=o;for(var y=0;y<u.length;y++)(0,u[y])(o)},function(y){for(f.status="rejected",f.reason=y,y=0;y<u.length;y++)(0,u[y])(void 0)}),f}var lT=I.S;I.S=function(i,o){j_=er(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&MF(i,o),lT!==null&&lT(i,o)};var ja=U(null);function yf(){var i=ja.current;return i!==null?i:Et.pooledCache}function Pu(i,o){o===null?N(ja,ja.current):N(ja,o.pool)}function cT(){var i=yf();return i===null?null:{parent:Wt._currentValue,pool:i}}var qo=Error(n(460)),Sf=Error(n(474)),Hu=Error(n(542)),qu={then:function(){}};function uT(i){return i=i.status,i==="fulfilled"||i==="rejected"}function hT(i,o,u){switch(u=i[u],u===void 0?i.push(o):u!==o&&(o.then(mi,mi),o=u),o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,pT(i),i;default:if(typeof o.status=="string")o.then(mi,mi);else{if(i=Et,i!==null&&100<i.shellSuspendCounter)throw Error(n(482));i=o,i.status="pending",i.then(function(f){if(o.status==="pending"){var y=o;y.status="fulfilled",y.value=f}},function(f){if(o.status==="pending"){var y=o;y.status="rejected",y.reason=f}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,pT(i),i}throw Ya=o,qo}}function Wa(i){try{var o=i._init;return o(i._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(Ya=u,qo):u}}var Ya=null;function dT(){if(Ya===null)throw Error(n(459));var i=Ya;return Ya=null,i}function pT(i){if(i===qo||i===Hu)throw Error(n(483))}var Go=null,Rl=0;function Gu(i){var o=Rl;return Rl+=1,Go===null&&(Go=[]),hT(Go,i,o)}function Dl(i,o){o=o.props.ref,i.ref=o!==void 0?o:null}function ju(i,o){throw o.$$typeof===b?Error(n(525)):(i=Object.prototype.toString.call(o),Error(n(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i)))}function fT(i){function o(Q,Y){if(i){var te=Q.deletions;te===null?(Q.deletions=[Y],Q.flags|=16):te.push(Y)}}function u(Q,Y){if(!i)return null;for(;Y!==null;)o(Q,Y),Y=Y.sibling;return null}function f(Q){for(var Y=new Map;Q!==null;)Q.key!==null?Y.set(Q.key,Q):Y.set(Q.index,Q),Q=Q.sibling;return Y}function y(Q,Y){return Q=yi(Q,Y),Q.index=0,Q.sibling=null,Q}function S(Q,Y,te){return Q.index=te,i?(te=Q.alternate,te!==null?(te=te.index,te<Y?(Q.flags|=67108866,Y):te):(Q.flags|=67108866,Y)):(Q.flags|=1048576,Y)}function _(Q){return i&&Q.alternate===null&&(Q.flags|=67108866),Q}function D(Q,Y,te,ue){return Y===null||Y.tag!==6?(Y=sf(te,Q.mode,ue),Y.return=Q,Y):(Y=y(Y,te),Y.return=Q,Y)}function j(Q,Y,te,ue){var Ne=te.type;return Ne===E?ce(Q,Y,te.props.children,ue,te.key):Y!==null&&(Y.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===z&&Wa(Ne)===Y.type)?(Y=y(Y,te.props),Dl(Y,te),Y.return=Q,Y):(Y=Mu(te.type,te.key,te.props,null,Q.mode,ue),Dl(Y,te),Y.return=Q,Y)}function re(Q,Y,te,ue){return Y===null||Y.tag!==4||Y.stateNode.containerInfo!==te.containerInfo||Y.stateNode.implementation!==te.implementation?(Y=lf(te,Q.mode,ue),Y.return=Q,Y):(Y=y(Y,te.children||[]),Y.return=Q,Y)}function ce(Q,Y,te,ue,Ne){return Y===null||Y.tag!==7?(Y=Pa(te,Q.mode,ue,Ne),Y.return=Q,Y):(Y=y(Y,te),Y.return=Q,Y)}function he(Q,Y,te){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Y=sf(""+Y,Q.mode,te),Y.return=Q,Y;if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case m:return te=Mu(Y.type,Y.key,Y.props,null,Q.mode,te),Dl(te,Y),te.return=Q,te;case C:return Y=lf(Y,Q.mode,te),Y.return=Q,Y;case z:return Y=Wa(Y),he(Q,Y,te)}if(H(Y)||X(Y))return Y=Pa(Y,Q.mode,te,null),Y.return=Q,Y;if(typeof Y.then=="function")return he(Q,Gu(Y),te);if(Y.$$typeof===v)return he(Q,zu(Q,Y),te);ju(Q,Y)}return null}function ne(Q,Y,te,ue){var Ne=Y!==null?Y.key:null;if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return Ne!==null?null:D(Q,Y,""+te,ue);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case m:return te.key===Ne?j(Q,Y,te,ue):null;case C:return te.key===Ne?re(Q,Y,te,ue):null;case z:return te=Wa(te),ne(Q,Y,te,ue)}if(H(te)||X(te))return Ne!==null?null:ce(Q,Y,te,ue,null);if(typeof te.then=="function")return ne(Q,Y,Gu(te),ue);if(te.$$typeof===v)return ne(Q,Y,zu(Q,te),ue);ju(Q,te)}return null}function oe(Q,Y,te,ue,Ne){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return Q=Q.get(te)||null,D(Y,Q,""+ue,Ne);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case m:return Q=Q.get(ue.key===null?te:ue.key)||null,j(Y,Q,ue,Ne);case C:return Q=Q.get(ue.key===null?te:ue.key)||null,re(Y,Q,ue,Ne);case z:return ue=Wa(ue),oe(Q,Y,te,ue,Ne)}if(H(ue)||X(ue))return Q=Q.get(te)||null,ce(Y,Q,ue,Ne,null);if(typeof ue.then=="function")return oe(Q,Y,te,Gu(ue),Ne);if(ue.$$typeof===v)return oe(Q,Y,te,zu(Y,ue),Ne);ju(Y,ue)}return null}function xe(Q,Y,te,ue){for(var Ne=null,ct=null,ve=Y,Ge=Y=0,Je=null;ve!==null&&Ge<te.length;Ge++){ve.index>Ge?(Je=ve,ve=null):Je=ve.sibling;var ut=ne(Q,ve,te[Ge],ue);if(ut===null){ve===null&&(ve=Je);break}i&&ve&&ut.alternate===null&&o(Q,ve),Y=S(ut,Y,Ge),ct===null?Ne=ut:ct.sibling=ut,ct=ut,ve=Je}if(Ge===te.length)return u(Q,ve),rt&&Si(Q,Ge),Ne;if(ve===null){for(;Ge<te.length;Ge++)ve=he(Q,te[Ge],ue),ve!==null&&(Y=S(ve,Y,Ge),ct===null?Ne=ve:ct.sibling=ve,ct=ve);return rt&&Si(Q,Ge),Ne}for(ve=f(ve);Ge<te.length;Ge++)Je=oe(ve,Q,Ge,te[Ge],ue),Je!==null&&(i&&Je.alternate!==null&&ve.delete(Je.key===null?Ge:Je.key),Y=S(Je,Y,Ge),ct===null?Ne=Je:ct.sibling=Je,ct=Je);return i&&ve.forEach(function(Ca){return o(Q,Ca)}),rt&&Si(Q,Ge),Ne}function Fe(Q,Y,te,ue){if(te==null)throw Error(n(151));for(var Ne=null,ct=null,ve=Y,Ge=Y=0,Je=null,ut=te.next();ve!==null&&!ut.done;Ge++,ut=te.next()){ve.index>Ge?(Je=ve,ve=null):Je=ve.sibling;var Ca=ne(Q,ve,ut.value,ue);if(Ca===null){ve===null&&(ve=Je);break}i&&ve&&Ca.alternate===null&&o(Q,ve),Y=S(Ca,Y,Ge),ct===null?Ne=Ca:ct.sibling=Ca,ct=Ca,ve=Je}if(ut.done)return u(Q,ve),rt&&Si(Q,Ge),Ne;if(ve===null){for(;!ut.done;Ge++,ut=te.next())ut=he(Q,ut.value,ue),ut!==null&&(Y=S(ut,Y,Ge),ct===null?Ne=ut:ct.sibling=ut,ct=ut);return rt&&Si(Q,Ge),Ne}for(ve=f(ve);!ut.done;Ge++,ut=te.next())ut=oe(ve,Q,Ge,ut.value,ue),ut!==null&&(i&&ut.alternate!==null&&ve.delete(ut.key===null?Ge:ut.key),Y=S(ut,Y,Ge),ct===null?Ne=ut:ct.sibling=ut,ct=ut);return i&&ve.forEach(function(XM){return o(Q,XM)}),rt&&Si(Q,Ge),Ne}function Ct(Q,Y,te,ue){if(typeof te=="object"&&te!==null&&te.type===E&&te.key===null&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case m:e:{for(var Ne=te.key;Y!==null;){if(Y.key===Ne){if(Ne=te.type,Ne===E){if(Y.tag===7){u(Q,Y.sibling),ue=y(Y,te.props.children),ue.return=Q,Q=ue;break e}}else if(Y.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===z&&Wa(Ne)===Y.type){u(Q,Y.sibling),ue=y(Y,te.props),Dl(ue,te),ue.return=Q,Q=ue;break e}u(Q,Y);break}else o(Q,Y);Y=Y.sibling}te.type===E?(ue=Pa(te.props.children,Q.mode,ue,te.key),ue.return=Q,Q=ue):(ue=Mu(te.type,te.key,te.props,null,Q.mode,ue),Dl(ue,te),ue.return=Q,Q=ue)}return _(Q);case C:e:{for(Ne=te.key;Y!==null;){if(Y.key===Ne)if(Y.tag===4&&Y.stateNode.containerInfo===te.containerInfo&&Y.stateNode.implementation===te.implementation){u(Q,Y.sibling),ue=y(Y,te.children||[]),ue.return=Q,Q=ue;break e}else{u(Q,Y);break}else o(Q,Y);Y=Y.sibling}ue=lf(te,Q.mode,ue),ue.return=Q,Q=ue}return _(Q);case z:return te=Wa(te),Ct(Q,Y,te,ue)}if(H(te))return xe(Q,Y,te,ue);if(X(te)){if(Ne=X(te),typeof Ne!="function")throw Error(n(150));return te=Ne.call(te),Fe(Q,Y,te,ue)}if(typeof te.then=="function")return Ct(Q,Y,Gu(te),ue);if(te.$$typeof===v)return Ct(Q,Y,zu(Q,te),ue);ju(Q,te)}return typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint"?(te=""+te,Y!==null&&Y.tag===6?(u(Q,Y.sibling),ue=y(Y,te),ue.return=Q,Q=ue):(u(Q,Y),ue=sf(te,Q.mode,ue),ue.return=Q,Q=ue),_(Q)):u(Q,Y)}return function(Q,Y,te,ue){try{Rl=0;var Ne=Ct(Q,Y,te,ue);return Go=null,Ne}catch(ve){if(ve===qo||ve===Hu)throw ve;var ct=nn(29,ve,null,Q.mode);return ct.lanes=ue,ct.return=Q,ct}}}var Va=fT(!0),gT=fT(!1),na=!1;function Cf(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ef(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function ia(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function aa(i,o,u){var f=i.updateQueue;if(f===null)return null;if(f=f.shared,(ft&2)!==0){var y=f.pending;return y===null?o.next=o:(o.next=y.next,y.next=o),f.pending=o,o=Fu(i),Qk(i,null,u),o}return Bu(i,f,o,u),Fu(i)}function Ll(i,o,u){if(o=o.updateQueue,o!==null&&(o=o.shared,(u&4194048)!==0)){var f=o.lanes;f&=i.pendingLanes,u|=f,o.lanes=u,ul(i,u)}}function xf(i,o){var u=i.updateQueue,f=i.alternate;if(f!==null&&(f=f.updateQueue,u===f)){var y=null,S=null;if(u=u.firstBaseUpdate,u!==null){do{var _={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};S===null?y=S=_:S=S.next=_,u=u.next}while(u!==null);S===null?y=S=o:S=S.next=o}else y=S=o;u={baseState:f.baseState,firstBaseUpdate:y,lastBaseUpdate:S,shared:f.shared,callbacks:f.callbacks},i.updateQueue=u;return}i=u.lastBaseUpdate,i===null?u.firstBaseUpdate=o:i.next=o,u.lastBaseUpdate=o}var kf=!1;function Nl(){if(kf){var i=Ho;if(i!==null)throw i}}function Ol(i,o,u,f){kf=!1;var y=i.updateQueue;na=!1;var S=y.firstBaseUpdate,_=y.lastBaseUpdate,D=y.shared.pending;if(D!==null){y.shared.pending=null;var j=D,re=j.next;j.next=null,_===null?S=re:_.next=re,_=j;var ce=i.alternate;ce!==null&&(ce=ce.updateQueue,D=ce.lastBaseUpdate,D!==_&&(D===null?ce.firstBaseUpdate=re:D.next=re,ce.lastBaseUpdate=j))}if(S!==null){var he=y.baseState;_=0,ce=re=j=null,D=S;do{var ne=D.lane&-536870913,oe=ne!==D.lane;if(oe?(Qe&ne)===ne:(f&ne)===ne){ne!==0&&ne===Po&&(kf=!0),ce!==null&&(ce=ce.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var xe=i,Fe=D;ne=o;var Ct=u;switch(Fe.tag){case 1:if(xe=Fe.payload,typeof xe=="function"){he=xe.call(Ct,he,ne);break e}he=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=Fe.payload,ne=typeof xe=="function"?xe.call(Ct,he,ne):xe,ne==null)break e;he=g({},he,ne);break e;case 2:na=!0}}ne=D.callback,ne!==null&&(i.flags|=64,oe&&(i.flags|=8192),oe=y.callbacks,oe===null?y.callbacks=[ne]:oe.push(ne))}else oe={lane:ne,tag:D.tag,payload:D.payload,callback:D.callback,next:null},ce===null?(re=ce=oe,j=he):ce=ce.next=oe,_|=ne;if(D=D.next,D===null){if(D=y.shared.pending,D===null)break;oe=D,D=oe.next,oe.next=null,y.lastBaseUpdate=oe,y.shared.pending=null}}while(!0);ce===null&&(j=he),y.baseState=j,y.firstBaseUpdate=re,y.lastBaseUpdate=ce,S===null&&(y.shared.lanes=0),ua|=_,i.lanes=_,i.memoizedState=he}}function mT(i,o){if(typeof i!="function")throw Error(n(191,i));i.call(o)}function bT(i,o){var u=i.callbacks;if(u!==null)for(i.callbacks=null,i=0;i<u.length;i++)mT(u[i],o)}var jo=U(null),Wu=U(0);function yT(i,o){i=Di,N(Wu,i),N(jo,o),Di=i|o.baseLanes}function Tf(){N(Wu,Di),N(jo,jo.current)}function _f(){Di=Wu.current,ee(jo),ee(Wu)}var an=U(null),Tn=null;function oa(i){var o=i.alternate;N(Pt,Pt.current&1),N(an,i),Tn===null&&(o===null||jo.current!==null||o.memoizedState!==null)&&(Tn=i)}function wf(i){N(Pt,Pt.current),N(an,i),Tn===null&&(Tn=i)}function ST(i){i.tag===22?(N(Pt,Pt.current),N(an,i),Tn===null&&(Tn=i)):sa()}function sa(){N(Pt,Pt.current),N(an,an.current)}function on(i){ee(an),Tn===i&&(Tn=null),ee(Pt)}var Pt=U(0);function Yu(i){for(var o=i;o!==null;){if(o.tag===13){var u=o.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Ng(u)||Og(u)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var xi=0,He=null,yt=null,Yt=null,Vu=!1,Wo=!1,Xa=!1,Xu=0,Il=0,Yo=null,$F=0;function It(){throw Error(n(321))}function vf(i,o){if(o===null)return!1;for(var u=0;u<o.length&&u<i.length;u++)if(!rn(i[u],o[u]))return!1;return!0}function Af(i,o,u,f,y,S){return xi=S,He=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,I.H=i===null||i.memoizedState===null?r_:qf,Xa=!1,S=u(f,y),Xa=!1,Wo&&(S=ET(o,u,f,y)),CT(i),S}function CT(i){I.H=Ml;var o=yt!==null&&yt.next!==null;if(xi=0,Yt=yt=He=null,Vu=!1,Il=0,Yo=null,o)throw Error(n(300));i===null||Vt||(i=i.dependencies,i!==null&&$u(i)&&(Vt=!0))}function ET(i,o,u,f){He=i;var y=0;do{if(Wo&&(Yo=null),Il=0,Wo=!1,25<=y)throw Error(n(301));if(y+=1,Yt=yt=null,i.updateQueue!=null){var S=i.updateQueue;S.lastEffect=null,S.events=null,S.stores=null,S.memoCache!=null&&(S.memoCache.index=0)}I.H=n_,S=o(u,f)}while(Wo);return S}function zF(){var i=I.H,o=i.useState()[0];return o=typeof o.then=="function"?Bl(o):o,i=i.useState()[0],(yt!==null?yt.memoizedState:null)!==i&&(He.flags|=1024),o}function Rf(){var i=Xu!==0;return Xu=0,i}function Df(i,o,u){o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~u}function Lf(i){if(Vu){for(i=i.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}Vu=!1}xi=0,Yt=yt=He=null,Wo=!1,Il=Xu=0,Yo=null}function Or(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Yt===null?He.memoizedState=Yt=i:Yt=Yt.next=i,Yt}function Ht(){if(yt===null){var i=He.alternate;i=i!==null?i.memoizedState:null}else i=yt.next;var o=Yt===null?He.memoizedState:Yt.next;if(o!==null)Yt=o,yt=i;else{if(i===null)throw He.alternate===null?Error(n(467)):Error(n(310));yt=i,i={memoizedState:yt.memoizedState,baseState:yt.baseState,baseQueue:yt.baseQueue,queue:yt.queue,next:null},Yt===null?He.memoizedState=Yt=i:Yt=Yt.next=i}return Yt}function Zu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bl(i){var o=Il;return Il+=1,Yo===null&&(Yo=[]),i=hT(Yo,i,o),o=He,(Yt===null?o.memoizedState:Yt.next)===null&&(o=o.alternate,I.H=o===null||o.memoizedState===null?r_:qf),i}function Ku(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Bl(i);if(i.$$typeof===v)return fr(i)}throw Error(n(438,String(i)))}function Nf(i){var o=null,u=He.updateQueue;if(u!==null&&(o=u.memoCache),o==null){var f=He.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(o={data:f.data.map(function(y){return y.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),u===null&&(u=Zu(),He.updateQueue=u),u.memoCache=o,u=o.data[o.index],u===void 0)for(u=o.data[o.index]=Array(i),f=0;f<i;f++)u[f]=M;return o.index++,u}function ki(i,o){return typeof o=="function"?o(i):o}function Qu(i){var o=Ht();return Of(o,yt,i)}function Of(i,o,u){var f=i.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=u;var y=i.baseQueue,S=f.pending;if(S!==null){if(y!==null){var _=y.next;y.next=S.next,S.next=_}o.baseQueue=y=S,f.pending=null}if(S=i.baseState,y===null)i.memoizedState=S;else{o=y.next;var D=_=null,j=null,re=o,ce=!1;do{var he=re.lane&-536870913;if(he!==re.lane?(Qe&he)===he:(xi&he)===he){var ne=re.revertLane;if(ne===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null}),he===Po&&(ce=!0);else if((xi&ne)===ne){re=re.next,ne===Po&&(ce=!0);continue}else he={lane:0,revertLane:re.revertLane,gesture:null,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},j===null?(D=j=he,_=S):j=j.next=he,He.lanes|=ne,ua|=ne;he=re.action,Xa&&u(S,he),S=re.hasEagerState?re.eagerState:u(S,he)}else ne={lane:he,revertLane:re.revertLane,gesture:re.gesture,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},j===null?(D=j=ne,_=S):j=j.next=ne,He.lanes|=he,ua|=he;re=re.next}while(re!==null&&re!==o);if(j===null?_=S:j.next=D,!rn(S,i.memoizedState)&&(Vt=!0,ce&&(u=Ho,u!==null)))throw u;i.memoizedState=S,i.baseState=_,i.baseQueue=j,f.lastRenderedState=S}return y===null&&(f.lanes=0),[i.memoizedState,f.dispatch]}function If(i){var o=Ht(),u=o.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=i;var f=u.dispatch,y=u.pending,S=o.memoizedState;if(y!==null){u.pending=null;var _=y=y.next;do S=i(S,_.action),_=_.next;while(_!==y);rn(S,o.memoizedState)||(Vt=!0),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),u.lastRenderedState=S}return[S,f]}function xT(i,o,u){var f=He,y=Ht(),S=rt;if(S){if(u===void 0)throw Error(n(407));u=u()}else u=o();var _=!rn((yt||y).memoizedState,u);if(_&&(y.memoizedState=u,Vt=!0),y=y.queue,Mf(_T.bind(null,f,y,i),[i]),y.getSnapshot!==o||_||Yt!==null&&Yt.memoizedState.tag&1){if(f.flags|=2048,Vo(9,{destroy:void 0},TT.bind(null,f,y,u,o),null),Et===null)throw Error(n(349));S||(xi&127)!==0||kT(f,o,u)}return u}function kT(i,o,u){i.flags|=16384,i={getSnapshot:o,value:u},o=He.updateQueue,o===null?(o=Zu(),He.updateQueue=o,o.stores=[i]):(u=o.stores,u===null?o.stores=[i]:u.push(i))}function TT(i,o,u,f){o.value=u,o.getSnapshot=f,wT(o)&&vT(i)}function _T(i,o,u){return u(function(){wT(o)&&vT(i)})}function wT(i){var o=i.getSnapshot;i=i.value;try{var u=o();return!rn(i,u)}catch{return!0}}function vT(i){var o=za(i,2);o!==null&&Yr(o,i,2)}function Bf(i){var o=Or();if(typeof i=="function"){var u=i;if(i=u(),Xa){Tt(!0);try{u()}finally{Tt(!1)}}}return o.memoizedState=o.baseState=i,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:i},o}function AT(i,o,u,f){return i.baseState=u,Of(i,yt,typeof f=="function"?f:ki)}function PF(i,o,u,f,y){if(th(i))throw Error(n(485));if(i=o.action,i!==null){var S={payload:y,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){S.listeners.push(_)}};I.T!==null?u(!0):S.isTransition=!1,f(S),u=o.pending,u===null?(S.next=o.pending=S,RT(o,S)):(S.next=u.next,o.pending=u.next=S)}}function RT(i,o){var u=o.action,f=o.payload,y=i.state;if(o.isTransition){var S=I.T,_={};I.T=_;try{var D=u(y,f),j=I.S;j!==null&&j(_,D),DT(i,o,D)}catch(re){Ff(i,o,re)}finally{S!==null&&_.types!==null&&(S.types=_.types),I.T=S}}else try{S=u(y,f),DT(i,o,S)}catch(re){Ff(i,o,re)}}function DT(i,o,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(f){LT(i,o,f)},function(f){return Ff(i,o,f)}):LT(i,o,u)}function LT(i,o,u){o.status="fulfilled",o.value=u,NT(o),i.state=u,o=i.pending,o!==null&&(u=o.next,u===o?i.pending=null:(u=u.next,o.next=u,RT(i,u)))}function Ff(i,o,u){var f=i.pending;if(i.pending=null,f!==null){f=f.next;do o.status="rejected",o.reason=u,NT(o),o=o.next;while(o!==f)}i.action=null}function NT(i){i=i.listeners;for(var o=0;o<i.length;o++)(0,i[o])()}function OT(i,o){return o}function IT(i,o){if(rt){var u=Et.formState;if(u!==null){e:{var f=He;if(rt){if(_t){t:{for(var y=_t,S=kn;y.nodeType!==8;){if(!S){y=null;break t}if(y=_n(y.nextSibling),y===null){y=null;break t}}S=y.data,y=S==="F!"||S==="F"?y:null}if(y){_t=_n(y.nextSibling),f=y.data==="F!";break e}}ta(f)}f=!1}f&&(o=u[0])}}return u=Or(),u.memoizedState=u.baseState=o,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:OT,lastRenderedState:o},u.queue=f,u=JT.bind(null,He,f),f.dispatch=u,f=Bf(!1),S=Hf.bind(null,He,!1,f.queue),f=Or(),y={state:o,dispatch:null,action:i,pending:null},f.queue=y,u=PF.bind(null,He,y,S,u),y.dispatch=u,f.memoizedState=i,[o,u,!1]}function BT(i){var o=Ht();return FT(o,yt,i)}function FT(i,o,u){if(o=Of(i,o,OT)[0],i=Qu(ki)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var f=Bl(o)}catch(_){throw _===qo?Hu:_}else f=o;o=Ht();var y=o.queue,S=y.dispatch;return u!==o.memoizedState&&(He.flags|=2048,Vo(9,{destroy:void 0},HF.bind(null,y,u),null)),[f,S,i]}function HF(i,o){i.action=o}function MT(i){var o=Ht(),u=yt;if(u!==null)return FT(o,u,i);Ht(),o=o.memoizedState,u=Ht();var f=u.queue.dispatch;return u.memoizedState=i,[o,f,!1]}function Vo(i,o,u,f){return i={tag:i,create:u,deps:f,inst:o,next:null},o=He.updateQueue,o===null&&(o=Zu(),He.updateQueue=o),u=o.lastEffect,u===null?o.lastEffect=i.next=i:(f=u.next,u.next=i,i.next=f,o.lastEffect=i),i}function UT(){return Ht().memoizedState}function Ju(i,o,u,f){var y=Or();He.flags|=i,y.memoizedState=Vo(1|o,{destroy:void 0},u,f===void 0?null:f)}function eh(i,o,u,f){var y=Ht();f=f===void 0?null:f;var S=y.memoizedState.inst;yt!==null&&f!==null&&vf(f,yt.memoizedState.deps)?y.memoizedState=Vo(o,S,u,f):(He.flags|=i,y.memoizedState=Vo(1|o,S,u,f))}function $T(i,o){Ju(8390656,8,i,o)}function Mf(i,o){eh(2048,8,i,o)}function qF(i){He.flags|=4;var o=He.updateQueue;if(o===null)o=Zu(),He.updateQueue=o,o.events=[i];else{var u=o.events;u===null?o.events=[i]:u.push(i)}}function zT(i){var o=Ht().memoizedState;return qF({ref:o,nextImpl:i}),function(){if((ft&2)!==0)throw Error(n(440));return o.impl.apply(void 0,arguments)}}function PT(i,o){return eh(4,2,i,o)}function HT(i,o){return eh(4,4,i,o)}function qT(i,o){if(typeof o=="function"){i=i();var u=o(i);return function(){typeof u=="function"?u():o(null)}}if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function GT(i,o,u){u=u!=null?u.concat([i]):null,eh(4,4,qT.bind(null,o,i),u)}function Uf(){}function jT(i,o){var u=Ht();o=o===void 0?null:o;var f=u.memoizedState;return o!==null&&vf(o,f[1])?f[0]:(u.memoizedState=[i,o],i)}function WT(i,o){var u=Ht();o=o===void 0?null:o;var f=u.memoizedState;if(o!==null&&vf(o,f[1]))return f[0];if(f=i(),Xa){Tt(!0);try{i()}finally{Tt(!1)}}return u.memoizedState=[f,o],f}function $f(i,o,u){return u===void 0||(xi&1073741824)!==0&&(Qe&261930)===0?i.memoizedState=o:(i.memoizedState=u,i=Y_(),He.lanes|=i,ua|=i,u)}function YT(i,o,u,f){return rn(u,o)?u:jo.current!==null?(i=$f(i,u,f),rn(i,o)||(Vt=!0),i):(xi&42)===0||(xi&1073741824)!==0&&(Qe&261930)===0?(Vt=!0,i.memoizedState=u):(i=Y_(),He.lanes|=i,ua|=i,o)}function VT(i,o,u,f,y){var S=P.p;P.p=S!==0&&8>S?S:8;var _=I.T,D={};I.T=D,Hf(i,!1,o,u);try{var j=y(),re=I.S;if(re!==null&&re(D,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var ce=UF(j,f);Fl(i,o,ce,cn(i))}else Fl(i,o,f,cn(i))}catch(he){Fl(i,o,{then:function(){},status:"rejected",reason:he},cn())}finally{P.p=S,_!==null&&D.types!==null&&(_.types=D.types),I.T=_}}function GF(){}function zf(i,o,u,f){if(i.tag!==5)throw Error(n(476));var y=XT(i).queue;VT(i,y,o,V,u===null?GF:function(){return ZT(i),u(f)})}function XT(i){var o=i.memoizedState;if(o!==null)return o;o={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:V},next:null};var u={};return o.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:u},next:null},i.memoizedState=o,i=i.alternate,i!==null&&(i.memoizedState=o),o}function ZT(i){var o=XT(i);o.next===null&&(o=i.alternate.memoizedState),Fl(i,o.next.queue,{},cn())}function Pf(){return fr(Jl)}function KT(){return Ht().memoizedState}function QT(){return Ht().memoizedState}function jF(i){for(var o=i.return;o!==null;){switch(o.tag){case 24:case 3:var u=cn();i=ia(u);var f=aa(o,i,u);f!==null&&(Yr(f,o,u),Ll(f,o,u)),o={cache:mf()},i.payload=o;return}o=o.return}}function WF(i,o,u){var f=cn();u={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},th(i)?e_(o,u):(u=af(i,o,u,f),u!==null&&(Yr(u,i,f),t_(u,o,f)))}function JT(i,o,u){var f=cn();Fl(i,o,u,f)}function Fl(i,o,u,f){var y={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(th(i))e_(o,y);else{var S=i.alternate;if(i.lanes===0&&(S===null||S.lanes===0)&&(S=o.lastRenderedReducer,S!==null))try{var _=o.lastRenderedState,D=S(_,u);if(y.hasEagerState=!0,y.eagerState=D,rn(D,_))return Bu(i,o,y,0),Et===null&&Iu(),!1}catch{}if(u=af(i,o,y,f),u!==null)return Yr(u,i,f),t_(u,o,f),!0}return!1}function Hf(i,o,u,f){if(f={lane:2,revertLane:Cg(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},th(i)){if(o)throw Error(n(479))}else o=af(i,u,f,2),o!==null&&Yr(o,i,2)}function th(i){var o=i.alternate;return i===He||o!==null&&o===He}function e_(i,o){Wo=Vu=!0;var u=i.pending;u===null?o.next=o:(o.next=u.next,u.next=o),i.pending=o}function t_(i,o,u){if((u&4194048)!==0){var f=o.lanes;f&=i.pendingLanes,u|=f,o.lanes=u,ul(i,u)}}var Ml={readContext:fr,use:Ku,useCallback:It,useContext:It,useEffect:It,useImperativeHandle:It,useLayoutEffect:It,useInsertionEffect:It,useMemo:It,useReducer:It,useRef:It,useState:It,useDebugValue:It,useDeferredValue:It,useTransition:It,useSyncExternalStore:It,useId:It,useHostTransitionStatus:It,useFormState:It,useActionState:It,useOptimistic:It,useMemoCache:It,useCacheRefresh:It};Ml.useEffectEvent=It;var r_={readContext:fr,use:Ku,useCallback:function(i,o){return Or().memoizedState=[i,o===void 0?null:o],i},useContext:fr,useEffect:$T,useImperativeHandle:function(i,o,u){u=u!=null?u.concat([i]):null,Ju(4194308,4,qT.bind(null,o,i),u)},useLayoutEffect:function(i,o){return Ju(4194308,4,i,o)},useInsertionEffect:function(i,o){Ju(4,2,i,o)},useMemo:function(i,o){var u=Or();o=o===void 0?null:o;var f=i();if(Xa){Tt(!0);try{i()}finally{Tt(!1)}}return u.memoizedState=[f,o],f},useReducer:function(i,o,u){var f=Or();if(u!==void 0){var y=u(o);if(Xa){Tt(!0);try{u(o)}finally{Tt(!1)}}}else y=o;return f.memoizedState=f.baseState=y,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:y},f.queue=i,i=i.dispatch=WF.bind(null,He,i),[f.memoizedState,i]},useRef:function(i){var o=Or();return i={current:i},o.memoizedState=i},useState:function(i){i=Bf(i);var o=i.queue,u=JT.bind(null,He,o);return o.dispatch=u,[i.memoizedState,u]},useDebugValue:Uf,useDeferredValue:function(i,o){var u=Or();return $f(u,i,o)},useTransition:function(){var i=Bf(!1);return i=VT.bind(null,He,i.queue,!0,!1),Or().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,o,u){var f=He,y=Or();if(rt){if(u===void 0)throw Error(n(407));u=u()}else{if(u=o(),Et===null)throw Error(n(349));(Qe&127)!==0||kT(f,o,u)}y.memoizedState=u;var S={value:u,getSnapshot:o};return y.queue=S,$T(_T.bind(null,f,S,i),[i]),f.flags|=2048,Vo(9,{destroy:void 0},TT.bind(null,f,S,u,o),null),u},useId:function(){var i=Or(),o=Et.identifierPrefix;if(rt){var u=Kn,f=Zn;u=(f&~(1<<32-at(f)-1)).toString(32)+u,o="_"+o+"R_"+u,u=Xu++,0<u&&(o+="H"+u.toString(32)),o+="_"}else u=$F++,o="_"+o+"r_"+u.toString(32)+"_";return i.memoizedState=o},useHostTransitionStatus:Pf,useFormState:IT,useActionState:IT,useOptimistic:function(i){var o=Or();o.memoizedState=o.baseState=i;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=u,o=Hf.bind(null,He,!0,u),u.dispatch=o,[i,o]},useMemoCache:Nf,useCacheRefresh:function(){return Or().memoizedState=jF.bind(null,He)},useEffectEvent:function(i){var o=Or(),u={impl:i};return o.memoizedState=u,function(){if((ft&2)!==0)throw Error(n(440));return u.impl.apply(void 0,arguments)}}},qf={readContext:fr,use:Ku,useCallback:jT,useContext:fr,useEffect:Mf,useImperativeHandle:GT,useInsertionEffect:PT,useLayoutEffect:HT,useMemo:WT,useReducer:Qu,useRef:UT,useState:function(){return Qu(ki)},useDebugValue:Uf,useDeferredValue:function(i,o){var u=Ht();return YT(u,yt.memoizedState,i,o)},useTransition:function(){var i=Qu(ki)[0],o=Ht().memoizedState;return[typeof i=="boolean"?i:Bl(i),o]},useSyncExternalStore:xT,useId:KT,useHostTransitionStatus:Pf,useFormState:BT,useActionState:BT,useOptimistic:function(i,o){var u=Ht();return AT(u,yt,i,o)},useMemoCache:Nf,useCacheRefresh:QT};qf.useEffectEvent=zT;var n_={readContext:fr,use:Ku,useCallback:jT,useContext:fr,useEffect:Mf,useImperativeHandle:GT,useInsertionEffect:PT,useLayoutEffect:HT,useMemo:WT,useReducer:If,useRef:UT,useState:function(){return If(ki)},useDebugValue:Uf,useDeferredValue:function(i,o){var u=Ht();return yt===null?$f(u,i,o):YT(u,yt.memoizedState,i,o)},useTransition:function(){var i=If(ki)[0],o=Ht().memoizedState;return[typeof i=="boolean"?i:Bl(i),o]},useSyncExternalStore:xT,useId:KT,useHostTransitionStatus:Pf,useFormState:MT,useActionState:MT,useOptimistic:function(i,o){var u=Ht();return yt!==null?AT(u,yt,i,o):(u.baseState=i,[i,u.queue.dispatch])},useMemoCache:Nf,useCacheRefresh:QT};n_.useEffectEvent=zT;function Gf(i,o,u,f){o=i.memoizedState,u=u(f,o),u=u==null?o:g({},o,u),i.memoizedState=u,i.lanes===0&&(i.updateQueue.baseState=u)}var jf={enqueueSetState:function(i,o,u){i=i._reactInternals;var f=cn(),y=ia(f);y.payload=o,u!=null&&(y.callback=u),o=aa(i,y,f),o!==null&&(Yr(o,i,f),Ll(o,i,f))},enqueueReplaceState:function(i,o,u){i=i._reactInternals;var f=cn(),y=ia(f);y.tag=1,y.payload=o,u!=null&&(y.callback=u),o=aa(i,y,f),o!==null&&(Yr(o,i,f),Ll(o,i,f))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var u=cn(),f=ia(u);f.tag=2,o!=null&&(f.callback=o),o=aa(i,f,u),o!==null&&(Yr(o,i,u),Ll(o,i,u))}};function i_(i,o,u,f,y,S,_){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(f,S,_):o.prototype&&o.prototype.isPureReactComponent?!kl(u,f)||!kl(y,S):!0}function a_(i,o,u,f){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(u,f),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(u,f),o.state!==i&&jf.enqueueReplaceState(o,o.state,null)}function Za(i,o){var u=o;if("ref"in o){u={};for(var f in o)f!=="ref"&&(u[f]=o[f])}if(i=i.defaultProps){u===o&&(u=g({},u));for(var y in i)u[y]===void 0&&(u[y]=i[y])}return u}function o_(i){Ou(i)}function s_(i){console.error(i)}function l_(i){Ou(i)}function rh(i,o){try{var u=i.onUncaughtError;u(o.value,{componentStack:o.stack})}catch(f){setTimeout(function(){throw f})}}function c_(i,o,u){try{var f=i.onCaughtError;f(u.value,{componentStack:u.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function Wf(i,o,u){return u=ia(u),u.tag=3,u.payload={element:null},u.callback=function(){rh(i,o)},u}function u_(i){return i=ia(i),i.tag=3,i}function h_(i,o,u,f){var y=u.type.getDerivedStateFromError;if(typeof y=="function"){var S=f.value;i.payload=function(){return y(S)},i.callback=function(){c_(o,u,f)}}var _=u.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){c_(o,u,f),typeof y!="function"&&(ha===null?ha=new Set([this]):ha.add(this));var D=f.stack;this.componentDidCatch(f.value,{componentStack:D!==null?D:""})})}function YF(i,o,u,f,y){if(u.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(o=u.alternate,o!==null&&zo(o,u,y,!0),u=an.current,u!==null){switch(u.tag){case 31:case 13:return Tn===null?fh():u.alternate===null&&Bt===0&&(Bt=3),u.flags&=-257,u.flags|=65536,u.lanes=y,f===qu?u.flags|=16384:(o=u.updateQueue,o===null?u.updateQueue=new Set([f]):o.add(f),bg(i,f,y)),!1;case 22:return u.flags|=65536,f===qu?u.flags|=16384:(o=u.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([f])},u.updateQueue=o):(u=o.retryQueue,u===null?o.retryQueue=new Set([f]):u.add(f)),bg(i,f,y)),!1}throw Error(n(435,u.tag))}return bg(i,f,y),fh(),!1}if(rt)return o=an.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=y,f!==hf&&(i=Error(n(422),{cause:f}),wl(Cn(i,u)))):(f!==hf&&(o=Error(n(423),{cause:f}),wl(Cn(o,u))),i=i.current.alternate,i.flags|=65536,y&=-y,i.lanes|=y,f=Cn(f,u),y=Wf(i.stateNode,f,y),xf(i,y),Bt!==4&&(Bt=2)),!1;var S=Error(n(520),{cause:f});if(S=Cn(S,u),jl===null?jl=[S]:jl.push(S),Bt!==4&&(Bt=2),o===null)return!0;f=Cn(f,u),u=o;do{switch(u.tag){case 3:return u.flags|=65536,i=y&-y,u.lanes|=i,i=Wf(u.stateNode,f,i),xf(u,i),!1;case 1:if(o=u.type,S=u.stateNode,(u.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(ha===null||!ha.has(S))))return u.flags|=65536,y&=-y,u.lanes|=y,y=u_(y),h_(y,i,u,f),xf(u,y),!1}u=u.return}while(u!==null);return!1}var Yf=Error(n(461)),Vt=!1;function gr(i,o,u,f){o.child=i===null?gT(o,null,u,f):Va(o,i.child,u,f)}function d_(i,o,u,f,y){u=u.render;var S=o.ref;if("ref"in f){var _={};for(var D in f)D!=="ref"&&(_[D]=f[D])}else _=f;return Ga(o),f=Af(i,o,u,_,S,y),D=Rf(),i!==null&&!Vt?(Df(i,o,y),Ti(i,o,y)):(rt&&D&&cf(o),o.flags|=1,gr(i,o,f,y),o.child)}function p_(i,o,u,f,y){if(i===null){var S=u.type;return typeof S=="function"&&!of(S)&&S.defaultProps===void 0&&u.compare===null?(o.tag=15,o.type=S,f_(i,o,S,f,y)):(i=Mu(u.type,null,f,o,o.mode,y),i.ref=o.ref,i.return=o,o.child=i)}if(S=i.child,!tg(i,y)){var _=S.memoizedProps;if(u=u.compare,u=u!==null?u:kl,u(_,f)&&i.ref===o.ref)return Ti(i,o,y)}return o.flags|=1,i=yi(S,f),i.ref=o.ref,i.return=o,o.child=i}function f_(i,o,u,f,y){if(i!==null){var S=i.memoizedProps;if(kl(S,f)&&i.ref===o.ref)if(Vt=!1,o.pendingProps=f=S,tg(i,y))(i.flags&131072)!==0&&(Vt=!0);else return o.lanes=i.lanes,Ti(i,o,y)}return Vf(i,o,u,f,y)}function g_(i,o,u,f){var y=f.children,S=i!==null?i.memoizedState:null;if(i===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((o.flags&128)!==0){if(S=S!==null?S.baseLanes|u:u,i!==null){for(f=o.child=i.child,y=0;f!==null;)y=y|f.lanes|f.childLanes,f=f.sibling;f=y&~S}else f=0,o.child=null;return m_(i,o,S,u,f)}if((u&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},i!==null&&Pu(o,S!==null?S.cachePool:null),S!==null?yT(o,S):Tf(),ST(o);else return f=o.lanes=536870912,m_(i,o,S!==null?S.baseLanes|u:u,u,f)}else S!==null?(Pu(o,S.cachePool),yT(o,S),sa(),o.memoizedState=null):(i!==null&&Pu(o,null),Tf(),sa());return gr(i,o,y,u),o.child}function Ul(i,o){return i!==null&&i.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function m_(i,o,u,f,y){var S=yf();return S=S===null?null:{parent:Wt._currentValue,pool:S},o.memoizedState={baseLanes:u,cachePool:S},i!==null&&Pu(o,null),Tf(),ST(o),i!==null&&zo(i,o,f,!0),o.childLanes=y,null}function nh(i,o){return o=ah({mode:o.mode,children:o.children},i.mode),o.ref=i.ref,i.child=o,o.return=i,o}function b_(i,o,u){return Va(o,i.child,null,u),i=nh(o,o.pendingProps),i.flags|=2,on(o),o.memoizedState=null,i}function VF(i,o,u){var f=o.pendingProps,y=(o.flags&128)!==0;if(o.flags&=-129,i===null){if(rt){if(f.mode==="hidden")return i=nh(o,f),o.lanes=536870912,Ul(null,i);if(wf(o),(i=_t)?(i=Rw(i,kn),i=i!==null&&i.data==="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:Ji!==null?{id:Zn,overflow:Kn}:null,retryLane:536870912,hydrationErrors:null},u=eT(i),u.return=o,o.child=u,pr=o,_t=null)):i=null,i===null)throw ta(o);return o.lanes=536870912,null}return nh(o,f)}var S=i.memoizedState;if(S!==null){var _=S.dehydrated;if(wf(o),y)if(o.flags&256)o.flags&=-257,o=b_(i,o,u);else if(o.memoizedState!==null)o.child=i.child,o.flags|=128,o=null;else throw Error(n(558));else if(Vt||zo(i,o,u,!1),y=(u&i.childLanes)!==0,Vt||y){if(f=Et,f!==null&&(_=Cu(f,u),_!==0&&_!==S.retryLane))throw S.retryLane=_,za(i,_),Yr(f,i,_),Yf;fh(),o=b_(i,o,u)}else i=S.treeContext,_t=_n(_.nextSibling),pr=o,rt=!0,ea=null,kn=!1,i!==null&&nT(o,i),o=nh(o,f),o.flags|=4096;return o}return i=yi(i.child,{mode:f.mode,children:f.children}),i.ref=o.ref,o.child=i,i.return=o,i}function ih(i,o){var u=o.ref;if(u===null)i!==null&&i.ref!==null&&(o.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(n(284));(i===null||i.ref!==u)&&(o.flags|=4194816)}}function Vf(i,o,u,f,y){return Ga(o),u=Af(i,o,u,f,void 0,y),f=Rf(),i!==null&&!Vt?(Df(i,o,y),Ti(i,o,y)):(rt&&f&&cf(o),o.flags|=1,gr(i,o,u,y),o.child)}function y_(i,o,u,f,y,S){return Ga(o),o.updateQueue=null,u=ET(o,f,u,y),CT(i),f=Rf(),i!==null&&!Vt?(Df(i,o,S),Ti(i,o,S)):(rt&&f&&cf(o),o.flags|=1,gr(i,o,u,S),o.child)}function S_(i,o,u,f,y){if(Ga(o),o.stateNode===null){var S=Fo,_=u.contextType;typeof _=="object"&&_!==null&&(S=fr(_)),S=new u(f,S),o.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,S.updater=jf,o.stateNode=S,S._reactInternals=o,S=o.stateNode,S.props=f,S.state=o.memoizedState,S.refs={},Cf(o),_=u.contextType,S.context=typeof _=="object"&&_!==null?fr(_):Fo,S.state=o.memoizedState,_=u.getDerivedStateFromProps,typeof _=="function"&&(Gf(o,u,_,f),S.state=o.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(_=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),_!==S.state&&jf.enqueueReplaceState(S,S.state,null),Ol(o,f,S,y),Nl(),S.state=o.memoizedState),typeof S.componentDidMount=="function"&&(o.flags|=4194308),f=!0}else if(i===null){S=o.stateNode;var D=o.memoizedProps,j=Za(u,D);S.props=j;var re=S.context,ce=u.contextType;_=Fo,typeof ce=="object"&&ce!==null&&(_=fr(ce));var he=u.getDerivedStateFromProps;ce=typeof he=="function"||typeof S.getSnapshotBeforeUpdate=="function",D=o.pendingProps!==D,ce||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(D||re!==_)&&a_(o,S,f,_),na=!1;var ne=o.memoizedState;S.state=ne,Ol(o,f,S,y),Nl(),re=o.memoizedState,D||ne!==re||na?(typeof he=="function"&&(Gf(o,u,he,f),re=o.memoizedState),(j=na||i_(o,u,j,f,ne,re,_))?(ce||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(o.flags|=4194308)):(typeof S.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=f,o.memoizedState=re),S.props=f,S.state=re,S.context=_,f=j):(typeof S.componentDidMount=="function"&&(o.flags|=4194308),f=!1)}else{S=o.stateNode,Ef(i,o),_=o.memoizedProps,ce=Za(u,_),S.props=ce,he=o.pendingProps,ne=S.context,re=u.contextType,j=Fo,typeof re=="object"&&re!==null&&(j=fr(re)),D=u.getDerivedStateFromProps,(re=typeof D=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(_!==he||ne!==j)&&a_(o,S,f,j),na=!1,ne=o.memoizedState,S.state=ne,Ol(o,f,S,y),Nl();var oe=o.memoizedState;_!==he||ne!==oe||na||i!==null&&i.dependencies!==null&&$u(i.dependencies)?(typeof D=="function"&&(Gf(o,u,D,f),oe=o.memoizedState),(ce=na||i_(o,u,ce,f,ne,oe,j)||i!==null&&i.dependencies!==null&&$u(i.dependencies))?(re||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(f,oe,j),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(f,oe,j)),typeof S.componentDidUpdate=="function"&&(o.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof S.componentDidUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=1024),o.memoizedProps=f,o.memoizedState=oe),S.props=f,S.state=oe,S.context=j,f=ce):(typeof S.componentDidUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(o.flags|=1024),f=!1)}return S=f,ih(i,o),f=(o.flags&128)!==0,S||f?(S=o.stateNode,u=f&&typeof u.getDerivedStateFromError!="function"?null:S.render(),o.flags|=1,i!==null&&f?(o.child=Va(o,i.child,null,y),o.child=Va(o,null,u,y)):gr(i,o,u,y),o.memoizedState=S.state,i=o.child):i=Ti(i,o,y),i}function C_(i,o,u,f){return Ha(),o.flags|=256,gr(i,o,u,f),o.child}var Xf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Zf(i){return{baseLanes:i,cachePool:cT()}}function Kf(i,o,u){return i=i!==null?i.childLanes&~u:0,o&&(i|=ln),i}function E_(i,o,u){var f=o.pendingProps,y=!1,S=(o.flags&128)!==0,_;if((_=S)||(_=i!==null&&i.memoizedState===null?!1:(Pt.current&2)!==0),_&&(y=!0,o.flags&=-129),_=(o.flags&32)!==0,o.flags&=-33,i===null){if(rt){if(y?oa(o):sa(),(i=_t)?(i=Rw(i,kn),i=i!==null&&i.data!=="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:Ji!==null?{id:Zn,overflow:Kn}:null,retryLane:536870912,hydrationErrors:null},u=eT(i),u.return=o,o.child=u,pr=o,_t=null)):i=null,i===null)throw ta(o);return Og(i)?o.lanes=32:o.lanes=536870912,null}var D=f.children;return f=f.fallback,y?(sa(),y=o.mode,D=ah({mode:"hidden",children:D},y),f=Pa(f,y,u,null),D.return=o,f.return=o,D.sibling=f,o.child=D,f=o.child,f.memoizedState=Zf(u),f.childLanes=Kf(i,_,u),o.memoizedState=Xf,Ul(null,f)):(oa(o),Qf(o,D))}var j=i.memoizedState;if(j!==null&&(D=j.dehydrated,D!==null)){if(S)o.flags&256?(oa(o),o.flags&=-257,o=Jf(i,o,u)):o.memoizedState!==null?(sa(),o.child=i.child,o.flags|=128,o=null):(sa(),D=f.fallback,y=o.mode,f=ah({mode:"visible",children:f.children},y),D=Pa(D,y,u,null),D.flags|=2,f.return=o,D.return=o,f.sibling=D,o.child=f,Va(o,i.child,null,u),f=o.child,f.memoizedState=Zf(u),f.childLanes=Kf(i,_,u),o.memoizedState=Xf,o=Ul(null,f));else if(oa(o),Og(D)){if(_=D.nextSibling&&D.nextSibling.dataset,_)var re=_.dgst;_=re,f=Error(n(419)),f.stack="",f.digest=_,wl({value:f,source:null,stack:null}),o=Jf(i,o,u)}else if(Vt||zo(i,o,u,!1),_=(u&i.childLanes)!==0,Vt||_){if(_=Et,_!==null&&(f=Cu(_,u),f!==0&&f!==j.retryLane))throw j.retryLane=f,za(i,f),Yr(_,i,f),Yf;Ng(D)||fh(),o=Jf(i,o,u)}else Ng(D)?(o.flags|=192,o.child=i.child,o=null):(i=j.treeContext,_t=_n(D.nextSibling),pr=o,rt=!0,ea=null,kn=!1,i!==null&&nT(o,i),o=Qf(o,f.children),o.flags|=4096);return o}return y?(sa(),D=f.fallback,y=o.mode,j=i.child,re=j.sibling,f=yi(j,{mode:"hidden",children:f.children}),f.subtreeFlags=j.subtreeFlags&65011712,re!==null?D=yi(re,D):(D=Pa(D,y,u,null),D.flags|=2),D.return=o,f.return=o,f.sibling=D,o.child=f,Ul(null,f),f=o.child,D=i.child.memoizedState,D===null?D=Zf(u):(y=D.cachePool,y!==null?(j=Wt._currentValue,y=y.parent!==j?{parent:j,pool:j}:y):y=cT(),D={baseLanes:D.baseLanes|u,cachePool:y}),f.memoizedState=D,f.childLanes=Kf(i,_,u),o.memoizedState=Xf,Ul(i.child,f)):(oa(o),u=i.child,i=u.sibling,u=yi(u,{mode:"visible",children:f.children}),u.return=o,u.sibling=null,i!==null&&(_=o.deletions,_===null?(o.deletions=[i],o.flags|=16):_.push(i)),o.child=u,o.memoizedState=null,u)}function Qf(i,o){return o=ah({mode:"visible",children:o},i.mode),o.return=i,i.child=o}function ah(i,o){return i=nn(22,i,null,o),i.lanes=0,i}function Jf(i,o,u){return Va(o,i.child,null,u),i=Qf(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function x_(i,o,u){i.lanes|=o;var f=i.alternate;f!==null&&(f.lanes|=o),ff(i.return,o,u)}function eg(i,o,u,f,y,S){var _=i.memoizedState;_===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:f,tail:u,tailMode:y,treeForkCount:S}:(_.isBackwards=o,_.rendering=null,_.renderingStartTime=0,_.last=f,_.tail=u,_.tailMode=y,_.treeForkCount=S)}function k_(i,o,u){var f=o.pendingProps,y=f.revealOrder,S=f.tail;f=f.children;var _=Pt.current,D=(_&2)!==0;if(D?(_=_&1|2,o.flags|=128):_&=1,N(Pt,_),gr(i,o,f,u),f=rt?_l:0,!D&&i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&x_(i,u,o);else if(i.tag===19)x_(i,u,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(y){case"forwards":for(u=o.child,y=null;u!==null;)i=u.alternate,i!==null&&Yu(i)===null&&(y=u),u=u.sibling;u=y,u===null?(y=o.child,o.child=null):(y=u.sibling,u.sibling=null),eg(o,!1,y,u,S,f);break;case"backwards":case"unstable_legacy-backwards":for(u=null,y=o.child,o.child=null;y!==null;){if(i=y.alternate,i!==null&&Yu(i)===null){o.child=y;break}i=y.sibling,y.sibling=u,u=y,y=i}eg(o,!0,u,null,S,f);break;case"together":eg(o,!1,null,null,void 0,f);break;default:o.memoizedState=null}return o.child}function Ti(i,o,u){if(i!==null&&(o.dependencies=i.dependencies),ua|=o.lanes,(u&o.childLanes)===0)if(i!==null){if(zo(i,o,u,!1),(u&o.childLanes)===0)return null}else return null;if(i!==null&&o.child!==i.child)throw Error(n(153));if(o.child!==null){for(i=o.child,u=yi(i,i.pendingProps),o.child=u,u.return=o;i.sibling!==null;)i=i.sibling,u=u.sibling=yi(i,i.pendingProps),u.return=o;u.sibling=null}return o.child}function tg(i,o){return(i.lanes&o)!==0?!0:(i=i.dependencies,!!(i!==null&&$u(i)))}function XF(i,o,u){switch(o.tag){case 3:Te(o,o.stateNode.containerInfo),ra(o,Wt,i.memoizedState.cache),Ha();break;case 27:case 5:qe(o);break;case 4:Te(o,o.stateNode.containerInfo);break;case 10:ra(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,wf(o),null;break;case 13:var f=o.memoizedState;if(f!==null)return f.dehydrated!==null?(oa(o),o.flags|=128,null):(u&o.child.childLanes)!==0?E_(i,o,u):(oa(o),i=Ti(i,o,u),i!==null?i.sibling:null);oa(o);break;case 19:var y=(i.flags&128)!==0;if(f=(u&o.childLanes)!==0,f||(zo(i,o,u,!1),f=(u&o.childLanes)!==0),y){if(f)return k_(i,o,u);o.flags|=128}if(y=o.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),N(Pt,Pt.current),f)break;return null;case 22:return o.lanes=0,g_(i,o,u,o.pendingProps);case 24:ra(o,Wt,i.memoizedState.cache)}return Ti(i,o,u)}function T_(i,o,u){if(i!==null)if(i.memoizedProps!==o.pendingProps)Vt=!0;else{if(!tg(i,u)&&(o.flags&128)===0)return Vt=!1,XF(i,o,u);Vt=(i.flags&131072)!==0}else Vt=!1,rt&&(o.flags&1048576)!==0&&rT(o,_l,o.index);switch(o.lanes=0,o.tag){case 16:e:{var f=o.pendingProps;if(i=Wa(o.elementType),o.type=i,typeof i=="function")of(i)?(f=Za(i,f),o.tag=1,o=S_(null,o,i,f,u)):(o.tag=0,o=Vf(null,o,i,f,u));else{if(i!=null){var y=i.$$typeof;if(y===O){o.tag=11,o=d_(null,o,i,f,u);break e}else if(y===$){o.tag=14,o=p_(null,o,i,f,u);break e}}throw o=W(i)||i,Error(n(306,o,""))}}return o;case 0:return Vf(i,o,o.type,o.pendingProps,u);case 1:return f=o.type,y=Za(f,o.pendingProps),S_(i,o,f,y,u);case 3:e:{if(Te(o,o.stateNode.containerInfo),i===null)throw Error(n(387));f=o.pendingProps;var S=o.memoizedState;y=S.element,Ef(i,o),Ol(o,f,null,u);var _=o.memoizedState;if(f=_.cache,ra(o,Wt,f),f!==S.cache&&gf(o,[Wt],u,!0),Nl(),f=_.element,S.isDehydrated)if(S={element:f,isDehydrated:!1,cache:_.cache},o.updateQueue.baseState=S,o.memoizedState=S,o.flags&256){o=C_(i,o,f,u);break e}else if(f!==y){y=Cn(Error(n(424)),o),wl(y),o=C_(i,o,f,u);break e}else for(i=o.stateNode.containerInfo,i.nodeType===9?i=i.body:i=i.nodeName==="HTML"?i.ownerDocument.body:i,_t=_n(i.firstChild),pr=o,rt=!0,ea=null,kn=!0,u=gT(o,null,f,u),o.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(Ha(),f===y){o=Ti(i,o,u);break e}gr(i,o,f,u)}o=o.child}return o;case 26:return ih(i,o),i===null?(u=Bw(o.type,null,o.pendingProps,null))?o.memoizedState=u:rt||(u=o.type,i=o.pendingProps,f=Eh(ge.current).createElement(u),f[$t]=o,f[Rt]=i,mr(f,u,i),tt(f),o.stateNode=f):o.memoizedState=Bw(o.type,i.memoizedProps,o.pendingProps,i.memoizedState),null;case 27:return qe(o),i===null&&rt&&(f=o.stateNode=Nw(o.type,o.pendingProps,ge.current),pr=o,kn=!0,y=_t,ga(o.type)?(Ig=y,_t=_n(f.firstChild)):_t=y),gr(i,o,o.pendingProps.children,u),ih(i,o),i===null&&(o.flags|=4194304),o.child;case 5:return i===null&&rt&&((y=f=_t)&&(f=_M(f,o.type,o.pendingProps,kn),f!==null?(o.stateNode=f,pr=o,_t=_n(f.firstChild),kn=!1,y=!0):y=!1),y||ta(o)),qe(o),y=o.type,S=o.pendingProps,_=i!==null?i.memoizedProps:null,f=S.children,Rg(y,S)?f=null:_!==null&&Rg(y,_)&&(o.flags|=32),o.memoizedState!==null&&(y=Af(i,o,zF,null,null,u),Jl._currentValue=y),ih(i,o),gr(i,o,f,u),o.child;case 6:return i===null&&rt&&((i=u=_t)&&(u=wM(u,o.pendingProps,kn),u!==null?(o.stateNode=u,pr=o,_t=null,i=!0):i=!1),i||ta(o)),null;case 13:return E_(i,o,u);case 4:return Te(o,o.stateNode.containerInfo),f=o.pendingProps,i===null?o.child=Va(o,null,f,u):gr(i,o,f,u),o.child;case 11:return d_(i,o,o.type,o.pendingProps,u);case 7:return gr(i,o,o.pendingProps,u),o.child;case 8:return gr(i,o,o.pendingProps.children,u),o.child;case 12:return gr(i,o,o.pendingProps.children,u),o.child;case 10:return f=o.pendingProps,ra(o,o.type,f.value),gr(i,o,f.children,u),o.child;case 9:return y=o.type._context,f=o.pendingProps.children,Ga(o),y=fr(y),f=f(y),o.flags|=1,gr(i,o,f,u),o.child;case 14:return p_(i,o,o.type,o.pendingProps,u);case 15:return f_(i,o,o.type,o.pendingProps,u);case 19:return k_(i,o,u);case 31:return VF(i,o,u);case 22:return g_(i,o,u,o.pendingProps);case 24:return Ga(o),f=fr(Wt),i===null?(y=yf(),y===null&&(y=Et,S=mf(),y.pooledCache=S,S.refCount++,S!==null&&(y.pooledCacheLanes|=u),y=S),o.memoizedState={parent:f,cache:y},Cf(o),ra(o,Wt,y)):((i.lanes&u)!==0&&(Ef(i,o),Ol(o,null,null,u),Nl()),y=i.memoizedState,S=o.memoizedState,y.parent!==f?(y={parent:f,cache:f},o.memoizedState=y,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=y),ra(o,Wt,f)):(f=S.cache,ra(o,Wt,f),f!==y.cache&&gf(o,[Wt],u,!0))),gr(i,o,o.pendingProps.children,u),o.child;case 29:throw o.pendingProps}throw Error(n(156,o.tag))}function _i(i){i.flags|=4}function rg(i,o,u,f,y){if((o=(i.mode&32)!==0)&&(o=!1),o){if(i.flags|=16777216,(y&335544128)===y)if(i.stateNode.complete)i.flags|=8192;else if(K_())i.flags|=8192;else throw Ya=qu,Sf}else i.flags&=-16777217}function __(i,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!zw(o))if(K_())i.flags|=8192;else throw Ya=qu,Sf}function oh(i,o){o!==null&&(i.flags|=4),i.flags&16384&&(o=i.tag!==22?pi():536870912,i.lanes|=o,Qo|=o)}function $l(i,o){if(!rt)switch(i.tailMode){case"hidden":o=i.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?i.tail=null:u.sibling=null;break;case"collapsed":u=i.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:f.sibling=null}}function wt(i){var o=i.alternate!==null&&i.alternate.child===i.child,u=0,f=0;if(o)for(var y=i.child;y!==null;)u|=y.lanes|y.childLanes,f|=y.subtreeFlags&65011712,f|=y.flags&65011712,y.return=i,y=y.sibling;else for(y=i.child;y!==null;)u|=y.lanes|y.childLanes,f|=y.subtreeFlags,f|=y.flags,y.return=i,y=y.sibling;return i.subtreeFlags|=f,i.childLanes=u,o}function ZF(i,o,u){var f=o.pendingProps;switch(uf(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(o),null;case 1:return wt(o),null;case 3:return u=o.stateNode,f=null,i!==null&&(f=i.memoizedState.cache),o.memoizedState.cache!==f&&(o.flags|=2048),Ei(Wt),Le(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(i===null||i.child===null)&&($o(o)?_i(o):i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,df())),wt(o),null;case 26:var y=o.type,S=o.memoizedState;return i===null?(_i(o),S!==null?(wt(o),__(o,S)):(wt(o),rg(o,y,null,f,u))):S?S!==i.memoizedState?(_i(o),wt(o),__(o,S)):(wt(o),o.flags&=-16777217):(i=i.memoizedProps,i!==f&&_i(o),wt(o),rg(o,y,i,f,u)),null;case 27:if(lt(o),u=ge.current,y=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==f&&_i(o);else{if(!f){if(o.stateNode===null)throw Error(n(166));return wt(o),null}i=de.current,$o(o)?iT(o):(i=Nw(y,f,u),o.stateNode=i,_i(o))}return wt(o),null;case 5:if(lt(o),y=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==f&&_i(o);else{if(!f){if(o.stateNode===null)throw Error(n(166));return wt(o),null}if(S=de.current,$o(o))iT(o);else{var _=Eh(ge.current);switch(S){case 1:S=_.createElementNS("http://www.w3.org/2000/svg",y);break;case 2:S=_.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;default:switch(y){case"svg":S=_.createElementNS("http://www.w3.org/2000/svg",y);break;case"math":S=_.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;case"script":S=_.createElement("div"),S.innerHTML="<script><\/script>",S=S.removeChild(S.firstChild);break;case"select":S=typeof f.is=="string"?_.createElement("select",{is:f.is}):_.createElement("select"),f.multiple?S.multiple=!0:f.size&&(S.size=f.size);break;default:S=typeof f.is=="string"?_.createElement(y,{is:f.is}):_.createElement(y)}}S[$t]=o,S[Rt]=f;e:for(_=o.child;_!==null;){if(_.tag===5||_.tag===6)S.appendChild(_.stateNode);else if(_.tag!==4&&_.tag!==27&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===o)break e;for(;_.sibling===null;){if(_.return===null||_.return===o)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}o.stateNode=S;e:switch(mr(S,y,f),y){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&_i(o)}}return wt(o),rg(o,o.type,i===null?null:i.memoizedProps,o.pendingProps,u),null;case 6:if(i&&o.stateNode!=null)i.memoizedProps!==f&&_i(o);else{if(typeof f!="string"&&o.stateNode===null)throw Error(n(166));if(i=ge.current,$o(o)){if(i=o.stateNode,u=o.memoizedProps,f=null,y=pr,y!==null)switch(y.tag){case 27:case 5:f=y.memoizedProps}i[$t]=o,i=!!(i.nodeValue===u||f!==null&&f.suppressHydrationWarning===!0||Ew(i.nodeValue,u)),i||ta(o,!0)}else i=Eh(i).createTextNode(f),i[$t]=o,o.stateNode=i}return wt(o),null;case 31:if(u=o.memoizedState,i===null||i.memoizedState!==null){if(f=$o(o),u!==null){if(i===null){if(!f)throw Error(n(318));if(i=o.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(557));i[$t]=o}else Ha(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;wt(o),i=!1}else u=df(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),i=!0;if(!i)return o.flags&256?(on(o),o):(on(o),null);if((o.flags&128)!==0)throw Error(n(558))}return wt(o),null;case 13:if(f=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(y=$o(o),f!==null&&f.dehydrated!==null){if(i===null){if(!y)throw Error(n(318));if(y=o.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(n(317));y[$t]=o}else Ha(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;wt(o),y=!1}else y=df(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=y),y=!0;if(!y)return o.flags&256?(on(o),o):(on(o),null)}return on(o),(o.flags&128)!==0?(o.lanes=u,o):(u=f!==null,i=i!==null&&i.memoizedState!==null,u&&(f=o.child,y=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(y=f.alternate.memoizedState.cachePool.pool),S=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(S=f.memoizedState.cachePool.pool),S!==y&&(f.flags|=2048)),u!==i&&u&&(o.child.flags|=8192),oh(o,o.updateQueue),wt(o),null);case 4:return Le(),i===null&&Tg(o.stateNode.containerInfo),wt(o),null;case 10:return Ei(o.type),wt(o),null;case 19:if(ee(Pt),f=o.memoizedState,f===null)return wt(o),null;if(y=(o.flags&128)!==0,S=f.rendering,S===null)if(y)$l(f,!1);else{if(Bt!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(S=Yu(i),S!==null){for(o.flags|=128,$l(f,!1),i=S.updateQueue,o.updateQueue=i,oh(o,i),o.subtreeFlags=0,i=u,u=o.child;u!==null;)Jk(u,i),u=u.sibling;return N(Pt,Pt.current&1|2),rt&&Si(o,f.treeForkCount),o.child}i=i.sibling}f.tail!==null&&er()>hh&&(o.flags|=128,y=!0,$l(f,!1),o.lanes=4194304)}else{if(!y)if(i=Yu(S),i!==null){if(o.flags|=128,y=!0,i=i.updateQueue,o.updateQueue=i,oh(o,i),$l(f,!0),f.tail===null&&f.tailMode==="hidden"&&!S.alternate&&!rt)return wt(o),null}else 2*er()-f.renderingStartTime>hh&&u!==536870912&&(o.flags|=128,y=!0,$l(f,!1),o.lanes=4194304);f.isBackwards?(S.sibling=o.child,o.child=S):(i=f.last,i!==null?i.sibling=S:o.child=S,f.last=S)}return f.tail!==null?(i=f.tail,f.rendering=i,f.tail=i.sibling,f.renderingStartTime=er(),i.sibling=null,u=Pt.current,N(Pt,y?u&1|2:u&1),rt&&Si(o,f.treeForkCount),i):(wt(o),null);case 22:case 23:return on(o),_f(),f=o.memoizedState!==null,i!==null?i.memoizedState!==null!==f&&(o.flags|=8192):f&&(o.flags|=8192),f?(u&536870912)!==0&&(o.flags&128)===0&&(wt(o),o.subtreeFlags&6&&(o.flags|=8192)):wt(o),u=o.updateQueue,u!==null&&oh(o,u.retryQueue),u=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==u&&(o.flags|=2048),i!==null&&ee(ja),null;case 24:return u=null,i!==null&&(u=i.memoizedState.cache),o.memoizedState.cache!==u&&(o.flags|=2048),Ei(Wt),wt(o),null;case 25:return null;case 30:return null}throw Error(n(156,o.tag))}function KF(i,o){switch(uf(o),o.tag){case 1:return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return Ei(Wt),Le(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 26:case 27:case 5:return lt(o),null;case 31:if(o.memoizedState!==null){if(on(o),o.alternate===null)throw Error(n(340));Ha()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 13:if(on(o),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(n(340));Ha()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return ee(Pt),null;case 4:return Le(),null;case 10:return Ei(o.type),null;case 22:case 23:return on(o),_f(),i!==null&&ee(ja),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 24:return Ei(Wt),null;case 25:return null;default:return null}}function w_(i,o){switch(uf(o),o.tag){case 3:Ei(Wt),Le();break;case 26:case 27:case 5:lt(o);break;case 4:Le();break;case 31:o.memoizedState!==null&&on(o);break;case 13:on(o);break;case 19:ee(Pt);break;case 10:Ei(o.type);break;case 22:case 23:on(o),_f(),i!==null&&ee(ja);break;case 24:Ei(Wt)}}function zl(i,o){try{var u=o.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var y=f.next;u=y;do{if((u.tag&i)===i){f=void 0;var S=u.create,_=u.inst;f=S(),_.destroy=f}u=u.next}while(u!==y)}}catch(D){bt(o,o.return,D)}}function la(i,o,u){try{var f=o.updateQueue,y=f!==null?f.lastEffect:null;if(y!==null){var S=y.next;f=S;do{if((f.tag&i)===i){var _=f.inst,D=_.destroy;if(D!==void 0){_.destroy=void 0,y=o;var j=u,re=D;try{re()}catch(ce){bt(y,j,ce)}}}f=f.next}while(f!==S)}}catch(ce){bt(o,o.return,ce)}}function v_(i){var o=i.updateQueue;if(o!==null){var u=i.stateNode;try{bT(o,u)}catch(f){bt(i,i.return,f)}}}function A_(i,o,u){u.props=Za(i.type,i.memoizedProps),u.state=i.memoizedState;try{u.componentWillUnmount()}catch(f){bt(i,o,f)}}function Pl(i,o){try{var u=i.ref;if(u!==null){switch(i.tag){case 26:case 27:case 5:var f=i.stateNode;break;case 30:f=i.stateNode;break;default:f=i.stateNode}typeof u=="function"?i.refCleanup=u(f):u.current=f}}catch(y){bt(i,o,y)}}function Qn(i,o){var u=i.ref,f=i.refCleanup;if(u!==null)if(typeof f=="function")try{f()}catch(y){bt(i,o,y)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(y){bt(i,o,y)}else u.current=null}function R_(i){var o=i.type,u=i.memoizedProps,f=i.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":u.autoFocus&&f.focus();break e;case"img":u.src?f.src=u.src:u.srcSet&&(f.srcset=u.srcSet)}}catch(y){bt(i,i.return,y)}}function ng(i,o,u){try{var f=i.stateNode;SM(f,i.type,u,o),f[Rt]=o}catch(y){bt(i,i.return,y)}}function D_(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&ga(i.type)||i.tag===4}function ig(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||D_(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&ga(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function ag(i,o,u){var f=i.tag;if(f===5||f===6)i=i.stateNode,o?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(i,o):(o=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,o.appendChild(i),u=u._reactRootContainer,u!=null||o.onclick!==null||(o.onclick=mi));else if(f!==4&&(f===27&&ga(i.type)&&(u=i.stateNode,o=null),i=i.child,i!==null))for(ag(i,o,u),i=i.sibling;i!==null;)ag(i,o,u),i=i.sibling}function sh(i,o,u){var f=i.tag;if(f===5||f===6)i=i.stateNode,o?u.insertBefore(i,o):u.appendChild(i);else if(f!==4&&(f===27&&ga(i.type)&&(u=i.stateNode),i=i.child,i!==null))for(sh(i,o,u),i=i.sibling;i!==null;)sh(i,o,u),i=i.sibling}function L_(i){var o=i.stateNode,u=i.memoizedProps;try{for(var f=i.type,y=o.attributes;y.length;)o.removeAttributeNode(y[0]);mr(o,f,u),o[$t]=i,o[Rt]=u}catch(S){bt(i,i.return,S)}}var wi=!1,Xt=!1,og=!1,N_=typeof WeakSet=="function"?WeakSet:Set,sr=null;function QF(i,o){if(i=i.containerInfo,vg=Ah,i=Gk(i),Qp(i)){if("selectionStart"in i)var u={start:i.selectionStart,end:i.selectionEnd};else e:{u=(u=i.ownerDocument)&&u.defaultView||window;var f=u.getSelection&&u.getSelection();if(f&&f.rangeCount!==0){u=f.anchorNode;var y=f.anchorOffset,S=f.focusNode;f=f.focusOffset;try{u.nodeType,S.nodeType}catch{u=null;break e}var _=0,D=-1,j=-1,re=0,ce=0,he=i,ne=null;t:for(;;){for(var oe;he!==u||y!==0&&he.nodeType!==3||(D=_+y),he!==S||f!==0&&he.nodeType!==3||(j=_+f),he.nodeType===3&&(_+=he.nodeValue.length),(oe=he.firstChild)!==null;)ne=he,he=oe;for(;;){if(he===i)break t;if(ne===u&&++re===y&&(D=_),ne===S&&++ce===f&&(j=_),(oe=he.nextSibling)!==null)break;he=ne,ne=he.parentNode}he=oe}u=D===-1||j===-1?null:{start:D,end:j}}else u=null}u=u||{start:0,end:0}}else u=null;for(Ag={focusedElem:i,selectionRange:u},Ah=!1,sr=o;sr!==null;)if(o=sr,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,sr=i;else for(;sr!==null;){switch(o=sr,S=o.alternate,i=o.flags,o.tag){case 0:if((i&4)!==0&&(i=o.updateQueue,i=i!==null?i.events:null,i!==null))for(u=0;u<i.length;u++)y=i[u],y.ref.impl=y.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&S!==null){i=void 0,u=o,y=S.memoizedProps,S=S.memoizedState,f=u.stateNode;try{var xe=Za(u.type,y);i=f.getSnapshotBeforeUpdate(xe,S),f.__reactInternalSnapshotBeforeUpdate=i}catch(Fe){bt(u,u.return,Fe)}}break;case 3:if((i&1024)!==0){if(i=o.stateNode.containerInfo,u=i.nodeType,u===9)Lg(i);else if(u===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Lg(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(n(163))}if(i=o.sibling,i!==null){i.return=o.return,sr=i;break}sr=o.return}}function O_(i,o,u){var f=u.flags;switch(u.tag){case 0:case 11:case 15:Ai(i,u),f&4&&zl(5,u);break;case 1:if(Ai(i,u),f&4)if(i=u.stateNode,o===null)try{i.componentDidMount()}catch(_){bt(u,u.return,_)}else{var y=Za(u.type,o.memoizedProps);o=o.memoizedState;try{i.componentDidUpdate(y,o,i.__reactInternalSnapshotBeforeUpdate)}catch(_){bt(u,u.return,_)}}f&64&&v_(u),f&512&&Pl(u,u.return);break;case 3:if(Ai(i,u),f&64&&(i=u.updateQueue,i!==null)){if(o=null,u.child!==null)switch(u.child.tag){case 27:case 5:o=u.child.stateNode;break;case 1:o=u.child.stateNode}try{bT(i,o)}catch(_){bt(u,u.return,_)}}break;case 27:o===null&&f&4&&L_(u);case 26:case 5:Ai(i,u),o===null&&f&4&&R_(u),f&512&&Pl(u,u.return);break;case 12:Ai(i,u);break;case 31:Ai(i,u),f&4&&F_(i,u);break;case 13:Ai(i,u),f&4&&M_(i,u),f&64&&(i=u.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(u=sM.bind(null,u),vM(i,u))));break;case 22:if(f=u.memoizedState!==null||wi,!f){o=o!==null&&o.memoizedState!==null||Xt,y=wi;var S=Xt;wi=f,(Xt=o)&&!S?Ri(i,u,(u.subtreeFlags&8772)!==0):Ai(i,u),wi=y,Xt=S}break;case 30:break;default:Ai(i,u)}}function I_(i){var o=i.alternate;o!==null&&(i.alternate=null,I_(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&De(o)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var Dt=null,qr=!1;function vi(i,o,u){for(u=u.child;u!==null;)B_(i,o,u),u=u.sibling}function B_(i,o,u){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Gt,u)}catch{}switch(u.tag){case 26:Xt||Qn(u,o),vi(i,o,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Xt||Qn(u,o);var f=Dt,y=qr;ga(u.type)&&(Dt=u.stateNode,qr=!1),vi(i,o,u),Zl(u.stateNode),Dt=f,qr=y;break;case 5:Xt||Qn(u,o);case 6:if(f=Dt,y=qr,Dt=null,vi(i,o,u),Dt=f,qr=y,Dt!==null)if(qr)try{(Dt.nodeType===9?Dt.body:Dt.nodeName==="HTML"?Dt.ownerDocument.body:Dt).removeChild(u.stateNode)}catch(S){bt(u,o,S)}else try{Dt.removeChild(u.stateNode)}catch(S){bt(u,o,S)}break;case 18:Dt!==null&&(qr?(i=Dt,vw(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,u.stateNode),os(i)):vw(Dt,u.stateNode));break;case 4:f=Dt,y=qr,Dt=u.stateNode.containerInfo,qr=!0,vi(i,o,u),Dt=f,qr=y;break;case 0:case 11:case 14:case 15:la(2,u,o),Xt||la(4,u,o),vi(i,o,u);break;case 1:Xt||(Qn(u,o),f=u.stateNode,typeof f.componentWillUnmount=="function"&&A_(u,o,f)),vi(i,o,u);break;case 21:vi(i,o,u);break;case 22:Xt=(f=Xt)||u.memoizedState!==null,vi(i,o,u),Xt=f;break;default:vi(i,o,u)}}function F_(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{os(i)}catch(u){bt(o,o.return,u)}}}function M_(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{os(i)}catch(u){bt(o,o.return,u)}}function JF(i){switch(i.tag){case 31:case 13:case 19:var o=i.stateNode;return o===null&&(o=i.stateNode=new N_),o;case 22:return i=i.stateNode,o=i._retryCache,o===null&&(o=i._retryCache=new N_),o;default:throw Error(n(435,i.tag))}}function lh(i,o){var u=JF(i);o.forEach(function(f){if(!u.has(f)){u.add(f);var y=lM.bind(null,i,f);f.then(y,y)}})}function Gr(i,o){var u=o.deletions;if(u!==null)for(var f=0;f<u.length;f++){var y=u[f],S=i,_=o,D=_;e:for(;D!==null;){switch(D.tag){case 27:if(ga(D.type)){Dt=D.stateNode,qr=!1;break e}break;case 5:Dt=D.stateNode,qr=!1;break e;case 3:case 4:Dt=D.stateNode.containerInfo,qr=!0;break e}D=D.return}if(Dt===null)throw Error(n(160));B_(S,_,y),Dt=null,qr=!1,S=y.alternate,S!==null&&(S.return=null),y.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)U_(o,i),o=o.sibling}var Fn=null;function U_(i,o){var u=i.alternate,f=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:Gr(o,i),jr(i),f&4&&(la(3,i,i.return),zl(3,i),la(5,i,i.return));break;case 1:Gr(o,i),jr(i),f&512&&(Xt||u===null||Qn(u,u.return)),f&64&&wi&&(i=i.updateQueue,i!==null&&(f=i.callbacks,f!==null&&(u=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=u===null?f:u.concat(f))));break;case 26:var y=Fn;if(Gr(o,i),jr(i),f&512&&(Xt||u===null||Qn(u,u.return)),f&4){var S=u!==null?u.memoizedState:null;if(f=i.memoizedState,u===null)if(f===null)if(i.stateNode===null){e:{f=i.type,u=i.memoizedProps,y=y.ownerDocument||y;t:switch(f){case"title":S=y.getElementsByTagName("title")[0],(!S||S[Ki]||S[$t]||S.namespaceURI==="http://www.w3.org/2000/svg"||S.hasAttribute("itemprop"))&&(S=y.createElement(f),y.head.insertBefore(S,y.querySelector("head > title"))),mr(S,f,u),S[$t]=i,tt(S),f=S;break e;case"link":var _=Uw("link","href",y).get(f+(u.href||""));if(_){for(var D=0;D<_.length;D++)if(S=_[D],S.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&S.getAttribute("rel")===(u.rel==null?null:u.rel)&&S.getAttribute("title")===(u.title==null?null:u.title)&&S.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){_.splice(D,1);break t}}S=y.createElement(f),mr(S,f,u),y.head.appendChild(S);break;case"meta":if(_=Uw("meta","content",y).get(f+(u.content||""))){for(D=0;D<_.length;D++)if(S=_[D],S.getAttribute("content")===(u.content==null?null:""+u.content)&&S.getAttribute("name")===(u.name==null?null:u.name)&&S.getAttribute("property")===(u.property==null?null:u.property)&&S.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&S.getAttribute("charset")===(u.charSet==null?null:u.charSet)){_.splice(D,1);break t}}S=y.createElement(f),mr(S,f,u),y.head.appendChild(S);break;default:throw Error(n(468,f))}S[$t]=i,tt(S),f=S}i.stateNode=f}else $w(y,i.type,i.stateNode);else i.stateNode=Mw(y,f,i.memoizedProps);else S!==f?(S===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):S.count--,f===null?$w(y,i.type,i.stateNode):Mw(y,f,i.memoizedProps)):f===null&&i.stateNode!==null&&ng(i,i.memoizedProps,u.memoizedProps)}break;case 27:Gr(o,i),jr(i),f&512&&(Xt||u===null||Qn(u,u.return)),u!==null&&f&4&&ng(i,i.memoizedProps,u.memoizedProps);break;case 5:if(Gr(o,i),jr(i),f&512&&(Xt||u===null||Qn(u,u.return)),i.flags&32){y=i.stateNode;try{Ro(y,"")}catch(xe){bt(i,i.return,xe)}}f&4&&i.stateNode!=null&&(y=i.memoizedProps,ng(i,y,u!==null?u.memoizedProps:y)),f&1024&&(og=!0);break;case 6:if(Gr(o,i),jr(i),f&4){if(i.stateNode===null)throw Error(n(162));f=i.memoizedProps,u=i.stateNode;try{u.nodeValue=f}catch(xe){bt(i,i.return,xe)}}break;case 3:if(Th=null,y=Fn,Fn=xh(o.containerInfo),Gr(o,i),Fn=y,jr(i),f&4&&u!==null&&u.memoizedState.isDehydrated)try{os(o.containerInfo)}catch(xe){bt(i,i.return,xe)}og&&(og=!1,$_(i));break;case 4:f=Fn,Fn=xh(i.stateNode.containerInfo),Gr(o,i),jr(i),Fn=f;break;case 12:Gr(o,i),jr(i);break;case 31:Gr(o,i),jr(i),f&4&&(f=i.updateQueue,f!==null&&(i.updateQueue=null,lh(i,f)));break;case 13:Gr(o,i),jr(i),i.child.flags&8192&&i.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(uh=er()),f&4&&(f=i.updateQueue,f!==null&&(i.updateQueue=null,lh(i,f)));break;case 22:y=i.memoizedState!==null;var j=u!==null&&u.memoizedState!==null,re=wi,ce=Xt;if(wi=re||y,Xt=ce||j,Gr(o,i),Xt=ce,wi=re,jr(i),f&8192)e:for(o=i.stateNode,o._visibility=y?o._visibility&-2:o._visibility|1,y&&(u===null||j||wi||Xt||Ka(i)),u=null,o=i;;){if(o.tag===5||o.tag===26){if(u===null){j=u=o;try{if(S=j.stateNode,y)_=S.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{D=j.stateNode;var he=j.memoizedProps.style,ne=he!=null&&he.hasOwnProperty("display")?he.display:null;D.style.display=ne==null||typeof ne=="boolean"?"":(""+ne).trim()}}catch(xe){bt(j,j.return,xe)}}}else if(o.tag===6){if(u===null){j=o;try{j.stateNode.nodeValue=y?"":j.memoizedProps}catch(xe){bt(j,j.return,xe)}}}else if(o.tag===18){if(u===null){j=o;try{var oe=j.stateNode;y?Aw(oe,!0):Aw(j.stateNode,!1)}catch(xe){bt(j,j.return,xe)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===i)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;u===o&&(u=null),o=o.return}u===o&&(u=null),o.sibling.return=o.return,o=o.sibling}f&4&&(f=i.updateQueue,f!==null&&(u=f.retryQueue,u!==null&&(f.retryQueue=null,lh(i,u))));break;case 19:Gr(o,i),jr(i),f&4&&(f=i.updateQueue,f!==null&&(i.updateQueue=null,lh(i,f)));break;case 30:break;case 21:break;default:Gr(o,i),jr(i)}}function jr(i){var o=i.flags;if(o&2){try{for(var u,f=i.return;f!==null;){if(D_(f)){u=f;break}f=f.return}if(u==null)throw Error(n(160));switch(u.tag){case 27:var y=u.stateNode,S=ig(i);sh(i,S,y);break;case 5:var _=u.stateNode;u.flags&32&&(Ro(_,""),u.flags&=-33);var D=ig(i);sh(i,D,_);break;case 3:case 4:var j=u.stateNode.containerInfo,re=ig(i);ag(i,re,j);break;default:throw Error(n(161))}}catch(ce){bt(i,i.return,ce)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function $_(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var o=i;$_(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),i=i.sibling}}function Ai(i,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)O_(i,o.alternate,o),o=o.sibling}function Ka(i){for(i=i.child;i!==null;){var o=i;switch(o.tag){case 0:case 11:case 14:case 15:la(4,o,o.return),Ka(o);break;case 1:Qn(o,o.return);var u=o.stateNode;typeof u.componentWillUnmount=="function"&&A_(o,o.return,u),Ka(o);break;case 27:Zl(o.stateNode);case 26:case 5:Qn(o,o.return),Ka(o);break;case 22:o.memoizedState===null&&Ka(o);break;case 30:Ka(o);break;default:Ka(o)}i=i.sibling}}function Ri(i,o,u){for(u=u&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var f=o.alternate,y=i,S=o,_=S.flags;switch(S.tag){case 0:case 11:case 15:Ri(y,S,u),zl(4,S);break;case 1:if(Ri(y,S,u),f=S,y=f.stateNode,typeof y.componentDidMount=="function")try{y.componentDidMount()}catch(re){bt(f,f.return,re)}if(f=S,y=f.updateQueue,y!==null){var D=f.stateNode;try{var j=y.shared.hiddenCallbacks;if(j!==null)for(y.shared.hiddenCallbacks=null,y=0;y<j.length;y++)mT(j[y],D)}catch(re){bt(f,f.return,re)}}u&&_&64&&v_(S),Pl(S,S.return);break;case 27:L_(S);case 26:case 5:Ri(y,S,u),u&&f===null&&_&4&&R_(S),Pl(S,S.return);break;case 12:Ri(y,S,u);break;case 31:Ri(y,S,u),u&&_&4&&F_(y,S);break;case 13:Ri(y,S,u),u&&_&4&&M_(y,S);break;case 22:S.memoizedState===null&&Ri(y,S,u),Pl(S,S.return);break;case 30:break;default:Ri(y,S,u)}o=o.sibling}}function sg(i,o){var u=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),i=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(i=o.memoizedState.cachePool.pool),i!==u&&(i!=null&&i.refCount++,u!=null&&vl(u))}function lg(i,o){i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&vl(i))}function Mn(i,o,u,f){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)z_(i,o,u,f),o=o.sibling}function z_(i,o,u,f){var y=o.flags;switch(o.tag){case 0:case 11:case 15:Mn(i,o,u,f),y&2048&&zl(9,o);break;case 1:Mn(i,o,u,f);break;case 3:Mn(i,o,u,f),y&2048&&(i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&vl(i)));break;case 12:if(y&2048){Mn(i,o,u,f),i=o.stateNode;try{var S=o.memoizedProps,_=S.id,D=S.onPostCommit;typeof D=="function"&&D(_,o.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(j){bt(o,o.return,j)}}else Mn(i,o,u,f);break;case 31:Mn(i,o,u,f);break;case 13:Mn(i,o,u,f);break;case 23:break;case 22:S=o.stateNode,_=o.alternate,o.memoizedState!==null?S._visibility&2?Mn(i,o,u,f):Hl(i,o):S._visibility&2?Mn(i,o,u,f):(S._visibility|=2,Xo(i,o,u,f,(o.subtreeFlags&10256)!==0||!1)),y&2048&&sg(_,o);break;case 24:Mn(i,o,u,f),y&2048&&lg(o.alternate,o);break;default:Mn(i,o,u,f)}}function Xo(i,o,u,f,y){for(y=y&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var S=i,_=o,D=u,j=f,re=_.flags;switch(_.tag){case 0:case 11:case 15:Xo(S,_,D,j,y),zl(8,_);break;case 23:break;case 22:var ce=_.stateNode;_.memoizedState!==null?ce._visibility&2?Xo(S,_,D,j,y):Hl(S,_):(ce._visibility|=2,Xo(S,_,D,j,y)),y&&re&2048&&sg(_.alternate,_);break;case 24:Xo(S,_,D,j,y),y&&re&2048&&lg(_.alternate,_);break;default:Xo(S,_,D,j,y)}o=o.sibling}}function Hl(i,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var u=i,f=o,y=f.flags;switch(f.tag){case 22:Hl(u,f),y&2048&&sg(f.alternate,f);break;case 24:Hl(u,f),y&2048&&lg(f.alternate,f);break;default:Hl(u,f)}o=o.sibling}}var ql=8192;function Zo(i,o,u){if(i.subtreeFlags&ql)for(i=i.child;i!==null;)P_(i,o,u),i=i.sibling}function P_(i,o,u){switch(i.tag){case 26:Zo(i,o,u),i.flags&ql&&i.memoizedState!==null&&$M(u,Fn,i.memoizedState,i.memoizedProps);break;case 5:Zo(i,o,u);break;case 3:case 4:var f=Fn;Fn=xh(i.stateNode.containerInfo),Zo(i,o,u),Fn=f;break;case 22:i.memoizedState===null&&(f=i.alternate,f!==null&&f.memoizedState!==null?(f=ql,ql=16777216,Zo(i,o,u),ql=f):Zo(i,o,u));break;default:Zo(i,o,u)}}function H_(i){var o=i.alternate;if(o!==null&&(i=o.child,i!==null)){o.child=null;do o=i.sibling,i.sibling=null,i=o;while(i!==null)}}function Gl(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var u=0;u<o.length;u++){var f=o[u];sr=f,G_(f,i)}H_(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)q_(i),i=i.sibling}function q_(i){switch(i.tag){case 0:case 11:case 15:Gl(i),i.flags&2048&&la(9,i,i.return);break;case 3:Gl(i);break;case 12:Gl(i);break;case 22:var o=i.stateNode;i.memoizedState!==null&&o._visibility&2&&(i.return===null||i.return.tag!==13)?(o._visibility&=-3,ch(i)):Gl(i);break;default:Gl(i)}}function ch(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var u=0;u<o.length;u++){var f=o[u];sr=f,G_(f,i)}H_(i)}for(i=i.child;i!==null;){switch(o=i,o.tag){case 0:case 11:case 15:la(8,o,o.return),ch(o);break;case 22:u=o.stateNode,u._visibility&2&&(u._visibility&=-3,ch(o));break;default:ch(o)}i=i.sibling}}function G_(i,o){for(;sr!==null;){var u=sr;switch(u.tag){case 0:case 11:case 15:la(8,u,o);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var f=u.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:vl(u.memoizedState.cache)}if(f=u.child,f!==null)f.return=u,sr=f;else e:for(u=i;sr!==null;){f=sr;var y=f.sibling,S=f.return;if(I_(f),f===u){sr=null;break e}if(y!==null){y.return=S,sr=y;break e}sr=S}}}var eM={getCacheForType:function(i){var o=fr(Wt),u=o.data.get(i);return u===void 0&&(u=i(),o.data.set(i,u)),u},cacheSignal:function(){return fr(Wt).controller.signal}},tM=typeof WeakMap=="function"?WeakMap:Map,ft=0,Et=null,Xe=null,Qe=0,mt=0,sn=null,ca=!1,Ko=!1,cg=!1,Di=0,Bt=0,ua=0,Qa=0,ug=0,ln=0,Qo=0,jl=null,Wr=null,hg=!1,uh=0,j_=0,hh=1/0,dh=null,ha=null,tr=0,da=null,Jo=null,Li=0,dg=0,pg=null,W_=null,Wl=0,fg=null;function cn(){return(ft&2)!==0&&Qe!==0?Qe&-Qe:I.T!==null?Cg():hl()}function Y_(){if(ln===0)if((Qe&536870912)===0||rt){var i=Xi;Xi<<=1,(Xi&3932160)===0&&(Xi=262144),ln=i}else ln=536870912;return i=an.current,i!==null&&(i.flags|=32),ln}function Yr(i,o,u){(i===Et&&(mt===2||mt===9)||i.cancelPendingCommit!==null)&&(es(i,0),pa(i,Qe,ln,!1)),Zi(i,u),((ft&2)===0||i!==Et)&&(i===Et&&((ft&2)===0&&(Qa|=u),Bt===4&&pa(i,Qe,ln,!1)),Jn(i))}function V_(i,o,u){if((ft&6)!==0)throw Error(n(327));var f=!u&&(o&127)===0&&(o&i.expiredLanes)===0||Fa(i,o),y=f?iM(i,o):mg(i,o,!0),S=f;do{if(y===0){Ko&&!f&&pa(i,o,0,!1);break}else{if(u=i.current.alternate,S&&!rM(u)){y=mg(i,o,!1),S=!1;continue}if(y===2){if(S=o,i.errorRecoveryDisabledLanes&S)var _=0;else _=i.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){o=_;e:{var D=i;y=jl;var j=D.current.memoizedState.isDehydrated;if(j&&(es(D,_).flags|=256),_=mg(D,_,!1),_!==2){if(cg&&!j){D.errorRecoveryDisabledLanes|=S,Qa|=S,y=4;break e}S=Wr,Wr=y,S!==null&&(Wr===null?Wr=S:Wr.push.apply(Wr,S))}y=_}if(S=!1,y!==2)continue}}if(y===1){es(i,0),pa(i,o,0,!0);break}e:{switch(f=i,S=y,S){case 0:case 1:throw Error(n(345));case 4:if((o&4194048)!==o)break;case 6:pa(f,o,ln,!ca);break e;case 2:Wr=null;break;case 3:case 5:break;default:throw Error(n(329))}if((o&62914560)===o&&(y=uh+300-er(),10<y)){if(pa(f,o,ln,!ca),wo(f,0,!0)!==0)break e;Li=o,f.timeoutHandle=_w(X_.bind(null,f,u,Wr,dh,hg,o,ln,Qa,Qo,ca,S,"Throttled",-0,0),y);break e}X_(f,u,Wr,dh,hg,o,ln,Qa,Qo,ca,S,null,-0,0)}}break}while(!0);Jn(i)}function X_(i,o,u,f,y,S,_,D,j,re,ce,he,ne,oe){if(i.timeoutHandle=-1,he=o.subtreeFlags,he&8192||(he&16785408)===16785408){he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:mi},P_(o,S,he);var xe=(S&62914560)===S?uh-er():(S&4194048)===S?j_-er():0;if(xe=zM(he,xe),xe!==null){Li=S,i.cancelPendingCommit=xe(nw.bind(null,i,o,S,u,f,y,_,D,j,ce,he,null,ne,oe)),pa(i,S,_,!re);return}}nw(i,o,S,u,f,y,_,D,j)}function rM(i){for(var o=i;;){var u=o.tag;if((u===0||u===11||u===15)&&o.flags&16384&&(u=o.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var f=0;f<u.length;f++){var y=u[f],S=y.getSnapshot;y=y.value;try{if(!rn(S(),y))return!1}catch{return!1}}if(u=o.child,o.subtreeFlags&16384&&u!==null)u.return=o,o=u;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function pa(i,o,u,f){o&=~ug,o&=~Qa,i.suspendedLanes|=o,i.pingedLanes&=~o,f&&(i.warmLanes|=o),f=i.expirationTimes;for(var y=o;0<y;){var S=31-at(y),_=1<<S;f[S]=-1,y&=~_}u!==0&&cl(i,u,o)}function ph(){return(ft&6)===0?(Yl(0),!1):!0}function gg(){if(Xe!==null){if(mt===0)var i=Xe.return;else i=Xe,Ci=qa=null,Lf(i),Go=null,Rl=0,i=Xe;for(;i!==null;)w_(i.alternate,i),i=i.return;Xe=null}}function es(i,o){var u=i.timeoutHandle;u!==-1&&(i.timeoutHandle=-1,xM(u)),u=i.cancelPendingCommit,u!==null&&(i.cancelPendingCommit=null,u()),Li=0,gg(),Et=i,Xe=u=yi(i.current,null),Qe=o,mt=0,sn=null,ca=!1,Ko=Fa(i,o),cg=!1,Qo=ln=ug=Qa=ua=Bt=0,Wr=jl=null,hg=!1,(o&8)!==0&&(o|=o&32);var f=i.entangledLanes;if(f!==0)for(i=i.entanglements,f&=o;0<f;){var y=31-at(f),S=1<<y;o|=i[y],f&=~S}return Di=o,Iu(),u}function Z_(i,o){He=null,I.H=Ml,o===qo||o===Hu?(o=dT(),mt=3):o===Sf?(o=dT(),mt=4):mt=o===Yf?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,sn=o,Xe===null&&(Bt=1,rh(i,Cn(o,i.current)))}function K_(){var i=an.current;return i===null?!0:(Qe&4194048)===Qe?Tn===null:(Qe&62914560)===Qe||(Qe&536870912)!==0?i===Tn:!1}function Q_(){var i=I.H;return I.H=Ml,i===null?Ml:i}function J_(){var i=I.A;return I.A=eM,i}function fh(){Bt=4,ca||(Qe&4194048)!==Qe&&an.current!==null||(Ko=!0),(ua&134217727)===0&&(Qa&134217727)===0||Et===null||pa(Et,Qe,ln,!1)}function mg(i,o,u){var f=ft;ft|=2;var y=Q_(),S=J_();(Et!==i||Qe!==o)&&(dh=null,es(i,o)),o=!1;var _=Bt;e:do try{if(mt!==0&&Xe!==null){var D=Xe,j=sn;switch(mt){case 8:gg(),_=6;break e;case 3:case 2:case 9:case 6:an.current===null&&(o=!0);var re=mt;if(mt=0,sn=null,ts(i,D,j,re),u&&Ko){_=0;break e}break;default:re=mt,mt=0,sn=null,ts(i,D,j,re)}}nM(),_=Bt;break}catch(ce){Z_(i,ce)}while(!0);return o&&i.shellSuspendCounter++,Ci=qa=null,ft=f,I.H=y,I.A=S,Xe===null&&(Et=null,Qe=0,Iu()),_}function nM(){for(;Xe!==null;)ew(Xe)}function iM(i,o){var u=ft;ft|=2;var f=Q_(),y=J_();Et!==i||Qe!==o?(dh=null,hh=er()+500,es(i,o)):Ko=Fa(i,o);e:do try{if(mt!==0&&Xe!==null){o=Xe;var S=sn;t:switch(mt){case 1:mt=0,sn=null,ts(i,o,S,1);break;case 2:case 9:if(uT(S)){mt=0,sn=null,tw(o);break}o=function(){mt!==2&&mt!==9||Et!==i||(mt=7),Jn(i)},S.then(o,o);break e;case 3:mt=7;break e;case 4:mt=5;break e;case 7:uT(S)?(mt=0,sn=null,tw(o)):(mt=0,sn=null,ts(i,o,S,7));break;case 5:var _=null;switch(Xe.tag){case 26:_=Xe.memoizedState;case 5:case 27:var D=Xe;if(_?zw(_):D.stateNode.complete){mt=0,sn=null;var j=D.sibling;if(j!==null)Xe=j;else{var re=D.return;re!==null?(Xe=re,gh(re)):Xe=null}break t}}mt=0,sn=null,ts(i,o,S,5);break;case 6:mt=0,sn=null,ts(i,o,S,6);break;case 8:gg(),Bt=6;break e;default:throw Error(n(462))}}aM();break}catch(ce){Z_(i,ce)}while(!0);return Ci=qa=null,I.H=f,I.A=y,ft=u,Xe!==null?0:(Et=null,Qe=0,Iu(),Bt)}function aM(){for(;Xe!==null&&!ko();)ew(Xe)}function ew(i){var o=T_(i.alternate,i,Di);i.memoizedProps=i.pendingProps,o===null?gh(i):Xe=o}function tw(i){var o=i,u=o.alternate;switch(o.tag){case 15:case 0:o=y_(u,o,o.pendingProps,o.type,void 0,Qe);break;case 11:o=y_(u,o,o.pendingProps,o.type.render,o.ref,Qe);break;case 5:Lf(o);default:w_(u,o),o=Xe=Jk(o,Di),o=T_(u,o,Di)}i.memoizedProps=i.pendingProps,o===null?gh(i):Xe=o}function ts(i,o,u,f){Ci=qa=null,Lf(o),Go=null,Rl=0;var y=o.return;try{if(YF(i,y,o,u,Qe)){Bt=1,rh(i,Cn(u,i.current)),Xe=null;return}}catch(S){if(y!==null)throw Xe=y,S;Bt=1,rh(i,Cn(u,i.current)),Xe=null;return}o.flags&32768?(rt||f===1?i=!0:Ko||(Qe&536870912)!==0?i=!1:(ca=i=!0,(f===2||f===9||f===3||f===6)&&(f=an.current,f!==null&&f.tag===13&&(f.flags|=16384))),rw(o,i)):gh(o)}function gh(i){var o=i;do{if((o.flags&32768)!==0){rw(o,ca);return}i=o.return;var u=ZF(o.alternate,o,Di);if(u!==null){Xe=u;return}if(o=o.sibling,o!==null){Xe=o;return}Xe=o=i}while(o!==null);Bt===0&&(Bt=5)}function rw(i,o){do{var u=KF(i.alternate,i);if(u!==null){u.flags&=32767,Xe=u;return}if(u=i.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!o&&(i=i.sibling,i!==null)){Xe=i;return}Xe=i=u}while(i!==null);Bt=6,Xe=null}function nw(i,o,u,f,y,S,_,D,j){i.cancelPendingCommit=null;do mh();while(tr!==0);if((ft&6)!==0)throw Error(n(327));if(o!==null){if(o===i.current)throw Error(n(177));if(S=o.lanes|o.childLanes,S|=nf,ll(i,u,S,_,D,j),i===Et&&(Xe=Et=null,Qe=0),Jo=o,da=i,Li=u,dg=S,pg=y,W_=f,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,cM(Oe,function(){return lw(),null})):(i.callbackNode=null,i.callbackPriority=0),f=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||f){f=I.T,I.T=null,y=P.p,P.p=2,_=ft,ft|=4;try{QF(i,o,u)}finally{ft=_,P.p=y,I.T=f}}tr=1,iw(),aw(),ow()}}function iw(){if(tr===1){tr=0;var i=da,o=Jo,u=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||u){u=I.T,I.T=null;var f=P.p;P.p=2;var y=ft;ft|=4;try{U_(o,i);var S=Ag,_=Gk(i.containerInfo),D=S.focusedElem,j=S.selectionRange;if(_!==D&&D&&D.ownerDocument&&qk(D.ownerDocument.documentElement,D)){if(j!==null&&Qp(D)){var re=j.start,ce=j.end;if(ce===void 0&&(ce=re),"selectionStart"in D)D.selectionStart=re,D.selectionEnd=Math.min(ce,D.value.length);else{var he=D.ownerDocument||document,ne=he&&he.defaultView||window;if(ne.getSelection){var oe=ne.getSelection(),xe=D.textContent.length,Fe=Math.min(j.start,xe),Ct=j.end===void 0?Fe:Math.min(j.end,xe);!oe.extend&&Fe>Ct&&(_=Ct,Ct=Fe,Fe=_);var Q=Hk(D,Fe),Y=Hk(D,Ct);if(Q&&Y&&(oe.rangeCount!==1||oe.anchorNode!==Q.node||oe.anchorOffset!==Q.offset||oe.focusNode!==Y.node||oe.focusOffset!==Y.offset)){var te=he.createRange();te.setStart(Q.node,Q.offset),oe.removeAllRanges(),Fe>Ct?(oe.addRange(te),oe.extend(Y.node,Y.offset)):(te.setEnd(Y.node,Y.offset),oe.addRange(te))}}}}for(he=[],oe=D;oe=oe.parentNode;)oe.nodeType===1&&he.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<he.length;D++){var ue=he[D];ue.element.scrollLeft=ue.left,ue.element.scrollTop=ue.top}}Ah=!!vg,Ag=vg=null}finally{ft=y,P.p=f,I.T=u}}i.current=o,tr=2}}function aw(){if(tr===2){tr=0;var i=da,o=Jo,u=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||u){u=I.T,I.T=null;var f=P.p;P.p=2;var y=ft;ft|=4;try{O_(i,o.alternate,o)}finally{ft=y,P.p=f,I.T=u}}tr=3}}function ow(){if(tr===4||tr===3){tr=0,To();var i=da,o=Jo,u=Li,f=W_;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?tr=5:(tr=0,Jo=da=null,sw(i,i.pendingLanes));var y=i.pendingLanes;if(y===0&&(ha=null),In(u),o=o.stateNode,At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(Gt,o,void 0,(o.current.flags&128)===128)}catch{}if(f!==null){o=I.T,y=P.p,P.p=2,I.T=null;try{for(var S=i.onRecoverableError,_=0;_<f.length;_++){var D=f[_];S(D.value,{componentStack:D.stack})}}finally{I.T=o,P.p=y}}(Li&3)!==0&&mh(),Jn(i),y=i.pendingLanes,(u&261930)!==0&&(y&42)!==0?i===fg?Wl++:(Wl=0,fg=i):Wl=0,Yl(0)}}function sw(i,o){(i.pooledCacheLanes&=o)===0&&(o=i.pooledCache,o!=null&&(i.pooledCache=null,vl(o)))}function mh(){return iw(),aw(),ow(),lw()}function lw(){if(tr!==5)return!1;var i=da,o=dg;dg=0;var u=In(Li),f=I.T,y=P.p;try{P.p=32>u?32:u,I.T=null,u=pg,pg=null;var S=da,_=Li;if(tr=0,Jo=da=null,Li=0,(ft&6)!==0)throw Error(n(331));var D=ft;if(ft|=4,q_(S.current),z_(S,S.current,_,u),ft=D,Yl(0,!1),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(Gt,S)}catch{}return!0}finally{P.p=y,I.T=f,sw(i,o)}}function cw(i,o,u){o=Cn(u,o),o=Wf(i.stateNode,o,2),i=aa(i,o,2),i!==null&&(Zi(i,2),Jn(i))}function bt(i,o,u){if(i.tag===3)cw(i,i,u);else for(;o!==null;){if(o.tag===3){cw(o,i,u);break}else if(o.tag===1){var f=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(ha===null||!ha.has(f))){i=Cn(u,i),u=u_(2),f=aa(o,u,2),f!==null&&(h_(u,f,o,i),Zi(f,2),Jn(f));break}}o=o.return}}function bg(i,o,u){var f=i.pingCache;if(f===null){f=i.pingCache=new tM;var y=new Set;f.set(o,y)}else y=f.get(o),y===void 0&&(y=new Set,f.set(o,y));y.has(u)||(cg=!0,y.add(u),i=oM.bind(null,i,o,u),o.then(i,i))}function oM(i,o,u){var f=i.pingCache;f!==null&&f.delete(o),i.pingedLanes|=i.suspendedLanes&u,i.warmLanes&=~u,Et===i&&(Qe&u)===u&&(Bt===4||Bt===3&&(Qe&62914560)===Qe&&300>er()-uh?(ft&2)===0&&es(i,0):ug|=u,Qo===Qe&&(Qo=0)),Jn(i)}function uw(i,o){o===0&&(o=pi()),i=za(i,o),i!==null&&(Zi(i,o),Jn(i))}function sM(i){var o=i.memoizedState,u=0;o!==null&&(u=o.retryLane),uw(i,u)}function lM(i,o){var u=0;switch(i.tag){case 31:case 13:var f=i.stateNode,y=i.memoizedState;y!==null&&(u=y.retryLane);break;case 19:f=i.stateNode;break;case 22:f=i.stateNode._retryCache;break;default:throw Error(n(314))}f!==null&&f.delete(o),uw(i,u)}function cM(i,o){return On(i,o)}var bh=null,rs=null,yg=!1,yh=!1,Sg=!1,fa=0;function Jn(i){i!==rs&&i.next===null&&(rs===null?bh=rs=i:rs=rs.next=i),yh=!0,yg||(yg=!0,hM())}function Yl(i,o){if(!Sg&&yh){Sg=!0;do for(var u=!1,f=bh;f!==null;){if(i!==0){var y=f.pendingLanes;if(y===0)var S=0;else{var _=f.suspendedLanes,D=f.pingedLanes;S=(1<<31-at(42|i)+1)-1,S&=y&~(_&~D),S=S&201326741?S&201326741|1:S?S|2:0}S!==0&&(u=!0,fw(f,S))}else S=Qe,S=wo(f,f===Et?S:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(S&3)===0||Fa(f,S)||(u=!0,fw(f,S));f=f.next}while(u);Sg=!1}}function uM(){hw()}function hw(){yh=yg=!1;var i=0;fa!==0&&EM()&&(i=fa);for(var o=er(),u=null,f=bh;f!==null;){var y=f.next,S=dw(f,o);S===0?(f.next=null,u===null?bh=y:u.next=y,y===null&&(rs=u)):(u=f,(i!==0||(S&3)!==0)&&(yh=!0)),f=y}tr!==0&&tr!==5||Yl(i),fa!==0&&(fa=0)}function dw(i,o){for(var u=i.suspendedLanes,f=i.pingedLanes,y=i.expirationTimes,S=i.pendingLanes&-62914561;0<S;){var _=31-at(S),D=1<<_,j=y[_];j===-1?((D&u)===0||(D&f)!==0)&&(y[_]=Ut(D,o)):j<=o&&(i.expiredLanes|=D),S&=~D}if(o=Et,u=Qe,u=wo(i,i===o?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),f=i.callbackNode,u===0||i===o&&(mt===2||mt===9)||i.cancelPendingCommit!==null)return f!==null&&f!==null&&Yi(f),i.callbackNode=null,i.callbackPriority=0;if((u&3)===0||Fa(i,u)){if(o=u&-u,o===i.callbackPriority)return o;switch(f!==null&&Yi(f),In(u)){case 2:case 8:u=be;break;case 32:u=Oe;break;case 268435456:u=st;break;default:u=Oe}return f=pw.bind(null,i),u=On(u,f),i.callbackPriority=o,i.callbackNode=u,o}return f!==null&&f!==null&&Yi(f),i.callbackPriority=2,i.callbackNode=null,2}function pw(i,o){if(tr!==0&&tr!==5)return i.callbackNode=null,i.callbackPriority=0,null;var u=i.callbackNode;if(mh()&&i.callbackNode!==u)return null;var f=Qe;return f=wo(i,i===Et?f:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),f===0?null:(V_(i,f,o),dw(i,er()),i.callbackNode!=null&&i.callbackNode===u?pw.bind(null,i):null)}function fw(i,o){if(mh())return null;V_(i,o,!0)}function hM(){kM(function(){(ft&6)!==0?On(le,uM):hw()})}function Cg(){if(fa===0){var i=Po;i===0&&(i=Vi,Vi<<=1,(Vi&261888)===0&&(Vi=256)),fa=i}return fa}function gw(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:wu(""+i)}function mw(i,o){var u=o.ownerDocument.createElement("input");return u.name=o.name,u.value=o.value,i.id&&u.setAttribute("form",i.id),o.parentNode.insertBefore(u,o),i=new FormData(i),u.parentNode.removeChild(u),i}function dM(i,o,u,f,y){if(o==="submit"&&u&&u.stateNode===y){var S=gw((y[Rt]||null).action),_=f.submitter;_&&(o=(o=_[Rt]||null)?gw(o.formAction):_.getAttribute("formAction"),o!==null&&(S=o,_=null));var D=new Du("action","action",null,f,y);i.push({event:D,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(fa!==0){var j=_?mw(y,_):new FormData(y);zf(u,{pending:!0,data:j,method:y.method,action:S},null,j)}}else typeof S=="function"&&(D.preventDefault(),j=_?mw(y,_):new FormData(y),zf(u,{pending:!0,data:j,method:y.method,action:S},S,j))},currentTarget:y}]})}}for(var Eg=0;Eg<rf.length;Eg++){var xg=rf[Eg],pM=xg.toLowerCase(),fM=xg[0].toUpperCase()+xg.slice(1);Bn(pM,"on"+fM)}Bn(Yk,"onAnimationEnd"),Bn(Vk,"onAnimationIteration"),Bn(Xk,"onAnimationStart"),Bn("dblclick","onDoubleClick"),Bn("focusin","onFocus"),Bn("focusout","onBlur"),Bn(DF,"onTransitionRun"),Bn(LF,"onTransitionStart"),Bn(NF,"onTransitionCancel"),Bn(Zk,"onTransitionEnd"),or("onMouseEnter",["mouseout","mouseover"]),or("onMouseLeave",["mouseout","mouseover"]),or("onPointerEnter",["pointerout","pointerover"]),or("onPointerLeave",["pointerout","pointerover"]),jt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),jt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),jt("onBeforeInput",["compositionend","keypress","textInput","paste"]),jt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),jt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),jt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vl="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(" "),gM=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vl));function bw(i,o){o=(o&4)!==0;for(var u=0;u<i.length;u++){var f=i[u],y=f.event;f=f.listeners;e:{var S=void 0;if(o)for(var _=f.length-1;0<=_;_--){var D=f[_],j=D.instance,re=D.currentTarget;if(D=D.listener,j!==S&&y.isPropagationStopped())break e;S=D,y.currentTarget=re;try{S(y)}catch(ce){Ou(ce)}y.currentTarget=null,S=j}else for(_=0;_<f.length;_++){if(D=f[_],j=D.instance,re=D.currentTarget,D=D.listener,j!==S&&y.isPropagationStopped())break e;S=D,y.currentTarget=re;try{S(y)}catch(ce){Ou(ce)}y.currentTarget=null,S=j}}}}function Ze(i,o){var u=o[vo];u===void 0&&(u=o[vo]=new Set);var f=i+"__bubble";u.has(f)||(yw(o,i,2,!1),u.add(f))}function kg(i,o,u){var f=0;o&&(f|=4),yw(u,i,f,o)}var Sh="_reactListening"+Math.random().toString(36).slice(2);function Tg(i){if(!i[Sh]){i[Sh]=!0,Nt.forEach(function(u){u!=="selectionchange"&&(gM.has(u)||kg(u,!1,i),kg(u,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[Sh]||(o[Sh]=!0,kg("selectionchange",!1,o))}}function yw(i,o,u,f){switch(Yw(o)){case 2:var y=qM;break;case 8:y=GM;break;default:y=$g}u=y.bind(null,o,u,i),y=void 0,!qp||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(y=!0),f?y!==void 0?i.addEventListener(o,u,{capture:!0,passive:y}):i.addEventListener(o,u,!0):y!==void 0?i.addEventListener(o,u,{passive:y}):i.addEventListener(o,u,!1)}function _g(i,o,u,f,y){var S=f;if((o&1)===0&&(o&2)===0&&f!==null)e:for(;;){if(f===null)return;var _=f.tag;if(_===3||_===4){var D=f.stateNode.containerInfo;if(D===y)break;if(_===4)for(_=f.return;_!==null;){var j=_.tag;if((j===3||j===4)&&_.stateNode.containerInfo===y)return;_=_.return}for(;D!==null;){if(_=G(D),_===null)return;if(j=_.tag,j===5||j===6||j===26||j===27){f=S=_;continue e}D=D.parentNode}}f=f.return}kk(function(){var re=S,ce=Pp(u),he=[];e:{var ne=Kk.get(i);if(ne!==void 0){var oe=Du,xe=i;switch(i){case"keypress":if(Au(u)===0)break e;case"keydown":case"keyup":oe=lF;break;case"focusin":xe="focus",oe=Yp;break;case"focusout":xe="blur",oe=Yp;break;case"beforeblur":case"afterblur":oe=Yp;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=wk;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=ZB;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=hF;break;case Yk:case Vk:case Xk:oe=JB;break;case Zk:oe=pF;break;case"scroll":case"scrollend":oe=VB;break;case"wheel":oe=gF;break;case"copy":case"cut":case"paste":oe=tF;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=Ak;break;case"toggle":case"beforetoggle":oe=bF}var Fe=(o&4)!==0,Ct=!Fe&&(i==="scroll"||i==="scrollend"),Q=Fe?ne!==null?ne+"Capture":null:ne;Fe=[];for(var Y=re,te;Y!==null;){var ue=Y;if(te=ue.stateNode,ue=ue.tag,ue!==5&&ue!==26&&ue!==27||te===null||Q===null||(ue=ml(Y,Q),ue!=null&&Fe.push(Xl(Y,ue,te))),Ct)break;Y=Y.return}0<Fe.length&&(ne=new oe(ne,xe,null,u,ce),he.push({event:ne,listeners:Fe}))}}if((o&7)===0){e:{if(ne=i==="mouseover"||i==="pointerover",oe=i==="mouseout"||i==="pointerout",ne&&u!==zp&&(xe=u.relatedTarget||u.fromElement)&&(G(xe)||xe[fi]))break e;if((oe||ne)&&(ne=ce.window===ce?ce:(ne=ce.ownerDocument)?ne.defaultView||ne.parentWindow:window,oe?(xe=u.relatedTarget||u.toElement,oe=re,xe=xe?G(xe):null,xe!==null&&(Ct=s(xe),Fe=xe.tag,xe!==Ct||Fe!==5&&Fe!==27&&Fe!==6)&&(xe=null)):(oe=null,xe=re),oe!==xe)){if(Fe=wk,ue="onMouseLeave",Q="onMouseEnter",Y="mouse",(i==="pointerout"||i==="pointerover")&&(Fe=Ak,ue="onPointerLeave",Q="onPointerEnter",Y="pointer"),Ct=oe==null?ne:Ee(oe),te=xe==null?ne:Ee(xe),ne=new Fe(ue,Y+"leave",oe,u,ce),ne.target=Ct,ne.relatedTarget=te,ue=null,G(ce)===re&&(Fe=new Fe(Q,Y+"enter",xe,u,ce),Fe.target=te,Fe.relatedTarget=Ct,ue=Fe),Ct=ue,oe&&xe)t:{for(Fe=mM,Q=oe,Y=xe,te=0,ue=Q;ue;ue=Fe(ue))te++;ue=0;for(var Ne=Y;Ne;Ne=Fe(Ne))ue++;for(;0<te-ue;)Q=Fe(Q),te--;for(;0<ue-te;)Y=Fe(Y),ue--;for(;te--;){if(Q===Y||Y!==null&&Q===Y.alternate){Fe=Q;break t}Q=Fe(Q),Y=Fe(Y)}Fe=null}else Fe=null;oe!==null&&Sw(he,ne,oe,Fe,!1),xe!==null&&Ct!==null&&Sw(he,Ct,xe,Fe,!0)}}e:{if(ne=re?Ee(re):window,oe=ne.nodeName&&ne.nodeName.toLowerCase(),oe==="select"||oe==="input"&&ne.type==="file")var ct=Fk;else if(Ik(ne))if(Mk)ct=vF;else{ct=_F;var ve=TF}else oe=ne.nodeName,!oe||oe.toLowerCase()!=="input"||ne.type!=="checkbox"&&ne.type!=="radio"?re&&$p(re.elementType)&&(ct=Fk):ct=wF;if(ct&&(ct=ct(i,re))){Bk(he,ct,u,ce);break e}ve&&ve(i,ne,re),i==="focusout"&&re&&ne.type==="number"&&re.memoizedProps.value!=null&&Up(ne,"number",ne.value)}switch(ve=re?Ee(re):window,i){case"focusin":(Ik(ve)||ve.contentEditable==="true")&&(Oo=ve,Jp=re,Tl=null);break;case"focusout":Tl=Jp=Oo=null;break;case"mousedown":ef=!0;break;case"contextmenu":case"mouseup":case"dragend":ef=!1,jk(he,u,ce);break;case"selectionchange":if(RF)break;case"keydown":case"keyup":jk(he,u,ce)}var Ge;if(Xp)e:{switch(i){case"compositionstart":var Je="onCompositionStart";break e;case"compositionend":Je="onCompositionEnd";break e;case"compositionupdate":Je="onCompositionUpdate";break e}Je=void 0}else No?Nk(i,u)&&(Je="onCompositionEnd"):i==="keydown"&&u.keyCode===229&&(Je="onCompositionStart");Je&&(Rk&&u.locale!=="ko"&&(No||Je!=="onCompositionStart"?Je==="onCompositionEnd"&&No&&(Ge=Tk()):(Qi=ce,Gp="value"in Qi?Qi.value:Qi.textContent,No=!0)),ve=Ch(re,Je),0<ve.length&&(Je=new vk(Je,i,null,u,ce),he.push({event:Je,listeners:ve}),Ge?Je.data=Ge:(Ge=Ok(u),Ge!==null&&(Je.data=Ge)))),(Ge=SF?CF(i,u):EF(i,u))&&(Je=Ch(re,"onBeforeInput"),0<Je.length&&(ve=new vk("onBeforeInput","beforeinput",null,u,ce),he.push({event:ve,listeners:Je}),ve.data=Ge)),dM(he,i,re,u,ce)}bw(he,o)})}function Xl(i,o,u){return{instance:i,listener:o,currentTarget:u}}function Ch(i,o){for(var u=o+"Capture",f=[];i!==null;){var y=i,S=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||S===null||(y=ml(i,u),y!=null&&f.unshift(Xl(i,y,S)),y=ml(i,o),y!=null&&f.push(Xl(i,y,S))),i.tag===3)return f;i=i.return}return[]}function mM(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function Sw(i,o,u,f,y){for(var S=o._reactName,_=[];u!==null&&u!==f;){var D=u,j=D.alternate,re=D.stateNode;if(D=D.tag,j!==null&&j===f)break;D!==5&&D!==26&&D!==27||re===null||(j=re,y?(re=ml(u,S),re!=null&&_.unshift(Xl(u,re,j))):y||(re=ml(u,S),re!=null&&_.push(Xl(u,re,j)))),u=u.return}_.length!==0&&i.push({event:o,listeners:_})}var bM=/\r\n?/g,yM=/\u0000|\uFFFD/g;function Cw(i){return(typeof i=="string"?i:""+i).replace(bM,`
10
+ `).replace(yM,"")}function Ew(i,o){return o=Cw(o),Cw(i)===o}function St(i,o,u,f,y,S){switch(u){case"children":typeof f=="string"?o==="body"||o==="textarea"&&f===""||Ro(i,f):(typeof f=="number"||typeof f=="bigint")&&o!=="body"&&Ro(i,""+f);break;case"className":Tu(i,"class",f);break;case"tabIndex":Tu(i,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Tu(i,u,f);break;case"style":Ek(i,f,S);break;case"data":if(o!=="object"){Tu(i,"data",f);break}case"src":case"href":if(f===""&&(o!=="a"||u!=="href")){i.removeAttribute(u);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){i.removeAttribute(u);break}f=wu(""+f),i.setAttribute(u,f);break;case"action":case"formAction":if(typeof f=="function"){i.setAttribute(u,"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 S=="function"&&(u==="formAction"?(o!=="input"&&St(i,o,"name",y.name,y,null),St(i,o,"formEncType",y.formEncType,y,null),St(i,o,"formMethod",y.formMethod,y,null),St(i,o,"formTarget",y.formTarget,y,null)):(St(i,o,"encType",y.encType,y,null),St(i,o,"method",y.method,y,null),St(i,o,"target",y.target,y,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){i.removeAttribute(u);break}f=wu(""+f),i.setAttribute(u,f);break;case"onClick":f!=null&&(i.onclick=mi);break;case"onScroll":f!=null&&Ze("scroll",i);break;case"onScrollEnd":f!=null&&Ze("scrollend",i);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(n(61));if(u=f.__html,u!=null){if(y.children!=null)throw Error(n(60));i.innerHTML=u}}break;case"multiple":i.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":i.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){i.removeAttribute("xlink:href");break}u=wu(""+f),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?i.setAttribute(u,""+f):i.removeAttribute(u);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":f&&typeof f!="function"&&typeof f!="symbol"?i.setAttribute(u,""):i.removeAttribute(u);break;case"capture":case"download":f===!0?i.setAttribute(u,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?i.setAttribute(u,f):i.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?i.setAttribute(u,f):i.removeAttribute(u);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?i.removeAttribute(u):i.setAttribute(u,f);break;case"popover":Ze("beforetoggle",i),Ze("toggle",i),ku(i,"popover",f);break;case"xlinkActuate":gi(i,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":gi(i,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":gi(i,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":gi(i,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":gi(i,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":gi(i,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":gi(i,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":gi(i,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":gi(i,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":ku(i,"is",f);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=WB.get(u)||u,ku(i,u,f))}}function wg(i,o,u,f,y,S){switch(u){case"style":Ek(i,f,S);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(n(61));if(u=f.__html,u!=null){if(y.children!=null)throw Error(n(60));i.innerHTML=u}}break;case"children":typeof f=="string"?Ro(i,f):(typeof f=="number"||typeof f=="bigint")&&Ro(i,""+f);break;case"onScroll":f!=null&&Ze("scroll",i);break;case"onScrollEnd":f!=null&&Ze("scrollend",i);break;case"onClick":f!=null&&(i.onclick=mi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!dr.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(y=u.endsWith("Capture"),o=u.slice(2,y?u.length-7:void 0),S=i[Rt]||null,S=S!=null?S[u]:null,typeof S=="function"&&i.removeEventListener(o,S,y),typeof f=="function")){typeof S!="function"&&S!==null&&(u in i?i[u]=null:i.hasAttribute(u)&&i.removeAttribute(u)),i.addEventListener(o,f,y);break e}u in i?i[u]=f:f===!0?i.setAttribute(u,""):ku(i,u,f)}}}function mr(i,o,u){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ze("error",i),Ze("load",i);var f=!1,y=!1,S;for(S in u)if(u.hasOwnProperty(S)){var _=u[S];if(_!=null)switch(S){case"src":f=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,o));default:St(i,o,S,_,u,null)}}y&&St(i,o,"srcSet",u.srcSet,u,null),f&&St(i,o,"src",u.src,u,null);return;case"input":Ze("invalid",i);var D=S=_=y=null,j=null,re=null;for(f in u)if(u.hasOwnProperty(f)){var ce=u[f];if(ce!=null)switch(f){case"name":y=ce;break;case"type":_=ce;break;case"checked":j=ce;break;case"defaultChecked":re=ce;break;case"value":S=ce;break;case"defaultValue":D=ce;break;case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(n(137,o));break;default:St(i,o,f,ce,u,null)}}bk(i,S,D,j,re,_,y,!1);return;case"select":Ze("invalid",i),f=_=S=null;for(y in u)if(u.hasOwnProperty(y)&&(D=u[y],D!=null))switch(y){case"value":S=D;break;case"defaultValue":_=D;break;case"multiple":f=D;default:St(i,o,y,D,u,null)}o=S,u=_,i.multiple=!!f,o!=null?Ao(i,!!f,o,!1):u!=null&&Ao(i,!!f,u,!0);return;case"textarea":Ze("invalid",i),S=y=f=null;for(_ in u)if(u.hasOwnProperty(_)&&(D=u[_],D!=null))switch(_){case"value":f=D;break;case"defaultValue":y=D;break;case"children":S=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(n(91));break;default:St(i,o,_,D,u,null)}Sk(i,f,y,S);return;case"option":for(j in u)u.hasOwnProperty(j)&&(f=u[j],f!=null)&&(j==="selected"?i.selected=f&&typeof f!="function"&&typeof f!="symbol":St(i,o,j,f,u,null));return;case"dialog":Ze("beforetoggle",i),Ze("toggle",i),Ze("cancel",i),Ze("close",i);break;case"iframe":case"object":Ze("load",i);break;case"video":case"audio":for(f=0;f<Vl.length;f++)Ze(Vl[f],i);break;case"image":Ze("error",i),Ze("load",i);break;case"details":Ze("toggle",i);break;case"embed":case"source":case"link":Ze("error",i),Ze("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(re in u)if(u.hasOwnProperty(re)&&(f=u[re],f!=null))switch(re){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,o));default:St(i,o,re,f,u,null)}return;default:if($p(o)){for(ce in u)u.hasOwnProperty(ce)&&(f=u[ce],f!==void 0&&wg(i,o,ce,f,u,void 0));return}}for(D in u)u.hasOwnProperty(D)&&(f=u[D],f!=null&&St(i,o,D,f,u,null))}function SM(i,o,u,f){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,S=null,_=null,D=null,j=null,re=null,ce=null;for(oe in u){var he=u[oe];if(u.hasOwnProperty(oe)&&he!=null)switch(oe){case"checked":break;case"value":break;case"defaultValue":j=he;default:f.hasOwnProperty(oe)||St(i,o,oe,null,f,he)}}for(var ne in f){var oe=f[ne];if(he=u[ne],f.hasOwnProperty(ne)&&(oe!=null||he!=null))switch(ne){case"type":S=oe;break;case"name":y=oe;break;case"checked":re=oe;break;case"defaultChecked":ce=oe;break;case"value":_=oe;break;case"defaultValue":D=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(n(137,o));break;default:oe!==he&&St(i,o,ne,oe,f,he)}}Mp(i,_,D,j,re,ce,S,y);return;case"select":oe=_=D=ne=null;for(S in u)if(j=u[S],u.hasOwnProperty(S)&&j!=null)switch(S){case"value":break;case"multiple":oe=j;default:f.hasOwnProperty(S)||St(i,o,S,null,f,j)}for(y in f)if(S=f[y],j=u[y],f.hasOwnProperty(y)&&(S!=null||j!=null))switch(y){case"value":ne=S;break;case"defaultValue":D=S;break;case"multiple":_=S;default:S!==j&&St(i,o,y,S,f,j)}o=D,u=_,f=oe,ne!=null?Ao(i,!!u,ne,!1):!!f!=!!u&&(o!=null?Ao(i,!!u,o,!0):Ao(i,!!u,u?[]:"",!1));return;case"textarea":oe=ne=null;for(D in u)if(y=u[D],u.hasOwnProperty(D)&&y!=null&&!f.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:St(i,o,D,null,f,y)}for(_ in f)if(y=f[_],S=u[_],f.hasOwnProperty(_)&&(y!=null||S!=null))switch(_){case"value":ne=y;break;case"defaultValue":oe=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(n(91));break;default:y!==S&&St(i,o,_,y,f,S)}yk(i,ne,oe);return;case"option":for(var xe in u)ne=u[xe],u.hasOwnProperty(xe)&&ne!=null&&!f.hasOwnProperty(xe)&&(xe==="selected"?i.selected=!1:St(i,o,xe,null,f,ne));for(j in f)ne=f[j],oe=u[j],f.hasOwnProperty(j)&&ne!==oe&&(ne!=null||oe!=null)&&(j==="selected"?i.selected=ne&&typeof ne!="function"&&typeof ne!="symbol":St(i,o,j,ne,f,oe));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 Fe in u)ne=u[Fe],u.hasOwnProperty(Fe)&&ne!=null&&!f.hasOwnProperty(Fe)&&St(i,o,Fe,null,f,ne);for(re in f)if(ne=f[re],oe=u[re],f.hasOwnProperty(re)&&ne!==oe&&(ne!=null||oe!=null))switch(re){case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(n(137,o));break;default:St(i,o,re,ne,f,oe)}return;default:if($p(o)){for(var Ct in u)ne=u[Ct],u.hasOwnProperty(Ct)&&ne!==void 0&&!f.hasOwnProperty(Ct)&&wg(i,o,Ct,void 0,f,ne);for(ce in f)ne=f[ce],oe=u[ce],!f.hasOwnProperty(ce)||ne===oe||ne===void 0&&oe===void 0||wg(i,o,ce,ne,f,oe);return}}for(var Q in u)ne=u[Q],u.hasOwnProperty(Q)&&ne!=null&&!f.hasOwnProperty(Q)&&St(i,o,Q,null,f,ne);for(he in f)ne=f[he],oe=u[he],!f.hasOwnProperty(he)||ne===oe||ne==null&&oe==null||St(i,o,he,ne,f,oe)}function xw(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function CM(){if(typeof performance.getEntriesByType=="function"){for(var i=0,o=0,u=performance.getEntriesByType("resource"),f=0;f<u.length;f++){var y=u[f],S=y.transferSize,_=y.initiatorType,D=y.duration;if(S&&D&&xw(_)){for(_=0,D=y.responseEnd,f+=1;f<u.length;f++){var j=u[f],re=j.startTime;if(re>D)break;var ce=j.transferSize,he=j.initiatorType;ce&&xw(he)&&(j=j.responseEnd,_+=ce*(j<D?1:(D-re)/(j-re)))}if(--f,o+=8*(S+_)/(y.duration/1e3),i++,10<i)break}}if(0<i)return o/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var vg=null,Ag=null;function Eh(i){return i.nodeType===9?i:i.ownerDocument}function kw(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Tw(i,o){if(i===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&o==="foreignObject"?0:i}function Rg(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Dg=null;function EM(){var i=window.event;return i&&i.type==="popstate"?i===Dg?!1:(Dg=i,!0):(Dg=null,!1)}var _w=typeof setTimeout=="function"?setTimeout:void 0,xM=typeof clearTimeout=="function"?clearTimeout:void 0,ww=typeof Promise=="function"?Promise:void 0,kM=typeof queueMicrotask=="function"?queueMicrotask:typeof ww<"u"?function(i){return ww.resolve(null).then(i).catch(TM)}:_w;function TM(i){setTimeout(function(){throw i})}function ga(i){return i==="head"}function vw(i,o){var u=o,f=0;do{var y=u.nextSibling;if(i.removeChild(u),y&&y.nodeType===8)if(u=y.data,u==="/$"||u==="/&"){if(f===0){i.removeChild(y),os(o);return}f--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")f++;else if(u==="html")Zl(i.ownerDocument.documentElement);else if(u==="head"){u=i.ownerDocument.head,Zl(u);for(var S=u.firstChild;S;){var _=S.nextSibling,D=S.nodeName;S[Ki]||D==="SCRIPT"||D==="STYLE"||D==="LINK"&&S.rel.toLowerCase()==="stylesheet"||u.removeChild(S),S=_}}else u==="body"&&Zl(i.ownerDocument.body);u=y}while(u);os(o)}function Aw(i,o){var u=i;i=0;do{var f=u.nextSibling;if(u.nodeType===1?o?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(o?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),f&&f.nodeType===8)if(u=f.data,u==="/$"){if(i===0)break;i--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||i++;u=f}while(u)}function Lg(i){var o=i.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var u=o;switch(o=o.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Lg(u),De(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}i.removeChild(u)}}function _M(i,o,u,f){for(;i.nodeType===1;){var y=u;if(i.nodeName.toLowerCase()!==o.toLowerCase()){if(!f&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(f){if(!i[Ki])switch(o){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(S=i.getAttribute("rel"),S==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(S!==y.rel||i.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||i.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||i.getAttribute("title")!==(y.title==null?null:y.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(S=i.getAttribute("src"),(S!==(y.src==null?null:y.src)||i.getAttribute("type")!==(y.type==null?null:y.type)||i.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&S&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(o==="input"&&i.type==="hidden"){var S=y.name==null?null:""+y.name;if(y.type==="hidden"&&i.getAttribute("name")===S)return i}else return i;if(i=_n(i.nextSibling),i===null)break}return null}function wM(i,o,u){if(o==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!u||(i=_n(i.nextSibling),i===null))return null;return i}function Rw(i,o){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!o||(i=_n(i.nextSibling),i===null))return null;return i}function Ng(i){return i.data==="$?"||i.data==="$~"}function Og(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function vM(i,o){var u=i.ownerDocument;if(i.data==="$~")i._reactRetry=o;else if(i.data!=="$?"||u.readyState!=="loading")o();else{var f=function(){o(),u.removeEventListener("DOMContentLoaded",f)};u.addEventListener("DOMContentLoaded",f),i._reactRetry=f}}function _n(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return i}var Ig=null;function Dw(i){i=i.nextSibling;for(var o=0;i;){if(i.nodeType===8){var u=i.data;if(u==="/$"||u==="/&"){if(o===0)return _n(i.nextSibling);o--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||o++}i=i.nextSibling}return null}function Lw(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var u=i.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(o===0)return i;o--}else u!=="/$"&&u!=="/&"||o++}i=i.previousSibling}return null}function Nw(i,o,u){switch(o=Eh(u),i){case"html":if(i=o.documentElement,!i)throw Error(n(452));return i;case"head":if(i=o.head,!i)throw Error(n(453));return i;case"body":if(i=o.body,!i)throw Error(n(454));return i;default:throw Error(n(451))}}function Zl(i){for(var o=i.attributes;o.length;)i.removeAttributeNode(o[0]);De(i)}var wn=new Map,Ow=new Set;function xh(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var Ni=P.d;P.d={f:AM,r:RM,D:DM,C:LM,L:NM,m:OM,X:BM,S:IM,M:FM};function AM(){var i=Ni.f(),o=ph();return i||o}function RM(i){var o=fe(i);o!==null&&o.tag===5&&o.type==="form"?ZT(o):Ni.r(i)}var ns=typeof document>"u"?null:document;function Iw(i,o,u){var f=ns;if(f&&typeof o=="string"&&o){var y=yn(o);y='link[rel="'+i+'"][href="'+y+'"]',typeof u=="string"&&(y+='[crossorigin="'+u+'"]'),Ow.has(y)||(Ow.add(y),i={rel:i,crossOrigin:u,href:o},f.querySelector(y)===null&&(o=f.createElement("link"),mr(o,"link",i),tt(o),f.head.appendChild(o)))}}function DM(i){Ni.D(i),Iw("dns-prefetch",i,null)}function LM(i,o){Ni.C(i,o),Iw("preconnect",i,o)}function NM(i,o,u){Ni.L(i,o,u);var f=ns;if(f&&i&&o){var y='link[rel="preload"][as="'+yn(o)+'"]';o==="image"&&u&&u.imageSrcSet?(y+='[imagesrcset="'+yn(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(y+='[imagesizes="'+yn(u.imageSizes)+'"]')):y+='[href="'+yn(i)+'"]';var S=y;switch(o){case"style":S=is(i);break;case"script":S=as(i)}wn.has(S)||(i=g({rel:"preload",href:o==="image"&&u&&u.imageSrcSet?void 0:i,as:o},u),wn.set(S,i),f.querySelector(y)!==null||o==="style"&&f.querySelector(Kl(S))||o==="script"&&f.querySelector(Ql(S))||(o=f.createElement("link"),mr(o,"link",i),tt(o),f.head.appendChild(o)))}}function OM(i,o){Ni.m(i,o);var u=ns;if(u&&i){var f=o&&typeof o.as=="string"?o.as:"script",y='link[rel="modulepreload"][as="'+yn(f)+'"][href="'+yn(i)+'"]',S=y;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":S=as(i)}if(!wn.has(S)&&(i=g({rel:"modulepreload",href:i},o),wn.set(S,i),u.querySelector(y)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Ql(S)))return}f=u.createElement("link"),mr(f,"link",i),tt(f),u.head.appendChild(f)}}}function IM(i,o,u){Ni.S(i,o,u);var f=ns;if(f&&i){var y=pt(f).hoistableStyles,S=is(i);o=o||"default";var _=y.get(S);if(!_){var D={loading:0,preload:null};if(_=f.querySelector(Kl(S)))D.loading=5;else{i=g({rel:"stylesheet",href:i,"data-precedence":o},u),(u=wn.get(S))&&Bg(i,u);var j=_=f.createElement("link");tt(j),mr(j,"link",i),j._p=new Promise(function(re,ce){j.onload=re,j.onerror=ce}),j.addEventListener("load",function(){D.loading|=1}),j.addEventListener("error",function(){D.loading|=2}),D.loading|=4,kh(_,o,f)}_={type:"stylesheet",instance:_,count:1,state:D},y.set(S,_)}}}function BM(i,o){Ni.X(i,o);var u=ns;if(u&&i){var f=pt(u).hoistableScripts,y=as(i),S=f.get(y);S||(S=u.querySelector(Ql(y)),S||(i=g({src:i,async:!0},o),(o=wn.get(y))&&Fg(i,o),S=u.createElement("script"),tt(S),mr(S,"link",i),u.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},f.set(y,S))}}function FM(i,o){Ni.M(i,o);var u=ns;if(u&&i){var f=pt(u).hoistableScripts,y=as(i),S=f.get(y);S||(S=u.querySelector(Ql(y)),S||(i=g({src:i,async:!0,type:"module"},o),(o=wn.get(y))&&Fg(i,o),S=u.createElement("script"),tt(S),mr(S,"link",i),u.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},f.set(y,S))}}function Bw(i,o,u,f){var y=(y=ge.current)?xh(y):null;if(!y)throw Error(n(446));switch(i){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(o=is(u.href),u=pt(y).hoistableStyles,f=u.get(o),f||(f={type:"style",instance:null,count:0,state:null},u.set(o,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){i=is(u.href);var S=pt(y).hoistableStyles,_=S.get(i);if(_||(y=y.ownerDocument||y,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},S.set(i,_),(S=y.querySelector(Kl(i)))&&!S._p&&(_.instance=S,_.state.loading=5),wn.has(i)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},wn.set(i,u),S||MM(y,i,u,_.state))),o&&f===null)throw Error(n(528,""));return _}if(o&&f!==null)throw Error(n(529,""));return null;case"script":return o=u.async,u=u.src,typeof u=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=as(u),u=pt(y).hoistableScripts,f=u.get(o),f||(f={type:"script",instance:null,count:0,state:null},u.set(o,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,i))}}function is(i){return'href="'+yn(i)+'"'}function Kl(i){return'link[rel="stylesheet"]['+i+"]"}function Fw(i){return g({},i,{"data-precedence":i.precedence,precedence:null})}function MM(i,o,u,f){i.querySelector('link[rel="preload"][as="style"]['+o+"]")?f.loading=1:(o=i.createElement("link"),f.preload=o,o.addEventListener("load",function(){return f.loading|=1}),o.addEventListener("error",function(){return f.loading|=2}),mr(o,"link",u),tt(o),i.head.appendChild(o))}function as(i){return'[src="'+yn(i)+'"]'}function Ql(i){return"script[async]"+i}function Mw(i,o,u){if(o.count++,o.instance===null)switch(o.type){case"style":var f=i.querySelector('style[data-href~="'+yn(u.href)+'"]');if(f)return o.instance=f,tt(f),f;var y=g({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return f=(i.ownerDocument||i).createElement("style"),tt(f),mr(f,"style",y),kh(f,u.precedence,i),o.instance=f;case"stylesheet":y=is(u.href);var S=i.querySelector(Kl(y));if(S)return o.state.loading|=4,o.instance=S,tt(S),S;f=Fw(u),(y=wn.get(y))&&Bg(f,y),S=(i.ownerDocument||i).createElement("link"),tt(S);var _=S;return _._p=new Promise(function(D,j){_.onload=D,_.onerror=j}),mr(S,"link",f),o.state.loading|=4,kh(S,u.precedence,i),o.instance=S;case"script":return S=as(u.src),(y=i.querySelector(Ql(S)))?(o.instance=y,tt(y),y):(f=u,(y=wn.get(S))&&(f=g({},u),Fg(f,y)),i=i.ownerDocument||i,y=i.createElement("script"),tt(y),mr(y,"link",f),i.head.appendChild(y),o.instance=y);case"void":return null;default:throw Error(n(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(f=o.instance,o.state.loading|=4,kh(f,u.precedence,i));return o.instance}function kh(i,o,u){for(var f=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=f.length?f[f.length-1]:null,S=y,_=0;_<f.length;_++){var D=f[_];if(D.dataset.precedence===o)S=D;else if(S!==y)break}S?S.parentNode.insertBefore(i,S.nextSibling):(o=u.nodeType===9?u.head:u,o.insertBefore(i,o.firstChild))}function Bg(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.title==null&&(i.title=o.title)}function Fg(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.integrity==null&&(i.integrity=o.integrity)}var Th=null;function Uw(i,o,u){if(Th===null){var f=new Map,y=Th=new Map;y.set(u,f)}else y=Th,f=y.get(u),f||(f=new Map,y.set(u,f));if(f.has(i))return f;for(f.set(i,null),u=u.getElementsByTagName(i),y=0;y<u.length;y++){var S=u[y];if(!(S[Ki]||S[$t]||i==="link"&&S.getAttribute("rel")==="stylesheet")&&S.namespaceURI!=="http://www.w3.org/2000/svg"){var _=S.getAttribute(o)||"";_=i+_;var D=f.get(_);D?D.push(S):f.set(_,[S])}}return f}function $w(i,o,u){i=i.ownerDocument||i,i.head.insertBefore(u,o==="title"?i.querySelector("head > title"):null)}function UM(i,o,u){if(u===1||o.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;return o.rel==="stylesheet"?(i=o.disabled,typeof o.precedence=="string"&&i==null):!0;case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function zw(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function $M(i,o,u,f){if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var y=is(f.href),S=o.querySelector(Kl(y));if(S){o=S._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(i.count++,i=_h.bind(i),o.then(i,i)),u.state.loading|=4,u.instance=S,tt(S);return}S=o.ownerDocument||o,f=Fw(f),(y=wn.get(y))&&Bg(f,y),S=S.createElement("link"),tt(S);var _=S;_._p=new Promise(function(D,j){_.onload=D,_.onerror=j}),mr(S,"link",f),u.instance=S}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(u,o),(o=u.state.preload)&&(u.state.loading&3)===0&&(i.count++,u=_h.bind(i),o.addEventListener("load",u),o.addEventListener("error",u))}}var Mg=0;function zM(i,o){return i.stylesheets&&i.count===0&&vh(i,i.stylesheets),0<i.count||0<i.imgCount?function(u){var f=setTimeout(function(){if(i.stylesheets&&vh(i,i.stylesheets),i.unsuspend){var S=i.unsuspend;i.unsuspend=null,S()}},6e4+o);0<i.imgBytes&&Mg===0&&(Mg=62500*CM());var y=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&vh(i,i.stylesheets),i.unsuspend)){var S=i.unsuspend;i.unsuspend=null,S()}},(i.imgBytes>Mg?50:800)+o);return i.unsuspend=u,function(){i.unsuspend=null,clearTimeout(f),clearTimeout(y)}}:null}function _h(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)vh(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var wh=null;function vh(i,o){i.stylesheets=null,i.unsuspend!==null&&(i.count++,wh=new Map,o.forEach(PM,i),wh=null,_h.call(i))}function PM(i,o){if(!(o.state.loading&4)){var u=wh.get(i);if(u)var f=u.get(null);else{u=new Map,wh.set(i,u);for(var y=i.querySelectorAll("link[data-precedence],style[data-precedence]"),S=0;S<y.length;S++){var _=y[S];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(u.set(_.dataset.precedence,_),f=_)}f&&u.set(null,f)}y=o.instance,_=y.getAttribute("data-precedence"),S=u.get(_)||f,S===f&&u.set(null,y),u.set(_,y),this.count++,f=_h.bind(this),y.addEventListener("load",f),y.addEventListener("error",f),S?S.parentNode.insertBefore(y,S.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(y,i.firstChild)),o.state.loading|=4}}var Jl={$$typeof:v,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function HM(i,o,u,f,y,S,_,D,j){this.tag=1,this.containerInfo=i,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=sl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sl(0),this.hiddenUpdates=sl(null),this.identifierPrefix=f,this.onUncaughtError=y,this.onCaughtError=S,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function Pw(i,o,u,f,y,S,_,D,j,re,ce,he){return i=new HM(i,o,u,_,j,re,ce,he,D),o=1,S===!0&&(o|=24),S=nn(3,null,null,o),i.current=S,S.stateNode=i,o=mf(),o.refCount++,i.pooledCache=o,o.refCount++,S.memoizedState={element:f,isDehydrated:u,cache:o},Cf(S),i}function Hw(i){return i?(i=Fo,i):Fo}function qw(i,o,u,f,y,S){y=Hw(y),f.context===null?f.context=y:f.pendingContext=y,f=ia(o),f.payload={element:u},S=S===void 0?null:S,S!==null&&(f.callback=S),u=aa(i,f,o),u!==null&&(Yr(u,i,o),Ll(u,i,o))}function Gw(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var u=i.retryLane;i.retryLane=u!==0&&u<o?u:o}}function Ug(i,o){Gw(i,o),(i=i.alternate)&&Gw(i,o)}function jw(i){if(i.tag===13||i.tag===31){var o=za(i,67108864);o!==null&&Yr(o,i,67108864),Ug(i,67108864)}}function Ww(i){if(i.tag===13||i.tag===31){var o=cn();o=Nr(o);var u=za(i,o);u!==null&&Yr(u,i,o),Ug(i,o)}}var Ah=!0;function qM(i,o,u,f){var y=I.T;I.T=null;var S=P.p;try{P.p=2,$g(i,o,u,f)}finally{P.p=S,I.T=y}}function GM(i,o,u,f){var y=I.T;I.T=null;var S=P.p;try{P.p=8,$g(i,o,u,f)}finally{P.p=S,I.T=y}}function $g(i,o,u,f){if(Ah){var y=zg(f);if(y===null)_g(i,o,f,Rh,u),Vw(i,f);else if(WM(y,i,o,u,f))f.stopPropagation();else if(Vw(i,f),o&4&&-1<jM.indexOf(i)){for(;y!==null;){var S=fe(y);if(S!==null)switch(S.tag){case 3:if(S=S.stateNode,S.current.memoizedState.isDehydrated){var _=tn(S.pendingLanes);if(_!==0){var D=S;for(D.pendingLanes|=2,D.entangledLanes|=2;_;){var j=1<<31-at(_);D.entanglements[1]|=j,_&=~j}Jn(S),(ft&6)===0&&(hh=er()+500,Yl(0))}}break;case 31:case 13:D=za(S,2),D!==null&&Yr(D,S,2),ph(),Ug(S,2)}if(S=zg(f),S===null&&_g(i,o,f,Rh,u),S===y)break;y=S}y!==null&&f.stopPropagation()}else _g(i,o,f,null,u)}}function zg(i){return i=Pp(i),Pg(i)}var Rh=null;function Pg(i){if(Rh=null,i=G(i),i!==null){var o=s(i);if(o===null)i=null;else{var u=o.tag;if(u===13){if(i=l(o),i!==null)return i;i=null}else if(u===31){if(i=c(o),i!==null)return i;i=null}else if(u===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Rh=i,null}function Yw(i){switch(i){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(di()){case le:return 2;case be:return 8;case Oe:case Ye:return 32;case st:return 268435456;default:return 32}default:return 32}}var Hg=!1,ma=null,ba=null,ya=null,ec=new Map,tc=new Map,Sa=[],jM="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 Vw(i,o){switch(i){case"focusin":case"focusout":ma=null;break;case"dragenter":case"dragleave":ba=null;break;case"mouseover":case"mouseout":ya=null;break;case"pointerover":case"pointerout":ec.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":tc.delete(o.pointerId)}}function rc(i,o,u,f,y,S){return i===null||i.nativeEvent!==S?(i={blockedOn:o,domEventName:u,eventSystemFlags:f,nativeEvent:S,targetContainers:[y]},o!==null&&(o=fe(o),o!==null&&jw(o)),i):(i.eventSystemFlags|=f,o=i.targetContainers,y!==null&&o.indexOf(y)===-1&&o.push(y),i)}function WM(i,o,u,f,y){switch(o){case"focusin":return ma=rc(ma,i,o,u,f,y),!0;case"dragenter":return ba=rc(ba,i,o,u,f,y),!0;case"mouseover":return ya=rc(ya,i,o,u,f,y),!0;case"pointerover":var S=y.pointerId;return ec.set(S,rc(ec.get(S)||null,i,o,u,f,y)),!0;case"gotpointercapture":return S=y.pointerId,tc.set(S,rc(tc.get(S)||null,i,o,u,f,y)),!0}return!1}function Xw(i){var o=G(i.target);if(o!==null){var u=s(o);if(u!==null){if(o=u.tag,o===13){if(o=l(u),o!==null){i.blockedOn=o,dl(i.priority,function(){Ww(u)});return}}else if(o===31){if(o=c(u),o!==null){i.blockedOn=o,dl(i.priority,function(){Ww(u)});return}}else if(o===3&&u.stateNode.current.memoizedState.isDehydrated){i.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Dh(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var u=zg(i.nativeEvent);if(u===null){u=i.nativeEvent;var f=new u.constructor(u.type,u);zp=f,u.target.dispatchEvent(f),zp=null}else return o=fe(u),o!==null&&jw(o),i.blockedOn=u,!1;o.shift()}return!0}function Zw(i,o,u){Dh(i)&&u.delete(o)}function YM(){Hg=!1,ma!==null&&Dh(ma)&&(ma=null),ba!==null&&Dh(ba)&&(ba=null),ya!==null&&Dh(ya)&&(ya=null),ec.forEach(Zw),tc.forEach(Zw)}function Lh(i,o){i.blockedOn===o&&(i.blockedOn=null,Hg||(Hg=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,YM)))}var Nh=null;function Kw(i){Nh!==i&&(Nh=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Nh===i&&(Nh=null);for(var o=0;o<i.length;o+=3){var u=i[o],f=i[o+1],y=i[o+2];if(typeof f!="function"){if(Pg(f||u)===null)continue;break}var S=fe(u);S!==null&&(i.splice(o,3),o-=3,zf(S,{pending:!0,data:y,method:u.method,action:f},f,y))}}))}function os(i){function o(j){return Lh(j,i)}ma!==null&&Lh(ma,i),ba!==null&&Lh(ba,i),ya!==null&&Lh(ya,i),ec.forEach(o),tc.forEach(o);for(var u=0;u<Sa.length;u++){var f=Sa[u];f.blockedOn===i&&(f.blockedOn=null)}for(;0<Sa.length&&(u=Sa[0],u.blockedOn===null);)Xw(u),u.blockedOn===null&&Sa.shift();if(u=(i.ownerDocument||i).$$reactFormReplay,u!=null)for(f=0;f<u.length;f+=3){var y=u[f],S=u[f+1],_=y[Rt]||null;if(typeof S=="function")_||Kw(u);else if(_){var D=null;if(S&&S.hasAttribute("formAction")){if(y=S,_=S[Rt]||null)D=_.formAction;else if(Pg(y)!==null)continue}else D=_.action;typeof D=="function"?u[f+1]=D:(u.splice(f,3),f-=3),Kw(u)}}}function Qw(){function i(S){S.canIntercept&&S.info==="react-transition"&&S.intercept({handler:function(){return new Promise(function(_){return y=_})},focusReset:"manual",scroll:"manual"})}function o(){y!==null&&(y(),y=null),f||setTimeout(u,20)}function u(){if(!f&&!navigation.transition){var S=navigation.currentEntry;S&&S.url!=null&&navigation.navigate(S.url,{state:S.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,y=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(u,100),function(){f=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),y!==null&&(y(),y=null)}}}function qg(i){this._internalRoot=i}Oh.prototype.render=qg.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(n(409));var u=o.current,f=cn();qw(u,f,i,o,null,null)},Oh.prototype.unmount=qg.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;qw(i.current,2,null,i,null,null),ph(),o[fi]=null}};function Oh(i){this._internalRoot=i}Oh.prototype.unstable_scheduleHydration=function(i){if(i){var o=hl();i={blockedOn:null,target:i,priority:o};for(var u=0;u<Sa.length&&o!==0&&o<Sa[u].priority;u++);Sa.splice(u,0,i),u===0&&Xw(i)}};var Jw=t.version;if(Jw!=="19.2.4")throw Error(n(527,Jw,"19.2.4"));P.findDOMNode=function(i){var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(n(188)):(i=Object.keys(i).join(","),Error(n(268,i)));return i=d(o),i=i!==null?p(i):null,i=i===null?null:i.stateNode,i};var VM={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ih=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ih.isDisabled&&Ih.supportsFiber)try{Gt=Ih.inject(VM),At=Ih}catch{}}return ic.createRoot=function(i,o){if(!a(i))throw Error(n(299));var u=!1,f="",y=o_,S=s_,_=l_;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(y=o.onUncaughtError),o.onCaughtError!==void 0&&(S=o.onCaughtError),o.onRecoverableError!==void 0&&(_=o.onRecoverableError)),o=Pw(i,1,!1,null,null,u,f,null,y,S,_,Qw),i[fi]=o.current,Tg(i),new qg(o)},ic.hydrateRoot=function(i,o,u){if(!a(i))throw Error(n(299));var f=!1,y="",S=o_,_=s_,D=l_,j=null;return u!=null&&(u.unstable_strictMode===!0&&(f=!0),u.identifierPrefix!==void 0&&(y=u.identifierPrefix),u.onUncaughtError!==void 0&&(S=u.onUncaughtError),u.onCaughtError!==void 0&&(_=u.onCaughtError),u.onRecoverableError!==void 0&&(D=u.onRecoverableError),u.formState!==void 0&&(j=u.formState)),o=Pw(i,1,!0,o,u??null,f,y,j,S,_,D,Qw),o.context=Hw(null),u=o.current,f=cn(),f=Nr(f),y=ia(f),y.callback=null,aa(u,y,f),u=f,o.current.lanes=u,Zi(o,u),Jn(o),i[fi]=o.current,Tg(i),new Oh(o)},ic.version="19.2.4",ic}var cv;function i3(){if(cv)return Wg.exports;cv=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(),Wg.exports=n3(),Wg.exports}var mQ=i3();const a3=e=>e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function o3(e,t,r=[]){if(t==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:a3(e),size:24,node:t,...r.length>0?{aliases:r}:{}}}const s3=e=>{let t="",r=!1;for(const n of e){if(n==="-"||n==="_"||n<=" "){r=t.length>0;continue}t.length===0?t+=n.toLowerCase():t+=r?n.toUpperCase():n,r=!1}return t};const l3=e=>{const t=s3(e);return t.charAt(0).toUpperCase()+t.slice(1)};const Bm=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();const Ja={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function Zg(e){return e!=null}function c3(e,t={}){const r=t.attributeNames??{},n=b=>r[b]??b,a=e.size??e.width??Ja.width,s=e.size??e.height??Ja.height,l=e.aliases?.filter(b=>typeof b=="string"&&b.trim()!=="").map(b=>`lucide-${b}`)??[],c=[...e.name?[`lucide-${e.name}`]:[],...l],h=t.className?.split(" ").filter(Boolean)??[],d=t.includeDefaultClasses===!1?Bm(...h):Bm("lucide",...c,...h),p=t.absoluteStrokeWidth?Number(t.strokeWidth??Ja["stroke-width"])*Number(e.size??e.width??Ja.width)/Number(t.size??t.width??Ja.width):t.strokeWidth??Ja["stroke-width"];return["svg",{...Object.entries(Ja).reduce((b,[m,C])=>(b[n(m)]=C,b),{}),..."color"in t&&t.color&&{[n("stroke")]:t.color},..."size"in t&&Zg(t.size)&&{[n("width")]:t.size,[n("height")]:t.size},..."width"in t&&Zg(t.width)&&{[n("width")]:t.width},..."height"in t&&Zg(t.height)&&{[n("height")]:t.height},[n("stroke-width")]:p,...d&&{[n("class")]:d},[n("viewBox")]:`0 0 ${a} ${s}`,...t.hasA11yProp===!1?{[n("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(b=>{const[m,C,E]=b,k=t.nonScalingStroke?{[n("vector-effect")]:"non-scaling-stroke",...C}:C;return E?[m,k,E]:[m,k]})]}function u3(e,t={}){return c3(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}const h3=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},d3=Tr.createContext({}),p3=()=>Tr.useContext(d3),f3=Tr.forwardRef(({color:e,size:t,width:r,height:n,strokeWidth:a,absoluteStrokeWidth:s,nonScalingStroke:l,className:c="",children:h,iconNode:d=[],icon:p={node:d,aliases:[],size:24},...g},b)=>{const{size:m=24,strokeWidth:C=2,absoluteStrokeWidth:E=!1,nonScalingStroke:k=!1,color:x="currentColor",className:w=""}=p3()??{},v=!!h||h3(g),[O,F,R=[]]=u3(p,{color:e??x,width:r??t??m,height:n??t??m,strokeWidth:a??C,absoluteStrokeWidth:s??E,nonScalingStroke:l??k,className:Bm(w,c),hasA11yProp:v,attributes:g});return Tr.createElement(O,{ref:b,...F},[...R.map(([$,z])=>Tr.createElement($,z)),...Array.isArray(h)?h:[h]])});function ZA(e,t=[],r=[]){const n=typeof e=="string"?o3(e,t,r):e,a=Tr.forwardRef(({className:s,...l},c)=>Tr.createElement(f3,{ref:c,icon:n,className:s,...l}));return n.name&&(a.displayName=l3(n.name)),a}const KA={name:"book-open",size:24,node:[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]};KA.node;const bQ=ZA(KA);const QA={name:"link-2",size:24,node:[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]};QA.node;const yQ=ZA(QA);function uv(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,s=!1;for(;!s;){n===-1&&(n=r.length,s=!0);const l=r.slice(a,n).trim();(l||!s)&&t.push(l),a=n+1,n=r.indexOf(",",a)}return t}function g3(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const m3=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,b3=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,y3={};function hv(e,t){return(y3.jsx?b3:m3).test(e)}const S3=/[ \t\n\f\r]/g;function C3(e){return typeof e=="object"?e.type==="text"?dv(e.value):!1:dv(e)}function dv(e){return e.replace(S3,"")===""}class ru{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}ru.prototype.normal={};ru.prototype.property={};ru.prototype.space=void 0;function JA(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new ru(r,n,t)}function $c(e){return e.toLowerCase()}class en{constructor(t,r){this.attribute=r,this.property=t}}en.prototype.attribute="";en.prototype.booleanish=!1;en.prototype.boolean=!1;en.prototype.commaOrSpaceSeparated=!1;en.prototype.commaSeparated=!1;en.prototype.defined=!1;en.prototype.mustUseProperty=!1;en.prototype.number=!1;en.prototype.overloadedBoolean=!1;en.prototype.property="";en.prototype.spaceSeparated=!1;en.prototype.space=void 0;let E3=0;const We=Co(),Zt=Co(),Fm=Co(),ye=Co(),kt=Co(),xs=Co(),hn=Co();function Co(){return 2**++E3}const Mm=Object.freeze(Object.defineProperty({__proto__:null,boolean:We,booleanish:Zt,commaOrSpaceSeparated:hn,commaSeparated:xs,number:ye,overloadedBoolean:Fm,spaceSeparated:kt},Symbol.toStringTag,{value:"Module"})),Kg=Object.keys(Mm);class Qb extends en{constructor(t,r,n,a){let s=-1;if(super(t,r),pv(this,"space",a),typeof n=="number")for(;++s<Kg.length;){const l=Kg[s];pv(this,Kg[s],(n&Mm[l])===Mm[l])}}}Qb.prototype.defined=!0;function pv(e,t,r){r&&(e[t]=r)}function Xs(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const s=new Qb(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),t[n]=s,r[$c(n)]=n,r[$c(s.attribute)]=n}return new ru(t,r,e.space)}const e2=Xs({properties:{ariaActiveDescendant:null,ariaAtomic:Zt,ariaAutoComplete:null,ariaBusy:Zt,ariaChecked:Zt,ariaColCount:ye,ariaColIndex:ye,ariaColSpan:ye,ariaControls:kt,ariaCurrent:null,ariaDescribedBy:kt,ariaDetails:null,ariaDisabled:Zt,ariaDropEffect:kt,ariaErrorMessage:null,ariaExpanded:Zt,ariaFlowTo:kt,ariaGrabbed:Zt,ariaHasPopup:null,ariaHidden:Zt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:kt,ariaLevel:ye,ariaLive:null,ariaModal:Zt,ariaMultiLine:Zt,ariaMultiSelectable:Zt,ariaOrientation:null,ariaOwns:kt,ariaPlaceholder:null,ariaPosInSet:ye,ariaPressed:Zt,ariaReadOnly:Zt,ariaRelevant:null,ariaRequired:Zt,ariaRoleDescription:kt,ariaRowCount:ye,ariaRowIndex:ye,ariaRowSpan:ye,ariaSelected:Zt,ariaSetSize:ye,ariaSort:null,ariaValueMax:ye,ariaValueMin:ye,ariaValueNow:ye,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function t2(e,t){return t in e?e[t]:t}function r2(e,t){return t2(e,t.toLowerCase())}const x3=Xs({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xs,acceptCharset:kt,accessKey:kt,action:null,allow:null,allowFullScreen:We,allowPaymentRequest:We,allowUserMedia:We,alt:null,as:null,async:We,autoCapitalize:null,autoComplete:kt,autoFocus:We,autoPlay:We,blocking:kt,capture:null,charSet:null,checked:We,cite:null,className:kt,cols:ye,colSpan:null,content:null,contentEditable:Zt,controls:We,controlsList:kt,coords:ye|xs,crossOrigin:null,data:null,dateTime:null,decoding:null,default:We,defer:We,dir:null,dirName:null,disabled:We,download:Fm,draggable:Zt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:We,formTarget:null,headers:kt,height:ye,hidden:Fm,high:ye,href:null,hrefLang:null,htmlFor:kt,httpEquiv:kt,id:null,imageSizes:null,imageSrcSet:null,inert:We,inputMode:null,integrity:null,is:null,isMap:We,itemId:null,itemProp:kt,itemRef:kt,itemScope:We,itemType:kt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:We,low:ye,manifest:null,max:null,maxLength:ye,media:null,method:null,min:null,minLength:ye,multiple:We,muted:We,name:null,nonce:null,noModule:We,noValidate:We,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:We,optimum:ye,pattern:null,ping:kt,placeholder:null,playsInline:We,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:We,referrerPolicy:null,rel:kt,required:We,reversed:We,rows:ye,rowSpan:ye,sandbox:kt,scope:null,scoped:We,seamless:We,selected:We,shadowRootClonable:We,shadowRootDelegatesFocus:We,shadowRootMode:null,shape:null,size:ye,sizes:null,slot:null,span:ye,spellCheck:Zt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ye,step:null,style:null,tabIndex:ye,target:null,title:null,translate:null,type:null,typeMustMatch:We,useMap:null,value:Zt,width:ye,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:kt,axis:null,background:null,bgColor:null,border:ye,borderColor:null,bottomMargin:ye,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:We,declare:We,event:null,face:null,frame:null,frameBorder:null,hSpace:ye,leftMargin:ye,link:null,longDesc:null,lowSrc:null,marginHeight:ye,marginWidth:ye,noResize:We,noHref:We,noShade:We,noWrap:We,object:null,profile:null,prompt:null,rev:null,rightMargin:ye,rules:null,scheme:null,scrolling:Zt,standby:null,summary:null,text:null,topMargin:ye,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ye,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:We,disableRemotePlayback:We,prefix:null,property:null,results:ye,security:null,unselectable:null},space:"html",transform:r2}),k3=Xs({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:hn,accentHeight:ye,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ye,amplitude:ye,arabicForm:null,ascent:ye,attributeName:null,attributeType:null,azimuth:ye,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ye,by:null,calcMode:null,capHeight:ye,className:kt,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:ye,diffuseConstant:ye,direction:null,display:null,dur:null,divisor:ye,dominantBaseline:null,download:We,dx:null,dy:null,edgeMode:null,editable:null,elevation:ye,enableBackground:null,end:null,event:null,exponent:ye,externalResourcesRequired:null,fill:null,fillOpacity:ye,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:xs,g2:xs,glyphName:xs,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ye,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ye,horizOriginX:ye,horizOriginY:ye,id:null,ideographic:ye,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ye,k:ye,k1:ye,k2:ye,k3:ye,k4:ye,kernelMatrix:hn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ye,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:ye,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:ye,overlineThickness:ye,paintOrder:null,panose1:null,path:null,pathLength:ye,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:kt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ye,pointsAtY:ye,pointsAtZ:ye,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:hn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:hn,rev:hn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:hn,requiredFeatures:hn,requiredFonts:hn,requiredFormats:hn,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:ye,specularExponent:ye,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ye,strikethroughThickness:ye,string:null,stroke:null,strokeDashArray:hn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ye,strokeOpacity:ye,strokeWidth:null,style:null,surfaceScale:ye,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:hn,tabIndex:ye,tableValues:null,target:null,targetX:ye,targetY:ye,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:hn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ye,underlineThickness:ye,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ye,values:null,vAlphabetic:ye,vMathematical:ye,vectorEffect:null,vHanging:ye,vIdeographic:ye,version:null,vertAdvY:ye,vertOriginX:ye,vertOriginY:ye,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ye,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:t2}),n2=Xs({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()}}),i2=Xs({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:r2}),a2=Xs({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),T3={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"},_3=/[A-Z]/g,fv=/-[a-z]/g,w3=/^data[-\w.:]+$/i;function o2(e,t){const r=$c(t);let n=t,a=en;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&w3.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(fv,A3);n="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!fv.test(s)){let l=s.replace(_3,v3);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}a=Qb}return new a(n,t)}function v3(e){return"-"+e.toLowerCase()}function A3(e){return e.charAt(1).toUpperCase()}const s2=JA([e2,x3,n2,i2,a2],"html"),Qd=JA([e2,k3,n2,i2,a2],"svg");function gv(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function R3(e){return e.join(" ").trim()}var ss={},Qg,mv;function D3(){if(mv)return Qg;mv=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,c=/^\s+|\s+$/g,h=`
11
+ `,d="/",p="*",g="",b="comment",m="declaration";function C(k,x){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];x=x||{};var w=1,v=1;function O(W){var H=W.match(t);H&&(w+=H.length);var I=W.lastIndexOf(h);v=~I?W.length-I:v+W.length}function F(){var W={line:w,column:v};return function(H){return H.position=new R(W),K(),H}}function R(W){this.start=W,this.end={line:w,column:v},this.source=x.source}R.prototype.content=k;function $(W){var H=new Error(x.source+":"+w+":"+v+": "+W);if(H.reason=W,H.filename=x.source,H.line=w,H.column=v,H.source=k,!x.silent)throw H}function z(W){var H=W.exec(k);if(H){var I=H[0];return O(I),k=k.slice(I.length),H}}function K(){z(r)}function M(W){var H;for(W=W||[];H=q();)H!==!1&&W.push(H);return W}function q(){var W=F();if(!(d!=k.charAt(0)||p!=k.charAt(1))){for(var H=2;g!=k.charAt(H)&&(p!=k.charAt(H)||d!=k.charAt(H+1));)++H;if(H+=2,g===k.charAt(H-1))return $("End of comment missing");var I=k.slice(2,H-2);return v+=2,O(I),k=k.slice(H),v+=2,W({type:b,comment:I})}}function X(){var W=F(),H=z(n);if(H){if(q(),!z(a))return $("property missing ':'");var I=z(s),P=W({type:m,property:E(H[0].replace(e,g)),value:I?E(I[0].replace(e,g)):g});return z(l),P}}function J(){var W=[];M(W);for(var H;H=X();)H!==!1&&(W.push(H),M(W));return W}return K(),J()}function E(k){return k?k.replace(c,g):g}return Qg=C,Qg}var bv;function L3(){if(bv)return ss;bv=1;var e=ss&&ss.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=r;const t=e(D3());function r(n,a){let s=null;if(!n||typeof n!="string")return s;const l=(0,t.default)(n),c=typeof a=="function";return l.forEach(h=>{if(h.type!=="declaration")return;const{property:d,value:p}=h;c?a(d,p,h):p&&(s=s||{},s[d]=p)}),s}return ss}var ac={},yv;function N3(){if(yv)return ac;yv=1,Object.defineProperty(ac,"__esModule",{value:!0}),ac.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(d){return!d||r.test(d)||e.test(d)},l=function(d,p){return p.toUpperCase()},c=function(d,p){return"".concat(p,"-")},h=function(d,p){return p===void 0&&(p={}),s(d)?d:(d=d.toLowerCase(),p.reactCompat?d=d.replace(a,c):d=d.replace(n,c),d.replace(t,l))};return ac.camelCase=h,ac}var oc,Sv;function O3(){if(Sv)return oc;Sv=1;var e=oc&&oc.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(L3()),r=N3();function n(a,s){var l={};return!a||typeof a!="string"||(0,t.default)(a,function(c,h){c&&h&&(l[(0,r.camelCase)(c,s)]=h)}),l}return n.default=n,oc=n,oc}var I3=O3();const B3=Kd(I3),l2=c2("end"),Jb=c2("start");function c2(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 F3(e){const t=Jb(e),r=l2(e);if(t&&r)return{start:t,end:r}}function Rc(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Cv(e.position):"start"in e||"end"in e?Cv(e):"line"in e||"column"in e?Um(e):""}function Um(e){return Ev(e&&e.line)+":"+Ev(e&&e.column)}function Cv(e){return Um(e&&e.start)+"-"+Um(e&&e.end)}function Ev(e){return e&&typeof e=="number"?e:1}class vr extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",s={},l=!1;if(r&&("line"in r&&"column"in r?s={place:r}:"start"in r&&"end"in r?s={place:r}:"type"in r?s={ancestors:[r],place:r.position}:s={...r}),typeof t=="string"?a=t:!s.cause&&t&&(l=!0,a=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof n=="string"){const h=n.indexOf(":");h===-1?s.ruleId=n:(s.source=n.slice(0,h),s.ruleId=n.slice(h+1))}if(!s.place&&s.ancestors&&s.ancestors){const h=s.ancestors[s.ancestors.length-1];h&&(s.place=h.position)}const c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=c?c.line:void 0,this.name=Rc(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=l&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}vr.prototype.file="";vr.prototype.name="";vr.prototype.reason="";vr.prototype.message="";vr.prototype.stack="";vr.prototype.column=void 0;vr.prototype.line=void 0;vr.prototype.ancestors=void 0;vr.prototype.cause=void 0;vr.prototype.fatal=void 0;vr.prototype.place=void 0;vr.prototype.ruleId=void 0;vr.prototype.source=void 0;const ey={}.hasOwnProperty,M3=new Map,U3=/[A-Z]/g,$3=new Set(["table","tbody","thead","tfoot","tr"]),z3=new Set(["td","th"]),u2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function P3(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=X3(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=V3(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"?Qd:s2,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=h2(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function h2(e,t,r){if(t.type==="element")return H3(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return q3(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return j3(e,t,r);if(t.type==="mdxjsEsm")return G3(e,t);if(t.type==="root")return W3(e,t,r);if(t.type==="text")return Y3(e,t)}function H3(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=Qd,e.schema=a),e.ancestors.push(t);const s=p2(e,t.tagName,!1),l=Z3(e,t);let c=ry(e,t);return $3.has(t.tagName)&&(c=c.filter(function(h){return typeof h=="string"?!C3(h):!0})),d2(e,l,s,t),ty(l,c),e.ancestors.pop(),e.schema=n,e.create(t,s,l,r)}function q3(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)}zc(e,t.position)}function G3(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);zc(e,t.position)}function j3(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=Qd,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:p2(e,t.name,!0),l=K3(e,t),c=ry(e,t);return d2(e,l,s,t),ty(l,c),e.ancestors.pop(),e.schema=n,e.create(t,s,l,r)}function W3(e,t,r){const n={};return ty(n,ry(e,t)),e.create(t,e.Fragment,n,r)}function Y3(e,t){return t.value}function d2(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function ty(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function V3(e,t,r){return n;function n(a,s,l,c){const d=Array.isArray(l.children)?r:t;return c?d(s,l,c):d(s,l)}}function X3(e,t){return r;function r(n,a,s,l){const c=Array.isArray(s.children),h=Jb(n);return t(a,s,l,c,{columnNumber:h?h.column-1:void 0,fileName:e,lineNumber:h?h.line:void 0},void 0)}}function Z3(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&ey.call(t.properties,a)){const s=Q3(e,a,t.properties[a]);if(s){const[l,c]=s;e.tableCellAlignToStyle&&l==="align"&&typeof c=="string"&&z3.has(t.tagName)?n=c:r[l]=c}}if(n){const s=r.style||(r.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function K3(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const s=n.data.estree.body[0];s.type;const l=s.expression;l.type;const c=l.properties[0];c.type,Object.assign(r,e.evaluater.evaluateExpression(c.argument))}else zc(e,t.position);else{const a=n.name;let s;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const c=n.value.data.estree.body[0];c.type,s=e.evaluater.evaluateExpression(c.expression)}else zc(e,t.position);else s=n.value===null?!0:n.value;r[a]=s}return r}function ry(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:M3;for(;++n<t.children.length;){const s=t.children[n];let l;if(e.passKeys){const h=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(h){const d=a.get(h)||0;l=h+"-"+d,a.set(h,d+1)}}const c=h2(e,s,l);c!==void 0&&r.push(c)}return r}function Q3(e,t,r){const n=o2(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?g3(r):R3(r)),n.property==="style"){let a=typeof r=="object"?r:J3(e,String(r));return e.stylePropertyNameCase==="css"&&(a=e5(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?T3[n.property]||n.property:n.attribute,r]}}function J3(e,t){try{return B3(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new vr("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=u2+"#cannot-parse-style-attribute",a}}function p2(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,l;for(;++s<a.length;){const c=hv(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};l=l?{type:"MemberExpression",object:l,property:c,computed:!!(s&&c.type==="Literal"),optional:!1}:c}n=l}else n=hv(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return ey.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);zc(e)}function zc(e,t){const r=new vr("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=u2+"#cannot-handle-mdx-estrees-without-createevaluater",r}function e5(e){const t={};let r;for(r in e)ey.call(e,r)&&(t[t5(r)]=e[r]);return t}function t5(e){let t=e.replace(U3,r5);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function r5(e){return"-"+e.toLowerCase()}const Jg={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"]},n5={};function ny(e,t){const r=n5,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return f2(e,n,a)}function f2(e,t,r){if(i5(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 xv(e.children,t,r)}return Array.isArray(e)?xv(e,t,r):""}function xv(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=f2(e[a],t,r);return n.join("")}function i5(e){return!!(e&&typeof e=="object")}const kv=document.createElement("i");function Pc(e){const t="&"+e+";";kv.innerHTML=t;const r=kv.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function dn(e,t,r,n){const a=e.length;let s=0,l;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)l=Array.from(n),l.unshift(t,r),e.splice(...l);else for(r&&e.splice(t,r);s<n.length;)l=n.slice(s,s+1e4),l.unshift(t,0),e.splice(...l),s+=1e4,t+=1e4}function An(e,t){return e.length>0?(dn(e,e.length,0,t),e):t}const Tv={}.hasOwnProperty;function g2(e){const t={};let r=-1;for(;++r<e.length;)a5(t,e[r]);return t}function a5(e,t){let r;for(r in t){const a=(Tv.call(e,r)?e[r]:void 0)||(e[r]={}),s=t[r];let l;if(s)for(l in s){Tv.call(a,l)||(a[l]=[]);const c=s[l];o5(a[l],Array.isArray(c)?c:c?[c]:[])}}}function o5(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);dn(e,0,0,n)}function m2(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?"�":String.fromCodePoint(r)}function qn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Fr=Ia(/[A-Za-z]/),_r=Ia(/[\dA-Za-z]/),s5=Ia(/[#-'*+\--9=?A-Z^-~]/);function md(e){return e!==null&&(e<32||e===127)}const $m=Ia(/\d/),l5=Ia(/[\dA-Fa-f]/),c5=Ia(/[!-/:-@[-`{-~]/);function Ie(e){return e!==null&&e<-2}function xt(e){return e!==null&&(e<0||e===32)}function Ke(e){return e===-2||e===-1||e===32}const Jd=Ia(new RegExp("\\p{P}|\\p{S}","u")),ho=Ia(/\s/);function Ia(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Zs(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const s=e.charCodeAt(r);let l="";if(s===37&&_r(e.charCodeAt(r+1))&&_r(e.charCodeAt(r+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(l=String.fromCharCode(s));else if(s>55295&&s<57344){const c=e.charCodeAt(r+1);s<56320&&c>56319&&c<57344?(l=String.fromCharCode(s,c),a=1):l="�"}else l=String.fromCharCode(s);l&&(t.push(e.slice(n,r),encodeURIComponent(l)),n=r+a+1,l=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function ot(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let s=0;return l;function l(h){return Ke(h)?(e.enter(r),c(h)):t(h)}function c(h){return Ke(h)&&s++<a?(e.consume(h),c):(e.exit(r),t(h))}}const u5={tokenize:h5};function h5(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),ot(e,t,"linePrefix")}function a(c){return e.enter("paragraph"),s(c)}function s(c){const h=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=h),r=h,l(c)}function l(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Ie(c)?(e.consume(c),e.exit("chunkText"),s):(e.consume(c),l)}}const d5={tokenize:p5},_v={tokenize:f5};function p5(e){const t=this,r=[];let n=0,a,s,l;return c;function c(v){if(n<r.length){const O=r[n];return t.containerState=O[1],e.attempt(O[0].continuation,h,d)(v)}return d(v)}function h(v){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&w();const O=t.events.length;let F=O,R;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){R=t.events[F][1].end;break}x(n);let $=O;for(;$<t.events.length;)t.events[$][1].end={...R},$++;return dn(t.events,F+1,0,t.events.slice(O)),t.events.length=$,d(v)}return c(v)}function d(v){if(n===r.length){if(!a)return b(v);if(a.currentConstruct&&a.currentConstruct.concrete)return C(v);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(_v,p,g)(v)}function p(v){return a&&w(),x(n),b(v)}function g(v){return t.parser.lazy[t.now().line]=n!==r.length,l=t.now().offset,C(v)}function b(v){return t.containerState={},e.attempt(_v,m,C)(v)}function m(v){return n++,r.push([t.currentConstruct,t.containerState]),b(v)}function C(v){if(v===null){a&&w(),x(0),e.consume(v);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),E(v)}function E(v){if(v===null){k(e.exit("chunkFlow"),!0),x(0),e.consume(v);return}return Ie(v)?(e.consume(v),k(e.exit("chunkFlow")),n=0,t.interrupt=void 0,c):(e.consume(v),E)}function k(v,O){const F=t.sliceStream(v);if(O&&F.push(null),v.previous=s,s&&(s.next=v),s=v,a.defineSkip(v.start),a.write(F),t.parser.lazy[v.start.line]){let R=a.events.length;for(;R--;)if(a.events[R][1].start.offset<l&&(!a.events[R][1].end||a.events[R][1].end.offset>l))return;const $=t.events.length;let z=$,K,M;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(K){M=t.events[z][1].end;break}K=!0}for(x(n),R=$;R<t.events.length;)t.events[R][1].end={...M},R++;dn(t.events,z+1,0,t.events.slice($)),t.events.length=R}}function x(v){let O=r.length;for(;O-- >v;){const F=r[O];t.containerState=F[1],F[0].exit.call(t,e)}r.length=v}function w(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function f5(e,t,r){return ot(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function zs(e){if(e===null||xt(e)||ho(e))return 1;if(Jd(e))return 2}function ep(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!n.includes(s)&&(t=s(t,r),n.push(s))}return t}const zm={name:"attention",resolveAll:g5,tokenize:m5};function g5(e,t){let r=-1,n,a,s,l,c,h,d,p;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;h=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 g={...e[n][1].end},b={...e[r][1].start};wv(g,-h),wv(b,h),l={type:h>1?"strongSequence":"emphasisSequence",start:g,end:{...e[n][1].end}},c={type:h>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:b},s={type:h>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:h>1?"strong":"emphasis",start:{...l.start},end:{...c.end}},e[n][1].end={...l.start},e[r][1].start={...c.end},d=[],e[n][1].end.offset-e[n][1].start.offset&&(d=An(d,[["enter",e[n][1],t],["exit",e[n][1],t]])),d=An(d,[["enter",a,t],["enter",l,t],["exit",l,t],["enter",s,t]]),d=An(d,ep(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),d=An(d,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,d=An(d,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,dn(e,n-1,r-n+3,d),r=n+d.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function m5(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=zs(n);let s;return l;function l(h){return s=h,e.enter("attentionSequence"),c(h)}function c(h){if(h===s)return e.consume(h),c;const d=e.exit("attentionSequence"),p=zs(h),g=!p||p===2&&a||r.includes(h),b=!a||a===2&&p||r.includes(n);return d._open=!!(s===42?g:g&&(a||!b)),d._close=!!(s===42?b:b&&(p||!g)),t(h)}}function wv(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const b5={name:"autolink",tokenize:y5};function y5(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"),s}function s(m){return Fr(m)?(e.consume(m),l):m===64?r(m):d(m)}function l(m){return m===43||m===45||m===46||_r(m)?(n=1,c(m)):d(m)}function c(m){return m===58?(e.consume(m),n=0,h):(m===43||m===45||m===46||_r(m))&&n++<32?(e.consume(m),c):(n=0,d(m))}function h(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||md(m)?r(m):(e.consume(m),h)}function d(m){return m===64?(e.consume(m),p):s5(m)?(e.consume(m),d):r(m)}function p(m){return _r(m)?g(m):r(m)}function g(m){return m===46?(e.consume(m),n=0,p):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):b(m)}function b(m){if((m===45||_r(m))&&n++<63){const C=m===45?b:g;return e.consume(m),C}return r(m)}}const nu={partial:!0,tokenize:S5};function S5(e,t,r){return n;function n(s){return Ke(s)?ot(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||Ie(s)?t(s):r(s)}}const b2={continuation:{tokenize:E5},exit:x5,name:"blockQuote",tokenize:C5};function C5(e,t,r){const n=this;return a;function a(l){if(l===62){const c=n.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),s}return r(l)}function s(l){return Ke(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function E5(e,t,r){const n=this;return a;function a(l){return Ke(l)?ot(e,s,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):s(l)}function s(l){return e.attempt(b2,t,r)(l)}}function x5(e){e.exit("blockQuote")}const y2={name:"characterEscape",tokenize:k5};function k5(e,t,r){return n;function n(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return c5(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(s)}}const S2={name:"characterReference",tokenize:T5};function T5(e,t,r){const n=this;let a=0,s,l;return c;function c(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),h}function h(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),s=31,l=_r,p(g))}function d(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,l=l5,p):(e.enter("characterReferenceValue"),s=7,l=$m,p(g))}function p(g){if(g===59&&a){const b=e.exit("characterReferenceValue");return l===_r&&!Pc(n.sliceSerialize(b))?r(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(g)&&a++<s?(e.consume(g),p):r(g)}}const vv={partial:!0,tokenize:w5},Av={concrete:!0,name:"codeFenced",tokenize:_5};function _5(e,t,r){const n=this,a={partial:!0,tokenize:F};let s=0,l=0,c;return h;function h(R){return d(R)}function d(R){const $=n.events[n.events.length-1];return s=$&&$[1].type==="linePrefix"?$[2].sliceSerialize($[1],!0).length:0,c=R,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(R)}function p(R){return R===c?(l++,e.consume(R),p):l<3?r(R):(e.exit("codeFencedFenceSequence"),Ke(R)?ot(e,g,"whitespace")(R):g(R))}function g(R){return R===null||Ie(R)?(e.exit("codeFencedFence"),n.interrupt?t(R):e.check(vv,E,O)(R)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(R))}function b(R){return R===null||Ie(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(R)):Ke(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ot(e,m,"whitespace")(R)):R===96&&R===c?r(R):(e.consume(R),b)}function m(R){return R===null||Ie(R)?g(R):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),C(R))}function C(R){return R===null||Ie(R)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(R)):R===96&&R===c?r(R):(e.consume(R),C)}function E(R){return e.attempt(a,O,k)(R)}function k(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),x}function x(R){return s>0&&Ke(R)?ot(e,w,"linePrefix",s+1)(R):w(R)}function w(R){return R===null||Ie(R)?e.check(vv,E,O)(R):(e.enter("codeFlowValue"),v(R))}function v(R){return R===null||Ie(R)?(e.exit("codeFlowValue"),w(R)):(e.consume(R),v)}function O(R){return e.exit("codeFenced"),t(R)}function F(R,$,z){let K=0;return M;function M(H){return R.enter("lineEnding"),R.consume(H),R.exit("lineEnding"),q}function q(H){return R.enter("codeFencedFence"),Ke(H)?ot(R,X,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):X(H)}function X(H){return H===c?(R.enter("codeFencedFenceSequence"),J(H)):z(H)}function J(H){return H===c?(K++,R.consume(H),J):K>=l?(R.exit("codeFencedFenceSequence"),Ke(H)?ot(R,W,"whitespace")(H):W(H)):z(H)}function W(H){return H===null||Ie(H)?(R.exit("codeFencedFence"),$(H)):z(H)}}}function w5(e,t,r){const n=this;return a;function a(l){return l===null?r(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s)}function s(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}const em={name:"codeIndented",tokenize:A5},v5={partial:!0,tokenize:R5};function A5(e,t,r){const n=this;return a;function a(d){return e.enter("codeIndented"),ot(e,s,"linePrefix",5)(d)}function s(d){const p=n.events[n.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?l(d):r(d)}function l(d){return d===null?h(d):Ie(d)?e.attempt(v5,l,h)(d):(e.enter("codeFlowValue"),c(d))}function c(d){return d===null||Ie(d)?(e.exit("codeFlowValue"),l(d)):(e.consume(d),c)}function h(d){return e.exit("codeIndented"),t(d)}}function R5(e,t,r){const n=this;return a;function a(l){return n.parser.lazy[n.now().line]?r(l):Ie(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):ot(e,s,"linePrefix",5)(l)}function s(l){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(l):Ie(l)?a(l):r(l)}}const D5={name:"codeText",previous:N5,resolve:L5,tokenize:O5};function L5(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 N5(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function O5(e,t,r){let n=0,a,s;return l;function l(g){return e.enter("codeText"),e.enter("codeTextSequence"),c(g)}function c(g){return g===96?(e.consume(g),n++,c):(e.exit("codeTextSequence"),h(g))}function h(g){return g===null?r(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),h):g===96?(s=e.enter("codeTextSequence"),a=0,p(g)):Ie(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),h):(e.enter("codeTextData"),d(g))}function d(g){return g===null||g===32||g===96||Ie(g)?(e.exit("codeTextData"),h(g)):(e.consume(g),d)}function p(g){return g===96?(e.consume(g),a++,p):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(s.type="codeTextData",d(g))}}class I5{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 s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&sc(this.left,n),s.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),sc(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),sc(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);sc(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);sc(this.left,r.reverse())}}}function sc(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 C2(e){const t={};let r=-1,n,a,s,l,c,h,d;const p=new I5(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(n=p.get(r),r&&n[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(h=n[1]._tokenizer.events,s=0,s<h.length&&h[s][1].type==="lineEndingBlank"&&(s+=2),s<h.length&&h[s][1].type==="content"))for(;++s<h.length&&h[s][1].type!=="content";)h[s][1].type==="chunkText"&&(h[s][1]._isInFirstContentOfListItem=!0,s++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,B5(p,r)),r=t[r],d=!0);else if(n[1]._container){for(s=r,a=void 0;s--;)if(l=p.get(s),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(a&&(p.get(a)[1].type="lineEndingBlank"),l[1].type="lineEnding",a=s);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;a&&(n[1].end={...p.get(a)[1].start},c=p.slice(a,r),c.unshift(n),p.splice(a,r-a+1,c))}}return dn(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!d}function B5(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const s=[];let l=r._tokenizer;l||(l=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const c=l.events,h=[],d={};let p,g,b=-1,m=r,C=0,E=0;const k=[E];for(;m;){for(;e.get(++a)[1]!==m;);s.push(a),m._tokenizer||(p=n.sliceStream(m),m.next||p.push(null),g&&l.defineSkip(m.start),m._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(p),m._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),g=m,m=m.next}for(m=r;++b<c.length;)c[b][0]==="exit"&&c[b-1][0]==="enter"&&c[b][1].type===c[b-1][1].type&&c[b][1].start.line!==c[b][1].end.line&&(E=b+1,k.push(E),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(l.events=[],m?(m._tokenizer=void 0,m.previous=void 0):k.pop(),b=k.length;b--;){const x=c.slice(k[b],k[b+1]),w=s.pop();h.push([w,w+x.length-1]),e.splice(w,2,x)}for(h.reverse(),b=-1;++b<h.length;)d[C+h[b][0]]=C+h[b][1],C+=h[b][1]-h[b][0]-1;return d}const F5={resolve:U5,tokenize:$5},M5={partial:!0,tokenize:z5};function U5(e){return C2(e),e}function $5(e,t){let r;return n;function n(c){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(c)}function a(c){return c===null?s(c):Ie(c)?e.check(M5,l,s)(c):(e.consume(c),a)}function s(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function l(c){return e.consume(c),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function z5(e,t,r){const n=this;return a;function a(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ot(e,s,"linePrefix")}function s(l){if(l===null||Ie(l))return r(l);const c=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(l):e.interrupt(n.parser.constructs.flow,r,t)(l)}}function E2(e,t,r,n,a,s,l,c,h){const d=h||Number.POSITIVE_INFINITY;let p=0;return g;function g(x){return x===60?(e.enter(n),e.enter(a),e.enter(s),e.consume(x),e.exit(s),b):x===null||x===32||x===41||md(x)?r(x):(e.enter(n),e.enter(l),e.enter(c),e.enter("chunkString",{contentType:"string"}),E(x))}function b(x){return x===62?(e.enter(s),e.consume(x),e.exit(s),e.exit(a),e.exit(n),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(e.exit("chunkString"),e.exit(c),b(x)):x===null||x===60||Ie(x)?r(x):(e.consume(x),x===92?C:m)}function C(x){return x===60||x===62||x===92?(e.consume(x),m):m(x)}function E(x){return!p&&(x===null||x===41||xt(x))?(e.exit("chunkString"),e.exit(c),e.exit(l),e.exit(n),t(x)):p<d&&x===40?(e.consume(x),p++,E):x===41?(e.consume(x),p--,E):x===null||x===32||x===40||md(x)?r(x):(e.consume(x),x===92?k:E)}function k(x){return x===40||x===41||x===92?(e.consume(x),E):E(x)}}function x2(e,t,r,n,a,s){const l=this;let c=0,h;return d;function d(m){return e.enter(n),e.enter(a),e.consume(m),e.exit(a),e.enter(s),p}function p(m){return c>999||m===null||m===91||m===93&&!h||m===94&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs?r(m):m===93?(e.exit(s),e.enter(a),e.consume(m),e.exit(a),e.exit(n),t):Ie(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),g(m))}function g(m){return m===null||m===91||m===93||Ie(m)||c++>999?(e.exit("chunkString"),p(m)):(e.consume(m),h||(h=!Ke(m)),m===92?b:g)}function b(m){return m===91||m===92||m===93?(e.consume(m),c++,g):g(m)}}function k2(e,t,r,n,a,s){let l;return c;function c(b){return b===34||b===39||b===40?(e.enter(n),e.enter(a),e.consume(b),e.exit(a),l=b===40?41:b,h):r(b)}function h(b){return b===l?(e.enter(a),e.consume(b),e.exit(a),e.exit(n),t):(e.enter(s),d(b))}function d(b){return b===l?(e.exit(s),h(l)):b===null?r(b):Ie(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ot(e,d,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===l||b===null||Ie(b)?(e.exit("chunkString"),d(b)):(e.consume(b),b===92?g:p)}function g(b){return b===l||b===92?(e.consume(b),p):p(b)}}function Dc(e,t){let r;return n;function n(a){return Ie(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):Ke(a)?ot(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const P5={name:"definition",tokenize:q5},H5={partial:!0,tokenize:G5};function q5(e,t,r){const n=this;let a;return s;function s(m){return e.enter("definition"),l(m)}function l(m){return x2.call(n,e,c,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function c(m){return a=qn(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),h):r(m)}function h(m){return xt(m)?Dc(e,d)(m):d(m)}function d(m){return E2(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function p(m){return e.attempt(H5,g,g)(m)}function g(m){return Ke(m)?ot(e,b,"whitespace")(m):b(m)}function b(m){return m===null||Ie(m)?(e.exit("definition"),n.parser.defined.push(a),t(m)):r(m)}}function G5(e,t,r){return n;function n(c){return xt(c)?Dc(e,a)(c):r(c)}function a(c){return k2(e,s,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return Ke(c)?ot(e,l,"whitespace")(c):l(c)}function l(c){return c===null||Ie(c)?t(c):r(c)}}const j5={name:"hardBreakEscape",tokenize:W5};function W5(e,t,r){return n;function n(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return Ie(s)?(e.exit("hardBreakEscape"),t(s)):r(s)}}const Y5={name:"headingAtx",resolve:V5,tokenize:X5};function V5(e,t){let r=e.length-2,n=3,a,s;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},s={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},dn(e,n,r-n+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function X5(e,t,r){let n=0;return a;function a(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),l(p)}function l(p){return p===35&&n++<6?(e.consume(p),l):p===null||xt(p)?(e.exit("atxHeadingSequence"),c(p)):r(p)}function c(p){return p===35?(e.enter("atxHeadingSequence"),h(p)):p===null||Ie(p)?(e.exit("atxHeading"),t(p)):Ke(p)?ot(e,c,"whitespace")(p):(e.enter("atxHeadingText"),d(p))}function h(p){return p===35?(e.consume(p),h):(e.exit("atxHeadingSequence"),c(p))}function d(p){return p===null||p===35||xt(p)?(e.exit("atxHeadingText"),c(p)):(e.consume(p),d)}}const Z5=["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"],Rv=["pre","script","style","textarea"],K5={concrete:!0,name:"htmlFlow",resolveTo:eU,tokenize:tU},Q5={partial:!0,tokenize:nU},J5={partial:!0,tokenize:rU};function eU(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 tU(e,t,r){const n=this;let a,s,l,c,h;return d;function d(N){return p(N)}function p(N){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(N),g}function g(N){return N===33?(e.consume(N),b):N===47?(e.consume(N),s=!0,E):N===63?(e.consume(N),a=3,n.interrupt?t:L):Fr(N)?(e.consume(N),l=String.fromCharCode(N),k):r(N)}function b(N){return N===45?(e.consume(N),a=2,m):N===91?(e.consume(N),a=5,c=0,C):Fr(N)?(e.consume(N),a=4,n.interrupt?t:L):r(N)}function m(N){return N===45?(e.consume(N),n.interrupt?t:L):r(N)}function C(N){const de="CDATA[";return N===de.charCodeAt(c++)?(e.consume(N),c===de.length?n.interrupt?t:X:C):r(N)}function E(N){return Fr(N)?(e.consume(N),l=String.fromCharCode(N),k):r(N)}function k(N){if(N===null||N===47||N===62||xt(N)){const de=N===47,me=l.toLowerCase();return!de&&!s&&Rv.includes(me)?(a=1,n.interrupt?t(N):X(N)):Z5.includes(l.toLowerCase())?(a=6,de?(e.consume(N),x):n.interrupt?t(N):X(N)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(N):s?w(N):v(N))}return N===45||_r(N)?(e.consume(N),l+=String.fromCharCode(N),k):r(N)}function x(N){return N===62?(e.consume(N),n.interrupt?t:X):r(N)}function w(N){return Ke(N)?(e.consume(N),w):M(N)}function v(N){return N===47?(e.consume(N),M):N===58||N===95||Fr(N)?(e.consume(N),O):Ke(N)?(e.consume(N),v):M(N)}function O(N){return N===45||N===46||N===58||N===95||_r(N)?(e.consume(N),O):F(N)}function F(N){return N===61?(e.consume(N),R):Ke(N)?(e.consume(N),F):v(N)}function R(N){return N===null||N===60||N===61||N===62||N===96?r(N):N===34||N===39?(e.consume(N),h=N,$):Ke(N)?(e.consume(N),R):z(N)}function $(N){return N===h?(e.consume(N),h=null,K):N===null||Ie(N)?r(N):(e.consume(N),$)}function z(N){return N===null||N===34||N===39||N===47||N===60||N===61||N===62||N===96||xt(N)?F(N):(e.consume(N),z)}function K(N){return N===47||N===62||Ke(N)?v(N):r(N)}function M(N){return N===62?(e.consume(N),q):r(N)}function q(N){return N===null||Ie(N)?X(N):Ke(N)?(e.consume(N),q):r(N)}function X(N){return N===45&&a===2?(e.consume(N),I):N===60&&a===1?(e.consume(N),P):N===62&&a===4?(e.consume(N),U):N===63&&a===3?(e.consume(N),L):N===93&&a===5?(e.consume(N),se):Ie(N)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Q5,ee,J)(N)):N===null||Ie(N)?(e.exit("htmlFlowData"),J(N)):(e.consume(N),X)}function J(N){return e.check(J5,W,ee)(N)}function W(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),H}function H(N){return N===null||Ie(N)?J(N):(e.enter("htmlFlowData"),X(N))}function I(N){return N===45?(e.consume(N),L):X(N)}function P(N){return N===47?(e.consume(N),l="",V):X(N)}function V(N){if(N===62){const de=l.toLowerCase();return Rv.includes(de)?(e.consume(N),U):X(N)}return Fr(N)&&l.length<8?(e.consume(N),l+=String.fromCharCode(N),V):X(N)}function se(N){return N===93?(e.consume(N),L):X(N)}function L(N){return N===62?(e.consume(N),U):N===45&&a===2?(e.consume(N),L):X(N)}function U(N){return N===null||Ie(N)?(e.exit("htmlFlowData"),ee(N)):(e.consume(N),U)}function ee(N){return e.exit("htmlFlow"),t(N)}}function rU(e,t,r){const n=this;return a;function a(l){return Ie(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):r(l)}function s(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}function nU(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(nu,t,r)}}const iU={name:"htmlText",tokenize:aU};function aU(e,t,r){const n=this;let a,s,l;return c;function c(L){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(L),h}function h(L){return L===33?(e.consume(L),d):L===47?(e.consume(L),F):L===63?(e.consume(L),v):Fr(L)?(e.consume(L),z):r(L)}function d(L){return L===45?(e.consume(L),p):L===91?(e.consume(L),s=0,C):Fr(L)?(e.consume(L),w):r(L)}function p(L){return L===45?(e.consume(L),m):r(L)}function g(L){return L===null?r(L):L===45?(e.consume(L),b):Ie(L)?(l=g,P(L)):(e.consume(L),g)}function b(L){return L===45?(e.consume(L),m):g(L)}function m(L){return L===62?I(L):L===45?b(L):g(L)}function C(L){const U="CDATA[";return L===U.charCodeAt(s++)?(e.consume(L),s===U.length?E:C):r(L)}function E(L){return L===null?r(L):L===93?(e.consume(L),k):Ie(L)?(l=E,P(L)):(e.consume(L),E)}function k(L){return L===93?(e.consume(L),x):E(L)}function x(L){return L===62?I(L):L===93?(e.consume(L),x):E(L)}function w(L){return L===null||L===62?I(L):Ie(L)?(l=w,P(L)):(e.consume(L),w)}function v(L){return L===null?r(L):L===63?(e.consume(L),O):Ie(L)?(l=v,P(L)):(e.consume(L),v)}function O(L){return L===62?I(L):v(L)}function F(L){return Fr(L)?(e.consume(L),R):r(L)}function R(L){return L===45||_r(L)?(e.consume(L),R):$(L)}function $(L){return Ie(L)?(l=$,P(L)):Ke(L)?(e.consume(L),$):I(L)}function z(L){return L===45||_r(L)?(e.consume(L),z):L===47||L===62||xt(L)?K(L):r(L)}function K(L){return L===47?(e.consume(L),I):L===58||L===95||Fr(L)?(e.consume(L),M):Ie(L)?(l=K,P(L)):Ke(L)?(e.consume(L),K):I(L)}function M(L){return L===45||L===46||L===58||L===95||_r(L)?(e.consume(L),M):q(L)}function q(L){return L===61?(e.consume(L),X):Ie(L)?(l=q,P(L)):Ke(L)?(e.consume(L),q):K(L)}function X(L){return L===null||L===60||L===61||L===62||L===96?r(L):L===34||L===39?(e.consume(L),a=L,J):Ie(L)?(l=X,P(L)):Ke(L)?(e.consume(L),X):(e.consume(L),W)}function J(L){return L===a?(e.consume(L),a=void 0,H):L===null?r(L):Ie(L)?(l=J,P(L)):(e.consume(L),J)}function W(L){return L===null||L===34||L===39||L===60||L===61||L===96?r(L):L===47||L===62||xt(L)?K(L):(e.consume(L),W)}function H(L){return L===47||L===62||xt(L)?K(L):r(L)}function I(L){return L===62?(e.consume(L),e.exit("htmlTextData"),e.exit("htmlText"),t):r(L)}function P(L){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),V}function V(L){return Ke(L)?ot(e,se,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):se(L)}function se(L){return e.enter("htmlTextData"),l(L)}}const iy={name:"labelEnd",resolveAll:cU,resolveTo:uU,tokenize:hU},oU={tokenize:dU},sU={tokenize:pU},lU={tokenize:fU};function cU(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&&dn(e,0,e.length,r),e}function uU(e,t){let r=e.length,n=0,a,s,l,c;for(;r--;)if(a=e[r][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(l){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(l=r);const h={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},d={type:"label",start:{...e[s][1].start},end:{...e[l][1].end}},p={type:"labelText",start:{...e[s+n+2][1].end},end:{...e[l-2][1].start}};return c=[["enter",h,t],["enter",d,t]],c=An(c,e.slice(s+1,s+n+3)),c=An(c,[["enter",p,t]]),c=An(c,ep(t.parser.constructs.insideSpan.null,e.slice(s+n+4,l-3),t)),c=An(c,[["exit",p,t],e[l-2],e[l-1],["exit",d,t]]),c=An(c,e.slice(l+1)),c=An(c,[["exit",h,t]]),dn(e,s,e.length,c),e}function hU(e,t,r){const n=this;let a=n.events.length,s,l;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){s=n.events[a][1];break}return c;function c(b){return s?s._inactive?g(b):(l=n.parser.defined.includes(qn(n.sliceSerialize({start:s.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),h):r(b)}function h(b){return b===40?e.attempt(oU,p,l?p:g)(b):b===91?e.attempt(sU,p,l?d:g)(b):l?p(b):g(b)}function d(b){return e.attempt(lU,p,g)(b)}function p(b){return t(b)}function g(b){return s._balanced=!0,r(b)}}function dU(e,t,r){return n;function n(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),a}function a(g){return xt(g)?Dc(e,s)(g):s(g)}function s(g){return g===41?p(g):E2(e,l,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function l(g){return xt(g)?Dc(e,h)(g):p(g)}function c(g){return r(g)}function h(g){return g===34||g===39||g===40?k2(e,d,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):p(g)}function d(g){return xt(g)?Dc(e,p)(g):p(g)}function p(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):r(g)}}function pU(e,t,r){const n=this;return a;function a(c){return x2.call(n,e,s,l,"reference","referenceMarker","referenceString")(c)}function s(c){return n.parser.defined.includes(qn(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(c):r(c)}function l(c){return r(c)}}function fU(e,t,r){return n;function n(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):r(s)}}const gU={name:"labelStartImage",resolveAll:iy.resolveAll,tokenize:mU};function mU(e,t,r){const n=this;return a;function a(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),s}function s(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),l):r(c)}function l(c){return c===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(c):t(c)}}const bU={name:"labelStartLink",resolveAll:iy.resolveAll,tokenize:yU};function yU(e,t,r){const n=this;return a;function a(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}const tm={name:"lineEnding",tokenize:SU};function SU(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ot(e,t,"linePrefix")}}const Jh={name:"thematicBreak",tokenize:CU};function CU(e,t,r){let n=0,a;return s;function s(d){return e.enter("thematicBreak"),l(d)}function l(d){return a=d,c(d)}function c(d){return d===a?(e.enter("thematicBreakSequence"),h(d)):n>=3&&(d===null||Ie(d))?(e.exit("thematicBreak"),t(d)):r(d)}function h(d){return d===a?(e.consume(d),n++,h):(e.exit("thematicBreakSequence"),Ke(d)?ot(e,c,"whitespace")(d):c(d))}}const Xr={continuation:{tokenize:TU},exit:wU,name:"list",tokenize:kU},EU={partial:!0,tokenize:vU},xU={partial:!0,tokenize:_U};function kU(e,t,r){const n=this,a=n.events[n.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,l=0;return c;function c(m){const C=n.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(C==="listUnordered"?!n.containerState.marker||m===n.containerState.marker:$m(m)){if(n.containerState.type||(n.containerState.type=C,e.enter(C,{_container:!0})),C==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Jh,r,d)(m):d(m);if(!n.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),h(m)}return r(m)}function h(m){return $m(m)&&++l<10?(e.consume(m),h):(!n.interrupt||l<2)&&(n.containerState.marker?m===n.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),d(m)):r(m)}function d(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||m,e.check(nu,n.interrupt?r:p,e.attempt(EU,b,g))}function p(m){return n.containerState.initialBlankLine=!0,s++,b(m)}function g(m){return Ke(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),b):r(m)}function b(m){return n.containerState.size=s+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function TU(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(nu,a,s);function a(c){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ot(e,t,"listItemIndent",n.containerState.size+1)(c)}function s(c){return n.containerState.furtherBlankLines||!Ke(c)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(c)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(xU,t,l)(c))}function l(c){return n.containerState._closeFlow=!0,n.interrupt=void 0,ot(e,e.attempt(Xr,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function _U(e,t,r){const n=this;return ot(e,a,"listItemIndent",n.containerState.size+1);function a(s){const l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?t(s):r(s)}}function wU(e){e.exit(this.containerState.type)}function vU(e,t,r){const n=this;return ot(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const l=n.events[n.events.length-1];return!Ke(s)&&l&&l[1].type==="listItemPrefixWhitespace"?t(s):r(s)}}const Dv={name:"setextUnderline",resolveTo:AU,tokenize:RU};function AU(e,t){let r=e.length,n,a,s;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),!s&&e[r][1].type==="definition"&&(s=r);const l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",l,t]),e.splice(s+1,0,["exit",e[n][1],t]),e[n][1].end={...e[s][1].end}):e[n][1]=l,e.push(["exit",l,t]),e}function RU(e,t,r){const n=this;let a;return s;function s(d){let p=n.events.length,g;for(;p--;)if(n.events[p][1].type!=="lineEnding"&&n.events[p][1].type!=="linePrefix"&&n.events[p][1].type!=="content"){g=n.events[p][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||g)?(e.enter("setextHeadingLine"),a=d,l(d)):r(d)}function l(d){return e.enter("setextHeadingLineSequence"),c(d)}function c(d){return d===a?(e.consume(d),c):(e.exit("setextHeadingLineSequence"),Ke(d)?ot(e,h,"lineSuffix")(d):h(d))}function h(d){return d===null||Ie(d)?(e.exit("setextHeadingLine"),t(d)):r(d)}}const DU={tokenize:LU};function LU(e){const t=this,r=e.attempt(nu,n,e.attempt(this.parser.constructs.flowInitial,a,ot(e,e.attempt(this.parser.constructs.flow,a,e.attempt(F5,a)),"linePrefix")));return r;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const NU={resolveAll:_2()},OU=T2("string"),IU=T2("text");function T2(e){return{resolveAll:_2(e==="text"?BU:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],s=r.attempt(a,l,c);return l;function l(p){return d(p)?s(p):c(p)}function c(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),h}function h(p){return d(p)?(r.exit("data"),s(p)):(r.consume(p),h)}function d(p){if(p===null)return!0;const g=a[p];let b=-1;if(g)for(;++b<g.length;){const m=g[b];if(!m.previous||m.previous.call(n,n.previous))return!0}return!1}}}function _2(e){return t;function t(r,n){let a=-1,s;for(;++a<=r.length;)s===void 0?r[a]&&r[a][1].type==="data"&&(s=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==s+2&&(r[s][1].end=r[a-1][1].end,r.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(r,n):r}}function BU(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 s=a.length,l=-1,c=0,h;for(;s--;){const d=a[s];if(typeof d=="string"){for(l=d.length;d.charCodeAt(l-1)===32;)c++,l--;if(l)break;l=-1}else if(d===-2)h=!0,c++;else if(d!==-1){s++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(c=0),c){const d={type:r===e.length||h||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?l:n.start._bufferIndex+l,_index:n.start._index+s,line:n.end.line,column:n.end.column-c,offset:n.end.offset-c},end:{...n.end}};n.end={...d.start},n.start.offset===n.end.offset?Object.assign(n,d):(e.splice(r,0,["enter",d,t],["exit",d,t]),r+=2)}r++}return e}const FU={42:Xr,43:Xr,45:Xr,48:Xr,49:Xr,50:Xr,51:Xr,52:Xr,53:Xr,54:Xr,55:Xr,56:Xr,57:Xr,62:b2},MU={91:P5},UU={[-2]:em,[-1]:em,32:em},$U={35:Y5,42:Jh,45:[Dv,Jh],60:K5,61:Dv,95:Jh,96:Av,126:Av},zU={38:S2,92:y2},PU={[-5]:tm,[-4]:tm,[-3]:tm,33:gU,38:S2,42:zm,60:[b5,iU],91:bU,92:[j5,y2],93:iy,95:zm,96:D5},HU={null:[zm,NU]},qU={null:[42,95]},GU={null:[]},jU=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:qU,contentInitial:MU,disable:GU,document:FU,flow:$U,flowInitial:UU,insideSpan:HU,string:zU,text:PU},Symbol.toStringTag,{value:"Module"}));function WU(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={},s=[];let l=[],c=[];const h={attempt:$(F),check:$(R),consume:w,enter:v,exit:O,interrupt:$(R,{interrupt:!0})},d={code:null,containerState:{},defineSkip:E,events:[],now:C,parser:e,previous:null,sliceSerialize:b,sliceStream:m,write:g};let p=t.tokenize.call(d,h);return t.resolveAll&&s.push(t),d;function g(q){return l=An(l,q),k(),l[l.length-1]!==null?[]:(z(t,0),d.events=ep(s,d.events,d),d.events)}function b(q,X){return VU(m(q),X)}function m(q){return YU(l,q)}function C(){const{_bufferIndex:q,_index:X,line:J,column:W,offset:H}=n;return{_bufferIndex:q,_index:X,line:J,column:W,offset:H}}function E(q){a[q.line]=q.column,M()}function k(){let q;for(;n._index<l.length;){const X=l[n._index];if(typeof X=="string")for(q=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===q&&n._bufferIndex<X.length;)x(X.charCodeAt(n._bufferIndex));else x(X)}}function x(q){p=p(q)}function w(q){Ie(q)?(n.line++,n.column=1,n.offset+=q===-3?2:1,M()):q!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),d.previous=q}function v(q,X){const J=X||{};return J.type=q,J.start=C(),d.events.push(["enter",J,d]),c.push(J),J}function O(q){const X=c.pop();return X.end=C(),d.events.push(["exit",X,d]),X}function F(q,X){z(q,X.from)}function R(q,X){X.restore()}function $(q,X){return J;function J(W,H,I){let P,V,se,L;return Array.isArray(W)?ee(W):"tokenize"in W?ee([W]):U(W);function U(ge){return Se;function Se(Te){const Le=Te!==null&&ge[Te],qe=Te!==null&&ge.null,lt=[...Array.isArray(Le)?Le:Le?[Le]:[],...Array.isArray(qe)?qe:qe?[qe]:[]];return ee(lt)(Te)}}function ee(ge){return P=ge,V=0,ge.length===0?I:N(ge[V])}function N(ge){return Se;function Se(Te){return L=K(),se=ge,ge.partial||(d.currentConstruct=ge),ge.name&&d.parser.constructs.disable.null.includes(ge.name)?me():ge.tokenize.call(X?Object.assign(Object.create(d),X):d,h,de,me)(Te)}}function de(ge){return q(se,L),H}function me(ge){return L.restore(),++V<P.length?N(P[V]):I}}}function z(q,X){q.resolveAll&&!s.includes(q)&&s.push(q),q.resolve&&dn(d.events,X,d.events.length-X,q.resolve(d.events.slice(X),d)),q.resolveTo&&(d.events=q.resolveTo(d.events,d))}function K(){const q=C(),X=d.previous,J=d.currentConstruct,W=d.events.length,H=Array.from(c);return{from:W,restore:I};function I(){n=q,d.previous=X,d.currentConstruct=J,d.events.length=W,c=H,M()}}function M(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function YU(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let l;if(r===a)l=[e[r].slice(n,s)];else{if(l=e.slice(r,a),n>-1){const c=l[0];typeof c=="string"?l[0]=c.slice(n):l.shift()}s>0&&l.push(e[a].slice(0,s))}return l}function VU(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const s=e[r];let l;if(typeof s=="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
12
+ `;break}case-3:{l=`\r
13
+ `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&a)continue;l=" ";break}default:l=String.fromCharCode(s)}a=s===-2,n.push(l)}return n.join("")}function XU(e){const n={constructs:g2([jU,...(e||{}).extensions||[]]),content:a(u5),defined:[],document:a(d5),flow:a(DU),lazy:{},string:a(OU),text:a(IU)};return n;function a(s){return l;function l(c){return WU(n,s,c)}}}function ZU(e){for(;!C2(e););return e}const Lv=/[\0\t\n\r]/g;function KU(){let e=1,t="",r=!0,n;return a;function a(s,l,c){const h=[];let d,p,g,b,m;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(l||void 0).decode(s)),g=0,t="",r&&(s.charCodeAt(0)===65279&&g++,r=void 0);g<s.length;){if(Lv.lastIndex=g,d=Lv.exec(s),b=d&&d.index!==void 0?d.index:s.length,m=s.charCodeAt(b),!d){t=s.slice(g);break}if(m===10&&g===b&&n)h.push(-3),n=void 0;else switch(n&&(h.push(-5),n=void 0),g<b&&(h.push(s.slice(g,b)),e+=b-g),m){case 0:{h.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,h.push(-2);e++<p;)h.push(-1);break}case 10:{h.push(-4),e=1;break}default:n=!0,e=1}g=b+1}return c&&(n&&h.push(-5),t&&h.push(t),h.push(null)),h}}const QU=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function JU(e){return e.replace(QU,e$)}function e$(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),s=a===120||a===88;return m2(r.slice(s?2:1),s?16:10)}return Pc(r)||e}const w2={}.hasOwnProperty;function t$(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),r$(r)(ZU(XU(r).document().write(KU()(e,t,!0))))}function r$(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Nn),autolinkProtocol:K,autolinkEmail:K,atxHeading:s(Pr),blockQuote:s(qe),characterEscape:K,characterReference:K,codeFenced:s(lt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(lt,l),codeText:s(ur,l),codeTextData:K,data:K,codeFlowValue:K,definition:s(ar),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(Jt),hardBreakEscape:s(Xn),hardBreakTrailing:s(Xn),htmlFlow:s(Wi,l),htmlFlowData:K,htmlText:s(Wi,l),htmlTextData:K,image:s(Ln),label:l,link:s(Nn),listItem:s(Yi),listItemValue:b,listOrdered:s(On,g),listUnordered:s(On),paragraph:s(ko),reference:N,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(Pr),strong:s(To),thematicBreak:s(di)},exit:{atxHeading:h(),atxHeadingSequence:F,autolink:h(),autolinkEmail:Le,autolinkProtocol:Te,blockQuote:h(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:ge,characterReference:Se,codeFenced:h(k),codeFencedFence:E,codeFencedFenceInfo:m,codeFencedFenceMeta:C,codeFlowValue:M,codeIndented:h(x),codeText:h(H),codeTextData:M,data:M,definition:h(),definitionDestinationString:O,definitionLabelString:w,definitionTitleString:v,emphasis:h(),hardBreakEscape:h(X),hardBreakTrailing:h(X),htmlFlow:h(J),htmlFlowData:M,htmlText:h(W),htmlTextData:M,image:h(P),label:se,labelText:V,lineEnding:q,link:h(I),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:de,resourceDestinationString:L,resourceTitleString:U,resource:ee,setextHeading:h(z),setextHeadingLineSequence:$,setextHeadingText:R,strong:h(),thematicBreak:h()}};v2(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(le){let be={type:"root",children:[]};const Oe={stack:[be],tokenStack:[],config:t,enter:c,exit:d,buffer:l,resume:p,data:r},Ye=[];let st=-1;for(;++st<le.length;)if(le[st][1].type==="listOrdered"||le[st][1].type==="listUnordered")if(le[st][0]==="enter")Ye.push(st);else{const hr=Ye.pop();st=a(le,hr,st)}for(st=-1;++st<le.length;){const hr=t[le[st][0]];w2.call(hr,le[st][1].type)&&hr[le[st][1].type].call(Object.assign({sliceSerialize:le[st][2].sliceSerialize},Oe),le[st][1])}if(Oe.tokenStack.length>0){const hr=Oe.tokenStack[Oe.tokenStack.length-1];(hr[1]||Nv).call(Oe,void 0,hr[0])}for(be.position={start:Ea(le.length>0?le[0][1].start:{line:1,column:1,offset:0}),end:Ea(le.length>0?le[le.length-2][1].end:{line:1,column:1,offset:0})},st=-1;++st<t.transforms.length;)be=t.transforms[st](be)||be;return be}function a(le,be,Oe){let Ye=be-1,st=-1,hr=!1,fn,Gt,At,Tt;for(;++Ye<=Oe;){const at=le[Ye];switch(at[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{at[0]==="enter"?st++:st--,Tt=void 0;break}case"lineEndingBlank":{at[0]==="enter"&&(fn&&!Tt&&!st&&!At&&(At=Ye),Tt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Tt=void 0}if(!st&&at[0]==="enter"&&at[1].type==="listItemPrefix"||st===-1&&at[0]==="exit"&&(at[1].type==="listUnordered"||at[1].type==="listOrdered")){if(fn){let gn=Ye;for(Gt=void 0;gn--;){const Lr=le[gn];if(Lr[1].type==="lineEnding"||Lr[1].type==="lineEndingBlank"){if(Lr[0]==="exit")continue;Gt&&(le[Gt][1].type="lineEndingBlank",hr=!0),Lr[1].type="lineEnding",Gt=gn}else if(!(Lr[1].type==="linePrefix"||Lr[1].type==="blockQuotePrefix"||Lr[1].type==="blockQuotePrefixWhitespace"||Lr[1].type==="blockQuoteMarker"||Lr[1].type==="listItemIndent"))break}At&&(!Gt||At<Gt)&&(fn._spread=!0),fn.end=Object.assign({},Gt?le[Gt][1].start:at[1].end),le.splice(Gt||Ye,0,["exit",fn,at[2]]),Ye++,Oe++}if(at[1].type==="listItemPrefix"){const gn={type:"listItem",_spread:!1,start:Object.assign({},at[1].start),end:void 0};fn=gn,le.splice(Ye,0,["enter",gn,at[2]]),Ye++,Oe++,At=void 0,Tt=!0}}}return le[be][1]._spread=hr,Oe}function s(le,be){return Oe;function Oe(Ye){c.call(this,le(Ye),Ye),be&&be.call(this,Ye)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(le,be,Oe){this.stack[this.stack.length-1].children.push(le),this.stack.push(le),this.tokenStack.push([be,Oe||void 0]),le.position={start:Ea(be.start),end:void 0}}function h(le){return be;function be(Oe){le&&le.call(this,Oe),d.call(this,Oe)}}function d(le,be){const Oe=this.stack.pop(),Ye=this.tokenStack.pop();if(Ye)Ye[0].type!==le.type&&(be?be.call(this,le,Ye[0]):(Ye[1]||Nv).call(this,le,Ye[0]));else throw new Error("Cannot close `"+le.type+"` ("+Rc({start:le.start,end:le.end})+"): it’s not open");Oe.position.end=Ea(le.end)}function p(){return ny(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function b(le){if(this.data.expectingFirstListItemValue){const be=this.stack[this.stack.length-2];be.start=Number.parseInt(this.sliceSerialize(le),10),this.data.expectingFirstListItemValue=void 0}}function m(){const le=this.resume(),be=this.stack[this.stack.length-1];be.lang=le}function C(){const le=this.resume(),be=this.stack[this.stack.length-1];be.meta=le}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const le=this.resume(),be=this.stack[this.stack.length-1];be.value=le.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const le=this.resume(),be=this.stack[this.stack.length-1];be.value=le.replace(/(\r?\n|\r)$/g,"")}function w(le){const be=this.resume(),Oe=this.stack[this.stack.length-1];Oe.label=be,Oe.identifier=qn(this.sliceSerialize(le)).toLowerCase()}function v(){const le=this.resume(),be=this.stack[this.stack.length-1];be.title=le}function O(){const le=this.resume(),be=this.stack[this.stack.length-1];be.url=le}function F(le){const be=this.stack[this.stack.length-1];if(!be.depth){const Oe=this.sliceSerialize(le).length;be.depth=Oe}}function R(){this.data.setextHeadingSlurpLineEnding=!0}function $(le){const be=this.stack[this.stack.length-1];be.depth=this.sliceSerialize(le).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function K(le){const Oe=this.stack[this.stack.length-1].children;let Ye=Oe[Oe.length-1];(!Ye||Ye.type!=="text")&&(Ye=er(),Ye.position={start:Ea(le.start),end:void 0},Oe.push(Ye)),this.stack.push(Ye)}function M(le){const be=this.stack.pop();be.value+=this.sliceSerialize(le),be.position.end=Ea(le.end)}function q(le){const be=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Oe=be.children[be.children.length-1];Oe.position.end=Ea(le.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(be.type)&&(K.call(this,le),M.call(this,le))}function X(){this.data.atHardBreak=!0}function J(){const le=this.resume(),be=this.stack[this.stack.length-1];be.value=le}function W(){const le=this.resume(),be=this.stack[this.stack.length-1];be.value=le}function H(){const le=this.resume(),be=this.stack[this.stack.length-1];be.value=le}function I(){const le=this.stack[this.stack.length-1];if(this.data.inReference){const be=this.data.referenceType||"shortcut";le.type+="Reference",le.referenceType=be,delete le.url,delete le.title}else delete le.identifier,delete le.label;this.data.referenceType=void 0}function P(){const le=this.stack[this.stack.length-1];if(this.data.inReference){const be=this.data.referenceType||"shortcut";le.type+="Reference",le.referenceType=be,delete le.url,delete le.title}else delete le.identifier,delete le.label;this.data.referenceType=void 0}function V(le){const be=this.sliceSerialize(le),Oe=this.stack[this.stack.length-2];Oe.label=JU(be),Oe.identifier=qn(be).toLowerCase()}function se(){const le=this.stack[this.stack.length-1],be=this.resume(),Oe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Oe.type==="link"){const Ye=le.children;Oe.children=Ye}else Oe.alt=be}function L(){const le=this.resume(),be=this.stack[this.stack.length-1];be.url=le}function U(){const le=this.resume(),be=this.stack[this.stack.length-1];be.title=le}function ee(){this.data.inReference=void 0}function N(){this.data.referenceType="collapsed"}function de(le){const be=this.resume(),Oe=this.stack[this.stack.length-1];Oe.label=be,Oe.identifier=qn(this.sliceSerialize(le)).toLowerCase(),this.data.referenceType="full"}function me(le){this.data.characterReferenceType=le.type}function ge(le){const be=this.sliceSerialize(le),Oe=this.data.characterReferenceType;let Ye;Oe?(Ye=m2(be,Oe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ye=Pc(be);const st=this.stack[this.stack.length-1];st.value+=Ye}function Se(le){const be=this.stack.pop();be.position.end=Ea(le.end)}function Te(le){M.call(this,le);const be=this.stack[this.stack.length-1];be.url=this.sliceSerialize(le)}function Le(le){M.call(this,le);const be=this.stack[this.stack.length-1];be.url="mailto:"+this.sliceSerialize(le)}function qe(){return{type:"blockquote",children:[]}}function lt(){return{type:"code",lang:null,meta:null,value:""}}function ur(){return{type:"inlineCode",value:""}}function ar(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Jt(){return{type:"emphasis",children:[]}}function Pr(){return{type:"heading",depth:0,children:[]}}function Xn(){return{type:"break"}}function Wi(){return{type:"html",value:""}}function Ln(){return{type:"image",title:null,url:"",alt:null}}function Nn(){return{type:"link",title:null,url:"",children:[]}}function On(le){return{type:"list",ordered:le.type==="listOrdered",start:null,spread:le._spread,children:[]}}function Yi(le){return{type:"listItem",spread:le._spread,checked:null,children:[]}}function ko(){return{type:"paragraph",children:[]}}function To(){return{type:"strong",children:[]}}function er(){return{type:"text",value:""}}function di(){return{type:"thematicBreak"}}}function Ea(e){return{line:e.line,column:e.column,offset:e.offset}}function v2(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?v2(e,n):n$(e,n)}}function n$(e,t){let r;for(r in t)if(w2.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 Nv(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Rc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Rc({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Rc({start:t.start,end:t.end})+") is still open")}function i$(e){const t=this;t.parser=r;function r(n){return t$(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function a$(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 o$(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
14
+ `}]}function s$(e,t){const r=t.value?t.value+`
15
+ `:"",n={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(n.className=["language-"+a[0]]);let s={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function l$(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function c$(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function u$(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=Zs(n.toLowerCase()),s=e.footnoteOrder.indexOf(n);let l,c=e.footnoteCounts.get(n);c===void 0?(c=0,e.footnoteOrder.push(n),l=e.footnoteOrder.length):l=s+1,c+=1,e.footnoteCounts.set(n,c);const h={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,h);const d={type:"element",tagName:"sup",properties:{},children:[h]};return e.patch(t,d),e.applyData(t,d)}function h$(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 d$(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function A2(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),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const l=a[a.length-1];return l&&l.type==="text"?l.value+=n:a.push({type:"text",value:n}),a}function p$(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return A2(e,t);const a={src:Zs(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,s),e.applyData(t,s)}function f$(e,t){const r={src:Zs(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 g$(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 m$(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return A2(e,t);const a={href:Zs(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const s={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function b$(e,t){const r={href:Zs(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 y$(e,t,r){const n=e.all(t),a=r?S$(r):R2(t),s={},l=[];if(typeof t.checked=="boolean"){const p=n[0];let g;p&&p.type==="element"&&p.tagName==="p"?g=p:(g={type:"element",tagName:"p",properties:{},children:[]},n.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<n.length;){const p=n[c];(a||c!==0||p.type!=="element"||p.tagName!=="p")&&l.push({type:"text",value:`
16
+ `}),p.type==="element"&&p.tagName==="p"&&!a?l.push(...p.children):l.push(p)}const h=n[n.length-1];h&&(a||h.type!=="element"||h.tagName!=="p")&&l.push({type:"text",value:`
17
+ `});const d={type:"element",tagName:"li",properties:s,children:l};return e.patch(t,d),e.applyData(t,d)}function S$(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=R2(r[n])}return t}function R2(e){const t=e.spread;return t??e.children.length>1}function C$(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 l=n[a];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,s),e.applyData(t,s)}function E$(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function x$(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function k$(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function T$(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],l),a.push(l)}if(r.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},c=Jb(t.children[1]),h=l2(t.children[t.children.length-1]);c&&h&&(l.position={start:c,end:h}),a.push(l)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function _$(e,t,r){const n=r?r.children:void 0,s=(n?n.indexOf(t):1)===0?"th":"td",l=r&&r.type==="table"?r.align:void 0,c=l?l.length:t.children.length;let h=-1;const d=[];for(;++h<c;){const g=t.children[h],b={},m=l?l[h]:void 0;m&&(b.align=m);let C={type:"element",tagName:s,properties:b,children:[]};g&&(C.children=e.all(g),e.patch(g,C),C=e.applyData(g,C)),d.push(C)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(d,!0)};return e.patch(t,p),e.applyData(t,p)}function w$(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const Ov=9,Iv=32;function v$(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const s=[];for(;n;)s.push(Bv(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return s.push(Bv(t.slice(a),a>0,!1)),s.join("")}function Bv(e,t,r){let n=0,a=e.length;if(t){let s=e.codePointAt(n);for(;s===Ov||s===Iv;)n++,s=e.codePointAt(n)}if(r){let s=e.codePointAt(a-1);for(;s===Ov||s===Iv;)a--,s=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function A$(e,t){const r={type:"text",value:v$(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function R$(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const D$={blockquote:a$,break:o$,code:s$,delete:l$,emphasis:c$,footnoteReference:u$,heading:h$,html:d$,imageReference:p$,image:f$,inlineCode:g$,linkReference:m$,link:b$,listItem:y$,list:C$,paragraph:E$,root:x$,strong:k$,table:T$,tableCell:w$,tableRow:_$,text:A$,thematicBreak:R$,toml:Bh,yaml:Bh,definition:Bh,footnoteDefinition:Bh};function Bh(){}const D2=-1,tp=0,Lc=1,bd=2,ay=3,oy=4,sy=5,ly=6,L2=7,N2=8,Fv=typeof self=="object"?self:globalThis,L$=(e,t)=>{const r=(a,s)=>(e.set(s,a),a),n=a=>{if(e.has(a))return e.get(a);const[s,l]=t[a];switch(s){case tp:case D2:return r(l,a);case Lc:{const c=r([],a);for(const h of l)c.push(n(h));return c}case bd:{const c=r({},a);for(const[h,d]of l)c[n(h)]=n(d);return c}case ay:return r(new Date(l),a);case oy:{const{source:c,flags:h}=l;return r(new RegExp(c,h),a)}case sy:{const c=r(new Map,a);for(const[h,d]of l)c.set(n(h),n(d));return c}case ly:{const c=r(new Set,a);for(const h of l)c.add(n(h));return c}case L2:{const{name:c,message:h}=l;return r(new Fv[c](h),a)}case N2:return r(BigInt(l),a);case"BigInt":return r(Object(BigInt(l)),a);case"ArrayBuffer":return r(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:c}=new Uint8Array(l);return r(new DataView(c),l)}}return r(new Fv[s](l),a)};return n},Mv=e=>L$(new Map,e)(0),ls="",{toString:N$}={},{keys:O$}=Object,lc=e=>{const t=typeof e;if(t!=="object"||!e)return[tp,t];const r=N$.call(e).slice(8,-1);switch(r){case"Array":return[Lc,ls];case"Object":return[bd,ls];case"Date":return[ay,ls];case"RegExp":return[oy,ls];case"Map":return[sy,ls];case"Set":return[ly,ls];case"DataView":return[Lc,r]}return r.includes("Array")?[Lc,r]:r.includes("Error")?[L2,r]:[bd,r]},Fh=([e,t])=>e===tp&&(t==="function"||t==="symbol"),I$=(e,t,r,n)=>{const a=(l,c)=>{const h=n.push(l)-1;return r.set(c,h),h},s=l=>{if(r.has(l))return r.get(l);let[c,h]=lc(l);switch(c){case tp:{let p=l;switch(h){case"bigint":c=N2,p=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+h);p=null;break;case"undefined":return a([D2],l)}return a([c,p],l)}case Lc:{if(h){let b=l;return h==="DataView"?b=new Uint8Array(l.buffer):h==="ArrayBuffer"&&(b=new Uint8Array(l)),a([h,[...b]],l)}const p=[],g=a([c,p],l);for(const b of l)p.push(s(b));return g}case bd:{if(h)switch(h){case"BigInt":return a([h,l.toString()],l);case"Boolean":case"Number":case"String":return a([h,l.valueOf()],l)}if(t&&"toJSON"in l)return s(l.toJSON());const p=[],g=a([c,p],l);for(const b of O$(l))(e||!Fh(lc(l[b])))&&p.push([s(b),s(l[b])]);return g}case ay:return a([c,l.toISOString()],l);case oy:{const{source:p,flags:g}=l;return a([c,{source:p,flags:g}],l)}case sy:{const p=[],g=a([c,p],l);for(const[b,m]of l)(e||!(Fh(lc(b))||Fh(lc(m))))&&p.push([s(b),s(m)]);return g}case ly:{const p=[],g=a([c,p],l);for(const b of l)(e||!Fh(lc(b)))&&p.push(s(b));return g}}const{message:d}=l;return a([c,{name:h,message:d}],l)};return s},Uv=(e,{json:t,lossy:r}={})=>{const n=[];return I$(!(t||r),!!t,new Map,n)(e),n},yd=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Mv(Uv(e,t)):structuredClone(e):(e,t)=>Mv(Uv(e,t));function B$(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 F$(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function M$(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||B$,n=e.options.footnoteBackLabel||F$,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let h=-1;for(;++h<e.footnoteOrder.length;){const d=e.footnoteById.get(e.footnoteOrder[h]);if(!d)continue;const p=e.all(d),g=String(d.identifier).toUpperCase(),b=Zs(g.toLowerCase());let m=0;const C=[],E=e.footnoteCounts.get(g);for(;E!==void 0&&++m<=E;){C.length>0&&C.push({type:"text",value:" "});let w=typeof r=="string"?r:r(h,m);typeof w=="string"&&(w={type:"text",value:w}),C.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(h,m),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const k=p[p.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const w=k.children[k.children.length-1];w&&w.type==="text"?w.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...C)}else p.push(...C);const x={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(p,!0)};e.patch(d,x),c.push(x)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...yd(l),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
18
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
19
+ `}]}}const rp=(function(e){if(e==null)return P$;if(typeof e=="function")return np(e);if(typeof e=="object")return Array.isArray(e)?U$(e):$$(e);if(typeof e=="string")return z$(e);throw new Error("Expected function, string, or object as test")});function U$(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=rp(e[r]);return np(n);function n(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function $$(e){const t=e;return np(r);function r(n){const a=n;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function z$(e){return np(t);function t(r){return r&&r.type===e}}function np(e){return t;function t(r,n,a){return!!(H$(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function P$(){return!0}function H$(e){return e!==null&&typeof e=="object"&&"type"in e}const O2=[],q$=!0,Pm=!1,G$="skip";function I2(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const s=rp(a),l=n?-1:1;c(e,void 0,[])();function c(h,d,p){const g=h&&typeof h=="object"?h:{};if(typeof g.type=="string"){const m=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(h.type+(m?"<"+m+">":""))+")"})}return b;function b(){let m=O2,C,E,k;if((!t||s(h,d,p[p.length-1]||void 0))&&(m=j$(r(h,p)),m[0]===Pm))return m;if("children"in h&&h.children){const x=h;if(x.children&&m[0]!==G$)for(E=(n?x.children.length:-1)+l,k=p.concat(x);E>-1&&E<x.children.length;){const w=x.children[E];if(C=c(w,E,k)(),C[0]===Pm)return C;E=typeof C[1]=="number"?C[1]:E+l}}return m}}}function j$(e){return Array.isArray(e)?e:typeof e=="number"?[q$,e]:e==null?O2:[e]}function ip(e,t,r,n){let a,s,l;typeof t=="function"&&typeof r!="function"?(s=void 0,l=t,a=r):(s=t,l=r,a=n),I2(e,s,c,a);function c(h,d){const p=d[d.length-1],g=p?p.children.indexOf(h):void 0;return l(h,g,p)}}const Hm={}.hasOwnProperty,W$={};function Y$(e,t){const r=t||W$,n=new Map,a=new Map,s=new Map,l={...D$,...r.handlers},c={all:d,applyData:X$,definitionById:n,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:l,one:h,options:r,patch:V$,wrap:K$};return ip(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const g=p.type==="definition"?n:a,b=String(p.identifier).toUpperCase();g.has(b)||g.set(b,p)}}),c;function h(p,g){const b=p.type,m=c.handlers[b];if(Hm.call(c.handlers,b)&&m)return m(c,p,g);if(c.options.passThrough&&c.options.passThrough.includes(b)){if("children"in p){const{children:E,...k}=p,x=yd(k);return x.children=c.all(p),x}return yd(p)}return(c.options.unknownHandler||Z$)(c,p,g)}function d(p){const g=[];if("children"in p){const b=p.children;let m=-1;for(;++m<b.length;){const C=c.one(b[m],p);if(C){if(m&&b[m-1].type==="break"&&(!Array.isArray(C)&&C.type==="text"&&(C.value=$v(C.value)),!Array.isArray(C)&&C.type==="element")){const E=C.children[0];E&&E.type==="text"&&(E.value=$v(E.value))}Array.isArray(C)?g.push(...C):g.push(C)}}}return g}}function V$(e,t){e.position&&(t.position=F3(e))}function X$(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,s=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const l="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:l}}r.type==="element"&&s&&Object.assign(r.properties,yd(s)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function Z$(e,t){const r=t.data||{},n="value"in t&&!(Hm.call(r,"hProperties")||Hm.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 K$(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
20
+ `});++n<e.length;)n&&r.push({type:"text",value:`
21
+ `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
22
+ `}),r}function $v(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function zv(e,t){const r=Y$(e,t),n=r.one(e,void 0),a=M$(r),s=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&s.children.push({type:"text",value:`
23
+ `},a),s}function Q$(e,t){return e&&"run"in e?async function(r,n){const a=zv(r,{file:n,...t});await e.run(a,n)}:function(r,n){return zv(r,{file:n,...e||t})}}function Pv(e){if(e)throw e}var rm,Hv;function J$(){if(Hv)return rm;Hv=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(d){return typeof Array.isArray=="function"?Array.isArray(d):t.call(d)==="[object Array]"},s=function(d){if(!d||t.call(d)!=="[object Object]")return!1;var p=e.call(d,"constructor"),g=d.constructor&&d.constructor.prototype&&e.call(d.constructor.prototype,"isPrototypeOf");if(d.constructor&&!p&&!g)return!1;var b;for(b in d);return typeof b>"u"||e.call(d,b)},l=function(d,p){r&&p.name==="__proto__"?r(d,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):d[p.name]=p.newValue},c=function(d,p){if(p==="__proto__")if(e.call(d,p)){if(n)return n(d,p).value}else return;return d[p]};return rm=function h(){var d,p,g,b,m,C,E=arguments[0],k=1,x=arguments.length,w=!1;for(typeof E=="boolean"&&(w=E,E=arguments[1]||{},k=2),(E==null||typeof E!="object"&&typeof E!="function")&&(E={});k<x;++k)if(d=arguments[k],d!=null)for(p in d)g=c(E,p),b=c(d,p),E!==b&&(w&&b&&(s(b)||(m=a(b)))?(m?(m=!1,C=g&&a(g)?g:[]):C=g&&s(g)?g:{},l(E,{name:p,newValue:h(w,C,b)})):typeof b<"u"&&l(E,{name:p,newValue:b}));return E},rm}var ez=J$();const nm=Kd(ez);function qm(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 tz(){const e=[],t={run:r,use:n};return t;function r(...a){let s=-1;const l=a.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);c(null,...a);function c(h,...d){const p=e[++s];let g=-1;if(h){l(h);return}for(;++g<a.length;)(d[g]===null||d[g]===void 0)&&(d[g]=a[g]);a=d,p?rz(p,c)(...d):l(null,...d)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function rz(e,t){let r;return n;function n(...l){const c=e.length>l.length;let h;c&&l.push(a);try{h=e.apply(this,l)}catch(d){const p=d;if(c&&r)throw p;return a(p)}c||(h&&h.then&&typeof h.then=="function"?h.then(s,a):h instanceof Error?a(h):s(h))}function a(l,...c){r||(r=!0,t(l,...c))}function s(l){a(null,l)}}const ri={basename:nz,dirname:iz,extname:az,join:oz,sep:"/"};function nz(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');iu(e);let r=0,n=-1,a=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(s){r=a+1;break}}else n<0&&(s=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let l=-1,c=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){r=a+1;break}}else l<0&&(s=!0,l=a+1),c>-1&&(e.codePointAt(a)===t.codePointAt(c--)?c<0&&(n=a):(c=-1,n=l));return r===n?n=l:n<0&&(n=e.length),e.slice(r,n)}function iz(e){if(iu(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 az(e){iu(e);let t=e.length,r=-1,n=0,a=-1,s=0,l;for(;t--;){const c=e.codePointAt(t);if(c===47){if(l){n=t+1;break}continue}r<0&&(l=!0,r=t+1),c===46?a<0?a=t:s!==1&&(s=1):a>-1&&(s=-1)}return a<0||r<0||s===0||s===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function oz(...e){let t=-1,r;for(;++t<e.length;)iu(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":sz(r)}function sz(e){iu(e);const t=e.codePointAt(0)===47;let r=lz(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function lz(e,t){let r="",n=0,a=-1,s=0,l=-1,c,h;for(;++l<=e.length;){if(l<e.length)c=e.codePointAt(l);else{if(c===47)break;c=47}if(c===47){if(!(a===l-1||s===1))if(a!==l-1&&s===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(h=r.lastIndexOf("/"),h!==r.length-1){h<0?(r="",n=0):(r=r.slice(0,h),n=r.length-1-r.lastIndexOf("/")),a=l,s=0;continue}}else if(r.length>0){r="",n=0,a=l,s=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,l):r=e.slice(a+1,l),n=l-a-1;a=l,s=0}else c===46&&s>-1?s++:s=-1}return r}function iu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const cz={cwd:uz};function uz(){return"/"}function Gm(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function hz(e){if(typeof e=="string")e=new URL(e);else if(!Gm(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 dz(e)}function dz(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 im=["history","path","basename","stem","extname","dirname"];class B2{constructor(t){let r;t?Gm(t)?r={path:t}:typeof t=="string"||pz(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":cz.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<im.length;){const s=im[n];s in r&&r[s]!==void 0&&r[s]!==null&&(this[s]=s==="history"?[...r[s]]:r[s])}let a;for(a in r)im.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?ri.basename(this.path):void 0}set basename(t){om(t,"basename"),am(t,"basename"),this.path=ri.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ri.dirname(this.path):void 0}set dirname(t){qv(this.basename,"dirname"),this.path=ri.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ri.extname(this.path):void 0}set extname(t){if(am(t,"extname"),qv(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=ri.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Gm(t)&&(t=hz(t)),om(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ri.basename(this.path,this.extname):void 0}set stem(t){om(t,"stem"),am(t,"stem"),this.path=ri.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 vr(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 am(e,t){if(e&&e.includes(ri.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ri.sep+"`")}function om(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function qv(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function pz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const fz=(function(e){const n=this.constructor.prototype,a=n[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,n),s}),gz={}.hasOwnProperty;class cy extends fz{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=tz()}copy(){const t=new cy;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(nm(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(cm("data",this.frozen),this.namespace[t]=r,this):gz.call(this.namespace,t)&&this.namespace[t]||void 0:t?(cm("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=Mh(t),n=this.parser||this.Parser;return sm("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),sm("process",this.parser||this.Parser),lm("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(s,l){const c=Mh(t),h=n.parse(c);n.run(h,c,function(p,g,b){if(p||!g||!b)return d(p);const m=g,C=n.stringify(m,b);yz(C)?b.value=C:b.result=C,d(p,b)});function d(p,g){p||!g?l(p):s?s(g):r(void 0,g)}}}processSync(t){let r=!1,n;return this.freeze(),sm("processSync",this.parser||this.Parser),lm("processSync",this.compiler||this.Compiler),this.process(t,a),jv("processSync","process",r),n;function a(s,l){r=!0,Pv(s),n=l}}run(t,r,n){Gv(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?s(void 0,n):new Promise(s);function s(l,c){const h=Mh(r);a.run(t,h,d);function d(p,g,b){const m=g||t;p?c(p):l?l(m):n(void 0,m,b)}}}runSync(t,r){let n=!1,a;return this.run(t,r,s),jv("runSync","run",n),a;function s(l,c){Pv(l),a=c,n=!0}}stringify(t,r){this.freeze();const n=Mh(r),a=this.compiler||this.Compiler;return lm("stringify",a),Gv(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(cm("use",this.frozen),t!=null)if(typeof t=="function")h(t,r);else if(typeof t=="object")Array.isArray(t)?c(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(d){if(typeof d=="function")h(d,[]);else if(typeof d=="object")if(Array.isArray(d)){const[p,...g]=d;h(p,g)}else l(d);else throw new TypeError("Expected usable value, not `"+d+"`")}function l(d){if(!("plugins"in d)&&!("settings"in d))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");c(d.plugins),d.settings&&(a.settings=nm(!0,a.settings,d.settings))}function c(d){let p=-1;if(d!=null)if(Array.isArray(d))for(;++p<d.length;){const g=d[p];s(g)}else throw new TypeError("Expected a list of plugins, not `"+d+"`")}function h(d,p){let g=-1,b=-1;for(;++g<n.length;)if(n[g][0]===d){b=g;break}if(b===-1)n.push([d,...p]);else if(p.length>0){let[m,...C]=p;const E=n[b][1];qm(E)&&qm(m)&&(m=nm(!0,E,m)),n[b]=[d,m,...C]}}}}const mz=new cy().freeze();function sm(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function lm(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function cm(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 Gv(e){if(!qm(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function jv(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Mh(e){return bz(e)?e:new B2(e)}function bz(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function yz(e){return typeof e=="string"||Sz(e)}function Sz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Cz="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Wv=[],Yv={allowDangerousHtml:!0},Ez=/^(https?|ircs?|mailto|xmpp)$/i,xz=[{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:"className",id:"remove-classname"},{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 SQ(e){const t=kz(e),r=Tz(e);return _z(t.runSync(t.parse(r),r),e)}function kz(e){const t=e.rehypePlugins||Wv,r=e.remarkPlugins||Wv,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Yv}:Yv;return mz().use(i$).use(r).use(Q$,n).use(t)}function Tz(e){const t=e.children||"",r=new B2;return typeof t=="string"&&(r.value=t),r}function _z(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,s=t.disallowedElements,l=t.skipHtml,c=t.unwrapDisallowed,h=t.urlTransform||wz;for(const p of xz)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+Cz+p.id,void 0);return ip(e,d),P3(e,{Fragment:vt.Fragment,components:a,ignoreInvalidStyle:!0,jsx:vt.jsx,jsxs:vt.jsxs,passKeys:!0,passNode:!0});function d(p,g,b){if(p.type==="raw"&&b&&typeof g=="number")return l?b.children.splice(g,1):b.children[g]={type:"text",value:p.value},g;if(p.type==="element"){let m;for(m in Jg)if(Object.hasOwn(Jg,m)&&Object.hasOwn(p.properties,m)){const C=p.properties[m],E=Jg[m];(E===null||E.includes(p.tagName))&&(p.properties[m]=h(String(C||""),m,p))}}if(p.type==="element"){let m=r?!r.includes(p.tagName):s?s.includes(p.tagName):!1;if(!m&&n&&typeof g=="number"&&(m=!n(p,g,b)),m&&b&&typeof g=="number")return c&&p.children?b.children.splice(g,1,...p.children):b.children.splice(g,1),g}}}function wz(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||Ez.test(e.slice(0,t))?e:""}function Vv(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 vz(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Az(e,t,r){const a=rp((r||{}).ignore||[]),s=Rz(t);let l=-1;for(;++l<s.length;)I2(e,"text",c);function c(d,p){let g=-1,b;for(;++g<p.length;){const m=p[g],C=b?b.children:void 0;if(a(m,C?C.indexOf(m):void 0,b))return;b=m}if(b)return h(d,p)}function h(d,p){const g=p[p.length-1],b=s[l][0],m=s[l][1];let C=0;const k=g.children.indexOf(d);let x=!1,w=[];b.lastIndex=0;let v=b.exec(d.value);for(;v;){const O=v.index,F={index:v.index,input:v.input,stack:[...p,d]};let R=m(...v,F);if(typeof R=="string"&&(R=R.length>0?{type:"text",value:R}:void 0),R===!1?b.lastIndex=O+1:(C!==O&&w.push({type:"text",value:d.value.slice(C,O)}),Array.isArray(R)?w.push(...R):R&&w.push(R),C=O+v[0].length,x=!0),!b.global)break;v=b.exec(d.value)}return x?(C<d.value.length&&w.push({type:"text",value:d.value.slice(C)}),g.children.splice(k,1,...w)):w=[d],k+w.length}}function Rz(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([Dz(a[0]),Lz(a[1])])}return t}function Dz(e){return typeof e=="string"?new RegExp(vz(e),"g"):e}function Lz(e){return typeof e=="function"?e:function(){return e}}const um="phrasing",hm=["autolink","link","image","label"];function Nz(){return{transforms:[$z],enter:{literalAutolink:Iz,literalAutolinkEmail:dm,literalAutolinkHttp:dm,literalAutolinkWww:dm},exit:{literalAutolink:Uz,literalAutolinkEmail:Mz,literalAutolinkHttp:Bz,literalAutolinkWww:Fz}}}function Oz(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:um,notInConstruct:hm},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:um,notInConstruct:hm},{character:":",before:"[ps]",after:"\\/",inConstruct:um,notInConstruct:hm}]}}function Iz(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function dm(e){this.config.enter.autolinkProtocol.call(this,e)}function Bz(e){this.config.exit.autolinkProtocol.call(this,e)}function Fz(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 Mz(e){this.config.exit.autolinkEmail.call(this,e)}function Uz(e){this.exit(e)}function $z(e){Az(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,zz],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Pz]],{ignore:["link","linkReference"]})}function zz(e,t,r,n,a){let s="";if(!F2(a)||(/^w/i.test(t)&&(r=t+r,t="",s="http://"),!Hz(r)))return!1;const l=qz(r+n);if(!l[0])return!1;const c={type:"link",title:null,url:s+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[c,{type:"text",value:l[1]}]:c}function Pz(e,t,r,n){return!F2(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function Hz(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 qz(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=Vv(e,"(");let s=Vv(e,")");for(;n!==-1&&a>s;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),s++;return[e,r]}function F2(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||ho(r)||Jd(r))&&(!t||r!==47)}M2.peek=Qz;function Gz(){this.buffer()}function jz(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Wz(){this.buffer()}function Yz(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Vz(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=qn(this.sliceSerialize(e)).toLowerCase(),r.label=t}function Xz(e){this.exit(e)}function Zz(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=qn(this.sliceSerialize(e)).toLowerCase(),r.label=t}function Kz(e){this.exit(e)}function Qz(){return"["}function M2(e,t,r,n){const a=r.createTracker(n);let s=a.move("[^");const l=r.enter("footnoteReference"),c=r.enter("reference");return s+=a.move(r.safe(r.associationId(e),{after:"]",before:s})),c(),l(),s+=a.move("]"),s}function Jz(){return{enter:{gfmFootnoteCallString:Gz,gfmFootnoteCall:jz,gfmFootnoteDefinitionLabelString:Wz,gfmFootnoteDefinition:Yz},exit:{gfmFootnoteCallString:Vz,gfmFootnoteCall:Xz,gfmFootnoteDefinitionLabelString:Zz,gfmFootnoteDefinition:Kz}}}function e4(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:M2},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,s,l){const c=s.createTracker(l);let h=c.move("[^");const d=s.enter("footnoteDefinition"),p=s.enter("label");return h+=c.move(s.safe(s.associationId(n),{before:h,after:"]"})),p(),h+=c.move("]:"),n.children&&n.children.length>0&&(c.shift(4),h+=c.move((t?`
24
+ `:" ")+s.indentLines(s.containerFlow(n,c.current()),t?U2:t4))),d(),h}}function t4(e,t,r){return t===0?e:U2(e,t,r)}function U2(e,t,r){return(r?"":" ")+e}const r4=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];$2.peek=s4;function n4(){return{canContainEols:["delete"],enter:{strikethrough:a4},exit:{strikethrough:o4}}}function i4(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:r4}],handlers:{delete:$2}}}function a4(e){this.enter({type:"delete",children:[]},e)}function o4(e){this.exit(e)}function $2(e,t,r,n){const a=r.createTracker(n),s=r.enter("strikethrough");let l=a.move("~~");return l+=r.containerPhrasing(e,{...a.current(),before:l,after:"~"}),l+=a.move("~~"),s(),l}function s4(){return"~"}function l4(e){return e.length}function c4(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||l4,s=[],l=[],c=[],h=[];let d=0,p=-1;for(;++p<e.length;){const E=[],k=[];let x=-1;for(e[p].length>d&&(d=e[p].length);++x<e[p].length;){const w=u4(e[p][x]);if(r.alignDelimiters!==!1){const v=a(w);k[x]=v,(h[x]===void 0||v>h[x])&&(h[x]=v)}E.push(w)}l[p]=E,c[p]=k}let g=-1;if(typeof n=="object"&&"length"in n)for(;++g<d;)s[g]=Xv(n[g]);else{const E=Xv(n);for(;++g<d;)s[g]=E}g=-1;const b=[],m=[];for(;++g<d;){const E=s[g];let k="",x="";E===99?(k=":",x=":"):E===108?k=":":E===114&&(x=":");let w=r.alignDelimiters===!1?1:Math.max(1,h[g]-k.length-x.length);const v=k+"-".repeat(w)+x;r.alignDelimiters!==!1&&(w=k.length+w+x.length,w>h[g]&&(h[g]=w),m[g]=w),b[g]=v}l.splice(1,0,b),c.splice(1,0,m),p=-1;const C=[];for(;++p<l.length;){const E=l[p],k=c[p];g=-1;const x=[];for(;++g<d;){const w=E[g]||"";let v="",O="";if(r.alignDelimiters!==!1){const F=h[g]-(k[g]||0),R=s[g];R===114?v=" ".repeat(F):R===99?F%2?(v=" ".repeat(F/2+.5),O=" ".repeat(F/2-.5)):(v=" ".repeat(F/2),O=v):O=" ".repeat(F)}r.delimiterStart!==!1&&!g&&x.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&w==="")&&(r.delimiterStart!==!1||g)&&x.push(" "),r.alignDelimiters!==!1&&x.push(v),x.push(w),r.alignDelimiters!==!1&&x.push(O),r.padding!==!1&&x.push(" "),(r.delimiterEnd!==!1||g!==d-1)&&x.push("|")}C.push(r.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return C.join(`
25
+ `)}function u4(e){return e==null?"":String(e)}function Xv(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}function h4(e,t,r,n){const a=r.enter("blockquote"),s=r.createTracker(n);s.move("> "),s.shift(2);const l=r.indentLines(r.containerFlow(e,s.current()),d4);return a(),l}function d4(e,t,r){return">"+(r?"":" ")+e}function p4(e,t){return Zv(e,t.inConstruct,!0)&&!Zv(e,t.notInConstruct,!1)}function Zv(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 Kv(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
26
+ `&&p4(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
27
+ `}function f4(e,t){const r=String(e);let n=r.indexOf(t),a=n,s=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++s>l&&(l=s):s=1,a=n+t.length,n=r.indexOf(t,a);return l}function g4(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 m4(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 b4(e,t,r,n){const a=m4(r),s=e.value||"",l=a==="`"?"GraveAccent":"Tilde";if(g4(e,r)){const g=r.enter("codeIndented"),b=r.indentLines(s,y4);return g(),b}const c=r.createTracker(n),h=a.repeat(Math.max(f4(s,a)+1,3)),d=r.enter("codeFenced");let p=c.move(h);if(e.lang){const g=r.enter(`codeFencedLang${l}`);p+=c.move(r.safe(e.lang,{before:p,after:" ",encode:["`"],...c.current()})),g()}if(e.lang&&e.meta){const g=r.enter(`codeFencedMeta${l}`);p+=c.move(" "),p+=c.move(r.safe(e.meta,{before:p,after:`
28
+ `,encode:["`"],...c.current()})),g()}return p+=c.move(`
29
+ `),s&&(p+=c.move(s+`
30
+ `)),p+=c.move(h),d(),p}function y4(e,t,r){return(r?"":" ")+e}function uy(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 S4(e,t,r,n){const a=uy(r),s=a==='"'?"Quote":"Apostrophe",l=r.enter("definition");let c=r.enter("label");const h=r.createTracker(n);let d=h.move("[");return d+=h.move(r.safe(r.associationId(e),{before:d,after:"]",...h.current()})),d+=h.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=r.enter("destinationLiteral"),d+=h.move("<"),d+=h.move(r.safe(e.url,{before:d,after:">",...h.current()})),d+=h.move(">")):(c=r.enter("destinationRaw"),d+=h.move(r.safe(e.url,{before:d,after:e.title?" ":`
31
+ `,...h.current()}))),c(),e.title&&(c=r.enter(`title${s}`),d+=h.move(" "+a),d+=h.move(r.safe(e.title,{before:d,after:a,...h.current()})),d+=h.move(a),c()),l(),d}function C4(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 Hc(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Sd(e,t,r){const n=zs(e),a=zs(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}}z2.peek=E4;function z2(e,t,r,n){const a=C4(r),s=r.enter("emphasis"),l=r.createTracker(n),c=l.move(a);let h=l.move(r.containerPhrasing(e,{after:a,before:c,...l.current()}));const d=h.charCodeAt(0),p=Sd(n.before.charCodeAt(n.before.length-1),d,a);p.inside&&(h=Hc(d)+h.slice(1));const g=h.charCodeAt(h.length-1),b=Sd(n.after.charCodeAt(0),g,a);b.inside&&(h=h.slice(0,-1)+Hc(g));const m=l.move(a);return s(),r.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},c+h+m}function E4(e,t,r){return r.options.emphasis||"*"}function x4(e,t){let r=!1;return ip(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Pm}),!!((!e.depth||e.depth<3)&&ny(e)&&(t.options.setext||r))}function k4(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),s=r.createTracker(n);if(x4(e,r)){const p=r.enter("headingSetext"),g=r.enter("phrasing"),b=r.containerPhrasing(e,{...s.current(),before:`
32
+ `,after:`
33
+ `});return g(),p(),b+`
34
+ `+(a===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(`
35
+ `))+1))}const l="#".repeat(a),c=r.enter("headingAtx"),h=r.enter("phrasing");s.move(l+" ");let d=r.containerPhrasing(e,{before:"# ",after:`
36
+ `,...s.current()});return/^[\t ]/.test(d)&&(d=Hc(d.charCodeAt(0))+d.slice(1)),d=d?l+" "+d:l,r.options.closeAtx&&(d+=" "+l),h(),c(),d}P2.peek=T4;function P2(e){return e.value||""}function T4(){return"<"}H2.peek=_4;function H2(e,t,r,n){const a=uy(r),s=a==='"'?"Quote":"Apostrophe",l=r.enter("image");let c=r.enter("label");const h=r.createTracker(n);let d=h.move("![");return d+=h.move(r.safe(e.alt,{before:d,after:"]",...h.current()})),d+=h.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=r.enter("destinationLiteral"),d+=h.move("<"),d+=h.move(r.safe(e.url,{before:d,after:">",...h.current()})),d+=h.move(">")):(c=r.enter("destinationRaw"),d+=h.move(r.safe(e.url,{before:d,after:e.title?" ":")",...h.current()}))),c(),e.title&&(c=r.enter(`title${s}`),d+=h.move(" "+a),d+=h.move(r.safe(e.title,{before:d,after:a,...h.current()})),d+=h.move(a),c()),d+=h.move(")"),l(),d}function _4(){return"!"}q2.peek=w4;function q2(e,t,r,n){const a=e.referenceType,s=r.enter("imageReference");let l=r.enter("label");const c=r.createTracker(n);let h=c.move("![");const d=r.safe(e.alt,{before:h,after:"]",...c.current()});h+=c.move(d+"]["),l();const p=r.stack;r.stack=[],l=r.enter("reference");const g=r.safe(r.associationId(e),{before:h,after:"]",...c.current()});return l(),r.stack=p,s(),a==="full"||!d||d!==g?h+=c.move(g+"]"):a==="shortcut"?h=h.slice(0,-1):h+=c.move("]"),h}function w4(){return"!"}G2.peek=v4;function G2(e,t,r){let n=e.value||"",a="`",s=-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+" ");++s<r.unsafe.length;){const l=r.unsafe[s],c=r.compilePattern(l);let h;if(l.atBreak)for(;h=c.exec(n);){let d=h.index;n.charCodeAt(d)===10&&n.charCodeAt(d-1)===13&&d--,n=n.slice(0,d)+" "+n.slice(h.index+1)}}return a+n+a}function v4(){return"`"}function j2(e,t){const r=ny(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))}W2.peek=A4;function W2(e,t,r,n){const a=uy(r),s=a==='"'?"Quote":"Apostrophe",l=r.createTracker(n);let c,h;if(j2(e,r)){const p=r.stack;r.stack=[],c=r.enter("autolink");let g=l.move("<");return g+=l.move(r.containerPhrasing(e,{before:g,after:">",...l.current()})),g+=l.move(">"),c(),r.stack=p,g}c=r.enter("link"),h=r.enter("label");let d=l.move("[");return d+=l.move(r.containerPhrasing(e,{before:d,after:"](",...l.current()})),d+=l.move("]("),h(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(h=r.enter("destinationLiteral"),d+=l.move("<"),d+=l.move(r.safe(e.url,{before:d,after:">",...l.current()})),d+=l.move(">")):(h=r.enter("destinationRaw"),d+=l.move(r.safe(e.url,{before:d,after:e.title?" ":")",...l.current()}))),h(),e.title&&(h=r.enter(`title${s}`),d+=l.move(" "+a),d+=l.move(r.safe(e.title,{before:d,after:a,...l.current()})),d+=l.move(a),h()),d+=l.move(")"),c(),d}function A4(e,t,r){return j2(e,r)?"<":"["}Y2.peek=R4;function Y2(e,t,r,n){const a=e.referenceType,s=r.enter("linkReference");let l=r.enter("label");const c=r.createTracker(n);let h=c.move("[");const d=r.containerPhrasing(e,{before:h,after:"]",...c.current()});h+=c.move(d+"]["),l();const p=r.stack;r.stack=[],l=r.enter("reference");const g=r.safe(r.associationId(e),{before:h,after:"]",...c.current()});return l(),r.stack=p,s(),a==="full"||!d||d!==g?h+=c.move(g+"]"):a==="shortcut"?h=h.slice(0,-1):h+=c.move("]"),h}function R4(){return"["}function hy(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 D4(e){const t=hy(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 L4(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 V2(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 N4(e,t,r,n){const a=r.enter("list"),s=r.bulletCurrent;let l=e.ordered?L4(r):hy(r);const c=e.ordered?l==="."?")":".":D4(r);let h=t&&r.bulletLastUsed?l===r.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&p&&(!p.children||!p.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&&(h=!0),V2(r)===l&&p){let g=-1;for(;++g<e.children.length;){const b=e.children[g];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){h=!0;break}}}}h&&(l=c),r.bulletCurrent=l;const d=r.containerFlow(e,n);return r.bulletLastUsed=l,r.bulletCurrent=s,a(),d}function O4(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 I4(e,t,r,n){const a=O4(r);let s=r.bulletCurrent||hy(r);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let l=s.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const c=r.createTracker(n);c.move(s+" ".repeat(l-s.length)),c.shift(l);const h=r.enter("listItem"),d=r.indentLines(r.containerFlow(e,c.current()),p);return h(),d;function p(g,b,m){return b?(m?"":" ".repeat(l))+g:(m?s:s+" ".repeat(l-s.length))+g}}function B4(e,t,r,n){const a=r.enter("paragraph"),s=r.enter("phrasing"),l=r.containerPhrasing(e,n);return s(),a(),l}const F4=rp(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function M4(e,t,r,n){return(e.children.some(function(l){return F4(l)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function U4(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}X2.peek=$4;function X2(e,t,r,n){const a=U4(r),s=r.enter("strong"),l=r.createTracker(n),c=l.move(a+a);let h=l.move(r.containerPhrasing(e,{after:a,before:c,...l.current()}));const d=h.charCodeAt(0),p=Sd(n.before.charCodeAt(n.before.length-1),d,a);p.inside&&(h=Hc(d)+h.slice(1));const g=h.charCodeAt(h.length-1),b=Sd(n.after.charCodeAt(0),g,a);b.inside&&(h=h.slice(0,-1)+Hc(g));const m=l.move(a+a);return s(),r.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},c+h+m}function $4(e,t,r){return r.options.strong||"*"}function z4(e,t,r,n){return r.safe(e.value,n)}function P4(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 H4(e,t,r){const n=(V2(r)+(r.options.ruleSpaces?" ":"")).repeat(P4(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Z2={blockquote:h4,break:Kv,code:b4,definition:S4,emphasis:z2,hardBreak:Kv,heading:k4,html:P2,image:H2,imageReference:q2,inlineCode:G2,link:W2,linkReference:Y2,list:N4,listItem:I4,paragraph:B4,root:M4,strong:X2,text:z4,thematicBreak:H4};function q4(){return{enter:{table:G4,tableData:Qv,tableHeader:Qv,tableRow:W4},exit:{codeText:Y4,table:j4,tableData:pm,tableHeader:pm,tableRow:pm}}}function G4(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 j4(e){this.exit(e),this.data.inTable=void 0}function W4(e){this.enter({type:"tableRow",children:[]},e)}function pm(e){this.exit(e)}function Qv(e){this.enter({type:"tableCell",children:[]},e)}function Y4(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,V4));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function V4(e,t){return t==="|"?t:e}function X4(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,s=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
37
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:l,tableCell:h,tableRow:c}};function l(m,C,E,k){return d(p(m,E,k),m.align)}function c(m,C,E,k){const x=g(m,E,k),w=d([x]);return w.slice(0,w.indexOf(`
38
+ `))}function h(m,C,E,k){const x=E.enter("tableCell"),w=E.enter("phrasing"),v=E.containerPhrasing(m,{...k,before:s,after:s});return w(),x(),v}function d(m,C){return c4(m,{align:C,alignDelimiters:n,padding:r,stringLength:a})}function p(m,C,E){const k=m.children;let x=-1;const w=[],v=C.enter("table");for(;++x<k.length;)w[x]=g(k[x],C,E);return v(),w}function g(m,C,E){const k=m.children;let x=-1;const w=[],v=C.enter("tableRow");for(;++x<k.length;)w[x]=h(k[x],m,C,E);return v(),w}function b(m,C,E){let k=Z2.inlineCode(m,C,E);return E.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function Z4(){return{exit:{taskListCheckValueChecked:Jv,taskListCheckValueUnchecked:Jv,paragraph:Q4}}}function K4(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:J4}}}function Jv(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Q4(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 s=-1,l;for(;++s<a.length;){const c=a[s];if(c.type==="paragraph"){l=c;break}}l===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 J4(e,t,r,n){const a=e.children[0],s=typeof e.checked=="boolean"&&a&&a.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",c=r.createTracker(n);s&&c.move(l);let h=Z2.listItem(e,t,r,{...n,...c.current()});return s&&(h=h.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,d)),h;function d(p){return p+l}}function eP(){return[Nz(),Jz(),n4(),q4(),Z4()]}function tP(e){return{extensions:[Oz(),e4(e),i4(),X4(e),K4()]}}const rP={tokenize:lP,partial:!0},K2={tokenize:cP,partial:!0},Q2={tokenize:uP,partial:!0},J2={tokenize:hP,partial:!0},nP={tokenize:dP,partial:!0},eR={name:"wwwAutolink",tokenize:oP,previous:rR},tR={name:"protocolAutolink",tokenize:sP,previous:nR},Hi={name:"emailAutolink",tokenize:aP,previous:iR},si={};function iP(){return{text:si}}let eo=48;for(;eo<123;)si[eo]=Hi,eo++,eo===58?eo=65:eo===91&&(eo=97);si[43]=Hi;si[45]=Hi;si[46]=Hi;si[95]=Hi;si[72]=[Hi,tR];si[104]=[Hi,tR];si[87]=[Hi,eR];si[119]=[Hi,eR];function aP(e,t,r){const n=this;let a,s;return l;function l(g){return!jm(g)||!iR.call(n,n.previous)||dy(n.events)?r(g):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(g))}function c(g){return jm(g)?(e.consume(g),c):g===64?(e.consume(g),h):r(g)}function h(g){return g===46?e.check(nP,p,d)(g):g===45||g===95||_r(g)?(s=!0,e.consume(g),h):p(g)}function d(g){return e.consume(g),a=!0,h}function p(g){return s&&a&&Fr(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(g)):r(g)}}function oP(e,t,r){const n=this;return a;function a(l){return l!==87&&l!==119||!rR.call(n,n.previous)||dy(n.events)?r(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rP,e.attempt(K2,e.attempt(Q2,s),r),r)(l))}function s(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function sP(e,t,r){const n=this;let a="",s=!1;return l;function l(g){return(g===72||g===104)&&nR.call(n,n.previous)&&!dy(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(g),e.consume(g),c):r(g)}function c(g){if(Fr(g)&&a.length<5)return a+=String.fromCodePoint(g),e.consume(g),c;if(g===58){const b=a.toLowerCase();if(b==="http"||b==="https")return e.consume(g),h}return r(g)}function h(g){return g===47?(e.consume(g),s?d:(s=!0,h)):r(g)}function d(g){return g===null||md(g)||xt(g)||ho(g)||Jd(g)?r(g):e.attempt(K2,e.attempt(Q2,p),r)(g)}function p(g){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(g)}}function lP(e,t,r){let n=0;return a;function a(l){return(l===87||l===119)&&n<3?(n++,e.consume(l),a):l===46&&n===3?(e.consume(l),s):r(l)}function s(l){return l===null?r(l):t(l)}}function cP(e,t,r){let n,a,s;return l;function l(d){return d===46||d===95?e.check(J2,h,c)(d):d===null||xt(d)||ho(d)||d!==45&&Jd(d)?h(d):(s=!0,e.consume(d),l)}function c(d){return d===95?n=!0:(a=n,n=void 0),e.consume(d),l}function h(d){return a||n||!s?r(d):t(d)}}function uP(e,t){let r=0,n=0;return a;function a(l){return l===40?(r++,e.consume(l),a):l===41&&n<r?s(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(J2,t,s)(l):l===null||xt(l)||ho(l)?t(l):(e.consume(l),a)}function s(l){return l===41&&n++,e.consume(l),a}}function hP(e,t,r){return n;function n(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),n):c===38?(e.consume(c),s):c===93?(e.consume(c),a):c===60||c===null||xt(c)||ho(c)?t(c):r(c)}function a(c){return c===null||c===40||c===91||xt(c)||ho(c)?t(c):n(c)}function s(c){return Fr(c)?l(c):r(c)}function l(c){return c===59?(e.consume(c),n):Fr(c)?(e.consume(c),l):r(c)}}function dP(e,t,r){return n;function n(s){return e.consume(s),a}function a(s){return _r(s)?r(s):t(s)}}function rR(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||xt(e)}function nR(e){return!Fr(e)}function iR(e){return!(e===47||jm(e))}function jm(e){return e===43||e===45||e===46||e===95||_r(e)}function dy(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 pP={tokenize:EP,partial:!0};function fP(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:yP,continuation:{tokenize:SP},exit:CP}},text:{91:{name:"gfmFootnoteCall",tokenize:bP},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:gP,resolveTo:mP}}}}function gP(e,t,r){const n=this;let a=n.events.length;const s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l;for(;a--;){const h=n.events[a][1];if(h.type==="labelImage"){l=h;break}if(h.type==="gfmFootnoteCall"||h.type==="labelLink"||h.type==="label"||h.type==="image"||h.type==="link")break}return c;function c(h){if(!l||!l._balanced)return r(h);const d=qn(n.sliceSerialize({start:l.end,end:n.now()}));return d.codePointAt(0)!==94||!s.includes(d.slice(1))?r(h):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),t(h))}}function mP(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 s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",l,t],["exit",l,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...c),e}function bP(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s=0,l;return c;function c(g){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(g),e.exit("gfmFootnoteCallLabelMarker"),h}function h(g){return g!==94?r(g):(e.enter("gfmFootnoteCallMarker"),e.consume(g),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(g){if(s>999||g===93&&!l||g===null||g===91||xt(g))return r(g);if(g===93){e.exit("chunkString");const b=e.exit("gfmFootnoteCallString");return a.includes(qn(n.sliceSerialize(b)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(g),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(g)}return xt(g)||(l=!0),s++,e.consume(g),g===92?p:d}function p(g){return g===91||g===92||g===93?(e.consume(g),s++,d):d(g)}}function yP(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s,l=0,c;return h;function h(C){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionLabelMarker"),d}function d(C){return C===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):r(C)}function p(C){if(l>999||C===93&&!c||C===null||C===91||xt(C))return r(C);if(C===93){e.exit("chunkString");const E=e.exit("gfmFootnoteDefinitionLabelString");return s=qn(n.sliceSerialize(E)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),b}return xt(C)||(c=!0),l++,e.consume(C),C===92?g:p}function g(C){return C===91||C===92||C===93?(e.consume(C),l++,p):p(C)}function b(C){return C===58?(e.enter("definitionMarker"),e.consume(C),e.exit("definitionMarker"),a.includes(s)||a.push(s),ot(e,m,"gfmFootnoteDefinitionWhitespace")):r(C)}function m(C){return t(C)}}function SP(e,t,r){return e.check(nu,t,e.attempt(pP,t,r))}function CP(e){e.exit("gfmFootnoteDefinition")}function EP(e,t,r){const n=this;return ot(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(s):r(s)}}function xP(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:s,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(l,c){let h=-1;for(;++h<l.length;)if(l[h][0]==="enter"&&l[h][1].type==="strikethroughSequenceTemporary"&&l[h][1]._close){let d=h;for(;d--;)if(l[d][0]==="exit"&&l[d][1].type==="strikethroughSequenceTemporary"&&l[d][1]._open&&l[h][1].end.offset-l[h][1].start.offset===l[d][1].end.offset-l[d][1].start.offset){l[h][1].type="strikethroughSequence",l[d][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},l[d][1].start),end:Object.assign({},l[h][1].end)},g={type:"strikethroughText",start:Object.assign({},l[d][1].end),end:Object.assign({},l[h][1].start)},b=[["enter",p,c],["enter",l[d][1],c],["exit",l[d][1],c],["enter",g,c]],m=c.parser.constructs.insideSpan.null;m&&dn(b,b.length,0,ep(m,l.slice(d+1,h),c)),dn(b,b.length,0,[["exit",g,c],["enter",l[h][1],c],["exit",l[h][1],c],["exit",p,c]]),dn(l,d-1,h-d+3,b),h=d+b.length-2;break}}for(h=-1;++h<l.length;)l[h][1].type==="strikethroughSequenceTemporary"&&(l[h][1].type="data");return l}function s(l,c,h){const d=this.previous,p=this.events;let g=0;return b;function b(C){return d===126&&p[p.length-1][1].type!=="characterEscape"?h(C):(l.enter("strikethroughSequenceTemporary"),m(C))}function m(C){const E=zs(d);if(C===126)return g>1?h(C):(l.consume(C),g++,m);if(g<2&&!r)return h(C);const k=l.exit("strikethroughSequenceTemporary"),x=zs(C);return k._open=!x||x===2&&!!E,k._close=!E||E===2&&!!x,c(C)}}}class kP{constructor(){this.map=[]}add(t,r,n){TP(this,t,r,n)}consume(t){if(this.map.sort(function(s,l){return s[0]-l[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 s of a)t.push(s);a=n.pop()}this.map.length=0}}function TP(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 _P(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 s=n.length-1;n[s]=n[s]==="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 wP(){return{flow:{null:{name:"table",tokenize:vP,resolveAll:AP}}}}function vP(e,t,r){const n=this;let a=0,s=0,l;return c;function c(M){let q=n.events.length-1;for(;q>-1;){const W=n.events[q][1].type;if(W==="lineEnding"||W==="linePrefix")q--;else break}const X=q>-1?n.events[q][1].type:null,J=X==="tableHead"||X==="tableRow"?R:h;return J===R&&n.parser.lazy[n.now().line]?r(M):J(M)}function h(M){return e.enter("tableHead"),e.enter("tableRow"),d(M)}function d(M){return M===124||(l=!0,s+=1),p(M)}function p(M){return M===null?r(M):Ie(M)?s>1?(s=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),m):r(M):Ke(M)?ot(e,p,"whitespace")(M):(s+=1,l&&(l=!1,a+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),l=!0,p):(e.enter("data"),g(M)))}function g(M){return M===null||M===124||xt(M)?(e.exit("data"),p(M)):(e.consume(M),M===92?b:g)}function b(M){return M===92||M===124?(e.consume(M),g):g(M)}function m(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(e.enter("tableDelimiterRow"),l=!1,Ke(M)?ot(e,C,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):C(M))}function C(M){return M===45||M===58?k(M):M===124?(l=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),E):F(M)}function E(M){return Ke(M)?ot(e,k,"whitespace")(M):k(M)}function k(M){return M===58?(s+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),x):M===45?(s+=1,x(M)):M===null||Ie(M)?O(M):F(M)}function x(M){return M===45?(e.enter("tableDelimiterFiller"),w(M)):F(M)}function w(M){return M===45?(e.consume(M),w):M===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(M))}function v(M){return Ke(M)?ot(e,O,"whitespace")(M):O(M)}function O(M){return M===124?C(M):M===null||Ie(M)?!l||a!==s?F(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):F(M)}function F(M){return r(M)}function R(M){return e.enter("tableRow"),$(M)}function $(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),$):M===null||Ie(M)?(e.exit("tableRow"),t(M)):Ke(M)?ot(e,$,"whitespace")(M):(e.enter("data"),z(M))}function z(M){return M===null||M===124||xt(M)?(e.exit("data"),$(M)):(e.consume(M),M===92?K:z)}function K(M){return M===92||M===124?(e.consume(M),z):z(M)}}function AP(e,t){let r=-1,n=!0,a=0,s=[0,0,0,0],l=[0,0,0,0],c=!1,h=0,d,p,g;const b=new kP;for(;++r<e.length;){const m=e[r],C=m[1];m[0]==="enter"?C.type==="tableHead"?(c=!1,h!==0&&(e1(b,t,h,d,p),p=void 0,h=0),d={type:"table",start:Object.assign({},C.start),end:Object.assign({},C.end)},b.add(r,0,[["enter",d,t]])):C.type==="tableRow"||C.type==="tableDelimiterRow"?(n=!0,g=void 0,s=[0,0,0,0],l=[0,r+1,0,0],c&&(c=!1,p={type:"tableBody",start:Object.assign({},C.start),end:Object.assign({},C.end)},b.add(r,0,[["enter",p,t]])),a=C.type==="tableDelimiterRow"?2:p?3:1):a&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")?(n=!1,l[2]===0&&(s[1]!==0&&(l[0]=l[1],g=Uh(b,t,s,a,void 0,g),s=[0,0,0,0]),l[2]=r)):C.type==="tableCellDivider"&&(n?n=!1:(s[1]!==0&&(l[0]=l[1],g=Uh(b,t,s,a,void 0,g)),s=l,l=[s[1],r,0,0])):C.type==="tableHead"?(c=!0,h=r):C.type==="tableRow"||C.type==="tableDelimiterRow"?(h=r,s[1]!==0?(l[0]=l[1],g=Uh(b,t,s,a,r,g)):l[1]!==0&&(g=Uh(b,t,l,a,r,g)),a=0):a&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")&&(l[3]=r)}for(h!==0&&e1(b,t,h,d,p),b.consume(t.events),r=-1;++r<t.events.length;){const m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=_P(t.events,r))}return e}function Uh(e,t,r,n,a,s){const l=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",c="tableContent";r[0]!==0&&(s.end=Object.assign({},ps(t.events,r[0])),e.add(r[0],0,[["exit",s,t]]));const h=ps(t.events,r[1]);if(s={type:l,start:Object.assign({},h),end:Object.assign({},h)},e.add(r[1],0,[["enter",s,t]]),r[2]!==0){const d=ps(t.events,r[2]),p=ps(t.events,r[3]),g={type:c,start:Object.assign({},d),end:Object.assign({},p)};if(e.add(r[2],0,[["enter",g,t]]),n!==2){const b=t.events[r[2]],m=t.events[r[3]];if(b[1].end=Object.assign({},m[1].end),b[1].type="chunkText",b[1].contentType="text",r[3]>r[2]+1){const C=r[2]+1,E=r[3]-r[2]-1;e.add(C,E,[])}}e.add(r[3]+1,0,[["exit",g,t]])}return a!==void 0&&(s.end=Object.assign({},ps(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}function e1(e,t,r,n,a){const s=[],l=ps(t.events,r);a&&(a.end=Object.assign({},l),s.push(["exit",a,t])),n.end=Object.assign({},l),s.push(["exit",n,t]),e.add(r+1,0,s)}function ps(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const RP={name:"tasklistCheck",tokenize:LP};function DP(){return{text:{91:RP}}}function LP(e,t,r){const n=this;return a;function a(h){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(h):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(h),e.exit("taskListCheckMarker"),s)}function s(h){return xt(h)?(e.enter("taskListCheckValueUnchecked"),e.consume(h),e.exit("taskListCheckValueUnchecked"),l):h===88||h===120?(e.enter("taskListCheckValueChecked"),e.consume(h),e.exit("taskListCheckValueChecked"),l):r(h)}function l(h){return h===93?(e.enter("taskListCheckMarker"),e.consume(h),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):r(h)}function c(h){return Ie(h)?t(h):Ke(h)?e.check({tokenize:NP},t,r)(h):r(h)}}function NP(e,t,r){return ot(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function OP(e){return g2([iP(),fP(),xP(e),wP(),DP()])}const IP={};function CQ(e){const t=this,r=e||IP,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),s=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),l=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(OP(r)),s.push(eP()),l.push(tP(r))}const BP=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,FP=Object.hasOwnProperty;class MP{constructor(){this.occurrences,this.reset()}slug(t,r){const n=this;let a=UP(t,r===!0);const s=a;for(;FP.call(n.occurrences,a);)n.occurrences[s]++,a=s+"-"+n.occurrences[s];return n.occurrences[a]=0,a}reset(){this.occurrences=Object.create(null)}}function UP(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(BP,"").replace(/ /g,"-"))}function $P(e){const t=e.type==="element"?e.tagName.toLowerCase():"",r=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return r>48&&r<55?r-48:void 0}function zP(e){return"children"in e?aR(e):"value"in e?e.value:""}function PP(e){return e.type==="text"?e.value:"children"in e?aR(e):""}function aR(e){let t=-1;const r=[];for(;++t<e.children.length;)r[t]=PP(e.children[t]);return r.join("")}const HP={},t1=new MP;function EQ(e){const r=(e||HP).prefix||"";return function(n){t1.reset(),ip(n,"element",function(a){$P(a)&&!a.properties.id&&(a.properties.id=r+t1.slug(zP(a)))})}}const qP="modulepreload",GP=function(e,t){return new URL(e,t).href},r1={},it=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){let d=function(p){return Promise.all(p.map(g=>Promise.resolve(g).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const l=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),h=c?.nonce||c?.getAttribute("nonce");a=d(r.map(p=>{if(p=GP(p,n),p in r1)return;r1[p]=!0;const g=p.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(n)for(let C=l.length-1;C>=0;C--){const E=l[C];if(E.href===p&&(!g||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${p}"]${b}`))return;const m=document.createElement("link");if(m.rel=g?"stylesheet":qP,g||(m.as="script"),m.crossOrigin="",m.href=p,h&&m.setAttribute("nonce",h),document.head.appendChild(m),g)return new Promise((C,E)=>{m.addEventListener("load",C),m.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${p}`)))})}))}function s(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return a.then(l=>{for(const c of l||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})};var ed={exports:{}},jP=ed.exports,n1;function WP(){return n1||(n1=1,(function(e,t){(function(r,n){e.exports=n()})(jP,(function(){var r=1e3,n=6e4,a=36e5,s="millisecond",l="second",c="minute",h="hour",d="day",p="week",g="month",b="quarter",m="year",C="date",E="Invalid Date",k=/^(\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,w={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(W){var H=["th","st","nd","rd"],I=W%100;return"["+W+(H[(I-20)%10]||H[I]||H[0])+"]"}},v=function(W,H,I){var P=String(W);return!P||P.length>=H?W:""+Array(H+1-P.length).join(I)+W},O={s:v,z:function(W){var H=-W.utcOffset(),I=Math.abs(H),P=Math.floor(I/60),V=I%60;return(H<=0?"+":"-")+v(P,2,"0")+":"+v(V,2,"0")},m:function W(H,I){if(H.date()<I.date())return-W(I,H);var P=12*(I.year()-H.year())+(I.month()-H.month()),V=H.clone().add(P,g),se=I-V<0,L=H.clone().add(P+(se?-1:1),g);return+(-(P+(I-V)/(se?V-L:L-V))||0)},a:function(W){return W<0?Math.ceil(W)||0:Math.floor(W)},p:function(W){return{M:g,y:m,w:p,d,D:C,h,m:c,s:l,ms:s,Q:b}[W]||String(W||"").toLowerCase().replace(/s$/,"")},u:function(W){return W===void 0}},F="en",R={};R[F]=w;var $="$isDayjsObject",z=function(W){return W instanceof X||!(!W||!W[$])},K=function W(H,I,P){var V;if(!H)return F;if(typeof H=="string"){var se=H.toLowerCase();R[se]&&(V=se),I&&(R[se]=I,V=se);var L=H.split("-");if(!V&&L.length>1)return W(L[0])}else{var U=H.name;R[U]=H,V=U}return!P&&V&&(F=V),V||!P&&F},M=function(W,H){if(z(W))return W.clone();var I=typeof H=="object"?H:{};return I.date=W,I.args=arguments,new X(I)},q=O;q.l=K,q.i=z,q.w=function(W,H){return M(W,{locale:H.$L,utc:H.$u,x:H.$x,$offset:H.$offset})};var X=(function(){function W(I){this.$L=K(I.locale,null,!0),this.parse(I),this.$x=this.$x||I.x||{},this[$]=!0}var H=W.prototype;return H.parse=function(I){this.$d=(function(P){var V=P.date,se=P.utc;if(V===null)return new Date(NaN);if(q.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var L=V.match(k);if(L){var U=L[2]-1||0,ee=(L[7]||"0").substring(0,3);return se?new Date(Date.UTC(L[1],U,L[3]||1,L[4]||0,L[5]||0,L[6]||0,ee)):new Date(L[1],U,L[3]||1,L[4]||0,L[5]||0,L[6]||0,ee)}}return new Date(V)})(I),this.init()},H.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},H.$utils=function(){return q},H.isValid=function(){return this.$d.toString()!==E},H.isSame=function(I,P){var V=M(I);return this.startOf(P)<=V&&V<=this.endOf(P)},H.isAfter=function(I,P){return M(I)<this.startOf(P)},H.isBefore=function(I,P){return this.endOf(P)<M(I)},H.$g=function(I,P,V){return q.u(I)?this[P]:this.set(V,I)},H.unix=function(){return Math.floor(this.valueOf()/1e3)},H.valueOf=function(){return this.$d.getTime()},H.startOf=function(I,P){var V=this,se=!!q.u(P)||P,L=q.p(I),U=function(Le,qe){var lt=q.w(V.$u?Date.UTC(V.$y,qe,Le):new Date(V.$y,qe,Le),V);return se?lt:lt.endOf(d)},ee=function(Le,qe){return q.w(V.toDate()[Le].apply(V.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice(qe)),V)},N=this.$W,de=this.$M,me=this.$D,ge="set"+(this.$u?"UTC":"");switch(L){case m:return se?U(1,0):U(31,11);case g:return se?U(1,de):U(0,de+1);case p:var Se=this.$locale().weekStart||0,Te=(N<Se?N+7:N)-Se;return U(se?me-Te:me+(6-Te),de);case d:case C:return ee(ge+"Hours",0);case h:return ee(ge+"Minutes",1);case c:return ee(ge+"Seconds",2);case l:return ee(ge+"Milliseconds",3);default:return this.clone()}},H.endOf=function(I){return this.startOf(I,!1)},H.$set=function(I,P){var V,se=q.p(I),L="set"+(this.$u?"UTC":""),U=(V={},V[d]=L+"Date",V[C]=L+"Date",V[g]=L+"Month",V[m]=L+"FullYear",V[h]=L+"Hours",V[c]=L+"Minutes",V[l]=L+"Seconds",V[s]=L+"Milliseconds",V)[se],ee=se===d?this.$D+(P-this.$W):P;if(se===g||se===m){var N=this.clone().set(C,1);N.$d[U](ee),N.init(),this.$d=N.set(C,Math.min(this.$D,N.daysInMonth())).$d}else U&&this.$d[U](ee);return this.init(),this},H.set=function(I,P){return this.clone().$set(I,P)},H.get=function(I){return this[q.p(I)]()},H.add=function(I,P){var V,se=this;I=Number(I);var L=q.p(P),U=function(de){var me=M(se);return q.w(me.date(me.date()+Math.round(de*I)),se)};if(L===g)return this.set(g,this.$M+I);if(L===m)return this.set(m,this.$y+I);if(L===d)return U(1);if(L===p)return U(7);var ee=(V={},V[c]=n,V[h]=a,V[l]=r,V)[L]||1,N=this.$d.getTime()+I*ee;return q.w(N,this)},H.subtract=function(I,P){return this.add(-1*I,P)},H.format=function(I){var P=this,V=this.$locale();if(!this.isValid())return V.invalidDate||E;var se=I||"YYYY-MM-DDTHH:mm:ssZ",L=q.z(this),U=this.$H,ee=this.$m,N=this.$M,de=V.weekdays,me=V.months,ge=V.meridiem,Se=function(qe,lt,ur,ar){return qe&&(qe[lt]||qe(P,se))||ur[lt].slice(0,ar)},Te=function(qe){return q.s(U%12||12,qe,"0")},Le=ge||function(qe,lt,ur){var ar=qe<12?"AM":"PM";return ur?ar.toLowerCase():ar};return se.replace(x,(function(qe,lt){return lt||(function(ur){switch(ur){case"YY":return String(P.$y).slice(-2);case"YYYY":return q.s(P.$y,4,"0");case"M":return N+1;case"MM":return q.s(N+1,2,"0");case"MMM":return Se(V.monthsShort,N,me,3);case"MMMM":return Se(me,N);case"D":return P.$D;case"DD":return q.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return Se(V.weekdaysMin,P.$W,de,2);case"ddd":return Se(V.weekdaysShort,P.$W,de,3);case"dddd":return de[P.$W];case"H":return String(U);case"HH":return q.s(U,2,"0");case"h":return Te(1);case"hh":return Te(2);case"a":return Le(U,ee,!0);case"A":return Le(U,ee,!1);case"m":return String(ee);case"mm":return q.s(ee,2,"0");case"s":return String(P.$s);case"ss":return q.s(P.$s,2,"0");case"SSS":return q.s(P.$ms,3,"0");case"Z":return L}return null})(qe)||L.replace(":","")}))},H.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},H.diff=function(I,P,V){var se,L=this,U=q.p(P),ee=M(I),N=(ee.utcOffset()-this.utcOffset())*n,de=this-ee,me=function(){return q.m(L,ee)};switch(U){case m:se=me()/12;break;case g:se=me();break;case b:se=me()/3;break;case p:se=(de-N)/6048e5;break;case d:se=(de-N)/864e5;break;case h:se=de/a;break;case c:se=de/n;break;case l:se=de/r;break;default:se=de}return V?se:q.a(se)},H.daysInMonth=function(){return this.endOf(g).$D},H.$locale=function(){return R[this.$L]},H.locale=function(I,P){if(!I)return this.$L;var V=this.clone(),se=K(I,P,!0);return se&&(V.$L=se),V},H.clone=function(){return q.w(this.$d,this)},H.toDate=function(){return new Date(this.valueOf())},H.toJSON=function(){return this.isValid()?this.toISOString():null},H.toISOString=function(){return this.$d.toISOString()},H.toString=function(){return this.$d.toUTCString()},W})(),J=X.prototype;return M.prototype=J,[["$ms",s],["$s",l],["$m",c],["$H",h],["$W",d],["$M",g],["$y",m],["$D",C]].forEach((function(W){J[W[1]]=function(H){return this.$g(H,W[0],W[1])}})),M.extend=function(W,H){return W.$i||(W(H,X,M),W.$i=!0),M},M.locale=K,M.isDayjs=z,M.unix=function(W){return M(1e3*W)},M.en=R[F],M.Ls=R,M.p={},M}))})(ed)),ed.exports}var YP=WP();const VP=Kd(YP);var oR=Object.defineProperty,T=(e,t)=>oR(e,"name",{value:t,configurable:!0}),XP=(e,t)=>{for(var r in t)oR(e,r,{get:t[r],enumerable:!0})},Oi={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},pe={trace:T((...e)=>{},"trace"),debug:T((...e)=>{},"debug"),info:T((...e)=>{},"info"),warn:T((...e)=>{},"warn"),error:T((...e)=>{},"error"),fatal:T((...e)=>{},"fatal")},py=T(function(e="fatal"){let t=Oi.fatal;typeof e=="string"?e.toLowerCase()in Oi&&(t=Oi[e]):typeof e=="number"&&(t=e),pe.trace=()=>{},pe.debug=()=>{},pe.info=()=>{},pe.warn=()=>{},pe.error=()=>{},pe.fatal=()=>{},t<=Oi.fatal&&(pe.fatal=console.error?console.error.bind(console,vn("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",vn("FATAL"))),t<=Oi.error&&(pe.error=console.error?console.error.bind(console,vn("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",vn("ERROR"))),t<=Oi.warn&&(pe.warn=console.warn?console.warn.bind(console,vn("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",vn("WARN"))),t<=Oi.info&&(pe.info=console.info?console.info.bind(console,vn("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",vn("INFO"))),t<=Oi.debug&&(pe.debug=console.debug?console.debug.bind(console,vn("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",vn("DEBUG"))),t<=Oi.trace&&(pe.trace=console.debug?console.debug.bind(console,vn("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",vn("TRACE")))},"setLogLevel"),vn=T(e=>`%c${VP().format("ss.SSS")} : ${e} : `,"format");const td={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,s=2*r-a;switch(n){case"r":return td.hue2rgb(s,a,e+1/3)*255;case"g":return td.hue2rgb(s,a,e)*255;case"b":return td.hue2rgb(s,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),s=Math.min(e,t,r),l=(a+s)/2;if(n==="l")return l*100;if(a===s)return 0;const c=a-s,h=l>.5?c/(2-a-s):c/(a+s);if(n==="s")return h*100;switch(a){case e:return((t-r)/c+(t<r?6:0))*60;case t:return((r-e)/c+2)*60;case r:return((e-t)/c+4)*60;default:return-1}}},ZP={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},KP={dec2hex:e=>{const t=Math.round(e).toString(16);return t.length>1?t:`0${t}`}},ze={channel:td,lang:ZP,unit:KP},xa={};for(let e=0;e<=255;e++)xa[e]=ze.unit.dec2hex(e);const xr={ALL:0,RGB:1,HSL:2};class QP{constructor(){this.type=xr.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=xr.ALL}is(t){return this.type===t}}class JP{constructor(t,r){this.color=r,this.changed=!1,this.data=t,this.type=new QP}set(t,r){return this.color=r,this.changed=!1,this.data=t,this.type.type=xr.ALL,this}_ensureHSL(){const t=this.data,{h:r,s:n,l:a}=t;r===void 0&&(t.h=ze.channel.rgb2hsl(t,"h")),n===void 0&&(t.s=ze.channel.rgb2hsl(t,"s")),a===void 0&&(t.l=ze.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r,g:n,b:a}=t;r===void 0&&(t.r=ze.channel.hsl2rgb(t,"r")),n===void 0&&(t.g=ze.channel.hsl2rgb(t,"g")),a===void 0&&(t.b=ze.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,r=t.r;return!this.type.is(xr.HSL)&&r!==void 0?r:(this._ensureHSL(),ze.channel.hsl2rgb(t,"r"))}get g(){const t=this.data,r=t.g;return!this.type.is(xr.HSL)&&r!==void 0?r:(this._ensureHSL(),ze.channel.hsl2rgb(t,"g"))}get b(){const t=this.data,r=t.b;return!this.type.is(xr.HSL)&&r!==void 0?r:(this._ensureHSL(),ze.channel.hsl2rgb(t,"b"))}get h(){const t=this.data,r=t.h;return!this.type.is(xr.RGB)&&r!==void 0?r:(this._ensureRGB(),ze.channel.rgb2hsl(t,"h"))}get s(){const t=this.data,r=t.s;return!this.type.is(xr.RGB)&&r!==void 0?r:(this._ensureRGB(),ze.channel.rgb2hsl(t,"s"))}get l(){const t=this.data,r=t.l;return!this.type.is(xr.RGB)&&r!==void 0?r:(this._ensureRGB(),ze.channel.rgb2hsl(t,"l"))}get a(){return this.data.a}set r(t){this.type.set(xr.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(xr.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(xr.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(xr.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(xr.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(xr.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}const ap=new JP({r:0,g:0,b:0,a:0},"transparent"),ks={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(e.charCodeAt(0)!==35)return;const t=e.match(ks.re);if(!t)return;const r=t[1],n=parseInt(r,16),a=r.length,s=a%4===0,l=a>4,c=l?1:17,h=l?8:4,d=s?0:-1,p=l?255:15;return ap.set({r:(n>>h*(d+3)&p)*c,g:(n>>h*(d+2)&p)*c,b:(n>>h*(d+1)&p)*c,a:s?(n&p)*c/255:1},e)},stringify:e=>{const{r:t,g:r,b:n,a}=e;return a<1?`#${xa[Math.round(t)]}${xa[Math.round(r)]}${xa[Math.round(n)]}${xa[Math.round(a*255)]}`:`#${xa[Math.round(t)]}${xa[Math.round(r)]}${xa[Math.round(n)]}`}},ao={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(ao.hueRe);if(t){const[,r,n]=t;switch(n){case"grad":return ze.channel.clamp.h(parseFloat(r)*.9);case"rad":return ze.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return ze.channel.clamp.h(parseFloat(r)*360)}}return ze.channel.clamp.h(parseFloat(e))},parse:e=>{const t=e.charCodeAt(0);if(t!==104&&t!==72)return;const r=e.match(ao.re);if(!r)return;const[,n,a,s,l,c]=r;return ap.set({h:ao._hue2deg(n),s:ze.channel.clamp.s(parseFloat(a)),l:ze.channel.clamp.l(parseFloat(s)),a:l?ze.channel.clamp.a(c?parseFloat(l)/100:parseFloat(l)):1},e)},stringify:e=>{const{h:t,s:r,l:n,a}=e;return a<1?`hsla(${ze.lang.round(t)}, ${ze.lang.round(r)}%, ${ze.lang.round(n)}%, ${a})`:`hsl(${ze.lang.round(t)}, ${ze.lang.round(r)}%, ${ze.lang.round(n)}%)`}},Nc={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=Nc.colors[e];if(t)return ks.parse(t)},stringify:e=>{const t=ks.stringify(e);for(const r in Nc.colors)if(Nc.colors[r]===t)return r}},Cc={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(Cc.re);if(!r)return;const[,n,a,s,l,c,h,d,p]=r;return ap.set({r:ze.channel.clamp.r(a?parseFloat(n)*2.55:parseFloat(n)),g:ze.channel.clamp.g(l?parseFloat(s)*2.55:parseFloat(s)),b:ze.channel.clamp.b(h?parseFloat(c)*2.55:parseFloat(c)),a:d?ze.channel.clamp.a(p?parseFloat(d)/100:parseFloat(d)):1},e)},stringify:e=>{const{r:t,g:r,b:n,a}=e;return a<1?`rgba(${ze.lang.round(t)}, ${ze.lang.round(r)}, ${ze.lang.round(n)}, ${ze.lang.round(a)})`:`rgb(${ze.lang.round(t)}, ${ze.lang.round(r)}, ${ze.lang.round(n)})`}},ai={format:{keyword:Nc,hex:ks,rgb:Cc,rgba:Cc,hsl:ao,hsla:ao},parse:e=>{if(typeof e!="string")return e;const t=ks.parse(e)||Cc.parse(e)||ao.parse(e)||Nc.parse(e);if(t)return t;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(xr.HSL)||e.data.r===void 0?ao.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?Cc.stringify(e):ks.stringify(e)},sR=(e,t)=>{const r=ai.parse(e);for(const n in t)r[n]=ze.channel.clamp[n](t[n]);return ai.stringify(r)},Aa=(e,t,r=0,n=1)=>{if(typeof e!="number")return sR(e,{a:t});const a=ap.set({r:ze.channel.clamp.r(e),g:ze.channel.clamp.g(t),b:ze.channel.clamp.b(r),a:ze.channel.clamp.a(n)});return ai.stringify(a)},e6=e=>{const{r:t,g:r,b:n}=ai.parse(e),a=.2126*ze.channel.toLinear(t)+.7152*ze.channel.toLinear(r)+.0722*ze.channel.toLinear(n);return ze.lang.round(a)},t6=e=>e6(e)>=.5,Yn=e=>!t6(e),lR=(e,t,r)=>{const n=ai.parse(e),a=n[t],s=ze.channel.clamp[t](a+r);return a!==s&&(n[t]=s),ai.stringify(n)},ie=(e,t)=>lR(e,"l",t),ae=(e,t)=>lR(e,"l",-t),A=(e,t)=>{const r=ai.parse(e),n={};for(const a in t)t[a]&&(n[a]=r[a]+t[a]);return sR(e,n)},r6=(e,t,r=50)=>{const{r:n,g:a,b:s,a:l}=ai.parse(e),{r:c,g:h,b:d,a:p}=ai.parse(t),g=r/100,b=g*2-1,m=l-p,E=((b*m===-1?b:(b+m)/(1+b*m))+1)/2,k=1-E,x=n*E+c*k,w=a*E+h*k,v=s*E+d*k,O=l*g+p*(1-g);return Aa(x,w,v,O)},Z=(e,t=100)=>{const r=ai.parse(e);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,r6(r,e,t)};const{entries:cR,setPrototypeOf:i1,isFrozen:n6,getPrototypeOf:i6,getOwnPropertyDescriptor:a6}=Object;let{freeze:$r,seal:Rn,create:fs}=Object,{apply:Wm,construct:Ym}=typeof Reflect<"u"&&Reflect;$r||($r=function(t){return t});Rn||(Rn=function(t){return t});Wm||(Wm=function(t,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),s=2;s<n;s++)a[s-2]=arguments[s];return t.apply(r,a)});Ym||(Ym=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return new t(...n)});const cc=Qt(Array.prototype.forEach),o6=Qt(Array.prototype.lastIndexOf),a1=Qt(Array.prototype.pop),uc=Qt(Array.prototype.push),s6=Qt(Array.prototype.splice),Br=Array.isArray,Ec=Qt(String.prototype.toLowerCase),fm=Qt(String.prototype.toString),o1=Qt(String.prototype.match),cs=Qt(String.prototype.replace),s1=Qt(String.prototype.indexOf),l6=Qt(String.prototype.trim),c6=Qt(Number.prototype.toString),u6=Qt(Boolean.prototype.toString),l1=typeof BigInt>"u"?null:Qt(BigInt.prototype.toString),c1=typeof Symbol>"u"?null:Qt(Symbol.prototype.toString),Mt=Qt(Object.prototype.hasOwnProperty),hc=Qt(Object.prototype.toString),br=Qt(RegExp.prototype.test),$h=h6(TypeError);function Qt(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 Wm(e,t,n)}}function h6(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ym(e,r)}}function je(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ec;if(i1&&i1(e,null),!Br(t))return e;let n=t.length;for(;n--;){let a=t[n];if(typeof a=="string"){const s=r(a);s!==a&&(n6(t)||(t[n]=s),a=s)}e[a]=!0}return e}function d6(e){for(let t=0;t<e.length;t++)Mt(e,t)||(e[t]=null);return e}function Zr(e){const t=fs(null);for(const[r,n]of cR(e))Mt(e,r)&&(Br(n)?t[r]=d6(n):n&&typeof n=="object"&&n.constructor===Object?t[r]=Zr(n):t[r]=n);return t}function p6(e){switch(typeof e){case"string":return e;case"number":return c6(e);case"boolean":return u6(e);case"bigint":return l1?l1(e):"0";case"symbol":return c1?c1(e):"Symbol()";case"undefined":return hc(e);case"function":case"object":{if(e===null)return hc(e);const t=e,r=gs(t,"toString");if(typeof r=="function"){const n=r(t);return typeof n=="string"?n:hc(n)}return hc(e)}default:return hc(e)}}function gs(e,t){for(;e!==null;){const n=a6(e,t);if(n){if(n.get)return Qt(n.get);if(typeof n.value=="function")return Qt(n.value)}e=i6(e)}function r(){return null}return r}function f6(e){try{return br(e,""),!0}catch{return!1}}const u1=$r(["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","search","section","select","shadow","slot","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"]),gm=$r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),mm=$r(["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"]),g6=$r(["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"]),bm=$r(["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"]),m6=$r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),h1=$r(["#text"]),d1=$r(["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","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),ym=$r(["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","mask-type","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"]),p1=$r(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),zh=$r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),b6=Rn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),y6=Rn(/<%[\w\W]*|[\w\W]*%>/gm),S6=Rn(/\$\{[\w\W]*/gm),C6=Rn(/^data-[\-\w.\u00B7-\uFFFF]+$/),E6=Rn(/^aria-[\-\w]+$/),uR=Rn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),x6=Rn(/^(?:\w+script|data):/i),k6=Rn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),hR=Rn(/^html$/i),T6=Rn(/^[a-z][.\w]*(-[.\w]+)+$/i);var f1=Object.freeze({__proto__:null,ARIA_ATTR:E6,ATTR_WHITESPACE:k6,CUSTOM_ELEMENT:T6,DATA_ATTR:C6,DOCTYPE_NAME:hR,ERB_EXPR:y6,IS_ALLOWED_URI:uR,IS_SCRIPT_OR_DATA:x6,MUSTACHE_EXPR:b6,TMPLIT_EXPR:S6});const dc={element:1,text:3,progressingInstruction:7,comment:8,document:9},_6=function(){return typeof window>"u"?null:window},w6=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 s="dompurify"+(n?"#"+n:"");try{return t.createPolicy(s,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},g1=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function dR(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_6();const t=De=>dR(De);if(t.version="3.4.1",t.removed=[],!e||!e.document||e.document.nodeType!==dc.document||!e.Element)return t.isSupported=!1,t;let{document:r}=e;const n=r,a=n.currentScript,{DocumentFragment:s,HTMLTemplateElement:l,Node:c,Element:h,NodeFilter:d,NamedNodeMap:p=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:g,DOMParser:b,trustedTypes:m}=e,C=h.prototype,E=gs(C,"cloneNode"),k=gs(C,"remove"),x=gs(C,"nextSibling"),w=gs(C,"childNodes"),v=gs(C,"parentNode");if(typeof l=="function"){const De=r.createElement("template");De.content&&De.content.ownerDocument&&(r=De.content.ownerDocument)}let O,F="";const{implementation:R,createNodeIterator:$,createDocumentFragment:z,getElementsByTagName:K}=r,{importNode:M}=n;let q=g1();t.isSupported=typeof cR=="function"&&typeof v=="function"&&R&&R.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:X,ERB_EXPR:J,TMPLIT_EXPR:W,DATA_ATTR:H,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:se}=f1;let{IS_ALLOWED_URI:L}=f1,U=null;const ee=je({},[...u1,...gm,...mm,...bm,...h1]);let N=null;const de=je({},[...d1,...ym,...p1,...zh]);let me=Object.seal(fs(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}})),ge=null,Se=null;const Te=Object.seal(fs(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Le=!0,qe=!0,lt=!1,ur=!0,ar=!1,Jt=!0,Pr=!1,Xn=!1,Wi=!1,Ln=!1,Nn=!1,On=!1,Yi=!0,ko=!1;const To="user-content-";let er=!0,di=!1,le={},be=null;const Oe=je({},["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 st=je({},["audio","video","img","source","image","track"]);let hr=null;const fn=je({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Gt="http://www.w3.org/1998/Math/MathML",At="http://www.w3.org/2000/svg",Tt="http://www.w3.org/1999/xhtml";let at=Tt,gn=!1,Lr=null;const Ip=je({},[Gt,At,Tt],fm);let Vi=je({},["mi","mo","mn","ms","mtext"]),Xi=je({},["annotation-xml"]);const _o=je({},["title","style","font","a","script"]);let tn=null;const wo=["application/xhtml+xml","text/html"],Fa="text/html";let Ut=null,pi=null;const sl=r.createElement("form"),Zi=function(G){return G instanceof RegExp||G instanceof Function},ll=function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(pi&&pi===G)return;(!G||typeof G!="object")&&(G={}),G=Zr(G),tn=wo.indexOf(G.PARSER_MEDIA_TYPE)===-1?Fa:G.PARSER_MEDIA_TYPE,Ut=tn==="application/xhtml+xml"?fm:Ec,U=Mt(G,"ALLOWED_TAGS")&&Br(G.ALLOWED_TAGS)?je({},G.ALLOWED_TAGS,Ut):ee,N=Mt(G,"ALLOWED_ATTR")&&Br(G.ALLOWED_ATTR)?je({},G.ALLOWED_ATTR,Ut):de,Lr=Mt(G,"ALLOWED_NAMESPACES")&&Br(G.ALLOWED_NAMESPACES)?je({},G.ALLOWED_NAMESPACES,fm):Ip,hr=Mt(G,"ADD_URI_SAFE_ATTR")&&Br(G.ADD_URI_SAFE_ATTR)?je(Zr(fn),G.ADD_URI_SAFE_ATTR,Ut):fn,Ye=Mt(G,"ADD_DATA_URI_TAGS")&&Br(G.ADD_DATA_URI_TAGS)?je(Zr(st),G.ADD_DATA_URI_TAGS,Ut):st,be=Mt(G,"FORBID_CONTENTS")&&Br(G.FORBID_CONTENTS)?je({},G.FORBID_CONTENTS,Ut):Oe,ge=Mt(G,"FORBID_TAGS")&&Br(G.FORBID_TAGS)?je({},G.FORBID_TAGS,Ut):Zr({}),Se=Mt(G,"FORBID_ATTR")&&Br(G.FORBID_ATTR)?je({},G.FORBID_ATTR,Ut):Zr({}),le=Mt(G,"USE_PROFILES")?G.USE_PROFILES&&typeof G.USE_PROFILES=="object"?Zr(G.USE_PROFILES):G.USE_PROFILES:!1,Le=G.ALLOW_ARIA_ATTR!==!1,qe=G.ALLOW_DATA_ATTR!==!1,lt=G.ALLOW_UNKNOWN_PROTOCOLS||!1,ur=G.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ar=G.SAFE_FOR_TEMPLATES||!1,Jt=G.SAFE_FOR_XML!==!1,Pr=G.WHOLE_DOCUMENT||!1,Ln=G.RETURN_DOM||!1,Nn=G.RETURN_DOM_FRAGMENT||!1,On=G.RETURN_TRUSTED_TYPE||!1,Wi=G.FORCE_BODY||!1,Yi=G.SANITIZE_DOM!==!1,ko=G.SANITIZE_NAMED_PROPS||!1,er=G.KEEP_CONTENT!==!1,di=G.IN_PLACE||!1,L=f6(G.ALLOWED_URI_REGEXP)?G.ALLOWED_URI_REGEXP:uR,at=typeof G.NAMESPACE=="string"?G.NAMESPACE:Tt,Vi=Mt(G,"MATHML_TEXT_INTEGRATION_POINTS")&&G.MATHML_TEXT_INTEGRATION_POINTS&&typeof G.MATHML_TEXT_INTEGRATION_POINTS=="object"?Zr(G.MATHML_TEXT_INTEGRATION_POINTS):je({},["mi","mo","mn","ms","mtext"]),Xi=Mt(G,"HTML_INTEGRATION_POINTS")&&G.HTML_INTEGRATION_POINTS&&typeof G.HTML_INTEGRATION_POINTS=="object"?Zr(G.HTML_INTEGRATION_POINTS):je({},["annotation-xml"]);const fe=Mt(G,"CUSTOM_ELEMENT_HANDLING")&&G.CUSTOM_ELEMENT_HANDLING&&typeof G.CUSTOM_ELEMENT_HANDLING=="object"?Zr(G.CUSTOM_ELEMENT_HANDLING):fs(null);if(me=fs(null),Mt(fe,"tagNameCheck")&&Zi(fe.tagNameCheck)&&(me.tagNameCheck=fe.tagNameCheck),Mt(fe,"attributeNameCheck")&&Zi(fe.attributeNameCheck)&&(me.attributeNameCheck=fe.attributeNameCheck),Mt(fe,"allowCustomizedBuiltInElements")&&typeof fe.allowCustomizedBuiltInElements=="boolean"&&(me.allowCustomizedBuiltInElements=fe.allowCustomizedBuiltInElements),ar&&(qe=!1),Nn&&(Ln=!0),le&&(U=je({},h1),N=fs(null),le.html===!0&&(je(U,u1),je(N,d1)),le.svg===!0&&(je(U,gm),je(N,ym),je(N,zh)),le.svgFilters===!0&&(je(U,mm),je(N,ym),je(N,zh)),le.mathMl===!0&&(je(U,bm),je(N,p1),je(N,zh))),Te.tagCheck=null,Te.attributeCheck=null,Mt(G,"ADD_TAGS")&&(typeof G.ADD_TAGS=="function"?Te.tagCheck=G.ADD_TAGS:Br(G.ADD_TAGS)&&(U===ee&&(U=Zr(U)),je(U,G.ADD_TAGS,Ut))),Mt(G,"ADD_ATTR")&&(typeof G.ADD_ATTR=="function"?Te.attributeCheck=G.ADD_ATTR:Br(G.ADD_ATTR)&&(N===de&&(N=Zr(N)),je(N,G.ADD_ATTR,Ut))),Mt(G,"ADD_URI_SAFE_ATTR")&&Br(G.ADD_URI_SAFE_ATTR)&&je(hr,G.ADD_URI_SAFE_ATTR,Ut),Mt(G,"FORBID_CONTENTS")&&Br(G.FORBID_CONTENTS)&&(be===Oe&&(be=Zr(be)),je(be,G.FORBID_CONTENTS,Ut)),Mt(G,"ADD_FORBID_CONTENTS")&&Br(G.ADD_FORBID_CONTENTS)&&(be===Oe&&(be=Zr(be)),je(be,G.ADD_FORBID_CONTENTS,Ut)),er&&(U["#text"]=!0),Pr&&je(U,["html","head","body"]),U.table&&(je(U,["tbody"]),delete ge.tbody),G.TRUSTED_TYPES_POLICY){if(typeof G.TRUSTED_TYPES_POLICY.createHTML!="function")throw $h('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof G.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw $h('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=G.TRUSTED_TYPES_POLICY,F=O.createHTML("")}else O===void 0&&(O=w6(m,a)),O!==null&&typeof F=="string"&&(F=O.createHTML(""));$r&&$r(G),pi=G},cl=je({},[...gm,...mm,...g6]),ul=je({},[...bm,...m6]),Cu=function(G){let fe=v(G);(!fe||!fe.tagName)&&(fe={namespaceURI:at,tagName:"template"});const Ee=Ec(G.tagName),pt=Ec(fe.tagName);return Lr[G.namespaceURI]?G.namespaceURI===At?fe.namespaceURI===Tt?Ee==="svg":fe.namespaceURI===Gt?Ee==="svg"&&(pt==="annotation-xml"||Vi[pt]):!!cl[Ee]:G.namespaceURI===Gt?fe.namespaceURI===Tt?Ee==="math":fe.namespaceURI===At?Ee==="math"&&Xi[pt]:!!ul[Ee]:G.namespaceURI===Tt?fe.namespaceURI===At&&!Xi[pt]||fe.namespaceURI===Gt&&!Vi[pt]?!1:!ul[Ee]&&(_o[Ee]||!cl[Ee]):!!(tn==="application/xhtml+xml"&&Lr[G.namespaceURI]):!1},Nr=function(G){uc(t.removed,{element:G});try{v(G).removeChild(G)}catch{k(G)}},In=function(G,fe){try{uc(t.removed,{attribute:fe.getAttributeNode(G),from:fe})}catch{uc(t.removed,{attribute:null,from:fe})}if(fe.removeAttribute(G),G==="is")if(Ln||Nn)try{Nr(fe)}catch{}else try{fe.setAttribute(G,"")}catch{}},hl=function(G){let fe=null,Ee=null;if(Wi)G="<remove></remove>"+G;else{const Nt=o1(G,/^[\r\n\t ]+/);Ee=Nt&&Nt[0]}tn==="application/xhtml+xml"&&at===Tt&&(G='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+G+"</body></html>");const pt=O?O.createHTML(G):G;if(at===Tt)try{fe=new b().parseFromString(pt,tn)}catch{}if(!fe||!fe.documentElement){fe=R.createDocument(at,"template",null);try{fe.documentElement.innerHTML=gn?F:pt}catch{}}const tt=fe.body||fe.documentElement;return G&&Ee&&tt.insertBefore(r.createTextNode(Ee),tt.childNodes[0]||null),at===Tt?K.call(fe,Pr?"html":"body")[0]:Pr?fe.documentElement:tt},dl=function(G){return $.call(G.ownerDocument||G,G,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},mn=function(G){return G instanceof g&&(typeof G.nodeName!="string"||typeof G.textContent!="string"||typeof G.removeChild!="function"||!(G.attributes instanceof p)||typeof G.removeAttribute!="function"||typeof G.setAttribute!="function"||typeof G.namespaceURI!="string"||typeof G.insertBefore!="function"||typeof G.hasChildNodes!="function")},$t=function(G){return typeof c=="function"&&G instanceof c};function Rt(De,G,fe){cc(De,Ee=>{Ee.call(t,G,fe,pi)})}const fi=function(G){let fe=null;if(Rt(q.beforeSanitizeElements,G,null),mn(G))return Nr(G),!0;const Ee=Ut(G.nodeName);if(Rt(q.uponSanitizeElement,G,{tagName:Ee,allowedTags:U}),Jt&&G.hasChildNodes()&&!$t(G.firstElementChild)&&br(/<[/\w!]/g,G.innerHTML)&&br(/<[/\w!]/g,G.textContent)||Jt&&G.namespaceURI===Tt&&Ee==="style"&&$t(G.firstElementChild)||G.nodeType===dc.progressingInstruction||Jt&&G.nodeType===dc.comment&&br(/<[/\w]/g,G.data))return Nr(G),!0;if(ge[Ee]||!(Te.tagCheck instanceof Function&&Te.tagCheck(Ee))&&!U[Ee]){if(!ge[Ee]&&Eu(Ee)&&(me.tagNameCheck instanceof RegExp&&br(me.tagNameCheck,Ee)||me.tagNameCheck instanceof Function&&me.tagNameCheck(Ee)))return!1;if(er&&!be[Ee]){const pt=v(G)||G.parentNode,tt=w(G)||G.childNodes;if(tt&&pt){const Nt=tt.length;for(let dr=Nt-1;dr>=0;--dr){const jt=E(tt[dr],!0);pt.insertBefore(jt,x(G))}}}return Nr(G),!0}return G instanceof h&&!Cu(G)||(Ee==="noscript"||Ee==="noembed"||Ee==="noframes")&&br(/<\/no(script|embed|frames)/i,G.innerHTML)?(Nr(G),!0):(ar&&G.nodeType===dc.text&&(fe=G.textContent,cc([X,J,W],pt=>{fe=cs(fe,pt," ")}),G.textContent!==fe&&(uc(t.removed,{element:G.cloneNode()}),G.textContent=fe)),Rt(q.afterSanitizeElements,G,null),!1)},vo=function(G,fe,Ee){if(Se[fe]||Yi&&(fe==="id"||fe==="name")&&(Ee in r||Ee in sl))return!1;if(!(qe&&!Se[fe]&&br(H,fe))){if(!(Le&&br(I,fe))){if(!(Te.attributeCheck instanceof Function&&Te.attributeCheck(fe,G))){if(!N[fe]||Se[fe]){if(!(Eu(G)&&(me.tagNameCheck instanceof RegExp&&br(me.tagNameCheck,G)||me.tagNameCheck instanceof Function&&me.tagNameCheck(G))&&(me.attributeNameCheck instanceof RegExp&&br(me.attributeNameCheck,fe)||me.attributeNameCheck instanceof Function&&me.attributeNameCheck(fe,G))||fe==="is"&&me.allowCustomizedBuiltInElements&&(me.tagNameCheck instanceof RegExp&&br(me.tagNameCheck,Ee)||me.tagNameCheck instanceof Function&&me.tagNameCheck(Ee))))return!1}else if(!hr[fe]){if(!br(L,cs(Ee,V,""))){if(!((fe==="src"||fe==="xlink:href"||fe==="href")&&G!=="script"&&s1(Ee,"data:")===0&&Ye[G])){if(!(lt&&!br(P,cs(Ee,V,"")))){if(Ee)return!1}}}}}}}return!0},Bp=je({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Eu=function(G){return!Bp[Ec(G)]&&br(se,G)},pl=function(G){Rt(q.beforeSanitizeAttributes,G,null);const{attributes:fe}=G;if(!fe||mn(G))return;const Ee={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:N,forceKeepAttr:void 0};let pt=fe.length;for(;pt--;){const tt=fe[pt],{name:Nt,namespaceURI:dr,value:jt}=tt,or=Ut(Nt),fl=jt;let zt=Nt==="value"?fl:l6(fl);if(Ee.attrName=or,Ee.attrValue=zt,Ee.keepAttr=!0,Ee.forceKeepAttr=void 0,Rt(q.uponSanitizeAttribute,G,Ee),zt=Ee.attrValue,ko&&(or==="id"||or==="name")&&s1(zt,To)!==0&&(In(Nt,G),zt=To+zt),Jt&&br(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,zt)){In(Nt,G);continue}if(or==="attributename"&&o1(zt,"href")){In(Nt,G);continue}if(Ee.forceKeepAttr)continue;if(!Ee.keepAttr){In(Nt,G);continue}if(!ur&&br(/\/>/i,zt)){In(Nt,G);continue}ar&&cc([X,J,W],xu=>{zt=cs(zt,xu," ")});const gl=Ut(G.nodeName);if(!vo(gl,or,zt)){In(Nt,G);continue}if(O&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!dr)switch(m.getAttributeType(gl,or)){case"TrustedHTML":{zt=O.createHTML(zt);break}case"TrustedScriptURL":{zt=O.createScriptURL(zt);break}}if(zt!==fl)try{dr?G.setAttributeNS(dr,Nt,zt):G.setAttribute(Nt,zt),mn(G)?Nr(G):a1(t.removed)}catch{In(Nt,G)}}Rt(q.afterSanitizeAttributes,G,null)},Ki=function(G){let fe=null;const Ee=dl(G);for(Rt(q.beforeSanitizeShadowDOM,G,null);fe=Ee.nextNode();)Rt(q.uponSanitizeShadowNode,fe,null),fi(fe),pl(fe),fe.content instanceof s&&Ki(fe.content);Rt(q.afterSanitizeShadowDOM,G,null)};return t.sanitize=function(De){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=null,Ee=null,pt=null,tt=null;if(gn=!De,gn&&(De="<!-->"),typeof De!="string"&&!$t(De)&&(De=p6(De),typeof De!="string"))throw $h("dirty is not a string, aborting");if(!t.isSupported)return De;if(Xn||ll(G),t.removed=[],typeof De=="string"&&(di=!1),di){const jt=De.nodeName;if(typeof jt=="string"){const or=Ut(jt);if(!U[or]||ge[or])throw $h("root node is forbidden and cannot be sanitized in-place")}}else if(De instanceof c)fe=hl("<!---->"),Ee=fe.ownerDocument.importNode(De,!0),Ee.nodeType===dc.element&&Ee.nodeName==="BODY"||Ee.nodeName==="HTML"?fe=Ee:fe.appendChild(Ee);else{if(!Ln&&!ar&&!Pr&&De.indexOf("<")===-1)return O&&On?O.createHTML(De):De;if(fe=hl(De),!fe)return Ln?null:On?F:""}fe&&Wi&&Nr(fe.firstChild);const Nt=dl(di?De:fe);for(;pt=Nt.nextNode();)fi(pt),pl(pt),pt.content instanceof s&&Ki(pt.content);if(di)return De;if(Ln){if(ar){fe.normalize();let jt=fe.innerHTML;cc([X,J,W],or=>{jt=cs(jt,or," ")}),fe.innerHTML=jt}if(Nn)for(tt=z.call(fe.ownerDocument);fe.firstChild;)tt.appendChild(fe.firstChild);else tt=fe;return(N.shadowroot||N.shadowrootmode)&&(tt=M.call(n,tt,!0)),tt}let dr=Pr?fe.outerHTML:fe.innerHTML;return Pr&&U["!doctype"]&&fe.ownerDocument&&fe.ownerDocument.doctype&&fe.ownerDocument.doctype.name&&br(hR,fe.ownerDocument.doctype.name)&&(dr="<!DOCTYPE "+fe.ownerDocument.doctype.name+`>
39
+ `+dr),ar&&cc([X,J,W],jt=>{dr=cs(dr,jt," ")}),O&&On?O.createHTML(dr):dr},t.setConfig=function(){let De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ll(De),Xn=!0},t.clearConfig=function(){pi=null,Xn=!1},t.isValidAttribute=function(De,G,fe){pi||ll({});const Ee=Ut(De),pt=Ut(G);return vo(Ee,pt,fe)},t.addHook=function(De,G){typeof G=="function"&&uc(q[De],G)},t.removeHook=function(De,G){if(G!==void 0){const fe=o6(q[De],G);return fe===-1?void 0:s6(q[De],fe,1)[0]}return a1(q[De])},t.removeHooks=function(De){q[De]=[]},t.removeAllHooks=function(){q=g1()},t}var Ps=dR(),pR=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,Oc=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,v6=/\s*%%.*\n/gm,ws,fR=(ws=class extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}},T(ws,"UnknownDiagramError"),ws),po={},fy=T(function(e,t){e=e.replace(pR,"").replace(Oc,"").replace(v6,`
40
+ `);for(const[r,{detector:n}]of Object.entries(po))if(n(e,t))return r;throw new fR(`No diagram type detected matching given configuration for text: ${e}`)},"detectType"),Vm=T((...e)=>{for(const{id:t,detector:r,loader:n}of e)gR(t,r,n)},"registerLazyLoadedDiagrams"),gR=T((e,t,r)=>{po[e]&&pe.warn(`Detector with key ${e} already exists. Overwriting.`),po[e]={detector:t,loader:r},pe.debug(`Detector with key ${e} added${r?" with loader":""}`)},"addDetector"),A6=T(e=>po[e].loader,"getDiagramLoader"),Xm=T((e,t,{depth:r=2,clobber:n=!1}={})=>{const a={depth:r,clobber:n};return Array.isArray(t)&&!Array.isArray(e)?(t.forEach(s=>Xm(e,s,a)),e):Array.isArray(t)&&Array.isArray(e)?(t.forEach(s=>{e.includes(s)||e.push(s)}),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(s=>{typeof t[s]=="object"&&t[s]!==null&&(e[s]===void 0||typeof e[s]=="object")?(e[s]===void 0&&(e[s]=Array.isArray(t[s])?[]:{}),e[s]=Xm(e[s],t[s],{depth:r-1,clobber:n})):(n||typeof e[s]!="object"&&typeof t[s]!="object")&&(e[s]=t[s])}),e)},"assignWithDepth"),nr=Xm,li="#ffffff",ci="#f2f2f2",$e=T((e,t)=>t?A(e,{s:-40,l:10}):A(e,{s:-40,l:-10}),"mkBorder"),vs,R6=(vs=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.useGradient=!0,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||A(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||A(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$e(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$e(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Z(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Z(this.tertiaryColor),this.lineColor=this.lineColor||Z(this.background),this.arrowheadColor=this.arrowheadColor||Z(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?ae(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||ae(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Z(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||ie(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.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||ae(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||ae(this.mainBkg,10)):(this.rowOdd=this.rowOdd||ie(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ie(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||A(this.primaryColor,{h:30}),this.cScale4=this.cScale4||A(this.primaryColor,{h:60}),this.cScale5=this.cScale5||A(this.primaryColor,{h:90}),this.cScale6=this.cScale6||A(this.primaryColor,{h:120}),this.cScale7=this.cScale7||A(this.primaryColor,{h:150}),this.cScale8=this.cScale8||A(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||A(this.primaryColor,{h:270}),this.cScale10=this.cScale10||A(this.primaryColor,{h:300}),this.cScale11=this.cScale11||A(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=ae(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=ae(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||Z(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ie(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||ae(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||A(this.primaryColor,{h:64}),this.fillType3=this.fillType3||A(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||A(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||A(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||A(this.primaryColor,{h:128}),this.fillType7=this.fillType7||A(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||A(this.primaryColor,{l:-10}),this.pie5=this.pie5||A(this.secondaryColor,{l:-10}),this.pie6=this.pie6||A(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||A(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||A(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||A(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||A(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||A(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||A(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.venn1=this.venn1??A(this.primaryColor,{l:-30}),this.venn2=this.venn2??A(this.secondaryColor,{l:-30}),this.venn3=this.venn3??A(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??A(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??A(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??A(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??A(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??A(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:this.wardley?.backgroundColor||this.background,axisColor:this.wardley?.axisColor||this.lineColor,axisTextColor:this.wardley?.axisTextColor||this.primaryTextColor,gridColor:this.wardley?.gridColor||this.gridColor,componentFill:this.wardley?.componentFill||this.background,componentStroke:this.wardley?.componentStroke||this.lineColor,componentLabelColor:this.wardley?.componentLabelColor||this.primaryTextColor,linkStroke:this.wardley?.linkStroke||this.lineColor,evolutionStroke:this.wardley?.evolutionStroke||this.wardleyEvolutionColor,annotationStroke:this.wardley?.annotationStroke||this.lineColor,annotationTextColor:this.wardley?.annotationTextColor||this.primaryTextColor,annotationFill:this.wardley?.annotationFill||this.background},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||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.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?ae(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||A(this.primaryColor,{h:-30}),this.git4=this.git4||A(this.primaryColor,{h:-60}),this.git5=this.git5||A(this.primaryColor,{h:-90}),this.git6=this.git6||A(this.primaryColor,{h:60}),this.git7=this.git7||A(this.primaryColor,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor}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]})}},T(vs,"Theme"),vs),D6=T(e=>{const t=new R6;return t.calculate(e),t},"getThemeVariables"),As,L6=(As=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ie(this.primaryColor,16),this.tertiaryColor=A(this.primaryColor,{h:-160}),this.primaryBorderColor=Z(this.background),this.secondaryBorderColor=$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$e(this.tertiaryColor,this.darkMode),this.primaryTextColor=Z(this.primaryColor),this.secondaryTextColor=Z(this.secondaryColor),this.tertiaryTextColor=Z(this.tertiaryColor),this.lineColor=Z(this.background),this.textColor=Z(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ie(Z("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Aa(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.radius=5,this.strokeWidth=1,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.clusterBkg="#302F3D",this.sectionBkgColor=ae("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=ae(this.sectionBkgColor,10),this.taskBorderColor=Aa(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Aa(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||ie(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||ae(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal"}updateColors(){this.secondBkg=ie(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=ie(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=ie(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=Z(this.doneTaskBkgColor),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=A(this.primaryColor,{h:64}),this.fillType3=A(this.secondaryColor,{h:64}),this.fillType4=A(this.primaryColor,{h:-64}),this.fillType5=A(this.secondaryColor,{h:-64}),this.fillType6=A(this.primaryColor,{h:128}),this.fillType7=A(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||A(this.primaryColor,{h:30}),this.cScale4=this.cScale4||A(this.primaryColor,{h:60}),this.cScale5=this.cScale5||A(this.primaryColor,{h:90}),this.cScale6=this.cScale6||A(this.primaryColor,{h:120}),this.cScale7=this.cScale7||A(this.primaryColor,{h:150}),this.cScale8=this.cScale8||A(this.primaryColor,{h:210}),this.cScale9=this.cScale9||A(this.primaryColor,{h:270}),this.cScale10=this.cScale10||A(this.primaryColor,{h:300}),this.cScale11=this.cScale11||A(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Z(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||ie(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||A(this.mainBkg,{h:30,s:-30,l:-(-10+t*4)}),this["surfacePeer"+t]=this["surfacePeer"+t]||A(this.mainBkg,{h:30,s:-30,l:-(-7+t*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.mainContrastColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.mainContrastColor,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";for(let t=0;t<8;t++)this["venn"+(t+1)]=this["venn"+(t+1)]??ie(this["cScale"+t],30);this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.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:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#ff6b6b",this.wardley={backgroundColor:this.wardley?.backgroundColor||this.background,axisColor:this.wardley?.axisColor||this.lineColor,axisTextColor:this.wardley?.axisTextColor||this.primaryTextColor,gridColor:this.wardley?.gridColor||this.gridColor,componentFill:this.wardley?.componentFill||this.mainBkg,componentStroke:this.wardley?.componentStroke||this.lineColor,componentLabelColor:this.wardley?.componentLabelColor||this.primaryTextColor,linkStroke:this.wardley?.linkStroke||this.lineColor,evolutionStroke:this.wardley?.evolutionStroke||this.wardleyEvolutionColor,annotationStroke:this.wardley?.annotationStroke||this.lineColor,annotationTextColor:this.wardley?.annotationTextColor||this.primaryTextColor,annotationFill:this.wardley?.annotationFill||this.mainBkg},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?ae(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ie(this.secondaryColor,20),this.git1=ie(this.pie2||this.secondaryColor,20),this.git2=ie(this.pie3||this.tertiaryColor,20),this.git3=ie(this.pie4||A(this.primaryColor,{h:-30}),20),this.git4=ie(this.pie5||A(this.primaryColor,{h:-60}),20),this.git5=ie(this.pie6||A(this.primaryColor,{h:-90}),10),this.git6=ie(this.pie7||A(this.primaryColor,{h:60}),10),this.git7=ie(this.pie8||A(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Z(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Z(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.emUiFill=this.emUiFill||"#2d2d2d",this.emUiStroke=this.emUiStroke||"#555",this.emProcessorFill=this.emProcessorFill||ie("#5a3d5c",10),this.emProcessorStroke=this.emProcessorStroke||"#8a6d8c",this.emReadModelFill=this.emReadModelFill||ie("#3d5a2d",10),this.emReadModelStroke=this.emReadModelStroke||"#6d8c5c",this.emCommandFill=this.emCommandFill||ie("#2d3d5a",10),this.emCommandStroke=this.emCommandStroke||"#5c6d8c",this.emEventFill=this.emEventFill||ie("#5a452d",10),this.emEventStroke=this.emEventStroke||"#8c755c",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||ie(this.background,5),this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||ie(this.background,12),this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ie(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ie(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]})}},T(As,"Theme"),As),N6=T(e=>{const t=new L6;return t.calculate(e),t},"getThemeVariables"),Rs,O6=(Rs=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=A(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=A(this.primaryColor,{h:-160}),this.primaryBorderColor=$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$e(this.tertiaryColor,this.darkMode),this.primaryTextColor=Z(this.primaryColor),this.secondaryTextColor=Z(this.secondaryColor),this.tertiaryTextColor=Z(this.tertiaryColor),this.lineColor=Z(this.background),this.textColor=Z(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.primaryBorderColor=$e(this.primaryColor,this.darkMode),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.radius=5,this.strokeWidth=1,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.clusterBkg="#FBFBFF",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=Aa(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.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",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.useGradient=!1,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||A(this.primaryColor,{h:30}),this.cScale4=this.cScale4||A(this.primaryColor,{h:60}),this.cScale5=this.cScale5||A(this.primaryColor,{h:90}),this.cScale6=this.cScale6||A(this.primaryColor,{h:120}),this.cScale7=this.cScale7||A(this.primaryColor,{h:150}),this.cScale8=this.cScale8||A(this.primaryColor,{h:210}),this.cScale9=this.cScale9||A(this.primaryColor,{h:270}),this.cScale10=this.cScale10||A(this.primaryColor,{h:300}),this.cScale11=this.cScale11||A(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||ae(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||ae(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=ae(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||ae(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||A(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||A(this.mainBkg,{h:30,l:-(5+t*5)}),this["surfacePeer"+t]=this["surfacePeer"+t]||A(this.mainBkg,{h:30,l:-(7+t*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||Z(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||Z(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||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=this.border1,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||ie(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||ie(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=A(this.primaryColor,{h:64}),this.fillType3=A(this.secondaryColor,{h:64}),this.fillType4=A(this.primaryColor,{h:-64}),this.fillType5=A(this.secondaryColor,{h:-64}),this.fillType6=A(this.primaryColor,{h:128}),this.fillType7=A(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||A(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||A(this.primaryColor,{l:-10}),this.pie5=this.pie5||A(this.secondaryColor,{l:-30}),this.pie6=this.pie6||A(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||A(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||A(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||A(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||A(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||A(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||A(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.venn1=this.venn1??A(this.primaryColor,{l:-30}),this.venn2=this.venn2??A(this.secondaryColor,{l:-30}),this.venn3=this.venn3??A(this.tertiaryColor,{l:-40}),this.venn4=this.venn4??A(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??A(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??A(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??A(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??A(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:this.wardley?.backgroundColor||this.background,axisColor:this.wardley?.axisColor||this.lineColor,axisTextColor:this.wardley?.axisTextColor||this.primaryTextColor,gridColor:this.wardley?.gridColor||this.gridColor,componentFill:this.wardley?.componentFill||this.background,componentStroke:this.wardley?.componentStroke||this.lineColor,componentLabelColor:this.wardley?.componentLabelColor||this.primaryTextColor,linkStroke:this.wardley?.linkStroke||this.lineColor,evolutionStroke:this.wardley?.evolutionStroke||this.wardleyEvolutionColor,annotationStroke:this.wardley?.annotationStroke||this.lineColor,annotationTextColor:this.wardley?.annotationTextColor||this.primaryTextColor,annotationFill:this.wardley?.annotationFill||this.background},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.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||A(this.primaryColor,{h:-30}),this.git4=this.git4||A(this.primaryColor,{h:-60}),this.git5=this.git5||A(this.primaryColor,{h:-90}),this.git6=this.git6||A(this.primaryColor,{h:60}),this.git7=this.git7||A(this.primaryColor,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||ae(Z(this.git0),25),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Z(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Z(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.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Rs,"Theme"),Rs),I6=T(e=>{const t=new O6;return t.calculate(e),t},"getThemeVariables"),Ds,B6=(Ds=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=ie("#cde498",10),this.primaryBorderColor=$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$e(this.tertiaryColor,this.darkMode),this.primaryTextColor=Z(this.primaryColor),this.secondaryTextColor=Z(this.secondaryColor),this.tertiaryTextColor=Z(this.primaryColor),this.lineColor=Z(this.background),this.textColor=Z(this.background),this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,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.noteFontWeight="normal",this.fontWeight="normal",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))"}updateColors(){this.actorBorder=ae(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||A(this.primaryColor,{h:30}),this.cScale4=this.cScale4||A(this.primaryColor,{h:60}),this.cScale5=this.cScale5||A(this.primaryColor,{h:90}),this.cScale6=this.cScale6||A(this.primaryColor,{h:120}),this.cScale7=this.cScale7||A(this.primaryColor,{h:150}),this.cScale8=this.cScale8||A(this.primaryColor,{h:210}),this.cScale9=this.cScale9||A(this.primaryColor,{h:270}),this.cScale10=this.cScale10||A(this.primaryColor,{h:300}),this.cScale11=this.cScale11||A(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||ae(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||ae(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=ae(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||ae(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||A(this["cScale"+t],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||A(this.mainBkg,{h:30,s:-30,l:-(5+t*5)}),this["surfacePeer"+t]=this["surfacePeer"+t]||A(this.mainBkg,{h:30,s:-30,l:-(8+t*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||ie(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ie(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=A(this.primaryColor,{h:64}),this.fillType3=A(this.secondaryColor,{h:64}),this.fillType4=A(this.primaryColor,{h:-64}),this.fillType5=A(this.secondaryColor,{h:-64}),this.fillType6=A(this.primaryColor,{h:128}),this.fillType7=A(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||A(this.primaryColor,{l:-30}),this.pie5=this.pie5||A(this.secondaryColor,{l:-30}),this.pie6=this.pie6||A(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||A(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||A(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||A(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||A(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||A(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||A(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.venn1=this.venn1??A(this.primaryColor,{l:-30}),this.venn2=this.venn2??A(this.secondaryColor,{l:-30}),this.venn3=this.venn3??A(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??A(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??A(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??A(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??A(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??A(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:this.wardley?.backgroundColor||this.background,axisColor:this.wardley?.axisColor||this.lineColor,axisTextColor:this.wardley?.axisTextColor||this.primaryTextColor,gridColor:this.wardley?.gridColor||this.gridColor,componentFill:this.wardley?.componentFill||this.background,componentStroke:this.wardley?.componentStroke||this.lineColor,componentLabelColor:this.wardley?.componentLabelColor||this.primaryTextColor,linkStroke:this.wardley?.linkStroke||this.lineColor,evolutionStroke:this.wardley?.evolutionStroke||this.wardleyEvolutionColor,annotationStroke:this.wardley?.annotationStroke||this.lineColor,annotationTextColor:this.wardley?.annotationTextColor||this.primaryTextColor,annotationFill:this.wardley?.annotationFill||this.background},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.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||A(this.primaryColor,{h:-30}),this.git4=this.git4||A(this.primaryColor,{h:-60}),this.git5=this.git5||A(this.primaryColor,{h:-90}),this.git6=this.git6||A(this.primaryColor,{h:60}),this.git7=this.git7||A(this.primaryColor,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Z(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Z(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.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Ds,"Theme"),Ds),F6=T(e=>{const t=new B6;return t.calculate(e),t},"getThemeVariables"),Ls,M6=(Ls=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=ie(this.contrast,55),this.background="#ffffff",this.tertiaryColor=A(this.primaryColor,{h:-160}),this.primaryBorderColor=$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$e(this.tertiaryColor,this.darkMode),this.primaryTextColor=Z(this.primaryColor),this.secondaryTextColor=Z(this.secondaryColor),this.tertiaryTextColor=Z(this.tertiaryColor),this.lineColor=Z(this.background),this.textColor=Z(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.radius=5,this.strokeWidth=1,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.noteFontWeight="normal",this.fontWeight="normal",this.rowOdd=this.rowOdd||ie(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){this.secondBkg=ie(this.contrast,55),this.border2=this.contrast,this.actorBorder=ie(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 t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Z(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||ie(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||ae(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||A(this.mainBkg,{l:-(5+t*5)}),this["surfacePeer"+t]=this["surfacePeer"+t]||A(this.mainBkg,{l:-(8+t*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=ie(this.contrast,30),this.sectionBkgColor2=ie(this.contrast,30),this.taskBorderColor=ae(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=ie(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=ae(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=A(this.primaryColor,{h:64}),this.fillType3=A(this.secondaryColor,{h:64}),this.fillType4=A(this.primaryColor,{h:-64}),this.fillType5=A(this.secondaryColor,{h:-64}),this.fillType6=A(this.primaryColor,{h:128}),this.fillType7=A(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];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";for(let t=0;t<8;t++)this["venn"+(t+1)]=this["venn"+(t+1)]??this["cScale"+t];this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:this.wardley?.backgroundColor||this.background,axisColor:this.wardley?.axisColor||this.lineColor,axisTextColor:this.wardley?.axisTextColor||this.primaryTextColor,gridColor:this.wardley?.gridColor||this.gridColor,componentFill:this.wardley?.componentFill||this.background,componentStroke:this.wardley?.componentStroke||this.lineColor,componentLabelColor:this.wardley?.componentLabelColor||this.primaryTextColor,linkStroke:this.wardley?.linkStroke||this.lineColor,evolutionStroke:this.wardley?.evolutionStroke||this.wardleyEvolutionColor,annotationStroke:this.wardley?.annotationStroke||this.lineColor,annotationTextColor:this.wardley?.annotationTextColor||this.primaryTextColor,annotationFill:this.wardley?.annotationFill||this.background},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=ae(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||A(this.primaryColor,{h:-30}),this.git4=this.pie5||A(this.primaryColor,{h:-60}),this.git5=this.pie6||A(this.primaryColor,{h:-90}),this.git6=this.pie7||A(this.primaryColor,{h:60}),this.git7=this.pie8||A(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Ls,"Theme"),Ls),U6=T(e=>{const t=new M6;return t.calculate(e),t},"getThemeVariables"),Ns,$6=(Ns=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=2,this.primaryBorderColor=$e(this.primaryColor,this.darkMode),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.nodeBorder="#000000",this.stateBorder="#000000",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));",this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||A(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||A(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$e(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$e(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Z(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Z(this.tertiaryColor),this.lineColor=this.lineColor||Z(this.background),this.arrowheadColor=this.arrowheadColor||Z(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?ae(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||ae(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Z(this.lineColor);const t="#ECECFE",r="#E9E9F1",n=A(t,{h:180,l:5});if(this.sectionBkgColor=this.sectionBkgColor||n,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||r,this.sectionBkgColor2=this.sectionBkgColor2||t,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||t,this.activeTaskBorderColor=this.activeTaskBorderColor||t,this.activeTaskBkgColor=this.activeTaskBkgColor||ie(t,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.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,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.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||t,this.cScale1=this.cScale1||r,this.cScale2=this.cScale2||n,this.cScale3=this.cScale3||A(t,{h:30}),this.cScale4=this.cScale4||A(t,{h:60}),this.cScale5=this.cScale5||A(t,{h:90}),this.cScale6=this.cScale6||A(t,{h:120}),this.cScale7=this.cScale7||A(t,{h:150}),this.cScale8=this.cScale8||A(t,{h:210,l:150}),this.cScale9=this.cScale9||A(t,{h:270}),this.cScale10=this.cScale10||A(t,{h:300}),this.cScale11=this.cScale11||A(t,{h:330}),this.darkMode)for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScale"+s]=ae(this["cScale"+s],75);else for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScale"+s]=ae(this["cScale"+s],25);for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScaleInv"+s]=this["cScaleInv"+s]||Z(this["cScale"+s]);for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this.darkMode?this["cScalePeer"+s]=this["cScalePeer"+s]||ie(this["cScale"+s],10):this["cScalePeer"+s]=this["cScalePeer"+s]||ae(this["cScale"+s],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScaleLabel"+s]=this["cScaleLabel"+s]||this.scaleLabelColor;const a=this.darkMode?-4:-1;for(let s=0;s<5;s++)this["surface"+s]=this["surface"+s]||A(this.mainBkg,{h:180,s:-15,l:a*(5+s*3)}),this["surfacePeer"+s]=this["surfacePeer"+s]||A(this.mainBkg,{h:180,s:-15,l:a*(8+s*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||t,this.fillType1=this.fillType1||r,this.fillType2=this.fillType2||A(t,{h:64}),this.fillType3=this.fillType3||A(r,{h:64}),this.fillType4=this.fillType4||A(t,{h:-64}),this.fillType5=this.fillType5||A(r,{h:-64}),this.fillType6=this.fillType6||A(t,{h:128}),this.fillType7=this.fillType7||A(r,{h:128}),this.pie1=this.pie1||t,this.pie2=this.pie2||r,this.pie3=this.pie3||n,this.pie4=this.pie4||A(t,{l:-10}),this.pie5=this.pie5||A(r,{l:-10}),this.pie6=this.pie6||A(n,{l:-10}),this.pie7=this.pie7||A(t,{h:60,l:-10}),this.pie8=this.pie8||A(t,{h:-60,l:-10}),this.pie9=this.pie9||A(t,{h:120,l:0}),this.pie10=this.pie10||A(t,{h:60,l:-20}),this.pie11=this.pie11||A(t,{h:-60,l:-20}),this.pie12=this.pie12||A(t,{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.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||t,this.quadrant2Fill=this.quadrant2Fill||A(t,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(t,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(t,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||t,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?ae(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||t,this.git1=this.git1||r,this.git2=this.git2||n,this.git3=this.git3||A(t,{h:-30}),this.git4=this.git4||A(t,{h:-60}),this.git5=this.git5||A(t,{h:-90}),this.git6=this.git6||A(t,{h:60}),this.git7=this.git7||A(t,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Ns,"Theme"),Ns),z6=T(e=>{const t=new $6;return t.calculate(e),t},"getThemeVariables"),Os,P6=(Os=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ie(this.primaryColor,16),this.tertiaryColor=A(this.primaryColor,{h:-160}),this.primaryBorderColor=Z(this.background),this.secondaryBorderColor=$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$e(this.tertiaryColor,this.darkMode),this.primaryTextColor=Z(this.primaryColor),this.secondaryTextColor=Z(this.secondaryColor),this.tertiaryTextColor=Z(this.tertiaryColor),this.mainBkg="#2a2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ie(Z("#323D47"),10),this.border1="#ccc",this.border2=Aa(255,255,255,.25),this.arrowheadColor=Z(this.background),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=1,this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily="arial, sans-serif",this.fontSize="14px",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||A(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||A(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$e(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$e(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Z(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Z(this.tertiaryColor),this.lineColor=this.lineColor||Z(this.background),this.arrowheadColor=this.arrowheadColor||Z(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.border1,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?ae(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||ae(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Z(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||ie(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||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,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.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||A(this.primaryColor,{h:30}),this.cScale4=this.cScale4||A(this.primaryColor,{h:60}),this.cScale5=this.cScale5||A(this.primaryColor,{h:90}),this.cScale6=this.cScale6||A(this.primaryColor,{h:120}),this.cScale7=this.cScale7||A(this.primaryColor,{h:150}),this.cScale8=this.cScale8||A(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||A(this.primaryColor,{h:270}),this.cScale10=this.cScale10||A(this.primaryColor,{h:300}),this.cScale11=this.cScale11||A(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=ae(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=ae(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||Z(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ie(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||ae(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||A(this.primaryColor,{h:64}),this.fillType3=this.fillType3||A(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||A(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||A(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||A(this.primaryColor,{h:128}),this.fillType7=this.fillType7||A(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||A(this.primaryColor,{l:-10}),this.pie5=this.pie5||A(this.secondaryColor,{l:-10}),this.pie6=this.pie6||A(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||A(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||A(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||A(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||A(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||A(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||A(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.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.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?ae(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||"#0b0000",this.git1=this.git1||"#4d1037",this.git2=this.git2||"#3f5258",this.git3=this.git3||"#4f2f1b",this.git4=this.git4||"#6e0a0a",this.git5=this.git5||"#3b0048",this.git6=this.git6||"#995a01",this.git7=this.git7||"#154706",this.gitDarkMode=!0,this.gitDarkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Os,"Theme"),Os),H6=T(e=>{const t=new P6;return t.calculate(e),t},"getThemeVariables"),Is,q6=(Is=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=$e("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||A(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||A(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$e(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$e(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#FEF9C3",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||Z(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Z(this.tertiaryColor),this.lineColor=this.lineColor||Z(this.background),this.arrowheadColor=this.arrowheadColor||Z(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?ae(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.noteFontWeight=600,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||ae(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Z(this.lineColor);const t="#ECECFE",r="#E9E9F1",n=A(t,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||n,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||r,this.sectionBkgColor2=this.sectionBkgColor2||t,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||t,this.activeTaskBorderColor=this.activeTaskBorderColor||t,this.activeTaskBkgColor=this.activeTaskBkgColor||ie(t,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.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.compositeTitleBackground="#F9F9FB",this.altBackground="#F9F9FB",this.stateEdgeLabelBackground="#FFFFFF",this.fontWeight=600,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.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor;for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScale"+s]=this.mainBkg;if(this.darkMode)for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScale"+s]=ae(this["cScale"+s],75);else for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScale"+s]=ae(this["cScale"+s],25);for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScaleInv"+s]=this["cScaleInv"+s]||Z(this["cScale"+s]);for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this.darkMode?this["cScalePeer"+s]=this["cScalePeer"+s]||ie(this["cScale"+s],10):this["cScalePeer"+s]=this["cScalePeer"+s]||ae(this["cScale"+s],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScaleLabel"+s]=this["cScaleLabel"+s]||this.scaleLabelColor;const a=this.darkMode?-4:-1;for(let s=0;s<5;s++)this["surface"+s]=this["surface"+s]||A(this.mainBkg,{h:180,s:-15,l:a*(5+s*3)}),this["surfacePeer"+s]=this["surfacePeer"+s]||A(this.mainBkg,{h:180,s:-15,l:a*(8+s*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||t,this.fillType1=this.fillType1||r,this.fillType2=this.fillType2||A(t,{h:64}),this.fillType3=this.fillType3||A(r,{h:64}),this.fillType4=this.fillType4||A(t,{h:-64}),this.fillType5=this.fillType5||A(r,{h:-64}),this.fillType6=this.fillType6||A(t,{h:128}),this.fillType7=this.fillType7||A(r,{h:128}),this.pie1=this.pie1||t,this.pie2=this.pie2||r,this.pie3=this.pie3||n,this.pie4=this.pie4||A(t,{l:-10}),this.pie5=this.pie5||A(r,{l:-10}),this.pie6=this.pie6||A(n,{l:-10}),this.pie7=this.pie7||A(t,{h:60,l:-10}),this.pie8=this.pie8||A(t,{h:-60,l:-10}),this.pie9=this.pie9||A(t,{h:120,l:0}),this.pie10=this.pie10||A(t,{h:60,l:-20}),this.pie11=this.pie11||A(t,{h:-60,l:-20}),this.pie12=this.pie12||A(t,{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.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||t,this.quadrant2Fill=this.quadrant2Fill||A(t,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(t,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(t,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||t,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?ae(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#FFFFFF",this.git0=this.git0||t,this.git1=this.git1||r,this.git2=this.git2||n,this.git3=this.git3||A(t,{h:-30}),this.git4=this.git4||A(t,{h:-60}),this.git5=this.git5||A(t,{h:-90}),this.git6=this.git6||A(t,{h:60}),this.git7=this.git7||A(t,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Is,"Theme"),Is),G6=T(e=>{const t=new q6;return t.calculate(e),t},"getThemeVariables"),Bs,j6=(Bs=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ie(this.primaryColor,16),this.tertiaryColor=A(this.primaryColor,{h:-160}),this.primaryBorderColor=Z(this.background),this.secondaryBorderColor=$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$e(this.tertiaryColor,this.darkMode),this.primaryTextColor=Z(this.primaryColor),this.secondaryTextColor=Z(this.secondaryColor),this.tertiaryTextColor=Z(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ie(Z("#323D47"),10),this.border1="#ccc",this.border2=Aa(255,255,255,.25),this.arrowheadColor=Z(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.filterColor="#FFFFFF"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||A(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||A(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$e(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$e(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||Z(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Z(this.tertiaryColor),this.lineColor=this.lineColor||Z(this.background),this.arrowheadColor=this.arrowheadColor||Z(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.border1,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?ae(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",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||ae(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Z(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||ie(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.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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.compositeBackground="#16141F",this.altBackground="#16141F",this.compositeTitleBackground="#16141F",this.stateEdgeLabelBackground="#16141F",this.fontWeight=600,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.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||A(this.primaryColor,{h:30}),this.cScale4=this.cScale4||A(this.primaryColor,{h:60}),this.cScale5=this.cScale5||A(this.primaryColor,{h:90}),this.cScale6=this.cScale6||A(this.primaryColor,{h:120}),this.cScale7=this.cScale7||A(this.primaryColor,{h:150}),this.cScale8=this.cScale8||A(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||A(this.primaryColor,{h:270}),this.cScale10=this.cScale10||A(this.primaryColor,{h:300}),this.cScale11=this.cScale11||A(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=ae(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=ae(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||Z(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ie(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||ae(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||A(this.primaryColor,{h:64}),this.fillType3=this.fillType3||A(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||A(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||A(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||A(this.primaryColor,{h:128}),this.fillType7=this.fillType7||A(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||A(this.primaryColor,{l:-10}),this.pie5=this.pie5||A(this.secondaryColor,{l:-10}),this.pie6=this.pie6||A(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||A(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||A(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||A(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||A(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||A(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||A(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.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.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?ae(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#16141F",this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||A(this.primaryColor,{h:-30}),this.git4=this.git4||A(this.primaryColor,{h:-60}),this.git5=this.git5||A(this.primaryColor,{h:-90}),this.git6=this.git6||A(this.primaryColor,{h:60}),this.git7=this.git7||A(this.primaryColor,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Bs,"Theme"),Bs),W6=T(e=>{const t=new j6;return t.calculate(e),t},"getThemeVariables"),Fs,Y6=(Fs=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=$e(this.primaryColor,this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=["#FDF4FF","#F0FDFA","#FFF7ED","#ECFEFF","#F0FDF4","#F5F3FF","#FEF2F2","#FEFCE8","#EEF2FF","#F7FEE7","#F0F9FF","#FFF1F2"],this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||A(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||A(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$e(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$e(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||Z(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Z(this.tertiaryColor),this.lineColor=this.lineColor||Z(this.background),this.arrowheadColor=this.arrowheadColor||Z(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?ae(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||ae(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Z(this.lineColor);const t="#ECECFE",r="#E9E9F1",n=A(t,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||n,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||r,this.sectionBkgColor2=this.sectionBkgColor2||t,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||t,this.activeTaskBorderColor=this.activeTaskBorderColor||t,this.activeTaskBkgColor=this.activeTaskBkgColor||ie(t,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.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,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.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||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScaleInv"+s]=this["cScaleInv"+s]||Z(this["cScale"+s]);for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this.darkMode?this["cScalePeer"+s]=this["cScalePeer"+s]||ie(this["cScale"+s],10):this["cScalePeer"+s]=this["cScalePeer"+s]||ae(this["cScale"+s],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let s=0;s<this.THEME_COLOR_LIMIT;s++)this["cScaleLabel"+s]=this["cScaleLabel"+s]||this.scaleLabelColor;const a=this.darkMode?-4:-1;for(let s=0;s<5;s++)this["surface"+s]=this["surface"+s]||A(this.mainBkg,{h:180,s:-15,l:a*(5+s*3)}),this["surfacePeer"+s]=this["surfacePeer"+s]||A(this.mainBkg,{h:180,s:-15,l:a*(8+s*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||t,this.fillType1=this.fillType1||r,this.fillType2=this.fillType2||A(t,{h:64}),this.fillType3=this.fillType3||A(r,{h:64}),this.fillType4=this.fillType4||A(t,{h:-64}),this.fillType5=this.fillType5||A(r,{h:-64}),this.fillType6=this.fillType6||A(t,{h:128}),this.fillType7=this.fillType7||A(r,{h:128}),this.pie1=this.pie1||t,this.pie2=this.pie2||r,this.pie3=this.pie3||n,this.pie4=this.pie4||A(t,{l:-10}),this.pie5=this.pie5||A(r,{l:-10}),this.pie6=this.pie6||A(n,{l:-10}),this.pie7=this.pie7||A(t,{h:60,l:-10}),this.pie8=this.pie8||A(t,{h:-60,l:-10}),this.pie9=this.pie9||A(t,{h:120,l:0}),this.pie10=this.pie10||A(t,{h:60,l:-20}),this.pie11=this.pie11||A(t,{h:-60,l:-20}),this.pie12=this.pie12||A(t,{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.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||t,this.quadrant2Fill=this.quadrant2Fill||A(t,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(t,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(t,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||t,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?ae(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||t,this.git1=this.git1||r,this.git2=this.git2||n,this.git3=this.git3||A(t,{h:-30}),this.git4=this.git4||A(t,{h:-60}),this.git5=this.git5||A(t,{h:-90}),this.git6=this.git6||A(t,{h:60}),this.git7=this.git7||A(t,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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.commitLineColor=this.commitLineColor??"#BDBCCC",this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.fontWeight=600,this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Fs,"Theme"),Fs),V6=T(e=>{const t=new Y6;return t.calculate(e),t},"getThemeVariables"),Ms,X6=(Ms=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ie(this.primaryColor,16),this.tertiaryColor=A(this.primaryColor,{h:-160}),this.primaryBorderColor=Z(this.background),this.secondaryBorderColor=$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$e(this.tertiaryColor,this.darkMode),this.primaryTextColor=Z(this.primaryColor),this.secondaryTextColor=Z(this.secondaryColor),this.tertiaryTextColor=Z(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ie(Z("#323D47"),10),this.border1="#ccc",this.border2=Aa(255,255,255,.25),this.arrowheadColor=Z(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=[],this.filterColor="#FFFFFF"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||A(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||A(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$e(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$e(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$e(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$e(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||Z(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Z(this.tertiaryColor),this.lineColor=this.lineColor||Z(this.background),this.arrowheadColor=this.arrowheadColor||Z(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.border1,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?ae(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",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||ae(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Z(this.lineColor),this.rootLabelColor="#FFFFFF",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||ie(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.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,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.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||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||Z(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ie(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||ae(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=ae(this["cScale"+r],75);const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||A(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||A(this.primaryColor,{h:64}),this.fillType3=this.fillType3||A(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||A(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||A(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||A(this.primaryColor,{h:128}),this.fillType7=this.fillType7||A(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||A(this.primaryColor,{l:-10}),this.pie5=this.pie5||A(this.secondaryColor,{l:-10}),this.pie6=this.pie6||A(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||A(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||A(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||A(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||A(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||A(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||A(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.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||A(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||A(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||A(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||A(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||A(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||A(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||Yn(this.quadrant1Fill)?ie(this.quadrant1Fill):ae(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:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.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?ae(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||A(this.primaryColor,{h:-30}),this.git4=this.git4||A(this.primaryColor,{h:-60}),this.git5=this.git5||A(this.primaryColor,{h:-90}),this.git6=this.git6||A(this.primaryColor,{h:60}),this.git7=this.git7||A(this.primaryColor,{h:120}),this.darkMode?(this.git0=ie(this.git0,25),this.git1=ie(this.git1,25),this.git2=ie(this.git2,25),this.git3=ie(this.git3,25),this.git4=ie(this.git4,25),this.git5=ie(this.git5,25),this.git6=ie(this.git6,25),this.git7=ie(this.git7,25)):(this.git0=ae(this.git0,25),this.git1=ae(this.git1,25),this.git2=ae(this.git2,25),this.git3=ae(this.git3,25),this.git4=ae(this.git4,25),this.git5=ae(this.git5,25),this.git6=ae(this.git6,25),this.git7=ae(this.git7,25)),this.gitInv0=this.gitInv0||Z(this.git0),this.gitInv1=this.gitInv1||Z(this.git1),this.gitInv2=this.gitInv2||Z(this.git2),this.gitInv3=this.gitInv3||Z(this.git3),this.gitInv4=this.gitInv4||Z(this.git4),this.gitInv5=this.gitInv5||Z(this.git5),this.gitInv6=this.gitInv6||Z(this.git6),this.gitInv7=this.gitInv7||Z(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.commitLineColor=this.commitLineColor??"#BDBCCC",this.fontWeight=600,this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||li,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ci}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]})}},T(Ms,"Theme"),Ms),Z6=T(e=>{const t=new X6;return t.calculate(e),t},"getThemeVariables"),Mi={base:{getThemeVariables:D6},dark:{getThemeVariables:N6},default:{getThemeVariables:I6},forest:{getThemeVariables:F6},neutral:{getThemeVariables:U6},neo:{getThemeVariables:z6},"neo-dark":{getThemeVariables:H6},redux:{getThemeVariables:G6},"redux-dark":{getThemeVariables:W6},"redux-color":{getThemeVariables:V6},"redux-dark-color":{getThemeVariables:Z6}},Ir={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:null,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,hierarchicalNamespaces:!0},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,showDataLabelOutsideBar:!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,layoutAlgorithm:"cose-bilkent"},ishikawa:{useMaxWidth:!0,diagramPadding:20},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:"",nodeWidth:10,nodePadding:12,labelStyle:"legacy"},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},treeView:{useMaxWidth:!0,rowIndent:10,paddingX:5,paddingY:5,lineThickness:1},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16,randomize:!1,nodeSeparation:75,idealEdgeLengthMultiplier:1.5,edgeElasticity:.45,numIter:2500},eventmodeling:{useMaxWidth:!0,padding:30,rowHeight:32},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},venn:{useMaxWidth:!0,width:800,height:450,padding:8,useDebugLayout:!1},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},mR={...Ir,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:Mi.default.getThemeVariables(),sequence:{...Ir.sequence,messageFont:T(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:T(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:T(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},gantt:{...Ir.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Ir.c4,useWidth:void 0,personFont:T(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...Ir.flowchart,inheritDir:!1},external_personFont:T(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:T(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:T(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:T(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:T(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:T(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:T(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:T(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:T(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:T(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:T(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:T(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:T(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:T(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:T(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:T(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:T(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:T(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:T(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:T(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:T(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...Ir.pie,useWidth:984},xyChart:{...Ir.xyChart,useWidth:void 0},requirement:{...Ir.requirement,useWidth:void 0},packet:{...Ir.packet},eventmodeling:{...Ir.eventmodeling},treeView:{...Ir.treeView,useWidth:void 0},radar:{...Ir.radar},ishikawa:{...Ir.ishikawa},sankey:{...Ir.sankey,nodeColors:void 0},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","},venn:{...Ir.venn}},bR=T((e,t="")=>Object.keys(e).reduce((r,n)=>Array.isArray(e[n])?r:typeof e[n]=="object"&&e[n]!==null?[...r,t+n,...bR(e[n],"")]:[...r,t+n],[]),"keyify"),K6=new Set(bR(mR,"")),yR=mR,Cd=T(e=>{if(pe.debug("sanitizeDirective called with",e),!(typeof e!="object"||e==null)){if(Array.isArray(e)){e.forEach(t=>Cd(t));return}for(const t of Object.keys(e)){if(pe.debug("Checking key",t),t.startsWith("__")||t.includes("proto")||t.includes("constr")||!K6.has(t)||e[t]==null){pe.debug("sanitize deleting key: ",t),delete e[t];continue}if(typeof e[t]=="object"){if(t==="nodeColors"){const n=/^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i;for(const a of Object.keys(e[t]))(typeof e[t][a]!="string"||!n.test(e[t][a]))&&(pe.debug("sanitize deleting invalid color:",a,e[t][a]),delete e[t][a])}else pe.debug("sanitizing object",t),Cd(e[t]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const n of r)t.includes(n)&&(pe.debug("sanitizing css option",t),e[t]=SR(e[t]))}if(e.themeVariables)for(const t of Object.keys(e.themeVariables)){const r=e.themeVariables[t];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(e.themeVariables[t]="")}pe.debug("After sanitization",e)}},"sanitizeDirective"),SR=T(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"),Hs=Object.freeze(yR),qi=T(e=>!(e===!1||["false","null","0"].includes(String(e).trim().toLowerCase())),"evaluate"),Kr=nr({},Hs),Ed,fo=[],Ic=nr({},Hs),op=T((e,t)=>{let r=nr({},e),n={};for(const a of t)xR(a),n=nr(n,a);if(r=nr(r,n),n.theme&&n.theme in Mi){const a=nr({},Ed),s=nr(a.themeVariables||{},n.themeVariables);r.theme&&r.theme in Mi&&(r.themeVariables=Mi[r.theme].getThemeVariables(s))}return Ic=r,TR(Ic),Ic},"updateCurrentConfig"),Q6=T(e=>(Kr=nr({},Hs),Kr=nr(Kr,e),e.theme&&Mi[e.theme]&&(Kr.themeVariables=Mi[e.theme].getThemeVariables(e.themeVariables)),op(Kr,fo),Kr),"setSiteConfig"),J6=T(e=>{Ed=nr({},e)},"saveConfigFromInitialize"),e8=T(e=>(Kr=nr(Kr,e),op(Kr,fo),Kr),"updateSiteConfig"),CR=T(()=>nr({},Kr),"getSiteConfig"),ER=T(e=>(TR(e),nr(Ic,e),Ot()),"setConfig"),Ot=T(()=>nr({},Ic),"getConfig"),xR=T(e=>{e&&(["secure",...Kr.secure??[]].forEach(t=>{Object.hasOwn(e,t)&&(pe.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"&&xR(e[t])}))},"sanitize"),t8=T(e=>{Cd(e),e.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables={...e.themeVariables,fontFamily:e.fontFamily}),fo.push(e),op(Kr,fo)},"addDirective"),xd=T((e=Kr)=>{fo=[],op(e,fo)},"reset"),r8={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",FLOWCHART_HTML_LABELS_DEPRECATED:"flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."},m1={},kR=T(e=>{m1[e]||(pe.warn(r8[e]),m1[e]=!0)},"issueWarning"),TR=T(e=>{e&&(e.lazyLoadedDiagrams||e.loadExternalDiagramsAtStartup)&&kR("LAZY_LOAD_DEPRECATED")},"checkConfig"),xQ=T(()=>{let e={};Ed&&(e=nr(e,Ed));for(const t of fo)e=nr(e,t);return e},"getUserDefinedConfig"),zr=T(e=>(e.flowchart?.htmlLabels!=null&&kR("FLOWCHART_HTML_LABELS_DEPRECATED"),qi(e.htmlLabels??e.flowchart?.htmlLabels??!0)),"getEffectiveHtmlLabels"),au=/<br\s*\/?>/gi,n8=T(e=>e?vR(e).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),i8=(()=>{let e=!1;return()=>{e||(_R(),e=!0)}})();function _R(){const e="data-temp-href-target";Ps.addHook("beforeSanitizeAttributes",t=>{t.tagName==="A"&&t.hasAttribute("target")&&t.setAttribute(e,t.getAttribute("target")??"")}),Ps.addHook("afterSanitizeAttributes",t=>{t.tagName==="A"&&t.hasAttribute(e)&&(t.setAttribute("target",t.getAttribute(e)??""),t.removeAttribute(e),t.getAttribute("target")==="_blank"&&t.setAttribute("rel","noopener"))})}T(_R,"setupDompurifyHooks");var wR=T(e=>(i8(),Ps.sanitize(e)),"removeScript"),b1=T((e,t)=>{if(zr(t)){const r=t.securityLevel;r==="antiscript"||r==="strict"||r==="sandbox"?e=wR(e):r!=="loose"&&(e=vR(e),e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"),e=e.replace(/=/g,"&equals;"),e=l8(e))}return e},"sanitizeMore"),Wn=T((e,t)=>e&&(t.dompurifyConfig?e=Ps.sanitize(b1(e,t),t.dompurifyConfig).toString():e=Ps.sanitize(b1(e,t),{FORBID_TAGS:["style"]}).toString(),e),"sanitizeText"),a8=T((e,t)=>typeof e=="string"?Wn(e,t):e.flat().map(r=>Wn(r,t)),"sanitizeTextOrArray"),o8=T(e=>au.test(e),"hasBreaks"),s8=T(e=>e.split(au),"splitBreaks"),l8=T(e=>e.replace(/#br#/g,"<br/>"),"placeholderToBreak"),vR=T(e=>e.replace(au,"#br#"),"breakToPlaceholder"),c8=T(e=>{let t="";return e&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,t=CSS.escape(t)),t},"getUrl"),u8=T(function(...e){const t=e.filter(r=>!isNaN(r));return Math.max(...t)},"getMax"),h8=T(function(...e){const t=e.filter(r=>!isNaN(r));return Math.min(...t)},"getMin"),y1=T(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 s=t[n-1],l=t[n+1];d8(s,l)&&(a=s+","+l,n++,r.pop())}r.push(p8(a))}return r.join("")},"parseGenericTypes"),Zm=T((e,t)=>Math.max(0,e.split(t).length-1),"countOccurrence"),d8=T((e,t)=>{const r=Zm(e,"~"),n=Zm(t,"~");return r===1&&n===1},"shouldCombineSets"),p8=T(e=>{const t=Zm(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("~"),s=n.lastIndexOf("~");for(;a!==-1&&s!==-1&&a!==s;)n[a]="<",n[s]=">",a=n.indexOf("~"),s=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")},"processSet"),S1=T(()=>window.MathMLElement!==void 0,"isMathMLSupported"),Km=/\$\$(.*)\$\$/g,qc=T(e=>(e.match(Km)?.length??0)>0,"hasKatex"),kQ=T(async(e,t)=>{const r=document.createElement("div");r.innerHTML=await AR(e,t),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",r);const a={width:r.clientWidth,height:r.clientHeight};return r.remove(),a},"calculateMathMLDimensions"),f8=T(async(e,t)=>{if(!qc(e))return e;if(!(S1()||t.legacyMathML||t.forceLegacyMathML))return e.replace(Km,"MathML is unsupported in this environment.");{const{default:r}=await it(async()=>{const{default:a}=await import("./katex-DHMw6HUq.js");return{default:a}},[],import.meta.url),n=t.forceLegacyMathML||!S1()&&t.legacyMathML?"htmlAndMathml":"mathml";return e.split(au).map(a=>qc(a)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${a}</div>`:`<div>${a}</div>`).join("").replace(Km,(a,s)=>r.renderToString(s,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatexUnsanitized"),AR=T(async(e,t)=>Wn(await f8(e,t),t),"renderKatexSanitized"),ou={getRows:n8,sanitizeText:Wn,sanitizeTextOrArray:a8,hasBreaks:o8,splitBreaks:s8,lineBreakRegex:au,removeScript:wR,getUrl:c8,evaluate:qi,getMax:u8,getMin:h8},g8=T(function(e,t){for(let r of t)e.attr(r[0],r[1])},"d3Attrs"),m8=T(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"),RR=T(function(e,t,r,n){const a=m8(t,r,n);g8(e,a)},"configureSvgSize"),b8=T(function(e,t,r,n){const a=t.node().getBBox(),s=a.width,l=a.height;pe.info(`SVG bounds: ${s}x${l}`,a);let c=0,h=0;pe.info(`Graph bounds: ${c}x${h}`,e),c=s+r*2,h=l+r*2,pe.info(`Calculated bounds: ${c}x${h}`),RR(t,h,c,n);const d=`${a.x-r} ${a.y-r} ${a.width+2*r} ${a.height+2*r}`;t.attr("viewBox",d)},"setupGraphViewbox"),rd={};function Qm(e){return[...e.cssRules].map(t=>t.cssText).join(`
41
+ `)}T(Qm,"cssStyleSheetToString");var y8=T((e,t,r,n)=>{let a="";return e in rd&&rd[e]?a=rd[e]({...r,svgId:n}):pe.warn(`No theme found for ${e}`),` & {
42
+ font-family: ${r.fontFamily};
43
+ font-size: ${r.fontSize};
44
+ fill: ${r.textColor}
45
+ }
46
+ @keyframes edge-animation-frame {
47
+ from {
48
+ stroke-dashoffset: 0;
49
+ }
50
+ }
51
+ @keyframes dash {
52
+ to {
53
+ stroke-dashoffset: 0;
54
+ }
55
+ }
56
+ & .edge-animation-slow {
57
+ stroke-dasharray: 9,5 !important;
58
+ stroke-dashoffset: 900;
59
+ animation: dash 50s linear infinite;
60
+ stroke-linecap: round;
61
+ }
62
+ & .edge-animation-fast {
63
+ stroke-dasharray: 9,5 !important;
64
+ stroke-dashoffset: 900;
65
+ animation: dash 20s linear infinite;
66
+ stroke-linecap: round;
67
+ }
68
+ /* Classes common for multiple diagrams */
69
+
70
+ & .error-icon {
71
+ fill: ${r.errorBkgColor};
72
+ }
73
+ & .error-text {
74
+ fill: ${r.errorTextColor};
75
+ stroke: ${r.errorTextColor};
76
+ }
77
+
78
+ & .edge-thickness-normal {
79
+ stroke-width: ${r.strokeWidth??1}px;
80
+ }
81
+ & .edge-thickness-thick {
82
+ stroke-width: 3.5px
83
+ }
84
+ & .edge-pattern-solid {
85
+ stroke-dasharray: 0;
86
+ }
87
+ & .edge-thickness-invisible {
88
+ stroke-width: 0;
89
+ fill: none;
90
+ }
91
+ & .edge-pattern-dashed{
92
+ stroke-dasharray: 3;
93
+ }
94
+ .edge-pattern-dotted {
95
+ stroke-dasharray: 2;
96
+ }
97
+
98
+ & .marker {
99
+ fill: ${r.lineColor};
100
+ stroke: ${r.lineColor};
101
+ }
102
+ & .marker.cross {
103
+ stroke: ${r.lineColor};
104
+ }
105
+
106
+ & svg {
107
+ font-family: ${r.fontFamily};
108
+ font-size: ${r.fontSize};
109
+ }
110
+ & p {
111
+ margin: 0
112
+ }
113
+
114
+ ${a}
115
+ .node .neo-node {
116
+ stroke: ${r.nodeBorder};
117
+ }
118
+
119
+ [data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon {
120
+ stroke: ${r.useGradient?"url("+n+"-gradient)":r.nodeBorder};
121
+ filter: ${r.dropShadow?r.dropShadow.replace("url(#drop-shadow)",`url(${n}-drop-shadow)`):"none"};
122
+ }
123
+
124
+
125
+ [data-look="neo"].node path {
126
+ stroke: ${r.useGradient?"url("+n+"-gradient)":r.nodeBorder};
127
+ stroke-width: ${r.strokeWidth??1}px;
128
+ }
129
+
130
+ [data-look="neo"].node .outer-path {
131
+ filter: ${r.dropShadow?r.dropShadow.replace("url(#drop-shadow)",`url(${n}-drop-shadow)`):"none"};
132
+ }
133
+
134
+ [data-look="neo"].node .neo-line path {
135
+ stroke: ${r.nodeBorder};
136
+ filter: none;
137
+ }
138
+
139
+ [data-look="neo"].node circle{
140
+ stroke: ${r.useGradient?"url("+n+"-gradient)":r.nodeBorder};
141
+ filter: ${r.dropShadow?r.dropShadow.replace("url(#drop-shadow)",`url(${n}-drop-shadow)`):"none"};
142
+ }
143
+
144
+ [data-look="neo"].node circle .state-start{
145
+ fill: #000000;
146
+ }
147
+
148
+ [data-look="neo"].icon-shape .icon {
149
+ fill: ${r.useGradient?"url("+n+"-gradient)":r.nodeBorder};
150
+ filter: ${r.dropShadow?r.dropShadow.replace("url(#drop-shadow)",`url(${n}-drop-shadow)`):"none"};
151
+ }
152
+
153
+ [data-look="neo"].icon-shape .icon-neo path {
154
+ stroke: ${r.useGradient?"url("+n+"-gradient)":r.nodeBorder};
155
+ filter: ${r.dropShadow?r.dropShadow.replace("url(#drop-shadow)",`url(${n}-drop-shadow)`):"none"};
156
+ }
157
+
158
+ ${t}
159
+ `},"getStyles"),S8=T((e,t)=>{t!==void 0&&(rd[e]=t)},"addStylesForDiagram"),C8=y8,DR={};XP(DR,{clear:()=>E8,getAccDescription:()=>_8,getAccTitle:()=>k8,getDiagramTitle:()=>v8,setAccDescription:()=>T8,setAccTitle:()=>x8,setDiagramTitle:()=>w8});var gy="",my="",by="",yy=T(e=>Wn(e,Ot()),"sanitizeText"),E8=T(()=>{gy="",by="",my=""},"clear"),x8=T(e=>{gy=yy(e).replace(/^\s+/g,"")},"setAccTitle"),k8=T(()=>gy,"getAccTitle"),T8=T(e=>{by=yy(e).replace(/\n\s+/g,`
160
+ `)},"setAccDescription"),_8=T(()=>by,"getAccDescription"),w8=T(e=>{my=yy(e)},"setDiagramTitle"),v8=T(()=>my,"getDiagramTitle"),C1=pe,A8=py,ht=Ot,TQ=ER,_Q=Hs,Sy=T(e=>Wn(e,ht()),"sanitizeText"),R8=b8,D8=T(()=>DR,"getCommonDb"),kd={},Td=T((e,t,r)=>{kd[e]&&C1.warn(`Diagram with id ${e} already registered. Overwriting.`),kd[e]=t,r&&gR(e,r),S8(e,t.styles),t.injectUtils?.(C1,A8,ht,Sy,R8,D8(),()=>{})},"registerDiagram"),Jm=T(e=>{if(e in kd)return kd[e];throw new L8(e)},"getDiagram"),Us,L8=(Us=class extends Error{constructor(t){super(`Diagram ${t} not found.`)}},T(Us,"DiagramNotFoundError"),Us),N8={value:()=>{}};function LR(){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 nd(r)}function nd(e){this._=e}function O8(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}})}nd.prototype=LR.prototype={constructor:nd,on:function(e,t){var r=this._,n=O8(e+"",r),a,s=-1,l=n.length;if(arguments.length<2){for(;++s<l;)if((a=(e=n[s]).type)&&(a=I8(r[a],e.name)))return a;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++s<l;)if(a=(e=n[s]).type)r[a]=E1(r[a],e.name,t);else if(t==null)for(a in r)r[a]=E1(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 nd(e)},call:function(e,t){if((a=arguments.length-2)>0)for(var r=new Array(a),n=0,a,s;n<a;++n)r[n]=arguments[n+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(s=this._[e],n=0,a=s.length;n<a;++n)s[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,s=n.length;a<s;++a)n[a].value.apply(t,r)}};function I8(e,t){for(var r=0,n=e.length,a;r<n;++r)if((a=e[r]).name===t)return a.value}function E1(e,t,r){for(var n=0,a=e.length;n<a;++n)if(e[n].name===t){e[n]=N8,e=e.slice(0,n).concat(e.slice(n+1));break}return r!=null&&e.push({name:t,value:r}),e}var eb="http://www.w3.org/1999/xhtml";const x1={svg:"http://www.w3.org/2000/svg",xhtml:eb,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function sp(e){var t=e+="",r=t.indexOf(":");return r>=0&&(t=e.slice(0,r))!=="xmlns"&&(e=e.slice(r+1)),x1.hasOwnProperty(t)?{space:x1[t],local:e}:e}function B8(e){return function(){var t=this.ownerDocument,r=this.namespaceURI;return r===eb&&t.documentElement.namespaceURI===eb?t.createElement(e):t.createElementNS(r,e)}}function F8(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function NR(e){var t=sp(e);return(t.local?F8:B8)(t)}function M8(){}function Cy(e){return e==null?M8:function(){return this.querySelector(e)}}function U8(e){typeof e!="function"&&(e=Cy(e));for(var t=this._groups,r=t.length,n=new Array(r),a=0;a<r;++a)for(var s=t[a],l=s.length,c=n[a]=new Array(l),h,d,p=0;p<l;++p)(h=s[p])&&(d=e.call(h,h.__data__,p,s))&&("__data__"in h&&(d.__data__=h.__data__),c[p]=d);return new pn(n,this._parents)}function $8(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function z8(){return[]}function OR(e){return e==null?z8:function(){return this.querySelectorAll(e)}}function P8(e){return function(){return $8(e.apply(this,arguments))}}function H8(e){typeof e=="function"?e=P8(e):e=OR(e);for(var t=this._groups,r=t.length,n=[],a=[],s=0;s<r;++s)for(var l=t[s],c=l.length,h,d=0;d<c;++d)(h=l[d])&&(n.push(e.call(h,h.__data__,d,l)),a.push(h));return new pn(n,a)}function IR(e){return function(){return this.matches(e)}}function BR(e){return function(t){return t.matches(e)}}var q8=Array.prototype.find;function G8(e){return function(){return q8.call(this.children,e)}}function j8(){return this.firstElementChild}function W8(e){return this.select(e==null?j8:G8(typeof e=="function"?e:BR(e)))}var Y8=Array.prototype.filter;function V8(){return Array.from(this.children)}function X8(e){return function(){return Y8.call(this.children,e)}}function Z8(e){return this.selectAll(e==null?V8:X8(typeof e=="function"?e:BR(e)))}function K8(e){typeof e!="function"&&(e=IR(e));for(var t=this._groups,r=t.length,n=new Array(r),a=0;a<r;++a)for(var s=t[a],l=s.length,c=n[a]=[],h,d=0;d<l;++d)(h=s[d])&&e.call(h,h.__data__,d,s)&&c.push(h);return new pn(n,this._parents)}function FR(e){return new Array(e.length)}function Q8(){return new pn(this._enter||this._groups.map(FR),this._parents)}function _d(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}_d.prototype={constructor:_d,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 J8(e){return function(){return e}}function eH(e,t,r,n,a,s){for(var l=0,c,h=t.length,d=s.length;l<d;++l)(c=t[l])?(c.__data__=s[l],n[l]=c):r[l]=new _d(e,s[l]);for(;l<h;++l)(c=t[l])&&(a[l]=c)}function tH(e,t,r,n,a,s,l){var c,h,d=new Map,p=t.length,g=s.length,b=new Array(p),m;for(c=0;c<p;++c)(h=t[c])&&(b[c]=m=l.call(h,h.__data__,c,t)+"",d.has(m)?a[c]=h:d.set(m,h));for(c=0;c<g;++c)m=l.call(e,s[c],c,s)+"",(h=d.get(m))?(n[c]=h,h.__data__=s[c],d.delete(m)):r[c]=new _d(e,s[c]);for(c=0;c<p;++c)(h=t[c])&&d.get(b[c])===h&&(a[c]=h)}function rH(e){return e.__data__}function nH(e,t){if(!arguments.length)return Array.from(this,rH);var r=t?tH:eH,n=this._parents,a=this._groups;typeof e!="function"&&(e=J8(e));for(var s=a.length,l=new Array(s),c=new Array(s),h=new Array(s),d=0;d<s;++d){var p=n[d],g=a[d],b=g.length,m=iH(e.call(p,p&&p.__data__,d,n)),C=m.length,E=c[d]=new Array(C),k=l[d]=new Array(C),x=h[d]=new Array(b);r(p,g,E,k,x,m,t);for(var w=0,v=0,O,F;w<C;++w)if(O=E[w]){for(w>=v&&(v=w+1);!(F=k[v])&&++v<C;);O._next=F||null}}return l=new pn(l,n),l._enter=c,l._exit=h,l}function iH(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function aH(){return new pn(this._exit||this._groups.map(FR),this._parents)}function oH(e,t,r){var n=this.enter(),a=this,s=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?s.remove():r(s),n&&a?n.merge(a).order():a}function sH(e){for(var t=e.selection?e.selection():e,r=this._groups,n=t._groups,a=r.length,s=n.length,l=Math.min(a,s),c=new Array(a),h=0;h<l;++h)for(var d=r[h],p=n[h],g=d.length,b=c[h]=new Array(g),m,C=0;C<g;++C)(m=d[C]||p[C])&&(b[C]=m);for(;h<a;++h)c[h]=r[h];return new pn(c,this._parents)}function lH(){for(var e=this._groups,t=-1,r=e.length;++t<r;)for(var n=e[t],a=n.length-1,s=n[a],l;--a>=0;)(l=n[a])&&(s&&l.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(l,s),s=l);return this}function cH(e){e||(e=uH);function t(g,b){return g&&b?e(g.__data__,b.__data__):!g-!b}for(var r=this._groups,n=r.length,a=new Array(n),s=0;s<n;++s){for(var l=r[s],c=l.length,h=a[s]=new Array(c),d,p=0;p<c;++p)(d=l[p])&&(h[p]=d);h.sort(t)}return new pn(a,this._parents).order()}function uH(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function hH(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function dH(){return Array.from(this)}function pH(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var n=e[t],a=0,s=n.length;a<s;++a){var l=n[a];if(l)return l}return null}function fH(){let e=0;for(const t of this)++e;return e}function gH(){return!this.node()}function mH(e){for(var t=this._groups,r=0,n=t.length;r<n;++r)for(var a=t[r],s=0,l=a.length,c;s<l;++s)(c=a[s])&&e.call(c,c.__data__,s,a);return this}function bH(e){return function(){this.removeAttribute(e)}}function yH(e){return function(){this.removeAttributeNS(e.space,e.local)}}function SH(e,t){return function(){this.setAttribute(e,t)}}function CH(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function EH(e,t){return function(){var r=t.apply(this,arguments);r==null?this.removeAttribute(e):this.setAttribute(e,r)}}function xH(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 kH(e,t){var r=sp(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?yH:bH:typeof t=="function"?r.local?xH:EH:r.local?CH:SH)(r,t))}function MR(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function TH(e){return function(){this.style.removeProperty(e)}}function _H(e,t,r){return function(){this.style.setProperty(e,t,r)}}function wH(e,t,r){return function(){var n=t.apply(this,arguments);n==null?this.style.removeProperty(e):this.style.setProperty(e,n,r)}}function vH(e,t,r){return arguments.length>1?this.each((t==null?TH:typeof t=="function"?wH:_H)(e,t,r??"")):qs(this.node(),e)}function qs(e,t){return e.style.getPropertyValue(t)||MR(e).getComputedStyle(e,null).getPropertyValue(t)}function AH(e){return function(){delete this[e]}}function RH(e,t){return function(){this[e]=t}}function DH(e,t){return function(){var r=t.apply(this,arguments);r==null?delete this[e]:this[e]=r}}function LH(e,t){return arguments.length>1?this.each((t==null?AH:typeof t=="function"?DH:RH)(e,t)):this.node()[e]}function UR(e){return e.trim().split(/^|\s+/)}function Ey(e){return e.classList||new $R(e)}function $R(e){this._node=e,this._names=UR(e.getAttribute("class")||"")}$R.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 zR(e,t){for(var r=Ey(e),n=-1,a=t.length;++n<a;)r.add(t[n])}function PR(e,t){for(var r=Ey(e),n=-1,a=t.length;++n<a;)r.remove(t[n])}function NH(e){return function(){zR(this,e)}}function OH(e){return function(){PR(this,e)}}function IH(e,t){return function(){(t.apply(this,arguments)?zR:PR)(this,e)}}function BH(e,t){var r=UR(e+"");if(arguments.length<2){for(var n=Ey(this.node()),a=-1,s=r.length;++a<s;)if(!n.contains(r[a]))return!1;return!0}return this.each((typeof t=="function"?IH:t?NH:OH)(r,t))}function FH(){this.textContent=""}function MH(e){return function(){this.textContent=e}}function UH(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function $H(e){return arguments.length?this.each(e==null?FH:(typeof e=="function"?UH:MH)(e)):this.node().textContent}function zH(){this.innerHTML=""}function PH(e){return function(){this.innerHTML=e}}function HH(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function qH(e){return arguments.length?this.each(e==null?zH:(typeof e=="function"?HH:PH)(e)):this.node().innerHTML}function GH(){this.nextSibling&&this.parentNode.appendChild(this)}function jH(){return this.each(GH)}function WH(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function YH(){return this.each(WH)}function VH(e){var t=typeof e=="function"?e:NR(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function XH(){return null}function ZH(e,t){var r=typeof e=="function"?e:NR(e),n=t==null?XH:typeof t=="function"?t:Cy(t);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})}function KH(){var e=this.parentNode;e&&e.removeChild(this)}function QH(){return this.each(KH)}function JH(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function eq(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function tq(e){return this.select(e?eq:JH)}function rq(e){return arguments.length?this.property("__data__",e):this.node().__data__}function nq(e){return function(t){e.call(this,t,this.__data__)}}function iq(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 aq(e){return function(){var t=this.__on;if(t){for(var r=0,n=-1,a=t.length,s;r<a;++r)s=t[r],(!e.type||s.type===e.type)&&s.name===e.name?this.removeEventListener(s.type,s.listener,s.options):t[++n]=s;++n?t.length=n:delete this.__on}}}function oq(e,t,r){return function(){var n=this.__on,a,s=nq(t);if(n){for(var l=0,c=n.length;l<c;++l)if((a=n[l]).type===e.type&&a.name===e.name){this.removeEventListener(a.type,a.listener,a.options),this.addEventListener(a.type,a.listener=s,a.options=r),a.value=t;return}}this.addEventListener(e.type,s,r),a={type:e.type,name:e.name,value:t,listener:s,options:r},n?n.push(a):this.__on=[a]}}function sq(e,t,r){var n=iq(e+""),a,s=n.length,l;if(arguments.length<2){var c=this.node().__on;if(c){for(var h=0,d=c.length,p;h<d;++h)for(a=0,p=c[h];a<s;++a)if((l=n[a]).type===p.type&&l.name===p.name)return p.value}return}for(c=t?oq:aq,a=0;a<s;++a)this.each(c(n[a],t,r));return this}function HR(e,t,r){var n=MR(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 lq(e,t){return function(){return HR(this,e,t)}}function cq(e,t){return function(){return HR(this,e,t.apply(this,arguments))}}function uq(e,t){return this.each((typeof t=="function"?cq:lq)(e,t))}function*hq(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var n=e[t],a=0,s=n.length,l;a<s;++a)(l=n[a])&&(yield l)}var qR=[null];function pn(e,t){this._groups=e,this._parents=t}function su(){return new pn([[document.documentElement]],qR)}function dq(){return this}pn.prototype=su.prototype={constructor:pn,select:U8,selectAll:H8,selectChild:W8,selectChildren:Z8,filter:K8,data:nH,enter:Q8,exit:aH,join:oH,merge:sH,selection:dq,order:lH,sort:cH,call:hH,nodes:dH,node:pH,size:fH,empty:gH,each:mH,attr:kH,style:vH,property:LH,classed:BH,text:$H,html:qH,raise:jH,lower:YH,append:VH,insert:ZH,remove:QH,clone:tq,datum:rq,on:sq,dispatch:uq,[Symbol.iterator]:hq};function Ve(e){return typeof e=="string"?new pn([[document.querySelector(e)]],[document.documentElement]):new pn([[e]],qR)}function xy(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function GR(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function lu(){}var Gc=.7,wd=1/Gc,Ts="\\s*([+-]?\\d+)\\s*",jc="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ii="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pq=/^#([0-9a-f]{3,8})$/,fq=new RegExp(`^rgb\\(${Ts},${Ts},${Ts}\\)$`),gq=new RegExp(`^rgb\\(${ii},${ii},${ii}\\)$`),mq=new RegExp(`^rgba\\(${Ts},${Ts},${Ts},${jc}\\)$`),bq=new RegExp(`^rgba\\(${ii},${ii},${ii},${jc}\\)$`),yq=new RegExp(`^hsl\\(${jc},${ii},${ii}\\)$`),Sq=new RegExp(`^hsla\\(${jc},${ii},${ii},${jc}\\)$`),k1={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};xy(lu,Wc,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:T1,formatHex:T1,formatHex8:Cq,formatHsl:Eq,formatRgb:_1,toString:_1});function T1(){return this.rgb().formatHex()}function Cq(){return this.rgb().formatHex8()}function Eq(){return jR(this).formatHsl()}function _1(){return this.rgb().formatRgb()}function Wc(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=pq.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?w1(t):r===3?new Jr(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Ph(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Ph(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=fq.exec(e))?new Jr(t[1],t[2],t[3],1):(t=gq.exec(e))?new Jr(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=mq.exec(e))?Ph(t[1],t[2],t[3],t[4]):(t=bq.exec(e))?Ph(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=yq.exec(e))?R1(t[1],t[2]/100,t[3]/100,1):(t=Sq.exec(e))?R1(t[1],t[2]/100,t[3]/100,t[4]):k1.hasOwnProperty(e)?w1(k1[e]):e==="transparent"?new Jr(NaN,NaN,NaN,0):null}function w1(e){return new Jr(e>>16&255,e>>8&255,e&255,1)}function Ph(e,t,r,n){return n<=0&&(e=t=r=NaN),new Jr(e,t,r,n)}function xq(e){return e instanceof lu||(e=Wc(e)),e?(e=e.rgb(),new Jr(e.r,e.g,e.b,e.opacity)):new Jr}function tb(e,t,r,n){return arguments.length===1?xq(e):new Jr(e,t,r,n??1)}function Jr(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}xy(Jr,tb,GR(lu,{brighter(e){return e=e==null?wd:Math.pow(wd,e),new Jr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Gc:Math.pow(Gc,e),new Jr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Jr(co(this.r),co(this.g),co(this.b),vd(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:v1,formatHex:v1,formatHex8:kq,formatRgb:A1,toString:A1}));function v1(){return`#${oo(this.r)}${oo(this.g)}${oo(this.b)}`}function kq(){return`#${oo(this.r)}${oo(this.g)}${oo(this.b)}${oo((isNaN(this.opacity)?1:this.opacity)*255)}`}function A1(){const e=vd(this.opacity);return`${e===1?"rgb(":"rgba("}${co(this.r)}, ${co(this.g)}, ${co(this.b)}${e===1?")":`, ${e})`}`}function vd(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function co(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function oo(e){return e=co(e),(e<16?"0":"")+e.toString(16)}function R1(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Pn(e,t,r,n)}function jR(e){if(e instanceof Pn)return new Pn(e.h,e.s,e.l,e.opacity);if(e instanceof lu||(e=Wc(e)),!e)return new Pn;if(e instanceof Pn)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),s=Math.max(t,r,n),l=NaN,c=s-a,h=(s+a)/2;return c?(t===s?l=(r-n)/c+(r<n)*6:r===s?l=(n-t)/c+2:l=(t-r)/c+4,c/=h<.5?s+a:2-s-a,l*=60):c=h>0&&h<1?0:l,new Pn(l,c,h,e.opacity)}function Tq(e,t,r,n){return arguments.length===1?jR(e):new Pn(e,t,r,n??1)}function Pn(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}xy(Pn,Tq,GR(lu,{brighter(e){return e=e==null?wd:Math.pow(wd,e),new Pn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Gc:Math.pow(Gc,e),new Pn(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 Jr(Sm(e>=240?e-240:e+120,a,n),Sm(e,a,n),Sm(e<120?e+240:e-120,a,n),this.opacity)},clamp(){return new Pn(D1(this.h),Hh(this.s),Hh(this.l),vd(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=vd(this.opacity);return`${e===1?"hsl(":"hsla("}${D1(this.h)}, ${Hh(this.s)*100}%, ${Hh(this.l)*100}%${e===1?")":`, ${e})`}`}}));function D1(e){return e=(e||0)%360,e<0?e+360:e}function Hh(e){return Math.max(0,Math.min(1,e||0))}function Sm(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 ky=e=>()=>e;function WR(e,t){return function(r){return e+r*t}}function _q(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 wQ(e,t){var r=t-e;return r?WR(e,r>180||r<-180?r-360*Math.round(r/360):r):ky(isNaN(e)?t:e)}function wq(e){return(e=+e)==1?YR:function(t,r){return r-t?_q(t,r,e):ky(isNaN(t)?r:t)}}function YR(e,t){var r=t-e;return r?WR(e,r):ky(isNaN(e)?t:e)}const L1=(function e(t){var r=wq(t);function n(a,s){var l=r((a=tb(a)).r,(s=tb(s)).r),c=r(a.g,s.g),h=r(a.b,s.b),d=YR(a.opacity,s.opacity);return function(p){return a.r=l(p),a.g=c(p),a.b=h(p),a.opacity=d(p),a+""}}return n.gamma=e,n})(1);function ka(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}var rb=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Cm=new RegExp(rb.source,"g");function vq(e){return function(){return e}}function Aq(e){return function(t){return e(t)+""}}function Rq(e,t){var r=rb.lastIndex=Cm.lastIndex=0,n,a,s,l=-1,c=[],h=[];for(e=e+"",t=t+"";(n=rb.exec(e))&&(a=Cm.exec(t));)(s=a.index)>r&&(s=t.slice(r,s),c[l]?c[l]+=s:c[++l]=s),(n=n[0])===(a=a[0])?c[l]?c[l]+=a:c[++l]=a:(c[++l]=null,h.push({i:l,x:ka(n,a)})),r=Cm.lastIndex;return r<t.length&&(s=t.slice(r),c[l]?c[l]+=s:c[++l]=s),c.length<2?h[0]?Aq(h[0].x):vq(t):(t=h.length,function(d){for(var p=0,g;p<t;++p)c[(g=h[p]).i]=g.x(d);return c.join("")})}var N1=180/Math.PI,nb={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function VR(e,t,r,n,a,s){var l,c,h;return(l=Math.sqrt(e*e+t*t))&&(e/=l,t/=l),(h=e*r+t*n)&&(r-=e*h,n-=t*h),(c=Math.sqrt(r*r+n*n))&&(r/=c,n/=c,h/=c),e*n<t*r&&(e=-e,t=-t,h=-h,l=-l),{translateX:a,translateY:s,rotate:Math.atan2(t,e)*N1,skewX:Math.atan(h)*N1,scaleX:l,scaleY:c}}var qh;function Dq(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?nb:VR(t.a,t.b,t.c,t.d,t.e,t.f)}function Lq(e){return e==null||(qh||(qh=document.createElementNS("http://www.w3.org/2000/svg","g")),qh.setAttribute("transform",e),!(e=qh.transform.baseVal.consolidate()))?nb:(e=e.matrix,VR(e.a,e.b,e.c,e.d,e.e,e.f))}function XR(e,t,r,n){function a(d){return d.length?d.pop()+" ":""}function s(d,p,g,b,m,C){if(d!==g||p!==b){var E=m.push("translate(",null,t,null,r);C.push({i:E-4,x:ka(d,g)},{i:E-2,x:ka(p,b)})}else(g||b)&&m.push("translate("+g+t+b+r)}function l(d,p,g,b){d!==p?(d-p>180?p+=360:p-d>180&&(d+=360),b.push({i:g.push(a(g)+"rotate(",null,n)-2,x:ka(d,p)})):p&&g.push(a(g)+"rotate("+p+n)}function c(d,p,g,b){d!==p?b.push({i:g.push(a(g)+"skewX(",null,n)-2,x:ka(d,p)}):p&&g.push(a(g)+"skewX("+p+n)}function h(d,p,g,b,m,C){if(d!==g||p!==b){var E=m.push(a(m)+"scale(",null,",",null,")");C.push({i:E-4,x:ka(d,g)},{i:E-2,x:ka(p,b)})}else(g!==1||b!==1)&&m.push(a(m)+"scale("+g+","+b+")")}return function(d,p){var g=[],b=[];return d=e(d),p=e(p),s(d.translateX,d.translateY,p.translateX,p.translateY,g,b),l(d.rotate,p.rotate,g,b),c(d.skewX,p.skewX,g,b),h(d.scaleX,d.scaleY,p.scaleX,p.scaleY,g,b),d=p=null,function(m){for(var C=-1,E=b.length,k;++C<E;)g[(k=b[C]).i]=k.x(m);return g.join("")}}}var Nq=XR(Dq,"px, ","px)","deg)"),Oq=XR(Lq,", ",")",")"),Gs=0,xc=0,pc=0,ZR=1e3,Ad,kc,Rd=0,go=0,lp=0,Yc=typeof performance=="object"&&performance.now?performance:Date,KR=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Ty(){return go||(KR(Iq),go=Yc.now()+lp)}function Iq(){go=0}function Dd(){this._call=this._time=this._next=null}Dd.prototype=QR.prototype={constructor:Dd,restart:function(e,t,r){if(typeof e!="function")throw new TypeError("callback is not a function");r=(r==null?Ty():+r)+(t==null?0:+t),!this._next&&kc!==this&&(kc?kc._next=this:Ad=this,kc=this),this._call=e,this._time=r,ib()},stop:function(){this._call&&(this._call=null,this._time=1/0,ib())}};function QR(e,t,r){var n=new Dd;return n.restart(e,t,r),n}function Bq(){Ty(),++Gs;for(var e=Ad,t;e;)(t=go-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Gs}function O1(){go=(Rd=Yc.now())+lp,Gs=xc=0;try{Bq()}finally{Gs=0,Mq(),go=0}}function Fq(){var e=Yc.now(),t=e-Rd;t>ZR&&(lp-=t,Rd=e)}function Mq(){for(var e,t=Ad,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:Ad=r);kc=e,ib(n)}function ib(e){if(!Gs){xc&&(xc=clearTimeout(xc));var t=e-go;t>24?(e<1/0&&(xc=setTimeout(O1,e-Yc.now()-lp)),pc&&(pc=clearInterval(pc))):(pc||(Rd=Yc.now(),pc=setInterval(Fq,ZR)),Gs=1,KR(O1))}}function I1(e,t,r){var n=new Dd;return t=t==null?0:+t,n.restart(a=>{n.stop(),e(a+t)},t,r),n}var Uq=LR("start","end","cancel","interrupt"),$q=[],JR=0,B1=1,ab=2,id=3,F1=4,ob=5,ad=6;function cp(e,t,r,n,a,s){var l=e.__transition;if(!l)e.__transition={};else if(r in l)return;zq(e,r,{name:t,index:n,group:a,on:Uq,tween:$q,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:JR})}function _y(e,t){var r=Vn(e,t);if(r.state>JR)throw new Error("too late; already scheduled");return r}function ui(e,t){var r=Vn(e,t);if(r.state>id)throw new Error("too late; already running");return r}function Vn(e,t){var r=e.__transition;if(!r||!(r=r[t]))throw new Error("transition not found");return r}function zq(e,t,r){var n=e.__transition,a;n[t]=r,r.timer=QR(s,0,r.time);function s(d){r.state=B1,r.timer.restart(l,r.delay,r.time),r.delay<=d&&l(d-r.delay)}function l(d){var p,g,b,m;if(r.state!==B1)return h();for(p in n)if(m=n[p],m.name===r.name){if(m.state===id)return I1(l);m.state===F1?(m.state=ad,m.timer.stop(),m.on.call("interrupt",e,e.__data__,m.index,m.group),delete n[p]):+p<t&&(m.state=ad,m.timer.stop(),m.on.call("cancel",e,e.__data__,m.index,m.group),delete n[p])}if(I1(function(){r.state===id&&(r.state=F1,r.timer.restart(c,r.delay,r.time),c(d))}),r.state=ab,r.on.call("start",e,e.__data__,r.index,r.group),r.state===ab){for(r.state=id,a=new Array(b=r.tween.length),p=0,g=-1;p<b;++p)(m=r.tween[p].value.call(e,e.__data__,r.index,r.group))&&(a[++g]=m);a.length=g+1}}function c(d){for(var p=d<r.duration?r.ease.call(null,d/r.duration):(r.timer.restart(h),r.state=ob,1),g=-1,b=a.length;++g<b;)a[g].call(e,p);r.state===ob&&(r.on.call("end",e,e.__data__,r.index,r.group),h())}function h(){r.state=ad,r.timer.stop(),delete n[t];for(var d in n)return;delete e.__transition}}function Pq(e,t){var r=e.__transition,n,a,s=!0,l;if(r){t=t==null?null:t+"";for(l in r){if((n=r[l]).name!==t){s=!1;continue}a=n.state>ab&&n.state<ob,n.state=ad,n.timer.stop(),n.on.call(a?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete r[l]}s&&delete e.__transition}}function Hq(e){return this.each(function(){Pq(this,e)})}function qq(e,t){var r,n;return function(){var a=ui(this,e),s=a.tween;if(s!==r){n=r=s;for(var l=0,c=n.length;l<c;++l)if(n[l].name===t){n=n.slice(),n.splice(l,1);break}}a.tween=n}}function Gq(e,t,r){var n,a;if(typeof r!="function")throw new Error;return function(){var s=ui(this,e),l=s.tween;if(l!==n){a=(n=l).slice();for(var c={name:t,value:r},h=0,d=a.length;h<d;++h)if(a[h].name===t){a[h]=c;break}h===d&&a.push(c)}s.tween=a}}function jq(e,t){var r=this._id;if(e+="",arguments.length<2){for(var n=Vn(this.node(),r).tween,a=0,s=n.length,l;a<s;++a)if((l=n[a]).name===e)return l.value;return null}return this.each((t==null?qq:Gq)(r,e,t))}function wy(e,t,r){var n=e._id;return e.each(function(){var a=ui(this,n);(a.value||(a.value={}))[t]=r.apply(this,arguments)}),function(a){return Vn(a,n).value[t]}}function eD(e,t){var r;return(typeof t=="number"?ka:t instanceof Wc?L1:(r=Wc(t))?(t=r,L1):Rq)(e,t)}function Wq(e){return function(){this.removeAttribute(e)}}function Yq(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Vq(e,t,r){var n,a=r+"",s;return function(){var l=this.getAttribute(e);return l===a?null:l===n?s:s=t(n=l,r)}}function Xq(e,t,r){var n,a=r+"",s;return function(){var l=this.getAttributeNS(e.space,e.local);return l===a?null:l===n?s:s=t(n=l,r)}}function Zq(e,t,r){var n,a,s;return function(){var l,c=r(this),h;return c==null?void this.removeAttribute(e):(l=this.getAttribute(e),h=c+"",l===h?null:l===n&&h===a?s:(a=h,s=t(n=l,c)))}}function Kq(e,t,r){var n,a,s;return function(){var l,c=r(this),h;return c==null?void this.removeAttributeNS(e.space,e.local):(l=this.getAttributeNS(e.space,e.local),h=c+"",l===h?null:l===n&&h===a?s:(a=h,s=t(n=l,c)))}}function Qq(e,t){var r=sp(e),n=r==="transform"?Oq:eD;return this.attrTween(e,typeof t=="function"?(r.local?Kq:Zq)(r,n,wy(this,"attr."+e,t)):t==null?(r.local?Yq:Wq)(r):(r.local?Xq:Vq)(r,n,t))}function Jq(e,t){return function(r){this.setAttribute(e,t.call(this,r))}}function eG(e,t){return function(r){this.setAttributeNS(e.space,e.local,t.call(this,r))}}function tG(e,t){var r,n;function a(){var s=t.apply(this,arguments);return s!==n&&(r=(n=s)&&eG(e,s)),r}return a._value=t,a}function rG(e,t){var r,n;function a(){var s=t.apply(this,arguments);return s!==n&&(r=(n=s)&&Jq(e,s)),r}return a._value=t,a}function nG(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=sp(e);return this.tween(r,(n.local?tG:rG)(n,t))}function iG(e,t){return function(){_y(this,e).delay=+t.apply(this,arguments)}}function aG(e,t){return t=+t,function(){_y(this,e).delay=t}}function oG(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?iG:aG)(t,e)):Vn(this.node(),t).delay}function sG(e,t){return function(){ui(this,e).duration=+t.apply(this,arguments)}}function lG(e,t){return t=+t,function(){ui(this,e).duration=t}}function cG(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?sG:lG)(t,e)):Vn(this.node(),t).duration}function uG(e,t){if(typeof t!="function")throw new Error;return function(){ui(this,e).ease=t}}function hG(e){var t=this._id;return arguments.length?this.each(uG(t,e)):Vn(this.node(),t).ease}function dG(e,t){return function(){var r=t.apply(this,arguments);if(typeof r!="function")throw new Error;ui(this,e).ease=r}}function pG(e){if(typeof e!="function")throw new Error;return this.each(dG(this._id,e))}function fG(e){typeof e!="function"&&(e=IR(e));for(var t=this._groups,r=t.length,n=new Array(r),a=0;a<r;++a)for(var s=t[a],l=s.length,c=n[a]=[],h,d=0;d<l;++d)(h=s[d])&&e.call(h,h.__data__,d,s)&&c.push(h);return new $i(n,this._parents,this._name,this._id)}function gG(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,r=e._groups,n=t.length,a=r.length,s=Math.min(n,a),l=new Array(n),c=0;c<s;++c)for(var h=t[c],d=r[c],p=h.length,g=l[c]=new Array(p),b,m=0;m<p;++m)(b=h[m]||d[m])&&(g[m]=b);for(;c<n;++c)l[c]=t[c];return new $i(l,this._parents,this._name,this._id)}function mG(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 bG(e,t,r){var n,a,s=mG(t)?_y:ui;return function(){var l=s(this,e),c=l.on;c!==n&&(a=(n=c).copy()).on(t,r),l.on=a}}function yG(e,t){var r=this._id;return arguments.length<2?Vn(this.node(),r).on.on(e):this.each(bG(r,e,t))}function SG(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function CG(){return this.on("end.remove",SG(this._id))}function EG(e){var t=this._name,r=this._id;typeof e!="function"&&(e=Cy(e));for(var n=this._groups,a=n.length,s=new Array(a),l=0;l<a;++l)for(var c=n[l],h=c.length,d=s[l]=new Array(h),p,g,b=0;b<h;++b)(p=c[b])&&(g=e.call(p,p.__data__,b,c))&&("__data__"in p&&(g.__data__=p.__data__),d[b]=g,cp(d[b],t,r,b,d,Vn(p,r)));return new $i(s,this._parents,t,r)}function xG(e){var t=this._name,r=this._id;typeof e!="function"&&(e=OR(e));for(var n=this._groups,a=n.length,s=[],l=[],c=0;c<a;++c)for(var h=n[c],d=h.length,p,g=0;g<d;++g)if(p=h[g]){for(var b=e.call(p,p.__data__,g,h),m,C=Vn(p,r),E=0,k=b.length;E<k;++E)(m=b[E])&&cp(m,t,r,E,b,C);s.push(b),l.push(p)}return new $i(s,l,t,r)}var kG=su.prototype.constructor;function TG(){return new kG(this._groups,this._parents)}function _G(e,t){var r,n,a;return function(){var s=qs(this,e),l=(this.style.removeProperty(e),qs(this,e));return s===l?null:s===r&&l===n?a:a=t(r=s,n=l)}}function tD(e){return function(){this.style.removeProperty(e)}}function wG(e,t,r){var n,a=r+"",s;return function(){var l=qs(this,e);return l===a?null:l===n?s:s=t(n=l,r)}}function vG(e,t,r){var n,a,s;return function(){var l=qs(this,e),c=r(this),h=c+"";return c==null&&(h=c=(this.style.removeProperty(e),qs(this,e))),l===h?null:l===n&&h===a?s:(a=h,s=t(n=l,c))}}function AG(e,t){var r,n,a,s="style."+t,l="end."+s,c;return function(){var h=ui(this,e),d=h.on,p=h.value[s]==null?c||(c=tD(t)):void 0;(d!==r||a!==p)&&(n=(r=d).copy()).on(l,a=p),h.on=n}}function RG(e,t,r){var n=(e+="")=="transform"?Nq:eD;return t==null?this.styleTween(e,_G(e,n)).on("end.style."+e,tD(e)):typeof t=="function"?this.styleTween(e,vG(e,n,wy(this,"style."+e,t))).each(AG(this._id,e)):this.styleTween(e,wG(e,n,t),r).on("end.style."+e,null)}function DG(e,t,r){return function(n){this.style.setProperty(e,t.call(this,n),r)}}function LG(e,t,r){var n,a;function s(){var l=t.apply(this,arguments);return l!==a&&(n=(a=l)&&DG(e,l,r)),n}return s._value=t,s}function NG(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,LG(e,t,r??""))}function OG(e){return function(){this.textContent=e}}function IG(e){return function(){var t=e(this);this.textContent=t??""}}function BG(e){return this.tween("text",typeof e=="function"?IG(wy(this,"text",e)):OG(e==null?"":e+""))}function FG(e){return function(t){this.textContent=e.call(this,t)}}function MG(e){var t,r;function n(){var a=e.apply(this,arguments);return a!==r&&(t=(r=a)&&FG(a)),t}return n._value=e,n}function UG(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,MG(e))}function $G(){for(var e=this._name,t=this._id,r=rD(),n=this._groups,a=n.length,s=0;s<a;++s)for(var l=n[s],c=l.length,h,d=0;d<c;++d)if(h=l[d]){var p=Vn(h,t);cp(h,e,r,d,l,{time:p.time+p.delay+p.duration,delay:0,duration:p.duration,ease:p.ease})}return new $i(n,this._parents,e,r)}function zG(){var e,t,r=this,n=r._id,a=r.size();return new Promise(function(s,l){var c={value:l},h={value:function(){--a===0&&s()}};r.each(function(){var d=ui(this,n),p=d.on;p!==e&&(t=(e=p).copy(),t._.cancel.push(c),t._.interrupt.push(c),t._.end.push(h)),d.on=t}),a===0&&s()})}var PG=0;function $i(e,t,r,n){this._groups=e,this._parents=t,this._name=r,this._id=n}function rD(){return++PG}var Ii=su.prototype;$i.prototype={constructor:$i,select:EG,selectAll:xG,selectChild:Ii.selectChild,selectChildren:Ii.selectChildren,filter:fG,merge:gG,selection:TG,transition:$G,call:Ii.call,nodes:Ii.nodes,node:Ii.node,size:Ii.size,empty:Ii.empty,each:Ii.each,on:yG,attr:Qq,attrTween:nG,style:RG,styleTween:NG,text:BG,textTween:UG,remove:CG,tween:jq,delay:oG,duration:cG,ease:hG,easeVarying:pG,end:zG,[Symbol.iterator]:Ii[Symbol.iterator]};function HG(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var qG={time:null,delay:0,duration:250,ease:HG};function GG(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 jG(e){var t,r;e instanceof $i?(t=e._id,e=e._name):(t=rD(),(r=qG).time=Ty(),e=e==null?null:e+"");for(var n=this._groups,a=n.length,s=0;s<a;++s)for(var l=n[s],c=l.length,h,d=0;d<c;++d)(h=l[d])&&cp(h,e,t,d,l,r||GG(h,t));return new $i(n,this._parents,e,t)}su.prototype.interrupt=Hq;su.prototype.transition=jG;const sb=Math.PI,lb=2*sb,no=1e-6,WG=lb-no;function nD(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function YG(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return nD;const r=10**t;return function(n){this._+=n[0];for(let a=1,s=n.length;a<s;++a)this._+=Math.round(arguments[a]*r)/r+n[a]}}class VG{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?nD:YG(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,s,l){this._append`C${+t},${+r},${+n},${+a},${this._x1=+s},${this._y1=+l}`}arcTo(t,r,n,a,s){if(t=+t,r=+r,n=+n,a=+a,s=+s,s<0)throw new Error(`negative radius: ${s}`);let l=this._x1,c=this._y1,h=n-t,d=a-r,p=l-t,g=c-r,b=p*p+g*g;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(b>no)if(!(Math.abs(g*h-d*p)>no)||!s)this._append`L${this._x1=t},${this._y1=r}`;else{let m=n-l,C=a-c,E=h*h+d*d,k=m*m+C*C,x=Math.sqrt(E),w=Math.sqrt(b),v=s*Math.tan((sb-Math.acos((E+b-k)/(2*x*w)))/2),O=v/w,F=v/x;Math.abs(O-1)>no&&this._append`L${t+O*p},${r+O*g}`,this._append`A${s},${s},0,0,${+(g*m>p*C)},${this._x1=t+F*h},${this._y1=r+F*d}`}}arc(t,r,n,a,s,l){if(t=+t,r=+r,n=+n,l=!!l,n<0)throw new Error(`negative radius: ${n}`);let c=n*Math.cos(a),h=n*Math.sin(a),d=t+c,p=r+h,g=1^l,b=l?a-s:s-a;this._x1===null?this._append`M${d},${p}`:(Math.abs(this._x1-d)>no||Math.abs(this._y1-p)>no)&&this._append`L${d},${p}`,n&&(b<0&&(b=b%lb+lb),b>WG?this._append`A${n},${n},0,1,${g},${t-c},${r-h}A${n},${n},0,1,${g},${this._x1=d},${this._y1=p}`:b>no&&this._append`A${n},${n},0,${+(b>=sb)},${g},${this._x1=t+n*Math.cos(s)},${this._y1=r+n*Math.sin(s)}`)}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 us(e){return function(){return e}}const vQ=Math.abs,AQ=Math.atan2,RQ=Math.cos,DQ=Math.max,LQ=Math.min,NQ=Math.sin,OQ=Math.sqrt,M1=1e-12,vy=Math.PI,U1=vy/2,IQ=2*vy;function BQ(e){return e>1?0:e<-1?vy:Math.acos(e)}function FQ(e){return e>=1?U1:e<=-1?-U1:Math.asin(e)}function XG(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 VG(t)}function ZG(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function iD(e){this._context=e}iD.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 Bc(e){return new iD(e)}function KG(e){return e[0]}function QG(e){return e[1]}function JG(e,t){var r=us(!0),n=null,a=Bc,s=null,l=XG(c);e=typeof e=="function"?e:e===void 0?KG:us(e),t=typeof t=="function"?t:t===void 0?QG:us(t);function c(h){var d,p=(h=ZG(h)).length,g,b=!1,m;for(n==null&&(s=a(m=l())),d=0;d<=p;++d)!(d<p&&r(g=h[d],d,h))===b&&((b=!b)?s.lineStart():s.lineEnd()),b&&s.point(+e(g,d,h),+t(g,d,h));if(m)return s=null,m+""||null}return c.x=function(h){return arguments.length?(e=typeof h=="function"?h:us(+h),c):e},c.y=function(h){return arguments.length?(t=typeof h=="function"?h:us(+h),c):t},c.defined=function(h){return arguments.length?(r=typeof h=="function"?h:us(!!h),c):r},c.curve=function(h){return arguments.length?(a=h,n!=null&&(s=a(n)),c):a},c.context=function(h){return arguments.length?(h==null?n=s=null:s=a(n=h),c):n},c}class aD{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 oD(e){return new aD(e,!0)}function sD(e){return new aD(e,!1)}function Da(){}function Ld(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 up(e){this._context=e}up.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:Ld(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:Ld(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function cb(e){return new up(e)}function lD(e){this._context=e}lD.prototype={areaStart:Da,areaEnd:Da,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:Ld(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function e9(e){return new lD(e)}function cD(e){this._context=e}cD.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:Ld(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function t9(e){return new cD(e)}function uD(e,t){this._basis=new up(e),this._beta=t}uD.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],s=e[r]-n,l=t[r]-a,c=-1,h;++c<=r;)h=c/r,this._basis.point(this._beta*e[c]+(1-this._beta)*(n+h*s),this._beta*t[c]+(1-this._beta)*(a+h*l));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const r9=(function e(t){function r(n){return t===1?new up(n):new uD(n,t)}return r.beta=function(n){return e(+n)},r})(.85);function Nd(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 Ay(e,t){this._context=e,this._k=(1-t)/6}Ay.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:Nd(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:Nd(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 hD=(function e(t){function r(n){return new Ay(n,t)}return r.tension=function(n){return e(+n)},r})(0);function Ry(e,t){this._context=e,this._k=(1-t)/6}Ry.prototype={areaStart:Da,areaEnd:Da,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:Nd(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 n9=(function e(t){function r(n){return new Ry(n,t)}return r.tension=function(n){return e(+n)},r})(0);function Dy(e,t){this._context=e,this._k=(1-t)/6}Dy.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:Nd(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 i9=(function e(t){function r(n){return new Dy(n,t)}return r.tension=function(n){return e(+n)},r})(0);function Ly(e,t,r){var n=e._x1,a=e._y1,s=e._x2,l=e._y2;if(e._l01_a>M1){var c=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,h=3*e._l01_a*(e._l01_a+e._l12_a);n=(n*c-e._x0*e._l12_2a+e._x2*e._l01_2a)/h,a=(a*c-e._y0*e._l12_2a+e._y2*e._l01_2a)/h}if(e._l23_a>M1){var d=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,p=3*e._l23_a*(e._l23_a+e._l12_a);s=(s*d+e._x1*e._l23_2a-t*e._l12_2a)/p,l=(l*d+e._y1*e._l23_2a-r*e._l12_2a)/p}e._context.bezierCurveTo(n,a,s,l,e._x2,e._y2)}function dD(e,t){this._context=e,this._alpha=t}dD.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:Ly(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 pD=(function e(t){function r(n){return t?new dD(n,t):new Ay(n,0)}return r.alpha=function(n){return e(+n)},r})(.5);function fD(e,t){this._context=e,this._alpha=t}fD.prototype={areaStart:Da,areaEnd:Da,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:Ly(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 a9=(function e(t){function r(n){return t?new fD(n,t):new Ry(n,0)}return r.alpha=function(n){return e(+n)},r})(.5);function gD(e,t){this._context=e,this._alpha=t}gD.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:Ly(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 o9=(function e(t){function r(n){return t?new gD(n,t):new Dy(n,0)}return r.alpha=function(n){return e(+n)},r})(.5);function mD(e){this._context=e}mD.prototype={areaStart:Da,areaEnd:Da,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 s9(e){return new mD(e)}function $1(e){return e<0?-1:1}function z1(e,t,r){var n=e._x1-e._x0,a=t-e._x1,s=(e._y1-e._y0)/(n||a<0&&-0),l=(r-e._y1)/(a||n<0&&-0),c=(s*a+l*n)/(n+a);return($1(s)+$1(l))*Math.min(Math.abs(s),Math.abs(l),.5*Math.abs(c))||0}function P1(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Em(e,t,r){var n=e._x0,a=e._y0,s=e._x1,l=e._y1,c=(s-n)/3;e._context.bezierCurveTo(n+c,a+c*t,s-c,l-c*r,s,l)}function Od(e){this._context=e}Od.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:Em(this,this._t0,P1(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,Em(this,P1(this,r=z1(this,e,t)),r);break;default:Em(this,this._t0,r=z1(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function bD(e){this._context=new yD(e)}(bD.prototype=Object.create(Od.prototype)).point=function(e,t){Od.prototype.point.call(this,t,e)};function yD(e){this._context=e}yD.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,s){this._context.bezierCurveTo(t,e,n,r,s,a)}};function SD(e){return new Od(e)}function CD(e){return new bD(e)}function ED(e){this._context=e}ED.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=H1(e),a=H1(t),s=0,l=1;l<r;++s,++l)this._context.bezierCurveTo(n[0][s],a[0][s],n[1][s],a[1][s],e[l],t[l]);(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 H1(e){var t,r=e.length-1,n,a=new Array(r),s=new Array(r),l=new Array(r);for(a[0]=0,s[0]=2,l[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,s[t]=4,l[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,s[r-1]=7,l[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/s[t-1],s[t]-=n,l[t]-=n*l[t-1];for(a[r-1]=l[r-1]/s[r-1],t=r-2;t>=0;--t)a[t]=(l[t]-a[t+1])/s[t];for(s[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)s[t]=2*e[t+1]-a[t+1];return[a,s]}function xD(e){return new ED(e)}function hp(e,t){this._context=e,this._t=t}hp.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 kD(e){return new hp(e,.5)}function TD(e){return new hp(e,0)}function _D(e){return new hp(e,1)}function Tc(e,t,r){this.k=e,this.x=t,this.y=r}Tc.prototype={constructor:Tc,scale:function(e){return e===1?this:new Tc(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new Tc(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+")"}};Tc.prototype;var l9=T(e=>{const{securityLevel:t}=ht();let r=Ve("body");if(t==="sandbox"){const s=Ve(`#i${e}`).node()?.contentDocument??document;r=Ve(s.body)}return r.select(`#${e}`)},"selectSvgElement");function Ny(e){return typeof e>"u"||e===null}T(Ny,"isNothing");function wD(e){return typeof e=="object"&&e!==null}T(wD,"isObject");function vD(e){return Array.isArray(e)?e:Ny(e)?[]:[e]}T(vD,"toArray");function AD(e,t){var r,n,a,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r<n;r+=1)a=s[r],e[a]=t[a];return e}T(AD,"extend");function RD(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}T(RD,"repeat");function DD(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}T(DD,"isNegativeZero");var c9=Ny,u9=wD,h9=vD,d9=RD,p9=DD,f9=AD,ir={isNothing:c9,isObject:u9,toArray:h9,repeat:d9,isNegativeZero:p9,extend:f9};function Oy(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+=`
161
+
162
+ `+e.mark.snippet),n+" "+r):n}T(Oy,"formatError");function js(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=Oy(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}T(js,"YAMLException$1");js.prototype=Object.create(Error.prototype);js.prototype.constructor=js;js.prototype.toString=T(function(t){return this.name+": "+Oy(this,t)},"toString");var Qr=js;function od(e,t,r,n,a){var s="",l="",c=Math.floor(a/2)-1;return n-t>c&&(s=" ... ",t=n-c+s.length),r-n>c&&(l=" ...",r=n+c-l.length),{str:s+e.slice(t,r).replace(/\t/g,"→")+l,pos:n-t+s.length}}T(od,"getLine");function sd(e,t){return ir.repeat(" ",t-e.length)+e}T(sd,"padStart");function LD(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=[],s,l=-1;s=r.exec(e.buffer);)a.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&l<0&&(l=n.length-2);l<0&&(l=n.length-1);var c="",h,d,p=Math.min(e.line+t.linesAfter,a.length).toString().length,g=t.maxLength-(t.indent+p+3);for(h=1;h<=t.linesBefore&&!(l-h<0);h++)d=od(e.buffer,n[l-h],a[l-h],e.position-(n[l]-n[l-h]),g),c=ir.repeat(" ",t.indent)+sd((e.line-h+1).toString(),p)+" | "+d.str+`
163
+ `+c;for(d=od(e.buffer,n[l],a[l],e.position,g),c+=ir.repeat(" ",t.indent)+sd((e.line+1).toString(),p)+" | "+d.str+`
164
+ `,c+=ir.repeat("-",t.indent+p+3+d.pos)+`^
165
+ `,h=1;h<=t.linesAfter&&!(l+h>=a.length);h++)d=od(e.buffer,n[l+h],a[l+h],e.position-(n[l]-n[l+h]),g),c+=ir.repeat(" ",t.indent)+sd((e.line+h+1).toString(),p)+" | "+d.str+`
166
+ `;return c.replace(/\n$/,"")}T(LD,"makeSnippet");var g9=LD,m9=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],b9=["scalar","sequence","mapping"];function ND(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}T(ND,"compileStyleAliases");function OD(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(m9.indexOf(r)===-1)throw new Qr('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=ND(t.styleAliases||null),b9.indexOf(this.kind)===-1)throw new Qr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}T(OD,"Type$1");var wr=OD;function ub(e,t){var r=[];return e[t].forEach(function(n){var a=r.length;r.forEach(function(s,l){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(a=l)}),r[a]=n}),r}T(ub,"compileList");function ID(){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(T(n,"collectType"),t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}T(ID,"compileMap");function Id(e){return this.extend(e)}T(Id,"Schema$1");Id.prototype.extend=T(function(t){var r=[],n=[];if(t instanceof wr)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 Qr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(s){if(!(s instanceof wr))throw new Qr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new Qr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new Qr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(s){if(!(s instanceof wr))throw new Qr("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var a=Object.create(Id.prototype);return a.implicit=(this.implicit||[]).concat(r),a.explicit=(this.explicit||[]).concat(n),a.compiledImplicit=ub(a,"implicit"),a.compiledExplicit=ub(a,"explicit"),a.compiledTypeMap=ID(a.compiledImplicit,a.compiledExplicit),a},"extend");var y9=Id,S9=new wr("tag:yaml.org,2002:str",{kind:"scalar",construct:T(function(e){return e!==null?e:""},"construct")}),C9=new wr("tag:yaml.org,2002:seq",{kind:"sequence",construct:T(function(e){return e!==null?e:[]},"construct")}),E9=new wr("tag:yaml.org,2002:map",{kind:"mapping",construct:T(function(e){return e!==null?e:{}},"construct")}),x9=new y9({explicit:[S9,C9,E9]});function BD(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}T(BD,"resolveYamlNull");function FD(){return null}T(FD,"constructYamlNull");function MD(e){return e===null}T(MD,"isNull");var k9=new wr("tag:yaml.org,2002:null",{kind:"scalar",resolve:BD,construct:FD,predicate:MD,represent:{canonical:T(function(){return"~"},"canonical"),lowercase:T(function(){return"null"},"lowercase"),uppercase:T(function(){return"NULL"},"uppercase"),camelcase:T(function(){return"Null"},"camelcase"),empty:T(function(){return""},"empty")},defaultStyle:"lowercase"});function UD(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")}T(UD,"resolveYamlBoolean");function $D(e){return e==="true"||e==="True"||e==="TRUE"}T($D,"constructYamlBoolean");function zD(e){return Object.prototype.toString.call(e)==="[object Boolean]"}T(zD,"isBoolean");var T9=new wr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:UD,construct:$D,predicate:zD,represent:{lowercase:T(function(e){return e?"true":"false"},"lowercase"),uppercase:T(function(e){return e?"TRUE":"FALSE"},"uppercase"),camelcase:T(function(e){return e?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function PD(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}T(PD,"isHexCode");function HD(e){return 48<=e&&e<=55}T(HD,"isOctCode");function qD(e){return 48<=e&&e<=57}T(qD,"isDecCode");function GD(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(!PD(e.charCodeAt(r)))return!1;n=!0}return n&&a!=="_"}if(a==="o"){for(r++;r<t;r++)if(a=e[r],a!=="_"){if(!HD(e.charCodeAt(r)))return!1;n=!0}return n&&a!=="_"}}if(a==="_")return!1;for(;r<t;r++)if(a=e[r],a!=="_"){if(!qD(e.charCodeAt(r)))return!1;n=!0}return!(!n||a==="_")}T(GD,"resolveYamlInteger");function jD(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)}T(jD,"constructYamlInteger");function WD(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!ir.isNegativeZero(e)}T(WD,"isInteger");var _9=new wr("tag:yaml.org,2002:int",{kind:"scalar",resolve:GD,construct:jD,predicate:WD,represent:{binary:T(function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},"binary"),octal:T(function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},"octal"),decimal:T(function(e){return e.toString(10)},"decimal"),hexadecimal:T(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"]}}),w9=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function YD(e){return!(e===null||!w9.test(e)||e[e.length-1]==="_")}T(YD,"resolveYamlFloat");function VD(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)}T(VD,"constructYamlFloat");var v9=/^[-+]?[0-9]+e/;function XD(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(ir.isNegativeZero(e))return"-0.0";return r=e.toString(10),v9.test(r)?r.replace("e",".e"):r}T(XD,"representYamlFloat");function ZD(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||ir.isNegativeZero(e))}T(ZD,"isFloat");var A9=new wr("tag:yaml.org,2002:float",{kind:"scalar",resolve:YD,construct:VD,predicate:ZD,represent:XD,defaultStyle:"lowercase"}),KD=x9.extend({implicit:[k9,T9,_9,A9]}),R9=KD,QD=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),JD=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 eL(e){return e===null?!1:QD.exec(e)!==null||JD.exec(e)!==null}T(eL,"resolveYamlTimestamp");function tL(e){var t,r,n,a,s,l,c,h=0,d=null,p,g,b;if(t=QD.exec(e),t===null&&(t=JD.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(s=+t[4],l=+t[5],c=+t[6],t[7]){for(h=t[7].slice(0,3);h.length<3;)h+="0";h=+h}return t[9]&&(p=+t[10],g=+(t[11]||0),d=(p*60+g)*6e4,t[9]==="-"&&(d=-d)),b=new Date(Date.UTC(r,n,a,s,l,c,h)),d&&b.setTime(b.getTime()-d),b}T(tL,"constructYamlTimestamp");function rL(e){return e.toISOString()}T(rL,"representYamlTimestamp");var D9=new wr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:eL,construct:tL,instanceOf:Date,represent:rL});function nL(e){return e==="<<"||e===null}T(nL,"resolveYamlMerge");var L9=new wr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:nL}),Iy=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
167
+ \r`;function iL(e){if(e===null)return!1;var t,r,n=0,a=e.length,s=Iy;for(r=0;r<a;r++)if(t=s.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}T(iL,"resolveYamlBinary");function aL(e){var t,r,n=e.replace(/[\r\n=]/g,""),a=n.length,s=Iy,l=0,c=[];for(t=0;t<a;t++)t%4===0&&t&&(c.push(l>>16&255),c.push(l>>8&255),c.push(l&255)),l=l<<6|s.indexOf(n.charAt(t));return r=a%4*6,r===0?(c.push(l>>16&255),c.push(l>>8&255),c.push(l&255)):r===18?(c.push(l>>10&255),c.push(l>>2&255)):r===12&&c.push(l>>4&255),new Uint8Array(c)}T(aL,"constructYamlBinary");function oL(e){var t="",r=0,n,a,s=e.length,l=Iy;for(n=0;n<s;n++)n%3===0&&n&&(t+=l[r>>18&63],t+=l[r>>12&63],t+=l[r>>6&63],t+=l[r&63]),r=(r<<8)+e[n];return a=s%3,a===0?(t+=l[r>>18&63],t+=l[r>>12&63],t+=l[r>>6&63],t+=l[r&63]):a===2?(t+=l[r>>10&63],t+=l[r>>4&63],t+=l[r<<2&63],t+=l[64]):a===1&&(t+=l[r>>2&63],t+=l[r<<4&63],t+=l[64],t+=l[64]),t}T(oL,"representYamlBinary");function sL(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}T(sL,"isBinary");var N9=new wr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:iL,construct:aL,predicate:sL,represent:oL}),O9=Object.prototype.hasOwnProperty,I9=Object.prototype.toString;function lL(e){if(e===null)return!0;var t=[],r,n,a,s,l,c=e;for(r=0,n=c.length;r<n;r+=1){if(a=c[r],l=!1,I9.call(a)!=="[object Object]")return!1;for(s in a)if(O9.call(a,s))if(!l)l=!0;else return!1;if(!l)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}T(lL,"resolveYamlOmap");function cL(e){return e!==null?e:[]}T(cL,"constructYamlOmap");var B9=new wr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:lL,construct:cL}),F9=Object.prototype.toString;function uL(e){if(e===null)return!0;var t,r,n,a,s,l=e;for(s=new Array(l.length),t=0,r=l.length;t<r;t+=1){if(n=l[t],F9.call(n)!=="[object Object]"||(a=Object.keys(n),a.length!==1))return!1;s[t]=[a[0],n[a[0]]]}return!0}T(uL,"resolveYamlPairs");function hL(e){if(e===null)return[];var t,r,n,a,s,l=e;for(s=new Array(l.length),t=0,r=l.length;t<r;t+=1)n=l[t],a=Object.keys(n),s[t]=[a[0],n[a[0]]];return s}T(hL,"constructYamlPairs");var M9=new wr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:uL,construct:hL}),U9=Object.prototype.hasOwnProperty;function dL(e){if(e===null)return!0;var t,r=e;for(t in r)if(U9.call(r,t)&&r[t]!==null)return!1;return!0}T(dL,"resolveYamlSet");function pL(e){return e!==null?e:{}}T(pL,"constructYamlSet");var $9=new wr("tag:yaml.org,2002:set",{kind:"mapping",resolve:dL,construct:pL}),fL=R9.extend({implicit:[D9,L9],explicit:[N9,B9,M9,$9]}),La=Object.prototype.hasOwnProperty,Bd=1,gL=2,mL=3,Fd=4,xm=1,z9=2,q1=3,P9=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,H9=/[\x85\u2028\u2029]/,q9=/[,\[\]\{\}]/,bL=/^(?:!|!!|![a-z\-]+!)$/i,yL=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function hb(e){return Object.prototype.toString.call(e)}T(hb,"_class");function Gn(e){return e===10||e===13}T(Gn,"is_EOL");function Ra(e){return e===9||e===32}T(Ra,"is_WHITE_SPACE");function Mr(e){return e===9||e===32||e===10||e===13}T(Mr,"is_WS_OR_EOL");function so(e){return e===44||e===91||e===93||e===123||e===125}T(so,"is_FLOW_INDICATOR");function SL(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}T(SL,"fromHexCode");function CL(e){return e===120?2:e===117?4:e===85?8:0}T(CL,"escapedHexLen");function EL(e){return 48<=e&&e<=57?e-48:-1}T(EL,"fromDecimalCode");function db(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
168
+ `: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":""}T(db,"simpleEscapeSequence");function xL(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}T(xL,"charFromCodepoint");function By(e,t,r){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}T(By,"setProperty");var kL=new Array(256),TL=new Array(256);for(to=0;to<256;to++)kL[to]=db(to)?1:0,TL[to]=db(to);var to;function _L(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||fL,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=[]}T(_L,"State$1");function Fy(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=g9(r),new Qr(t,r)}T(Fy,"generateError");function Re(e,t){throw Fy(e,t)}T(Re,"throwError");function Vc(e,t){e.onWarning&&e.onWarning.call(null,Fy(e,t))}T(Vc,"throwWarning");var G1={YAML:T(function(t,r,n){var a,s,l;t.version!==null&&Re(t,"duplication of %YAML directive"),n.length!==1&&Re(t,"YAML directive accepts exactly one argument"),a=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),a===null&&Re(t,"ill-formed argument of the YAML directive"),s=parseInt(a[1],10),l=parseInt(a[2],10),s!==1&&Re(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=l<2,l!==1&&l!==2&&Vc(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:T(function(t,r,n){var a,s;n.length!==2&&Re(t,"TAG directive accepts exactly two arguments"),a=n[0],s=n[1],bL.test(a)||Re(t,"ill-formed tag handle (first argument) of the TAG directive"),La.call(t.tagMap,a)&&Re(t,'there is a previously declared suffix for "'+a+'" tag handle'),yL.test(s)||Re(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{Re(t,"tag prefix is malformed: "+s)}t.tagMap[a]=s},"handleTagDirective")};function Ui(e,t,r,n){var a,s,l,c;if(t<r){if(c=e.input.slice(t,r),n)for(a=0,s=c.length;a<s;a+=1)l=c.charCodeAt(a),l===9||32<=l&&l<=1114111||Re(e,"expected valid JSON character");else P9.test(c)&&Re(e,"the stream contains non-printable characters");e.result+=c}}T(Ui,"captureSegment");function pb(e,t,r,n){var a,s,l,c;for(ir.isObject(r)||Re(e,"cannot merge mappings; the provided source object is unacceptable"),a=Object.keys(r),l=0,c=a.length;l<c;l+=1)s=a[l],La.call(t,s)||(By(t,s,r[s]),n[s]=!0)}T(pb,"mergeMappings");function lo(e,t,r,n,a,s,l,c,h){var d,p;if(Array.isArray(a))for(a=Array.prototype.slice.call(a),d=0,p=a.length;d<p;d+=1)Array.isArray(a[d])&&Re(e,"nested arrays are not supported inside keys"),typeof a=="object"&&hb(a[d])==="[object Object]"&&(a[d]="[object Object]");if(typeof a=="object"&&hb(a)==="[object Object]"&&(a="[object Object]"),a=String(a),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(d=0,p=s.length;d<p;d+=1)pb(e,t,s[d],r);else pb(e,t,s,r);else!e.json&&!La.call(r,a)&&La.call(t,a)&&(e.line=l||e.line,e.lineStart=c||e.lineStart,e.position=h||e.position,Re(e,"duplicated mapping key")),By(t,a,s),delete r[a];return t}T(lo,"storeMappingPair");function dp(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++):Re(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}T(dp,"readLineBreak");function qt(e,t,r){for(var n=0,a=e.input.charCodeAt(e.position);a!==0;){for(;Ra(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(Gn(a))for(dp(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&&Vc(e,"deficient indentation"),n}T(qt,"skipSeparationSpace");function cu(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||Mr(r)))}T(cu,"testDocumentSeparator");function pp(e,t){t===1?e.result+=" ":t>1&&(e.result+=ir.repeat(`
169
+ `,t-1))}T(pp,"writeFoldedLines");function wL(e,t,r){var n,a,s,l,c,h,d,p,g=e.kind,b=e.result,m;if(m=e.input.charCodeAt(e.position),Mr(m)||so(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),Mr(a)||r&&so(a)))return!1;for(e.kind="scalar",e.result="",s=l=e.position,c=!1;m!==0;){if(m===58){if(a=e.input.charCodeAt(e.position+1),Mr(a)||r&&so(a))break}else if(m===35){if(n=e.input.charCodeAt(e.position-1),Mr(n))break}else{if(e.position===e.lineStart&&cu(e)||r&&so(m))break;if(Gn(m))if(h=e.line,d=e.lineStart,p=e.lineIndent,qt(e,!1,-1),e.lineIndent>=t){c=!0,m=e.input.charCodeAt(e.position);continue}else{e.position=l,e.line=h,e.lineStart=d,e.lineIndent=p;break}}c&&(Ui(e,s,l,!1),pp(e,e.line-h),s=l=e.position,c=!1),Ra(m)||(l=e.position+1),m=e.input.charCodeAt(++e.position)}return Ui(e,s,l,!1),e.result?!0:(e.kind=g,e.result=b,!1)}T(wL,"readPlainScalar");function vL(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(Ui(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 Gn(r)?(Ui(e,n,a,!0),pp(e,qt(e,!1,t)),n=a=e.position):e.position===e.lineStart&&cu(e)?Re(e,"unexpected end of the document within a single quoted scalar"):(e.position++,a=e.position);Re(e,"unexpected end of the stream within a single quoted scalar")}T(vL,"readSingleQuotedScalar");function AL(e,t){var r,n,a,s,l,c;if(c=e.input.charCodeAt(e.position),c!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(c=e.input.charCodeAt(e.position))!==0;){if(c===34)return Ui(e,r,e.position,!0),e.position++,!0;if(c===92){if(Ui(e,r,e.position,!0),c=e.input.charCodeAt(++e.position),Gn(c))qt(e,!1,t);else if(c<256&&kL[c])e.result+=TL[c],e.position++;else if((l=CL(c))>0){for(a=l,s=0;a>0;a--)c=e.input.charCodeAt(++e.position),(l=SL(c))>=0?s=(s<<4)+l:Re(e,"expected hexadecimal character");e.result+=xL(s),e.position++}else Re(e,"unknown escape sequence");r=n=e.position}else Gn(c)?(Ui(e,r,n,!0),pp(e,qt(e,!1,t)),r=n=e.position):e.position===e.lineStart&&cu(e)?Re(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Re(e,"unexpected end of the stream within a double quoted scalar")}T(AL,"readDoubleQuotedScalar");function RL(e,t){var r=!0,n,a,s,l=e.tag,c,h=e.anchor,d,p,g,b,m,C=Object.create(null),E,k,x,w;if(w=e.input.charCodeAt(e.position),w===91)p=93,m=!1,c=[];else if(w===123)p=125,m=!0,c={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),w=e.input.charCodeAt(++e.position);w!==0;){if(qt(e,!0,t),w=e.input.charCodeAt(e.position),w===p)return e.position++,e.tag=l,e.anchor=h,e.kind=m?"mapping":"sequence",e.result=c,!0;r?w===44&&Re(e,"expected the node content, but found ','"):Re(e,"missed comma between flow collection entries"),k=E=x=null,g=b=!1,w===63&&(d=e.input.charCodeAt(e.position+1),Mr(d)&&(g=b=!0,e.position++,qt(e,!0,t))),n=e.line,a=e.lineStart,s=e.position,mo(e,t,Bd,!1,!0),k=e.tag,E=e.result,qt(e,!0,t),w=e.input.charCodeAt(e.position),(b||e.line===n)&&w===58&&(g=!0,w=e.input.charCodeAt(++e.position),qt(e,!0,t),mo(e,t,Bd,!1,!0),x=e.result),m?lo(e,c,C,k,E,x,n,a,s):g?c.push(lo(e,null,C,k,E,x,n,a,s)):c.push(E),qt(e,!0,t),w=e.input.charCodeAt(e.position),w===44?(r=!0,w=e.input.charCodeAt(++e.position)):r=!1}Re(e,"unexpected end of the stream within a flow collection")}T(RL,"readFlowCollection");function DL(e,t){var r,n,a=xm,s=!1,l=!1,c=t,h=0,d=!1,p,g;if(g=e.input.charCodeAt(e.position),g===124)n=!1;else if(g===62)n=!0;else return!1;for(e.kind="scalar",e.result="";g!==0;)if(g=e.input.charCodeAt(++e.position),g===43||g===45)xm===a?a=g===43?q1:z9:Re(e,"repeat of a chomping mode identifier");else if((p=EL(g))>=0)p===0?Re(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?Re(e,"repeat of an indentation width identifier"):(c=t+p-1,l=!0);else break;if(Ra(g)){do g=e.input.charCodeAt(++e.position);while(Ra(g));if(g===35)do g=e.input.charCodeAt(++e.position);while(!Gn(g)&&g!==0)}for(;g!==0;){for(dp(e),e.lineIndent=0,g=e.input.charCodeAt(e.position);(!l||e.lineIndent<c)&&g===32;)e.lineIndent++,g=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>c&&(c=e.lineIndent),Gn(g)){h++;continue}if(e.lineIndent<c){a===q1?e.result+=ir.repeat(`
170
+ `,s?1+h:h):a===xm&&s&&(e.result+=`
171
+ `);break}for(n?Ra(g)?(d=!0,e.result+=ir.repeat(`
172
+ `,s?1+h:h)):d?(d=!1,e.result+=ir.repeat(`
173
+ `,h+1)):h===0?s&&(e.result+=" "):e.result+=ir.repeat(`
174
+ `,h):e.result+=ir.repeat(`
175
+ `,s?1+h:h),s=!0,l=!0,h=0,r=e.position;!Gn(g)&&g!==0;)g=e.input.charCodeAt(++e.position);Ui(e,r,e.position,!1)}return!0}T(DL,"readBlockScalar");function fb(e,t){var r,n=e.tag,a=e.anchor,s=[],l,c=!1,h;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),h=e.input.charCodeAt(e.position);h!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Re(e,"tab characters must not be used in indentation")),!(h!==45||(l=e.input.charCodeAt(e.position+1),!Mr(l))));){if(c=!0,e.position++,qt(e,!0,-1)&&e.lineIndent<=t){s.push(null),h=e.input.charCodeAt(e.position);continue}if(r=e.line,mo(e,t,mL,!1,!0),s.push(e.result),qt(e,!0,-1),h=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&h!==0)Re(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return c?(e.tag=n,e.anchor=a,e.kind="sequence",e.result=s,!0):!1}T(fb,"readBlockSequence");function LL(e,t,r){var n,a,s,l,c,h,d=e.tag,p=e.anchor,g={},b=Object.create(null),m=null,C=null,E=null,k=!1,x=!1,w;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=g),w=e.input.charCodeAt(e.position);w!==0;){if(!k&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Re(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,(w===63||w===58)&&Mr(n))w===63?(k&&(lo(e,g,b,m,C,null,l,c,h),m=C=E=null),x=!0,k=!0,a=!0):k?(k=!1,a=!0):Re(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,w=n;else{if(l=e.line,c=e.lineStart,h=e.position,!mo(e,r,gL,!1,!0))break;if(e.line===s){for(w=e.input.charCodeAt(e.position);Ra(w);)w=e.input.charCodeAt(++e.position);if(w===58)w=e.input.charCodeAt(++e.position),Mr(w)||Re(e,"a whitespace character is expected after the key-value separator within a block mapping"),k&&(lo(e,g,b,m,C,null,l,c,h),m=C=E=null),x=!0,k=!1,a=!1,m=e.tag,C=e.result;else if(x)Re(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=d,e.anchor=p,!0}else if(x)Re(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=d,e.anchor=p,!0}if((e.line===s||e.lineIndent>t)&&(k&&(l=e.line,c=e.lineStart,h=e.position),mo(e,t,Fd,!0,a)&&(k?C=e.result:E=e.result),k||(lo(e,g,b,m,C,E,l,c,h),m=C=E=null),qt(e,!0,-1),w=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&w!==0)Re(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return k&&lo(e,g,b,m,C,null,l,c,h),x&&(e.tag=d,e.anchor=p,e.kind="mapping",e.result=g),x}T(LL,"readBlockMapping");function NL(e){var t,r=!1,n=!1,a,s,l;if(l=e.input.charCodeAt(e.position),l!==33)return!1;if(e.tag!==null&&Re(e,"duplication of a tag property"),l=e.input.charCodeAt(++e.position),l===60?(r=!0,l=e.input.charCodeAt(++e.position)):l===33?(n=!0,a="!!",l=e.input.charCodeAt(++e.position)):a="!",t=e.position,r){do l=e.input.charCodeAt(++e.position);while(l!==0&&l!==62);e.position<e.length?(s=e.input.slice(t,e.position),l=e.input.charCodeAt(++e.position)):Re(e,"unexpected end of the stream within a verbatim tag")}else{for(;l!==0&&!Mr(l);)l===33&&(n?Re(e,"tag suffix cannot contain exclamation marks"):(a=e.input.slice(t-1,e.position+1),bL.test(a)||Re(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),l=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),q9.test(s)&&Re(e,"tag suffix cannot contain flow indicator characters")}s&&!yL.test(s)&&Re(e,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{Re(e,"tag name is malformed: "+s)}return r?e.tag=s:La.call(e.tagMap,a)?e.tag=e.tagMap[a]+s:a==="!"?e.tag="!"+s:a==="!!"?e.tag="tag:yaml.org,2002:"+s:Re(e,'undeclared tag handle "'+a+'"'),!0}T(NL,"readTagProperty");function OL(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&Re(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Mr(r)&&!so(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Re(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}T(OL,"readAnchorProperty");function IL(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&&!Mr(n)&&!so(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Re(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),La.call(e.anchorMap,r)||Re(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],qt(e,!0,-1),!0}T(IL,"readAlias");function mo(e,t,r,n,a){var s,l,c,h=1,d=!1,p=!1,g,b,m,C,E,k;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=l=c=Fd===r||mL===r,n&&qt(e,!0,-1)&&(d=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),h===1)for(;NL(e)||OL(e);)qt(e,!0,-1)?(d=!0,c=s,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):c=!1;if(c&&(c=d||a),(h===1||Fd===r)&&(Bd===r||gL===r?E=t:E=t+1,k=e.position-e.lineStart,h===1?c&&(fb(e,k)||LL(e,k,E))||RL(e,E)?p=!0:(l&&DL(e,E)||vL(e,E)||AL(e,E)?p=!0:IL(e)?(p=!0,(e.tag!==null||e.anchor!==null)&&Re(e,"alias node should not have any properties")):wL(e,E,Bd===r)&&(p=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):h===0&&(p=c&&fb(e,k))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&Re(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),g=0,b=e.implicitTypes.length;g<b;g+=1)if(C=e.implicitTypes[g],C.resolve(e.result)){e.result=C.construct(e.result),e.tag=C.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(La.call(e.typeMap[e.kind||"fallback"],e.tag))C=e.typeMap[e.kind||"fallback"][e.tag];else for(C=null,m=e.typeMap.multi[e.kind||"fallback"],g=0,b=m.length;g<b;g+=1)if(e.tag.slice(0,m[g].tag.length)===m[g].tag){C=m[g];break}C||Re(e,"unknown tag !<"+e.tag+">"),e.result!==null&&C.kind!==e.kind&&Re(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+C.kind+'", not "'+e.kind+'"'),C.resolve(e.result,e.tag)?(e.result=C.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Re(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||p}T(mo,"composeNode");function BL(e){var t=e.position,r,n,a,s=!1,l;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(l=e.input.charCodeAt(e.position))!==0&&(qt(e,!0,-1),l=e.input.charCodeAt(e.position),!(e.lineIndent>0||l!==37));){for(s=!0,l=e.input.charCodeAt(++e.position),r=e.position;l!==0&&!Mr(l);)l=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),a=[],n.length<1&&Re(e,"directive name must not be less than one character in length");l!==0;){for(;Ra(l);)l=e.input.charCodeAt(++e.position);if(l===35){do l=e.input.charCodeAt(++e.position);while(l!==0&&!Gn(l));break}if(Gn(l))break;for(r=e.position;l!==0&&!Mr(l);)l=e.input.charCodeAt(++e.position);a.push(e.input.slice(r,e.position))}l!==0&&dp(e),La.call(G1,n)?G1[n](e,n,a):Vc(e,'unknown document directive "'+n+'"')}if(qt(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,qt(e,!0,-1)):s&&Re(e,"directives end mark is expected"),mo(e,e.lineIndent-1,Fd,!1,!0),qt(e,!0,-1),e.checkLineBreaks&&H9.test(e.input.slice(t,e.position))&&Vc(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&cu(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,qt(e,!0,-1));return}if(e.position<e.length-1)Re(e,"end of the stream or a document separator is expected");else return}T(BL,"readDocument");function My(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
176
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new _L(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,Re(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;)BL(r);return r.documents}T(My,"loadDocuments");function G9(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=My(e,r);if(typeof t!="function")return n;for(var a=0,s=n.length;a<s;a+=1)t(n[a])}T(G9,"loadAll$1");function FL(e,t){var r=My(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new Qr("expected a single document in the stream, but found more")}}T(FL,"load$1");var j9=FL,W9={load:j9},ML=Object.prototype.toString,UL=Object.prototype.hasOwnProperty,Uy=65279,Y9=9,Xc=10,V9=13,X9=32,Z9=33,K9=34,gb=35,Q9=37,J9=38,e7=39,t7=42,$L=44,r7=45,Md=58,n7=61,i7=62,a7=63,o7=64,zL=91,PL=93,s7=96,HL=123,l7=124,qL=125,Ar={};Ar[0]="\\0";Ar[7]="\\a";Ar[8]="\\b";Ar[9]="\\t";Ar[10]="\\n";Ar[11]="\\v";Ar[12]="\\f";Ar[13]="\\r";Ar[27]="\\e";Ar[34]='\\"';Ar[92]="\\\\";Ar[133]="\\N";Ar[160]="\\_";Ar[8232]="\\L";Ar[8233]="\\P";var c7=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],u7=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function GL(e,t){var r,n,a,s,l,c,h;if(t===null)return{};for(r={},n=Object.keys(t),a=0,s=n.length;a<s;a+=1)l=n[a],c=String(t[l]),l.slice(0,2)==="!!"&&(l="tag:yaml.org,2002:"+l.slice(2)),h=e.compiledTypeMap.fallback[l],h&&UL.call(h.styleAliases,c)&&(c=h.styleAliases[c]),r[l]=c;return r}T(GL,"compileStyleMap");function jL(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 Qr("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+ir.repeat("0",n-t.length)+t}T(jL,"encodeHex");var h7=1,Zc=2;function WL(e){this.schema=e.schema||fL,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=ir.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=GL(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==='"'?Zc:h7,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}T(WL,"State");function mb(e,t){for(var r=ir.repeat(" ",t),n=0,a=-1,s="",l,c=e.length;n<c;)a=e.indexOf(`
177
+ `,n),a===-1?(l=e.slice(n),n=c):(l=e.slice(n,a+1),n=a+1),l.length&&l!==`
178
+ `&&(s+=r),s+=l;return s}T(mb,"indentString");function Ud(e,t){return`
179
+ `+ir.repeat(" ",e.indent*t)}T(Ud,"generateNextLine");function YL(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}T(YL,"testImplicitResolving");function Kc(e){return e===X9||e===Y9}T(Kc,"isWhitespace");function Ws(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Uy||65536<=e&&e<=1114111}T(Ws,"isPrintable");function bb(e){return Ws(e)&&e!==Uy&&e!==V9&&e!==Xc}T(bb,"isNsCharOrWhitespace");function yb(e,t,r){var n=bb(e),a=n&&!Kc(e);return(r?n:n&&e!==$L&&e!==zL&&e!==PL&&e!==HL&&e!==qL)&&e!==gb&&!(t===Md&&!a)||bb(t)&&!Kc(t)&&e===gb||t===Md&&a}T(yb,"isPlainSafe");function VL(e){return Ws(e)&&e!==Uy&&!Kc(e)&&e!==r7&&e!==a7&&e!==Md&&e!==$L&&e!==zL&&e!==PL&&e!==HL&&e!==qL&&e!==gb&&e!==J9&&e!==t7&&e!==Z9&&e!==l7&&e!==n7&&e!==i7&&e!==e7&&e!==K9&&e!==Q9&&e!==o7&&e!==s7}T(VL,"isPlainSafeFirst");function XL(e){return!Kc(e)&&e!==Md}T(XL,"isPlainSafeLast");function Ss(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}T(Ss,"codePointAt");function $y(e){var t=/^\n* /;return t.test(e)}T($y,"needIndentIndicator");var ZL=1,Sb=2,KL=3,QL=4,ms=5;function JL(e,t,r,n,a,s,l,c){var h,d=0,p=null,g=!1,b=!1,m=n!==-1,C=-1,E=VL(Ss(e,0))&&XL(Ss(e,e.length-1));if(t||l)for(h=0;h<e.length;d>=65536?h+=2:h++){if(d=Ss(e,h),!Ws(d))return ms;E=E&&yb(d,p,c),p=d}else{for(h=0;h<e.length;d>=65536?h+=2:h++){if(d=Ss(e,h),d===Xc)g=!0,m&&(b=b||h-C-1>n&&e[C+1]!==" ",C=h);else if(!Ws(d))return ms;E=E&&yb(d,p,c),p=d}b=b||m&&h-C-1>n&&e[C+1]!==" "}return!g&&!b?E&&!l&&!a(e)?ZL:s===Zc?ms:Sb:r>9&&$y(e)?ms:l?s===Zc?ms:Sb:b?QL:KL}T(JL,"chooseScalarStyle");function eN(e,t,r,n,a){e.dump=(function(){if(t.length===0)return e.quotingType===Zc?'""':"''";if(!e.noCompatMode&&(c7.indexOf(t)!==-1||u7.test(t)))return e.quotingType===Zc?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),l=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),c=n||e.flowLevel>-1&&r>=e.flowLevel;function h(d){return YL(e,d)}switch(T(h,"testAmbiguity"),JL(t,c,e.indent,l,h,e.quotingType,e.forceQuotes&&!n,a)){case ZL:return t;case Sb:return"'"+t.replace(/'/g,"''")+"'";case KL:return"|"+Cb(t,e.indent)+Eb(mb(t,s));case QL:return">"+Cb(t,e.indent)+Eb(mb(tN(t,l),s));case ms:return'"'+rN(t)+'"';default:throw new Qr("impossible error: invalid scalar style")}})()}T(eN,"writeScalar");function Cb(e,t){var r=$y(e)?String(t):"",n=e[e.length-1]===`
180
+ `,a=n&&(e[e.length-2]===`
181
+ `||e===`
182
+ `),s=a?"+":n?"":"-";return r+s+`
183
+ `}T(Cb,"blockHeader");function Eb(e){return e[e.length-1]===`
184
+ `?e.slice(0,-1):e}T(Eb,"dropEndingNewline");function tN(e,t){for(var r=/(\n+)([^\n]*)/g,n=(function(){var d=e.indexOf(`
185
+ `);return d=d!==-1?d:e.length,r.lastIndex=d,xb(e.slice(0,d),t)})(),a=e[0]===`
186
+ `||e[0]===" ",s,l;l=r.exec(e);){var c=l[1],h=l[2];s=h[0]===" ",n+=c+(!a&&!s&&h!==""?`
187
+ `:"")+xb(h,t),a=s}return n}T(tN,"foldString");function xb(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,a=0,s,l=0,c=0,h="";n=r.exec(e);)c=n.index,c-a>t&&(s=l>a?l:c,h+=`
188
+ `+e.slice(a,s),a=s+1),l=c;return h+=`
189
+ `,e.length-a>t&&l>a?h+=e.slice(a,l)+`
190
+ `+e.slice(l+1):h+=e.slice(a),h.slice(1)}T(xb,"foldLine");function rN(e){for(var t="",r=0,n,a=0;a<e.length;r>=65536?a+=2:a++)r=Ss(e,a),n=Ar[r],!n&&Ws(r)?(t+=e[a],r>=65536&&(t+=e[a+1])):t+=n||jL(r);return t}T(rN,"escapeString");function nN(e,t,r){var n="",a=e.tag,s,l,c;for(s=0,l=r.length;s<l;s+=1)c=r[s],e.replacer&&(c=e.replacer.call(r,String(s),c)),(oi(e,t,c,!1,!1)||typeof c>"u"&&oi(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=a,e.dump="["+n+"]"}T(nN,"writeFlowSequence");function kb(e,t,r,n){var a="",s=e.tag,l,c,h;for(l=0,c=r.length;l<c;l+=1)h=r[l],e.replacer&&(h=e.replacer.call(r,String(l),h)),(oi(e,t+1,h,!0,!0,!1,!0)||typeof h>"u"&&oi(e,t+1,null,!0,!0,!1,!0))&&((!n||a!=="")&&(a+=Ud(e,t)),e.dump&&Xc===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=s,e.dump=a||"[]"}T(kb,"writeBlockSequence");function iN(e,t,r){var n="",a=e.tag,s=Object.keys(r),l,c,h,d,p;for(l=0,c=s.length;l<c;l+=1)p="",n!==""&&(p+=", "),e.condenseFlow&&(p+='"'),h=s[l],d=r[h],e.replacer&&(d=e.replacer.call(r,h,d)),oi(e,t,h,!1,!1)&&(e.dump.length>1024&&(p+="? "),p+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),oi(e,t,d,!1,!1)&&(p+=e.dump,n+=p));e.tag=a,e.dump="{"+n+"}"}T(iN,"writeFlowMapping");function aN(e,t,r,n){var a="",s=e.tag,l=Object.keys(r),c,h,d,p,g,b;if(e.sortKeys===!0)l.sort();else if(typeof e.sortKeys=="function")l.sort(e.sortKeys);else if(e.sortKeys)throw new Qr("sortKeys must be a boolean or a function");for(c=0,h=l.length;c<h;c+=1)b="",(!n||a!=="")&&(b+=Ud(e,t)),d=l[c],p=r[d],e.replacer&&(p=e.replacer.call(r,d,p)),oi(e,t+1,d,!0,!0,!0)&&(g=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,g&&(e.dump&&Xc===e.dump.charCodeAt(0)?b+="?":b+="? "),b+=e.dump,g&&(b+=Ud(e,t)),oi(e,t+1,p,!0,g)&&(e.dump&&Xc===e.dump.charCodeAt(0)?b+=":":b+=": ",b+=e.dump,a+=b));e.tag=s,e.dump=a||"{}"}T(aN,"writeBlockMapping");function Tb(e,t,r){var n,a,s,l,c,h;for(a=r?e.explicitTypes:e.implicitTypes,s=0,l=a.length;s<l;s+=1)if(c=a[s],(c.instanceOf||c.predicate)&&(!c.instanceOf||typeof t=="object"&&t instanceof c.instanceOf)&&(!c.predicate||c.predicate(t))){if(r?c.multi&&c.representName?e.tag=c.representName(t):e.tag=c.tag:e.tag="?",c.represent){if(h=e.styleMap[c.tag]||c.defaultStyle,ML.call(c.represent)==="[object Function]")n=c.represent(t,h);else if(UL.call(c.represent,h))n=c.represent[h](t,h);else throw new Qr("!<"+c.tag+'> tag resolver accepts not "'+h+'" style');e.dump=n}return!0}return!1}T(Tb,"detectType");function oi(e,t,r,n,a,s,l){e.tag=null,e.dump=r,Tb(e,r,!1)||Tb(e,r,!0);var c=ML.call(e.dump),h=n,d;n&&(n=e.flowLevel<0||e.flowLevel>t);var p=c==="[object Object]"||c==="[object Array]",g,b;if(p&&(g=e.duplicates.indexOf(r),b=g!==-1),(e.tag!==null&&e.tag!=="?"||b||e.indent!==2&&t>0)&&(a=!1),b&&e.usedDuplicates[g])e.dump="*ref_"+g;else{if(p&&b&&!e.usedDuplicates[g]&&(e.usedDuplicates[g]=!0),c==="[object Object]")n&&Object.keys(e.dump).length!==0?(aN(e,t,e.dump,a),b&&(e.dump="&ref_"+g+e.dump)):(iN(e,t,e.dump),b&&(e.dump="&ref_"+g+" "+e.dump));else if(c==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!l&&t>0?kb(e,t-1,e.dump,a):kb(e,t,e.dump,a),b&&(e.dump="&ref_"+g+e.dump)):(nN(e,t,e.dump),b&&(e.dump="&ref_"+g+" "+e.dump));else if(c==="[object String]")e.tag!=="?"&&eN(e,e.dump,t,s,h);else{if(c==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new Qr("unacceptable kind of an object to dump "+c)}e.tag!==null&&e.tag!=="?"&&(d=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?d="!"+d:d.slice(0,18)==="tag:yaml.org,2002:"?d="!!"+d.slice(18):d="!<"+d+">",e.dump=d+" "+e.dump)}return!0}T(oi,"writeNode");function oN(e,t){var r=[],n=[],a,s;for($d(e,r,n),a=0,s=n.length;a<s;a+=1)t.duplicates.push(r[n[a]]);t.usedDuplicates=new Array(s)}T(oN,"getDuplicateReferences");function $d(e,t,r){var n,a,s;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,s=e.length;a<s;a+=1)$d(e[a],t,r);else for(n=Object.keys(e),a=0,s=n.length;a<s;a+=1)$d(e[n[a]],t,r)}T($d,"inspectNode");function d7(e,t){t=t||{};var r=new WL(t);r.noRefs||oN(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),oi(r,0,n,!0,!0)?r.dump+`
191
+ `:""}T(d7,"dump$1");function p7(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.")}}T(p7,"renamed");var f7=KD,g7=W9.load;var fc=T((e,t)=>{if(t)return"translate("+-e.width/2+", "+-e.height/2+")";const r=e.x??0,n=e.y??0;return"translate("+-(r+e.width/2)+", "+-(n+e.height/2)+")"},"computeLabelTransform"),kr={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},j1={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function _c(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=Lt(e),t=Lt(t);const[r,n]=[e.x,e.y],[a,s]=[t.x,t.y],l=a-r,c=s-n;return{angle:Math.atan(c/l),deltaX:l,deltaY:c}}T(_c,"calculateDeltaAndAngle");var Lt=T(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,"pointTransformer"),m7=T(e=>({x:T(function(t,r,n){let a=0;const s=Lt(n[0]).x<Lt(n[n.length-1]).x?"left":"right";if(r===0&&Object.hasOwn(kr,e.arrowTypeStart)){const{angle:m,deltaX:C}=_c(n[0],n[1]);a=kr[e.arrowTypeStart]*Math.cos(m)*(C>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(kr,e.arrowTypeEnd)){const{angle:m,deltaX:C}=_c(n[n.length-1],n[n.length-2]);a=kr[e.arrowTypeEnd]*Math.cos(m)*(C>=0?1:-1)}const l=Math.abs(Lt(t).x-Lt(n[n.length-1]).x),c=Math.abs(Lt(t).y-Lt(n[n.length-1]).y),h=Math.abs(Lt(t).x-Lt(n[0]).x),d=Math.abs(Lt(t).y-Lt(n[0]).y),p=kr[e.arrowTypeStart],g=kr[e.arrowTypeEnd],b=1;if(l<g&&l>0&&c<g){let m=g+b-l;m*=s==="right"?-1:1,a-=m}if(h<p&&h>0&&d<p){let m=p+b-h;m*=s==="right"?-1:1,a+=m}return Lt(t).x+a},"x"),y:T(function(t,r,n){let a=0;const s=Lt(n[0]).y<Lt(n[n.length-1]).y?"down":"up";if(r===0&&Object.hasOwn(kr,e.arrowTypeStart)){const{angle:m,deltaY:C}=_c(n[0],n[1]);a=kr[e.arrowTypeStart]*Math.abs(Math.sin(m))*(C>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(kr,e.arrowTypeEnd)){const{angle:m,deltaY:C}=_c(n[n.length-1],n[n.length-2]);a=kr[e.arrowTypeEnd]*Math.abs(Math.sin(m))*(C>=0?1:-1)}const l=Math.abs(Lt(t).y-Lt(n[n.length-1]).y),c=Math.abs(Lt(t).x-Lt(n[n.length-1]).x),h=Math.abs(Lt(t).y-Lt(n[0]).y),d=Math.abs(Lt(t).x-Lt(n[0]).x),p=kr[e.arrowTypeStart],g=kr[e.arrowTypeEnd],b=1;if(l<g&&l>0&&c<g){let m=g+b-l;m*=s==="up"?-1:1,a-=m}if(h<p&&h>0&&d<p){let m=p+b-h;m*=s==="up"?-1:1,a+=m}return Lt(t).y+a},"y")}),"getLineFunctionsWithOffset"),Gh={},rr={},W1;function b7(){return W1||(W1=1,Object.defineProperty(rr,"__esModule",{value:!0}),rr.BLANK_URL=rr.relativeFirstCharacters=rr.whitespaceEscapeCharsRegex=rr.urlSchemeRegex=rr.ctrlCharactersRegex=rr.htmlCtrlEntityRegex=rr.htmlEntitiesRegex=rr.invalidProtocolRegex=void 0,rr.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,rr.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,rr.htmlCtrlEntityRegex=/&(newline|tab);/gi,rr.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,rr.urlSchemeRegex=/^.+(:|&colon;)/gim,rr.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,rr.relativeFirstCharacters=[".","/"],rr.BLANK_URL="about:blank"),rr}var Y1;function y7(){if(Y1)return Gh;Y1=1,Object.defineProperty(Gh,"__esModule",{value:!0}),Gh.sanitizeUrl=s;var e=b7();function t(l){return e.relativeFirstCharacters.indexOf(l[0])>-1}function r(l){var c=l.replace(e.ctrlCharactersRegex,"");return c.replace(e.htmlEntitiesRegex,function(h,d){return String.fromCharCode(d)})}function n(l){return URL.canParse(l)}function a(l){try{return decodeURIComponent(l)}catch{return l}}function s(l){if(!l)return e.BLANK_URL;var c,h=a(l.trim());do h=r(h).replace(e.htmlCtrlEntityRegex,"").replace(e.ctrlCharactersRegex,"").replace(e.whitespaceEscapeCharsRegex,"").trim(),h=a(h),c=h.match(e.ctrlCharactersRegex)||h.match(e.htmlEntitiesRegex)||h.match(e.htmlCtrlEntityRegex)||h.match(e.whitespaceEscapeCharsRegex);while(c&&c.length>0);var d=h;if(!d)return e.BLANK_URL;if(t(d))return d;var p=d.trimStart(),g=p.match(e.urlSchemeRegex);if(!g)return d;var b=g[0].toLowerCase().trim();if(e.invalidProtocolRegex.test(b))return e.BLANK_URL;var m=p.replace(/\\/g,"/");if(b==="mailto:"||b.includes("://"))return m;if(b==="http:"||b==="https:"){if(!n(m))return e.BLANK_URL;var C=new URL(m);return C.protocol=C.protocol.toLowerCase(),C.hostname=C.hostname.toLowerCase(),C.toString()}return m}return Gh}var S7=y7();function C7(e){return Number.isSafeInteger(e)&&e>=0}function sN(e){return e!=null&&typeof e!="function"&&C7(e.length)}function E7(e){return e==="__proto__"}function zy(e){return e==null||typeof e!="object"&&typeof e!="function"}function lN(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Py(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const x7="[object RegExp]",cN="[object String]",uN="[object Number]",hN="[object Boolean]",dN="[object Arguments]",k7="[object Symbol]",T7="[object Date]",_7="[object Map]",w7="[object Set]",v7="[object Array]",A7="[object ArrayBuffer]",pN="[object Object]",R7="[object DataView]",D7="[object Uint8Array]",L7="[object Uint8ClampedArray]",N7="[object Uint16Array]",O7="[object Uint32Array]",I7="[object Int8Array]",B7="[object Int16Array]",F7="[object Int32Array]",M7="[object Float32Array]",U7="[object Float64Array]",V1=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})()||Function("return this")();function Hy(e){return typeof V1.Buffer<"u"&&V1.Buffer.isBuffer(e)}function qy(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function $7(e,t){return Cs(e,void 0,e,new Map,t)}function Cs(e,t,r,n=new Map,a=void 0){const s=a?.(e,t,r,n);if(s!==void 0)return s;if(zy(e))return e;if(n.has(e))return n.get(e);if(Array.isArray(e)){const l=new Array(e.length);n.set(e,l);for(let c=0;c<e.length;c++)l[c]=Cs(e[c],c,r,n,a);return Object.hasOwn(e,"index")&&(l.index=e.index),Object.hasOwn(e,"input")&&(l.input=e.input),l}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const l=new RegExp(e.source,e.flags);return l.lastIndex=e.lastIndex,l}if(e instanceof Map){const l=new Map;n.set(e,l);for(const[c,h]of e)l.set(c,Cs(h,c,r,n,a));return l}if(e instanceof Set){const l=new Set;n.set(e,l);for(const c of e)l.add(Cs(c,void 0,r,n,a));return l}if(Hy(e))return e.subarray();if(qy(e)){const l=new(Object.getPrototypeOf(e)).constructor(e.length);n.set(e,l);for(let c=0;c<e.length;c++)l[c]=Cs(e[c],c,r,n,a);return l}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){const l=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return n.set(e,l),Un(l,e,r,n,a),l}if(typeof File<"u"&&e instanceof File){const l=new File([e],e.name,{type:e.type});return n.set(e,l),Un(l,e,r,n,a),l}if(typeof Blob<"u"&&e instanceof Blob){const l=new Blob([e],{type:e.type});return n.set(e,l),Un(l,e,r,n,a),l}if(e instanceof Error){const l=structuredClone(e);return n.set(e,l),l.message=e.message,l.name=e.name,l.stack=e.stack,l.cause=e.cause,l.constructor=e.constructor,Un(l,e,r,n,a),l}if(e instanceof Boolean){const l=new Boolean(e.valueOf());return n.set(e,l),Un(l,e,r,n,a),l}if(e instanceof Number){const l=new Number(e.valueOf());return n.set(e,l),Un(l,e,r,n,a),l}if(e instanceof String){const l=new String(e.valueOf());return n.set(e,l),Un(l,e,r,n,a),l}if(typeof e=="object"&&z7(e)){const l=Object.create(Object.getPrototypeOf(e));return n.set(e,l),Un(l,e,r,n,a),l}return e}function Un(e,t,r=e,n,a){const s=[...Object.keys(t),...lN(t)];for(let l=0;l<s.length;l++){const c=s[l],h=Object.getOwnPropertyDescriptor(e,c);(h==null||h.writable)&&(e[c]=Cs(t[c],c,r,n,a))}}function z7(e){switch(Py(e)){case dN:case v7:case A7:case R7:case hN:case T7:case M7:case U7:case I7:case B7:case F7:case _7:case uN:case pN:case x7:case w7:case cN:case k7:case D7:case L7:case N7:case O7:return!0;default:return!1}}function P7(e,t){return $7(e,(r,n,a,s)=>{if(typeof e=="object"){if(Py(e)===pN&&typeof e.constructor!="function"){const l={};return s.set(e,l),Un(l,e,a,s),l}switch(Object.prototype.toString.call(e)){case uN:case cN:case hN:{const l=new e.constructor(e?.valueOf());return Un(l,e),l}case dN:{const l={};return Un(l,e),l.length=e.length,l[Symbol.iterator]=e[Symbol.iterator],l}default:return}}})}function X1(e){return P7(e)}function _b(e){return e!==null&&typeof e=="object"&&Py(e)==="[object Arguments]"}function wb(e){return typeof e=="object"&&e!==null}function H7(e){return wb(e)&&sN(e)}function uu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError("Expected a function");const r=function(...a){const s=t?t.apply(this,a):a[0],l=r.cache;if(l.has(s))return l.get(s);const c=e.apply(this,a);return r.cache=l.set(s,c)||l,c},n=uu.Cache||Map;return r.cache=new n,r}uu.Cache=Map;function q7(){}function G7(e){const t=e?.constructor,r=typeof t=="function"?t.prototype:Object.prototype;return e===r}function ld(e){return qy(e)}function km(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){const r=e[Symbol.toStringTag];return r==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${r}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function j7(e){if(zy(e))return e;if(Array.isArray(e)||qy(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);const t=Object.getPrototypeOf(e);if(t==null)return Object.assign(Object.create(t),e);const r=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new r(e);if(e instanceof RegExp){const n=new r(e);return n.lastIndex=e.lastIndex,n}if(e instanceof DataView)return new r(e.buffer.slice(0));if(e instanceof Error){let n;return e instanceof AggregateError?n=new r(e.errors,e.message,{cause:e.cause}):n=new r(e.message,{cause:e.cause}),n.stack=e.stack,Object.assign(n,e),n}if(typeof File<"u"&&e instanceof File)return new r([e],e.name,{type:e.type,lastModified:e.lastModified});if(typeof e=="object"){const n=Object.create(t);return Object.assign(n,e)}return e}function W7(e,...t){const r=t.slice(0,-1),n=t[t.length-1];let a=e;for(let s=0;s<r.length;s++){const l=r[s];a=cd(a,l,n,new Map)}return a}function cd(e,t,r,n){if(zy(e)&&(e=Object(e)),t==null||typeof t!="object")return e;if(n.has(t))return j7(n.get(t));if(n.set(t,e),Array.isArray(t)){t=t.slice();for(let s=0;s<t.length;s++)t[s]=t[s]??void 0}const a=[...Object.keys(t),...lN(t)];for(let s=0;s<a.length;s++){const l=a[s];if(E7(l))continue;let c=t[l],h=e[l];if(_b(c)&&(c={...c}),_b(h)&&(h={...h}),Hy(c)&&(c=X1(c)),Array.isArray(c))if(Array.isArray(h)){const p=[],g=Reflect.ownKeys(h);for(let b=0;b<g.length;b++){const m=g[b];p[m]=h[m]}h=p}else if(H7(h)){const p=[];for(let g=0;g<h.length;g++)p[g]=h[g];h=p}else h=[];const d=r(h,c,l,e,t,n);d!==void 0?e[l]=d:Array.isArray(c)||wb(h)&&wb(c)&&(km(h)||km(c)||ld(h)||ld(c))?e[l]=cd(h,c,r,n):h==null&&km(c)?e[l]=cd({},c,r,n):h==null&&ld(c)?e[l]=X1(c):(h===void 0||c!==void 0)&&(e[l]=c)}return e}function Y7(e,...t){return W7(e,...t,q7)}function Z1(e){if(e==null)return!0;if(sN(e))return typeof e.splice!="function"&&typeof e!="string"&&!Hy(e)&&!ld(e)&&!_b(e)?!1:e.length===0;if(typeof e=="object"){if(e instanceof Map||e instanceof Set)return e.size===0;const t=Object.keys(e);return G7(e)?t.filter(r=>r!=="constructor").length===0:t.length===0}return!0}var V7="​",X7={curveBasis:cb,curveBasisClosed:e9,curveBasisOpen:t9,curveBumpX:oD,curveBumpY:sD,curveBundle:r9,curveCardinalClosed:n9,curveCardinalOpen:i9,curveCardinal:hD,curveCatmullRomClosed:a9,curveCatmullRomOpen:o9,curveCatmullRom:pD,curveLinear:Bc,curveLinearClosed:s9,curveMonotoneX:SD,curveMonotoneY:CD,curveNatural:xD,curveStep:kD,curveStepAfter:_D,curveStepBefore:TD},Z7=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,K7=T(function(e,t){const r=fN(e,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const l=r.map(c=>c.args);Cd(l),n=nr(n,[...l])}else n=r.args;if(!n)return;let a=fy(e,t);const s="config";return n[s]!==void 0&&(a==="flowchart-v2"&&(a="flowchart"),n[a]=n[s],delete n[s]),n},"detectInit"),fN=T(function(e,t=null){try{const r=new RegExp(`[%]{2}(?![{]${Z7.source})(?=[}][%]{2}).*
192
+ `,"ig");e=e.trim().replace(r,"").replace(/'/gm,'"'),pe.debug(`Detecting diagram directive${t!==null?" type:"+t:""} based on the text:${e}`);let n;const a=[];for(;(n=Oc.exec(e))!==null;)if(n.index===Oc.lastIndex&&Oc.lastIndex++,n&&!t||t&&n[1]?.match(t)||t&&n[2]?.match(t)){const s=n[1]?n[1]:n[2],l=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;a.push({type:s,args:l})}return a.length===0?{type:e,args:null}:a.length===1?a[0]:a}catch(r){return pe.error(`ERROR: ${r.message} - Unable to parse directive type: '${t}' based on the text: '${e}'`),{type:void 0,args:null}}},"detectDirective"),Q7=T(function(e){return e.replace(Oc,"")},"removeDirectives"),J7=T(function(e,t){for(const[r,n]of t.entries())if(n.match(e))return r;return-1},"isSubstringInArray");function Gy(e,t){if(!e)return t;const r=`curve${e.charAt(0).toUpperCase()+e.slice(1)}`;return X7[r]??t}T(Gy,"interpolateToCurve");function gN(e,t){const r=e.trim();if(r)return t.securityLevel!=="loose"?S7.sanitizeUrl(r):r}T(gN,"formatUrl");var ej=T((e,...t)=>{const r=e.split("."),n=r.length-1,a=r[n];let s=window;for(let l=0;l<n;l++)if(s=s[r[l]],!s){pe.error(`Function name: ${e} not found in window`);return}s[a](...t)},"runFunc");function jy(e,t){return!e||!t?0:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}T(jy,"distance");function mN(e){let t,r=0;e.forEach(a=>{r+=jy(a,t),t=a});const n=r/2;return Wy(e,n)}T(mN,"traverseEdge");function bN(e){return e.length===1?e[0]:mN(e)}T(bN,"calcLabelPosition");var K1=T((e,t=2)=>{const r=Math.pow(10,t);return Math.round(e*r)/r},"roundNumber"),Wy=T((e,t)=>{let r,n=t;for(const a of e){if(r){const s=jy(a,r);if(s===0)return r;if(s<n)n-=s;else{const l=n/s;if(l<=0)return r;if(l>=1)return{x:a.x,y:a.y};if(l>0&&l<1)return{x:K1((1-l)*r.x+l*a.x,5),y:K1((1-l)*r.y+l*a.y,5)}}}r=a}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),tj=T((e,t,r)=>{pe.info(`our points ${JSON.stringify(t)}`),t[0]!==r&&(t=t.reverse());const a=Wy(t,25),s=e?10:5,l=Math.atan2(t[0].y-a.y,t[0].x-a.x),c={x:0,y:0};return c.x=Math.sin(l)*s+(t[0].x+a.x)/2,c.y=-Math.cos(l)*s+(t[0].y+a.y)/2,c},"calcCardinalityPosition");function yN(e,t,r){const n=structuredClone(r);pe.info("our points",n),t!=="start_left"&&t!=="start_right"&&n.reverse();const a=25+e,s=Wy(n,a),l=10+e*.5,c=Math.atan2(n[0].y-s.y,n[0].x-s.x),h={x:0,y:0};return t==="start_left"?(h.x=Math.sin(c+Math.PI)*l+(n[0].x+s.x)/2,h.y=-Math.cos(c+Math.PI)*l+(n[0].y+s.y)/2):t==="end_right"?(h.x=Math.sin(c-Math.PI)*l+(n[0].x+s.x)/2-5,h.y=-Math.cos(c-Math.PI)*l+(n[0].y+s.y)/2-5):t==="end_left"?(h.x=Math.sin(c)*l+(n[0].x+s.x)/2-5,h.y=-Math.cos(c)*l+(n[0].y+s.y)/2-5):(h.x=Math.sin(c)*l+(n[0].x+s.x)/2,h.y=-Math.cos(c)*l+(n[0].y+s.y)/2),h}T(yN,"calcTerminalLabelPosition");function SN(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}}T(SN,"getStylesFromArray");var Q1=0,rj=T(()=>(Q1++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Q1),"generateId");function CN(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}T(CN,"makeRandomHex");var nj=T(e=>CN(e.length),"random"),ij=T(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"),aj=T(function(e,t){const r=t.text.replace(ou.lineBreakRegex," "),[,n]=fp(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 s=a.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.attr("fill",t.fill),s.text(r),a},"drawSimpleText"),oj=uu((e,t,r)=>{if(!e||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),ou.lineBreakRegex.test(e)))return e;const n=e.split(" ").filter(Boolean),a=[];let s="";return n.forEach((l,c)=>{const h=zi(`${l} `,r),d=zi(s,r);if(h>t){const{hyphenatedStrings:b,remainingWord:m}=sj(l,t,"-",r);a.push(s,...b),s=m}else d+h>=t?(a.push(s),s=l):s=[s,l].filter(Boolean).join(" ");c+1===n.length&&a.push(s)}),a.filter(l=>l!=="").join(r.joinWith)},(e,t,r)=>`${e}${t}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),sj=uu((e,t,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);const a=[...e],s=[];let l="";return a.forEach((c,h)=>{const d=`${l}${c}`;if(zi(d,n)>=t){const g=h+1,b=a.length===g,m=`${d}${r}`;s.push(b?d:m),l=""}else l=d}),{hyphenatedStrings:s,remainingWord:l}},(e,t,r="-",n)=>`${e}${t}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function EN(e,t){return Yy(e,t).height}T(EN,"calculateTextHeight");function zi(e,t){return Yy(e,t).width}T(zi,"calculateTextWidth");var Yy=uu((e,t)=>{const{fontSize:r=12,fontFamily:n="Arial",fontWeight:a=400}=t;if(!e)return{width:0,height:0};const[,s]=fp(r),l=["sans-serif",n],c=e.split(ou.lineBreakRegex),h=[],d=Ve("body");if(!d.remove)return{width:0,height:0,lineHeight:0};const p=d.append("svg");for(const b of l){let m=0;const C={width:0,height:0,lineHeight:0};for(const E of c){const k=ij();k.text=E||V7;const x=aj(p,k).style("font-size",s).style("font-weight",a).style("font-family",b),w=(x._groups||x)[0][0].getBBox();if(w.width===0&&w.height===0)throw new Error("svg element not in render tree");C.width=Math.round(Math.max(C.width,w.width)),m=Math.round(w.height),C.height+=m,C.lineHeight=Math.round(Math.max(C.lineHeight,m))}h.push(C)}p.remove();const g=isNaN(h[1].height)||isNaN(h[1].width)||isNaN(h[1].lineHeight)||h[0].height>h[1].height&&h[0].width>h[1].width&&h[0].lineHeight>h[1].lineHeight?0:1;return h[g]},(e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),$s,lj=($s=class{constructor(t=!1,r){this.count=0,this.count=r?r.length:0,this.next=t?()=>this.count++:()=>Date.now()}},T($s,"InitIDGenerator"),$s),jh,cj=T(function(e){return jh=jh||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),jh.innerHTML=e,unescape(jh.textContent)},"entityDecode");function Vy(e){return"str"in e}T(Vy,"isDetailedError");var uj=T((e,t,r,n)=>{if(!n)return;const a=e.node()?.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"),fp=T(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 Xy(e,t){return Y7({},e,t)}T(Xy,"cleanAndMerge");var Hn={assignWithDepth:nr,wrapLabel:oj,calculateTextHeight:EN,calculateTextWidth:zi,calculateTextDimensions:Yy,cleanAndMerge:Xy,detectInit:K7,detectDirective:fN,isSubstringInArray:J7,interpolateToCurve:Gy,calcLabelPosition:bN,calcCardinalityPosition:tj,calcTerminalLabelPosition:yN,formatUrl:gN,getStylesFromArray:SN,generateId:rj,random:nj,runFunc:ej,entityDecode:cj,insertTitle:uj,isLabelCoordinateInPath:xN,parseFontSize:fp,InitIDGenerator:lj},hj=T(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"),bo=T(function(e){return e.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),MQ=T((e,t,{counter:r=0,prefix:n,suffix:a},s)=>s||`${n?`${n}_`:""}${e}_${t}_${r}${a?`_${a}`:""}`,"getEdgeId");function cr(e){return e??null}T(cr,"handleUndefinedAttr");function xN(e,t){const r=Math.round(e.x),n=Math.round(e.y),a=t.replace(/(\d+\.\d+)/g,s=>Math.round(parseFloat(s)).toString());return a.includes(r.toString())||a.includes(n.toString())}T(xN,"isLabelCoordinateInPath");var Zy=T(({flowchart:e})=>{const t=e?.subGraphTitleMargin?.top??0,r=e?.subGraphTitleMargin?.bottom??0,n=t+r;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:n}},"getSubGraphTitleMargins");async function kN(e,t){const r=e.getElementsByTagName("img");if(!r||r.length===0)return;const n=t.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...r].map(a=>new Promise(s=>{function l(){if(a.style.display="flex",a.style.flexDirection="column",n){const c=ht().fontSize?ht().fontSize:window.getComputedStyle(document.body).fontSize,h=5,[d=yR.fontSize]=fp(c),p=d*h+"px";a.style.minWidth=p,a.style.maxWidth=p}else a.style.width="100%";s(a)}T(l,"setupImage"),setTimeout(()=>{a.complete&&l()}),a.addEventListener("error",l),a.addEventListener("load",l)})))}T(kN,"configureLabelImages");var dj=T(e=>{const{handDrawnSeed:t}=ht();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:t}},"solidStateFill"),Ks=T(e=>{const t=pj([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},"compileStyles"),pj=T(e=>{const t=new Map;return e.forEach(r=>{const[n,a]=r.split(":");t.set(n.trim(),a?.trim())}),t},"styles2Map"),TN=T(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"),we=T(e=>{const{stylesArray:t}=Ks(e),r=[],n=[],a=[],s=[];return t.forEach(l=>{const c=l[0];TN(c)?r.push(l.join(":")+" !important"):(n.push(l.join(":")+" !important"),c.includes("stroke")&&a.push(l.join(":")+" !important"),c==="fill"&&s.push(l.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:t,borderStyles:a,backgroundStyles:s}},"styles2String"),_e=T((e,t)=>{const{themeVariables:r,handDrawnSeed:n}=ht(),{nodeBorder:a,mainBkg:s}=r,{stylesMap:l}=Ks(e);return Object.assign({roughness:.7,fill:l.get("fill")||s,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:l.get("stroke")||a,seed:n,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:fj(l.get("stroke-dasharray"))},t)},"userNodeOverrides"),fj=T(e=>{if(!e)return[0,0];const t=e.trim().split(/\s+/).map(Number);if(t.length===1){const a=isNaN(t[0])?0:t[0];return[a,a]}const r=isNaN(t[0])?0:t[0],n=isNaN(t[1])?0:t[1];return[r,n]},"getStrokeDashArray");const gj=Object.freeze({left:0,top:0,width:16,height:16}),zd=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_N=Object.freeze({...gj,...zd}),mj=Object.freeze({..._N,body:"",hidden:!1}),bj=Object.freeze({width:null,height:null}),yj=Object.freeze({...bj,...zd}),Sj=(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 c=a.pop(),h=a.pop(),d={provider:a.length>0?a[0]:n,prefix:h,name:c};return Tm(d)?d:null}const s=a[0],l=s.split("-");if(l.length>1){const c={provider:n,prefix:l.shift(),name:l.join("-")};return Tm(c)?c:null}if(r&&n===""){const c={provider:n,prefix:"",name:s};return Tm(c,r)?c:null}return null},Tm=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Cj(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 J1(e,t){const r=Cj(e,t);for(const n in mj)n in zd?n in e&&!(n in r)&&(r[n]=zd[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Ej(e,t){const r=e.icons,n=e.aliases||Object.create(null),a=Object.create(null);function s(l){if(r[l])return a[l]=[];if(!(l in a)){a[l]=null;const c=n[l]&&n[l].parent,h=c&&s(c);h&&(a[l]=[c].concat(h))}return a[l]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(s),a}function eA(e,t,r){const n=e.icons,a=e.aliases||Object.create(null);let s={};function l(c){s=J1(n[c]||a[c],s)}return l(t),r.forEach(l),J1(e,s)}function xj(e,t){if(e.icons[t])return eA(e,t,[]);const r=Ej(e,[t])[t];return r?eA(e,t,r):null}const kj=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Tj=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function tA(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(kj);if(n===null||!n.length)return e;const a=[];let s=n.shift(),l=Tj.test(s);for(;;){if(l){const c=parseFloat(s);isNaN(c)?a.push(s):a.push(Math.ceil(c*t*r)/r)}else a.push(s);if(s=n.shift(),s===void 0)return a.join("");l=!l}}function _j(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const a=e.indexOf(">",n),s=e.indexOf("</"+t);if(a===-1||s===-1)break;const l=e.indexOf(">",s);if(l===-1)break;r+=e.slice(a+1,s).trim(),e=e.slice(0,n).trim()+e.slice(l+1)}return{defs:r,content:e}}function wj(e,t){return e?"<defs>"+e+"</defs>"+t:t}function vj(e,t,r){const n=_j(e);return wj(n.defs,t+n.content+r)}const Aj=e=>e==="unset"||e==="undefined"||e==="none";function Rj(e,t){const r={..._N,...e},n={...yj,...t},a={left:r.left,top:r.top,width:r.width,height:r.height};let s=r.body;[r,n].forEach(E=>{const k=[],x=E.hFlip,w=E.vFlip;let v=E.rotate;x?w?v+=2:(k.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),k.push("scale(-1 1)"),a.top=a.left=0):w&&(k.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),k.push("scale(1 -1)"),a.top=a.left=0);let O;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:O=a.height/2+a.top,k.unshift("rotate(90 "+O.toString()+" "+O.toString()+")");break;case 2:k.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:O=a.width/2+a.left,k.unshift("rotate(-90 "+O.toString()+" "+O.toString()+")");break}v%2===1&&(a.left!==a.top&&(O=a.left,a.left=a.top,a.top=O),a.width!==a.height&&(O=a.width,a.width=a.height,a.height=O)),k.length&&(s=vj(s,'<g transform="'+k.join(" ")+'">',"</g>"))});const l=n.width,c=n.height,h=a.width,d=a.height;let p,g;l===null?(g=c===null?"1em":c==="auto"?d:c,p=tA(g,h/d)):(p=l==="auto"?h:l,g=c===null?tA(p,d/h):c==="auto"?d:c);const b={},m=(E,k)=>{Aj(k)||(b[E]=k.toString())};m("width",p),m("height",g);const C=[a.left,a.top,h,d];return b.viewBox=C.join(" "),{attributes:b,viewBox:C,body:s}}const Dj=/\sid="(\S+)"/g,rA=new Map;function Lj(e){e=e.replace(/[0-9]+$/,"")||"a";const t=rA.get(e)||0;return rA.set(e,t+1),t?`${e}${t}`:e}function Nj(e){const t=[];let r;for(;r=Dj.exec(e);)t.push(r[1]);if(!t.length)return e;const n="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(a=>{const s=Lj(a),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+n+"$3")}),e=e.replace(new RegExp(n,"g"),""),e}function Oj(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 Ky(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Eo=Ky();function wN(e){Eo=e}var Fc={exec:()=>null};function dt(e,t=""){let r=typeof e=="string"?e:e.source,n={replace:(a,s)=>{let l=typeof s=="string"?s:s.source;return l=l.replace(Ur.caret,"$1"),r=r.replace(a,l),n},getRegex:()=>new RegExp(r,t)};return n}var Ij=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),Ur={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")},Bj=/^(?:[ \t]*(?:\n|$))+/,Fj=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Mj=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hu=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Uj=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Qy=/(?:[*+-]|\d{1,9}[.)])/,vN=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,AN=dt(vN).replace(/bull/g,Qy).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(),$j=dt(vN).replace(/bull/g,Qy).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(),Jy=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,zj=/^[^\n]+/,eS=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Pj=dt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",eS).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Hj=dt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Qy).getRegex(),gp="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",tS=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,qj=dt("^ {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",tS).replace("tag",gp).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),RN=dt(Jy).replace("hr",hu).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",gp).getRegex(),Gj=dt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",RN).getRegex(),rS={blockquote:Gj,code:Fj,def:Pj,fences:Mj,heading:Uj,hr:hu,html:qj,lheading:AN,list:Hj,newline:Bj,paragraph:RN,table:Fc,text:zj},nA=dt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hu).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",gp).getRegex(),jj={...rS,lheading:$j,table:nA,paragraph:dt(Jy).replace("hr",hu).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",nA).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",gp).getRegex()},Wj={...rS,html:dt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",tS).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:Fc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:dt(Jy).replace("hr",hu).replace("heading",` *#{1,6} *[^
193
+ ]`).replace("lheading",AN).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Yj=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Vj=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,DN=/^( {2,}|\\)\n(?!\s*$)/,Xj=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,mp=/[\p{P}\p{S}]/u,nS=/[\s\p{P}\p{S}]/u,LN=/[^\s\p{P}\p{S}]/u,Zj=dt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,nS).getRegex(),NN=/(?!~)[\p{P}\p{S}]/u,Kj=/(?!~)[\s\p{P}\p{S}]/u,Qj=/(?:[^\s\p{P}\p{S}]|~)/u,Jj=dt(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Ij?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ON=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,eW=dt(ON,"u").replace(/punct/g,mp).getRegex(),tW=dt(ON,"u").replace(/punct/g,NN).getRegex(),IN="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",rW=dt(IN,"gu").replace(/notPunctSpace/g,LN).replace(/punctSpace/g,nS).replace(/punct/g,mp).getRegex(),nW=dt(IN,"gu").replace(/notPunctSpace/g,Qj).replace(/punctSpace/g,Kj).replace(/punct/g,NN).getRegex(),iW=dt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,LN).replace(/punctSpace/g,nS).replace(/punct/g,mp).getRegex(),aW=dt(/\\(punct)/,"gu").replace(/punct/g,mp).getRegex(),oW=dt(/^<(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(),sW=dt(tS).replace("(?:-->|$)","-->").getRegex(),lW=dt("^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",sW).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Pd=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,cW=dt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Pd).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),BN=dt(/^!?\[(label)\]\[(ref)\]/).replace("label",Pd).replace("ref",eS).getRegex(),FN=dt(/^!?\[(ref)\](?:\[\])?/).replace("ref",eS).getRegex(),uW=dt("reflink|nolink(?!\\()","g").replace("reflink",BN).replace("nolink",FN).getRegex(),iA=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,iS={_backpedal:Fc,anyPunctuation:aW,autolink:oW,blockSkip:Jj,br:DN,code:Vj,del:Fc,emStrongLDelim:eW,emStrongRDelimAst:rW,emStrongRDelimUnd:iW,escape:Yj,link:cW,nolink:FN,punctuation:Zj,reflink:BN,reflinkSearch:uW,tag:lW,text:Xj,url:Fc},hW={...iS,link:dt(/^!?\[(label)\]\((.*?)\)/).replace("label",Pd).getRegex(),reflink:dt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pd).getRegex()},vb={...iS,emStrongRDelimAst:nW,emStrongLDelim:tW,url:dt(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",iA).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\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:dt(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",iA).getRegex()},dW={...vb,br:dt(DN).replace("{2,}","*").getRegex(),text:dt(vb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Wh={normal:rS,gfm:jj,pedantic:Wj},gc={normal:iS,gfm:vb,breaks:dW,pedantic:hW},pW={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},aA=e=>pW[e];function ei(e,t){if(t){if(Ur.escapeTest.test(e))return e.replace(Ur.escapeReplace,aA)}else if(Ur.escapeTestNoEncode.test(e))return e.replace(Ur.escapeReplaceNoEncode,aA);return e}function oA(e){try{e=encodeURI(e).replace(Ur.percentDecode,"%")}catch{return null}return e}function sA(e,t){let r=e.replace(Ur.findPipe,(s,l,c)=>{let h=!1,d=l;for(;--d>=0&&c[d]==="\\";)h=!h;return h?"|":" |"}),n=r.split(Ur.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.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(Ur.slashPipe,"|");return n}function mc(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 fW(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 lA(e,t,r,n,a){let s=t.href,l=t.title||null,c=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let h={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:s,title:l,text:c,tokens:n.inlineTokens(c)};return n.state.inLink=!1,h}function gW(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(n===null)return t;let a=n[1];return t.split(`
194
+ `).map(s=>{let l=s.match(r.other.beginningSpace);if(l===null)return s;let[c]=l;return c.length>=a.length?s.slice(a.length):s}).join(`
195
+ `)}var Hd=class{options;rules;lexer;constructor(t){this.options=t||Eo}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:mc(n,`
196
+ `)}}}fences(t){let r=this.rules.block.fences.exec(t);if(r){let n=r[0],a=gW(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=mc(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:mc(r[0],`
197
+ `)}}blockquote(t){let r=this.rules.block.blockquote.exec(t);if(r){let n=mc(r[0],`
198
+ `).split(`
199
+ `),a="",s="",l=[];for(;n.length>0;){let c=!1,h=[],d;for(d=0;d<n.length;d++)if(this.rules.other.blockquoteStart.test(n[d]))h.push(n[d]),c=!0;else if(!c)h.push(n[d]);else break;n=n.slice(d);let p=h.join(`
200
+ `),g=p.replace(this.rules.other.blockquoteSetextReplace,`
201
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");a=a?`${a}
202
+ ${p}`:p,s=s?`${s}
203
+ ${g}`:g;let b=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(g,l,!0),this.lexer.state.top=b,n.length===0)break;let m=l.at(-1);if(m?.type==="code")break;if(m?.type==="blockquote"){let C=m,E=C.raw+`
204
+ `+n.join(`
205
+ `),k=this.blockquote(E);l[l.length-1]=k,a=a.substring(0,a.length-C.raw.length)+k.raw,s=s.substring(0,s.length-C.text.length)+k.text;break}else if(m?.type==="list"){let C=m,E=C.raw+`
206
+ `+n.join(`
207
+ `),k=this.list(E);l[l.length-1]=k,a=a.substring(0,a.length-m.raw.length)+k.raw,s=s.substring(0,s.length-C.raw.length)+k.raw,n=E.substring(l.at(-1).raw.length).split(`
208
+ `);continue}}return{type:"blockquote",raw:a,tokens:l,text:s}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim(),a=n.length>1,s={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 l=this.rules.other.listItemRegex(n),c=!1;for(;t;){let d=!1,p="",g="";if(!(r=l.exec(t))||this.rules.block.hr.test(t))break;p=r[0],t=t.substring(p.length);let b=r[2].split(`
209
+ `,1)[0].replace(this.rules.other.listReplaceTabs,w=>" ".repeat(3*w.length)),m=t.split(`
210
+ `,1)[0],C=!b.trim(),E=0;if(this.options.pedantic?(E=2,g=b.trimStart()):C?E=r[1].length+1:(E=r[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,g=b.slice(E),E+=r[1].length),C&&this.rules.other.blankLine.test(m)&&(p+=m+`
211
+ `,t=t.substring(m.length+1),d=!0),!d){let w=this.rules.other.nextBulletRegex(E),v=this.rules.other.hrRegex(E),O=this.rules.other.fencesBeginRegex(E),F=this.rules.other.headingBeginRegex(E),R=this.rules.other.htmlBeginRegex(E);for(;t;){let $=t.split(`
212
+ `,1)[0],z;if(m=$,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),z=m):z=m.replace(this.rules.other.tabCharGlobal," "),O.test(m)||F.test(m)||R.test(m)||w.test(m)||v.test(m))break;if(z.search(this.rules.other.nonSpaceChar)>=E||!m.trim())g+=`
213
+ `+z.slice(E);else{if(C||b.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||O.test(b)||F.test(b)||v.test(b))break;g+=`
214
+ `+m}!C&&!m.trim()&&(C=!0),p+=$+`
215
+ `,t=t.substring($.length+1),b=z.slice(E)}}s.loose||(c?s.loose=!0:this.rules.other.doubleBlankLine.test(p)&&(c=!0));let k=null,x;this.options.gfm&&(k=this.rules.other.listIsTask.exec(g),k&&(x=k[0]!=="[ ] ",g=g.replace(this.rules.other.listReplaceTask,""))),s.items.push({type:"list_item",raw:p,task:!!k,checked:x,loose:!1,text:g,tokens:[]}),s.raw+=p}let h=s.items.at(-1);if(h)h.raw=h.raw.trimEnd(),h.text=h.text.trimEnd();else return;s.raw=s.raw.trimEnd();for(let d=0;d<s.items.length;d++)if(this.lexer.state.top=!1,s.items[d].tokens=this.lexer.blockTokens(s.items[d].text,[]),!s.loose){let p=s.items[d].tokens.filter(b=>b.type==="space"),g=p.length>0&&p.some(b=>this.rules.other.anyLine.test(b.raw));s.loose=g}if(s.loose)for(let d=0;d<s.items.length;d++)s.items[d].loose=!0;return s}}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"):"",s=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:s}}}table(t){let r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let n=sA(r[1]),a=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=r[3]?.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
216
+ `):[],l={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===a.length){for(let c of a)this.rules.other.tableAlignRight.test(c)?l.align.push("right"):this.rules.other.tableAlignCenter.test(c)?l.align.push("center"):this.rules.other.tableAlignLeft.test(c)?l.align.push("left"):l.align.push(null);for(let c=0;c<n.length;c++)l.header.push({text:n[c],tokens:this.lexer.inline(n[c]),header:!0,align:l.align[c]});for(let c of s)l.rows.push(sA(c,l.header.length).map((h,d)=>({text:h,tokens:this.lexer.inline(h),header:!1,align:l.align[d]})));return l}}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)===`
217
+ `?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 l=mc(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{let l=fW(r[2],"()");if(l===-2)return;if(l>-1){let c=(r[0].indexOf("!")===0?5:4)+r[1].length+l;r[2]=r[2].substring(0,l),r[0]=r[0].substring(0,c).trim(),r[3]=""}}let a=r[2],s="";if(this.options.pedantic){let l=this.rules.other.pedanticHrefTitle.exec(a);l&&(a=l[1],s=l[3])}else s=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)),lA(r,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.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," "),s=r[a.toLowerCase()];if(!s){let l=n[0].charAt(0);return{type:"text",raw:l,text:l}}return lA(n,s,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 s=[...a[0]].length-1,l,c,h=s,d=0,p=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(p.lastIndex=0,r=r.slice(-1*t.length+s);(a=p.exec(r))!=null;){if(l=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!l)continue;if(c=[...l].length,a[3]||a[4]){h+=c;continue}else if((a[5]||a[6])&&s%3&&!((s+c)%3)){d+=c;continue}if(h-=c,h>0)continue;c=Math.min(c,c+h+d);let g=[...a[0]][0].length,b=t.slice(0,s+a.index+g+c);if(Math.min(s,c)%2){let C=b.slice(1,-1);return{type:"em",raw:b,text:C,tokens:this.lexer.inlineTokens(C)}}let m=b.slice(2,-2);return{type:"strong",raw:b,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),s=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return a&&s&&(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){let r;if(r=this.rules.inline.url.exec(t)){let n,a;if(r[2]==="@")n=r[0],a="mailto:"+n;else{let s;do s=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])?.[0]??"";while(s!==r[0]);n=r[0],r[1]==="www."?a="http://"+r[0]:a=r[0]}return{type:"link",raw:r[0],text:n,href:a,tokens:[{type:"text",raw:n,text:n}]}}}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}}}},$n=class Ab{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Eo,this.options.tokenizer=this.options.tokenizer||new Hd,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:Ur,block:Wh.normal,inline:gc.normal};this.options.pedantic?(r.block=Wh.pedantic,r.inline=gc.pedantic):this.options.gfm&&(r.block=Wh.gfm,this.options.breaks?r.inline=gc.breaks:r.inline=gc.gfm),this.tokenizer.rules=r}static get rules(){return{block:Wh,inline:gc}}static lex(t,r){return new Ab(r).lex(t)}static lexInline(t,r){return new Ab(r).inlineTokens(t)}lex(t){t=t.replace(Ur.carriageReturn,`
218
+ `),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){for(this.options.pedantic&&(t=t.replace(Ur.tabCharGlobal," ").replace(Ur.spaceLine,""));t;){let a;if(this.options.extensions?.block?.some(l=>(a=l.call({lexer:this},t,r))?(t=t.substring(a.raw.length),r.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let l=r.at(-1);a.raw.length===1&&l!==void 0?l.raw+=`
219
+ `:r.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let l=r.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
220
+ `)?"":`
221
+ `)+a.raw,l.text+=`
222
+ `+a.text,this.inlineQueue.at(-1).src=l.text):r.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let l=r.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
223
+ `)?"":`
224
+ `)+a.raw,l.text+=`
225
+ `+a.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},r.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),r.push(a);continue}let s=t;if(this.options.extensions?.startBlock){let l=1/0,c=t.slice(1),h;this.options.extensions.startBlock.forEach(d=>{h=d.call({lexer:this},c),typeof h=="number"&&h>=0&&(l=Math.min(l,h))}),l<1/0&&l>=0&&(s=t.substring(0,l+1))}if(this.state.top&&(a=this.tokenizer.paragraph(s))){let l=r.at(-1);n&&l?.type==="paragraph"?(l.raw+=(l.raw.endsWith(`
226
+ `)?"":`
227
+ `)+a.raw,l.text+=`
228
+ `+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):r.push(a),n=s.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length);let l=r.at(-1);l?.type==="text"?(l.raw+=(l.raw.endsWith(`
229
+ `)?"":`
230
+ `)+a.raw,l.text+=`
231
+ `+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):r.push(a);continue}if(t){let l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n=t,a=null;if(this.tokens.links){let h=Object.keys(this.tokens.links);if(h.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)h.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);let s;for(;(a=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)s=a[2]?a[2].length:0,n=n.slice(0,a.index+s)+"["+"a".repeat(a[0].length-s-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let l=!1,c="";for(;t;){l||(c=""),l=!1;let h;if(this.options.extensions?.inline?.some(p=>(h=p.call({lexer:this},t,r))?(t=t.substring(h.raw.length),r.push(h),!0):!1))continue;if(h=this.tokenizer.escape(t)){t=t.substring(h.raw.length),r.push(h);continue}if(h=this.tokenizer.tag(t)){t=t.substring(h.raw.length),r.push(h);continue}if(h=this.tokenizer.link(t)){t=t.substring(h.raw.length),r.push(h);continue}if(h=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(h.raw.length);let p=r.at(-1);h.type==="text"&&p?.type==="text"?(p.raw+=h.raw,p.text+=h.text):r.push(h);continue}if(h=this.tokenizer.emStrong(t,n,c)){t=t.substring(h.raw.length),r.push(h);continue}if(h=this.tokenizer.codespan(t)){t=t.substring(h.raw.length),r.push(h);continue}if(h=this.tokenizer.br(t)){t=t.substring(h.raw.length),r.push(h);continue}if(h=this.tokenizer.del(t)){t=t.substring(h.raw.length),r.push(h);continue}if(h=this.tokenizer.autolink(t)){t=t.substring(h.raw.length),r.push(h);continue}if(!this.state.inLink&&(h=this.tokenizer.url(t))){t=t.substring(h.raw.length),r.push(h);continue}let d=t;if(this.options.extensions?.startInline){let p=1/0,g=t.slice(1),b;this.options.extensions.startInline.forEach(m=>{b=m.call({lexer:this},g),typeof b=="number"&&b>=0&&(p=Math.min(p,b))}),p<1/0&&p>=0&&(d=t.substring(0,p+1))}if(h=this.tokenizer.inlineText(d)){t=t.substring(h.raw.length),h.raw.slice(-1)!=="_"&&(c=h.raw.slice(-1)),l=!0;let p=r.at(-1);p?.type==="text"?(p.raw+=h.raw,p.text+=h.text):r.push(h);continue}if(t){let p="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return r}},qd=class{options;parser;constructor(t){this.options=t||Eo}space(t){return""}code({text:t,lang:r,escaped:n}){let a=(r||"").match(Ur.notSpaceStart)?.[0],s=t.replace(Ur.endingNewline,"")+`
232
+ `;return a?'<pre><code class="language-'+ei(a)+'">'+(n?s:ei(s,!0))+`</code></pre>
233
+ `:"<pre><code>"+(n?s:ei(s,!0))+`</code></pre>
234
+ `}blockquote({tokens:t}){return`<blockquote>
235
+ ${this.parser.parse(t)}</blockquote>
236
+ `}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
237
+ `}hr(t){return`<hr>
238
+ `}list(t){let r=t.ordered,n=t.start,a="";for(let c=0;c<t.items.length;c++){let h=t.items[c];a+=this.listitem(h)}let s=r?"ol":"ul",l=r&&n!==1?' start="'+n+'"':"";return"<"+s+l+`>
239
+ `+a+"</"+s+`>
240
+ `}listitem(t){let r="";if(t.task){let n=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=n+" "+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=n+" "+ei(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):r+=n+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li>
241
+ `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
242
+ `}table(t){let r="",n="";for(let s=0;s<t.header.length;s++)n+=this.tablecell(t.header[s]);r+=this.tablerow({text:n});let a="";for(let s=0;s<t.rows.length;s++){let l=t.rows[s];n="";for(let c=0;c<l.length;c++)n+=this.tablecell(l[c]);a+=this.tablerow({text:n})}return a&&(a=`<tbody>${a}</tbody>`),`<table>
243
+ <thead>
244
+ `+r+`</thead>
245
+ `+a+`</table>
246
+ `}tablerow({text:t}){return`<tr>
247
+ ${t}</tr>
248
+ `}tablecell(t){let r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
249
+ `}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>${ei(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),s=oA(t);if(s===null)return a;t=s;let l='<a href="'+t+'"';return r&&(l+=' title="'+ei(r)+'"'),l+=">"+a+"</a>",l}image({href:t,title:r,text:n,tokens:a}){a&&(n=this.parser.parseInline(a,this.parser.textRenderer));let s=oA(t);if(s===null)return ei(n);t=s;let l=`<img src="${t}" alt="${n}"`;return r&&(l+=` title="${ei(r)}"`),l+=">",l}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ei(t.text)}},aS=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""}},zn=class Rb{options;renderer;textRenderer;constructor(t){this.options=t||Eo,this.options.renderer=this.options.renderer||new qd,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new aS}static parse(t,r){return new Rb(r).parse(t)}static parseInline(t,r){return new Rb(r).parseInline(t)}parse(t,r=!0){let n="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let c=s,h=this.options.extensions.renderers[c.type].call({parser:this},c);if(h!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(c.type)){n+=h||"";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"def":{n+=this.renderer.def(l);continue}case"paragraph":{n+=this.renderer.paragraph(l);continue}case"text":{let c=l,h=this.renderer.text(c);for(;a+1<t.length&&t[a+1].type==="text";)c=t[++a],h+=`
250
+ `+this.renderer.text(c);r?n+=this.renderer.paragraph({type:"paragraph",raw:h,text:h,tokens:[{type:"text",raw:h,text:h,escaped:!0}]}):n+=h;continue}default:{let c='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(t,r=this.renderer){let n="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let c=this.options.extensions.renderers[s.type].call({parser:this},s);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=c||"";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 c='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}},wc=class{options;block;constructor(t){this.options=t||Eo}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?$n.lex:$n.lexInline}provideParser(){return this.block?zn.parse:zn.parseInline}},mW=class{defaults=Ky();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=zn;Renderer=qd;TextRenderer=aS;Lexer=$n;Tokenizer=Hd;Hooks=wc;constructor(...t){this.use(...t)}walkTokens(t,r){let n=[];for(let a of t)switch(n=n.concat(r.call(this,a)),a.type){case"table":{let s=a;for(let l of s.header)n=n.concat(this.walkTokens(l.tokens,r));for(let l of s.rows)for(let c of l)n=n.concat(this.walkTokens(c.tokens,r));break}case"list":{let s=a;n=n.concat(this.walkTokens(s.items,r));break}default:{let s=a;this.defaults.extensions?.childTokens?.[s.type]?this.defaults.extensions.childTokens[s.type].forEach(l=>{let c=s[l].flat(1/0);n=n.concat(this.walkTokens(c,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(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){let l=r.renderers[s.name];l?r.renderers[s.name]=function(...c){let h=s.renderer.apply(this,c);return h===!1&&(h=l.apply(this,c)),h}:r.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let l=r[s.level];l?l.unshift(s.tokenizer):r[s.level]=[s.tokenizer],s.start&&(s.level==="block"?r.startBlock?r.startBlock.push(s.start):r.startBlock=[s.start]:s.level==="inline"&&(r.startInline?r.startInline.push(s.start):r.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(r.childTokens[s.name]=s.childTokens)}),a.extensions=r),n.renderer){let s=this.defaults.renderer||new qd(this.defaults);for(let l in n.renderer){if(!(l in s))throw new Error(`renderer '${l}' does not exist`);if(["options","parser"].includes(l))continue;let c=l,h=n.renderer[c],d=s[c];s[c]=(...p)=>{let g=h.apply(s,p);return g===!1&&(g=d.apply(s,p)),g||""}}a.renderer=s}if(n.tokenizer){let s=this.defaults.tokenizer||new Hd(this.defaults);for(let l in n.tokenizer){if(!(l in s))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;let c=l,h=n.tokenizer[c],d=s[c];s[c]=(...p)=>{let g=h.apply(s,p);return g===!1&&(g=d.apply(s,p)),g}}a.tokenizer=s}if(n.hooks){let s=this.defaults.hooks||new wc;for(let l in n.hooks){if(!(l in s))throw new Error(`hook '${l}' does not exist`);if(["options","block"].includes(l))continue;let c=l,h=n.hooks[c],d=s[c];wc.passThroughHooks.has(l)?s[c]=p=>{if(this.defaults.async&&wc.passThroughHooksRespectAsync.has(l))return(async()=>{let b=await h.call(s,p);return d.call(s,b)})();let g=h.call(s,p);return d.call(s,g)}:s[c]=(...p)=>{if(this.defaults.async)return(async()=>{let b=await h.apply(s,p);return b===!1&&(b=await d.apply(s,p)),b})();let g=h.apply(s,p);return g===!1&&(g=d.apply(s,p)),g}}a.hooks=s}if(n.walkTokens){let s=this.defaults.walkTokens,l=n.walkTokens;a.walkTokens=function(c){let h=[];return h.push(l.call(this,c)),s&&(h=h.concat(s.call(this,c))),h}}this.defaults={...this.defaults,...a}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return $n.lex(t,r??this.defaults)}parser(t,r){return zn.parse(t,r??this.defaults)}parseMarkdown(t){return(r,n)=>{let a={...n},s={...this.defaults,...a},l=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&a.async===!1)return l(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 l(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let c=s.hooks?await s.hooks.preprocess(r):r,h=await(s.hooks?await s.hooks.provideLexer():t?$n.lex:$n.lexInline)(c,s),d=s.hooks?await s.hooks.processAllTokens(h):h;s.walkTokens&&await Promise.all(this.walkTokens(d,s.walkTokens));let p=await(s.hooks?await s.hooks.provideParser():t?zn.parse:zn.parseInline)(d,s);return s.hooks?await s.hooks.postprocess(p):p})().catch(l);try{s.hooks&&(r=s.hooks.preprocess(r));let c=(s.hooks?s.hooks.provideLexer():t?$n.lex:$n.lexInline)(r,s);s.hooks&&(c=s.hooks.processAllTokens(c)),s.walkTokens&&this.walkTokens(c,s.walkTokens);let h=(s.hooks?s.hooks.provideParser():t?zn.parse:zn.parseInline)(c,s);return s.hooks&&(h=s.hooks.postprocess(h)),h}catch(c){return l(c)}}}onError(t,r){return n=>{if(n.message+=`
251
+ Please report this to https://github.com/markedjs/marked.`,t){let a="<p>An error occurred:</p><pre>"+ei(n.message+"",!0)+"</pre>";return r?Promise.resolve(a):a}if(r)return Promise.reject(n);throw n}}},yo=new mW;function gt(e,t){return yo.parse(e,t)}gt.options=gt.setOptions=function(e){return yo.setOptions(e),gt.defaults=yo.defaults,wN(gt.defaults),gt};gt.getDefaults=Ky;gt.defaults=Eo;gt.use=function(...e){return yo.use(...e),gt.defaults=yo.defaults,wN(gt.defaults),gt};gt.walkTokens=function(e,t){return yo.walkTokens(e,t)};gt.parseInline=yo.parseInline;gt.Parser=zn;gt.parser=zn.parse;gt.Renderer=qd;gt.TextRenderer=aS;gt.Lexer=$n;gt.lexer=$n.lex;gt.Tokenizer=Hd;gt.Hooks=wc;gt.parse=gt;gt.options;gt.setOptions;gt.use;gt.walkTokens;gt.parseInline;zn.parse;$n.lex;function MN(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(c,h){var d=h.match(/\n([\t ]+|(?!\s).)/g);return d?c.concat(d.map(function(p){var g,b;return(b=(g=p.match(/[\t ]/g))===null||g===void 0?void 0:g.length)!==null&&b!==void 0?b:0})):c},[]);if(a.length){var s=new RegExp(`
252
+ [ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(c){return c.replace(s,`
253
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var l=n[0];return t.forEach(function(c,h){var d=l.match(/(?:^|\n)( *)$/),p=d?d[1]:"",g=c;typeof c=="string"&&c.includes(`
254
+ `)&&(g=String(c).split(`
255
+ `).map(function(b,m){return m===0?b:""+p+b}).join(`
256
+ `)),l+=g+n[h+1]}),l}var bW={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},Db=new Map,UN=new Map,yW=T(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(pe.debug("Registering icon pack:",t.name),"loader"in t)UN.set(t.name,t.loader);else if("icons"in t)Db.set(t.name,t.icons);else throw pe.error("Invalid icon loader:",t),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),$N=T(async(e,t)=>{const r=Sj(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=Db.get(n);if(!a){const l=UN.get(n);if(!l)throw new Error(`Icon set not found: ${r.prefix}`);try{a={...await l(),prefix:n},Db.set(n,a)}catch(c){throw pe.error(c),new Error(`Failed to load icon set: ${r.prefix}`)}}const s=xj(a,r.name);if(!s)throw new Error(`Icon not found: ${e}`);return s},"getRegisteredIconData"),SW=T(async e=>{try{return await $N(e),!0}catch{return!1}},"isIconAvailable"),du=T(async(e,t,r)=>{let n;try{n=await $N(e,t?.fallbackPrefix)}catch(l){pe.error(l),n=bW}const a=Rj(n,t),s=Oj(Nj(a.body),{...a.attributes,...r});return Wn(s,Ot())},"getIconSVG");function zN(e,{markdownAutoWrap:t}){const n=e.replace(/<br\/>/g,`
257
+ `).replace(/\n{2,}/g,`
258
+ `);return MN(n)}T(zN,"preprocessMarkdown");function PN(e){return e.split(/\\n|\n|<br\s*\/?>/gi).map(t=>t.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(r=>({content:r,type:"normal"}))??[])}T(PN,"nonMarkdownToLines");function HN(e,t={}){const r=zN(e,t),n=gt.lexer(r),a=[[]];let s=0;function l(c,h="normal"){c.type==="text"?c.text.split(`
259
+ `).forEach((p,g)=>{g!==0&&(s++,a.push([])),p.split(" ").forEach(b=>{b=b.replace(/&#39;/g,"'"),b&&a[s].push({content:b,type:h})})}):c.type==="strong"||c.type==="em"?c.tokens.forEach(d=>{l(d,c.type)}):c.type==="html"&&a[s].push({content:c.text,type:"normal"})}return T(l,"processNode"),n.forEach(c=>{c.type==="paragraph"?c.tokens?.forEach(h=>{l(h)}):c.type==="html"?a[s].push({content:c.text,type:"normal"}):a[s].push({content:c.raw,type:"normal"})}),a}T(HN,"markdownToLines");function qN(e){return e?`<p>${e.replace(/\\n|\n/g,"<br />")}</p>`:""}T(qN,"nonMarkdownToHTML");function GN(e,{markdownAutoWrap:t}={}){const r=gt.lexer(e);function n(a){return a.type==="text"?t===!1?a.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):a.text.replace(/\n */g,"<br/>"):a.type==="strong"?`<strong>${a.tokens?.map(n).join("")}</strong>`:a.type==="em"?`<em>${a.tokens?.map(n).join("")}</em>`:a.type==="paragraph"?`<p>${a.tokens?.map(n).join("")}</p>`:a.type==="space"?"":a.type==="html"?`${a.text}`:a.type==="escape"?a.text:(pe.warn(`Unsupported markdown: ${a.type}`),a.raw)}return T(n,"output"),r.map(n).join("")}T(GN,"markdownToHTML");function jN(e){return Intl.Segmenter?[...new Intl.Segmenter().segment(e)].map(t=>t.segment):[...e]}T(jN,"splitTextToChars");function WN(e,t){const r=jN(t.content);return oS(e,[],r,t.type)}T(WN,"splitWordToFitWidth");function oS(e,t,r,n){if(r.length===0)return[{content:t.join(""),type:n},{content:"",type:n}];const[a,...s]=r,l=[...t,a];return e([{content:l.join(""),type:n}])?oS(e,l,s,n):(t.length===0&&a&&(t.push(a),r.shift()),[{content:t.join(""),type:n},{content:r.join(""),type:n}])}T(oS,"splitWordToFitWidthRecursion");function YN(e,t){if(e.some(({content:r})=>r.includes(`
260
+ `)))throw new Error("splitLineToFitWidth does not support newlines in the line");return Gd(e,t)}T(YN,"splitLineToFitWidth");function Gd(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 s=e.shift()??{content:" ",type:"normal"},l=[...n];if(a!==""&&l.push({content:a,type:"normal"}),l.push(s),t(l))return Gd(e,t,r,l);if(n.length>0)r.push(n),e.unshift(s);else if(s.content){const[c,h]=WN(t,s);r.push([c]),h.content&&e.unshift(h)}return Gd(e,t,r)}T(Gd,"splitLineToFitWidthRecursion");function Lb(e,t){t&&e.attr("style",t)}T(Lb,"applyStyle");var cA=16384;async function VN(e,t,r,n,a=!1,s=Ot()){const l=e.append("foreignObject");l.attr("width",`${Math.min(10*r,cA)}px`),l.attr("height",`${Math.min(10*r,cA)}px`);const c=l.append("xhtml:div"),h=qc(t.label)?await AR(t.label.replace(ou.lineBreakRegex,`
261
+ `),s):Wn(t.label,s),d=t.isNode?"nodeLabel":"edgeLabel",p=c.append("span");p.html(h),Lb(p,t.labelStyle),p.attr("class",`${d} ${n}`),Lb(c,t.labelStyle),c.style("display","table-cell"),c.style("white-space","nowrap"),c.style("line-height","1.5"),r!==Number.POSITIVE_INFINITY&&(c.style("max-width",r+"px"),c.style("text-align","center")),c.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&c.attr("class","labelBkg");let g=c.node().getBoundingClientRect();return g.width===r&&(c.style("display","table"),c.style("white-space","break-spaces"),c.style("width",r+"px"),g=c.node().getBoundingClientRect()),l.node()}T(VN,"addHtmlSpan");function bp(e,t,r,n=!1){const a=e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",t*r-.1+"em").attr("dy",r+"em");return n&&a.attr("text-anchor","middle"),a}T(bp,"createTspan");function XN(e,t,r){const n=e.append("text"),a=bp(n,1,t);yp(a,r);const s=a.node().getComputedTextLength();return n.remove(),s}T(XN,"computeWidthOfText");function CW(e,t,r){const n=e.append("text"),a=bp(n,1,t);yp(a,[{content:r,type:"normal"}]);const s=a.node()?.getBoundingClientRect();return s&&n.remove(),s}T(CW,"computeDimensionOfText");function ZN(e,t,r,n=!1,a=!1){const l=t.append("g"),c=l.insert("rect").attr("class","background").attr("style","stroke: none"),h=l.append("text").attr("y","-10.1");a&&h.attr("text-anchor","middle");let d=0;for(const p of r){const g=T(m=>XN(l,1.1,m)<=e,"checkWidth"),b=g(p)?[p]:YN(p,g);for(const m of b){const C=bp(h,d,1.1,a);yp(C,m),d++}}if(n){const p=h.node().getBBox(),g=2;return c.attr("x",p.x-g).attr("y",p.y-g).attr("width",p.width+2*g).attr("height",p.height+2*g),l.node()}else return h.node()}T(ZN,"createFormattedText");function Nb(e){const t=/&(amp|lt|gt);/g;return e.replace(t,(r,n)=>{switch(n){case"amp":return"&";case"lt":return"<";case"gt":return">";default:return r}})}T(Nb,"decodeHTMLEntities");function yp(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(Nb(r.content)):a.text(" "+Nb(r.content))})}T(yp,"updateTextContentAndStyles");async function KN(e,t={}){const r=[];e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(a,s,l)=>(r.push((async()=>{const c=`${s}:${l}`;return await SW(c)?await du(c,void 0,{class:"label-icon"}):`<i class='${Wn(a,t).replace(":"," ")}'></i>`})()),a));const n=await Promise.all(r);return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>n.shift()??"")}T(KN,"replaceIconSubstring");var Gi=T(async(e,t="",{style:r="",isTitle:n=!1,classes:a="",useHtmlLabels:s=!0,markdown:l=!0,isNode:c=!0,width:h=200,addSvgBackground:d=!1}={},p)=>{if(pe.debug("XYZ createText",t,r,n,a,s,c,"addSvgBackground: ",d),s){const g=l?GN(t,p):qN(t),b=await KN(bo(g),p),m=t.replace(/\\\\/g,"\\"),C={isNode:c,label:qc(t)?m:b,labelStyle:r.replace("fill:","color:")};return await VN(e,C,h,a,d,p)}else{const g=bo(t.replace(/<br\s*\/?>/g,"<br/>")),b=l?HN(g.replace("<br>","<br/>"),p):PN(g),m=ZN(h,e,b,t?d:!1,!c);if(c){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));const C=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Ve(m).attr("style",C)}else{const C=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");Ve(m).select("rect").attr("style",C.replace(/background:/g,"fill:"));const E=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");Ve(m).select("text").attr("style",E)}return n?Ve(m).selectAll("tspan.text-outer-tspan").classed("title-row",!0):Ve(m).selectAll("tspan.text-outer-tspan").classed("row",!0),m}},"createText");function _m(e,t,r){if(e&&e.length){const[n,a]=t,s=Math.PI/180*r,l=Math.cos(s),c=Math.sin(s);for(const h of e){const[d,p]=h;h[0]=(d-n)*l-(p-a)*c+n,h[1]=(d-n)*c+(p-a)*l+a}}}function EW(e,t){return e[0]===t[0]&&e[1]===t[1]}function xW(e,t,r,n=1){const a=r,s=Math.max(t,.1),l=e[0]&&e[0][0]&&typeof e[0][0]=="number"?[e]:e,c=[0,0];if(a)for(const d of l)_m(d,c,a);const h=(function(d,p,g){const b=[];for(const w of d){const v=[...w];EW(v[0],v[v.length-1])||v.push([v[0][0],v[0][1]]),v.length>2&&b.push(v)}const m=[];p=Math.max(p,.1);const C=[];for(const w of b)for(let v=0;v<w.length-1;v++){const O=w[v],F=w[v+1];if(O[1]!==F[1]){const R=Math.min(O[1],F[1]);C.push({ymin:R,ymax:Math.max(O[1],F[1]),x:R===O[1]?O[0]:F[0],islope:(F[0]-O[0])/(F[1]-O[1])})}}if(C.sort(((w,v)=>w.ymin<v.ymin?-1:w.ymin>v.ymin?1:w.x<v.x?-1:w.x>v.x?1:w.ymax===v.ymax?0:(w.ymax-v.ymax)/Math.abs(w.ymax-v.ymax))),!C.length)return m;let E=[],k=C[0].ymin,x=0;for(;E.length||C.length;){if(C.length){let w=-1;for(let v=0;v<C.length&&!(C[v].ymin>k);v++)w=v;C.splice(0,w+1).forEach((v=>{E.push({s:k,edge:v})}))}if(E=E.filter((w=>!(w.edge.ymax<=k))),E.sort(((w,v)=>w.edge.x===v.edge.x?0:(w.edge.x-v.edge.x)/Math.abs(w.edge.x-v.edge.x))),(g!==1||x%p==0)&&E.length>1)for(let w=0;w<E.length;w+=2){const v=w+1;if(v>=E.length)break;const O=E[w].edge,F=E[v].edge;m.push([[Math.round(O.x),k],[Math.round(F.x),k]])}k+=g,E.forEach((w=>{w.edge.x=w.edge.x+g*w.edge.islope})),x++}return m})(l,s,n);if(a){for(const d of l)_m(d,c,-a);(function(d,p,g){const b=[];d.forEach((m=>b.push(...m))),_m(b,p,g)})(h,c,-a)}return h}function pu(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 s=1;return t.roughness>=1&&(((r=t.randomizer)===null||r===void 0?void 0:r.next())||Math.random())>.7&&(s=a),xW(e,a,n,s||1)}class sS{constructor(t){this.helper=t}fillPolygons(t,r){return this._fillPolygons(t,r)}_fillPolygons(t,r){const n=pu(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 Sp(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))}let kW=class extends sS{fillPolygons(t,r){let n=r.hachureGap;n<0&&(n=4*r.strokeWidth),n=Math.max(n,.1);const a=pu(t,Object.assign({},r,{hachureGap:n})),s=Math.PI/180*r.hachureAngle,l=[],c=.5*n*Math.cos(s),h=.5*n*Math.sin(s);for(const[d,p]of a)Sp([d,p])&&l.push([[d[0]-c,d[1]+h],[...p]],[[d[0]+c,d[1]-h],[...p]]);return{type:"fillSketch",ops:this.renderLines(l,r)}}},TW=class extends sS{fillPolygons(t,r){const n=this._fillPolygons(t,r),a=Object.assign({},r,{hachureAngle:r.hachureAngle+90}),s=this._fillPolygons(t,a);return n.ops=n.ops.concat(s.ops),n}};class _W{constructor(t){this.helper=t}fillPolygons(t,r){const n=pu(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 s=r.fillWeight;s<0&&(s=r.strokeWidth/2);const l=a/4;for(const c of t){const h=Sp(c),d=h/a,p=Math.ceil(d)-1,g=h-p*a,b=(c[0][0]+c[1][0])/2-a/4,m=Math.min(c[0][1],c[1][1]);for(let C=0;C<p;C++){const E=m+g+C*a,k=b-l+2*Math.random()*l,x=E-l+2*Math.random()*l,w=this.helper.ellipse(k,x,s,s,r);n.push(...w.ops)}}return{type:"fillSketch",ops:n}}}let wW=class{constructor(t){this.helper=t}fillPolygons(t,r){const n=pu(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,s=[];return t.forEach((l=>{const c=Sp(l),h=Math.floor(c/(n+a)),d=(c+a-h*(n+a))/2;let p=l[0],g=l[1];p[0]>g[0]&&(p=l[1],g=l[0]);const b=Math.atan((g[1]-p[1])/(g[0]-p[0]));for(let m=0;m<h;m++){const C=m*(n+a),E=C+n,k=[p[0]+C*Math.cos(b)+d*Math.cos(b),p[1]+C*Math.sin(b)+d*Math.sin(b)],x=[p[0]+E*Math.cos(b)+d*Math.cos(b),p[1]+E*Math.sin(b)+d*Math.sin(b)];s.push(...this.helper.doubleLineOps(k[0],k[1],x[0],x[1],r))}})),s}};class vW{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,s=pu(t,r=Object.assign({},r,{hachureGap:n+a}));return{type:"fillSketch",ops:this.zigzagLines(s,a,r)}}zigzagLines(t,r,n){const a=[];return t.forEach((s=>{const l=Sp(s),c=Math.round(l/(2*r));let h=s[0],d=s[1];h[0]>d[0]&&(h=s[1],d=s[0]);const p=Math.atan((d[1]-h[1])/(d[0]-h[0]));for(let g=0;g<c;g++){const b=2*g*r,m=2*(g+1)*r,C=Math.sqrt(2*Math.pow(r,2)),E=[h[0]+b*Math.cos(p),h[1]+b*Math.sin(p)],k=[h[0]+m*Math.cos(p),h[1]+m*Math.sin(p)],x=[E[0]+C*Math.cos(p+Math.PI/4),E[1]+C*Math.sin(p+Math.PI/4)];a.push(...this.helper.doubleLineOps(E[0],E[1],x[0],x[1],n),...this.helper.doubleLineOps(x[0],x[1],k[0],k[1],n))}})),a}}const Vr={};class AW{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const RW=0,wm=1,uA=2,Yh={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 vm(e,t){return e.type===t}function lS(e){const t=[],r=(function(l){const c=new Array;for(;l!=="";)if(l.match(/^([ \t\r\n,]+)/))l=l.substr(RegExp.$1.length);else if(l.match(/^([aAcChHlLmMqQsStTvVzZ])/))c[c.length]={type:RW,text:RegExp.$1},l=l.substr(RegExp.$1.length);else{if(!l.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];c[c.length]={type:wm,text:`${parseFloat(RegExp.$1)}`},l=l.substr(RegExp.$1.length)}return c[c.length]={type:uA,text:""},c})(e);let n="BOD",a=0,s=r[a];for(;!vm(s,uA);){let l=0;const c=[];if(n==="BOD"){if(s.text!=="M"&&s.text!=="m")return lS("M0,0"+e);a++,l=Yh[s.text],n=s.text}else vm(s,wm)?l=Yh[n]:(a++,l=Yh[s.text],n=s.text);if(!(a+l<r.length))throw new Error("Path data ended short");for(let h=a;h<a+l;h++){const d=r[h];if(!vm(d,wm))throw new Error("Param not a number: "+n+","+d.text);c[c.length]=+d.text}if(typeof Yh[n]!="number")throw new Error("Bad segment: "+n);{const h={key:n,data:c};t.push(h),a+=l,s=r[a],n==="M"&&(n="L"),n==="m"&&(n="l")}}return t}function QN(e){let t=0,r=0,n=0,a=0;const s=[];for(const{key:l,data:c}of e)switch(l){case"M":s.push({key:"M",data:[...c]}),[t,r]=c,[n,a]=c;break;case"m":t+=c[0],r+=c[1],s.push({key:"M",data:[t,r]}),n=t,a=r;break;case"L":s.push({key:"L",data:[...c]}),[t,r]=c;break;case"l":t+=c[0],r+=c[1],s.push({key:"L",data:[t,r]});break;case"C":s.push({key:"C",data:[...c]}),t=c[4],r=c[5];break;case"c":{const h=c.map(((d,p)=>p%2?d+r:d+t));s.push({key:"C",data:h}),t=h[4],r=h[5];break}case"Q":s.push({key:"Q",data:[...c]}),t=c[2],r=c[3];break;case"q":{const h=c.map(((d,p)=>p%2?d+r:d+t));s.push({key:"Q",data:h}),t=h[2],r=h[3];break}case"A":s.push({key:"A",data:[...c]}),t=c[5],r=c[6];break;case"a":t+=c[5],r+=c[6],s.push({key:"A",data:[c[0],c[1],c[2],c[3],c[4],t,r]});break;case"H":s.push({key:"H",data:[...c]}),t=c[0];break;case"h":t+=c[0],s.push({key:"H",data:[t]});break;case"V":s.push({key:"V",data:[...c]}),r=c[0];break;case"v":r+=c[0],s.push({key:"V",data:[r]});break;case"S":s.push({key:"S",data:[...c]}),t=c[2],r=c[3];break;case"s":{const h=c.map(((d,p)=>p%2?d+r:d+t));s.push({key:"S",data:h}),t=h[2],r=h[3];break}case"T":s.push({key:"T",data:[...c]}),t=c[0],r=c[1];break;case"t":t+=c[0],r+=c[1],s.push({key:"T",data:[t,r]});break;case"Z":case"z":s.push({key:"Z",data:[]}),t=n,r=a}return s}function JN(e){const t=[];let r="",n=0,a=0,s=0,l=0,c=0,h=0;for(const{key:d,data:p}of e){switch(d){case"M":t.push({key:"M",data:[...p]}),[n,a]=p,[s,l]=p;break;case"C":t.push({key:"C",data:[...p]}),n=p[4],a=p[5],c=p[2],h=p[3];break;case"L":t.push({key:"L",data:[...p]}),[n,a]=p;break;case"H":n=p[0],t.push({key:"L",data:[n,a]});break;case"V":a=p[0],t.push({key:"L",data:[n,a]});break;case"S":{let g=0,b=0;r==="C"||r==="S"?(g=n+(n-c),b=a+(a-h)):(g=n,b=a),t.push({key:"C",data:[g,b,...p]}),c=p[0],h=p[1],n=p[2],a=p[3];break}case"T":{const[g,b]=p;let m=0,C=0;r==="Q"||r==="T"?(m=n+(n-c),C=a+(a-h)):(m=n,C=a);const E=n+2*(m-n)/3,k=a+2*(C-a)/3,x=g+2*(m-g)/3,w=b+2*(C-b)/3;t.push({key:"C",data:[E,k,x,w,g,b]}),c=m,h=C,n=g,a=b;break}case"Q":{const[g,b,m,C]=p,E=n+2*(g-n)/3,k=a+2*(b-a)/3,x=m+2*(g-m)/3,w=C+2*(b-C)/3;t.push({key:"C",data:[E,k,x,w,m,C]}),c=g,h=b,n=m,a=C;break}case"A":{const g=Math.abs(p[0]),b=Math.abs(p[1]),m=p[2],C=p[3],E=p[4],k=p[5],x=p[6];g===0||b===0?(t.push({key:"C",data:[n,a,k,x,k,x]}),n=k,a=x):(n!==k||a!==x)&&(eO(n,a,k,x,g,b,m,C,E).forEach((function(w){t.push({key:"C",data:w})})),n=k,a=x);break}case"Z":t.push({key:"Z",data:[]}),n=s,a=l}r=d}return t}function bc(e,t,r){return[e*Math.cos(r)-t*Math.sin(r),e*Math.sin(r)+t*Math.cos(r)]}function eO(e,t,r,n,a,s,l,c,h,d){const p=(g=l,Math.PI*g/180);var g;let b=[],m=0,C=0,E=0,k=0;if(d)[m,C,E,k]=d;else{[e,t]=bc(e,t,-p),[r,n]=bc(r,n,-p);const J=(e-r)/2,W=(t-n)/2;let H=J*J/(a*a)+W*W/(s*s);H>1&&(H=Math.sqrt(H),a*=H,s*=H);const I=a*a,P=s*s,V=I*P-I*W*W-P*J*J,se=I*W*W+P*J*J,L=(c===h?-1:1)*Math.sqrt(Math.abs(V/se));E=L*a*W/s+(e+r)/2,k=L*-s*J/a+(t+n)/2,m=Math.asin(parseFloat(((t-k)/s).toFixed(9))),C=Math.asin(parseFloat(((n-k)/s).toFixed(9))),e<E&&(m=Math.PI-m),r<E&&(C=Math.PI-C),m<0&&(m=2*Math.PI+m),C<0&&(C=2*Math.PI+C),h&&m>C&&(m-=2*Math.PI),!h&&C>m&&(C-=2*Math.PI)}let x=C-m;if(Math.abs(x)>120*Math.PI/180){const J=C,W=r,H=n;C=h&&C>m?m+120*Math.PI/180*1:m+120*Math.PI/180*-1,b=eO(r=E+a*Math.cos(C),n=k+s*Math.sin(C),W,H,a,s,l,0,h,[C,J,E,k])}x=C-m;const w=Math.cos(m),v=Math.sin(m),O=Math.cos(C),F=Math.sin(C),R=Math.tan(x/4),$=4/3*a*R,z=4/3*s*R,K=[e,t],M=[e+$*v,t-z*w],q=[r+$*F,n-z*O],X=[r,n];if(M[0]=2*K[0]-M[0],M[1]=2*K[1]-M[1],d)return[M,q,X].concat(b);{b=[M,q,X].concat(b);const J=[];for(let W=0;W<b.length;W+=3){const H=bc(b[W][0],b[W][1],p),I=bc(b[W+1][0],b[W+1][1],p),P=bc(b[W+2][0],b[W+2][1],p);J.push([H[0],H[1],I[0],I[1],P[0],P[1]])}return J}}const DW={randOffset:function(e,t){return Ue(e,t)},randOffsetWithRange:function(e,t,r){return jd(e,t,r)},ellipse:function(e,t,r,n,a){const s=rO(r,n,a);return Ob(e,t,a,s).opset},doubleLineOps:function(e,t,r,n,a){return Na(e,t,r,n,a,!0)}};function tO(e,t,r,n,a){return{type:"path",ops:Na(e,t,r,n,a)}}function ud(e,t,r){const n=(e||[]).length;if(n>2){const a=[];for(let s=0;s<n-1;s++)a.push(...Na(e[s][0],e[s][1],e[s+1][0],e[s+1][1],r));return t&&a.push(...Na(e[n-1][0],e[n-1][1],e[0][0],e[0][1],r)),{type:"path",ops:a}}return n===2?tO(e[0][0],e[0][1],e[1][0],e[1][1],r):{type:"path",ops:[]}}function LW(e,t,r,n,a){return(function(s,l){return ud(s,!0,l)})([[e,t],[e+r,t],[e+r,t+n],[e,t+n]],a)}function hA(e,t){if(e.length){const r=typeof e[0][0]=="number"?[e]:e,n=Vh(r[0],1*(1+.2*t.roughness),t),a=t.disableMultiStroke?[]:Vh(r[0],1.5*(1+.22*t.roughness),fA(t));for(let s=1;s<r.length;s++){const l=r[s];if(l.length){const c=Vh(l,1*(1+.2*t.roughness),t),h=t.disableMultiStroke?[]:Vh(l,1.5*(1+.22*t.roughness),fA(t));for(const d of c)d.op!=="move"&&n.push(d);for(const d of h)d.op!=="move"&&a.push(d)}}return{type:"path",ops:n.concat(a)}}return{type:"path",ops:[]}}function rO(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)),s=2*Math.PI/a;let l=Math.abs(e/2),c=Math.abs(t/2);const h=1-r.curveFitting;return l+=Ue(l*h,r),c+=Ue(c*h,r),{increment:s,rx:l,ry:c}}function Ob(e,t,r,n){const[a,s]=gA(n.increment,e,t,n.rx,n.ry,1,n.increment*jd(.1,jd(.4,1,r),r),r);let l=Wd(a,null,r);if(!r.disableMultiStroke&&r.roughness!==0){const[c]=gA(n.increment,e,t,n.rx,n.ry,1.5,0,r),h=Wd(c,null,r);l=l.concat(h)}return{estimatedPoints:s,opset:{type:"path",ops:l}}}function dA(e,t,r,n,a,s,l,c,h){const d=e,p=t;let g=Math.abs(r/2),b=Math.abs(n/2);g+=Ue(.01*g,h),b+=Ue(.01*b,h);let m=a,C=s;for(;m<0;)m+=2*Math.PI,C+=2*Math.PI;C-m>2*Math.PI&&(m=0,C=2*Math.PI);const E=2*Math.PI/h.curveStepCount,k=Math.min(E/2,(C-m)/2),x=mA(k,d,p,g,b,m,C,1,h);if(!h.disableMultiStroke){const w=mA(k,d,p,g,b,m,C,1.5,h);x.push(...w)}return l&&(c?x.push(...Na(d,p,d+g*Math.cos(m),p+b*Math.sin(m),h),...Na(d,p,d+g*Math.cos(C),p+b*Math.sin(C),h)):x.push({op:"lineTo",data:[d,p]},{op:"lineTo",data:[d+g*Math.cos(m),p+b*Math.sin(m)]})),{type:"path",ops:x}}function pA(e,t){const r=JN(QN(lS(e))),n=[];let a=[0,0],s=[0,0];for(const{key:l,data:c}of r)switch(l){case"M":s=[c[0],c[1]],a=[c[0],c[1]];break;case"L":n.push(...Na(s[0],s[1],c[0],c[1],t)),s=[c[0],c[1]];break;case"C":{const[h,d,p,g,b,m]=c;n.push(...NW(h,d,p,g,b,m,s,t)),s=[b,m];break}case"Z":n.push(...Na(s[0],s[1],a[0],a[1],t)),s=[a[0],a[1]]}return{type:"path",ops:n}}function Am(e,t){const r=[];for(const n of e)if(n.length){const a=t.maxRandomnessOffset||0,s=n.length;if(s>2){r.push({op:"move",data:[n[0][0]+Ue(a,t),n[0][1]+Ue(a,t)]});for(let l=1;l<s;l++)r.push({op:"lineTo",data:[n[l][0]+Ue(a,t),n[l][1]+Ue(a,t)]})}}return{type:"fillPath",ops:r}}function hs(e,t){return(function(r,n){let a=r.fillStyle||"hachure";if(!Vr[a])switch(a){case"zigzag":Vr[a]||(Vr[a]=new kW(n));break;case"cross-hatch":Vr[a]||(Vr[a]=new TW(n));break;case"dots":Vr[a]||(Vr[a]=new _W(n));break;case"dashed":Vr[a]||(Vr[a]=new wW(n));break;case"zigzag-line":Vr[a]||(Vr[a]=new vW(n));break;default:a="hachure",Vr[a]||(Vr[a]=new sS(n))}return Vr[a]})(t,DW).fillPolygons(e,t)}function fA(e){const t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}function nO(e){return e.randomizer||(e.randomizer=new AW(e.seed||0)),e.randomizer.next()}function jd(e,t,r,n=1){return r.roughness*n*(nO(r)*(t-e)+e)}function Ue(e,t,r=1){return jd(-e,e,t,r)}function Na(e,t,r,n,a,s=!1){const l=s?a.disableMultiStrokeFill:a.disableMultiStroke,c=Ib(e,t,r,n,a,!0,!1);if(l)return c;const h=Ib(e,t,r,n,a,!0,!0);return c.concat(h)}function Ib(e,t,r,n,a,s,l){const c=Math.pow(e-r,2)+Math.pow(t-n,2),h=Math.sqrt(c);let d=1;d=h<200?1:h>500?.4:-.0016668*h+1.233334;let p=a.maxRandomnessOffset||0;p*p*100>c&&(p=h/10);const g=p/2,b=.2+.2*nO(a);let m=a.bowing*a.maxRandomnessOffset*(n-t)/200,C=a.bowing*a.maxRandomnessOffset*(e-r)/200;m=Ue(m,a,d),C=Ue(C,a,d);const E=[],k=()=>Ue(g,a,d),x=()=>Ue(p,a,d),w=a.preserveVertices;return l?E.push({op:"move",data:[e+(w?0:k()),t+(w?0:k())]}):E.push({op:"move",data:[e+(w?0:Ue(p,a,d)),t+(w?0:Ue(p,a,d))]}),l?E.push({op:"bcurveTo",data:[m+e+(r-e)*b+k(),C+t+(n-t)*b+k(),m+e+2*(r-e)*b+k(),C+t+2*(n-t)*b+k(),r+(w?0:k()),n+(w?0:k())]}):E.push({op:"bcurveTo",data:[m+e+(r-e)*b+x(),C+t+(n-t)*b+x(),m+e+2*(r-e)*b+x(),C+t+2*(n-t)*b+x(),r+(w?0:x()),n+(w?0:x())]}),E}function Vh(e,t,r){if(!e.length)return[];const n=[];n.push([e[0][0]+Ue(t,r),e[0][1]+Ue(t,r)]),n.push([e[0][0]+Ue(t,r),e[0][1]+Ue(t,r)]);for(let a=1;a<e.length;a++)n.push([e[a][0]+Ue(t,r),e[a][1]+Ue(t,r)]),a===e.length-1&&n.push([e[a][0]+Ue(t,r),e[a][1]+Ue(t,r)]);return Wd(n,null,r)}function Wd(e,t,r){const n=e.length,a=[];if(n>3){const s=[],l=1-r.curveTightness;a.push({op:"move",data:[e[1][0],e[1][1]]});for(let c=1;c+2<n;c++){const h=e[c];s[0]=[h[0],h[1]],s[1]=[h[0]+(l*e[c+1][0]-l*e[c-1][0])/6,h[1]+(l*e[c+1][1]-l*e[c-1][1])/6],s[2]=[e[c+1][0]+(l*e[c][0]-l*e[c+2][0])/6,e[c+1][1]+(l*e[c][1]-l*e[c+2][1])/6],s[3]=[e[c+1][0],e[c+1][1]],a.push({op:"bcurveTo",data:[s[1][0],s[1][1],s[2][0],s[2][1],s[3][0],s[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(...Ib(e[0][0],e[0][1],e[1][0],e[1][1],r,!0,!0));return a}function gA(e,t,r,n,a,s,l,c){const h=[],d=[];if(c.roughness===0){e/=4,d.push([t+n*Math.cos(-e),r+a*Math.sin(-e)]);for(let p=0;p<=2*Math.PI;p+=e){const g=[t+n*Math.cos(p),r+a*Math.sin(p)];h.push(g),d.push(g)}d.push([t+n*Math.cos(0),r+a*Math.sin(0)]),d.push([t+n*Math.cos(e),r+a*Math.sin(e)])}else{const p=Ue(.5,c)-Math.PI/2;d.push([Ue(s,c)+t+.9*n*Math.cos(p-e),Ue(s,c)+r+.9*a*Math.sin(p-e)]);const g=2*Math.PI+p-.01;for(let b=p;b<g;b+=e){const m=[Ue(s,c)+t+n*Math.cos(b),Ue(s,c)+r+a*Math.sin(b)];h.push(m),d.push(m)}d.push([Ue(s,c)+t+n*Math.cos(p+2*Math.PI+.5*l),Ue(s,c)+r+a*Math.sin(p+2*Math.PI+.5*l)]),d.push([Ue(s,c)+t+.98*n*Math.cos(p+l),Ue(s,c)+r+.98*a*Math.sin(p+l)]),d.push([Ue(s,c)+t+.9*n*Math.cos(p+.5*l),Ue(s,c)+r+.9*a*Math.sin(p+.5*l)])}return[d,h]}function mA(e,t,r,n,a,s,l,c,h){const d=s+Ue(.1,h),p=[];p.push([Ue(c,h)+t+.9*n*Math.cos(d-e),Ue(c,h)+r+.9*a*Math.sin(d-e)]);for(let g=d;g<=l;g+=e)p.push([Ue(c,h)+t+n*Math.cos(g),Ue(c,h)+r+a*Math.sin(g)]);return p.push([t+n*Math.cos(l),r+a*Math.sin(l)]),p.push([t+n*Math.cos(l),r+a*Math.sin(l)]),Wd(p,null,h)}function NW(e,t,r,n,a,s,l,c){const h=[],d=[c.maxRandomnessOffset||1,(c.maxRandomnessOffset||1)+.3];let p=[0,0];const g=c.disableMultiStroke?1:2,b=c.preserveVertices;for(let m=0;m<g;m++)m===0?h.push({op:"move",data:[l[0],l[1]]}):h.push({op:"move",data:[l[0]+(b?0:Ue(d[0],c)),l[1]+(b?0:Ue(d[0],c))]}),p=b?[a,s]:[a+Ue(d[m],c),s+Ue(d[m],c)],h.push({op:"bcurveTo",data:[e+Ue(d[m],c),t+Ue(d[m],c),r+Ue(d[m],c),n+Ue(d[m],c),p[0],p[1]]});return h}function yc(e){return[...e]}function bA(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(yc(e[0]),yc(e[1]),yc(e[2]),yc(e[2]));else{const a=[];a.push(e[0],e[0]);for(let c=1;c<e.length;c++)a.push(e[c]),c===e.length-1&&a.push(e[c]);const s=[],l=1-t;n.push(yc(a[0]));for(let c=1;c+2<a.length;c++){const h=a[c];s[0]=[h[0],h[1]],s[1]=[h[0]+(l*a[c+1][0]-l*a[c-1][0])/6,h[1]+(l*a[c+1][1]-l*a[c-1][1])/6],s[2]=[a[c+1][0]+(l*a[c][0]-l*a[c+2][0])/6,a[c+1][1]+(l*a[c][1]-l*a[c+2][1])/6],s[3]=[a[c+1][0],a[c+1][1]],n.push(s[1],s[2],s[3])}}return n}function hd(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function OW(e,t,r){const n=hd(t,r);if(n===0)return hd(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)),hd(e,io(t,r,a))}function io(e,t,r){return[e[0]+(t[0]-e[0])*r,e[1]+(t[1]-e[1])*r]}function Bb(e,t,r,n){const a=n||[];if((function(c,h){const d=c[h+0],p=c[h+1],g=c[h+2],b=c[h+3];let m=3*p[0]-2*d[0]-b[0];m*=m;let C=3*p[1]-2*d[1]-b[1];C*=C;let E=3*g[0]-2*b[0]-d[0];E*=E;let k=3*g[1]-2*b[1]-d[1];return k*=k,m<E&&(m=E),C<k&&(C=k),m+C})(e,t)<r){const c=e[t+0];a.length?(s=a[a.length-1],l=c,Math.sqrt(hd(s,l))>1&&a.push(c)):a.push(c),a.push(e[t+3])}else{const h=e[t+0],d=e[t+1],p=e[t+2],g=e[t+3],b=io(h,d,.5),m=io(d,p,.5),C=io(p,g,.5),E=io(b,m,.5),k=io(m,C,.5),x=io(E,k,.5);Bb([h,b,E,x],0,r,a),Bb([x,k,C,g],0,r,a)}var s,l;return a}function IW(e,t){return Yd(e,0,e.length,t)}function Yd(e,t,r,n,a){const s=a||[],l=e[t],c=e[r-1];let h=0,d=1;for(let p=t+1;p<r-1;++p){const g=OW(e[p],l,c);g>h&&(h=g,d=p)}return Math.sqrt(h)>n?(Yd(e,t,d+1,n,s),Yd(e,d,r,n,s)):(s.length||s.push(l),s.push(c)),s}function Rm(e,t=.15,r){const n=[],a=(e.length-1)/3;for(let s=0;s<a;s++)Bb(e,3*s,t,n);return r&&r>0?Yd(n,0,n.length,r):n}const un="none";class Vd{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,s){const l=this._o(s);return this._d("line",[tO(t,r,n,a,l)],l)}rectangle(t,r,n,a,s){const l=this._o(s),c=[],h=LW(t,r,n,a,l);if(l.fill){const d=[[t,r],[t+n,r],[t+n,r+a],[t,r+a]];l.fillStyle==="solid"?c.push(Am([d],l)):c.push(hs([d],l))}return l.stroke!==un&&c.push(h),this._d("rectangle",c,l)}ellipse(t,r,n,a,s){const l=this._o(s),c=[],h=rO(n,a,l),d=Ob(t,r,l,h);if(l.fill)if(l.fillStyle==="solid"){const p=Ob(t,r,l,h).opset;p.type="fillPath",c.push(p)}else c.push(hs([d.estimatedPoints],l));return l.stroke!==un&&c.push(d.opset),this._d("ellipse",c,l)}circle(t,r,n,a){const s=this.ellipse(t,r,n,n,a);return s.shape="circle",s}linearPath(t,r){const n=this._o(r);return this._d("linearPath",[ud(t,!1,n)],n)}arc(t,r,n,a,s,l,c=!1,h){const d=this._o(h),p=[],g=dA(t,r,n,a,s,l,c,!0,d);if(c&&d.fill)if(d.fillStyle==="solid"){const b=Object.assign({},d);b.disableMultiStroke=!0;const m=dA(t,r,n,a,s,l,!0,!1,b);m.type="fillPath",p.push(m)}else p.push((function(b,m,C,E,k,x,w){const v=b,O=m;let F=Math.abs(C/2),R=Math.abs(E/2);F+=Ue(.01*F,w),R+=Ue(.01*R,w);let $=k,z=x;for(;$<0;)$+=2*Math.PI,z+=2*Math.PI;z-$>2*Math.PI&&($=0,z=2*Math.PI);const K=(z-$)/w.curveStepCount,M=[];for(let q=$;q<=z;q+=K)M.push([v+F*Math.cos(q),O+R*Math.sin(q)]);return M.push([v+F*Math.cos(z),O+R*Math.sin(z)]),M.push([v,O]),hs([M],w)})(t,r,n,a,s,l,d));return d.stroke!==un&&p.push(g),this._d("arc",p,d)}curve(t,r){const n=this._o(r),a=[],s=hA(t,n);if(n.fill&&n.fill!==un)if(n.fillStyle==="solid"){const l=hA(t,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));a.push({type:"fillPath",ops:this._mergedShape(l.ops)})}else{const l=[],c=t;if(c.length){const h=typeof c[0][0]=="number"?[c]:c;for(const d of h)d.length<3?l.push(...d):d.length===3?l.push(...Rm(bA([d[0],d[0],d[1],d[2]]),10,(1+n.roughness)/2)):l.push(...Rm(bA(d),10,(1+n.roughness)/2))}l.length&&a.push(hs([l],n))}return n.stroke!==un&&a.push(s),this._d("curve",a,n)}polygon(t,r){const n=this._o(r),a=[],s=ud(t,!0,n);return n.fill&&(n.fillStyle==="solid"?a.push(Am([t],n)):a.push(hs([t],n))),n.stroke!==un&&a.push(s),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 s=n.fill&&n.fill!=="transparent"&&n.fill!==un,l=n.stroke!==un,c=!!(n.simplification&&n.simplification<1),h=(function(p,g,b){const m=JN(QN(lS(p))),C=[];let E=[],k=[0,0],x=[];const w=()=>{x.length>=4&&E.push(...Rm(x,g)),x=[]},v=()=>{w(),E.length&&(C.push(E),E=[])};for(const{key:F,data:R}of m)switch(F){case"M":v(),k=[R[0],R[1]],E.push(k);break;case"L":w(),E.push([R[0],R[1]]);break;case"C":if(!x.length){const $=E.length?E[E.length-1]:k;x.push([$[0],$[1]])}x.push([R[0],R[1]]),x.push([R[2],R[3]]),x.push([R[4],R[5]]);break;case"Z":w(),E.push([k[0],k[1]])}if(v(),!b)return C;const O=[];for(const F of C){const R=IW(F,b);R.length&&O.push(R)}return O})(t,1,c?4-4*(n.simplification||1):(1+n.roughness)/2),d=pA(t,n);if(s)if(n.fillStyle==="solid")if(h.length===1){const p=pA(t,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));a.push({type:"fillPath",ops:this._mergedShape(p.ops)})}else a.push(Am(h,n));else a.push(hs(h,n));return l&&(c?h.forEach((p=>{a.push(ud(p,!1,n))})):a.push(d)),this._d("path",a,n)}opsToPath(t,r){let n="";for(const a of t.ops){const s=typeof r=="number"&&r>=0?a.data.map((l=>+l.toFixed(r))):a.data;switch(a.op){case"move":n+=`M${s[0]} ${s[1]} `;break;case"bcurveTo":n+=`C${s[0]} ${s[1]}, ${s[2]} ${s[3]}, ${s[4]} ${s[5]} `;break;case"lineTo":n+=`L${s[0]} ${s[1]} `}}return n.trim()}toPaths(t){const r=t.sets||[],n=t.options||this.defaultOptions,a=[];for(const s of r){let l=null;switch(s.type){case"path":l={d:this.opsToPath(s),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:un};break;case"fillPath":l={d:this.opsToPath(s),stroke:un,strokeWidth:0,fill:n.fill||un};break;case"fillSketch":l=this.fillSketch(s,n)}l&&a.push(l)}return a}fillSketch(t,r){let n=r.fillWeight;return n<0&&(n=r.strokeWidth/2),{d:this.opsToPath(t),stroke:r.fill||un,strokeWidth:n,fill:un}}_mergedShape(t){return t.filter(((r,n)=>n===0||r.op!=="move"))}}class BW{constructor(t,r){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new Vd(r)}draw(t){const r=t.sets||[],n=t.options||this.getDefaultOptions(),a=this.ctx,s=t.options.fixedDecimalPlaceDigits;for(const l of r)switch(l.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,l,s),a.restore();break;case"fillPath":{a.save(),a.fillStyle=n.fill||"";const c=t.shape==="curve"||t.shape==="polygon"||t.shape==="path"?"evenodd":"nonzero";this._drawToContext(a,l,s,c),a.restore();break}case"fillSketch":this.fillSketch(a,l,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 s of r.ops){const l=typeof n=="number"&&n>=0?s.data.map((c=>+c.toFixed(n))):s.data;switch(s.op){case"move":t.moveTo(l[0],l[1]);break;case"bcurveTo":t.bezierCurveTo(l[0],l[1],l[2],l[3],l[4],l[5]);break;case"lineTo":t.lineTo(l[0],l[1])}}r.type==="fillPath"?t.fill(a):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,r,n,a,s){const l=this.gen.line(t,r,n,a,s);return this.draw(l),l}rectangle(t,r,n,a,s){const l=this.gen.rectangle(t,r,n,a,s);return this.draw(l),l}ellipse(t,r,n,a,s){const l=this.gen.ellipse(t,r,n,a,s);return this.draw(l),l}circle(t,r,n,a){const s=this.gen.circle(t,r,n,a);return this.draw(s),s}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,s,l,c=!1,h){const d=this.gen.arc(t,r,n,a,s,l,c,h);return this.draw(d),d}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 Xh="http://www.w3.org/2000/svg";class FW{constructor(t,r){this.svg=t,this.gen=new Vd(r)}draw(t){const r=t.sets||[],n=t.options||this.getDefaultOptions(),a=this.svg.ownerDocument||window.document,s=a.createElementNS(Xh,"g"),l=t.options.fixedDecimalPlaceDigits;for(const c of r){let h=null;switch(c.type){case"path":h=a.createElementNS(Xh,"path"),h.setAttribute("d",this.opsToPath(c,l)),h.setAttribute("stroke",n.stroke),h.setAttribute("stroke-width",n.strokeWidth+""),h.setAttribute("fill","none"),n.strokeLineDash&&h.setAttribute("stroke-dasharray",n.strokeLineDash.join(" ").trim()),n.strokeLineDashOffset&&h.setAttribute("stroke-dashoffset",`${n.strokeLineDashOffset}`);break;case"fillPath":h=a.createElementNS(Xh,"path"),h.setAttribute("d",this.opsToPath(c,l)),h.setAttribute("stroke","none"),h.setAttribute("stroke-width","0"),h.setAttribute("fill",n.fill||""),t.shape!=="curve"&&t.shape!=="polygon"||h.setAttribute("fill-rule","evenodd");break;case"fillSketch":h=this.fillSketch(a,c,n)}h&&s.appendChild(h)}return s}fillSketch(t,r,n){let a=n.fillWeight;a<0&&(a=n.strokeWidth/2);const s=t.createElementNS(Xh,"path");return s.setAttribute("d",this.opsToPath(r,n.fixedDecimalPlaceDigits)),s.setAttribute("stroke",n.fill||""),s.setAttribute("stroke-width",a+""),s.setAttribute("fill","none"),n.fillLineDash&&s.setAttribute("stroke-dasharray",n.fillLineDash.join(" ").trim()),n.fillLineDashOffset&&s.setAttribute("stroke-dashoffset",`${n.fillLineDashOffset}`),s}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,r){return this.gen.opsToPath(t,r)}line(t,r,n,a,s){const l=this.gen.line(t,r,n,a,s);return this.draw(l)}rectangle(t,r,n,a,s){const l=this.gen.rectangle(t,r,n,a,s);return this.draw(l)}ellipse(t,r,n,a,s){const l=this.gen.ellipse(t,r,n,a,s);return this.draw(l)}circle(t,r,n,a){const s=this.gen.circle(t,r,n,a);return this.draw(s)}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,s,l,c=!1,h){const d=this.gen.arc(t,r,n,a,s,l,c,h);return this.draw(d)}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 ke={canvas:(e,t)=>new BW(e,t),svg:(e,t)=>new FW(e,t),generator:e=>new Vd(e),newSeed:()=>Vd.newSeed()},Me=T(async(e,t,r)=>{let n;const a=t.useHtmlLabels||qi(ht()?.htmlLabels);r?n=r:n="node default";const s=e.insert("g").attr("class",n).attr("id",t.domId||t.id),l=s.insert("g").attr("class","label").attr("style",cr(t.labelStyle));let c;t.label===void 0?c="":c=typeof t.label=="string"?t.label:t.label[0];const h=!!t.icon||!!t.img,d=t.labelType==="markdown",p=await Gi(l,Wn(bo(c),ht()),{useHtmlLabels:a,width:t.width||ht().flowchart?.wrappingWidth,classes:d?"markdown-node-label":"",style:t.labelStyle,addSvgBackground:h,markdown:d},ht());let g=p.getBBox();const b=(t?.padding??0)/2;if(a){const m=p.children[0],C=Ve(p);await kN(m,c),g=m.getBoundingClientRect(),C.attr("width",g.width),C.attr("height",g.height)}return a?l.attr("transform","translate("+-g.width/2+", "+-g.height/2+")"):l.attr("transform","translate(0, "+-g.height/2+")"),t.centerLabel&&l.attr("transform","translate("+-g.width/2+", "+-g.height/2+")"),l.insert("rect",":first-child"),{shapeSvg:s,bbox:g,halfPadding:b,label:l}},"labelHelper"),Dm=T(async(e,t,r)=>{const n=r.useHtmlLabels??zr(ht()),a=e.insert("g").attr("class","label").attr("style",r.labelStyle||""),s=await Gi(a,Wn(bo(t),ht()),{useHtmlLabels:n,width:r.width||ht()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img});let l=s.getBBox();const c=r.padding/2;if(zr(ht())){const h=s.children[0],d=Ve(s);l=h.getBoundingClientRect(),d.attr("width",l.width),d.attr("height",l.height)}return n?a.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"):a.attr("transform","translate(0, "+-l.height/2+")"),r.centerLabel&&a.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),a.insert("rect",":first-child"),{shapeSvg:e,bbox:l,halfPadding:c,label:a}},"insertLabel"),Ae=T((e,t)=>{const r=t.node().getBBox();e.width=r.width,e.height=r.height},"updateNodeBounds"),Be=T((e,t)=>(e.look==="handDrawn"?"rough-node":"node")+" "+e.cssClasses+" "+(t||""),"getNodeClasses");function nt(e){const t=e.map((r,n)=>`${n===0?"M":"L"}${r.x},${r.y}`);return t.push("Z"),t.join(" ")}T(nt,"createPathFromPoints");function Oa(e,t,r,n,a,s){const l=[],h=r-e,d=n-t,p=h/s,g=2*Math.PI/p,b=t+d/2;for(let m=0;m<=50;m++){const C=m/50,E=e+C*h,k=b+a*Math.sin(g*(E-e));l.push({x:E,y:k})}return l}T(Oa,"generateFullSineWavePoints");function Qc(e,t,r,n,a,s){const l=[],c=a*Math.PI/180,p=(s*Math.PI/180-c)/(n-1);for(let g=0;g<n;g++){const b=c+g*p,m=e+r*Math.cos(b),C=t+r*Math.sin(b);l.push({x:-m,y:-C})}return l}T(Qc,"generateCirclePoints");function Fb(e){const t=Array.from(e.childNodes).filter(h=>h.tagName==="path"),r=document.createElementNS("http://www.w3.org/2000/svg","path"),n=t.map(h=>h.getAttribute("d")).filter(h=>h!==null).join(" ");r.setAttribute("d",n);const a=t.find(h=>h.getAttribute("fill")!=="none"),s=t.find(h=>h.getAttribute("stroke")!=="none"),l=T((h,d)=>h?.getAttribute(d)??void 0,"getAttr");if(a){const h={fill:l(a,"fill"),"fill-opacity":l(a,"fill-opacity")??"1"};Object.entries(h).forEach(([d,p])=>{p&&r.setAttribute(d,p)})}if(s){const h={stroke:l(s,"stroke"),"stroke-width":l(s,"stroke-width")??"1","stroke-opacity":l(s,"stroke-opacity")??"1"};Object.entries(h).forEach(([d,p])=>{p&&r.setAttribute(d,p)})}const c=document.createElementNS("http://www.w3.org/2000/svg","g");return c.appendChild(r),c}T(Fb,"mergePaths");var MW=T((e,t)=>{var r=e.x,n=e.y,a=t.x-r,s=t.y-n,l=e.width/2,c=e.height/2,h,d;return Math.abs(s)*l>Math.abs(a)*c?(s<0&&(c=-c),h=s===0?0:c*a/s,d=c):(a<0&&(l=-l),h=l,d=a===0?0:l*s/a),{x:r+h,y:n+d}},"intersectRect"),Qs=MW,UW=T(async(e,t,r,n=!1,a=!1)=>{let s=t||"";typeof s=="object"&&(s=s[0]);const l=ht(),c=zr(l);return await Gi(e,s,{style:r,isTitle:n,useHtmlLabels:c,markdown:!1,isNode:a,width:Number.POSITIVE_INFINITY},l)},"createLabel"),_a=UW,Ba=T((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"),iO=T(async(e,t)=>{pe.info("Creating subgraph rect for ",t.id,t);const r=ht(),{themeVariables:n,handDrawnSeed:a}=r,{clusterBkg:s,clusterBorder:l}=n,{labelStyles:c,nodeStyles:h,borderStyles:d,backgroundStyles:p}=we(t),g=e.insert("g").attr("class","cluster "+t.cssClasses).attr("id",t.domId).attr("data-look",t.look),b=zr(r),m=g.insert("g").attr("class","cluster-label ");let C;t.labelType==="markdown"?C=await Gi(m,t.label,{style:t.labelStyle,useHtmlLabels:b,isNode:!0,width:t.width}):C=await _a(m,t.label,t.labelStyle||"",!1,!0);let E=C.getBBox();if(zr(r)){const $=C.children[0],z=Ve(C);E=$.getBoundingClientRect(),z.attr("width",E.width),z.attr("height",E.height)}const k=t.width<=E.width+t.padding?E.width+t.padding:t.width;t.width<=E.width+t.padding?t.diff=(k-t.width)/2-t.padding:t.diff=-t.padding;const x=t.height,w=t.x-k/2,v=t.y-x/2;pe.trace("Data ",t,JSON.stringify(t));let O;if(t.look==="handDrawn"){const $=ke.svg(g),z=_e(t,{roughness:.7,fill:s,stroke:l,fillWeight:3,seed:a}),K=$.path(Ba(w,v,k,x,0),z);O=g.insert(()=>(pe.debug("Rough node insert CXC",K),K),":first-child"),O.select("path:nth-child(2)").attr("style",d.join(";")),O.select("path").attr("style",p.join(";").replace("fill","stroke"))}else O=g.insert("rect",":first-child"),O.attr("style",h).attr("rx",t.rx).attr("ry",t.ry).attr("x",w).attr("y",v).attr("width",k).attr("height",x);const{subGraphTitleTopMargin:F}=Zy(r);if(m.attr("transform",`translate(${t.x-E.width/2}, ${t.y-t.height/2+F})`),c){const $=m.select("span");$&&$.attr("style",c)}const R=O.node().getBBox();return t.offsetX=0,t.width=R.width,t.height=R.height,t.offsetY=E.height-t.padding/2,t.intersect=function($){return Qs(t,$)},{cluster:g,labelBBox:E}},"rect"),$W=T((e,t)=>{const r=e.insert("g").attr("class","note-cluster").attr("id",t.domId),n=r.insert("rect",":first-child"),a=0*t.padding,s=a/2;n.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-s).attr("y",t.y-t.height/2-s).attr("width",t.width+a).attr("height",t.height+a).attr("fill","none");const l=n.node().getBBox();return t.width=l.width,t.height=l.height,t.intersect=function(c){return Qs(t,c)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),zW=T(async(e,t)=>{const r=ht(),{themeVariables:n,handDrawnSeed:a}=r,{altBackground:s,compositeBackground:l,compositeTitleBackground:c,nodeBorder:h}=n,d=e.insert("g").attr("class",t.cssClasses).attr("id",t.domId).attr("data-id",t.id).attr("data-look",t.look),p=d.insert("g",":first-child"),g=d.insert("g").attr("class","cluster-label");let b=d.append("rect");const m=await _a(g,t.label,t.labelStyle,void 0,!0);let C=m.getBBox();if(zr(r)){const K=m.children[0],M=Ve(m);C=K.getBoundingClientRect(),M.attr("width",C.width),M.attr("height",C.height)}const E=0*t.padding,k=E/2,x=(t.width<=C.width+t.padding?C.width+t.padding:t.width)+E;t.width<=C.width+t.padding?t.diff=(x-t.width)/2-t.padding:t.diff=-t.padding;const w=t.height+E,v=t.height+E-C.height-6,O=t.x-x/2,F=t.y-w/2;t.width=x;const R=t.y-t.height/2-k+C.height+2;let $;if(t.look==="handDrawn"){const K=t.cssClasses.includes("statediagram-cluster-alt"),M=ke.svg(d),q=t.rx||t.ry?M.path(Ba(O,F,x,w,10),{roughness:.7,fill:c,fillStyle:"solid",stroke:h,seed:a}):M.rectangle(O,F,x,w,{seed:a});$=d.insert(()=>q,":first-child");const X=M.rectangle(O,R,x,v,{fill:K?s:l,fillStyle:K?"hachure":"solid",stroke:h,seed:a});$=d.insert(()=>q,":first-child"),b=d.insert(()=>X)}else $=p.insert("rect",":first-child"),$.attr("class","outer").attr("x",O).attr("y",F).attr("width",x).attr("height",w).attr("data-look",t.look),b.attr("class","inner").attr("x",O).attr("y",R).attr("width",x).attr("height",v);g.attr("transform",`translate(${t.x-C.width/2}, ${F+1-(zr(r)?0:3)})`);const z=$.node().getBBox();return t.height=z.height,t.offsetX=0,t.offsetY=C.height-t.padding/2,t.labelBBox=C,t.intersect=function(K){return Qs(t,K)},{cluster:d,labelBBox:C}},"roundedWithTitle"),PW=T(async(e,t)=>{pe.info("Creating subgraph rect for ",t.id,t);const r=ht(),{themeVariables:n,handDrawnSeed:a}=r,{clusterBkg:s,clusterBorder:l}=n,{labelStyles:c,nodeStyles:h,borderStyles:d,backgroundStyles:p}=we(t),g=e.insert("g").attr("class","cluster "+t.cssClasses).attr("id",t.domId).attr("data-look",t.look),b=zr(r),m=g.insert("g").attr("class","cluster-label "),C=await Gi(m,t.label,{style:t.labelStyle,useHtmlLabels:b,isNode:!0,width:t.width});let E=C.getBBox();if(zr(r)){const $=C.children[0],z=Ve(C);E=$.getBoundingClientRect(),z.attr("width",E.width),z.attr("height",E.height)}const k=t.width<=E.width+t.padding?E.width+t.padding:t.width;t.width<=E.width+t.padding?t.diff=(k-t.width)/2-t.padding:t.diff=-t.padding;const x=t.height,w=t.x-k/2,v=t.y-x/2;pe.trace("Data ",t,JSON.stringify(t));let O;if(t.look==="handDrawn"){const $=ke.svg(g),z=_e(t,{roughness:.7,fill:s,stroke:l,fillWeight:4,seed:a}),K=$.path(Ba(w,v,k,x,t.rx),z);O=g.insert(()=>(pe.debug("Rough node insert CXC",K),K),":first-child"),O.select("path:nth-child(2)").attr("style",d.join(";")),O.select("path").attr("style",p.join(";").replace("fill","stroke"))}else O=g.insert("rect",":first-child"),O.attr("style",h).attr("rx",t.rx).attr("ry",t.ry).attr("x",w).attr("y",v).attr("width",k).attr("height",x);const{subGraphTitleTopMargin:F}=Zy(r);if(m.attr("transform",`translate(${t.x-E.width/2}, ${t.y-t.height/2+F})`),c){const $=m.select("span");$&&$.attr("style",c)}const R=O.node().getBBox();return t.offsetX=0,t.width=R.width,t.height=R.height,t.offsetY=E.height-t.padding/2,t.intersect=function($){return Qs(t,$)},{cluster:g,labelBBox:E}},"kanbanSection"),HW=T((e,t)=>{const r=ht(),{themeVariables:n,handDrawnSeed:a}=r,{nodeBorder:s}=n,l=e.insert("g").attr("class",t.cssClasses).attr("id",t.domId).attr("data-look",t.look),c=l.insert("g",":first-child"),h=0*t.padding,d=t.width+h;t.diff=-t.padding;const p=t.height+h,g=t.x-d/2,b=t.y-p/2;t.width=d;let m;if(t.look==="handDrawn"){const k=ke.svg(l).rectangle(g,b,d,p,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:s,seed:a});m=l.insert(()=>k,":first-child")}else{m=c.insert("rect",":first-child");let E="outer";t.look,E="divider",m.attr("class",E).attr("x",g).attr("y",b).attr("width",d).attr("height",p).attr("data-look",t.look)}const C=m.node().getBBox();return t.height=C.height,t.offsetX=0,t.offsetY=0,t.intersect=function(E){return Qs(t,E)},{cluster:l,labelBBox:{}}},"divider"),qW=iO,GW={rect:iO,squareRect:qW,roundedWithTitle:zW,noteGroup:$W,divider:HW,kanbanSection:PW},aO=new Map,jW=T(async(e,t)=>{const r=t.shape||"rect",n=await GW[r](e,t);return aO.set(t.id,n),n},"insertCluster"),WQ=T(()=>{aO=new Map},"clear");function oO(e,t){return e.intersect(t)}T(oO,"intersectNode");var WW=oO;function sO(e,t,r,n){var a=e.x,s=e.y,l=a-n.x,c=s-n.y,h=Math.sqrt(t*t*c*c+r*r*l*l),d=Math.abs(t*r*l/h);n.x<a&&(d=-d);var p=Math.abs(t*r*c/h);return n.y<s&&(p=-p),{x:a+d,y:s+p}}T(sO,"intersectEllipse");var lO=sO;function cO(e,t,r){return lO(e,t,t,r)}T(cO,"intersectCircle");var YW=cO;function uO(e,t,r,n){{const a=t.y-e.y,s=e.x-t.x,l=t.x*e.y-e.x*t.y,c=a*r.x+s*r.y+l,h=a*n.x+s*n.y+l,d=1e-6;if(c!==0&&h!==0&&Mb(c,h))return;const p=n.y-r.y,g=r.x-n.x,b=n.x*r.y-r.x*n.y,m=p*e.x+g*e.y+b,C=p*t.x+g*t.y+b;if(Math.abs(m)<d&&Math.abs(C)<d&&Mb(m,C))return;const E=a*g-p*s;if(E===0)return;const k=Math.abs(E/2);let x=s*b-g*l;const w=x<0?(x-k)/E:(x+k)/E;x=p*l-a*b;const v=x<0?(x-k)/E:(x+k)/E;return{x:w,y:v}}}T(uO,"intersectLine");function Mb(e,t){return e*t>0}T(Mb,"sameSign");var VW=uO;function hO(e,t,r){let n=e.x,a=e.y,s=[],l=Number.POSITIVE_INFINITY,c=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(p){l=Math.min(l,p.x),c=Math.min(c,p.y)}):(l=Math.min(l,t.x),c=Math.min(c,t.y));let h=n-e.width/2-l,d=a-e.height/2-c;for(let p=0;p<t.length;p++){let g=t[p],b=t[p<t.length-1?p+1:0],m=VW(e,r,{x:h+g.x,y:d+g.y},{x:h+b.x,y:d+b.y});m&&s.push(m)}return s.length?(s.length>1&&s.sort(function(p,g){let b=p.x-r.x,m=p.y-r.y,C=Math.sqrt(b*b+m*m),E=g.x-r.x,k=g.y-r.y,x=Math.sqrt(E*E+k*k);return C<x?-1:C===x?0:1}),s[0]):e}T(hO,"intersectPolygon");var XW=hO,Ce={node:WW,circle:YW,ellipse:lO,polygon:XW,rect:Qs};function dO(e,t){const{labelStyles:r}=we(t);t.labelStyle=r;const n=Be(t);let a=n;n||(a="anchor");const s=e.insert("g").attr("class",a).attr("id",t.domId||t.id),l=1,{cssStyles:c}=t,h=ke.svg(s),d=_e(t,{fill:"black",stroke:"none",fillStyle:"solid"});t.look!=="handDrawn"&&(d.roughness=0);const p=h.circle(0,0,l*2,d),g=s.insert(()=>p,":first-child");return g.attr("class","anchor").attr("style",cr(c)),Ae(t,g),t.intersect=function(b){return pe.info("Circle intersect",t,l,b),Ce.circle(t,l,b)},s}T(dO,"anchor");function Ub(e,t,r,n,a,s,l){const h=(e+r)/2,d=(t+n)/2,p=Math.atan2(n-t,r-e),g=(r-e)/2,b=(n-t)/2,m=g/a,C=b/s,E=Math.sqrt(m**2+C**2);if(E>1)throw new Error("The given radii are too small to create an arc between the points.");const k=Math.sqrt(1-E**2),x=h+k*s*Math.sin(p)*(l?-1:1),w=d-k*a*Math.cos(p)*(l?-1:1),v=Math.atan2((t-w)/s,(e-x)/a);let F=Math.atan2((n-w)/s,(r-x)/a)-v;l&&F<0&&(F+=2*Math.PI),!l&&F>0&&(F-=2*Math.PI);const R=[];for(let $=0;$<20;$++){const z=$/19,K=v+z*F,M=x+a*Math.cos(K),q=w+s*Math.sin(K);R.push({x:M,y:q})}return R}T(Ub,"generateArcPoints");function pO(e,t,r){const[n,a]=[t,r].sort((s,l)=>l-s);return a*(1-Math.sqrt(1-(e/n/2)**2))}T(pO,"calculateArcSagitta");async function fO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a,c=T(K=>K+l,"calcTotalHeight"),h=T(K=>{const M=K/2;return[M/(2.5+K/50),M]},"calcEllipseRadius"),{shapeSvg:d,bbox:p}=await Me(e,t,Be(t)),g=c(t?.height?t?.height:p.height),[b,m]=h(g),C=pO(g,b,m),k=(t?.width?t?.width:p.width)+s*2+C-C,x=g,{cssStyles:w}=t,v=[{x:k/2,y:-x/2},{x:-k/2,y:-x/2},...Ub(-k/2,-x/2,-k/2,x/2,b,m,!1),{x:k/2,y:x/2},...Ub(k/2,x/2,k/2,-x/2,b,m,!0)],O=ke.svg(d),F=_e(t,{});t.look!=="handDrawn"&&(F.roughness=0,F.fillStyle="solid");const R=nt(v),$=O.path(R,F),z=d.insert(()=>$,":first-child");return z.attr("class","basic label-container outer-path"),w&&t.look!=="handDrawn"&&z.selectAll("path").attr("style",w),n&&t.look!=="handDrawn"&&z.selectAll("path").attr("style",n),z.attr("transform",`translate(${b/2}, 0)`),Ae(t,z),t.intersect=function(K){return Ce.polygon(t,v,K)},d}T(fO,"bowTieRect");function ji(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+")")}T(ji,"insertPolygonShape");var Zh=12;async function gO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?28:a,l=t.look==="neo"?24:a,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.width??h.width)+(t.look==="neo"?s*2:s+Zh),p=(t?.height??h.height)+(t.look==="neo"?l*2:l),g=0,b=d,m=-p,C=0,E=[{x:g+Zh,y:m},{x:b,y:m},{x:b,y:C},{x:g,y:C},{x:g,y:m+Zh},{x:g+Zh,y:m}];let k;const{cssStyles:x}=t;if(t.look==="handDrawn"){const w=ke.svg(c),v=_e(t,{}),O=nt(E),F=w.path(O,v);k=c.insert(()=>F,":first-child").attr("transform",`translate(${-d/2}, ${p/2})`),x&&k.attr("style",x)}else k=ji(c,d,p,E);return n&&k.attr("style",n),Ae(t,k),t.intersect=function(w){return Ce.polygon(t,E,w)},c}T(gO,"card");function mO(e,t){const{nodeStyles:r}=we(t);t.label="";const n=e.insert("g").attr("class",Be(t)).attr("id",t.domId??t.id),{cssStyles:a}=t,s=Math.max(28,t.width??0),l=[{x:0,y:s/2},{x:s/2,y:0},{x:0,y:-s/2},{x:-s/2,y:0}],c=ke.svg(n),h=_e(t,{});t.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");const d=nt(l),p=c.path(d,h),g=n.insert(()=>p,":first-child");return a&&t.look!=="handDrawn"&&g.selectAll("path").attr("style",a),r&&t.look!=="handDrawn"&&g.selectAll("path").attr("style",r),t.width=28,t.height=28,t.intersect=function(b){return Ce.polygon(t,l,b)},n}T(mO,"choice");async function cS(e,t,r){const{labelStyles:n,nodeStyles:a}=we(t);t.labelStyle=n;const{shapeSvg:s,bbox:l,halfPadding:c}=await Me(e,t,Be(t)),h=16,d=r?.padding??c,p=t.look==="neo"?l.width/2+h*2:l.width/2+d;let g;const{cssStyles:b}=t;if(t.look==="handDrawn"){const m=ke.svg(s),C=_e(t,{}),E=m.circle(0,0,p*2,C);g=s.insert(()=>E,":first-child"),g.attr("class","basic label-container").attr("style",cr(b))}else g=s.insert("circle",":first-child").attr("class","basic label-container").attr("style",a).attr("r",p).attr("cx",0).attr("cy",0);return Ae(t,g),t.calcIntersect=function(m,C){const E=m.width/2;return Ce.circle(m,E,C)},t.intersect=function(m){return pe.info("Circle intersect",t,p,m),Ce.circle(t,p,m)},s}T(cS,"circle");function bO(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},s={x:-(n/2)*t,y:n/2*r},l={x:-(n/2)*t,y:-(n/2)*r},c={x:n/2*t,y:-(n/2)*r};return`M ${s.x},${s.y} L ${c.x},${c.y}
262
+ M ${a.x},${a.y} L ${l.x},${l.y}`}T(bO,"createLine");function yO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r,t.label="";const a=e.insert("g").attr("class",Be(t)).attr("id",t.domId??t.id),s=Math.max(30,t?.width??0),{cssStyles:l}=t,c=ke.svg(a),h=_e(t,{});t.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");const d=c.circle(0,0,s*2,h),p=bO(s),g=c.path(p,h),b=a.insert(()=>d,":first-child");return b.insert(()=>g),b.attr("class","outer-path"),l&&t.look!=="handDrawn"&&b.selectAll("path").attr("style",l),n&&t.look!=="handDrawn"&&b.selectAll("path").attr("style",n),Ae(t,b),t.intersect=function(m){return pe.info("crossedCircle intersect",t,{radius:s,point:m}),Ce.circle(t,s,m)},a}T(yO,"crossedCircle");function Bi(e,t,r,n=100,a=0,s=180){const l=[],c=a*Math.PI/180,p=(s*Math.PI/180-c)/(n-1);for(let g=0;g<n;g++){const b=c+g*p,m=e+r*Math.cos(b),C=t+r*Math.sin(b);l.push({x:-m,y:-C})}return l}T(Bi,"generateCirclePoints");async function SO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,label:l}=await Me(e,t,Be(t)),c=t.look==="neo"?18:t.padding??0,h=t.look==="neo"?12:t.padding??0,d=s.width+c,p=s.height+h,g=Math.max(5,p*.1),{cssStyles:b}=t,m=[...Bi(d/2,-p/2,g,30,-90,0),{x:-d/2-g,y:g},...Bi(d/2+g*2,-g,g,20,-180,-270),...Bi(d/2+g*2,g,g,20,-90,-180),{x:-d/2-g,y:-p/2},...Bi(d/2,p/2,g,20,0,90)],C=[{x:d/2,y:-p/2-g},{x:-d/2,y:-p/2-g},...Bi(d/2,-p/2,g,20,-90,0),{x:-d/2-g,y:-g},...Bi(d/2+d*.1,-g,g,20,-180,-270),...Bi(d/2+d*.1,g,g,20,-90,-180),{x:-d/2-g,y:p/2},...Bi(d/2,p/2,g,20,0,90),{x:-d/2,y:p/2+g},{x:d/2,y:p/2+g}],E=ke.svg(a),k=_e(t,{fill:"none"});t.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const w=nt(m).replace("Z",""),v=E.path(w,k),O=nt(C),F=E.path(O,{...k}),R=a.insert("g",":first-child");return R.insert(()=>F,":first-child").attr("stroke-opacity",0),R.insert(()=>v,":first-child"),R.attr("class","text"),b&&t.look!=="handDrawn"&&R.selectAll("path").attr("style",b),n&&t.look!=="handDrawn"&&R.selectAll("path").attr("style",n),R.attr("transform",`translate(${g}, 0)`),l.attr("transform",`translate(${-d/2+g-(s.x-(s.left??0))},${-p/2+(t.padding??0)/2-(s.y-(s.top??0))})`),Ae(t,R),t.intersect=function($){return Ce.polygon(t,C,$)},a}T(SO,"curlyBraceLeft");function Fi(e,t,r,n=100,a=0,s=180){const l=[],c=a*Math.PI/180,p=(s*Math.PI/180-c)/(n-1);for(let g=0;g<n;g++){const b=c+g*p,m=e+r*Math.cos(b),C=t+r*Math.sin(b);l.push({x:m,y:C})}return l}T(Fi,"generateCirclePoints");async function CO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,label:l}=await Me(e,t,Be(t)),c=t.look==="neo"?18:t.padding??0,h=t.look==="neo"?12:t.padding??0,d=s.width+(t.look==="neo"?c*2:c),p=s.height+(t.look==="neo"?h*2:h),g=Math.max(5,p*.1),{cssStyles:b}=t,m=[...Fi(d/2,-p/2,g,20,-90,0),{x:d/2+g,y:-g},...Fi(d/2+g*2,-g,g,20,-180,-270),...Fi(d/2+g*2,g,g,20,-90,-180),{x:d/2+g,y:p/2},...Fi(d/2,p/2,g,20,0,90)],C=[{x:-d/2,y:-p/2-g},{x:d/2,y:-p/2-g},...Fi(d/2,-p/2,g,20,-90,0),{x:d/2+g,y:-g},...Fi(d/2+g*2,-g,g,20,-180,-270),...Fi(d/2+g*2,g,g,20,-90,-180),{x:d/2+g,y:p/2},...Fi(d/2,p/2,g,20,0,90),{x:d/2,y:p/2+g},{x:-d/2,y:p/2+g}],E=ke.svg(a),k=_e(t,{fill:"none"});t.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const w=nt(m).replace("Z",""),v=E.path(w,k),O=nt(C),F=E.path(O,{...k}),R=a.insert("g",":first-child");return R.insert(()=>F,":first-child").attr("stroke-opacity",0),R.insert(()=>v,":first-child"),R.attr("class","text"),b&&t.look!=="handDrawn"&&R.selectAll("path").attr("style",b),n&&t.look!=="handDrawn"&&R.selectAll("path").attr("style",n),R.attr("transform",`translate(${-g}, 0)`),l.attr("transform",`translate(${-d/2+(t.padding??0)/2-(s.x-(s.left??0))},${-p/2+(t.padding??0)/2-(s.y-(s.top??0))})`),Ae(t,R),t.intersect=function($){return Ce.polygon(t,C,$)},a}T(CO,"curlyBraceRight");function yr(e,t,r,n=100,a=0,s=180){const l=[],c=a*Math.PI/180,p=(s*Math.PI/180-c)/(n-1);for(let g=0;g<n;g++){const b=c+g*p,m=e+r*Math.cos(b),C=t+r*Math.sin(b);l.push({x:-m,y:-C})}return l}T(yr,"generateCirclePoints");async function EO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,label:l}=await Me(e,t,Be(t)),c=t.look==="neo"?18:t.padding??0,h=t.look==="neo"?12:t.padding??0,d=s.width+(t.look==="neo"?c*2:c),p=s.height+(t.look==="neo"?h*2:h),g=Math.max(5,p*.1),{cssStyles:b}=t,m=[...yr(d/2,-p/2,g,30,-90,0),{x:-d/2-g,y:g},...yr(d/2+g*2,-g,g,20,-180,-270),...yr(d/2+g*2,g,g,20,-90,-180),{x:-d/2-g,y:-p/2},...yr(d/2,p/2,g,20,0,90)],C=[...yr(-d/2+g+g/2,-p/2,g,20,-90,-180),{x:d/2-g/2,y:g},...yr(-d/2-g/2,-g,g,20,0,90),...yr(-d/2-g/2,g,g,20,-90,0),{x:d/2-g/2,y:-g},...yr(-d/2+g+g/2,p/2,g,30,-180,-270)],E=[{x:d/2,y:-p/2-g},{x:-d/2,y:-p/2-g},...yr(d/2,-p/2,g,20,-90,0),{x:-d/2-g,y:-g},...yr(d/2+g*2,-g,g,20,-180,-270),...yr(d/2+g*2,g,g,20,-90,-180),{x:-d/2-g,y:p/2},...yr(d/2,p/2,g,20,0,90),{x:-d/2,y:p/2+g},{x:d/2-g-g/2,y:p/2+g},...yr(-d/2+g+g/2,-p/2,g,20,-90,-180),{x:d/2-g/2,y:g},...yr(-d/2-g/2,-g,g,20,0,90),...yr(-d/2-g/2,g,g,20,-90,0),{x:d/2-g/2,y:-g},...yr(-d/2+g+g/2,p/2,g,30,-180,-270)],k=ke.svg(a),x=_e(t,{fill:"none"});t.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");const v=nt(m).replace("Z",""),O=k.path(v,x),R=nt(C).replace("Z",""),$=k.path(R,x),z=nt(E),K=k.path(z,{...x}),M=a.insert("g",":first-child");return M.insert(()=>K,":first-child").attr("stroke-opacity",0),M.insert(()=>O,":first-child"),M.insert(()=>$,":first-child"),M.attr("class","text"),b&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",b),n&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",n),M.attr("transform",`translate(${g-g/4}, 0)`),l.attr("transform",`translate(${-d/2+(t.padding??0)/2-(s.x-(s.left??0))},${-p/2+(t.padding??0)/2-(s.y-(s.top??0))})`),Ae(t,M),t.intersect=function(q){return Ce.polygon(t,E,q)},a}T(EO,"curlyBraces");async function xO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a,c=20,h=5,{shapeSvg:d,bbox:p}=await Me(e,t,Be(t)),g=Math.max(c,(p.width+s*2)*1.25,t?.width??0),b=Math.max(h,p.height+l*2,t?.height??0),m=b/2,{cssStyles:C}=t,E=ke.svg(d),k=_e(t,{});t.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const x=g,w=b,v=x-m,O=w/4,F=[{x:v,y:0},{x:O,y:0},{x:0,y:w/2},{x:O,y:w},{x:v,y:w},...Qc(-v,-w/2,m,50,270,90)],R=nt(F),$=E.path(R,k),z=d.insert(()=>$,":first-child");return z.attr("class","basic label-container outer-path"),C&&t.look!=="handDrawn"&&z.selectChildren("path").attr("style",C),n&&t.look!=="handDrawn"&&z.selectChildren("path").attr("style",n),z.attr("transform",`translate(${-g/2}, ${-b/2})`),Ae(t,z),t.intersect=function(K){return Ce.polygon(t,F,K)},d}T(xO,"curvedTrapezoid");var ZW=T((e,t,r,n,a,s)=>[`M${e},${t+s}`,`a${a},${s} 0,0,0 ${r},0`,`a${a},${s} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${s} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createCylinderPathD"),KW=T((e,t,r,n,a,s)=>[`M${e},${t+s}`,`M${e+r},${t+s}`,`a${a},${s} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${s} 0,0,0 ${r},0`,`l0,${-n}`].join(" "),"createOuterCylinderPathD"),QW=T((e,t,r,n,a,s)=>[`M${e-r/2},${-n/2}`,`a${a},${s} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD"),yA=8,SA=8;async function kO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?24:a,l=t.look==="neo"?24:a;if(t.width||t.height){const k=t.width??0;t.width=(t.width??0)-l,t.width<SA&&(t.width=SA);const w=k/2/(2.5+k/50);t.height=(t.height??0)-s-w*3,t.height<yA&&(t.height=yA)}const{shapeSvg:c,bbox:h,label:d}=await Me(e,t,Be(t)),p=(t.width?t.width:h.width)+l,g=p/2,b=g/(2.5+p/50),m=(t.height?t.height:h.height)+s+b;let C;const{cssStyles:E}=t;if(t.look==="handDrawn"){const k=ke.svg(c),x=KW(0,0,p,m,g,b),w=QW(0,b,p,m,g,b),v=_e(t,{}),O=k.path(x,v),F=k.path(w,_e(t,{fill:"none"}));C=c.insert(()=>F,":first-child"),C=c.insert(()=>O,":first-child"),C.attr("class","basic label-container"),E&&C.attr("style",E)}else{const k=ZW(0,0,p,m,g,b);C=c.insert("path",":first-child").attr("d",k).attr("class","basic label-container outer-path").attr("style",cr(E)).attr("style",n)}return C.attr("label-offset-y",b),C.attr("transform",`translate(${-p/2}, ${-(m/2+b)})`),Ae(t,C),d.attr("transform",`translate(${-(h.width/2)-(h.x-(h.left??0))}, ${-(h.height/2)+(t.padding??0)/1.5-(h.y-(h.top??0))})`),t.intersect=function(k){const x=Ce.rect(t,k),w=x.x-(t.x??0);if(g!=0&&(Math.abs(w)<(t.width??0)/2||Math.abs(w)==(t.width??0)/2&&Math.abs(x.y-(t.y??0))>(t.height??0)/2-b)){let v=b*b*(1-w*w/(g*g));v>0&&(v=Math.sqrt(v)),v=b-v,k.y-(t.y??0)>0&&(v=-v),x.y+=v}return x},c}T(kO,"cylinder");async function Js(e,t,r){const{labelStyles:n,nodeStyles:a}=we(t);t.labelStyle=n;const{shapeSvg:s,bbox:l}=await Me(e,t,Be(t)),c=Math.max(l.width+r.labelPaddingX*2,t?.width||0),h=Math.max(l.height+r.labelPaddingY*2,t?.height||0),d=-c/2,p=-h/2;let g,{rx:b,ry:m}=t;const{cssStyles:C}=t;if(r?.rx&&r.ry&&(b=r.rx,m=r.ry),t.look==="handDrawn"){const E=ke.svg(s),k=_e(t,{}),x=b||m?E.path(Ba(d,p,c,h,b||0),k):E.rectangle(d,p,c,h,k);g=s.insert(()=>x,":first-child"),g.attr("class","basic label-container").attr("style",cr(C))}else g=s.insert("rect",":first-child"),g.attr("class","basic label-container").attr("style",a).attr("rx",cr(b)).attr("ry",cr(m)).attr("x",d).attr("y",p).attr("width",c).attr("height",h);return Ae(t,g),t.calcIntersect=function(E,k){return Ce.rect(E,k)},t.intersect=function(E){return Ce.rect(t,E)},s}T(Js,"drawRect");async function TO(e,t){const{cssClasses:r,labelPaddingX:n,labelPaddingY:a,padding:s,width:l,height:c}=t,h={rx:0,ry:0,labelPaddingX:n??(s??0)*2,labelPaddingY:a??s??0},d=await Js(e,t,h);if(t.look==="handDrawn"){const m=ke.svg(d),C=_e(t,{}),E=d.select(".basic.label-container > path:nth-child(2)"),k=E.node();if(!k)return d;let x=null;if(k instanceof SVGGraphicsElement)x=k.getBBox();else return d;return d.insert(()=>m.line(x.x,x.y,x.x+x.width,x.y,C),".basic.label-container g.label"),d.insert(()=>m.line(x.x,x.y+x.height,x.x+x.width,x.y+x.height,C),".basic.label-container g.label"),E.remove(),d}const p=d.select(".basic.label-container"),g=(Number(p.attr("width"))||l)??0,b=(Number(p.attr("height"))||c)??0;return g>0&&b>0&&p.attr("stroke-dasharray",`${g} ${b}`),d}T(TO,"datastore");async function _O(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.look==="neo"?16:t.padding??0,s=t.look==="neo"?16:t.padding??0,{shapeSvg:l,bbox:c,label:h}=await Me(e,t,Be(t)),d=c.width+a,p=c.height+s,g=p*.2,b=-d/2,m=-p/2-g/2,{cssStyles:C}=t,E=ke.svg(l),k=_e(t,{});t.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const x=[{x:b,y:m+g},{x:-b,y:m+g},{x:-b,y:-m},{x:b,y:-m},{x:b,y:m},{x:-b,y:m},{x:-b,y:m+g}],w=E.polygon(x.map(O=>[O.x,O.y]),k),v=l.insert(()=>w,":first-child");return v.attr("class","basic label-container outer-path"),C&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",C),n&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",n),h.attr("transform",`translate(${b+(t.padding??0)/2-(c.x-(c.left??0))}, ${m+g+(t.padding??0)/2-(c.y-(c.top??0))})`),Ae(t,v),t.intersect=function(O){return Ce.rect(t,O)},l}T(_O,"dividedRectangle");async function wO(e,t){const{labelStyles:r,nodeStyles:n}=we(t),a=t.look==="neo"?12:5;t.labelStyle=r;const s=t.padding??0,l=t.look==="neo"?16:s,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.width?t?.width/2:h.width/2)+(l??0),p=d-a;let g;const{cssStyles:b}=t;if(t.look==="handDrawn"){const m=ke.svg(c),C=_e(t,{roughness:.2,strokeWidth:2.5}),E=_e(t,{roughness:.2,strokeWidth:1.5}),k=m.circle(0,0,d*2,C),x=m.circle(0,0,p*2,E);g=c.insert("g",":first-child"),g.attr("class",cr(t.cssClasses)).attr("style",cr(b)),g.node()?.appendChild(k),g.node()?.appendChild(x)}else{g=c.insert("g",":first-child");const m=g.insert("circle",":first-child"),C=g.insert("circle");g.attr("class","basic label-container").attr("style",n),m.attr("class","outer-circle").attr("style",n).attr("r",d).attr("cx",0).attr("cy",0),C.attr("class","inner-circle").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0)}return Ae(t,g),t.intersect=function(m){return pe.info("DoubleCircle intersect",t,d,m),Ce.circle(t,d,m)},c}T(wO,"doublecircle");function vO(e,t,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:a}=we(t);t.label="",t.labelStyle=n;const s=e.insert("g").attr("class",Be(t)).attr("id",t.domId??t.id),l=7,{cssStyles:c}=t,h=ke.svg(s),{nodeBorder:d}=r,p=_e(t,{fillStyle:"solid"});t.look!=="handDrawn"&&(p.roughness=0);const g=h.circle(0,0,l*2,p),b=s.insert(()=>g,":first-child");return b.selectAll("path").attr("style",`fill: ${d} !important;`),c&&c.length>0&&t.look!=="handDrawn"&&b.selectAll("path").attr("style",c),a&&t.look!=="handDrawn"&&b.selectAll("path").attr("style",a),Ae(t,b),t.intersect=function(m){return pe.info("filledCircle intersect",t,{radius:l,point:m}),Ce.circle(t,l,m)},s}T(vO,"filledCircle");var CA=10,EA=10;async function AO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?a*2:a;(t.width||t.height)&&(t.height=t?.height??0,t.height<CA&&(t.height=CA),t.width=(t?.width??0)-s-s/2,t.width<EA&&(t.width=EA));const{shapeSvg:l,bbox:c,label:h}=await Me(e,t,Be(t)),d=(t?.width?t?.width:c.width)+(s??0),p=t?.height?t?.height:d+c.height,g=p,b=[{x:0,y:-p},{x:g,y:-p},{x:g/2,y:0}],{cssStyles:m}=t,C=ke.svg(l),E=_e(t,{});t.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const k=nt(b),x=C.path(k,E),w=l.insert(()=>x,":first-child").attr("transform",`translate(${-p/2}, ${p/2})`).attr("class","outer-path");return m&&t.look!=="handDrawn"&&w.selectChildren("path").attr("style",m),n&&t.look!=="handDrawn"&&w.selectChildren("path").attr("style",n),t.width=d,t.height=p,Ae(t,w),h.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))}, ${-p/2+(t.padding??0)/2+(c.y-(c.top??0))})`),t.intersect=function(v){return pe.info("Triangle intersect",t,b,v),Ce.polygon(t,b,v)},l}T(AO,"flippedTriangle");function RO(e,t,{dir:r,config:{state:n,themeVariables:a}}){const{nodeStyles:s}=we(t);t.label="";const l=e.insert("g").attr("class",Be(t)).attr("id",t.domId??t.id),{cssStyles:c}=t;let h=Math.max(70,t?.width??0),d=Math.max(10,t?.height??0);r==="LR"&&(h=Math.max(10,t?.width??0),d=Math.max(70,t?.height??0));const p=-1*h/2,g=-1*d/2,b=ke.svg(l),m=_e(t,{stroke:a.lineColor,fill:a.lineColor});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const C=b.rectangle(p,g,h,d,m),E=l.insert(()=>C,":first-child");c&&t.look!=="handDrawn"&&E.selectAll("path").attr("style",c),s&&t.look!=="handDrawn"&&E.selectAll("path").attr("style",s),Ae(t,E);const k=n?.padding??0;return t.width&&t.height&&(t.width+=k/2||0,t.height+=k/2||0),t.intersect=function(x){return Ce.rect(t,x)},l}T(RO,"forkJoin");async function DO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=15,s=10,l=t.look==="neo"?16:t.padding??0,c=t.look==="neo"?12:t.padding??0;(t.width||t.height)&&(t.height=(t?.height??0)-c*2,t.height<s&&(t.height=s),t.width=(t?.width??0)-l*2,t.width<a&&(t.width=a));const{shapeSvg:h,bbox:d}=await Me(e,t,Be(t)),p=(t?.width?t?.width:Math.max(a,d.width))+l*2,g=(t?.height?t?.height:Math.max(s,d.height))+c*2,b=g/2,{cssStyles:m}=t,C=ke.svg(h),E=_e(t,{});t.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const k=[{x:-p/2,y:-g/2},{x:p/2-b,y:-g/2},...Qc(-p/2+b,0,b,50,90,270),{x:p/2-b,y:g/2},{x:-p/2,y:g/2}],x=nt(k),w=C.path(x,E),v=h.insert(()=>w,":first-child");return v.attr("class","basic label-container outer-path"),m&&t.look!=="handDrawn"&&v.selectChildren("path").attr("style",m),n&&t.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),Ae(t,v),t.intersect=function(O){return pe.info("Pill intersect",t,{radius:b,point:O}),Ce.polygon(t,k,O)},h}T(DO,"halfRoundedRectangle");var JW=T((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 LO(e,t){const{labelStyles:r,nodeStyles:n}=we(t),a=t.look==="neo"?3.5:4;t.labelStyle=r;const s=t.padding??0,l=70,c=32,h=t.look==="neo"?l:s,d=t.look==="neo"?c:s;if(t.width||t.height){const v=(t.height??0)/a;t.width=(t?.width??0)-2*v-d,t.height=(t.height??0)-h}const{shapeSvg:p,bbox:g}=await Me(e,t,Be(t)),b=(t?.height?t?.height:g.height)+h,m=b/a,C=(t?.width?t?.width:g.width)+2*m+d,E=[{x:m,y:0},{x:C-m,y:0},{x:C,y:-b/2},{x:C-m,y:-b},{x:m,y:-b},{x:0,y:-b/2}];let k;const{cssStyles:x}=t;if(t.look==="handDrawn"){const w=ke.svg(p),v=_e(t,{}),O=JW(0,0,C,b,m),F=w.path(O,v);k=p.insert(()=>F,":first-child").attr("transform",`translate(${-C/2}, ${b/2})`),x&&k.attr("style",x)}else k=ji(p,C,b,E);return n&&k.attr("style",n),t.width=C,t.height=b,Ae(t,k),t.intersect=function(w){return Ce.polygon(t,E,w)},p}T(LO,"hexagon");async function NO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.label="",t.labelStyle=r;const{shapeSvg:a}=await Me(e,t,Be(t)),s=Math.max(30,t?.width??0),l=Math.max(30,t?.height??0),{cssStyles:c}=t,h=ke.svg(a),d=_e(t,{});t.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");const p=[{x:0,y:0},{x:s,y:0},{x:0,y:l},{x:s,y:l}],g=nt(p),b=h.path(g,d),m=a.insert(()=>b,":first-child");return m.attr("class","basic label-container outer-path"),c&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",c),n&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",n),m.attr("transform",`translate(${-s/2}, ${-l/2})`),Ae(t,m),t.intersect=function(C){return pe.info("Pill intersect",t,{points:p}),Ce.polygon(t,p,C)},a}T(NO,"hourglass");async function OO(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=we(t);t.labelStyle=a;const s=t.assetHeight??48,l=t.assetWidth??48,c=Math.max(s,l),h=n?.wrappingWidth;t.width=Math.max(c,h??0);const{shapeSvg:d,bbox:p,label:g}=await Me(e,t,"icon-shape default"),b=t.pos==="t",m=c,C=c,{nodeBorder:E}=r,{stylesMap:k}=Ks(t),x=-C/2,w=-m/2,v=t.label?8:0,O=ke.svg(d),F=_e(t,{stroke:"none",fill:"none"});t.look!=="handDrawn"&&(F.roughness=0,F.fillStyle="solid");const R=O.rectangle(x,w,C,m,F),$=Math.max(C,p.width),z=m+p.height+v,K=O.rectangle(-$/2,-z/2,$,z,{...F,fill:"transparent",stroke:"none"}),M=d.insert(()=>R,":first-child"),q=d.insert(()=>K);if(t.icon){const X=d.append("g");X.html(`<g>${await du(t.icon,{height:c,width:c,fallbackPrefix:""})}</g>`);const J=X.node().getBBox(),W=J.width,H=J.height,I=J.x,P=J.y;X.attr("transform",`translate(${-W/2-I},${b?p.height/2+v/2-H/2-P:-p.height/2-v/2-H/2-P})`),X.attr("style",`color: ${k.get("stroke")??E};`)}return g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${b?-z/2:z/2-p.height})`),M.attr("transform",`translate(0,${b?p.height/2+v/2:-p.height/2-v/2})`),Ae(t,q),t.intersect=function(X){if(pe.info("iconSquare intersect",t,X),!t.label)return Ce.rect(t,X);const J=t.x??0,W=t.y??0,H=t.height??0;let I=[];return b?I=[{x:J-p.width/2,y:W-H/2},{x:J+p.width/2,y:W-H/2},{x:J+p.width/2,y:W-H/2+p.height+v},{x:J+C/2,y:W-H/2+p.height+v},{x:J+C/2,y:W+H/2},{x:J-C/2,y:W+H/2},{x:J-C/2,y:W-H/2+p.height+v},{x:J-p.width/2,y:W-H/2+p.height+v}]:I=[{x:J-C/2,y:W-H/2},{x:J+C/2,y:W-H/2},{x:J+C/2,y:W-H/2+m},{x:J+p.width/2,y:W-H/2+m},{x:J+p.width/2/2,y:W+H/2},{x:J-p.width/2,y:W+H/2},{x:J-p.width/2,y:W-H/2+m},{x:J-C/2,y:W-H/2+m}],Ce.polygon(t,I,X)},d}T(OO,"icon");async function IO(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=we(t);t.labelStyle=a;const s=t.assetHeight??48,l=t.assetWidth??48,c=Math.max(s,l),h=n?.wrappingWidth;t.width=Math.max(c,h??0);const{shapeSvg:d,bbox:p,label:g}=await Me(e,t,"icon-shape default"),b=20,m=t.label?8:0,C=t.pos==="t",{nodeBorder:E,mainBkg:k}=r,{stylesMap:x}=Ks(t),w=ke.svg(d),v=_e(t,{});t.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const O=x.get("fill");v.stroke=O??k;const F=d.append("g");t.icon&&F.html(`<g>${await du(t.icon,{height:c,width:c,fallbackPrefix:""})}</g>`);const R=F.node().getBBox(),$=R.width,z=R.height,K=R.x,M=R.y,q=Math.max($,z)*Math.SQRT2+b*2,X=w.circle(0,0,q,v),J=Math.max(q,p.width),W=q+p.height+m,H=w.rectangle(-J/2,-W/2,J,W,{...v,fill:"transparent",stroke:"none"}),I=d.insert(()=>X,":first-child"),P=d.insert(()=>H);return F.attr("transform",`translate(${-$/2-K},${C?p.height/2+m/2-z/2-M:-p.height/2-m/2-z/2-M})`),F.attr("style",`color: ${x.get("stroke")??E};`),g.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${C?-W/2:W/2-p.height})`),I.attr("transform",`translate(0,${C?p.height/2+m/2:-p.height/2-m/2})`),Ae(t,P),t.intersect=function(V){return pe.info("iconSquare intersect",t,V),Ce.rect(t,V)},d}T(IO,"iconCircle");async function BO(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=we(t);t.labelStyle=a;const s=t.assetHeight??48,l=t.assetWidth??48,c=Math.max(s,l),h=n?.wrappingWidth;t.width=Math.max(c,h??0);const{shapeSvg:d,bbox:p,halfPadding:g,label:b}=await Me(e,t,"icon-shape default"),m=t.pos==="t",C=c+g*2,E=c+g*2,{nodeBorder:k,mainBkg:x}=r,{stylesMap:w}=Ks(t),v=-E/2,O=-C/2,F=t.label?8:0,R=ke.svg(d),$=_e(t,{});t.look!=="handDrawn"&&($.roughness=0,$.fillStyle="solid");const z=w.get("fill");$.stroke=z??x;const K=R.path(Ba(v,O,E,C,5),$),M=Math.max(E,p.width),q=C+p.height+F,X=R.rectangle(-M/2,-q/2,M,q,{...$,fill:"transparent",stroke:"none"}),J=d.insert(()=>K,":first-child").attr("class","icon-shape2"),W=d.insert(()=>X);if(t.icon){const H=d.append("g");H.html(`<g>${await du(t.icon,{height:c,width:c,fallbackPrefix:""})}</g>`);const I=H.node().getBBox(),P=I.width,V=I.height,se=I.x,L=I.y;H.attr("transform",`translate(${-P/2-se},${m?p.height/2+F/2-V/2-L:-p.height/2-F/2-V/2-L})`),H.attr("style",`color: ${w.get("stroke")??k};`)}return b.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-q/2:q/2-p.height})`),J.attr("transform",`translate(0,${m?p.height/2+F/2:-p.height/2-F/2})`),Ae(t,W),t.intersect=function(H){if(pe.info("iconSquare intersect",t,H),!t.label)return Ce.rect(t,H);const I=t.x??0,P=t.y??0,V=t.height??0;let se=[];return m?se=[{x:I-p.width/2,y:P-V/2},{x:I+p.width/2,y:P-V/2},{x:I+p.width/2,y:P-V/2+p.height+F},{x:I+E/2,y:P-V/2+p.height+F},{x:I+E/2,y:P+V/2},{x:I-E/2,y:P+V/2},{x:I-E/2,y:P-V/2+p.height+F},{x:I-p.width/2,y:P-V/2+p.height+F}]:se=[{x:I-E/2,y:P-V/2},{x:I+E/2,y:P-V/2},{x:I+E/2,y:P-V/2+C},{x:I+p.width/2,y:P-V/2+C},{x:I+p.width/2/2,y:P+V/2},{x:I-p.width/2,y:P+V/2},{x:I-p.width/2,y:P-V/2+C},{x:I-E/2,y:P-V/2+C}],Ce.polygon(t,se,H)},d}T(BO,"iconRounded");async function FO(e,t,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=we(t);t.labelStyle=a;const s=t.assetHeight??48,l=t.assetWidth??48,c=Math.max(s,l),h=n?.wrappingWidth;t.width=Math.max(c,h??0);const{shapeSvg:d,bbox:p,halfPadding:g,label:b}=await Me(e,t,"icon-shape default"),m=t.pos==="t",C=c+g*2,E=c+g*2,{nodeBorder:k,mainBkg:x}=r,{stylesMap:w}=Ks(t),v=-E/2,O=-C/2,F=t.label?8:0,R=ke.svg(d),$=_e(t,{});t.look!=="handDrawn"&&($.roughness=0,$.fillStyle="solid");const z=w.get("fill");$.stroke=z??x;const K=R.path(Ba(v,O,E,C,.1),$),M=Math.max(E,p.width),q=C+p.height+F,X=R.rectangle(-M/2,-q/2,M,q,{...$,fill:"transparent",stroke:"none"}),J=d.insert(()=>K,":first-child"),W=d.insert(()=>X);if(t.icon){const H=d.append("g");H.html(`<g>${await du(t.icon,{height:c,width:c,fallbackPrefix:""})}</g>`);const I=H.node().getBBox(),P=I.width,V=I.height,se=I.x,L=I.y;H.attr("transform",`translate(${-P/2-se},${m?p.height/2+F/2-V/2-L:-p.height/2-F/2-V/2-L})`),H.attr("style",`color: ${w.get("stroke")??k};`)}return b.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${m?-q/2:q/2-p.height})`),J.attr("transform",`translate(0,${m?p.height/2+F/2:-p.height/2-F/2})`),Ae(t,W),t.intersect=function(H){if(pe.info("iconSquare intersect",t,H),!t.label)return Ce.rect(t,H);const I=t.x??0,P=t.y??0,V=t.height??0;let se=[];return m?se=[{x:I-p.width/2,y:P-V/2},{x:I+p.width/2,y:P-V/2},{x:I+p.width/2,y:P-V/2+p.height+F},{x:I+E/2,y:P-V/2+p.height+F},{x:I+E/2,y:P+V/2},{x:I-E/2,y:P+V/2},{x:I-E/2,y:P-V/2+p.height+F},{x:I-p.width/2,y:P-V/2+p.height+F}]:se=[{x:I-E/2,y:P-V/2},{x:I+E/2,y:P-V/2},{x:I+E/2,y:P-V/2+C},{x:I+p.width/2,y:P-V/2+C},{x:I+p.width/2/2,y:P+V/2},{x:I-p.width/2,y:P+V/2},{x:I-p.width/2,y:P-V/2+C},{x:I-E/2,y:P-V/2+C}],Ce.polygon(t,se,H)},d}T(FO,"iconSquare");async function MO(e,t,{config:{flowchart:r}}){const n=new Image;n.src=t?.img??"",await n.decode();const a=Number(n.naturalWidth.toString().replace("px","")),s=Number(n.naturalHeight.toString().replace("px",""));t.imageAspectRatio=a/s;const{labelStyles:l}=we(t);t.labelStyle=l;const c=r?.wrappingWidth;t.defaultWidth=r?.wrappingWidth;const h=Math.max(t.label?c??0:0,t?.assetWidth??a),d=t.constraint==="on"&&t?.assetHeight?t.assetHeight*t.imageAspectRatio:h,p=t.constraint==="on"?d/t.imageAspectRatio:t?.assetHeight??s;t.width=Math.max(d,c??0);const{shapeSvg:g,bbox:b,label:m}=await Me(e,t,"image-shape default"),C=t.pos==="t",E=-d/2,k=-p/2,x=t.label?8:0,w=ke.svg(g),v=_e(t,{});t.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const O=w.rectangle(E,k,d,p,v),F=Math.max(d,b.width),R=p+b.height+x,$=w.rectangle(-F/2,-R/2,F,R,{...v,fill:"none",stroke:"none"}),z=g.insert(()=>O,":first-child"),K=g.insert(()=>$);if(t.img){const M=g.append("image");M.attr("href",t.img),M.attr("width",d),M.attr("height",p),M.attr("preserveAspectRatio","none"),M.attr("transform",`translate(${-d/2},${C?R/2-p:-R/2})`)}return m.attr("transform",`translate(${-b.width/2-(b.x-(b.left??0))},${C?-p/2-b.height/2-x/2:p/2-b.height/2+x/2})`),z.attr("transform",`translate(0,${C?b.height/2+x/2:-b.height/2-x/2})`),Ae(t,K),t.intersect=function(M){if(pe.info("iconSquare intersect",t,M),!t.label)return Ce.rect(t,M);const q=t.x??0,X=t.y??0,J=t.height??0;let W=[];return C?W=[{x:q-b.width/2,y:X-J/2},{x:q+b.width/2,y:X-J/2},{x:q+b.width/2,y:X-J/2+b.height+x},{x:q+d/2,y:X-J/2+b.height+x},{x:q+d/2,y:X+J/2},{x:q-d/2,y:X+J/2},{x:q-d/2,y:X-J/2+b.height+x},{x:q-b.width/2,y:X-J/2+b.height+x}]:W=[{x:q-d/2,y:X-J/2},{x:q+d/2,y:X-J/2},{x:q+d/2,y:X-J/2+p},{x:q+b.width/2,y:X-J/2+p},{x:q+b.width/2/2,y:X+J/2},{x:q-b.width/2,y:X+J/2},{x:q-b.width/2,y:X-J/2+p},{x:q-d/2,y:X-J/2+p}],Ce.polygon(t,W,M)},g}T(MO,"imageSquare");async function UO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=a,l=t.look==="neo"?a*2:a,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=Math.max(h.width+(l??0)*2,t?.width??0),p=Math.max(h.height+(s??0)*2,t?.height??0),g=[{x:0,y:0},{x:d,y:0},{x:d+3*p/6,y:-p},{x:-3*p/6,y:-p}];let b;const{cssStyles:m}=t;if(t.look==="handDrawn"){const C=ke.svg(c),E=_e(t,{}),k=nt(g),x=C.path(k,E);b=c.insert(()=>x,":first-child").attr("transform",`translate(${-d/2}, ${p/2})`),m&&b.attr("style",m)}else b=ji(c,d,p,g);return n&&b.attr("style",n),t.width=d,t.height=p,Ae(t,b),t.intersect=function(C){return Ce.polygon(t,g,C)},c}T(UO,"inv_trapezoid");async function $O(e,t){const{shapeSvg:r,bbox:n,label:a}=await Me(e,t,"label"),s=r.insert("rect",":first-child");return s.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))})`),Ae(t,s),t.intersect=function(h){return Ce.rect(t,h)},r}T($O,"labelRect");async function zO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=a,l=t.look==="neo"?a*2:a,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.height??h.height)+s,p=(t?.width??h.width)+l,g=[{x:0,y:0},{x:p+3*d/6,y:0},{x:p,y:-d},{x:-(3*d)/6,y:-d}];let b;const{cssStyles:m}=t;if(t.look==="handDrawn"){const C=ke.svg(c),E=_e(t,{}),k=nt(g),x=C.path(k,E);b=c.insert(()=>x,":first-child").attr("transform",`translate(${-p/2}, ${d/2})`),m&&b.attr("style",m)}else b=ji(c,p,d,g);return n&&b.attr("style",n),t.width=p,t.height=d,Ae(t,b),t.intersect=function(C){return Ce.polygon(t,g,C)},c}T(zO,"lean_left");async function PO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=a,l=t.look==="neo"?a*2:a,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.height??h.height)+s,p=(t?.width??h.width)+l,g=[{x:-3*d/6,y:0},{x:p,y:0},{x:p+3*d/6,y:-d},{x:0,y:-d}];let b;const{cssStyles:m}=t;if(t.look==="handDrawn"){const C=ke.svg(c),E=_e(t,{}),k=nt(g),x=C.path(k,E);b=c.insert(()=>x,":first-child").attr("transform",`translate(${-p/2}, ${d/2})`),m&&b.attr("style",m)}else b=ji(c,p,d,g);return n&&b.attr("style",n),t.width=p,t.height=d,Ae(t,b),t.intersect=function(C){return Ce.polygon(t,g,C)},c}T(PO,"lean_right");function HO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.label="",t.labelStyle=r;const a=e.insert("g").attr("class",Be(t)).attr("id",t.domId??t.id),{cssStyles:s}=t,l=Math.max(35,t?.width??0),c=Math.max(35,t?.height??0),h=7,d=[{x:l,y:0},{x:0,y:c+h/2},{x:l-2*h,y:c+h/2},{x:0,y:2*c},{x:l,y:c-h/2},{x:2*h,y:c-h/2}],p=ke.svg(a),g=_e(t,{});t.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const b=nt(d),m=p.path(b,g),C=a.insert(()=>m,":first-child");return C.attr("class","outer-path"),s&&t.look!=="handDrawn"&&C.selectAll("path").attr("style",s),n&&t.look!=="handDrawn"&&C.selectAll("path").attr("style",n),C.attr("transform",`translate(-${l/2},${-c})`),Ae(t,C),t.intersect=function(E){return pe.info("lightningBolt intersect",t,E),Ce.polygon(t,d,E)},a}T(HO,"lightningBolt");var eY=T((e,t,r,n,a,s,l)=>[`M${e},${t+s}`,`a${a},${s} 0,0,0 ${r},0`,`a${a},${s} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${s} 0,0,0 ${r},0`,`l0,${-n}`,`M${e},${t+s+l}`,`a${a},${s} 0,0,0 ${r},0`].join(" "),"createCylinderPathD"),tY=T((e,t,r,n,a,s,l)=>[`M${e},${t+s}`,`M${e+r},${t+s}`,`a${a},${s} 0,0,0 ${-r},0`,`l0,${n}`,`a${a},${s} 0,0,0 ${r},0`,`l0,${-n}`,`M${e},${t+s+l}`,`a${a},${s} 0,0,0 ${r},0`].join(" "),"createOuterCylinderPathD"),rY=T((e,t,r,n,a,s)=>[`M${e-r/2},${-n/2}`,`a${a},${s} 0,0,0 ${r},0`].join(" "),"createInnerCylinderPathD"),xA=10,kA=10;async function qO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?24:a;if(t.width||t.height){const x=t.width??0;t.width=(t.width??0)-s,t.width<kA&&(t.width=kA);const v=x/2/(2.5+x/50);t.height=(t.height??0)-l-v*3,t.height<xA&&(t.height=xA)}const{shapeSvg:c,bbox:h,label:d}=await Me(e,t,Be(t)),p=(t?.width?t?.width:h.width)+s*2,g=p/2,b=g/(2.5+p/50),m=(t?.height?t?.height:h.height)+b+l*2,C=m*.1;let E;const{cssStyles:k}=t;if(t.look==="handDrawn"){const x=ke.svg(c),w=tY(0,0,p,m,g,b,C),v=rY(0,b,p,m,g,b),O=_e(t,{}),F=x.path(w,O),R=x.path(v,O);c.insert(()=>R,":first-child").attr("class","line"),E=c.insert(()=>F,":first-child"),E.attr("class","basic label-container"),k&&E.attr("style",k)}else{const x=eY(0,0,p,m,g,b,C);E=c.insert("path",":first-child").attr("d",x).attr("class","basic label-container outer-path").attr("style",cr(k)).attr("style",n)}return E.attr("label-offset-y",b),E.attr("transform",`translate(${-p/2}, ${-(m/2+b)})`),Ae(t,E),d.attr("transform",`translate(${-(h.width/2)-(h.x-(h.left??0))}, ${-(h.height/2)+b-(h.y-(h.top??0))})`),t.intersect=function(x){const w=Ce.rect(t,x),v=w.x-(t.x??0);if(g!=0&&(Math.abs(v)<(t.width??0)/2||Math.abs(v)==(t.width??0)/2&&Math.abs(w.y-(t.y??0))>(t.height??0)/2-b)){let O=b*b*(1-v*v/(g*g));O>0&&(O=Math.sqrt(O)),O=b-O,x.y-(t.y??0)>0&&(O=-O),w.y+=O}return w},c}T(qO,"linedCylinder");async function GO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a;if(t.width||t.height){const O=t.width;t.width=(O??0)*10/11-s*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-l*2,t.height<10&&(t.height=10)}const{shapeSvg:c,bbox:h,label:d}=await Me(e,t,Be(t)),p=(t?.width?t?.width:h.width)+(s??0)*2,g=(t?.height?t?.height:h.height)+(l??0)*2,b=t.look==="neo"?g/4:g/8,m=g+b,{cssStyles:C}=t,E=ke.svg(c),k=_e(t,{});t.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const x=[{x:-p/2-p/2*.1,y:-m/2},{x:-p/2-p/2*.1,y:m/2},...Oa(-p/2-p/2*.1,m/2,p/2+p/2*.1,m/2,b,.8),{x:p/2+p/2*.1,y:-m/2},{x:-p/2-p/2*.1,y:-m/2},{x:-p/2,y:-m/2},{x:-p/2,y:m/2*1.1},{x:-p/2,y:-m/2}],w=E.polygon(x.map(O=>[O.x,O.y]),k),v=c.insert(()=>w,":first-child");return v.attr("class","basic label-container outer-path"),C&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",C),n&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",n),v.attr("transform",`translate(0,${-b/2})`),d.attr("transform",`translate(${-p/2+(t.padding??0)+p/2*.1/2-(h.x-(h.left??0))},${-g/2+(t.padding??0)-b/2-(h.y-(h.top??0))})`),Ae(t,v),t.intersect=function(O){return Ce.polygon(t,x,O)},c}T(GO,"linedWaveEdgedRect");async function jO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a,c=t.look==="neo"?10:5;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-s*2-2*c,10),t.height=Math.max((t?.height??0)-l*2-2*c,10));const{shapeSvg:h,bbox:d,label:p}=await Me(e,t,Be(t)),g=(t?.width?t?.width:d.width)+s*2+2*c,b=(t?.height?t?.height:d.height)+l*2+2*c,m=g-2*c,C=b-2*c,E=-m/2,k=-C/2,{cssStyles:x}=t,w=ke.svg(h),v=_e(t,{}),O=[{x:E-c,y:k+c},{x:E-c,y:k+C+c},{x:E+m-c,y:k+C+c},{x:E+m-c,y:k+C},{x:E+m,y:k+C},{x:E+m,y:k+C-c},{x:E+m+c,y:k+C-c},{x:E+m+c,y:k-c},{x:E+c,y:k-c},{x:E+c,y:k},{x:E,y:k},{x:E,y:k+c}],F=[{x:E,y:k+c},{x:E+m-c,y:k+c},{x:E+m-c,y:k+C},{x:E+m,y:k+C},{x:E+m,y:k},{x:E,y:k}];t.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const R=nt(O);let $=w.path(R,v);const z=nt(F);let K=w.path(z,v);t.look!=="handDrawn"&&($=Fb($),K=Fb(K));const M=h.insert("g",":first-child");return M.insert(()=>$),M.insert(()=>K),M.attr("class","basic label-container outer-path"),x&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",x),n&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",n),p.attr("transform",`translate(${-(d.width/2)-c-(d.x-(d.left??0))}, ${-(d.height/2)+c-(d.y-(d.top??0))})`),Ae(t,M),t.intersect=function(q){return Ce.polygon(t,O,q)},h}T(jO,"multiRect");async function WO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,label:l}=await Me(e,t,Be(t)),c=t.padding??0,h=t.look==="neo"?16:c,d=t.look==="neo"?12:c;let p=!0;(t.width||t.height)&&(p=!1,t.width=(t?.width??0)-h*2,t.height=(t?.height??0)-d*3);const g=Math.max(s.width,t?.width??0)+h*2,b=Math.max(s.height,t?.height??0)+d*3,m=t.look==="neo"?b/4:b/8,C=b+(p?m/2:-m/2),E=-g/2,k=-C/2,x=10,{cssStyles:w}=t,v=Oa(E-x,k+C+x,E+g-x,k+C+x,m,.8),O=v?.[v.length-1],F=[{x:E-x,y:k+x},{x:E-x,y:k+C+x},...v,{x:E+g-x,y:O.y-x},{x:E+g,y:O.y-x},{x:E+g,y:O.y-2*x},{x:E+g+x,y:O.y-2*x},{x:E+g+x,y:k-x},{x:E+x,y:k-x},{x:E+x,y:k},{x:E,y:k},{x:E,y:k+x}],R=[{x:E,y:k+x},{x:E+g-x,y:k+x},{x:E+g-x,y:O.y-x},{x:E+g,y:O.y-x},{x:E+g,y:k},{x:E,y:k}],$=ke.svg(a),z=_e(t,{});t.look!=="handDrawn"&&(z.roughness=0,z.fillStyle="solid");const K=nt(F),M=$.path(K,z),q=nt(R),X=$.path(q,z),J=a.insert(()=>M,":first-child");return J.insert(()=>X),J.attr("class","basic label-container outer-path"),w&&t.look!=="handDrawn"&&J.selectAll("path").attr("style",w),n&&t.look!=="handDrawn"&&J.selectAll("path").attr("style",n),J.attr("transform",`translate(0,${-m/2})`),l.attr("transform",`translate(${-(s.width/2)-x-(s.x-(s.left??0))}, ${-(s.height/2)+x-m/2-(s.y-(s.top??0))})`),Ae(t,J),t.intersect=function(W){return Ce.polygon(t,F,W)},a}T(WO,"multiWaveEdgedRectangle");async function YO(e,t,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:a}=we(t);t.labelStyle=n,t.useHtmlLabels||zr(Ot())||(t.centerLabel=!0);const{shapeSvg:l,bbox:c,label:h}=await Me(e,t,Be(t)),d=Math.max(c.width+(t.padding??0)*2,t?.width??0),p=Math.max(c.height+(t.padding??0)*2,t?.height??0),g=-d/2,b=-p/2,{cssStyles:m}=t,C=ke.svg(l),E=_e(t,{fill:r.noteBkgColor,stroke:r.noteBorderColor});t.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const k=C.rectangle(g,b,d,p,E),x=l.insert(()=>k,":first-child");return x.attr("class","basic label-container outer-path"),h.attr("class","label noteLabel"),m&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",m),a&&t.look!=="handDrawn"&&x.selectAll("path").attr("style",a),h.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))}, ${-(c.height/2)-(c.y-(c.top??0))})`),Ae(t,x),t.intersect=function(w){return Ce.rect(t,w)},l}T(YO,"note");var nY=T((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 VO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s}=await Me(e,t,Be(t)),l=s.width+(t.padding??0),c=s.height+(t.padding??0),h=l+c,d=.5,p=[{x:h/2,y:0},{x:h,y:-h/2},{x:h/2,y:-h},{x:0,y:-h/2}];let g;const{cssStyles:b}=t;if(t.look==="handDrawn"){const m=ke.svg(a),C=_e(t,{}),E=nY(0,0,h),k=m.path(E,C);g=a.insert(()=>k,":first-child").attr("transform",`translate(${-h/2+d}, ${h/2})`),b&&g.attr("style",b)}else g=ji(a,h,h,p),g.attr("transform",`translate(${-h/2+d}, ${h/2})`);return n&&g.attr("style",n),Ae(t,g),t.calcIntersect=function(m,C){const E=m.width,k=[{x:E/2,y:0},{x:E,y:-E/2},{x:E/2,y:-E},{x:0,y:-E/2}],x=Ce.polygon(m,k,C);return{x:x.x-.5,y:x.y-.5}},t.intersect=function(m){return this.calcIntersect(t,m)},a}T(VO,"question");async function XO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?21:a??0,l=t.look==="neo"?12:a??0,{shapeSvg:c,bbox:h,label:d}=await Me(e,t,Be(t)),p=(t?.width??h.width)+(t.look==="neo"?s*2:s),g=(t?.height??h.height)+(t.look==="neo"?l*2:l),b=-p/2,m=-g/2,C=m/2,E=[{x:b+C,y:m},{x:b,y:0},{x:b+C,y:-m},{x:-b,y:-m},{x:-b,y:m}],{cssStyles:k}=t,x=ke.svg(c),w=_e(t,{});t.look!=="handDrawn"&&(w.roughness=0,w.fillStyle="solid");const v=nt(E),O=x.path(v,w),F=c.insert(()=>O,":first-child");return F.attr("class","basic label-container outer-path"),k&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",k),n&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",n),F.attr("transform",`translate(${-C/2},0)`),d.attr("transform",`translate(${-C/2-h.width/2-(h.x-(h.left??0))}, ${-(h.height/2)-(h.y-(h.top??0))})`),Ae(t,F),t.intersect=function(R){return Ce.polygon(t,E,R)},c}T(XO,"rect_left_inv_arrow");async function ZO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;let a;t.cssClasses?a="node "+t.cssClasses:a="node default";const s=e.insert("g").attr("class",a).attr("id",t.domId||t.id),l=s.insert("g"),c=s.insert("g").attr("class","label").attr("style",n),h=t.description,d=t.label,p=await _a(c,d,t.labelStyle,!0,!0);let g={width:0,height:0};if(zr(ht())){const z=p.children[0],K=Ve(p);g=z.getBoundingClientRect(),K.attr("width",g.width),K.attr("height",g.height)}pe.info("Text 2",h);const b=h||[],m=p.getBBox(),C=await _a(c,Array.isArray(b)?b.join("<br/>"):b,t.labelStyle,!0,!0),E=C.children[0],k=Ve(C);g=E.getBoundingClientRect(),k.attr("width",g.width),k.attr("height",g.height);const x=(t.padding||0)/2;Ve(C).attr("transform","translate( "+(g.width>m.width?0:(m.width-g.width)/2)+", "+(m.height+x+5)+")"),Ve(p).attr("transform","translate( "+(g.width<m.width?0:-(m.width-g.width)/2)+", 0)"),g=c.node().getBBox(),c.attr("transform","translate("+-g.width/2+", "+(-g.height/2-x+3)+")");const w=g.width+(t.padding||0),v=g.height+(t.padding||0),O=-g.width/2-x,F=-g.height/2-x;let R,$;if(t.look==="handDrawn"){const z=ke.svg(s),K=_e(t,{}),M=z.path(Ba(O,F,w,v,t.rx||0),K),q=z.line(-g.width/2-x,-g.height/2-x+m.height+x,g.width/2+x,-g.height/2-x+m.height+x,K);$=s.insert(()=>(pe.debug("Rough node insert CXC",M),q),":first-child"),R=s.insert(()=>(pe.debug("Rough node insert CXC",M),M),":first-child")}else R=l.insert("rect",":first-child"),$=l.insert("line"),R.attr("class","outer title-state").attr("style",n).attr("x",-g.width/2-x).attr("y",-g.height/2-x).attr("width",g.width+(t.padding||0)).attr("height",g.height+(t.padding||0)),$.attr("class","divider").attr("x1",-g.width/2-x).attr("x2",g.width/2+x).attr("y1",-g.height/2-x+m.height+x).attr("y2",-g.height/2-x+m.height+x);return Ae(t,R),t.intersect=function(z){return Ce.rect(t,z)},s}T(ZO,"rectWithTitle");async function KO(e,t,{config:{themeVariables:r}}){const n=r?.radius??5,a={rx:n,ry:n,labelPaddingX:(t?.padding??0)*1,labelPaddingY:(t?.padding??0)*1};return Js(e,t,a)}T(KO,"roundedRect");var ro=8;async function QO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.look==="neo"?16:t.padding??0,s=t.look==="neo"?12:t.padding??0,{shapeSvg:l,bbox:c,label:h}=await Me(e,t,Be(t)),d=(t?.width??c.width)+a*2+(t.look==="neo"?ro:ro*2),p=(t?.height??c.height)+s*2,g=d-ro,b=p,m=ro-d/2,C=-p/2,{cssStyles:E}=t,k=ke.svg(l),x=_e(t,{});t.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");const w=[{x:m,y:C},{x:m+g,y:C},{x:m+g,y:C+b},{x:m-ro,y:C+b},{x:m-ro,y:C},{x:m,y:C},{x:m,y:C+b}],v=k.polygon(w.map(F=>[F.x,F.y]),x),O=l.insert(()=>v,":first-child");return O.attr("class","basic label-container outer-path").attr("style",cr(E)),n&&t.look!=="handDrawn"&&O.selectAll("path").attr("style",n),E&&t.look!=="handDrawn"&&O.selectAll("path").attr("style",n),h.attr("transform",`translate(${ro/2-c.width/2-(c.x-(c.left??0))}, ${-(c.height/2)-(c.y-(c.top??0))})`),Ae(t,O),t.intersect=function(F){return Ce.rect(t,F)},l}T(QO,"shadedProcess");async function JO(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-s*2,10),t.height=Math.max((t?.height??0)/1.5-l*2,10));const{shapeSvg:c,bbox:h,label:d}=await Me(e,t,Be(t)),p=(t?.width?t?.width:h.width)+s*2,g=((t?.height?t?.height:h.height)+l*2)*1.5,b=p,m=g/1.5,C=-b/2,E=-m/2,{cssStyles:k}=t,x=ke.svg(c),w=_e(t,{});t.look!=="handDrawn"&&(w.roughness=0,w.fillStyle="solid");const v=[{x:C,y:E},{x:C,y:E+m},{x:C+b,y:E+m},{x:C+b,y:E-m/2}],O=nt(v),F=x.path(O,w),R=c.insert(()=>F,":first-child");return R.attr("class","basic label-container outer-path"),k&&t.look!=="handDrawn"&&R.selectChildren("path").attr("style",k),n&&t.look!=="handDrawn"&&R.selectChildren("path").attr("style",n),R.attr("transform",`translate(0, ${m/4})`),d.attr("transform",`translate(${-b/2+(t.padding??0)-(h.x-(h.left??0))}, ${-m/4+(t.padding??0)-(h.y-(h.top??0))})`),Ae(t,R),t.intersect=function($){return Ce.polygon(t,v,$)},c}T(JO,"slopedRect");async function eI(e,t){const r=t.padding??0,n=t.look==="neo"?16:r*2,a=t.look==="neo"?12:r,s={rx:0,ry:0,labelPaddingX:t.labelPaddingX??n,labelPaddingY:a};return Js(e,t,s)}T(eI,"squareRect");async function tI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?20:a,l=t.look==="neo"?12:a,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=h.height+(t.look==="neo"?l*2:l),p=h.width+d/4+(t.look==="neo"?s*2:s),g=d/2,{cssStyles:b}=t,m=ke.svg(c),C=_e(t,{});t.look!=="handDrawn"&&(C.roughness=0,C.fillStyle="solid");const E=[{x:-p/2+g,y:-d/2},{x:p/2-g,y:-d/2},...Qc(-p/2+g,0,g,50,90,270),{x:p/2-g,y:d/2},...Qc(p/2-g,0,g,50,270,450)],k=nt(E),x=m.path(k,C),w=c.insert(()=>x,":first-child");return w.attr("class","basic label-container outer-path"),b&&t.look!=="handDrawn"&&w.selectChildren("path").attr("style",b),n&&t.look!=="handDrawn"&&w.selectChildren("path").attr("style",n),Ae(t,w),t.intersect=function(v){return Ce.polygon(t,E,v)},c}T(tI,"stadium");async function rI(e,t){const r={rx:t.look==="neo"?3:5,ry:t.look==="neo"?3:5};return Js(e,t,r)}T(rI,"state");function nI(e,t,{config:{themeVariables:r}}){const{labelStyles:n,nodeStyles:a}=we(t);t.labelStyle=n;const{cssStyles:s}=t,{lineColor:l,stateBorder:c,nodeBorder:h,nodeShadow:d}=r;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||(t.width=14),t.height||(t.height=14);const p=e.insert("g").attr("class","node default").attr("id",t.domId??t.id),g=ke.svg(p),b=_e(t,{});t.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");const m=g.circle(0,0,t.width,{...b,stroke:l,strokeWidth:2}),C=c??h,E=(t.width??0)*5/14,k=g.circle(0,0,E,{...b,fill:C,stroke:C,strokeWidth:2,fillStyle:"solid"}),x=p.insert(()=>m,":first-child");if(x.insert(()=>k),t.look!=="handDrawn"&&x.attr("class","outer-path"),s&&x.selectAll("path").attr("style",s),a&&x.selectAll("path").attr("style",a),t.width<25&&d&&t.look!=="handDrawn"){const w=e.node()?.ownerSVGElement?.id??"",v=w?`${w}-drop-shadow-small`:"drop-shadow-small";x.attr("style",`filter:url(#${v})`)}return Ae(t,x),t.intersect=function(w){return Ce.circle(t,(t.width??0)/2,w)},p}T(nI,"stateEnd");function iI(e,t,{config:{themeVariables:r}}){const{lineColor:n,nodeShadow:a}=r;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||(t.width=14),t.height||(t.height=14);const s=e.insert("g").attr("class","node default").attr("id",t.domId||t.id);let l;if(t.look==="handDrawn"){const h=ke.svg(s).circle(0,0,t.width,dj(n));l=s.insert(()=>h),l.attr("class","state-start").attr("r",(t.width??7)/2).attr("width",t.width??14).attr("height",t.height??14)}else l=s.insert("circle",":first-child"),l.attr("class","state-start").attr("r",(t.width??7)/2).attr("width",t.width??14).attr("height",t.height??14);if(t.width<25&&a&&t.look!=="handDrawn"){const c=e.node()?.ownerSVGElement?.id??"",h=c?`${c}-drop-shadow-small`:"drop-shadow-small";l.attr("style",`filter:url(#${h})`)}return Ae(t,l),t.intersect=function(c){return Ce.circle(t,(t.width??7)/2,c)},s}T(iI,"stateStart");var ds=8;async function aI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t?.padding??8,s=t.look==="neo"?28:a,l=t.look==="neo"?12:a,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.width??h.width)+2*ds+s,p=(t?.height??h.height)+l,g=d-2*ds,b=p,m=-d/2,C=-p/2,E=[{x:0,y:0},{x:g,y:0},{x:g,y:-b},{x:0,y:-b},{x:0,y:0},{x:-8,y:0},{x:g+8,y:0},{x:g+8,y:-b},{x:-8,y:-b},{x:-8,y:0}];if(t.look==="handDrawn"){const k=ke.svg(c),x=_e(t,{}),w=k.rectangle(m,C,g+16,b,x),v=k.line(m+ds,C,m+ds,C+b,x),O=k.line(m+ds+g,C,m+ds+g,C+b,x);c.insert(()=>v,":first-child"),c.insert(()=>O,":first-child");const F=c.insert(()=>w,":first-child"),{cssStyles:R}=t;F.attr("class","basic label-container").attr("style",cr(R)),Ae(t,F)}else{const k=ji(c,g,b,E);n&&k.attr("style",n),Ae(t,k)}return t.intersect=function(k){return Ce.polygon(t,E,k)},c}T(aI,"subroutine");var Lm=.2;async function oI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a;(t.width||t.height)&&(t.height=Math.max((t?.height??0)-l*2,10),t.width=Math.max((t?.width??0)-s*2-Lm*(t.height+l*2),10));const{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.height?t?.height:h.height)+l*2,p=Lm*d,g=Lm*d,m=(t?.width?t?.width:h.width)+s*2+p-p,C=d,E=-m/2,k=-C/2,{cssStyles:x}=t,w=ke.svg(c),v=_e(t,{}),O=[{x:E-p/2,y:k},{x:E+m+p/2,y:k},{x:E+m+p/2,y:k+C},{x:E-p/2,y:k+C}],F=[{x:E+m-p/2,y:k+C},{x:E+m+p/2,y:k+C},{x:E+m+p/2,y:k+C-g}];t.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");const R=nt(O),$=w.path(R,v),z=nt(F),K=w.path(z,{...v,fillStyle:"solid"}),M=c.insert(()=>K,":first-child");return M.insert(()=>$,":first-child"),M.attr("class","basic label-container outer-path"),x&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",x),n&&t.look!=="handDrawn"&&M.selectAll("path").attr("style",n),Ae(t,M),t.intersect=function(q){return Ce.polygon(t,O,q)},c}T(oI,"taggedRect");async function sI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,label:l}=await Me(e,t,Be(t)),c=Math.max(s.width+(t.padding??0)*2,t?.width??0),h=Math.max(s.height+(t.padding??0)*2,t?.height??0),d=h/8,p=.2*c,g=.2*h,b=h+d,{cssStyles:m}=t,C=ke.svg(a),E=_e(t,{});t.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const k=[{x:-c/2-c/2*.1,y:b/2},...Oa(-c/2-c/2*.1,b/2,c/2+c/2*.1,b/2,d,.8),{x:c/2+c/2*.1,y:-b/2},{x:-c/2-c/2*.1,y:-b/2}],x=-c/2+c/2*.1,w=-b/2-g*.4,v=[{x:x+c-p,y:(w+h)*1.3},{x:x+c,y:w+h-g},{x:x+c,y:(w+h)*.9},...Oa(x+c,(w+h)*1.25,x+c-p,(w+h)*1.3,-h*.02,.5)],O=nt(k),F=C.path(O,E),R=nt(v),$=C.path(R,{...E,fillStyle:"solid"}),z=a.insert(()=>$,":first-child");return z.insert(()=>F,":first-child"),z.attr("class","basic label-container outer-path"),m&&t.look!=="handDrawn"&&z.selectAll("path").attr("style",m),n&&t.look!=="handDrawn"&&z.selectAll("path").attr("style",n),z.attr("transform",`translate(0,${-d/2})`),l.attr("transform",`translate(${-c/2+(t.padding??0)-(s.x-(s.left??0))},${-h/2+(t.padding??0)-d/2-(s.y-(s.top??0))})`),Ae(t,z),t.intersect=function(K){return Ce.polygon(t,k,K)},a}T(sI,"taggedWaveEdgedRectangle");async function lI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s}=await Me(e,t,Be(t)),l=Math.max(s.width+(t.padding??0),t?.width||0),c=Math.max(s.height+(t.padding??0),t?.height||0),h=-l/2,d=-c/2,p=a.insert("rect",":first-child");return p.attr("class","text").attr("style",n).attr("rx",0).attr("ry",0).attr("x",h).attr("y",d).attr("width",l).attr("height",c),Ae(t,p),t.intersect=function(g){return Ce.rect(t,g)},a}T(lI,"text");var iY=T((e,t,r,n,a,s)=>`M${e},${t}
263
+ a${a},${s} 0,0,1 0,${-n}
264
+ l${r},0
265
+ a${a},${s} 0,0,1 0,${n}
266
+ M${r},${-n}
267
+ a${a},${s} 0,0,0 0,${n}
268
+ l${-r},0`,"createCylinderPathD"),aY=T((e,t,r,n,a,s)=>[`M${e},${t}`,`M${e+r},${t}`,`a${a},${s} 0,0,0 0,${-n}`,`l${-r},0`,`a${a},${s} 0,0,0 0,${n}`,`l${r},0`].join(" "),"createOuterCylinderPathD"),oY=T((e,t,r,n,a,s)=>[`M${e+r/2},${-n/2}`,`a${a},${s} 0,0,0 0,${n}`].join(" "),"createInnerCylinderPathD"),TA=5,_A=10;async function cI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?12:a/2;if(t.width||t.height){const E=t.height??0;t.height=(t.height??0)-s,t.height<TA&&(t.height=TA);const x=E/2/(2.5+E/50);t.width=(t.width??0)-s-x*3,t.width<_A&&(t.width=_A)}const{shapeSvg:l,bbox:c,label:h}=await Me(e,t,Be(t)),d=(t.height?t.height:c.height)+s,p=d/2,g=p/(2.5+d/50),b=(t.width?t.width:c.width)+g+s,{cssStyles:m}=t;let C;if(t.look==="handDrawn"){const E=ke.svg(l),k=aY(0,0,b,d,g,p),x=oY(0,0,b,d,g,p),w=E.path(k,_e(t,{})),v=E.path(x,_e(t,{fill:"none"}));C=l.insert(()=>v,":first-child"),C=l.insert(()=>w,":first-child"),C.attr("class","basic label-container"),m&&C.attr("style",m)}else{const E=iY(0,0,b,d,g,p);C=l.insert("path",":first-child").attr("d",E).attr("class","basic label-container").attr("style",cr(m)).attr("style",n),C.attr("class","basic label-container outer-path"),m&&C.selectAll("path").attr("style",m),n&&C.selectAll("path").attr("style",n)}return C.attr("label-offset-x",g),C.attr("transform",`translate(${-b/2}, ${d/2} )`),h.attr("transform",`translate(${-(c.width/2)-g-(c.x-(c.left??0))}, ${-(c.height/2)-(c.y-(c.top??0))})`),Ae(t,C),t.intersect=function(E){const k=Ce.rect(t,E),x=k.y-(t.y??0);if(p!=0&&(Math.abs(x)<(t.height??0)/2||Math.abs(x)==(t.height??0)/2&&Math.abs(k.x-(t.x??0))>(t.width??0)/2-g)){let w=g*g*(1-x*x/(p*p));w!=0&&(w=Math.sqrt(Math.abs(w))),w=g-w,E.x-(t.x??0)>0&&(w=-w),k.x+=w}return k},l}T(cI,"tiltedCylinder");async function uI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=(t.look==="neo",a),l=t.look==="neo"?a*2:a,{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.height??h.height)+s,p=(t?.width??h.width)+l,g=[{x:-3*d/6,y:0},{x:p+3*d/6,y:0},{x:p,y:-d},{x:0,y:-d}];let b;const{cssStyles:m}=t;if(t.look==="handDrawn"){const C=ke.svg(c),E=_e(t,{}),k=nt(g),x=C.path(k,E);b=c.insert(()=>x,":first-child").attr("transform",`translate(${-p/2}, ${d/2})`),m&&b.attr("style",m)}else b=ji(c,p,d,g);return n&&b.attr("style",n),t.width=p,t.height=d,Ae(t,b),t.intersect=function(C){return Ce.polygon(t,g,C)},c}T(uI,"trapezoid");async function hI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a,c=15,h=5;(t.width||t.height)&&(t.height=(t.height??0)-l*2,t.height<h&&(t.height=h),t.width=(t.width??0)-s*2,t.width<c&&(t.width=c));const{shapeSvg:d,bbox:p}=await Me(e,t,Be(t)),g=(t?.width?t?.width:p.width)+s*2,b=(t?.height?t?.height:p.height)+l*2,{cssStyles:m}=t,C=ke.svg(d),E=_e(t,{});t.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const k=[{x:-g/2*.8,y:-b/2},{x:g/2*.8,y:-b/2},{x:g/2,y:-b/2*.6},{x:g/2,y:b/2},{x:-g/2,y:b/2},{x:-g/2,y:-b/2*.6}],x=nt(k),w=C.path(x,E),v=d.insert(()=>w,":first-child");return v.attr("class","basic label-container outer-path"),m&&t.look!=="handDrawn"&&v.selectChildren("path").attr("style",m),n&&t.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),Ae(t,v),t.intersect=function(O){return Ce.polygon(t,k,O)},d}T(hI,"trapezoidalPentagon");var wA=10,vA=10;async function dI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?a*2:a;(t.width||t.height)&&(t.width=((t?.width??0)-s)/2,t.width<vA&&(t.width=vA),t.height=t?.height??0,t.height<wA&&(t.height=wA));const{shapeSvg:l,bbox:c,label:h}=await Me(e,t,Be(t)),d=qi(ht().flowchart?.htmlLabels),p=(t?.width?t?.width:c.width)+s,g=t?.height?t?.height:p+c.height,b=g,m=[{x:0,y:0},{x:b,y:0},{x:b/2,y:-g}],{cssStyles:C}=t,E=ke.svg(l),k=_e(t,{});t.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const x=nt(m),w=E.path(x,k),v=l.insert(()=>w,":first-child").attr("transform",`translate(${-g/2}, ${g/2})`).attr("class","outer-path");return C&&t.look!=="handDrawn"&&v.selectChildren("path").attr("style",C),n&&t.look!=="handDrawn"&&v.selectChildren("path").attr("style",n),t.width=p,t.height=g,Ae(t,v),h.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))}, ${g/2-(c.height+(t.padding??0)/(d?2:1)-(c.y-(c.top??0)))})`),t.intersect=function(O){return pe.info("Triangle intersect",t,m,O),Ce.polygon(t,m,O)},l}T(dI,"triangle");async function pI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?12:a;let c=!0;(t.width||t.height)&&(c=!1,t.width=(t?.width??0)-s*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-l*2,t.height<10&&(t.height=10));const{shapeSvg:h,bbox:d,label:p}=await Me(e,t,Be(t)),g=(t?.width?t?.width:d.width)+(s??0)*2,b=(t?.height?t?.height:d.height)+(l??0)*2,m=t.look==="neo"?b/4:b/8,C=b+(c?m:-m),{cssStyles:E}=t,x=14-g,w=x>0?x/2:0,v=ke.svg(h),O=_e(t,{});t.look!=="handDrawn"&&(O.roughness=0,O.fillStyle="solid");const F=[{x:-g/2-w,y:C/2},...Oa(-g/2-w,C/2,g/2+w,C/2,m,.8),{x:g/2+w,y:-C/2},{x:-g/2-w,y:-C/2}],R=nt(F),$=v.path(R,O),z=h.insert(()=>$,":first-child");return z.attr("class","basic label-container outer-path"),E&&t.look!=="handDrawn"&&z.selectAll("path").attr("style",E),n&&t.look!=="handDrawn"&&z.selectAll("path").attr("style",n),z.attr("transform",`translate(0,${-m/2})`),p.attr("transform",`translate(${-g/2+(t.padding??0)-(d.x-(d.left??0))},${-b/2+(t.padding??0)-m-(d.y-(d.top??0))})`),Ae(t,z),t.intersect=function(K){return Ce.polygon(t,F,K)},h}T(pI,"waveEdgedRectangle");async function fI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.padding??0,s=t.look==="neo"?16:a,l=t.look==="neo"?20:a;if(t.width||t.height){t.width=t?.width??0,t.width<20&&(t.width=20),t.height=t?.height??0,t.height<10&&(t.height=10);const O=Math.min(t.height*.2,t.height/4);t.height=Math.ceil(t.height-l-O*(20/9)),t.width=t.width-s*2}const{shapeSvg:c,bbox:h}=await Me(e,t,Be(t)),d=(t?.width?t?.width:h.width)+s*2,p=(t?.height?t?.height:h.height)+l,g=p/8,b=p+g*2,{cssStyles:m}=t,C=ke.svg(c),E=_e(t,{});t.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");const k=[{x:-d/2,y:b/2},...Oa(-d/2,b/2,d/2,b/2,g,1),{x:d/2,y:-b/2},...Oa(d/2,-b/2,-d/2,-b/2,g,-1)],x=nt(k),w=C.path(x,E),v=c.insert(()=>w,":first-child");return v.attr("class","basic label-container"),m&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",m),n&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",n),Ae(t,v),t.intersect=function(O){return Ce.polygon(t,k,O)},c}T(fI,"waveRectangle");var Ft=10;async function gI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t.look==="neo"?16:t.padding??0,s=t.look==="neo"?12:t.padding??0;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2-Ft,10),t.height=Math.max((t?.height??0)-s*2-Ft,10));const{shapeSvg:l,bbox:c,label:h}=await Me(e,t,Be(t)),d=(t?.width?t?.width:c.width)+a*2+Ft,p=(t?.height?t?.height:c.height)+s*2+Ft,g=d-Ft,b=p-Ft,m=-g/2,C=-b/2,{cssStyles:E}=t,k=ke.svg(l),x=_e(t,{}),w=[{x:m-Ft,y:C-Ft},{x:m-Ft,y:C+b},{x:m+g,y:C+b},{x:m+g,y:C-Ft}],v=`M${m-Ft},${C-Ft} L${m+g},${C-Ft} L${m+g},${C+b} L${m-Ft},${C+b} L${m-Ft},${C-Ft}
269
+ M${m-Ft},${C} L${m+g},${C}
270
+ M${m},${C-Ft} L${m},${C+b}`;t.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");const O=k.path(v,x),F=l.insert(()=>O,":first-child");return F.attr("transform",`translate(${Ft/2}, ${Ft/2})`),F.attr("class","basic label-container outer-path"),E&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",E),n&&t.look!=="handDrawn"&&F.selectAll("path").attr("style",n),h.attr("transform",`translate(${-(c.width/2)+Ft/2-(c.x-(c.left??0))}, ${-(c.height/2)+Ft/2-(c.y-(c.top??0))})`),Ae(t,F),t.intersect=function(R){return Ce.polygon(t,w,R)},l}T(gI,"windowPane");var AA=new Set(["redux-color","redux-dark-color"]),sY=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);async function uS(e,t){const r=t;r.alias&&(t.label=r.alias);const{theme:n,themeVariables:a}=Ot(),{rowEven:s,rowOdd:l,nodeBorder:c,borderColorArray:h}=a;if(t.look==="handDrawn"){const{themeVariables:ge}=Ot(),{background:Se}=ge,Te={...t,id:t.id+"-background",domId:(t.domId||t.id)+"-background",look:"default",cssStyles:["stroke: none",`fill: ${Se}`]};await uS(e,Te)}const d=Ot();t.useHtmlLabels=d.htmlLabels;let p=d.er?.diagramPadding??10,g=d.er?.entityPadding??6;const{cssStyles:b}=t,{labelStyles:m,nodeStyles:C}=we(t);if(r.attributes.length===0&&t.label){const ge={rx:0,ry:0,labelPaddingX:p,labelPaddingY:p*1.5};zi(t.label,d)+ge.labelPaddingX*2<d.er.minEntityWidth&&(t.width=d.er.minEntityWidth);const Se=await Js(e,t,ge);if(n!=null&&AA.has(n)){const Te=r.colorIndex??0;Se.attr("data-color-id",`color-${Te%h.length}`)}if(!qi(d.htmlLabels)){const Te=Se.select("text"),Le=Te.node()?.getBBox();Te.attr("transform",`translate(${-Le.width/2}, 0)`)}return Se}d.htmlLabels||(p*=1.25,g*=1.25);let E=Be(t);E||(E="node default");const k=e.insert("g").attr("class",E).attr("id",t.domId||t.id),x=await bs(k,t.label??"",d,0,0,["name"],m);x.height+=g;let w=0;const v=[],O=[];let F=0,R=0,$=0,z=0,K=!0,M=!0;for(const ge of r.attributes){const Se=await bs(k,ge.type,d,0,w,["attribute-type"],m);F=Math.max(F,Se.width+p);const Te=await bs(k,ge.name,d,0,w,["attribute-name"],m);R=Math.max(R,Te.width+p);const Le=await bs(k,ge.keys.join(),d,0,w,["attribute-keys"],m);$=Math.max($,Le.width+p);const qe=await bs(k,ge.comment,d,0,w,["attribute-comment"],m);z=Math.max(z,qe.width+p);const lt=Math.max(Se.height,Te.height,Le.height,qe.height)+g;O.push({yOffset:w,rowHeight:lt}),w+=lt}let q=4;$<=p&&(K=!1,$=0,q--),z<=p&&(M=!1,z=0,q--);const X=k.node().getBBox();if(x.width+p*2-(F+R+$+z)>0){const ge=x.width+p*2-(F+R+$+z);F+=ge/q,R+=ge/q,$>0&&($+=ge/q),z>0&&(z+=ge/q)}const J=F+R+$+z,W=ke.svg(k),H=_e(t,{});t.look!=="handDrawn"&&(H.roughness=0,H.fillStyle="solid");let I=0;O.length>0&&(I=O.reduce((ge,Se)=>ge+(Se?.rowHeight??0),0));const P=Math.max(X.width+p*2,t?.width||0,J),V=Math.max((I??0)+x.height,t?.height||0),se=-P/2,L=-V/2;if(k.selectAll("g:not(:first-child)").each((ge,Se,Te)=>{const Le=Ve(Te[Se]),qe=Le.attr("transform");let lt=0,ur=0;if(qe){const Jt=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(qe);Jt&&(lt=parseFloat(Jt[1]),ur=parseFloat(Jt[2]),Le.attr("class").includes("attribute-name")?lt+=F:Le.attr("class").includes("attribute-keys")?lt+=F+R:Le.attr("class").includes("attribute-comment")&&(lt+=F+R+$))}Le.attr("transform",`translate(${se+p/2+lt}, ${ur+L+x.height+g/2})`)}),k.select(".name").attr("transform","translate("+-x.width/2+", "+(L+g/2)+")"),n!=null&&AA.has(n)){const ge=r.colorIndex??0;k.attr("data-color-id",`color-${ge%h.length}`)}const U=W.rectangle(se,L,P,V,H),ee=k.insert(()=>U,":first-child").attr("class","outer-path").attr("style",b.join(""));v.push(0);for(const[ge,Se]of O.entries()){const Le=(ge+1)%2===0&&Se.yOffset!==0,qe=W.rectangle(se,x.height+L+Se?.yOffset,P,Se?.rowHeight,{...H,fill:Le?s:l,stroke:c});k.insert(()=>qe,"g.label").attr("style",b.join("")).attr("class",`row-rect-${Le?"even":"odd"}`)}const N=1e-4;let de=ys(se,x.height+L,P+se,x.height+L,N),me=W.polygon(de.map(ge=>[ge.x,ge.y]),H);if(k.insert(()=>me).attr("class","divider"),de=ys(F+se,x.height+L,F+se,V+L,N),me=W.polygon(de.map(ge=>[ge.x,ge.y]),H),k.insert(()=>me).attr("class","divider"),K){const ge=F+R+se;de=ys(ge,x.height+L,ge,V+L,N),me=W.polygon(de.map(Se=>[Se.x,Se.y]),H),k.insert(()=>me).attr("class","divider")}if(M){const ge=F+R+$+se;de=ys(ge,x.height+L,ge,V+L,N),me=W.polygon(de.map(Se=>[Se.x,Se.y]),H),k.insert(()=>me).attr("class","divider")}for(const ge of v){const Se=x.height+L+ge;de=ys(se,Se,P+se,Se,N),me=W.polygon(de.map(Te=>[Te.x,Te.y]),H),k.insert(()=>me).attr("class","divider")}if(Ae(t,ee),C&&t.look!=="handDrawn")if(n!=null&&sY.has(n))k.selectAll("path").attr("style",C);else{const Se=C.split(";")?.filter(Te=>Te.includes("stroke"))?.map(Te=>`${Te}`).join("; ");k.selectAll("path").attr("style",Se??""),k.selectAll(".row-rect-even path").attr("style",C)}return t.intersect=function(ge){return Ce.rect(t,ge)},k}T(uS,"erBox");async function bs(e,t,r,n=0,a=0,s=[],l=""){const c=e.insert("g").attr("class",`label ${s.join(" ")}`).attr("transform",`translate(${n}, ${a})`).attr("style",l);t!==y1(t)&&(t=y1(t),t=t.replaceAll("<","&lt;").replaceAll(">","&gt;"));const h=c.node().appendChild(await Gi(c,t,{width:zi(t,r)+100,style:l,useHtmlLabels:r.htmlLabels},r));if(t.includes("&lt;")||t.includes("&gt;")){let p=h.children[0];for(p.textContent=p.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">");p.childNodes[0];)p=p.childNodes[0],p.textContent=p.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">")}let d=h.getBBox();if(qi(r.htmlLabels)){const p=h.children[0];p.style.textAlign="start";const g=Ve(h);d=p.getBoundingClientRect(),g.attr("width",d.width),g.attr("height",d.height)}return d}T(bs,"addText");function ys(e,t,r,n,a){return e===r?[{x:e-a/2,y:t},{x:e+a/2,y:t},{x:r+a/2,y:n},{x:r-a/2,y:n}]:[{x:e,y:t-a/2},{x:e,y:t+a/2},{x:r,y:n+a/2},{x:r,y:n-a/2}]}T(ys,"lineToPolygon");async function mI(e,t,r,n,a=r.class.padding??12){const s=n?0:3,l=e.insert("g").attr("class",Be(t)).attr("id",t.domId||t.id);let c=null,h=null,d=null,p=null,g=0,b=0,m=0;if(c=l.insert("g").attr("class","annotation-group text"),t.annotations.length>0){const w=t.annotations[0];await vc(c,{text:`«${w}»`},0),g=c.node().getBBox().height}h=l.insert("g").attr("class","label-group text"),await vc(h,t,0,["font-weight: bolder"]);const C=h.node().getBBox();b=C.height,d=l.insert("g").attr("class","members-group text");let E=0;for(const w of t.members){const v=await vc(d,w,E,[w.parseClassifier()]);E+=v+s}m=d.node().getBBox().height,m<=0&&(m=a/2),p=l.insert("g").attr("class","methods-group text");let k=0;for(const w of t.methods){const v=await vc(p,w,k,[w.parseClassifier()]);k+=v+s}let x=l.node().getBBox();if(c!==null){const w=c.node().getBBox();c.attr("transform",`translate(${-w.width/2})`)}return h.attr("transform",`translate(${-C.width/2}, ${g})`),x=l.node().getBBox(),d.attr("transform",`translate(0, ${g+b+a*2})`),x=l.node().getBBox(),p.attr("transform",`translate(0, ${g+b+(m?m+a*4:a*2)})`),x=l.node().getBBox(),{shapeSvg:l,bbox:x}}T(mI,"textHelper");async function vc(e,t,r,n=[]){const a=e.insert("g").attr("class","label").attr("style",n.join("; ")),s=Ot();let l="useHtmlLabels"in t?t.useHtmlLabels:qi(s.htmlLabels)??!0,c="";"text"in t?c=t.text:c=t.label,!l&&c.startsWith("\\")&&(c=c.substring(1)),qc(c)&&(l=!0);const h=await Gi(a,Sy(bo(c)),{width:zi(c,s)+50,classes:"markdown-node-label",useHtmlLabels:l},s);let d,p=1;if(l){const g=h.children[0],b=Ve(h);p=g.innerHTML.split("<br>").length,g.innerHTML.includes("</math>")&&(p+=g.innerHTML.split("<mrow>").length-1);const m=g.getElementsByTagName("img");if(m){const C=c.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...m].map(E=>new Promise(k=>{function x(){if(E.style.display="flex",E.style.flexDirection="column",C){const w=s.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,O=parseInt(w,10)*5+"px";E.style.minWidth=O,E.style.maxWidth=O}else E.style.width="100%";k(E)}T(x,"setupImage"),setTimeout(()=>{E.complete&&x()}),E.addEventListener("error",x),E.addEventListener("load",x)})))}d=g.getBoundingClientRect(),b.attr("width",d.width),b.attr("height",d.height)}else{n.includes("font-weight: bolder")&&Ve(h).selectAll("tspan").attr("font-weight",""),p=h.children.length;const g=h.children[0];(h.textContent===""||h.textContent.includes("&gt"))&&(g.textContent=c[0]+c.substring(1).replaceAll("&gt;",">").replaceAll("&lt;","<").trim(),c[1]===" "&&(g.textContent=g.textContent[0]+" "+g.textContent.substring(1))),g.textContent==="undefined"&&(g.textContent=""),d=h.getBBox()}return a.attr("transform","translate(0,"+(-d.height/(2*p)+r)+")"),d.height}T(vc,"addText");async function bI(e,t){const r=ht(),{themeVariables:n}=r,{useGradient:a}=n,s=r.class.padding??12,l=s,c=t.useHtmlLabels??qi(r.htmlLabels)??!0,h=t;h.annotations=h.annotations??[],h.members=h.members??[],h.methods=h.methods??[];const{shapeSvg:d,bbox:p}=await mI(e,t,r,c,l),{labelStyles:g,nodeStyles:b}=we(t);t.labelStyle=g,t.cssStyles=h.styles||"";const m=h.styles?.join(";")||b||"";t.cssStyles||(t.cssStyles=m.replaceAll("!important","").split(";"));const C=h.members.length===0&&h.methods.length===0&&!r.class?.hideEmptyMembersBox,E=ke.svg(d),k=_e(t,{});t.look!=="handDrawn"&&(k.roughness=0,k.fillStyle="solid");const x=Math.max(t.width??0,p.width);let w=Math.max(t.height??0,p.height);const v=(t.height??0)>p.height;h.members.length===0&&h.methods.length===0?w+=l:h.members.length>0&&h.methods.length===0&&(w+=l*2);const O=-x/2,F=-w/2;let R=C?s*2:h.members.length===0&&h.methods.length===0?-s:0;v&&(R=s*2);const $=E.rectangle(O-s,F-s-(C?s:h.members.length===0&&h.methods.length===0?-s/2:0),x+2*s,w+2*s+R,k),z=d.insert(()=>$,":first-child");z.attr("class","basic label-container outer-path");const K=z.node().getBBox(),M=d.select(".annotation-group").node().getBBox().height-(C?s/2:0)||0,q=d.select(".label-group").node().getBBox().height-(C?s/2:0)||0,X=d.select(".members-group").node().getBBox().height-(C?s/2:0)||0,J=(M+q+F+s-(F-s-(C?s:h.members.length===0&&h.methods.length===0?-s/2:0)))/2;if(d.selectAll(".text").each((W,H,I)=>{const P=Ve(I[H]),V=P.attr("transform");let se=0;if(V){const N=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(V);N&&(se=parseFloat(N[2]))}let L=se+F+s-(C?s:h.members.length===0&&h.methods.length===0?-s/2:0);if(P.attr("class").includes("methods-group")){const ee=Math.max(X,l/2);v?L=Math.max(J,M+q+ee+F+l*2+s)+l*2:L=M+q+ee+F+l*4+s}h.members.length===0&&h.methods.length===0&&r.class?.hideEmptyMembersBox&&(h.annotations.length>0?L=se-l:L=se),c||(L-=4);let U=O;(P.attr("class").includes("label-group")||P.attr("class").includes("annotation-group"))&&(U=-P.node()?.getBBox().width/2||0,d.selectAll("text").each(function(ee,N,de){window.getComputedStyle(de[N]).textAnchor==="middle"&&(U=0)})),P.attr("transform",`translate(${U}, ${L})`)}),h.members.length>0||h.methods.length>0||C){const W=M+q+F+s,H=E.line(K.x,W,K.x+K.width,W+.001,k);d.insert(()=>H).attr("class",`divider${t.look==="neo"&&!a?" neo-line":""}`).attr("style",m)}if(C||h.members.length>0||h.methods.length>0){const W=M+q+X+F+l*2+s,H=E.line(K.x,v?Math.max(J,W):W,K.x+K.width,(v?Math.max(J,W):W)+.001,k);d.insert(()=>H).attr("class",`divider${t.look==="neo"&&!a?" neo-line":""}`).attr("style",m)}if(h.look!=="handDrawn"&&d.selectAll("path").attr("style",m),z.select(":nth-child(2)").attr("style",m),d.selectAll(".divider").select("path").attr("style",m),t.labelStyle?d.selectAll("span").attr("style",t.labelStyle):d.selectAll("span").attr("style",m),!c){const W=RegExp(/color\s*:\s*([^;]*)/),H=W.exec(m);if(H){const I=H[0].replace("color","fill");d.selectAll("tspan").attr("style",I)}else if(g){const I=W.exec(g);if(I){const P=I[0].replace("color","fill");d.selectAll("tspan").attr("style",P)}}}return Ae(t,z),t.intersect=function(W){return Ce.rect(t,W)},d}T(bI,"classBox");async function yI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const a=t,s=t,l=20,c=20,h="verifyMethod"in t,d=Be(t),{themeVariables:p}=ht(),{borderColorArray:g,requirementEdgeLabelBackground:b}=p,m=e.insert("g").attr("class",d).attr("id",t.domId??t.id);let C;h?C=await ti(m,`&lt;&lt;${a.type}&gt;&gt;`,0,t.labelStyle):C=await ti(m,"&lt;&lt;Element&gt;&gt;",0,t.labelStyle);let E=C;const k=await ti(m,a.name,E,t.labelStyle+"; font-weight: bold;");if(E+=k+c,h){const K=await ti(m,`${a.requirementId?`ID: ${a.requirementId}`:""}`,E,t.labelStyle);E+=K;const M=await ti(m,`${a.text?`Text: ${a.text}`:""}`,E,t.labelStyle);E+=M;const q=await ti(m,`${a.risk?`Risk: ${a.risk}`:""}`,E,t.labelStyle);E+=q,await ti(m,`${a.verifyMethod?`Verification: ${a.verifyMethod}`:""}`,E,t.labelStyle)}else{const K=await ti(m,`${s.type?`Type: ${s.type}`:""}`,E,t.labelStyle);E+=K,await ti(m,`${s.docRef?`Doc Ref: ${s.docRef}`:""}`,E,t.labelStyle)}const x=(m.node()?.getBBox().width??200)+l,w=(m.node()?.getBBox().height??200)+l,v=-x/2,O=-w/2,F=ke.svg(m),R=_e(t,{});t.look!=="handDrawn"&&(R.roughness=0,R.fillStyle="solid");const $=F.rectangle(v,O,x,w,R),z=m.insert(()=>$,":first-child");if(z.attr("class","basic label-container outer-path").attr("style",n),g?.length){const K=t.colorIndex??0;m.attr("data-color-id",`color-${K%g.length}`)}if(m.selectAll(".label").each((K,M,q)=>{const X=Ve(q[M]),J=X.attr("transform");let W=0,H=0;if(J){const se=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(J);se&&(W=parseFloat(se[1]),H=parseFloat(se[2]))}const I=H-w/2;let P=v+l/2;(M===0||M===1)&&(P=W),X.attr("transform",`translate(${P}, ${I+l})`)}),E>C+k+c){const K=O+C+k+c;let M;if(t.look==="neo"){const J=[[v,K],[v+x,K],[v+x,K+.001],[v,K+.001]];M=F.polygon(J,R)}else M=F.line(v,K,v+x,K,R);m.insert(()=>M).attr("class","divider")}return Ae(t,z),t.intersect=function(K){return Ce.rect(t,K)},n&&t.look!=="handDrawn"&&(b||g?.length)&&m.selectAll("path").attr("style",n),m}T(yI,"requirementBox");async function ti(e,t,r,n=""){if(t==="")return 0;const a=e.insert("g").attr("class","label").attr("style",n),s=ht(),l=s.htmlLabels??!0,c=await Gi(a,Sy(bo(t)),{width:zi(t,s)+50,classes:"markdown-node-label",useHtmlLabels:l,style:n},s);let h;if(l){const d=c.children[0],p=Ve(c);h=d.getBoundingClientRect(),p.attr("width",h.width),p.attr("height",h.height)}else{const d=c.children[0];for(const p of d.children)n&&p.setAttribute("style",n);h=c.getBBox(),h.height+=6}return a.attr("transform",`translate(${-h.width/2},${-h.height/2+r})`),h.height}T(ti,"addText");var lY=T(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 SI(e,t,{config:r}){const{labelStyles:n,nodeStyles:a}=we(t);t.labelStyle=n||"";const s=10,l=t.width;t.width=(t.width??200)-10;const{shapeSvg:c,bbox:h,label:d}=await Me(e,t,Be(t)),p=t.padding||10;let g="",b;"ticket"in t&&t.ticket&&r?.kanban?.ticketBaseUrl&&(g=r?.kanban?.ticketBaseUrl.replace("#TICKET#",t.ticket),b=c.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",g).attr("target","_blank"));const m={useHtmlLabels:t.useHtmlLabels,labelStyle:t.labelStyle||"",width:t.width,img:t.img,padding:t.padding||8,centerLabel:!1};let C,E;b?{label:C,bbox:E}=await Dm(b,"ticket"in t&&t.ticket||"",m):{label:C,bbox:E}=await Dm(c,"ticket"in t&&t.ticket||"",m);const{label:k,bbox:x}=await Dm(c,"assigned"in t&&t.assigned||"",m);t.width=l;const w=10,v=t?.width||0,O=Math.max(E.height,x.height)/2,F=Math.max(h.height+w*2,t?.height||0)+O,R=-v/2,$=-F/2;d.attr("transform","translate("+(p-v/2)+", "+(-O-h.height/2)+")"),C.attr("transform","translate("+(p-v/2)+", "+(-O+h.height/2)+")"),k.attr("transform","translate("+(p+v/2-x.width-2*s)+", "+(-O+h.height/2)+")");let z;const{rx:K,ry:M}=t,{cssStyles:q}=t;if(t.look==="handDrawn"){const X=ke.svg(c),J=_e(t,{}),W=K||M?X.path(Ba(R,$,v,F,K||0),J):X.rectangle(R,$,v,F,J);z=c.insert(()=>W,":first-child"),z.attr("class","basic label-container").attr("style",q||null)}else{z=c.insert("rect",":first-child"),z.attr("class","basic label-container __APA__").attr("style",a).attr("rx",K??5).attr("ry",M??5).attr("x",R).attr("y",$).attr("width",v).attr("height",F);const X="priority"in t&&t.priority;if(X){const J=c.append("line"),W=R+2,H=$+Math.floor((K??0)/2),I=$+F-Math.floor((K??0)/2);J.attr("x1",W).attr("y1",H).attr("x2",W).attr("y2",I).attr("stroke-width","4").attr("stroke",lY(X))}}return Ae(t,z),t.height=F,t.intersect=function(X){return Ce.rect(t,X)},c}T(SI,"kanbanItem");async function CI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,halfPadding:l,label:c}=await Me(e,t,Be(t)),h=s.width+10*l,d=s.height+8*l,p=.15*h,{cssStyles:g}=t,b=s.width+20,m=s.height+20,C=Math.max(h,b),E=Math.max(d,m);c.attr("transform",`translate(${-s.width/2}, ${-s.height/2})`);let k;const x=`M0 0
271
+ a${p},${p} 1 0,0 ${C*.25},${-1*E*.1}
272
+ a${p},${p} 1 0,0 ${C*.25},0
273
+ a${p},${p} 1 0,0 ${C*.25},0
274
+ a${p},${p} 1 0,0 ${C*.25},${E*.1}
275
+
276
+ a${p},${p} 1 0,0 ${C*.15},${E*.33}
277
+ a${p*.8},${p*.8} 1 0,0 0,${E*.34}
278
+ a${p},${p} 1 0,0 ${-1*C*.15},${E*.33}
279
+
280
+ a${p},${p} 1 0,0 ${-1*C*.25},${E*.15}
281
+ a${p},${p} 1 0,0 ${-1*C*.25},0
282
+ a${p},${p} 1 0,0 ${-1*C*.25},0
283
+ a${p},${p} 1 0,0 ${-1*C*.25},${-1*E*.15}
284
+
285
+ a${p},${p} 1 0,0 ${-1*C*.1},${-1*E*.33}
286
+ a${p*.8},${p*.8} 1 0,0 0,${-1*E*.34}
287
+ a${p},${p} 1 0,0 ${C*.1},${-1*E*.33}
288
+ H0 V0 Z`;if(t.look==="handDrawn"){const w=ke.svg(a),v=_e(t,{}),O=w.path(x,v);k=a.insert(()=>O,":first-child"),k.attr("class","basic label-container").attr("style",cr(g))}else k=a.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",x);return k.attr("transform",`translate(${-C/2}, ${-E/2})`),Ae(t,k),t.calcIntersect=function(w,v){return Ce.rect(w,v)},t.intersect=function(w){return pe.info("Bang intersect",t,w),Ce.rect(t,w)},a}T(CI,"bang");async function EI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,halfPadding:l,label:c}=await Me(e,t,Be(t)),h=s.width+2*l,d=s.height+2*l,p=.15*h,g=.25*h,b=.35*h,m=.2*h,{cssStyles:C}=t;let E;const k=`M0 0
289
+ a${p},${p} 0 0,1 ${h*.25},${-1*h*.1}
290
+ a${b},${b} 1 0,1 ${h*.4},${-1*h*.1}
291
+ a${g},${g} 1 0,1 ${h*.35},${h*.2}
292
+
293
+ a${p},${p} 1 0,1 ${h*.15},${d*.35}
294
+ a${m},${m} 1 0,1 ${-1*h*.15},${d*.65}
295
+
296
+ a${g},${p} 1 0,1 ${-1*h*.25},${h*.15}
297
+ a${b},${b} 1 0,1 ${-1*h*.5},0
298
+ a${p},${p} 1 0,1 ${-1*h*.25},${-1*h*.15}
299
+
300
+ a${p},${p} 1 0,1 ${-1*h*.1},${-1*d*.35}
301
+ a${m},${m} 1 0,1 ${h*.1},${-1*d*.65}
302
+ H0 V0 Z`;if(t.look==="handDrawn"){const x=ke.svg(a),w=_e(t,{}),v=x.path(k,w);E=a.insert(()=>v,":first-child"),E.attr("class","basic label-container").attr("style",cr(C))}else E=a.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",k);return c.attr("transform",`translate(${-s.width/2}, ${-s.height/2})`),E.attr("transform",`translate(${-h/2}, ${-d/2})`),Ae(t,E),t.calcIntersect=function(x,w){return Ce.rect(x,w)},t.intersect=function(x){return pe.info("Cloud intersect",t,x),Ce.rect(t,x)},a}T(EI,"cloud");async function xI(e,t){const{labelStyles:r,nodeStyles:n}=we(t);t.labelStyle=r;const{shapeSvg:a,bbox:s,halfPadding:l,label:c}=await Me(e,t,Be(t)),h=s.width+8*l,d=s.height+2*l,p=5,g=t.look==="neo"?`
303
+ M${-h/2} ${d/2-p}
304
+ v${-d+2*p}
305
+ q0,-${p} ${p},-${p}
306
+ h${h-2*p}
307
+ q${p},0 ${p},${p}
308
+ v${d-p}
309
+ H${-h/2}
310
+ Z
311
+ `:`
312
+ M${-h/2} ${d/2-p}
313
+ v${-d+2*p}
314
+ q0,-${p} ${p},-${p}
315
+ h${h-2*p}
316
+ q${p},0 ${p},${p}
317
+ v${d-2*p}
318
+ q0,${p} ${-p},${p}
319
+ h${-(h-2*p)}
320
+ q${-p},0 ${-p},${-p}
321
+ Z
322
+ `;if(!t.domId)throw new Error(`defaultMindmapNode: node "${t.id}" is missing a domId — was render.ts domId prefixing skipped?`);const b=a.append("path").attr("id",t.domId).attr("class","node-bkg node-"+t.type).attr("style",n).attr("d",g);return a.append("line").attr("class","node-line-").attr("x1",-h/2).attr("y1",d/2).attr("x2",h/2).attr("y2",d/2),c.attr("transform",`translate(${-s.width/2}, ${-s.height/2})`),a.append(()=>c.node()),Ae(t,b),t.calcIntersect=function(m,C){return Ce.rect(m,C)},t.intersect=function(m){return Ce.rect(t,m)},a}T(xI,"defaultMindmapNode");async function kI(e,t){const r={padding:t.padding??0};return cS(e,t,r)}T(kI,"mindmapCircle");var cY=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:eI},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:KO},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:tI},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:aI},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:kO},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:TO},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:cS},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:CI},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:EI},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:VO},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:LO},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:PO},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:zO},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:uI},{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:UO},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:wO},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:lI},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:gO},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:QO},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:iI},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:nI},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:RO},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:NO},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:SO},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:CO},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:EO},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:HO},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:pI},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:DO},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:cI},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:qO},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:xO},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:_O},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:dI},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:gI},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:vO},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:hI},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:AO},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:JO},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:WO},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:jO},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:fO},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:yO},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:sI},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:oI},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:fI},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:XO},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:GO}],uY=T(()=>{const t=[...Object.entries({state:rI,choice:mO,note:YO,rectWithTitle:ZO,labelRect:$O,iconSquare:FO,iconCircle:IO,icon:OO,iconRounded:BO,imageSquare:MO,anchor:dO,kanbanItem:SI,mindmapCircle:kI,defaultMindmapNode:xI,classBox:bI,erBox:uS,requirementBox:yI}),...cY.flatMap(r=>[r.shortName,..."aliases"in r?r.aliases:[],..."internalAliases"in r?r.internalAliases:[]].map(a=>[a,r.handler]))];return Object.fromEntries(t)},"generateShapeMap"),TI=uY();function hY(e){return e in TI}T(hY,"isValidShape");var Cp=new Map;async function _I(e,t,r){let n,a;t.shape==="rect"&&(t.rx&&t.ry?t.shape="roundedRect":t.shape="squareRect");const s=t.shape?TI[t.shape]:void 0;if(!s)throw new Error(`No such shape: ${t.shape}. Please check your syntax.`);if(t.link){let l;r.config.securityLevel==="sandbox"?l="_top":t.linkTarget&&(l=t.linkTarget||"_blank"),n=e.insert("svg:a").attr("xlink:href",t.link).attr("target",l??null),a=await s(n,t,r)}else a=await s(e,t,r),n=a;return n.attr("data-look",cr(t.look)),t.tooltip&&a.attr("title",t.tooltip),Cp.set(t.id,n),t.haveCallback&&n.attr("class",n.attr("class")+" clickable"),n}T(_I,"insertNode");var YQ=T((e,t)=>{Cp.set(t.id,e)},"setNodeElem"),VQ=T(()=>{Cp.clear()},"clear"),XQ=T(e=>{const t=Cp.get(e.id);pe.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"),dY=T((e,t,r,n,a,s=!1,l)=>{t.arrowTypeStart&&RA(e,"start",t.arrowTypeStart,r,n,a,s,l),t.arrowTypeEnd&&RA(e,"end",t.arrowTypeEnd,r,n,a,s,l)},"addEdgeMarkers"),pY={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{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}},fY=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],RA=T((e,t,r,n,a,s,l=!1,c)=>{const h=pY[r],d=h&&fY.includes(h.type);if(!h){pe.warn(`Unknown arrow type: ${r}`);return}const p=h.type,m=`${a}_${s}-${p}${t==="start"?"Start":"End"}${l&&d?"-margin":""}`;if(c&&c.trim()!==""){const C=c.replace(/[^\dA-Za-z]/g,"_"),E=`${m}_${C}`;if(!document.getElementById(E)){const k=document.getElementById(m);if(k){const x=k.cloneNode(!0);x.id=E,x.querySelectorAll("path, circle, line").forEach(v=>{v.setAttribute("stroke",c),h.fill&&v.setAttribute("fill",c)}),k.parentNode?.appendChild(x)}}e.attr(`marker-${t}`,`url(${n}#${E})`)}else e.attr(`marker-${t}`,`url(${n}#${m})`)},"addEdgeMarker"),gY=T(e=>typeof e=="string"?e:ht()?.flowchart?.curve,"resolveEdgeCurveType"),Xd=new Map,Sr=new Map,ZQ=T(()=>{Xd.clear(),Sr.clear()},"clear"),Sc=T(e=>e?typeof e=="string"?e:e.reduce((t,r)=>t+";"+r,""):"","getLabelStyles"),mY=T(async(e,t)=>{const r=ht();let n=zr(r);const{labelStyles:a}=we(t);t.labelStyle=a;const s=e.insert("g").attr("class","edgeLabel"),l=s.insert("g").attr("class","label").attr("data-id",t.id),c=t.labelType==="markdown",d=await Gi(e,t.label,{style:Sc(t.labelStyle),useHtmlLabels:n,addSvgBackground:!0,isNode:!1,markdown:c,width:c?void 0:void 0},r);l.node().appendChild(d),pe.info("abc82",t,t.labelType);let p=d.getBBox(),g=p;if(n){const m=d.children[0],C=Ve(d);p=m.getBoundingClientRect(),g=p,C.attr("width",p.width),C.attr("height",p.height)}else{const m=Ve(d).select("text").node();m&&typeof m.getBBox=="function"&&(g=m.getBBox())}l.attr("transform",fc(g,n)),Xd.set(t.id,s),t.width=p.width,t.height=p.height;let b;if(t.startLabelLeft){const m=e.insert("g").attr("class","edgeTerminals"),C=m.insert("g").attr("class","inner"),E=await _a(C,t.startLabelLeft,Sc(t.labelStyle)||"",!1,!1);b=E;let k=E.getBBox();if(n){const x=E.children[0],w=Ve(E);k=x.getBoundingClientRect(),w.attr("width",k.width),w.attr("height",k.height)}C.attr("transform",fc(k,n)),Sr.get(t.id)||Sr.set(t.id,{}),Sr.get(t.id).startLeft=m,Ac(b,t.startLabelLeft)}if(t.startLabelRight){const m=e.insert("g").attr("class","edgeTerminals"),C=m.insert("g").attr("class","inner"),E=await _a(C,t.startLabelRight,Sc(t.labelStyle)||"",!1,!1);b=E;let k=E.getBBox();if(n){const x=E.children[0],w=Ve(E);k=x.getBoundingClientRect(),w.attr("width",k.width),w.attr("height",k.height)}C.attr("transform",fc(k,n)),Sr.get(t.id)||Sr.set(t.id,{}),Sr.get(t.id).startRight=m,Ac(b,t.startLabelRight)}if(t.endLabelLeft){const m=e.insert("g").attr("class","edgeTerminals"),C=m.insert("g").attr("class","inner"),E=await _a(m,t.endLabelLeft,Sc(t.labelStyle)||"",!1,!1);b=E;let k=E.getBBox();if(n){const x=E.children[0],w=Ve(E);k=x.getBoundingClientRect(),w.attr("width",k.width),w.attr("height",k.height)}C.attr("transform",fc(k,n)),Sr.get(t.id)||Sr.set(t.id,{}),Sr.get(t.id).endLeft=m,Ac(b,t.endLabelLeft)}if(t.endLabelRight){const m=e.insert("g").attr("class","edgeTerminals"),C=m.insert("g").attr("class","inner"),E=await _a(m,t.endLabelRight,Sc(t.labelStyle)||"",!1,!1);b=E;let k=E.getBBox();if(n){const x=E.children[0],w=Ve(E);k=x.getBoundingClientRect(),w.attr("width",k.width),w.attr("height",k.height)}C.attr("transform",fc(k,n)),Sr.get(t.id)||Sr.set(t.id,{}),Sr.get(t.id).endRight=m,Ac(b,t.endLabelRight)}return d},"insertEdgeLabel");function Ac(e,t){zr(ht())&&e&&(e.style.width=t.length*9+"px",e.style.height="12px")}T(Ac,"setTerminalWidth");var bY=T((e,t)=>{pe.debug("Moving label abc88 ",e.id,e.label,Xd.get(e.id),t);let r=t.updatedPath?t.updatedPath:t.originalPath;const n=ht(),{subGraphTitleTotalMargin:a}=Zy(n);if(e.label){const s=Xd.get(e.id);let l=e.x,c=e.y;if(r){const h=Hn.calcLabelPosition(r);pe.debug("Moving label "+e.label+" from (",l,",",c,") to (",h.x,",",h.y,") abc88"),t.updatedPath&&(l=h.x,c=h.y)}s.attr("transform",`translate(${l}, ${c+a/2})`)}if(e.startLabelLeft){const s=Sr.get(e.id).startLeft;let l=e.x,c=e.y;if(r){const h=Hn.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",r);l=h.x,c=h.y}s.attr("transform",`translate(${l}, ${c})`)}if(e.startLabelRight){const s=Sr.get(e.id).startRight;let l=e.x,c=e.y;if(r){const h=Hn.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",r);l=h.x,c=h.y}s.attr("transform",`translate(${l}, ${c})`)}if(e.endLabelLeft){const s=Sr.get(e.id).endLeft;let l=e.x,c=e.y;if(r){const h=Hn.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",r);l=h.x,c=h.y}s.attr("transform",`translate(${l}, ${c})`)}if(e.endLabelRight){const s=Sr.get(e.id).endRight;let l=e.x,c=e.y;if(r){const h=Hn.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",r);l=h.x,c=h.y}s.attr("transform",`translate(${l}, ${c})`)}},"positionEdgeLabel"),yY=T((e,t)=>{const r=e.x,n=e.y,a=Math.abs(t.x-r),s=Math.abs(t.y-n),l=e.width/2,c=e.height/2;return a>=l||s>=c},"outsideNode"),SY=T((e,t,r)=>{pe.debug(`intersection calc abc89:
323
+ outsidePoint: ${JSON.stringify(t)}
324
+ insidePoint : ${JSON.stringify(r)}
325
+ node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);const n=e.x,a=e.y,s=Math.abs(n-r.x),l=e.width/2;let c=r.x<t.x?l-s:l+s;const h=e.height/2,d=Math.abs(t.y-r.y),p=Math.abs(t.x-r.x);if(Math.abs(a-t.y)*l>Math.abs(n-t.x)*h){let g=r.y<t.y?t.y-h-a:a-h-t.y;c=p*g/d;const b={x:r.x<t.x?r.x+c:r.x-p+c,y:r.y<t.y?r.y+d-g:r.y-d+g};return c===0&&(b.x=t.x,b.y=t.y),p===0&&(b.x=t.x),d===0&&(b.y=t.y),pe.debug(`abc89 top/bottom calc, Q ${d}, q ${g}, R ${p}, r ${c}`,b),b}else{r.x<t.x?c=t.x-l-n:c=n-l-t.x;let g=d*c/p,b=r.x<t.x?r.x+p-c:r.x-p+c,m=r.y<t.y?r.y+g:r.y-g;return pe.debug(`sides calc abc89, Q ${d}, q ${g}, R ${p}, r ${c}`,{_x:b,_y:m}),c===0&&(b=t.x,m=t.y),p===0&&(b=t.x),d===0&&(m=t.y),{x:b,y:m}}},"intersection"),DA=T((e,t)=>{pe.warn("abc88 cutPathAtIntersect",e,t);let r=[],n=e[0],a=!1;return e.forEach(s=>{if(pe.info("abc88 checking point",s,t),!yY(t,s)&&!a){const l=SY(t,n,s);pe.debug("abc88 inside",s,n,l),pe.debug("abc88 intersection",l,t);let c=!1;r.forEach(h=>{c=c||h.x===l.x&&h.y===l.y}),r.some(h=>h.x===l.x&&h.y===l.y)?pe.warn("abc88 no intersect",l,r):r.push(l),a=!0}else pe.warn("abc88 outside",s,n),n=s,a||r.push(s)}),pe.debug("returning points",r),r},"cutPathAtIntersect");function wI(e){const t=[],r=[];for(let n=1;n<e.length-1;n++){const a=e[n-1],s=e[n],l=e[n+1];(a.x===s.x&&s.y===l.y&&Math.abs(s.x-l.x)>5&&Math.abs(s.y-a.y)>5||a.y===s.y&&s.x===l.x&&Math.abs(s.x-a.x)>5&&Math.abs(s.y-l.y)>5)&&(t.push(s),r.push(n))}return{cornerPoints:t,cornerPointPositions:r}}T(wI,"extractCornerPoints");var LA=T(function(e,t,r){const n=t.x-e.x,a=t.y-e.y,s=Math.sqrt(n*n+a*a),l=r/s;return{x:t.x-l*n,y:t.y-l*a}},"findAdjacentPoint"),CY=T(function(e){const{cornerPointPositions:t}=wI(e),r=[];for(let n=0;n<e.length;n++)if(t.includes(n)){const a=e[n-1],s=e[n+1],l=e[n],c=LA(a,l,5),h=LA(s,l,5),d=h.x-c.x,p=h.y-c.y;r.push(c);const g=Math.sqrt(2)*2;let b={x:l.x,y:l.y};if(Math.abs(s.x-a.x)>10&&Math.abs(s.y-a.y)>=10){pe.debug("Corner point fixing",Math.abs(s.x-a.x),Math.abs(s.y-a.y));const m=5;l.x===c.x?b={x:d<0?c.x-m+g:c.x+m-g,y:p<0?c.y-g:c.y+g}:b={x:d<0?c.x-g:c.x+g,y:p<0?c.y-m+g:c.y+m-g}}else pe.debug("Corner point skipping fixing",Math.abs(s.x-a.x),Math.abs(s.y-a.y));r.push(b,h)}else r.push(e[n]);return r},"fixCorners"),EY=T((e,t,r)=>{const n=e-t-r,a=2,s=2,l=a+s,c=Math.floor(n/l),h=Array(c).fill(`${a} ${s}`).join(" ");return`0 ${t} ${h} ${r}`},"generateDashArray"),xY=T(function(e,t,r,n,a,s,l,c=!1){if(!l)throw new Error(`insertEdge: missing diagramId for edge "${t.id}" — edge IDs require a diagram prefix for uniqueness`);const{handDrawnSeed:h}=ht();let d=t.points,p=!1;const g=a;var b=s;const m=[];for(const P in t.cssCompiledStyles)TN(P)||m.push(t.cssCompiledStyles[P]);pe.debug("UIO intersect check",t.points,b.x,g.x),b.intersect&&g.intersect&&!c&&(d=d.slice(1,t.points.length-1),d.unshift(g.intersect(d[0])),pe.debug("Last point UIO",t.start,"-->",t.end,d[d.length-1],b,b.intersect(d[d.length-1])),d.push(b.intersect(d[d.length-1])));const C=btoa(JSON.stringify(d));t.toCluster&&(pe.info("to cluster abc88",r.get(t.toCluster)),d=DA(t.points,r.get(t.toCluster).node),p=!0),t.fromCluster&&(pe.debug("from cluster abc88",r.get(t.fromCluster),JSON.stringify(d,null,2)),d=DA(d.reverse(),r.get(t.fromCluster).node).reverse(),p=!0);let E=d.filter(P=>!Number.isNaN(P.y));const k=gY(t.curve);k!=="rounded"&&(E=CY(E));let x=Bc;switch(k){case"linear":x=Bc;break;case"basis":x=cb;break;case"cardinal":x=hD;break;case"bumpX":x=oD;break;case"bumpY":x=sD;break;case"catmullRom":x=pD;break;case"monotoneX":x=SD;break;case"monotoneY":x=CD;break;case"natural":x=xD;break;case"step":x=kD;break;case"stepAfter":x=_D;break;case"stepBefore":x=TD;break;case"rounded":x=Bc;break;default:x=cb}const{x:w,y:v}=m7(t),O=JG().x(w).y(v).curve(x);let F;switch(t.thickness){case"normal":F="edge-thickness-normal";break;case"thick":F="edge-thickness-thick";break;case"invisible":F="edge-thickness-invisible";break;default:F="edge-thickness-normal"}switch(t.pattern){case"solid":F+=" edge-pattern-solid";break;case"dotted":F+=" edge-pattern-dotted";break;case"dashed":F+=" edge-pattern-dashed";break;default:F+=" edge-pattern-solid"}let R,$=k==="rounded"?vI(AI(E,t),5):O(E);const z=Array.isArray(t.style)?t.style:[t.style];let K=z.find(P=>P?.startsWith("stroke:")),M="";t.animate&&(M="edge-animation-fast"),t.animation&&(M="edge-animation-"+t.animation);let q=!1;if(t.look==="handDrawn"){const P=ke.svg(e);Object.assign([],E);const V=P.path($,{roughness:.3,seed:h});F+=" transition",R=Ve(V).select("path").attr("id",`${l}-${t.id}`).attr("class"," "+F+(t.classes?" "+t.classes:"")+(M?" "+M:"")).attr("style",z?z.reduce((L,U)=>L+";"+U,""):"");let se=R.attr("d");R.attr("d",se),e.node().appendChild(R.node())}else{const P=m.join(";"),V=z?z.reduce((de,me)=>de+me+";",""):"",se=(P?P+";"+V+";":V)+";"+(z?z.reduce((de,me)=>de+";"+me,""):"");R=e.append("path").attr("d",$).attr("id",`${l}-${t.id}`).attr("class"," "+F+(t.classes?" "+t.classes:"")+(M?" "+M:"")).attr("style",se),K=se.match(/stroke:([^;]+)/)?.[1],q=t.animate===!0||!!t.animation||P.includes("animation");const L=R.node(),U=typeof L.getTotalLength=="function"?L.getTotalLength():0,ee=j1[t.arrowTypeStart]||0,N=j1[t.arrowTypeEnd]||0;if(t.look==="neo"&&!q){const me=`stroke-dasharray: ${t.pattern==="dotted"||t.pattern==="dashed"?EY(U,ee,N):`0 ${ee} ${U-ee-N} ${N}`}; stroke-dashoffset: 0;`;R.attr("style",me+R.attr("style"))}}R.attr("data-edge",!0),R.attr("data-et","edge"),R.attr("data-id",t.id),R.attr("data-points",C),R.attr("data-look",cr(t.look)),t.showPoints&&E.forEach(P=>{e.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",P.x).attr("cy",P.y)});let X="";(ht().flowchart.arrowMarkerAbsolute||ht().state.arrowMarkerAbsolute)&&(X=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,X=X.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),pe.info("arrowTypeStart",t.arrowTypeStart),pe.info("arrowTypeEnd",t.arrowTypeEnd);const J=!q&&t?.look==="neo";dY(R,t,X,l,n,J,K);const W=Math.floor(d.length/2),H=d[W];Hn.isLabelCoordinateInPath(H,R.attr("d"))||(p=!0);let I={};return p&&(I.updatedPath=d),I.originalPath=t.points,I},"insertEdge");function vI(e,t){if(e.length<2)return"";let r="";const n=e.length,a=1e-5;for(let s=0;s<n;s++){const l=e[s],c=e[s-1],h=e[s+1];if(s===0)r+=`M${l.x},${l.y}`;else if(s===n-1)r+=`L${l.x},${l.y}`;else{const d=l.x-c.x,p=l.y-c.y,g=h.x-l.x,b=h.y-l.y,m=Math.hypot(d,p),C=Math.hypot(g,b);if(m<a||C<a){r+=`L${l.x},${l.y}`;continue}const E=d/m,k=p/m,x=g/C,w=b/C,v=E*x+k*w,O=Math.max(-1,Math.min(1,v)),F=Math.acos(O);if(F<a||Math.abs(Math.PI-F)<a){r+=`L${l.x},${l.y}`;continue}const R=Math.min(t/Math.sin(F/2),m/2,C/2),$=l.x-E*R,z=l.y-k*R,K=l.x+x*R,M=l.y+w*R;r+=`L${$},${z}`,r+=`Q${l.x},${l.y} ${K},${M}`}}return r}T(vI,"generateRoundedPath");function $b(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};const r=t.x-e.x,n=t.y-e.y;return{angle:Math.atan2(n,r),deltaX:r,deltaY:n}}T($b,"calculateDeltaAndAngle");function AI(e,t){const r=e.map(a=>({...a}));if(e.length>=2&&kr[t.arrowTypeStart]){const a=kr[t.arrowTypeStart],s=e[0],l=e[1],{angle:c}=$b(s,l),h=a*Math.cos(c),d=a*Math.sin(c);r[0].x=s.x+h,r[0].y=s.y+d}const n=e.length;if(n>=2&&kr[t.arrowTypeEnd]){const a=kr[t.arrowTypeEnd],s=e[n-1],l=e[n-2],{angle:c}=$b(l,s),h=a*Math.cos(c),d=a*Math.sin(c);r[n-1].x=s.x-h,r[n-1].y=s.y-d}return r}T(AI,"applyMarkerOffsetsToPoints");var kY=T((e,t,r,n)=>{t.forEach(a=>{WY[a](e,r,n)})},"insertMarkers"),TY=T((e,t,r)=>{pe.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",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").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"),e.append("marker").attr("id",r+"_"+t+"-extensionStart-margin").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),e.append("defs").append("marker").attr("id",r+"_"+t+"-extensionEnd-margin").attr("class","marker extension "+t).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),_Y=T((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"),e.append("defs").append("marker").attr("id",r+"_"+t+"-compositionStart-margin").attr("class","marker composition "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-compositionEnd-margin").attr("class","marker composition "+t).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),wY=T((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"),e.append("defs").append("marker").attr("id",r+"_"+t+"-aggregationStart-margin").attr("class","marker aggregation "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-aggregationEnd-margin").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),vY=T((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"),e.append("defs").append("marker").attr("id",r+"_"+t+"-dependencyStart-margin").attr("class","marker dependency "+t).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-dependencyEnd-margin").attr("class","marker dependency "+t).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),AY=T((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("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("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",r+"_"+t+"-lollipopStart-margin").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),e.append("defs").append("marker").attr("id",r+"_"+t+"-lollipopEnd-margin").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),RY=T((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"),e.append("marker").attr("id",r+"_"+t+"-pointEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),e.append("marker").attr("id",r+"_"+t+"-pointStart-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),DY=T((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"),e.append("marker").attr("id",r+"_"+t+"-circleEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),e.append("marker").attr("id",r+"_"+t+"-circleStart-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),LY=T((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"),e.append("marker").attr("id",r+"_"+t+"-crossEnd-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),e.append("marker").attr("id",r+"_"+t+"-crossStart-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),NY=T((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"),OY=T((e,t,r)=>{const n=Ot(),{themeVariables:a}=n,{transitionColor:s}=a;e.append("defs").append("marker").attr("id",r+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),e.append("defs").append("marker").attr("id",r+"_"+t+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${s}`)},"barbNeo"),IY=T((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"),BY=T((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"),FY=T((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"),MY=T((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"),UY=T((e,t,r)=>{const n=Ot(),{themeVariables:a}=n,{strokeWidth:s}=a;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").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${s}`),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").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${s}`)},"only_one_neo"),$Y=T((e,t,r)=>{const n=Ot(),{themeVariables:a}=n,{strokeWidth:s,mainBkg:l}=a,c=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").attr("markerUnits","userSpaceOnUse");c.append("circle").attr("fill",l??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${s}`).attr("r",6),c.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${s}`);const h=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("markerUnits","userSpaceOnUse").attr("orient","auto");h.append("circle").attr("fill",l??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${s}`).attr("r",6),h.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${s}`)},"zero_or_one_neo"),zY=T((e,t,r)=>{const n=Ot(),{themeVariables:a}=n,{strokeWidth:s}=a;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").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${s}`),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("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${s}`)},"one_or_more_neo"),PY=T((e,t,r)=>{const n=Ot(),{themeVariables:a}=n,{strokeWidth:s,mainBkg:l}=a,c=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("markerUnits","userSpaceOnUse").attr("orient","auto");c.append("circle").attr("fill",l??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${s}`),c.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${s}`);const h=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").attr("markerUnits","userSpaceOnUse");h.append("circle").attr("fill",l??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${s}`),h.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${s}`)},"zero_or_more_neo"),HY=T((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
326
+ L20,10
327
+ M20,10
328
+ L0,20`)},"requirement_arrow"),qY=T((e,t,r)=>{const n=Ot(),{themeVariables:a}=n,{strokeWidth:s}=a;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").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${s}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
329
+ L20,10
330
+ M20,10
331
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),GY=T((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"),jY=T((e,t,r)=>{const n=Ot(),{themeVariables:a}=n,{strokeWidth:s}=a,l=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").attr("markerUnits","userSpaceOnUse").append("g");l.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),l.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),l.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),l.selectAll("*").attr("stroke-width",`${s}`)},"requirement_contains_neo"),WY={extension:TY,composition:_Y,aggregation:wY,dependency:vY,lollipop:AY,point:RY,circle:DY,cross:LY,barb:NY,barbNeo:OY,only_one:IY,zero_or_one:BY,one_or_more:FY,zero_or_more:MY,only_one_neo:UY,zero_or_one_neo:$Y,one_or_more_neo:zY,zero_or_more_neo:PY,requirement_arrow:HY,requirement_contains:GY,requirement_arrow_neo:qY,requirement_contains_neo:jY},YY=kY,VY={common:ou,getConfig:Ot,insertCluster:jW,insertEdge:xY,insertEdgeLabel:mY,insertMarkers:YY,insertNode:_I,interpolateToCurve:Gy,labelHelper:Me,log:pe,positionEdgeLabel:bY},Jc={},RI=T(e=>{for(const t of e)Jc[t.name]=t},"registerLayoutLoaders"),XY=T(()=>{RI([{name:"dagre",loader:T(async()=>await it(()=>import("./dagre-BM42HDAG-p_TitJwo.js"),__vite__mapDeps([0,1,2]),import.meta.url),"loader")},{name:"cose-bilkent",loader:T(async()=>await it(()=>import("./cose-bilkent-S5V4N54A-9QkakK6h.js"),__vite__mapDeps([3,4]),import.meta.url),"loader")}])},"registerDefaultLayoutLoaders");XY();var KQ=T(async(e,t)=>{if(!(e.layoutAlgorithm in Jc))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const p of e.nodes){const g=p.domId||p.id;p.domId=`${e.diagramId}-${g}`}const r=Jc[e.layoutAlgorithm],n=await r.loader(),{theme:a,themeVariables:s}=e.config,{useGradient:l,gradientStart:c,gradientStop:h}=s,d=t.attr("id");if(t.append("defs").append("filter").attr("id",`${d}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${a?.includes("dark")?"#FFFFFF":"#000000"}`),t.append("defs").append("filter").attr("id",`${d}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${a?.includes("dark")?"#FFFFFF":"#000000"}`),l){const p=t.append("linearGradient").attr("id",t.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");p.append("svg:stop").attr("offset","0%").attr("stop-color",c).attr("stop-opacity",1),p.append("svg:stop").attr("offset","100%").attr("stop-color",h).attr("stop-opacity",1)}return n.render(e,t,VY,{algorithm:r.algorithm})},"render"),QQ=T((e="",{fallback:t="dagre"}={})=>{if(e in Jc)return e;if(t in Jc)return pe.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"),hS="comm",DI="rule",LI="decl",ZY="@media",KY="@import",QY="@supports",JY="@namespace",zb="@keyframes",NI="@layer",eV="@scope",tV=Math.abs,Mc=String.fromCharCode;function OI(e){return e.trim()}function Pb(e,t,r){return e.replace(t,r)}function _s(e,t){return e.charCodeAt(t)|0}function Ys(e,t,r){return e.slice(t,r)}function ni(e){return e.length}function II(e){return e.length}function Kh(e,t){return t.push(e),e}var Ep=1,Vs=1,BI=0,Dn=0,Kt=0,el="";function dS(e,t,r,n,a,s,l,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:Ep,column:Vs,length:l,return:"",siblings:c}}function rV(){return Kt}function nV(){return Kt=Dn>0?_s(el,--Dn):0,Vs--,Kt===10&&(Vs=1,Ep--),Kt}function jn(){return Kt=Dn<BI?_s(el,Dn++):0,Vs++,Kt===10&&(Vs=1,Ep++),Kt}function wa(){return _s(el,Dn)}function dd(){return Dn}function xp(e,t){return Ys(el,e,t)}function eu(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 iV(e){return Ep=Vs=1,BI=ni(el=e),Dn=0,[]}function aV(e){return el="",e}function Nm(e){return OI(xp(Dn-1,Hb(e===91?e+2:e===40?e+1:e)))}function oV(e){for(;(Kt=wa())&&Kt<33;)jn();return eu(e)>2||eu(Kt)>3?"":" "}function sV(e,t){for(;--t&&jn()&&!(Kt<48||Kt>102||Kt>57&&Kt<65||Kt>70&&Kt<97););return xp(e,dd()+(t<6&&wa()==32&&jn()==32))}function Hb(e){for(;jn();)switch(Kt){case e:return Dn;case 34:case 39:e!==34&&e!==39&&Hb(Kt);break;case 40:e===41&&Hb(e);break;case 92:jn();break}return Dn}function lV(e,t){for(;jn()&&e+Kt!==57;)if(e+Kt===84&&wa()===47)break;return"/*"+xp(t,Dn-1)+"*"+Mc(e===47?e:jn())}function cV(e){for(;!eu(wa());)jn();return xp(e,Dn)}function uV(e){return aV(pd("",null,null,null,[""],e=iV(e),0,[0],e))}function pd(e,t,r,n,a,s,l,c,h){for(var d=0,p=0,g=l,b=0,m=0,C=0,E=1,k=1,x=1,w=0,v=0,O="",F=a,R=s,$=n,z=O;k;)switch(C=v,v=jn()){case 40:C!=108&&_s(z,g-1)==58?(w++,z+="("):z+=Nm(v);break;case 41:w--,z+=")";break;case 34:case 39:case 91:z+=Nm(v);break;case 9:case 10:case 13:case 32:if(w>0){z+=Mc(v);break}z+=oV(C);break;case 92:z+=sV(dd()-1,7);continue;case 47:switch(wa()){case 42:case 47:Kh(hV(lV(jn(),dd()),t,r,h),h),(eu(C||1)==5||eu(wa()||1)==5)&&ni(z)&&Ys(z,-1,void 0)!==" "&&(z+=" ");break;default:z+="/"}break;case 123*E:c[d++]=ni(z)*x;case 125*E:case 59:case 0:if(w>0&&v){z+=Mc(v);break}switch(v){case 0:case 125:k=0;case 59+p:x==-1&&(z=Pb(z,/\f/g,"")),m>0&&(ni(z)-g||E===0)&&Kh(m>32?OA(z+";",n,r,g-1,h):OA(Pb(z," ","")+";",n,r,g-2,h),h);break;case 59:z+=";";default:if(Kh($=NA(z,t,r,d,p,a,c,O,F=[],R=[],g,s),s),v===123)if(p===0)pd(z,t,$,$,F,s,g,c,R);else{switch(b){case 99:if(_s(z,3)===110)break;case 108:if(_s(z,2)===97)break;default:p=0;case 100:case 109:case 115:}p?pd(e,$,$,n&&Kh(NA(e,$,$,0,0,a,c,O,a,F=[],g,R),R),a,R,g,c,n?F:R):pd(z,$,$,$,[""],R,0,c,R)}}d=p=m=0,E=x=1,O=z="",g=l;break;case 58:g=1+ni(z),m=C;default:if(E<1){if(v==123)--E;else if(v==125&&E++==0&&nV()==125)continue}switch(z+=Mc(v),v*E){case 38:x=p>0?1:(z+="\f",-1);break;case 44:if(w>0)break;c[d++]=(ni(z)-1)*x,x=1;break;case 64:wa()===45&&(z+=Nm(jn())),b=wa(),p=g=ni(O=z+=cV(dd())),v++;break;case 45:C===45&&ni(z)==2&&(E=0)}}return s}function NA(e,t,r,n,a,s,l,c,h,d,p,g){for(var b=a-1,m=a===0?s:[""],C=II(m),E=0,k=0,x=0;E<n;++E)for(var w=0,v=Ys(e,b+1,b=tV(k=l[E])),O=e;w<C;++w)(O=OI(k>0?m[w]+" "+v:Pb(v,/&\f/g,m[w])))&&(h[x++]=O);return dS(e,t,r,a===0?DI:c,h,d,p,g)}function hV(e,t,r,n){return dS(e,t,r,hS,Mc(rV()),Ys(e,2,-2),0,n)}function OA(e,t,r,n,a){return dS(e,t,r,LI,Ys(e,0,n),Ys(e,n+1,-1),n,a)}function qb(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function dV(e,t,r,n){switch(e.type){case NI:if(e.children.length)break;case KY:case JY:case LI:return e.return=e.return||e.value;case hS:return"";case zb:return e.return=e.value+"{"+qb(e.children,n)+"}";case DI:if(!ni(e.value=e.props.join(",")))return""}return ni(r=qb(e.children,n))?e.return=e.value+"{"+r+"}":""}function pV(e){var t=II(e);return function(r,n,a,s){for(var l="",c=0;c<t;c++)l+=e[c](r,n,a,s)||"";return l}}var FI="c4",fV=T(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),gV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./c4Diagram-AAUBKEIU-C995ER45.js");return{diagram:t}},__vite__mapDeps([5,6]),import.meta.url);return{id:FI,diagram:e}},"loader"),mV={id:FI,detector:fV,loader:gV},bV=mV,MI="flowchart",yV=T((e,t)=>t?.flowchart?.defaultRenderer==="dagre-wrapper"||t?.flowchart?.defaultRenderer==="elk"?!1:/^\s*graph/.test(e),"detector"),SV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./flowDiagram-I6XJVG4X-BVxlCJhG.js");return{diagram:t}},__vite__mapDeps([7,8,6,9,10,11]),import.meta.url);return{id:MI,diagram:e}},"loader"),CV={id:MI,detector:yV,loader:SV},EV=CV,UI="flowchart-v2",xV=T((e,t)=>t?.flowchart?.defaultRenderer==="dagre-d3"?!1:(t?.flowchart?.defaultRenderer==="elk"&&(t.layout="elk"),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer==="dagre-wrapper"?!0:/^\s*flowchart/.test(e)),"detector"),kV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./flowDiagram-I6XJVG4X-BVxlCJhG.js");return{diagram:t}},__vite__mapDeps([7,8,6,9,10,11]),import.meta.url);return{id:UI,diagram:e}},"loader"),TV={id:UI,detector:xV,loader:kV},_V=TV,$I="er",wV=T(e=>/^\s*erDiagram/.test(e),"detector"),vV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./erDiagram-TEJ5UH35-BQ_TWeSA.js");return{diagram:t}},__vite__mapDeps([12,9,10,11]),import.meta.url);return{id:$I,diagram:e}},"loader"),AV={id:$I,detector:wV,loader:vV},RV=AV,zI="gitGraph",DV=T(e=>/^\s*gitGraph/.test(e),"detector"),LV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./gitGraphDiagram-PVQCEYII-DYHNhcQ1.js");return{diagram:t}},__vite__mapDeps([13,14,15,16]),import.meta.url);return{id:zI,diagram:e}},"loader"),NV={id:zI,detector:DV,loader:LV},OV=NV,PI="gantt",IV=T(e=>/^\s*gantt/.test(e),"detector"),BV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./ganttDiagram-6RSMTGT7-DlHxknKg.js");return{diagram:t}},__vite__mapDeps([17,18,19,20]),import.meta.url);return{id:PI,diagram:e}},"loader"),FV={id:PI,detector:IV,loader:BV},MV=FV,HI="info",UV=T(e=>/^\s*info/.test(e),"detector"),$V=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./infoDiagram-5YYISTIA-usWWgsgX.js");return{diagram:t}},__vite__mapDeps([21,16]),import.meta.url);return{id:HI,diagram:e}},"loader"),zV={id:HI,detector:UV,loader:$V},qI="pie",PV=T(e=>/^\s*pie/.test(e),"detector"),HV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./pieDiagram-4H26LBE5-jm6JjM7-.js");return{diagram:t}},__vite__mapDeps([22,14,16,23,24,19]),import.meta.url);return{id:qI,diagram:e}},"loader"),qV={id:qI,detector:PV,loader:HV},GI="quadrantChart",GV=T(e=>/^\s*quadrantChart/.test(e),"detector"),jV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./quadrantDiagram-W4KKPZXB-D_FMBvP7.js");return{diagram:t}},__vite__mapDeps([25,18,19,20]),import.meta.url);return{id:GI,diagram:e}},"loader"),WV={id:GI,detector:GV,loader:jV},YV=WV,jI="xychart",VV=T(e=>/^\s*xychart(-beta)?/.test(e),"detector"),XV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./xychartDiagram-2RQKCTM6-FgTwWkea.js");return{diagram:t}},__vite__mapDeps([26,19,24,18,20]),import.meta.url);return{id:jI,diagram:e}},"loader"),ZV={id:jI,detector:VV,loader:XV},KV=ZV,WI="requirement",QV=T(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),JV=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./requirementDiagram-4Y6WPE33-DrAnq7B5.js");return{diagram:t}},__vite__mapDeps([27,9,10]),import.meta.url);return{id:WI,diagram:e}},"loader"),eX={id:WI,detector:QV,loader:JV},tX=eX,YI="sequence",rX=T(e=>/^\s*sequenceDiagram/.test(e),"detector"),nX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./sequenceDiagram-3UESZ5HK-CzlReNxZ.js");return{diagram:t}},__vite__mapDeps([28,6,15]),import.meta.url);return{id:YI,diagram:e}},"loader"),iX={id:YI,detector:rX,loader:nX},aX=iX,VI="class",oX=T((e,t)=>t?.class?.defaultRenderer==="dagre-wrapper"?!1:/^\s*classDiagram/.test(e),"detector"),sX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./classDiagram-4FO5ZUOK-U-TA2l-f.js");return{diagram:t}},__vite__mapDeps([29,30,8,6,9,10]),import.meta.url);return{id:VI,diagram:e}},"loader"),lX={id:VI,detector:oX,loader:sX},cX=lX,XI="classDiagram",uX=T((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(e),"detector"),hX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./classDiagram-v2-Q7XG4LA2-U-TA2l-f.js");return{diagram:t}},__vite__mapDeps([31,30,8,6,9,10]),import.meta.url);return{id:XI,diagram:e}},"loader"),dX={id:XI,detector:uX,loader:hX},pX=dX,ZI="state",fX=T((e,t)=>t?.state?.defaultRenderer==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(e),"detector"),gX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./stateDiagram-AJRCARHV-CAj_FaGh.js");return{diagram:t}},__vite__mapDeps([32,33,9,10,1,2]),import.meta.url);return{id:ZI,diagram:e}},"loader"),mX={id:ZI,detector:fX,loader:gX},bX=mX,KI="stateDiagram",yX=T((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer==="dagre-wrapper"),"detector"),SX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./stateDiagram-v2-BHNVJYJU-DL8IxfA-.js");return{diagram:t}},__vite__mapDeps([34,33,9,10]),import.meta.url);return{id:KI,diagram:e}},"loader"),CX={id:KI,detector:yX,loader:SX},EX=CX,QI="journey",xX=T(e=>/^\s*journey/.test(e),"detector"),kX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./journeyDiagram-JHISSGLW-DuiQ_voI.js");return{diagram:t}},__vite__mapDeps([35,8,6,23]),import.meta.url);return{id:QI,diagram:e}},"loader"),TX={id:QI,detector:xX,loader:kX},_X=TX,wX=T((e,t,r)=>{pe.debug(`rendering svg for syntax error
332
+ `);const n=l9(t),a=n.append("g");n.attr("viewBox","0 0 2412 512"),RR(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"),JI={draw:wX},vX=JI,AX={db:{},renderer:JI,parser:{parse:T(()=>{},"parse")}},RX=AX,eB="flowchart-elk",DX=T((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer==="elk"?(t.layout="elk",!0):!1,"detector"),LX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./flowDiagram-I6XJVG4X-BVxlCJhG.js");return{diagram:t}},__vite__mapDeps([7,8,6,9,10,11]),import.meta.url);return{id:eB,diagram:e}},"loader"),NX={id:eB,detector:DX,loader:LX},OX=NX,tB="timeline",IX=T(e=>/^\s*timeline/.test(e),"detector"),BX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./timeline-definition-PNZ67QCA-CHzi4ypa.js");return{diagram:t}},__vite__mapDeps([36,23]),import.meta.url);return{id:tB,diagram:e}},"loader"),FX={id:tB,detector:IX,loader:BX},MX=FX,rB="mindmap",UX=T(e=>/^\s*mindmap/.test(e),"detector"),$X=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./mindmap-definition-RKZ34NQL-BI-GTubt.js");return{diagram:t}},__vite__mapDeps([37,9,10]),import.meta.url);return{id:rB,diagram:e}},"loader"),zX={id:rB,detector:UX,loader:$X},PX=zX,nB="kanban",HX=T(e=>/^\s*kanban/.test(e),"detector"),qX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./kanban-definition-UN3LZRKU-Cf5Zx4Ai.js");return{diagram:t}},__vite__mapDeps([38,8]),import.meta.url);return{id:nB,diagram:e}},"loader"),GX={id:nB,detector:HX,loader:qX},jX=GX,iB="sankey",WX=T(e=>/^\s*sankey(-beta)?/.test(e),"detector"),YX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./sankeyDiagram-5OEKKPKP-BBxMYinl.js");return{diagram:t}},__vite__mapDeps([39,24,19]),import.meta.url);return{id:iB,diagram:e}},"loader"),VX={id:iB,detector:WX,loader:YX},XX=VX,aB="packet",ZX=T(e=>/^\s*packet(-beta)?/.test(e),"detector"),KX=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./diagram-LMA3HP47-BlZVA1ZL.js");return{diagram:t}},__vite__mapDeps([40,14,16]),import.meta.url);return{id:aB,diagram:e}},"loader"),QX={id:aB,detector:ZX,loader:KX},oB="radar",JX=T(e=>/^\s*radar-beta/.test(e),"detector"),eZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./diagram-2AECGRRQ-T3ul_-C1.js");return{diagram:t}},__vite__mapDeps([41,14,16]),import.meta.url);return{id:oB,diagram:e}},"loader"),tZ={id:oB,detector:JX,loader:eZ},sB="block",rZ=T(e=>/^\s*block(-beta)?/.test(e),"detector"),nZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./blockDiagram-GPEHLZMM-C01nZdXH.js");return{diagram:t}},__vite__mapDeps([42,8,1,11]),import.meta.url);return{id:sB,diagram:e}},"loader"),iZ={id:sB,detector:rZ,loader:nZ},aZ=iZ,lB="treeView",oZ=T(e=>/^\s*treeView-beta/.test(e),"detector"),sZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./diagram-5GNKFQAL-Cv4-mYjj.js");return{diagram:t}},__vite__mapDeps([43,14,15,16]),import.meta.url);return{id:lB,diagram:e}},"loader"),lZ={id:lB,detector:oZ,loader:sZ},cZ=lZ,cB="architecture",uZ=T(e=>/^\s*architecture/.test(e),"detector"),hZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./architectureDiagram-3BPJPVTR-3wEHUA1o.js");return{diagram:t}},__vite__mapDeps([44,14,16,4]),import.meta.url);return{id:cB,diagram:e}},"loader"),dZ={id:cB,detector:uZ,loader:hZ},pZ=dZ,uB="eventmodeling",fZ=T(e=>/^\s*eventmodeling/.test(e),"detector"),gZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./diagram-KO2AKTUF-GEuY7REm.js");return{diagram:t}},__vite__mapDeps([45,14,16]),import.meta.url);return{id:uB,diagram:e}},"loader"),mZ={id:uB,detector:fZ,loader:gZ},bZ=mZ,hB="ishikawa",yZ=T(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),SZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./ishikawaDiagram-YF4QCWOH-GXA4mXdI.js");return{diagram:t}},[],import.meta.url);return{id:hB,diagram:e}},"loader"),CZ={id:hB,detector:yZ,loader:SZ},dB="venn",EZ=T(e=>/^\s*venn-beta/.test(e),"detector"),xZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./vennDiagram-CIIHVFJN-DT2hW75o.js");return{diagram:t}},[],import.meta.url);return{id:dB,diagram:e}},"loader"),kZ={id:dB,detector:EZ,loader:xZ},TZ=kZ,pB="treemap",_Z=T(e=>/^\s*treemap/.test(e),"detector"),wZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./diagram-OG6HWLK6-DZ9muekA.js");return{diagram:t}},__vite__mapDeps([46,10,14,16,20,24,19]),import.meta.url);return{id:pB,diagram:e}},"loader"),vZ={id:pB,detector:_Z,loader:wZ},fB="wardley-beta",AZ=T(e=>/^\s*wardley-beta/i.test(e),"detector"),RZ=T(async()=>{const{diagram:e}=await it(async()=>{const{diagram:t}=await import("./wardleyDiagram-YWT4CUSO-CoB6ihhL.js");return{diagram:t}},__vite__mapDeps([47,14,16]),import.meta.url);return{id:fB,diagram:e}},"loader"),DZ={id:fB,detector:AZ,loader:RZ},LZ=DZ,IA=!1,kp=T(()=>{IA||(IA=!0,Td("error",RX,e=>e.toLowerCase().trim()==="error"),Td("---",{db:{clear:T(()=>{},"clear")},styles:{},renderer:{draw:T(()=>{},"draw")},parser:{parse:T(()=>{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:T(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),Vm(OX,PX,pZ),Vm(bV,jX,pX,cX,RV,MV,zV,qV,tX,aX,_V,EV,MX,OV,EX,bX,_X,YV,XX,QX,KV,aZ,bZ,cZ,tZ,CZ,vZ,TZ,LZ))},"addDiagrams"),NZ=T(async()=>{pe.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(po).map(async([r,{detector:n,loader:a}])=>{if(a)try{Jm(r)}catch{try{const{diagram:s,id:l}=await a();Td(l,s,n)}catch(s){throw pe.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete po[r],s}}}))).filter(r=>r.status==="rejected");if(t.length>0){pe.error(`Failed to load ${t.length} external diagrams`);for(const r of t)pe.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),OZ="graphics-document document";function gB(e,t){e.attr("role",OZ),t!==""&&e.attr("aria-roledescription",t)}T(gB,"setA11yDiagramInfo");function mB(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)}}}T(mB,"addSVGa11yTitleDescription");var uo,Gb=(uo=class{constructor(t,r,n,a,s){this.type=t,this.text=r,this.db=n,this.parser=a,this.renderer=s}static async fromText(t,r={}){const n=Ot(),a=fy(t,n);t=hj(t)+`
333
+ `;try{Jm(a)}catch{const d=A6(a);if(!d)throw new fR(`Diagram ${a} not found.`);const{id:p,diagram:g}=await d();Td(p,g)}const{db:s,parser:l,renderer:c,init:h}=Jm(a);return l.parser&&(l.parser.yy=s),s.clear?.(),h?.(n),r.title&&s.setDiagramTitle?.(r.title),await l.parse(t),new uo(a,t,s,l,c)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},T(uo,"Diagram"),uo),BA=[],IZ=T(()=>{BA.forEach(e=>{e()}),BA=[]},"attachFunctions"),BZ=T(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function bB(e){const t=e.match(pR);if(!t)return{text:e,metadata:{}};let r=g7(t[1],{schema:f7})??{};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}}T(bB,"extractFrontMatter");var FZ=T(e=>e.replace(/\r\n?/g,`
334
+ `).replace(/<(\w+)([^>]*)>/g,(t,r,n)=>"<"+r+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),MZ=T(e=>{const{text:t,metadata:r}=bB(e),{displayMode:n,title:a,config:s={}}=r;return n&&(s.gantt||(s.gantt={}),s.gantt.displayMode=n),{title:a,config:s,text:t}},"processFrontmatter"),UZ=T(e=>{const t=Hn.detectInit(e)??{},r=Hn.detectDirective(e,"wrap");return Array.isArray(r)?t.wrap=r.some(({type:n})=>n==="wrap"):r?.type==="wrap"&&(t.wrap=!0),{text:Q7(e),directive:t}},"processDirectives");function pS(e){const t=FZ(e),r=MZ(t),n=UZ(r.text),a=Xy(r.config,n.directive);return e=BZ(n.text),{code:e,title:r.title,config:a}}T(pS,"preprocessDiagram");function yB(e){const t=new TextEncoder().encode(e),r=Array.from(t,n=>String.fromCodePoint(n)).join("");return btoa(r)}T(yB,"toBase64");var $Z=5e4,zZ="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",PZ="sandbox",HZ="loose",qZ="http://www.w3.org/2000/svg",GZ="http://www.w3.org/1999/xlink",jZ="http://www.w3.org/1999/xhtml",WZ="100%",YZ="100%",VZ="border:0;margin:0;",XZ="margin:0",ZZ="allow-top-navigation-by-user-activation allow-popups",KZ='The "iframe" tag is not supported by your browser.',QZ=["foreignobject"],JZ=["dominant-baseline"];function fS(e){const t=pS(e);return xd(),t8(t.config??{}),t}T(fS,"processAndSetConfigs");async function SB(e,t){kp();try{const{code:r,config:n}=fS(e);return{diagramType:(await EB(r)).type,config:n}}catch(r){if(t?.suppressErrors)return!1;throw r}}T(SB,"parse");var FA=T((e,t,r=[])=>{const n=SR(`{ ${r.join(" !important; ")} !important; }`);return`.${e} ${t} ${n}`},"cssImportantStyles"),eK=T((e,t=new Map)=>{const r=new CSSStyleSheet;if(e.fontFamily!==void 0&&r.insertRule(`:root { --mermaid-font-family: ${e.fontFamily}}`,r.cssRules.length),e.altFontFamily!==void 0&&r.insertRule(`:root { --mermaid-alt-font-family: ${e.altFontFamily}}`,r.cssRules.length),t instanceof Map){const c=zr(e)?["> *","span"]:["rect","polygon","ellipse","circle","path"];t.forEach(h=>{Z1(h.styles)||c.forEach(d=>{r.insertRule(FA(h.id,d,h.styles),r.cssRules.length)}),Z1(h.textStyles)||r.insertRule(FA(h.id,"tspan",(h?.textStyles||[]).map(d=>d.replace("color","fill"))),r.cssRules.length)})}let n="";if(e.themeCSS!==void 0)if(typeof r.replaceSync=="function"){const a=new CSSStyleSheet;a.replaceSync(e.themeCSS),n=Qm(a)+`
335
+ `}else n+=`${e.themeCSS}
336
+ `;return n+Qm(r)},"createCssStyles"),tK=T((e,t)=>qb(uV(`${e}{${t}}`),pV([T(function(n,a,s,l){if(n.type==="rule"&&Array.isArray(n.props)){if(n.parent&&n.parent.type===zb)return;n.props=n.props.map(c=>c.startsWith(e)?c:`${e} ${c}`)}else n.type.startsWith("@")&&([...[ZY,QY,NI,eV,"@container","@starting-style"],zb].includes(n.type)||(pe.warn(`Removing unsupported at-rule ${n.type} from CSS`),n.type=hS))},"addNamespace"),dV])),"compileCSS"),rK=T((e,t,r,n)=>{const a=eK(e,r),s=C8(t,a,{...e.themeVariables,theme:e.theme,look:e.look},n);return tK(n,s)},"createUserStyles"),nK=T((e="",t,r)=>{let n=e;return!r&&!t&&(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=bo(n),n=n.replace(/<br>/g,"<br/>"),n},"cleanUpSvgCode"),iK=T((e="",t)=>{const r=t?.viewBox?.baseVal?.height?t.viewBox.baseVal.height+"px":YZ,n=yB(`<body style="${XZ}">${e}</body>`);return`<iframe style="width:${WZ};height:${r};${VZ}" src="data:text/html;charset=UTF-8;base64,${n}" sandbox="${ZZ}">
337
+ ${KZ}
338
+ </iframe>`},"putIntoIFrame"),MA=T((e,t,r,n,a)=>{const s=e.append("div");s.attr("id",r),n&&s.attr("style",n);const l=s.append("svg").attr("id",t).attr("width","100%").attr("xmlns",qZ);return a&&l.attr("xmlns:xlink",a),l.append("g"),e},"appendDivSvgG");function jb(e,t){return e.append("iframe").attr("id",t).attr("style","width: 100%; height: 100%;").attr("sandbox","")}T(jb,"sandboxedIframe");var aK=T((e,t,r,n)=>{e.getElementById(t)?.remove(),e.getElementById(r)?.remove(),e.getElementById(n)?.remove()},"removeExistingElements"),oK=T(async function(e,t,r){kp();const n=fS(t);t=n.code;const a=Ot();pe.debug(a),t.length>(a?.maxTextSize??$Z)&&(t=zZ);const s=`#${e}`,l="i"+e,c="#"+l,h="d"+e,d="#"+h,p=T(()=>{const J=Ve(b?c:d).node();J&&"remove"in J&&J.remove()},"removeTempElements");let g=Ve(document.body);const b=a.securityLevel===PZ,m=a.securityLevel===HZ,C=a.fontFamily;if(r!==void 0){if(r&&(r.innerHTML=""),b){const X=jb(Ve(r),l);g=Ve(X.nodes()[0].contentDocument.body),g.node().style.margin="0"}else g=Ve(r);MA(g,e,h,`font-family: ${C}`,GZ)}else{if(aK(document,e,h,l),b){const X=jb(Ve(document.body),l);g=Ve(X.nodes()[0].contentDocument.body),g.node().style.margin="0"}else g=Ve("body");MA(g,e,h)}let E,k;try{E=await Gb.fromText(t,{title:n.title})}catch(X){if(a.suppressErrorRendering)throw p(),X;E=await Gb.fromText("error"),k=X}const x=g.select(d).node(),w=E.type,v=x.firstChild,O=v.firstChild,F=E.renderer.getClasses?.(t,E),R=rK(a,w,F,s),$=document.createElement("style");$.innerHTML=R,v.insertBefore($,O);try{await E.renderer.draw(t,e,"11.15.0",E)}catch(X){throw a.suppressErrorRendering?p():vX.draw(t,e,"11.15.0"),X}const z=g.select(`${d} svg`),K=E.db.getAccTitle?.(),M=E.db.getAccDescription?.();xB(w,z,K,M),g.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns",jZ);let q=g.select(d).node().innerHTML;if(pe.debug("config.arrowMarkerAbsolute",a.arrowMarkerAbsolute),q=nK(q,b,qi(a.arrowMarkerAbsolute)),b){const X=g.select(d+" svg").node();q=iK(q,X)}else m||(q=Ps.sanitize(q,{ADD_TAGS:QZ,ADD_ATTR:JZ,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(IZ(),k)throw k;return p(),{diagramType:w,svg:q,bindFunctions:E.db.bindFunctions}},"render");function CB(e={}){const t=nr({},e);t?.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),J6(t),t?.theme&&t.theme in Mi?t.themeVariables=Mi[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Mi.default.getThemeVariables(t.themeVariables));const r=typeof t=="object"?Q6(t):CR();py(r.logLevel),kp()}T(CB,"initialize");var EB=T((e,t={})=>{const{code:r}=pS(e);return Gb.fromText(r,t)},"getDiagramFromText");function xB(e,t,r,n){gB(t,e),mB(t,r,n,t.attr("id"))}T(xB,"addA11yInfo");var So=Object.freeze({render:oK,parse:SB,getDiagramFromText:EB,initialize:CB,getConfig:Ot,setConfig:ER,getSiteConfig:CR,updateSiteConfig:e8,reset:T(()=>{xd()},"reset"),globalReset:T(()=>{xd(Hs)},"globalReset"),defaultConfig:Hs});py(Ot().logLevel);xd(Ot());var sK=T((e,t,r)=>{pe.warn(e),Vy(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"),kB=T(async function(e={querySelector:".mermaid"}){try{await lK(e)}catch(t){if(Vy(t)&&pe.error(t.str),Pi.parseError&&Pi.parseError(t),!e.suppressErrors)throw pe.error("Use the suppressErrors option to suppress these errors"),t}},"run"),lK=T(async function({postRenderCallback:e,querySelector:t,nodes:r}={querySelector:".mermaid"}){const n=So.getConfig();pe.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");pe.debug(`Found ${a.length} diagrams`),n?.startOnLoad!==void 0&&(pe.debug("Start On Load: "+n?.startOnLoad),So.updateSiteConfig({startOnLoad:n?.startOnLoad}));const s=new Hn.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed);let l;const c=[];for(const h of Array.from(a)){if(pe.info("Rendering diagram: "+h.id),h.getAttribute("data-processed"))continue;h.setAttribute("data-processed","true");const d=`mermaid-${s.next()}`;l=h.innerHTML,l=MN(Hn.entityDecode(l)).trim().replace(/<br\s*\/?>/gi,"<br/>");const p=Hn.detectInit(l);p&&pe.debug("Detected early reinit: ",p);try{const{svg:g,bindFunctions:b}=await vB(d,l,h);h.innerHTML=g,e&&await e(d),b&&b(h)}catch(g){sK(g,c,Pi.parseError)}}if(c.length>0)throw c[0]},"runThrowsErrors"),TB=T(function(e){So.initialize(e)},"initialize"),cK=T(async function(e,t,r){pe.warn("mermaid.init is deprecated. Please use run instead."),e&&TB(e);const n={postRenderCallback:r,querySelector:".mermaid"};typeof t=="string"?n.querySelector=t:t&&(t instanceof HTMLElement?n.nodes=[t]:n.nodes=t),await kB(n)},"init"),uK=T(async(e,{lazyLoad:t=!0}={})=>{kp(),Vm(...e),t===!1&&await NZ()},"registerExternalDiagrams"),_B=T(function(){if(Pi.startOnLoad){const{startOnLoad:e}=So.getConfig();e&&Pi.run().catch(t=>pe.error("Mermaid failed to initialize",t))}},"contentLoaded");typeof document<"u"&&window.addEventListener("load",_B,!1);var hK=T(function(e){Pi.parseError=e},"setParseErrorHandler"),Zd=[],Om=!1,wB=T(async()=>{if(!Om){for(Om=!0;Zd.length>0;){const e=Zd.shift();if(e)try{await e()}catch(t){pe.error("Error executing queue",t)}}Om=!1}},"executeQueue"),dK=T(async(e,t)=>new Promise((r,n)=>{const a=T(()=>new Promise((s,l)=>{So.parse(e,t).then(c=>{s(c),r(c)},c=>{pe.error("Error parsing",c),Pi.parseError?.(c),l(c),n(c)})}),"performCall");Zd.push(a),wB().catch(n)}),"parse"),vB=T((e,t,r)=>new Promise((n,a)=>{const s=T(()=>new Promise((l,c)=>{So.render(e,t,r).then(h=>{l(h),n(h)},h=>{pe.error("Error parsing",h),Pi.parseError?.(h),c(h),a(h)})}),"performCall");Zd.push(s),wB().catch(a)}),"render"),pK=T(()=>Object.keys(po).map(e=>({id:e})),"getRegisteredDiagramsMetadata"),Pi={startOnLoad:!0,mermaidAPI:So,parse:dK,render:vB,init:cK,run:kB,registerExternalDiagrams:uK,registerLayoutLoaders:RI,initialize:TB,parseError:void 0,contentLoaded:_B,setParseErrorHandler:hK,detectType:fy,registerIconPacks:yW,getRegisteredDiagramsMetadata:pK},AB=Pi;function fK(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 gK(e,t){if(e==null)return{};var r,n,a=fK(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function Wb(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 mK(e){if(Array.isArray(e))return Wb(e)}function bK(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yK(e,t){if(e){if(typeof e=="string")return Wb(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)?Wb(e,t):void 0}}function SK(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
339
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yb(e){return mK(e)||bK(e)||yK(e)||SK()}function tu(e){"@babel/helpers - typeof";return tu=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},tu(e)}function CK(e,t){if(tu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(tu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function EK(e){var t=CK(e,"string");return tu(t)=="symbol"?t:t+""}function RB(e,t,r){return(t=EK(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vb(){return Vb=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},Vb.apply(null,arguments)}function UA(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 Es(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?UA(Object(r),!0).forEach(function(n){RB(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):UA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xK(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 Im={};function kK(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Im[t]||(Im[t]=xK(e)),Im[t]}function TK(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(s){return s!=="token"}),a=kK(n);return a.reduce(function(s,l){return Es(Es({},s),r[l])},t)}function $A(e){return e.join(" ")}function _K(e,t){var r=0;return function(n){return r+=1,n.map(function(a,s){return DB({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(s)})})}}function DB(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,s=e.useInlineStyles,l=e.key,c=t.properties,h=t.type,d=t.tagName,p=t.value;if(h==="text")return p;if(d){var g=_K(r,s),b;if(!s)b=Es(Es({},c),{},{className:$A(c.className)});else{var m=Object.keys(r).reduce(function(x,w){return w.split(".").forEach(function(v){x.includes(v)||x.push(v)}),x},[]),C=c.className&&c.className.includes("token")?["token"]:[],E=c.className&&C.concat(c.className.filter(function(x){return!m.includes(x)}));b=Es(Es({},c),{},{className:$A(E)||void 0,style:TK(c.className,Object.assign({},c.style,a),r)})}var k=g(t.children);return Ta.createElement(d,Vb({key:l},b),k)}}const wK=(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1});var vK=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function zA(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 va(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zA(Object(r),!0).forEach(function(n){RB(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var AK=/\n/g;function RK(e){return e.match(AK)}function DK(e){var t=e.lines,r=e.startingLineNumber,n=e.style;return t.map(function(a,s){var l=s+r;return Ta.createElement("span",{key:"line-".concat(s),className:"react-syntax-highlighter-line-number",style:typeof n=="function"?n(l):n},"".concat(l,`
340
+ `))})}function LK(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,a=n===void 0?{float:"left",paddingRight:"10px"}:n,s=e.numberStyle,l=s===void 0?{}:s,c=e.startingLineNumber;return Ta.createElement("code",{style:Object.assign({},r,a)},DK({lines:t.replace(/\n$/,"").split(`
341
+ `),style:l,startingLineNumber:c}))}function NK(e){return"".concat(e.toString().length,".25em")}function LB(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 NB(e,t,r){var n={display:"inline-block",minWidth:NK(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,s=va(va({},n),a);return s}function fd(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,a=e.largestLineNumber,s=e.showInlineLineNumbers,l=e.lineProps,c=l===void 0?{}:l,h=e.className,d=h===void 0?[]:h,p=e.showLineNumbers,g=e.wrapLongLines,b=e.wrapLines,m=b===void 0?!1:b,C=m?va({},typeof c=="function"?c(r):c):{};if(C.className=C.className?[].concat(Yb(C.className.trim().split(/\s+/)),Yb(d)):d,r&&s){var E=NB(n,r,a);t.unshift(LB(r,E))}return g&p&&(C.style=va({display:"flex"},C.style)),{type:"element",tagName:"span",properties:C,children:t}}function OB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];e.length===void 0&&(e=[e]);for(var n=0;n<e.length;n++){var a=e[n];if(a.type==="text")r.push(fd({children:[a],className:Yb(new Set(t))}));else if(a.children){var s,l=t.concat(((s=a.properties)===null||s===void 0?void 0:s.className)||[]);OB(a.children,l).forEach(function(c){return r.push(c)})}}return r}function OK(e,t,r,n,a,s,l,c,h){var d,p=OB(e.value),g=[],b=-1,m=0;function C(F,R){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return fd({children:F,lineNumber:R,lineNumberStyle:c,largestLineNumber:l,showInlineLineNumbers:a,lineProps:r,className:$,showLineNumbers:n,wrapLongLines:h,wrapLines:t})}function E(F,R){if(n&&R&&a){var $=NB(c,R,l);F.unshift(LB(R,$))}return F}function k(F,R){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||$.length>0?C(F,R,$):E(F,R)}for(var x=function(){var R=p[m],$=R.children[0].value,z=RK($);if(z){var K=$.split(`
342
+ `);K.forEach(function(M,q){var X=n&&g.length+s,J={type:"text",value:"".concat(M,`
343
+ `)};if(q===0){var W=p.slice(b+1,m).concat(fd({children:[J],className:R.properties.className})),H=k(W,X);g.push(H)}else if(q===K.length-1){var I=p[m+1]&&p[m+1].children&&p[m+1].children[0],P={type:"text",value:"".concat(M)};if(I){var V=fd({children:[P],className:R.properties.className});p.splice(m+1,0,V)}else{var se=[P],L=k(se,X,R.properties.className);g.push(L)}}else{var U=[J],ee=k(U,X,R.properties.className);g.push(ee)}}),b=m}m++};m<p.length;)x();if(b!==p.length-1){var w=p.slice(b+1,p.length);if(w&&w.length){var v=n&&g.length+s,O=k(w,v);g.push(O)}}return t?g:(d=[]).concat.apply(d,g)}function IK(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(a,s){return DB({node:a,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(s)})})}function IB(e){return e&&typeof e.highlightAuto<"u"}function BK(e){var t=e.astGenerator,r=e.language,n=e.code,a=e.defaultCodeValue;if(IB(t)){var s=wK(t,r);return r==="text"?{value:a,language:"text"}:s?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:a}}catch{return{value:a}}}function FK(e,t){return function(n){var a,s,l=n.language,c=n.children,h=n.style,d=h===void 0?t:h,p=n.customStyle,g=p===void 0?{}:p,b=n.codeTagProps,m=b===void 0?{className:l?"language-".concat(l):void 0,style:va(va({},d['code[class*="language-"]']),d['code[class*="language-'.concat(l,'"]')])}:b,C=n.useInlineStyles,E=C===void 0?!0:C,k=n.showLineNumbers,x=k===void 0?!1:k,w=n.showInlineLineNumbers,v=w===void 0?!0:w,O=n.startingLineNumber,F=O===void 0?1:O,R=n.lineNumberContainerStyle,$=n.lineNumberStyle,z=$===void 0?{}:$,K=n.wrapLines,M=n.wrapLongLines,q=M===void 0?!1:M,X=n.lineProps,J=X===void 0?{}:X,W=n.renderer,H=n.PreTag,I=H===void 0?"pre":H,P=n.CodeTag,V=P===void 0?"code":P,se=n.code,L=se===void 0?(Array.isArray(c)?c[0]:c)||"":se,U=n.astGenerator,ee=gK(n,vK);U=U||e;var N=x?Ta.createElement(LK,{containerStyle:R,codeStyle:m.style||{},numberStyle:z,startingLineNumber:F,codeString:L}):null,de=d.hljs||d['pre[class*="language-"]']||{backgroundColor:"#fff"},me=IB(U)?"hljs":"prismjs",ge=E?Object.assign({},ee,{style:Object.assign({},de,g)}):Object.assign({},ee,{className:ee.className?"".concat(me," ").concat(ee.className):me,style:Object.assign({},g)});if(q?m.style=va({whiteSpace:"pre-wrap"},m.style):m.style=va({whiteSpace:"pre"},m.style),!U)return Ta.createElement(I,ge,N,Ta.createElement(V,m,L));(K===void 0&&W||q)&&(K=!0),W=W||IK;var Se=[{type:"text",value:L}],Te=BK({astGenerator:U,language:l,code:L,defaultCodeValue:Se});Te.language===null&&(Te.value=Se);var Le=(a=(s=L.match(/\n/g))===null||s===void 0?void 0:s.length)!==null&&a!==void 0?a:0,qe=F+Le,lt=OK(Te,K,J,x,v,F,qe,z,q);return Ta.createElement(I,ge,Ta.createElement(V,m,!v&&N,W({rows:lt,stylesheet:d,useInlineStyles:E})))}}const MK=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","armasm","arturo","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","awk","bash","basic","batch","bbcode","bbj","bicep","birb","bison","bnf","bqn","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","cilkc","cilkcpp","clike","clojure","cmake","cobol","coffeescript","concurnas","cooklang","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cue","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","gettext","gherkin","git","glsl","gml","gn","go-module","go","gradle","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","linker-script","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","mata","matlab","maxscript","mel","mermaid","metafont","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","odin","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plant-uml","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","rescript","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","stata","stylus","supercollider","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","wgsl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],PA=/[#.]/g;function UK(e,t){const r=e||"",n={};let a=0,s,l;for(;a<r.length;){PA.lastIndex=a;const c=PA.exec(r),h=r.slice(a,c?c.index:r.length);h&&(s?s==="#"?n.id=h:Array.isArray(n.className)?n.className.push(h):n.className=[h]:l=h,a+=h.length),c&&(s=c[0],a++)}return{type:"element",tagName:l||t||"div",properties:n,children:[]}}function BB(e,t,r){const n=r?HK(r):void 0;function a(s,l,...c){let h;if(s==null){h={type:"root",children:[]};const d=l;c.unshift(d)}else{h=UK(s,t);const d=h.tagName.toLowerCase(),p=n?n.get(d):void 0;if(h.tagName=p||d,$K(l))c.unshift(l);else for(const[g,b]of Object.entries(l))zK(e,h.properties,g,b)}for(const d of c)Xb(h.children,d);return h.type==="element"&&h.tagName==="template"&&(h.content={type:"root",children:h.children},h.children=[]),h}return a}function $K(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 s=a;for(const l of s)if(typeof l!="number"&&typeof l!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function zK(e,t,r,n){const a=o2(e,r);let s;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;s=n}else typeof n=="boolean"?s=n:typeof n=="string"?a.spaceSeparated?s=gv(n):a.commaSeparated?s=uv(n):a.commaOrSpaceSeparated?s=gv(uv(n).join(" ")):s=HA(a,a.property,n):Array.isArray(n)?s=[...n]:s=a.property==="style"?PK(n):String(n);if(Array.isArray(s)){const l=[];for(const c of s)l.push(HA(a,a.property,c));s=l}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function Xb(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)Xb(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?Xb(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function HA(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||$c(r)===$c(t)))return!0}return r}function PK(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function HK(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const qK=["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"],GK=BB(s2,"div");BB(Qd,"g",qK);const jK=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],qA={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function FB(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function WK(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function YK(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function GA(e){return YK(e)||FB(e)}const VK=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function XK(e,t){const r={},n=typeof r.additional=="string"?r.additional.charCodeAt(0):r.additional,a=[];let s=0,l=-1,c="",h,d;r.position&&("start"in r.position||"indent"in r.position?(d=r.position.indent,h=r.position.start):h=r.position);let p=(h?h.line:0)||1,g=(h?h.column:0)||1,b=C(),m;for(s--;++s<=e.length;)if(m===10&&(g=(d?d[l]:0)||1),m=e.charCodeAt(s),m===38){const x=e.charCodeAt(s+1);if(x===9||x===10||x===12||x===32||x===38||x===60||Number.isNaN(x)||n&&x===n){c+=String.fromCharCode(m),g++;continue}const w=s+1;let v=w,O=w,F;if(x===35){O=++v;const J=e.charCodeAt(O);J===88||J===120?(F="hexadecimal",O=++v):F="decimal"}else F="named";let R="",$="",z="";const K=F==="named"?GA:F==="decimal"?FB:WK;for(O--;++O<=e.length;){const J=e.charCodeAt(O);if(!K(J))break;z+=String.fromCharCode(J),F==="named"&&jK.includes(z)&&(R=z,$=Pc(z))}let M=e.charCodeAt(O)===59;if(M){O++;const J=F==="named"?Pc(z):!1;J&&(R=z,$=J)}let q=1+O-w,X="";if(!(!M&&r.nonTerminated===!1))if(!z)F!=="named"&&E(4,q);else if(F==="named"){if(M&&!$)E(5,1);else if(R!==z&&(O=v+R.length,q=1+O-v,M=!1),!M){const J=R?1:3;if(r.attribute){const W=e.charCodeAt(O);W===61?(E(J,q),$=""):GA(W)?$="":E(J,q)}else E(J,q)}X=$}else{M||E(2,q);let J=Number.parseInt(z,F==="hexadecimal"?16:10);if(ZK(J))E(7,q),X="�";else if(J in qA)E(6,q),X=qA[J];else{let W="";KK(J)&&E(6,q),J>65535&&(J-=65536,W+=String.fromCharCode(J>>>10|55296),J=56320|J&1023),X=W+String.fromCharCode(J)}}if(X){k(),b=C(),s=O-1,g+=O-w+1,a.push(X);const J=C();J.offset++,r.reference&&r.reference.call(r.referenceContext||void 0,X,{start:b,end:J},e.slice(w-1,O)),b=J}else z=e.slice(w-1,O),c+=z,g+=z.length,s=O-1}else m===10&&(p++,l++,g=0),Number.isNaN(m)?k():(c+=String.fromCharCode(m),g++);return a.join("");function C(){return{line:p,column:g,offset:s+((h?h.offset:0)||0)}}function E(x,w){let v;r.warning&&(v=C(),v.column+=w,v.offset+=w,r.warning.call(r.warningContext||void 0,VK[x],v,x))}function k(){c&&(a.push(c),r.text&&r.text.call(r.textContext||void 0,c,{start:b,end:C()}),c="")}}function ZK(e){return e>=55296&&e<=57343||e>1114111}function KK(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var QK=0,Qh={},lr={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++QK}),e.__id},clone:function e(t,r){r=r||{};var n,a;switch(lr.util.type(t)){case"Object":if(a=lr.util.objId(t),r[a])return r[a];n={},r[a]=n;for(var s in t)t.hasOwnProperty(s)&&(n[s]=e(t[s],r));return n;case"Array":return a=lr.util.objId(t),r[a]?r[a]:(n=[],r[a]=n,t.forEach(function(l,c){n[c]=e(l,r)}),n);default:return t}}},languages:{plain:Qh,plaintext:Qh,text:Qh,txt:Qh,extend:function(e,t){var r=lr.util.clone(lr.languages[e]);for(var n in t)r[n]=t[n];return r},insertBefore:function(e,t,r,n){n=n||lr.languages;var a=n[e],s={};for(var l in a)if(a.hasOwnProperty(l)){if(l==t)for(var c in r)r.hasOwnProperty(c)&&(s[c]=r[c]);r.hasOwnProperty(l)||(s[l]=a[l])}var h=n[e];return n[e]=s,lr.languages.DFS(lr.languages,function(d,p){p===h&&d!=e&&(this[d]=s)}),s},DFS:function e(t,r,n,a){a=a||{};var s=lr.util.objId;for(var l in t)if(t.hasOwnProperty(l)){r.call(t,l,t[l],n||l);var c=t[l],h=lr.util.type(c);h==="Object"&&!a[s(c)]?(a[s(c)]=!0,e(c,r,null,a)):h==="Array"&&!a[s(c)]&&(a[s(c)]=!0,e(c,r,l,a))}}},plugins:{},highlight:function(e,t,r){var n={code:e,grammar:t,language:r};if(lr.hooks.run("before-tokenize",n),!n.grammar)throw new Error('The language "'+n.language+'" has no grammar.');return n.tokens=lr.tokenize(n.code,n.grammar),lr.hooks.run("after-tokenize",n),Uc.stringify(lr.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var a=new JK;return gd(a,a.head,e),MB(e,a,t,a.head,0),tQ(a)},hooks:{all:{},add:function(e,t){var r=lr.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=lr.hooks.all[e];if(!(!r||!r.length))for(var n=0,a;a=r[n++];)a(t)}},Token:Uc};function Uc(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=(n||"").length|0}function jA(e,t,r,n){e.lastIndex=t;var a=e.exec(r);if(a&&n&&a[1]){var s=a[1].length;a.index+=s,a[0]=a[0].slice(s)}return a}function MB(e,t,r,n,a,s){for(var l in r)if(!(!r.hasOwnProperty(l)||!r[l])){var c=r[l];c=Array.isArray(c)?c:[c];for(var h=0;h<c.length;++h){if(s&&s.cause==l+","+h)return;var d=c[h],p=d.inside,g=!!d.lookbehind,b=!!d.greedy,m=d.alias;if(b&&!d.pattern.global){var C=d.pattern.toString().match(/[imsuy]*$/)[0];d.pattern=RegExp(d.pattern.source,C+"g")}for(var E=d.pattern||d,k=n.next,x=a;k!==t.tail&&!(s&&x>=s.reach);x+=k.value.length,k=k.next){var w=k.value;if(t.length>e.length)return;if(!(w instanceof Uc)){var v=1,O;if(b){if(O=jA(E,x,e,g),!O||O.index>=e.length)break;var z=O.index,F=O.index+O[0].length,R=x;for(R+=k.value.length;z>=R;)k=k.next,R+=k.value.length;if(R-=k.value.length,x=R,k.value instanceof Uc)continue;for(var $=k;$!==t.tail&&(R<F||typeof $.value=="string");$=$.next)v++,R+=$.value.length;v--,w=e.slice(x,R),O.index-=x}else if(O=jA(E,0,w,g),!O)continue;var z=O.index,K=O[0],M=w.slice(0,z),q=w.slice(z+K.length),X=x+w.length;s&&X>s.reach&&(s.reach=X);var J=k.prev;M&&(J=gd(t,J,M),x+=M.length),eQ(t,J,v);var W=new Uc(l,p?lr.tokenize(K,p):K,m,K);if(k=gd(t,J,W),q&&gd(t,k,q),v>1){var H={cause:l+","+h,reach:X};MB(e,t,r,k.prev,x,H),s&&H.reach>s.reach&&(s.reach=H.reach)}}}}}}function JK(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function gd(e,t,r){var n=t.next,a={value:r,prev:t,next:n};return t.next=a,n.prev=a,e.length++,a}function eQ(e,t,r){for(var n=t.next,a=0;a<r&&n!==e.tail;a++)n=n.next;t.next=n,n.prev=t,e.length-=a}function tQ(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next;return t}const UB=lr;function $B(){}$B.prototype=UB;const B=new $B;B.highlight=rQ;B.register=nQ;B.alias=iQ;B.registered=aQ;B.listLanguages=oQ;B.util.encode=sQ;B.Token.stringify=Zb;function rQ(e,t){if(typeof e!="string")throw new TypeError("Expected `string` for `value`, got `"+e+"`");let r,n;if(t&&typeof t=="object")r=t;else{if(n=t,typeof n!="string")throw new TypeError("Expected `string` for `name`, got `"+n+"`");if(Object.hasOwn(B.languages,n))r=B.languages[n];else throw new Error("Unknown language: `"+n+"` is not registered")}return{type:"root",children:UB.highlight.call(B,e,r,n)}}function nQ(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `syntax`, got `"+e+"`");Object.hasOwn(B.languages,e.displayName)||e(B)}function iQ(e,t){const r=B.languages;let n={};typeof e=="string"?t&&(n[e]=t):n=e;let a;for(a in n)if(Object.hasOwn(n,a)){const s=n[a],l=typeof s=="string"?[s]:s;let c=-1;for(;++c<l.length;)r[l[c]]=r[a]}}function aQ(e){if(typeof e!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return Object.hasOwn(B.languages,e)}function oQ(){const e=B.languages,t=[];let r;for(r in e)Object.hasOwn(e,r)&&typeof e[r]=="object"&&t.push(r);return t}function Zb(e,t){if(typeof e=="string")return{type:"text",value:e};if(Array.isArray(e)){const n=[];let a=-1;for(;++a<e.length;)e[a]!==null&&e[a]!==void 0&&e[a]!==""&&n.push(Zb(e[a],t));return n}const r={attributes:{},classes:["token",e.type],content:Zb(e.content,t),language:t,tag:"span",type:e.type};return e.alias&&r.classes.push(...typeof e.alias=="string"?[e.alias]:e.alias),B.hooks.run("wrap",r),GK(r.tag+"."+r.classes.join("."),lQ(r.attributes),r.content)}function sQ(e){return e}function lQ(e){let t;for(t in e)Object.hasOwn(e,t)&&(e[t]=XK(e[t]));return e}const cQ={'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"}};Cr.displayName="markup";Cr.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function Cr(e){e.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(r,n){var a={};a["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},a.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:a}};s["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var l={};l[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:s},e.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,r){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:e.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}xo.displayName="css";xo.aliases=[];function xo(e){(function(t){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(e)}et.displayName="clike";et.aliases=[];function et(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}gS.displayName="regex";gS.aliases=[];function gS(e){(function(t){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?: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]|.)/,a={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},l="(?:[^\\\\-]|"+n.source+")",c=RegExp(l+"-"+l),h={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};t.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":s,escape:n}},"special-escape":r,"char-set":a,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":h}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":h}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(e)}Rr.displayName="javascript";Rr.aliases=["js"];function Rr(e){e.register(et),e.languages.javascript=e.languages.extend("clike",{"class-name":[e.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}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}mS.displayName="abap";mS.aliases=[];function mS(e){e.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}bS.displayName="abnf";bS.aliases=[];function bS(e){(function(t){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";t.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(e)}yS.displayName="actionscript";yS.aliases=[];function yS(e){e.register(Rr),e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}SS.displayName="ada";SS.aliases=[];function SS(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}CS.displayName="agda";CS.aliases=[];function CS(e){(function(t){t.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(e)}ES.displayName="al";ES.aliases=[];function ES(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}xS.displayName="antlr4";xS.aliases=["g4"];function xS(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}kS.displayName="apacheconf";kS.aliases=[];function kS(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}fu.displayName="sql";fu.aliases=[];function fu(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}TS.displayName="apex";TS.aliases=[];function TS(e){e.register(et),e.register(fu),(function(t){var r=/\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,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return r.source});function a(l){return RegExp(l.replace(/<CLASS-NAME>/g,function(){return n}),"i")}var s={keyword:r,punctuation:/[()\[\]{};,:.<>]/};t.languages.apex={comment:t.languages.clike.comment,string:t.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:t.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:a(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:s},{pattern:a(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:a(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:r,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}})(e)}_S.displayName="apl";_S.aliases=[];function _S(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}wS.displayName="applescript";wS.aliases=[];function wS(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}vS.displayName="aql";vS.aliases=[];function vS(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}hi.displayName="c";hi.aliases=[];function hi(e){e.register(et),e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}tl.displayName="cpp";tl.aliases=[];function tl(e){e.register(hi),(function(t){var r=/\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/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return r.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return r.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:r,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])})(e)}AS.displayName="arduino";AS.aliases=["ino"];function AS(e){e.register(tl),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}RS.displayName="arff";RS.aliases=[];function RS(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}DS.displayName="armasm";DS.aliases=["arm-asm"];function DS(e){e.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},e.languages["arm-asm"]=e.languages.armasm}Tp.displayName="bash";Tp.aliases=["sh","shell"];function Tp(e){(function(t){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:n,environment:{pattern:RegExp("\\$"+r),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("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=t.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=a.variable[1].inside,c=0;c<s.length;c++)l[s[c]]=t.languages.bash[s[c]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash})(e)}_p.displayName="yaml";_p.aliases=["yml"];function _p(e){(function(t){var r=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+n.source+")?)",s=/(?:[^\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}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(h,d){d=(d||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return a}).replace(/<<value>>/g,function(){return h});return RegExp(p,d)}t.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 a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return a}).replace(/<<key>>/g,function(){return"(?:"+s+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\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:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(l),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml})(e)}LS.displayName="markdown";LS.aliases=["md"];function LS(e){e.register(Cr),(function(t){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(c){return c=c.replace(/<inner>/g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+c+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),l=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+l+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+l+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+l+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<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:n(/!?\[(?:(?!\])<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(c){["url","bold","italic","strike","code-snippet"].forEach(function(h){c!==h&&(t.languages.markdown[c].inside.content.inside[h]=t.languages.markdown[h])})}),t.hooks.add("after-tokenize",function(c){if(c.language!=="markdown"&&c.language!=="md")return;function h(d){if(!(!d||typeof d=="string"))for(var p=0,g=d.length;p<g;p++){var b=d[p];if(b.type!=="code"){h(b.content);continue}var m=b.content[1],C=b.content[3];if(m&&C&&m.type==="code-language"&&C.type==="code-block"&&typeof m.content=="string"){var E=m.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");E=(/[a-z][\w-]*/i.exec(E)||[""])[0].toLowerCase();var k="language-"+E;C.alias?typeof C.alias=="string"?C.alias=[C.alias,k]:C.alias.push(k):C.alias=[k]}}}h(c.tokens)}),t.hooks.add("wrap",function(c){if(c.type==="code-block"){for(var h="",d=0,p=c.classes.length;d<p;d++){var g=c.classes[d],b=/language-(.+)/.exec(g);if(b){h=b[1];break}}var m=t.languages[h];if(m)c.content=t.highlight(c.content.value,m,h);else if(h&&h!=="none"&&t.plugins.autoloader){var C="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);c.attributes.id=C,t.plugins.autoloader.loadLanguages(h,function(){var E=document.getElementById(C);E&&(E.innerHTML=t.highlight(E.textContent,t.languages[h],h))})}}}),RegExp(t.languages.markup.tag.pattern.source,"gi"),t.languages.md=t.languages.markdown})(e)}NS.displayName="arturo";NS.aliases=["art"];function NS(e){(function(t){var r=function(n,a){return{pattern:RegExp(/\{!/.source+"(?:"+(a||n)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+n,inside:t.languages[n]},string:/[\s\S]+/}}};t.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":r("html"),"css-string":r("css"),"js-string":r("js"),"md-string":r("md"),"sql-string":r("sql"),"sh-string":r("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},t.languages.art=t.languages.arturo})(e)}OS.displayName="asciidoc";OS.aliases=["adoc"];function OS(e){(function(t){var r={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+$).+/}},n=t.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,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:r.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:r,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 a(s){s=s.split(" ");for(var l={},c=0,h=s.length;c<h;c++)l[s[c]]=n[s[c]];return l}r.inside.interpreted.inside.rest=a("macro inline replacement entity"),n["passthrough-block"].inside.rest=a("macro"),n["literal-block"].inside.rest=a("callout"),n.table.inside.rest=a("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"),n["other-block"].inside.rest=a("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),n.title.inside.rest=a("macro inline replacement entity"),t.hooks.add("wrap",function(s){s.type==="entity"&&(s.attributes.title=s.content.value.replace(/&amp;/,"&"))}),t.languages.adoc=t.languages.asciidoc})(e)}rl.displayName="csharp";rl.aliases=["cs","dotnet"];function rl(e){e.register(et),(function(t){function r(L,U){return L.replace(/<<(\d+)>>/g,function(ee,N){return"(?:"+U[+N]+")"})}function n(L,U,ee){return RegExp(r(L,U),"")}function a(L,U){for(var ee=0;ee<U;ee++)L=L.replace(/<<self>>/g,function(){return"(?:"+L+")"});return L.replace(/<<self>>/g,"[^\\s\\S]")}var s={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 l(L){return"\\b(?:"+L.trim().replace(/ /g,"|")+")\\b"}var c=l(s.typeDeclaration),h=RegExp(l(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),d=l(s.typeDeclaration+" "+s.contextual+" "+s.other),p=l(s.type+" "+s.typeDeclaration+" "+s.other),g=a(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),b=a(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,C=r(/<<0>>(?:\s*<<1>>)?/.source,[m,g]),E=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,C]),k=/\[\s*(?:,\s*)*\]/.source,x=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[E,k]),w=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[g,b,k]),v=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),O=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[v,E,k]),F={keyword:h,punctuation:/[<>()?,.:[\]]/},R=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,$=/"(?:\\.|[^\\"\r\n])*"/.source,z=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[z]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[$]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[E]),lookbehind:!0,inside:F},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,O]),lookbehind:!0,inside:F},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,C]),lookbehind:!0,inside:F},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[E]),lookbehind:!0,inside:F},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[x]),lookbehind:!0,inside:F},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[O,p,m]),inside:F}],keyword:h,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[b]),lookbehind:!0,alias:"class-name",inside:F},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[O,E]),inside:F,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[O]),lookbehind:!0,inside:F,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,g]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(g),alias:"class-name",inside:F}}},"type-list":{pattern:n(/\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,[c,C,m,O,h.source,b,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[C,b]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:h,"class-name":{pattern:RegExp(O),greedy:!0,inside:F},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 K=$+"|"+R,M=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[K]),q=a(r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),X=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,J=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[E,q]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[X,J]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[X]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[q]),inside:t.languages.csharp},"class-name":{pattern:RegExp(E),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var W=/:[^}\r\n]+/.source,H=a(r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),I=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[H,W]),P=a(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[K]),2),V=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,W]);function se(L,U){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[L]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[U,W]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:se(I,H)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[V]),lookbehind:!0,greedy:!0,inside:se(V,P)}],char:{pattern:RegExp(R),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp})(e)}IS.displayName="aspnet";IS.aliases=[];function IS(e){e.register(rl),e.register(Cr),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}BS.displayName="asm6502";BS.aliases=[];function BS(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}FS.displayName="asmatmel";FS.aliases=[];function FS(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}MS.displayName="autohotkey";MS.aliases=[];function MS(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}US.displayName="autoit";US.aliases=[];function US(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}$S.displayName="avisynth";$S.aliases=["avs"];function $S(e){(function(t){function r(d,p){return d.replace(/<<(\d+)>>/g,function(g,b){return p[+b]})}function n(d,p,g){return RegExp(r(d,p),g)}var a=/bool|clip|float|int|string|val/.source,s=[/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("|"),l=[/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("|"),c=[/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("|"),h=[s,l,c].join("|");t.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:n(/\b(?:<<0>>)\s+("?)\w+\1/.source,[a],"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:n(/\b(?:<<0>>)\b/.source,[h],"i"),alias:"function"},"type-cast":{pattern:n(/\b(?:<<0>>)(?=\s*\()/.source,[a],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},t.languages.avs=t.languages.avisynth})(e)}zS.displayName="avro-idl";zS.aliases=["avdl"];function zS(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}PS.displayName="awk";PS.aliases=["gawk"];function PS(e){e.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},e.languages.gawk=e.languages.awk}wp.displayName="basic";wp.aliases=[];function wp(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}HS.displayName="batch";HS.aliases=[];function HS(e){(function(t){var r=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,s=/(?:\b|-)\d+\b/;t.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:n,variable:r,number:s,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:a,parameter:n,variable:r,number:s,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:a,parameter:n,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:s,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(e)}qS.displayName="bbcode";qS.aliases=["shortcode"];function qS(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}GS.displayName="bbj";GS.aliases=[];function GS(e){(function(t){t.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(e)}jS.displayName="bicep";jS.aliases=[];function jS(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}WS.displayName="birb";WS.aliases=[];function WS(e){e.register(et),e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}YS.displayName="bison";YS.aliases=[];function YS(e){e.register(hi),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}VS.displayName="bnf";VS.aliases=["rbnf"];function VS(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}XS.displayName="bqn";XS.aliases=[];function XS(e){e.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}ZS.displayName="brainfuck";ZS.aliases=[];function ZS(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}KS.displayName="brightscript";KS.aliases=[];function KS(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}QS.displayName="bro";QS.aliases=[];function QS(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}JS.displayName="bsl";JS.aliases=["oscript"];function JS(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}eC.displayName="cfscript";eC.aliases=["cfc"];function eC(e){e.register(et),e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}tC.displayName="chaiscript";tC.aliases=[];function tC(e){e.register(et),e.register(tl),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}rC.displayName="cil";rC.aliases=[];function rC(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}nC.displayName="cilkc";nC.aliases=["cilk-c"];function nC(e){e.register(hi),e.languages.cilkc=e.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-c"]=e.languages.cilkc}iC.displayName="cilkcpp";iC.aliases=["cilk","cilk-cpp"];function iC(e){e.register(tl),e.languages.cilkcpp=e.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-cpp"]=e.languages.cilkcpp,e.languages.cilk=e.languages.cilkcpp}aC.displayName="clojure";aC.aliases=[];function aC(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}oC.displayName="cmake";oC.aliases=[];function oC(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}sC.displayName="cobol";sC.aliases=[];function sC(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}lC.displayName="coffeescript";lC.aliases=["coffee"];function lC(e){e.register(Rr),(function(t){var r=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};t.languages.coffeescript=t.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),t.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:n}}}),t.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:t.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),t.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete t.languages.coffeescript["template-string"],t.languages.coffee=t.languages.coffeescript})(e)}cC.displayName="concurnas";cC.aliases=["conc"];function cC(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}uC.displayName="csp";uC.aliases=[];function uC(e){(function(t){function r(n){return RegExp(/([ \t])/.source+"(?:"+n+")"+/(?=[\s;]|$)/.source,"i")}t.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:r(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:r(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:r(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:r(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:r(/[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:r(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:r(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(e)}hC.displayName="cooklang";hC.aliases=[];function hC(e){(function(t){var r=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,n=/[^{}@#]+/.source,a=/\{[^}#@]*\}/.source,s=n+a,l=/(?:h|hours|hrs|m|min|minutes)/.source,c={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};t.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+s+"|"+r+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+n+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+n),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+s+"|"+r+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+n+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":c}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+l+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(e)}dC.displayName="coq";dC.aliases=[];function dC(e){(function(t){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,n=0;n<2;n++)r=r.replace(/<self>/g,function(){return r});r=r.replace(/<self>/g,"[]"),t.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(e)}nl.displayName="ruby";nl.aliases=["rb"];function nl(e){e.register(et),(function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var n="(?:"+[/([^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("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,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:r,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+n),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.languages.ruby})(e)}pC.displayName="crystal";pC.aliases=[];function pC(e){e.register(nl),(function(t){t.languages.crystal=t.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,t.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),t.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:t.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})})(e)}fC.displayName="css-extras";fC.aliases=[];function fC(e){e.register(xo),(function(t){var r=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n;t.languages.css.selector={pattern:t.languages.css.selector.pattern,lookbehind:!0,inside:n={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+r.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":[r,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},t.languages.css.atrule.inside["selector-function-argument"].inside=n,t.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},s={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};t.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:s})})(e)}gC.displayName="csv";gC.aliases=[];function gC(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}mC.displayName="cue";mC.aliases=[];function mC(e){(function(t){var r=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,n=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,a="(?:"+n.replace(/<esc>/g,r)+")";t.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+a+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},t.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=t.languages.cue})(e)}bC.displayName="cypher";bC.aliases=[];function bC(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}yC.displayName="d";yC.aliases=[];function yC(e){e.register(et),e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}SC.displayName="dart";SC.aliases=[];function SC(e){e.register(et),(function(t){var r=[/\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/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};t.languages.dart=t.languages.extend("clike",{"class-name":[a,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),t.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.dart}}},string:/[\s\S]+/}},string:void 0}),t.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),t.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(e)}CC.displayName="dataweave";CC.aliases=[];function CC(e){(function(t){t.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(e)}EC.displayName="dax";EC.aliases=[];function EC(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}xC.displayName="dhall";xC.aliases=[];function xC(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}kC.displayName="diff";kC.aliases=[];function kC(e){(function(t){t.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(n){var a=r[n],s=[];/^\w+$/.test(n)||s.push(/\w+/.exec(n)[0]),n==="diff"&&s.push("bold"),t.languages.diff[n]={pattern:RegExp("^(?:["+a+`].*(?:\r
344
+ ?|
345
+ |(?![\\s\\S])))+`,"m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:r})})(e)}Dr.displayName="markup-templating";Dr.aliases=[];function Dr(e){e.register(Cr),(function(t){function r(n,a){return"___"+n.toUpperCase()+a+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,s,l){if(n.language===a){var c=n.tokenStack=[];n.code=n.code.replace(s,function(h){if(typeof l=="function"&&!l(h))return h;for(var d=c.length,p;n.code.indexOf(p=r(a,d))!==-1;)++d;return c[d]=h,p}),n.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language!==a||!n.tokenStack)return;n.grammar=t.languages[a];var s=0,l=Object.keys(n.tokenStack);function c(h){for(var d=0;d<h.length&&!(s>=l.length);d++){var p=h[d];if(typeof p=="string"||p.content&&typeof p.content=="string"){var g=l[s],b=n.tokenStack[g],m=typeof p=="string"?p:p.content,C=r(a,g),E=m.indexOf(C);if(E>-1){++s;var k=m.substring(0,E),x=new t.Token(a,t.tokenize(b,n.grammar),"language-"+a,b),w=m.substring(E+C.length),v=[];k&&v.push.apply(v,c([k])),v.push(x),w&&v.push.apply(v,c([w])),typeof p=="string"?h.splice.apply(h,[d,1].concat(v)):p.content=v}}else p.content&&c(p.content)}return h}c(n.tokens)}}})})(e)}TC.displayName="django";TC.aliases=["jinja2"];function TC(e){e.register(Dr),(function(t){t.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var r=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=t.languages["markup-templating"];t.hooks.add("before-tokenize",function(a){n.buildPlaceholders(a,"django",r)}),t.hooks.add("after-tokenize",function(a){n.tokenizePlaceholders(a,"django")}),t.languages.jinja2=t.languages.django,t.hooks.add("before-tokenize",function(a){n.buildPlaceholders(a,"jinja2",r)}),t.hooks.add("after-tokenize",function(a){n.tokenizePlaceholders(a,"jinja2")})})(e)}_C.displayName="dns-zone-file";_C.aliases=["dns-zone"];function _C(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}wC.displayName="docker";wC.aliases=["dockerfile"];function wC(e){(function(t){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return r}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return a}),l={pattern:RegExp(a),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function h(d,p){return d=d.replace(/<OPT>/g,function(){return s}).replace(/<SP>/g,function(){return n}),RegExp(d,p)}t.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:h(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[l,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:h(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:h(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:h(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:l,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},t.languages.dockerfile=t.languages.docker})(e)}vC.displayName="dot";vC.aliases=["gv"];function vC(e){(function(t){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:t.languages.markup}};function a(s,l){return RegExp(s.replace(/<ID>/g,function(){return r}),l)}t.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:a(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:a(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},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:a(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},t.languages.gv=t.languages.dot})(e)}AC.displayName="ebnf";AC.aliases=[];function AC(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}RC.displayName="editorconfig";RC.aliases=[];function RC(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}DC.displayName="eiffel";DC.aliases=[];function DC(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}LC.displayName="ejs";LC.aliases=["eta"];function LC(e){e.register(Rr),e.register(Dr),(function(t){t.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:t.languages.javascript}},t.hooks.add("before-tokenize",function(r){var n=/<%(?!%)[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(r,"ejs",n)}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"ejs")}),t.languages.eta=t.languages.ejs})(e)}NC.displayName="elixir";NC.aliases=[];function NC(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}OC.displayName="elm";OC.aliases=[];function OC(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}vp.displayName="lua";vp.aliases=[];function vp(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}IC.displayName="etlua";IC.aliases=[];function IC(e){e.register(vp),e.register(Dr),(function(t){t.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:t.languages.lua}},t.hooks.add("before-tokenize",function(r){var n=/<%[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(r,"etlua",n)}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"etlua")})})(e)}BC.displayName="erb";BC.aliases=[];function BC(e){e.register(Dr),e.register(nl),(function(t){t.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:t.languages.ruby}},t.hooks.add("before-tokenize",function(r){var n=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;t.languages["markup-templating"].buildPlaceholders(r,"erb",n)}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"erb")})})(e)}FC.displayName="erlang";FC.aliases=[];function FC(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}MC.displayName="excel-formula";MC.aliases=["xls","xlsx"];function MC(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}UC.displayName="fsharp";UC.aliases=[];function UC(e){e.register(et),e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}$C.displayName="factor";$C.aliases=[];function $C(e){(function(t){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},a={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],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:n.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:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"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:n}},s=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},l=function(d){return new RegExp("(^|\\s)(?:"+d.map(s).join("|")+")(?=\\s|$)")},c={"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(c).forEach(function(d){a[d].pattern=l(c[d])});var h=["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"];a.combinators.pattern=l(h),t.languages.factor=a})(e)}zC.displayName="false";zC.aliases=[];function zC(e){(function(t){t.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(e)}PC.displayName="firestore-security-rules";PC.aliases=[];function PC(e){e.register(et),e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}HC.displayName="flow";HC.aliases=[];function HC(e){e.register(Rr),(function(t){t.languages.flow=t.languages.extend("javascript",{}),t.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),t.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete t.languages.flow.parameter,t.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(t.languages.flow.keyword)||(t.languages.flow.keyword=[t.languages.flow.keyword]),t.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(e)}qC.displayName="fortran";qC.aliases=[];function qC(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}GC.displayName="ftl";GC.aliases=[];function GC(e){e.register(Dr),(function(t){for(var r=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)r=r.replace(/<expr>/g,function(){return r});r=r.replace(/<expr>/g,/[^\s\S]/.source);var a={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return r})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return r})),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:/[,;.:()[\]{}]/};a.string[1].inside.interpolation.inside.rest=a,t.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:a}}}},t.hooks.add("before-tokenize",function(s){var l=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return r}),"gi");t.languages["markup-templating"].buildPlaceholders(s,"ftl",l)}),t.hooks.add("after-tokenize",function(s){t.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})})(e)}jC.displayName="gml";jC.aliases=["gamemakerlanguage"];function jC(e){e.register(et),e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}WC.displayName="gap";WC.aliases=[];function WC(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}YC.displayName="gcode";YC.aliases=[];function YC(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}VC.displayName="gdscript";VC.aliases=[];function VC(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}XC.displayName="gedcom";XC.aliases=[];function XC(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}ZC.displayName="gettext";ZC.aliases=["po"];function ZC(e){e.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},e.languages.po=e.languages.gettext}KC.displayName="gherkin";KC.aliases=[];function KC(e){(function(t){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;t.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(e)}QC.displayName="git";QC.aliases=[];function QC(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}JC.displayName="glsl";JC.aliases=[];function JC(e){e.register(hi),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e0.displayName="gn";e0.aliases=["gni"];function e0(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}t0.displayName="linker-script";t0.aliases=["ld"];function t0(e){e.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},e.languages.ld=e.languages["linker-script"]}r0.displayName="go";r0.aliases=[];function r0(e){e.register(et),e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}n0.displayName="go-module";n0.aliases=["go-mod"];function n0(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}i0.displayName="gradle";i0.aliases=[];function i0(e){e.register(et),(function(t){var r={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.gradle=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}}}),t.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),r.inside.expression.inside=t.languages.gradle})(e)}a0.displayName="graphql";a0.aliases=[];function a0(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var n=r.tokens.filter(function(k){return typeof k!="string"&&k.type!=="comment"&&k.type!=="scalar"}),a=0;function s(k){return n[a+k]}function l(k,x){x=x||0;for(var w=0;w<k.length;w++){var v=s(w+x);if(!v||v.type!==k[w])return!1}return!0}function c(k,x){for(var w=1,v=a;v<n.length;v++){var O=n[v],F=O.content;if(O.type==="punctuation"&&typeof F=="string"){if(k.test(F))w++;else if(x.test(F)&&(w--,w===0))return v}}return-1}function h(k,x){var w=k.alias;w?Array.isArray(w)||(k.alias=w=[w]):k.alias=w=[],w.push(x)}for(;a<n.length;){var d=n[a++];if(d.type==="keyword"&&d.content==="mutation"){var p=[];if(l(["definition-mutation","punctuation"])&&s(1).content==="("){a+=2;var g=c(/^\($/,/^\)$/);if(g===-1)continue;for(;a<g;a++){var b=s(0);b.type==="variable"&&(h(b,"variable-input"),p.push(b.content))}a=g+1}if(l(["punctuation","property-query"])&&s(0).content==="{"&&(a++,h(s(0),"property-mutation"),p.length>0)){var m=c(/^\{$/,/^\}$/);if(m===-1)continue;for(var C=a;C<m;C++){var E=n[C];E.type==="variable"&&p.indexOf(E.content)>=0&&h(E,"variable-input")}}}}})}o0.displayName="groovy";o0.aliases=[];function o0(e){e.register(et),(function(t){var r={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),r.inside.expression.inside=t.languages.groovy})(e)}s0.displayName="less";s0.aliases=[];function s0(e){e.register(xo),e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}l0.displayName="scss";l0.aliases=[];function l0(e){e.register(xo),e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}c0.displayName="textile";c0.aliases=[];function c0(e){e.register(Cr),(function(t){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function a(g,b){return RegExp(g.replace(/<MOD>/g,function(){return"(?:"+r+")"}).replace(/<PAR>/g,function(){return"(?:"+n+")"}),b||"")}var s={css:{pattern:/\{[^{}]+\}/,inside:{rest:t.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},l=t.languages.textile=t.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:s},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")<MOD>+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:s},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:/[()]/}}}}}),c=l.phrase.inside,h={inline:c.inline,link:c.link,image:c.image,footnote:c.footnote,acronym:c.acronym,mark:c.mark};l.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=c.inline.inside;d.bold.inside=h,d.italic.inside=h,d.inserted.inside=h,d.deleted.inside=h,d.span.inside=h;var p=c.table.inside;p.inline=h.inline,p.link=h.link,p.image=h.image,p.footnote=h.footnote,p.acronym=h.acronym,p.mark=h.mark})(e)}u0.displayName="haml";u0.aliases=[];function u0(e){e.register(nl),(function(t){t.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:t.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:t.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:t.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:t.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:t.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:t.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var r="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",n=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],a={},s=0,l=n.length;s<l;s++){var c=n[s];c=typeof c=="string"?{filter:c,language:c}:c,t.languages[c.language]&&(a["filter-"+c.filter]={pattern:RegExp(r.replace("{{filter_name}}",function(){return c.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[c.language,"language-"+c.language],inside:t.languages[c.language]}}})}t.languages.insertBefore("haml","filter",a)})(e)}h0.displayName="handlebars";h0.aliases=["hbs","mustache"];function h0(e){e.register(Dr),(function(t){t.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},t.hooks.add("before-tokenize",function(r){var n=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;t.languages["markup-templating"].buildPlaceholders(r,"handlebars",n)}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"handlebars")}),t.languages.hbs=t.languages.handlebars,t.languages.mustache=t.languages.handlebars})(e)}gu.displayName="haskell";gu.aliases=["hs"];function gu(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}d0.displayName="haxe";d0.aliases=[];function d0(e){e.register(et),e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}p0.displayName="hcl";p0.aliases=[];function p0(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}f0.displayName="hlsl";f0.aliases=[];function f0(e){e.register(hi),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}g0.displayName="hoon";g0.aliases=[];function g0(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}m0.displayName="hpkp";m0.aliases=[];function m0(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}b0.displayName="hsts";b0.aliases=[];function b0(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}mu.displayName="json";mu.aliases=["webmanifest"];function mu(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}y0.displayName="uri";y0.aliases=["url"];function y0(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}S0.displayName="http";S0.aliases=[];function S0(e){(function(t){function r(p){return RegExp("(^(?:"+p+"):[ ]*(?![ ]))[^]+","i")}t.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:t.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:t.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:t.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:t.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n=t.languages,a={"application/javascript":n.javascript,"application/json":n.json||n.javascript,"application/xml":n.xml,"text/xml":n.xml,"text/html":n.html,"text/css":n.css,"text/plain":n.plain},s={"application/json":!0,"application/xml":!0};function l(p){var g=p.replace(/^[a-z]+\//,""),b="\\w+/(?:[\\w.-]+\\+)+"+g+"(?![+\\w.-])";return"(?:"+p+"|"+b+")"}var c;for(var h in a)if(a[h]){c=c||{};var d=s[h]?l(h):h;c[h.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:a[h]}}c&&t.languages.insertBefore("http","header",c)})(e)}C0.displayName="ichigojam";C0.aliases=[];function C0(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}E0.displayName="icon";E0.aliases=[];function E0(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}x0.displayName="icu-message-format";x0.aliases=[];function x0(e){(function(t){function r(h,d){return d<=0?/[]/.source:h.replace(/<SELF>/g,function(){return r(h,d-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:n,greedy:!0,inside:{escape:a}},l=r(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return n.source}),8),c={pattern:RegExp(l),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};t.languages["icu-message-format"]={argument:{pattern:RegExp(l),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":c,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":c,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+r(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:s},c.inside.message.inside=t.languages["icu-message-format"],t.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=t.languages["icu-message-format"]})(e)}k0.displayName="idris";k0.aliases=["idr"];function k0(e){e.register(gu),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}T0.displayName="ignore";T0.aliases=["gitignore","hgignore","npmignore"];function T0(e){(function(t){t.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},t.languages.gitignore=t.languages.ignore,t.languages.hgignore=t.languages.ignore,t.languages.npmignore=t.languages.ignore})(e)}_0.displayName="inform7";_0.aliases=[];function _0(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}w0.displayName="ini";w0.aliases=[];function w0(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}v0.displayName="io";v0.aliases=[];function v0(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}A0.displayName="j";A0.aliases=[];function A0(e){e.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:/[()]/}}il.displayName="java";il.aliases=[];function il(e){e.register(et),(function(t){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:a.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:a.inside}],keyword:r,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:a.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:a.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(e)}al.displayName="php";al.aliases=[];function al(e){e.register(Dr),(function(t){var r=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{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*\()/],a=/\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=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:r,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:s,punctuation:l};var c={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},h=[{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:c}},{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:c}}];t.languages.insertBefore("php","variable",{string:h,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:r,string:h,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:s,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(d){if(/<\?/.test(d.code)){var p=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;t.languages["markup-templating"].buildPlaceholders(d,"php",p)}}),t.hooks.add("after-tokenize",function(d){t.languages["markup-templating"].tokenizePlaceholders(d,"php")})})(e)}ol.displayName="javadoclike";ol.aliases=[];function ol(e){(function(t){var r=t.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function n(s,l){var c="doc-comment",h=t.languages[s];if(h){var d=h[c];if(!d){var p={};p[c]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},h=t.languages.insertBefore(s,"comment",p),d=h[c]}if(d instanceof RegExp&&(d=h[c]={pattern:d}),Array.isArray(d))for(var g=0,b=d.length;g<b;g++)d[g]instanceof RegExp&&(d[g]={pattern:d[g]}),l(d[g]);else l(d)}}function a(s,l){typeof s=="string"&&(s=[s]),s.forEach(function(c){n(c,function(h){h.inside||(h.inside={}),h.inside.rest=l})})}Object.defineProperty(r,"addSupport",{value:a}),r.addSupport(["java","javascript","php"],r)})(e)}R0.displayName="scala";R0.aliases=[];function R0(e){e.register(il),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function,delete e.languages.scala.constant}D0.displayName="javadoc";D0.aliases=[];function D0(e){e.register(il),e.register(ol),e.register(Cr),(function(t){var r=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,a=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return n});t.languages.javadoc=t.languages.extend("javadoclike",{}),t.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+a+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:t.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:r,lookbehind:!0,inside:t.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:r,lookbehind:!0,inside:{tag:t.languages.markup.tag,entity:t.languages.markup.entity,code:{pattern:/.+/,inside:t.languages.java,alias:"language-java"}}}}}],tag:t.languages.markup.tag,entity:t.languages.markup.entity}),t.languages.javadoclike.addSupport("java",t.languages.javadoc)})(e)}L0.displayName="javastacktrace";L0.aliases=[];function L0(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<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/}}}}N0.displayName="jexl";N0.aliases=[];function N0(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}O0.displayName="jolie";O0.aliases=[];function O0(e){e.register(et),e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}I0.displayName="jq";I0.aliases=[];function I0(e){(function(t){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),a={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},s=t.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:a},string:{pattern:n,lookbehind:!0,greedy:!0,inside:a},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"}};a.interpolation.inside.content.inside=s})(e)}B0.displayName="js-templates";B0.aliases=[];function B0(e){e.register(Rr),(function(t){var r=t.languages.javascript["template-string"],n=r.pattern.source,a=r.inside.interpolation,s=a.inside["interpolation-punctuation"],l=a.pattern.source;function c(C,E){if(t.languages[C])return{pattern:RegExp("((?:"+E+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:C}}}}t.languages.javascript["template-string"]=[c("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),c("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),c("svg",/\bsvg/.source),c("markdown",/\b(?:markdown|md)/.source),c("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),c("sql",/\bsql/.source),r].filter(Boolean);function h(C,E){return"___"+E.toUpperCase()+"_"+C+"___"}function d(C,E,k){var x={code:C,grammar:E,language:k};return t.hooks.run("before-tokenize",x),x.tokens=t.tokenize(x.code,x.grammar),t.hooks.run("after-tokenize",x),x.tokens}function p(C){var E={};E["interpolation-punctuation"]=s;var k=t.tokenize(C,E);if(k.length===3){var x=[1,1];x.push.apply(x,d(k[1],t.languages.javascript,"javascript")),k.splice.apply(k,x)}return new t.Token("interpolation",k,a.alias,C)}function g(C,E,k){var x=t.tokenize(C,{interpolation:{pattern:RegExp(l),lookbehind:!0}}),w=0,v={},O=x.map(function(z){if(typeof z=="string")return z;for(var K=z.content,M;C.indexOf(M=h(w++,k))!==-1;);return v[M]=K,M}).join(""),F=d(O,E,k),R=Object.keys(v);w=0;function $(z){for(var K=0;K<z.length;K++){if(w>=R.length)return;var M=z[K];if(typeof M=="string"||typeof M.content=="string"){var q=R[w],X=typeof M=="string"?M:M.content,J=X.indexOf(q);if(J!==-1){++w;var W=X.substring(0,J),H=p(v[q]),I=X.substring(J+q.length),P=[];if(W&&P.push(W),P.push(H),I){var V=[I];$(V),P.push.apply(P,V)}typeof M=="string"?(z.splice.apply(z,[K,1].concat(P)),K+=P.length-1):M.content=P}}else{var se=M.content;Array.isArray(se)?$(se):$([se])}}}return $(F),new t.Token(k,F,"language-"+k,C)}var b={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};t.hooks.add("after-tokenize",function(C){if(!(C.language in b))return;function E(k){for(var x=0,w=k.length;x<w;x++){var v=k[x];if(typeof v!="string"){var O=v.content;if(!Array.isArray(O)){typeof O!="string"&&E([O]);continue}if(v.type==="template-string"){var F=O[1];if(O.length===3&&typeof F!="string"&&F.type==="embedded-code"){var R=m(F),$=F.alias,z=Array.isArray($)?$[0]:$,K=t.languages[z];if(!K)continue;O[1]=g(R,K,z)}}else E(O)}}}E(C.tokens)});function m(C){return typeof C=="string"?C:Array.isArray(C)?C.map(m).join(""):m(C.content)}})(e)}bu.displayName="typescript";bu.aliases=["ts"];function bu(e){e.register(Rr),(function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var r=t.languages.extend("typescript",{});delete r["class-name"],t.languages.typescript["class-name"].inside=r,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),t.languages.ts=t.languages.typescript})(e)}F0.displayName="jsdoc";F0.aliases=[];function F0(e){e.register(ol),e.register(Rr),e.register(bu),(function(t){var r=t.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,a="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";t.languages.jsdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp(a+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(a+/\[(?:(?!\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:r,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 n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:r.string,number:r.number,boolean:r.boolean,keyword:t.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:r,alias:"language-javascript"}}}}),t.languages.javadoclike.addSupport("javascript",t.languages.jsdoc)})(e)}M0.displayName="n4js";M0.aliases=["n4jsd"];function M0(e){e.register(Rr),e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}U0.displayName="js-extras";U0.aliases=[];function U0(e){e.register(Rr),(function(t){t.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+t.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),t.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+t.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),t.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(h,d){return RegExp(h.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}t.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:t.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:t.languages.javascript}}),t.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),t.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),t.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\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 n=["function","function-variable","method","method-variable","property-access"],a=0;a<n.length;a++){var s=n[a],l=t.languages.javascript[s];t.util.type(l)==="RegExp"&&(l=t.languages.javascript[s]={pattern:l});var c=l.inside||{};l.inside=c,c["maybe-class-name"]=/^[A-Z][\s\S]*/}})(e)}$0.displayName="json5";$0.aliases=[];function $0(e){e.register(mu),(function(t){var r=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;t.languages.json5=t.languages.extend("json",{property:[{pattern:RegExp(r.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:r,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(e)}z0.displayName="jsonp";z0.aliases=[];function z0(e){e.register(mu),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}P0.displayName="jsstacktrace";P0.aliases=[];function P0(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<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:/:/}}}}}}H0.displayName="julia";H0.aliases=[];function H0(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}q0.displayName="keepalived";q0.aliases=[];function q0(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<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:/[\{\}]/}}G0.displayName="keyman";G0.aliases=[];function G0(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}j0.displayName="kotlin";j0.aliases=["kt","kts"];function j0(e){e.register(et),(function(t){t.languages.kotlin=t.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete t.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.kotlin}};t.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete t.languages.kotlin.string,t.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),t.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),t.languages.kt=t.languages.kotlin,t.languages.kts=t.languages.kotlin})(e)}W0.displayName="kumir";W0.aliases=["kum"];function W0(e){(function(t){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(a,s){return RegExp(a.replace(/<nonId>/g,r),s)}t.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},t.languages.kum=t.languages.kumir})(e)}Y0.displayName="kusto";Y0.aliases=[];function Y0(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}V0.displayName="latex";V0.aliases=["context","tex"];function V0(e){(function(t){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:r,alias:"regex"}};t.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,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:r,alias:"selector"},punctuation:/[[\]{}&]/},t.languages.tex=t.languages.latex,t.languages.context=t.languages.latex})(e)}X0.displayName="latte";X0.aliases=[];function X0(e){e.register(et),e.register(Dr),e.register(al),(function(t){t.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:t.languages.php}};var r=t.languages.extend("markup",{});t.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.php}}}}}},r.tag),t.hooks.add("before-tokenize",function(n){if(n.language==="latte"){var a=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;t.languages["markup-templating"].buildPlaceholders(n,"latte",a),n.grammar=r}}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"latte")})})(e)}yu.displayName="scheme";yu.aliases=[];function yu(e){(function(t){t.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"<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 r(n){for(var a in n)n[a]=n[a].replace(/<[\w\s]+>/g,function(s){return"(?:"+n[s].trim()+")"});return n[a]}})(e)}Z0.displayName="lilypond";Z0.aliases=["ly"];function Z0(e){e.register(yu),(function(t){for(var r=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,n=5,a=0;a<n;a++)r=r.replace(/<expr>/g,function(){return r});r=r.replace(/<expr>/g,/[^\s\S]/.source);var s=t.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return r}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:t.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,t.languages.ly=s})(e)}K0.displayName="liquid";K0.aliases=[];function K0(e){e.register(Dr),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var r=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",r,function(a){var s=/^\{%-?\s*(\w+)/.exec(a);if(s){var l=s[1];if(l==="raw"&&!n)return n=!0,!0;if(l==="endraw")return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}Q0.displayName="lisp";Q0.aliases=["elisp","emacs","emacs-lisp"];function Q0(e){(function(t){function r(C){return RegExp(/(\()/.source+"(?:"+C+")"+/(?=[\s\)])/.source)}function n(C){return RegExp(/([\s([])/.source+"(?:"+C+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+a,l="(\\()",c="(?=\\))",h="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(l+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+h),lookbehind:!0},{pattern:RegExp(l+"(?:append|by|collect|concat|do|finally|for|in|return)"+h),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(l+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(l+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(l+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(l+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},g={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+d+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:p},b="\\S+(?:\\s+\\S+)*",m={pattern:RegExp(l+d+c),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+b),inside:g},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+b),inside:g},keys:{pattern:RegExp("&key\\s+"+b+"(?:\\s+&allow-other-keys)?"),inside:g},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=m,p.defun.inside.arguments=t.util.clone(m),p.defun.inside.arguments.inside.sublist=m,t.languages.lisp=p,t.languages.elisp=p,t.languages.emacs=p,t.languages["emacs-lisp"]=p})(e)}J0.displayName="livescript";J0.aliases=[];function J0(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}eE.displayName="llvm";eE.aliases=[];function eE(e){(function(t){t.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(e)}tE.displayName="log";tE.aliases=[];function tE(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}rE.displayName="lolcode";rE.aliases=[];function rE(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}nE.displayName="magma";nE.aliases=[];function nE(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}iE.displayName="makefile";iE.aliases=[];function iE(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}Ap.displayName="mata";Ap.aliases=[];function Ap(e){(function(t){var r=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,n=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,r);t.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(n),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(e)}aE.displayName="matlab";aE.aliases=[];function aE(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}oE.displayName="maxscript";oE.aliases=[];function oE(e){(function(t){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;t.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.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:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(e)}sE.displayName="mel";sE.aliases=[];function sE(e){e.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},e.languages.mel.code.inside.statement.inside=e.languages.mel}lE.displayName="mermaid";lE.aliases=[];function lE(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>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:/[(){};]/}}cE.displayName="metafont";cE.aliases=[];function cE(e){e.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}uE.displayName="mizar";uE.aliases=[];function uE(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}hE.displayName="mongodb";hE.aliases=[];function hE(e){e.register(Rr),(function(t){var r=["$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"],n=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(s){return s.replace("$","\\$")});var a="(?:"+r.join("|")+")\\b";t.languages.mongodb=t.languages.extend("javascript",{}),t.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+a+"(?:\\1)?$")}}}),t.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},t.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+n.join("|")+")\\b"),alias:"keyword"}})})(e)}dE.displayName="monkey";dE.aliases=[];function dE(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}pE.displayName="moonscript";pE.aliases=["moon"];function pE(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}fE.displayName="n1ql";fE.aliases=[];function fE(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}gE.displayName="nand2tetris-hdl";gE.aliases=[];function gE(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}mE.displayName="naniscript";mE.aliases=["nani"];function mE(e){(function(t){var r=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};t.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,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:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},t.languages.nani=t.languages.naniscript,t.hooks.add("after-tokenize",function(l){var c=l.tokens;c.forEach(function(h){if(typeof h!="string"&&h.type==="generic-text"){var d=s(h);a(d)||(h.type="bad-line",h.content=d)}})});function a(l){for(var c="[]{}",h=[],d=0;d<l.length;d++){var p=l[d],g=c.indexOf(p);if(g!==-1){if(g%2===0)h.push(g+1);else if(h.pop()!==g)return!1}}return h.length===0}function s(l){return typeof l=="string"?l:Array.isArray(l)?l.map(s).join(""):s(l.content)}})(e)}bE.displayName="nasm";bE.aliases=[];function bE(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}yE.displayName="neon";yE.aliases=[];function yE(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}SE.displayName="nevod";SE.aliases=[];function SE(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}CE.displayName="nginx";CE.aliases=[];function CE(e){(function(t){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},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:r}},punctuation:/[{};]/}})(e)}EE.displayName="nim";EE.aliases=[];function EE(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}xE.displayName="nix";xE.aliases=[];function xE(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}kE.displayName="nsis";kE.aliases=[];function kE(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}TE.displayName="objectivec";TE.aliases=["objc"];function TE(e){e.register(hi),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}_E.displayName="ocaml";_E.aliases=[];function _E(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}wE.displayName="odin";wE.aliases=[];function wE(e){(function(t){var r=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;t.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:r}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:r}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(e)}vE.displayName="opencl";vE.aliases=[];function vE(e){e.register(hi),(function(t){t.languages.opencl=t.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),t.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var r={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};t.languages.insertBefore("c","keyword",r),t.languages.cpp&&(r["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},t.languages.insertBefore("cpp","keyword",r))})(e)}AE.displayName="openqasm";AE.aliases=["qasm"];function AE(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}RE.displayName="oz";RE.aliases=[];function RE(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}DE.displayName="parigp";DE.aliases=[];function DE(e){e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(function(){var t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return t=t.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+t+")\\b")})(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}LE.displayName="parser";LE.aliases=[];function LE(e){e.register(Cr),(function(t){var r=t.languages.parser=t.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=t.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),t.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(e)}NE.displayName="pascal";NE.aliases=["objectpascal"];function NE(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}OE.displayName="pascaligo";OE.aliases=[];function OE(e){(function(t){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return r}),a=t.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return n})),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:/\(\.|\.\)|[()\[\]:;,.{}]/},s=["comment","keyword","builtin","operator","punctuation"].reduce(function(l,c){return l[c]=a[c],l},{});a["class-name"].forEach(function(l){l.inside=s})})(e)}IE.displayName="psl";IE.aliases=[];function IE(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}BE.displayName="pcaxis";BE.aliases=["px"];function BE(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}FE.displayName="peoplecode";FE.aliases=["pcode"];function FE(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}ME.displayName="perl";ME.aliases=[];function ME(e){(function(t){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;t.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].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,r].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,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(e)}UE.displayName="phpdoc";UE.aliases=[];function UE(e){e.register(ol),e.register(al),(function(t){var r=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;t.languages.phpdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+r+"\\s+)?)\\$\\w+"),lookbehind:!0}}),t.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+r),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),t.languages.javadoclike.addSupport("php",t.languages.phpdoc)})(e)}$E.displayName="php-extras";$E.aliases=[];function $E(e){e.register(al),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}zE.displayName="plant-uml";zE.aliases=["plantuml"];function zE(e){(function(t){var r=/\$\w+|%[a-z]+%/,n=/\[[^[\]]*\]/.source,a=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,s="(?:-+"+a+"-+|\\.+"+a+"\\.+|-+(?:"+n+"-*)?|"+n+"-+|\\.+(?:"+n+"\\.*)?|"+n+"\\.+)",l=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,c=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,h=/[[?]?[ox]?/.source,d=/[ox]?[\]?]?/.source,p=h+"(?:"+s+c+"|"+l+s+"(?:"+c+")?)"+d;t.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:r}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+p+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:r,punctuation:/[:,;()[\]{}]|\.{3}/},t.languages["plant-uml"].arrow.inside.expression.inside=t.languages["plant-uml"],t.languages.plantuml=t.languages["plant-uml"]})(e)}PE.displayName="plsql";PE.aliases=[];function PE(e){e.register(fu),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}HE.displayName="powerquery";HE.aliases=["mscript","pq"];function HE(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}qE.displayName="powershell";qE.aliases=[];function qE(e){(function(t){var r=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(e)}GE.displayName="processing";GE.aliases=[];function GE(e){e.register(et),e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}jE.displayName="prolog";jE.aliases=[];function jE(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}WE.displayName="promql";WE.aliases=[];function WE(e){(function(t){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],n=["on","ignoring","group_right","group_left","by","without"],a=["offset"],s=r.concat(n,a);t.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+n.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(?:"+s.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(e)}YE.displayName="properties";YE.aliases=[];function YE(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}VE.displayName="protobuf";VE.aliases=[];function VE(e){e.register(et),(function(t){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;t.languages.protobuf=t.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),t.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(e)}XE.displayName="stylus";XE.aliases=[];function XE(e){(function(t){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},a={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:r,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};a.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:a}},a.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},t.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"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:a.interpolation}},rest:a}},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:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}})(e)}ZE.displayName="twig";ZE.aliases=[];function ZE(e){e.register(Dr),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){if(t.language==="twig"){var r=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;e.languages["markup-templating"].buildPlaceholders(t,"twig",r)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}KE.displayName="pug";KE.aliases=[];function KE(e){e.register(Rr),e.register(Cr),(function(t){t.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:t.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:t.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:t.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:t.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:t.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:t.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:t.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},s=0,l=n.length;s<l;s++){var c=n[s];c=typeof c=="string"?{filter:c,language:c}:c,t.languages[c.language]&&(a["filter-"+c.filter]={pattern:RegExp(r.replace("<filter_name>",function(){return c.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[c.language,"language-"+c.language],inside:t.languages[c.language]}}})}t.languages.insertBefore("pug","filter",a)})(e)}QE.displayName="puppet";QE.aliases=[];function QE(e){(function(t){t.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:t.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];t.languages.puppet.heredoc[0].inside.interpolation=r,t.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(e)}JE.displayName="pure";JE.aliases=[];function JE(e){(function(t){t.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],n=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(a){var s=a;if(typeof a!="string"&&(s=a.alias,a=a.lang),t.languages[s]){var l={};l["inline-lang-"+s]={pattern:RegExp(n.replace("<lang>",a.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:t.util.clone(t.languages.pure["inline-lang"].inside)},l["inline-lang-"+s].inside.rest=t.util.clone(t.languages[s]),t.languages.insertBefore("pure","inline-lang",l)}}),t.languages.c&&(t.languages.pure["inline-lang"].inside.rest=t.util.clone(t.languages.c))})(e)}ex.displayName="purebasic";ex.aliases=["pbfasm"];function ex(e){e.register(et),e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}tx.displayName="purescript";tx.aliases=["purs"];function tx(e){e.register(gu),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}Rp.displayName="python";Rp.aliases=["py"];function Rp(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}rx.displayName="qsharp";rx.aliases=["qs"];function rx(e){e.register(et),(function(t){function r(m,C){return m.replace(/<<(\d+)>>/g,function(E,k){return"(?:"+C[+k]+")"})}function n(m,C,E){return RegExp(r(m,C),"")}function a(m,C){for(var E=0;E<C;E++)m=m.replace(/<<self>>/g,function(){return"(?:"+m+")"});return m.replace(/<<self>>/g,"[^\\s\\S]")}var s={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 l(m){return"\\b(?:"+m.trim().replace(/ /g,"|")+")\\b"}var c=RegExp(l(s.type+" "+s.other)),h=/\b[A-Za-z_]\w*\b/.source,d=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[h]),p={keyword:c,punctuation:/[<>()?,.:[\]]/},g=/"(?:\\.|[^\\"])*"/.source;t.languages.qsharp=t.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[g]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:p},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:p}],keyword:c,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),t.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var b=a(r(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[g]),2);t.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[b]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[b]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:t.languages.qsharp}}},string:/[\s\S]+/}}})})(e),e.languages.qs=e.languages.qsharp}nx.displayName="q";nx.aliases=[];function nx(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}ix.displayName="qml";ix.aliases=[];function ix(e){e.register(Rr),(function(t){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return r}).replace(/<comment>/g,function(){return n}),s=0;s<2;s++)a=a.replace(/<expr>/g,function(){return a});a=a.replace(/<expr>/g,"[^\\s\\S]"),t.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(e)}ax.displayName="qore";ax.aliases=[];function ax(e){e.register(et),e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}ox.displayName="r";ox.aliases=[];function ox(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}sx.displayName="racket";sx.aliases=["rkt"];function sx(e){e.register(yu),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}lx.displayName="cshtml";lx.aliases=["razor"];function lx(e){e.register(rl),e.register(Cr),(function(t){var r=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function a(w,v){for(var O=0;O<v;O++)w=w.replace(/<self>/g,function(){return"(?:"+w+")"});return w.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+n+")").replace(/<comment>/g,"(?:"+r+")")}var s=a(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),l=a(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),c=a(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),h=a(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),d=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+s+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+h+")?"+s+"|"+l+")*"+/(?![?!\.(\[]|<(?!\/))/.source,p=/@(?![\w()])/.source+"|"+d,g="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+p+`)[^"'@]*)+["'])`,b=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,g),m=/(?!\d)[^\s>\/=$<%]+/.source+b+/\s*\/?>/.source,C=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+b+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+m+"|"+a(/<\1/.source+b+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+m+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+m+")";t.languages.cshtml=t.languages.extend("markup",{});var E=t.languages.insertBefore("csharp","string",{html:{pattern:RegExp(C),greedy:!0,inside:t.languages.cshtml}},{csharp:t.languages.extend("csharp",{})}),k={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:E},x={pattern:RegExp(/(^|[^@])/.source+d),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:k}};t.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+m),t.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+g),t.languages.insertBefore("inside","punctuation",{value:x},t.languages.cshtml.tag.inside["attr-value"]),t.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[c,/(?:code|functions)\s*/.source+c,/(?:for|foreach|lock|switch|using|while)\s*/.source+s+/\s*/.source+c,/do\s*/.source+c+/\s*while\s*/.source+s+/(?:\s*;)?/.source,/try\s*/.source+c+/\s*catch\s*/.source+s+/\s*/.source+c+/\s*finally\s*/.source+c,/if\s*/.source+s+/\s*/.source+c+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+s+")?"+/\s*/.source+c+")*",/helper\s+\w+\s*/.source+s+/\s*/.source+c].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:k}},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:k}},value:x,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),t.languages.razor=t.languages.cshtml})(e)}Dp.displayName="jsx";Dp.aliases=[];function Dp(e){e.register(Rr),e.register(Cr),(function(t){var r=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function l(d,p){return d=d.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return a}).replace(/<SPREAD>/g,function(){return s}),RegExp(d,p)}s=l(s).source,t.languages.jsx=t.languages.extend("markup",r),t.languages.jsx.tag.pattern=l(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=r.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:l(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:l(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var c=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(c).join(""):""},h=function(d){for(var p=[],g=0;g<d.length;g++){var b=d[g],m=!1;if(typeof b!="string"&&(b.type==="tag"&&b.content[0]&&b.content[0].type==="tag"?b.content[0].content[0].content==="</"?p.length>0&&p[p.length-1].tagName===c(b.content[0].content[1])&&p.pop():b.content[b.content.length-1].content==="/>"||p.push({tagName:c(b.content[0].content[1]),openedBraces:0}):p.length>0&&b.type==="punctuation"&&b.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&b.type==="punctuation"&&b.content==="}"?p[p.length-1].openedBraces--:m=!0),(m||typeof b=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var C=c(b);g<d.length-1&&(typeof d[g+1]=="string"||d[g+1].type==="plain-text")&&(C+=c(d[g+1]),d.splice(g+1,1)),g>0&&(typeof d[g-1]=="string"||d[g-1].type==="plain-text")&&(C=c(d[g-1])+C,d.splice(g-1,1),g--),d[g]=new t.Token("plain-text",C,null,C)}b.content&&typeof b.content!="string"&&h(b.content)}};t.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||h(d.tokens)})})(e)}cx.displayName="tsx";cx.aliases=[];function cx(e){e.register(Dp),e.register(bu),(function(t){var r=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",r),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var n=t.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0})(e)}ux.displayName="reason";ux.aliases=[];function ux(e){e.register(et),e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}hx.displayName="rego";hx.aliases=[];function hx(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}dx.displayName="renpy";dx.aliases=["rpy"];function dx(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}px.displayName="rescript";px.aliases=["res"];function px(e){e.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},e.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:e.languages.rescript}},string:/[\s\S]+/}}}),e.languages.res=e.languages.rescript}fx.displayName="rest";fx.aliases=[];function fx(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}gx.displayName="rip";gx.aliases=[];function gx(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}mx.displayName="roboconf";mx.aliases=[];function mx(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}bx.displayName="robotframework";bx.aliases=["robot"];function bx(e){(function(t){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(h,d){var p={};p["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var g in d)p[g]=d[g];return p.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},p.variable=n,p.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return h}),"im"),alias:"section",inside:p}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},l={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},c={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};t.languages.robotframework={settings:a("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:a("Variables"),"test-cases":a("Test Cases",{"test-name":l,documentation:s,property:c}),keywords:a("Keywords",{"keyword-name":l,documentation:s,property:c}),tasks:a("Tasks",{"task-name":l,documentation:s,property:c}),comment:r},t.languages.robot=t.languages.robotframework})(e)}yx.displayName="rust";yx.aliases=[];function yx(e){(function(t){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)r=r.replace(/<self>/g,function(){return r});r=r.replace(/<self>/g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string})(e)}Sx.displayName="sas";Sx.aliases=[];function Sx(e){(function(t){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,a={pattern:RegExp(r+"[bx]"),alias:"number"},s={pattern:/&[a-z_]\w*/i},l={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"},c={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},h=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={pattern:RegExp(r),greedy:!0},p=/[$%@.(){}\[\];,\\]/,g={pattern:/%?\b\w+(?=\()/,alias:"keyword"},b={function:g,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":s,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":a,punctuation:p,string:d},m={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},C={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},E={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"},k={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},x=/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,w={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return x}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return x}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:h,function:g,"arg-value":b["arg-value"],operator:b.operator,argument:b.arg,number:n,"numeric-constant":a,punctuation:p,string:d}},v={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};t.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return r}),"im"),alias:"language-sql",inside:t.languages.sql},"global-statements":E,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":a,punctuation:p,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:h,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:t.languages.groovy},keyword:v,"submit-statement":k,"global-statements":E,number:n,"numeric-constant":a,punctuation:p,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:h,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:t.languages.lua},keyword:v,"submit-statement":k,"global-statements":E,number:n,"numeric-constant":a,punctuation:p,string:d}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:h,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:b}},"cas-actions":w,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:b},step:c,keyword:v,function:g,format:m,altformat:C,"global-statements":E,number:n,"numeric-constant":a,punctuation:p,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return r}),"im"),lookbehind:!0,inside:b},"macro-keyword":l,"macro-variable":s,"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":l,"macro-variable":s,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:p}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:h,number:n,"numeric-constant":a}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:b},"cas-actions":w,comment:h,function:g,format:m,altformat:C,"numeric-constant":a,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:c,keyword:v,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:p}})(e)}Cx.displayName="sass";Cx.aliases=[];function Cx(e){e.register(xo),(function(t){t.languages.sass=t.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete t.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];t.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:n,important:t.languages.sass.important}}}),delete t.languages.sass.property,delete t.languages.sass.important,t.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(e)}Ex.displayName="shell-session";Ex.aliases=["sh-session","shellsession"];function Ex(e){e.register(Tp),(function(t){var r=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");t.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return r}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:t.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},t.languages["sh-session"]=t.languages.shellsession=t.languages["shell-session"]})(e)}xx.displayName="smali";xx.aliases=[];function xx(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}kx.displayName="smalltalk";kx.aliases=[];function kx(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}Tx.displayName="smarty";Tx.aliases=[];function Tx(e){e.register(Dr),(function(t){t.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:t.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},t.languages.smarty["embedded-php"].inside.smarty.inside=t.languages.smarty,t.languages.smarty.string[0].inside.interpolation.inside.expression.inside=t.languages.smarty;var r=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return r.source}),"g");t.hooks.add("before-tokenize",function(a){var s="{literal}",l="{/literal}",c=!1;t.languages["markup-templating"].buildPlaceholders(a,"smarty",n,function(h){return h===l&&(c=!1),c?!1:(h===s&&(c=!0),!0)})}),t.hooks.add("after-tokenize",function(a){t.languages["markup-templating"].tokenizePlaceholders(a,"smarty")})})(e)}_x.displayName="sml";_x.aliases=["smlnj"];function _x(e){(function(t){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;t.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<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 r.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:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},t.languages.sml["class-name"][0].inside=t.languages.sml,t.languages.smlnj=t.languages.sml})(e)}wx.displayName="solidity";wx.aliases=["sol"];function wx(e){e.register(et),e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}vx.displayName="solution-file";vx.aliases=["sln"];function vx(e){(function(t){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};t.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},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:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},t.languages.sln=t.languages["solution-file"]})(e)}Ax.displayName="soy";Ax.aliases=[];function Ax(e){e.register(Dr),(function(t){var r=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;t.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:r,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:r,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},t.hooks.add("before-tokenize",function(a){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,l="{literal}",c="{/literal}",h=!1;t.languages["markup-templating"].buildPlaceholders(a,"soy",s,function(d){return d===c&&(h=!1),h?!1:(d===l&&(h=!0),!0)})}),t.hooks.add("after-tokenize",function(a){t.languages["markup-templating"].tokenizePlaceholders(a,"soy")})})(e)}Lp.displayName="turtle";Lp.aliases=["trig"];function Lp(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}Rx.displayName="sparql";Rx.aliases=["rq"];function Rx(e){e.register(Lp),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}Dx.displayName="splunk-spl";Dx.aliases=[];function Dx(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}Lx.displayName="sqf";Lx.aliases=[];function Lx(e){e.register(et),e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}Nx.displayName="squirrel";Nx.aliases=[];function Nx(e){e.register(et),e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}Ox.displayName="stan";Ox.aliases=[];function Ox(e){(function(t){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;t.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.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/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},t.languages.stan.constraint.inside.expression.inside=t.languages.stan})(e)}Ix.displayName="stata";Ix.aliases=[];function Ix(e){e.register(il),e.register(Ap),e.register(Rp),e.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:e.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:e.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:e.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},e.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=e.languages.stata}Bx.displayName="iecst";Bx.aliases=[];function Bx(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}Fx.displayName="supercollider";Fx.aliases=["sclang"];function Fx(e){e.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},e.languages.sclang=e.languages.supercollider}Mx.displayName="swift";Mx.aliases=[];function Mx(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}Ux.displayName="systemd";Ux.aliases=[];function Ux(e){(function(t){var r={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;t.languages.systemd={comment:r,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+"(?:"+n+`|(?=[^"\r
346
+ ]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(e)}Su.displayName="t4-templating";Su.aliases=[];function Su(e){(function(t){function r(a,s,l){return{pattern:RegExp("<#"+a+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+a+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:s,alias:l}}}}function n(a){var s=t.languages[a],l="language-"+a;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",s,l),"class-feature":r("\\+",s,l),standard:r("",s,l)}}}}t.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:n})})(e)}$x.displayName="t4-cs";$x.aliases=["t4"];function $x(e){e.register(rl),e.register(Su),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}Np.displayName="vbnet";Np.aliases=[];function Np(e){e.register(wp),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}zx.displayName="t4-vb";zx.aliases=[];function zx(e){e.register(Su),e.register(Np),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}Px.displayName="tap";Px.aliases=[];function Px(e){e.register(_p),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}Hx.displayName="tcl";Hx.aliases=[];function Hx(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}qx.displayName="tt2";qx.aliases=[];function qx(e){e.register(et),e.register(Dr),(function(t){t.languages.tt2=t.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),t.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),t.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),t.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete t.languages.tt2.string,t.hooks.add("before-tokenize",function(r){var n=/\[%[\s\S]+?%\]/g;t.languages["markup-templating"].buildPlaceholders(r,"tt2",n)}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"tt2")})})(e)}Gx.displayName="toml";Gx.aliases=[];function Gx(e){(function(t){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(a){return a.replace(/__/g,function(){return r})}t.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(e)}jx.displayName="tremor";jx.aliases=["trickle","troy"];function jx(e){(function(t){t.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;t.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.tremor}}},string:/[\s\S]+/}},t.languages.troy=t.languages.tremor,t.languages.trickle=t.languages.tremor})(e)}Wx.displayName="typoscript";Wx.aliases=["tsconfig"];function Wx(e){(function(t){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;t.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},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:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},t.languages.tsconfig=t.languages.typoscript})(e)}Yx.displayName="unrealscript";Yx.aliases=["uc","uscript"];function Yx(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}Vx.displayName="uorazor";Vx.aliases=[];function Vx(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}Xx.displayName="v";Xx.aliases=[];function Xx(e){e.register(et),(function(t){var r={pattern:/[\s\S]+/,inside:null};t.languages.v=t.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"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/}),r.inside=t.languages.v,t.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),t.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),t.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:t.languages.v.generic.inside}}}})})(e)}Zx.displayName="vala";Zx.aliases=[];function Zx(e){e.register(et),e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}Kx.displayName="velocity";Kx.aliases=[];function Kx(e){e.register(Cr),(function(t){t.languages.velocity=t.languages.extend("markup",{});var r={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:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},t.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),t.languages.velocity.tag.inside["attr-value"].inside.rest=t.languages.velocity})(e)}Qx.displayName="verilog";Qx.aliases=[];function Qx(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}Jx.displayName="vhdl";Jx.aliases=[];function Jx(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}ek.displayName="vim";ek.aliases=[];function ek(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}tk.displayName="visual-basic";tk.aliases=["vb","vba"];function tk(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}rk.displayName="warpscript";rk.aliases=[];function rk(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}nk.displayName="wasm";nk.aliases=[];function nk(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}ik.displayName="web-idl";ik.aliases=["webidl"];function ik(e){(function(t){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};t.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:a}],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 s in t.languages["web-idl"])s!=="class-name"&&(a[s]=t.languages["web-idl"][s]);t.languages.webidl=t.languages["web-idl"]})(e)}ak.displayName="wgsl";ak.aliases=[];function ak(e){e.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}ok.displayName="wiki";ok.aliases=[];function ok(e){e.register(Cr),e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}sk.displayName="wolfram";sk.aliases=["mathematica","nb","wl"];function sk(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}lk.displayName="wren";lk.aliases=[];function lk(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}ck.displayName="xeora";ck.aliases=["xeoracube"];function ck(e){e.register(Cr),(function(t){t.languages.xeora=t.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),t.languages.insertBefore("inside","punctuation",{variable:t.languages.xeora["function-inline"].inside.variable},t.languages.xeora["function-block"]),t.languages.xeoracube=t.languages.xeora})(e)}uk.displayName="xml-doc";uk.aliases=[];function uk(e){e.register(Cr),(function(t){function r(l,c){t.languages[l]&&t.languages.insertBefore(l,"comment",{"doc-comment":c})}var n=t.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},s={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};r("csharp",a),r("fsharp",a),r("vbnet",s)})(e)}hk.displayName="xojo";hk.aliases=[];function hk(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}dk.displayName="xquery";dk.aliases=[];function dk(e){e.register(Cr),(function(t){t.languages.xquery=t.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),t.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,t.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,t.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:t.languages.xquery,alias:"language-xquery"};var r=function(a){return typeof a=="string"?a:typeof a.content=="string"?a.content:a.content.map(r).join("")},n=function(a){for(var s=[],l=0;l<a.length;l++){var c=a[l],h=!1;if(typeof c!="string"&&(c.type==="tag"&&c.content[0]&&c.content[0].type==="tag"?c.content[0].content[0].content==="</"?s.length>0&&s[s.length-1].tagName===r(c.content[0].content[1])&&s.pop():c.content[c.content.length-1].content==="/>"||s.push({tagName:r(c.content[0].content[1]),openedBraces:0}):s.length>0&&c.type==="punctuation"&&c.content==="{"&&(!a[l+1]||a[l+1].type!=="punctuation"||a[l+1].content!=="{")&&(!a[l-1]||a[l-1].type!=="plain-text"||a[l-1].content!=="{")?s[s.length-1].openedBraces++:s.length>0&&s[s.length-1].openedBraces>0&&c.type==="punctuation"&&c.content==="}"?s[s.length-1].openedBraces--:c.type!=="comment"&&(h=!0)),(h||typeof c=="string")&&s.length>0&&s[s.length-1].openedBraces===0){var d=r(c);l<a.length-1&&(typeof a[l+1]=="string"||a[l+1].type==="plain-text")&&(d+=r(a[l+1]),a.splice(l+1,1)),l>0&&(typeof a[l-1]=="string"||a[l-1].type==="plain-text")&&(d=r(a[l-1])+d,a.splice(l-1,1),l--),/^\s+$/.test(d)?a[l]=d:a[l]=new t.Token("plain-text",d,null,d)}c.content&&typeof c.content!="string"&&n(c.content)}};t.hooks.add("after-tokenize",function(a){a.language==="xquery"&&n(a.tokens)})})(e)}pk.displayName="yang";pk.aliases=[];function pk(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}fk.displayName="zig";fk.aliases=[];function fk(e){(function(t){function r(d){return function(){return d}}var n=/\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/,a="\\b(?!"+n.source+")(?!\\d)\\w+\\b",s=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,l=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,r(s)),c=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,r(a)),h="(?!\\s)(?:!?\\s*(?:"+l+"\\s*)*"+c+")+";t.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,r(h)).replace(/<ALIGN>/g,r(s))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,r(h)).replace(/<ALIGN>/g,r(s))),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:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},t.languages.zig["class-name"].forEach(function(d){d.inside===null&&(d.inside=t.languages.zig)})})(e)}B.register(Cr);B.register(xo);B.register(et);B.register(gS);B.register(Rr);B.register(mS);B.register(bS);B.register(yS);B.register(SS);B.register(CS);B.register(ES);B.register(xS);B.register(kS);B.register(fu);B.register(TS);B.register(_S);B.register(wS);B.register(vS);B.register(hi);B.register(tl);B.register(AS);B.register(RS);B.register(DS);B.register(Tp);B.register(_p);B.register(LS);B.register(NS);B.register(OS);B.register(rl);B.register(IS);B.register(BS);B.register(FS);B.register(MS);B.register(US);B.register($S);B.register(zS);B.register(PS);B.register(wp);B.register(HS);B.register(qS);B.register(GS);B.register(jS);B.register(WS);B.register(YS);B.register(VS);B.register(XS);B.register(ZS);B.register(KS);B.register(QS);B.register(JS);B.register(eC);B.register(tC);B.register(rC);B.register(nC);B.register(iC);B.register(aC);B.register(oC);B.register(sC);B.register(lC);B.register(cC);B.register(uC);B.register(hC);B.register(dC);B.register(nl);B.register(pC);B.register(fC);B.register(gC);B.register(mC);B.register(bC);B.register(yC);B.register(SC);B.register(CC);B.register(EC);B.register(xC);B.register(kC);B.register(Dr);B.register(TC);B.register(_C);B.register(wC);B.register(vC);B.register(AC);B.register(RC);B.register(DC);B.register(LC);B.register(NC);B.register(OC);B.register(vp);B.register(IC);B.register(BC);B.register(FC);B.register(MC);B.register(UC);B.register($C);B.register(zC);B.register(PC);B.register(HC);B.register(qC);B.register(GC);B.register(jC);B.register(WC);B.register(YC);B.register(VC);B.register(XC);B.register(ZC);B.register(KC);B.register(QC);B.register(JC);B.register(e0);B.register(t0);B.register(r0);B.register(n0);B.register(i0);B.register(a0);B.register(o0);B.register(s0);B.register(l0);B.register(c0);B.register(u0);B.register(h0);B.register(gu);B.register(d0);B.register(p0);B.register(f0);B.register(g0);B.register(m0);B.register(b0);B.register(mu);B.register(y0);B.register(S0);B.register(C0);B.register(E0);B.register(x0);B.register(k0);B.register(T0);B.register(_0);B.register(w0);B.register(v0);B.register(A0);B.register(il);B.register(al);B.register(ol);B.register(R0);B.register(D0);B.register(L0);B.register(N0);B.register(O0);B.register(I0);B.register(B0);B.register(bu);B.register(F0);B.register(M0);B.register(U0);B.register($0);B.register(z0);B.register(P0);B.register(H0);B.register(q0);B.register(G0);B.register(j0);B.register(W0);B.register(Y0);B.register(V0);B.register(X0);B.register(yu);B.register(Z0);B.register(K0);B.register(Q0);B.register(J0);B.register(eE);B.register(tE);B.register(rE);B.register(nE);B.register(iE);B.register(Ap);B.register(aE);B.register(oE);B.register(sE);B.register(lE);B.register(cE);B.register(uE);B.register(hE);B.register(dE);B.register(pE);B.register(fE);B.register(gE);B.register(mE);B.register(bE);B.register(yE);B.register(SE);B.register(CE);B.register(EE);B.register(xE);B.register(kE);B.register(TE);B.register(_E);B.register(wE);B.register(vE);B.register(AE);B.register(RE);B.register(DE);B.register(LE);B.register(NE);B.register(OE);B.register(IE);B.register(BE);B.register(FE);B.register(ME);B.register(UE);B.register($E);B.register(zE);B.register(PE);B.register(HE);B.register(qE);B.register(GE);B.register(jE);B.register(WE);B.register(YE);B.register(VE);B.register(XE);B.register(ZE);B.register(KE);B.register(QE);B.register(JE);B.register(ex);B.register(tx);B.register(Rp);B.register(rx);B.register(nx);B.register(ix);B.register(ax);B.register(ox);B.register(sx);B.register(lx);B.register(Dp);B.register(cx);B.register(ux);B.register(hx);B.register(dx);B.register(px);B.register(fx);B.register(gx);B.register(mx);B.register(bx);B.register(yx);B.register(Sx);B.register(Cx);B.register(Ex);B.register(xx);B.register(kx);B.register(Tx);B.register(_x);B.register(wx);B.register(vx);B.register(Ax);B.register(Lp);B.register(Rx);B.register(Dx);B.register(Lx);B.register(Nx);B.register(Ox);B.register(Ix);B.register(Bx);B.register(Fx);B.register(Mx);B.register(Ux);B.register(Su);B.register($x);B.register(Np);B.register(zx);B.register(Px);B.register(Hx);B.register(qx);B.register(Gx);B.register(jx);B.register(Wx);B.register(Yx);B.register(Vx);B.register(Xx);B.register(Zx);B.register(Kx);B.register(Qx);B.register(Jx);B.register(ek);B.register(tk);B.register(rk);B.register(nk);B.register(ik);B.register(ak);B.register(ok);B.register(sk);B.register(lk);B.register(ck);B.register(uk);B.register(hk);B.register(dk);B.register(pk);B.register(fk);var zB=FK(B,cQ);zB.supportedLanguages=MK;const uQ={'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%)"}},WA=["text","bash","css","diff","docker","graphql","html","java","javascript","json","markdown","mermaid","php","python","rust","scss","shell","sql","toml","typescript","xml","yaml"],PB=new URLSearchParams(window.location.search).get("__pdf")==="1";AB.initialize({startOnLoad:!1,securityLevel:"strict",theme:PB?"default":"dark"});function hQ(e){const t=/language-(\w+)/.exec(e??"");return t?t[1]:"text"}function dQ(e){return e instanceof Error?e.message:"Unable to render Mermaid diagram."}const YA=.25,VA=.25,XA=4;function pQ({code:e}){const r=`mermaid-${Tr.useId().replace(/[^a-zA-Z0-9_-]/g,"_")}`,[n,a]=Tr.useState(null),[s,l]=Tr.useState(!1),[c,h]=Tr.useState(.75),d=e.trim().length===0?"Mermaid diagram is empty.":null,p=n?.code===e,g=p?n.svg:"",b=d??(p?n.error:null);Tr.useLayoutEffect(()=>{e.trim().length!==0&&(window.__mermaidPending=(window.__mermaidPending??0)+1)},[e]),Tr.useEffect(()=>{if(e.trim().length===0)return;let C=!1;return AB.render(r,e).then(({svg:E})=>{window.__mermaidPending=Math.max(0,(window.__mermaidPending??1)-1),C||a({code:e,svg:E,error:null})}).catch(E=>{window.__mermaidPending=Math.max(0,(window.__mermaidPending??1)-1),C||a({code:e,svg:"",error:dQ(E)})}),()=>{C=!0}},[e,r]);const m=()=>{navigator.clipboard.writeText(e).then(()=>{l(!0),setTimeout(()=>l(!1),2e3)})};return vt.jsxs("div",{className:"mermaid-block-wrapper",children:[vt.jsxs("div",{className:"mermaid-block-header",children:[vt.jsx("span",{className:"mermaid-block-title",children:"mermaid"}),vt.jsxs("div",{className:"mermaid-block-actions",children:[!PB&&vt.jsxs("div",{className:"mermaid-zoom-controls",children:[vt.jsx("button",{className:"mermaid-zoom-btn",onClick:()=>h(C=>Math.max(VA,+(C-YA).toFixed(2))),disabled:c<=VA,title:"Zoom out",children:"−"}),vt.jsxs("button",{className:"mermaid-zoom-reset",onClick:()=>h(.75),title:"Reset zoom",children:[Math.round(c*100),"%"]}),vt.jsx("button",{className:"mermaid-zoom-btn",onClick:()=>h(C=>Math.min(XA,+(C+YA).toFixed(2))),disabled:c>=XA,title:"Zoom in",children:"+"})]}),vt.jsx("button",{className:"code-block-copy-btn",onClick:m,children:s?"✓ Copied":"Copy"})]})]}),vt.jsx("div",{className:"mermaid-block-content",children:b?vt.jsx("pre",{className:"mermaid-block-error",children:b}):vt.jsx("div",{className:"mermaid-block-zoom-container",style:{transform:`scale(${c})`,transformOrigin:"top center"},dangerouslySetInnerHTML:{__html:g}})})]})}function JQ({className:e,children:t,fixedLanguage:r}){const n=hQ(e),a=!!e,[s,l]=Tr.useState(n),[c,h]=Tr.useState(!1);if(!a)return vt.jsx("code",{className:e,children:t});const d=String(t).replace(/\n$/,"");if(n==="mermaid")return vt.jsx(pQ,{code:d});const p=()=>{navigator.clipboard.writeText(d).then(()=>{h(!0),setTimeout(()=>h(!1),2e3)})};return vt.jsxs("div",{className:"code-block-wrapper",children:[vt.jsxs("div",{className:"code-block-header",children:[r?vt.jsx("span",{className:"code-block-lang",children:s}):vt.jsxs("select",{className:"code-block-lang-select",value:s,onChange:g=>l(g.target.value),children:[WA.includes(s)?null:vt.jsx("option",{value:s,children:s}),WA.map(g=>vt.jsx("option",{value:g,children:g},g))]}),vt.jsx("button",{className:"code-block-copy-btn",onClick:p,children:c?"✓ Copied":"Copy"})]}),vt.jsx(zB,{language:s,style:uQ,customStyle:{margin:0,borderRadius:"0 0 6px 6px",fontSize:"13px"},codeTagProps:{style:{fontFamily:"'Fira Code', 'Cascadia Code', Consolas, monospace"}},children:d})]})}const eJ=500,fQ="/_gui/",gQ="/_pub";function tJ(e){const t=new URL(document.baseURI);return window.location.pathname.startsWith(fQ)?`${window.location.origin}${gQ}${t.pathname}${e}/`:new URL(`public/${e}/`,t).href}function rJ(e){const t=new Date(e);if(Number.isNaN(t.getTime()))return e;const r=n=>String(n).padStart(2,"0");return`${t.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})} · ${r(t.getHours())}:${r(t.getMinutes())}`}function nJ(e){return e===null?"no version":`v${e}`}async function Op(e,t){const r=await fetch(e,t),n=await r.json().catch(()=>({}));if(!r.ok||n.error)throw new Error(n.error??`${e} answered HTTP ${r.status}`);return n}function HB(e,t){return{method:e,headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}}async function iJ(e){return(await Op(`/api/publications?project=${encodeURIComponent(e)}`)).publications}async function aJ(e,t,r){return(await Op("/api/publications",HB("POST",{project:e,id:t,note:r}))).publication}async function oJ(e,t){return(await Op(`/api/publications/${encodeURIComponent(e)}/update`,HB("POST",{note:t}))).publication}async function sJ(e){await Op(`/api/publications/${encodeURIComponent(e)}`,{method:"DELETE"})}export{DR as $,_Q as A,Aa as B,XP as C,Ot as D,R8 as E,Xy as F,yR as G,nj as H,l9 as I,f7 as J,I6 as K,qc as L,kQ as M,fp as N,c8 as O,AR as P,y1 as Q,JG as R,cb as S,rj as T,au as U,Yn as V,ie as W,ae as X,b8 as Y,V7 as Z,T as _,k8 as a,xY as a$,XG as a0,U1 as a1,M1 as a2,IQ as a3,RQ as a4,NQ as a5,LQ as a6,vQ as a7,vy as a8,OQ as a9,dN as aA,O7 as aB,N7 as aC,L7 as aD,D7 as aE,pN as aF,F7 as aG,B7 as aH,I7 as aI,U7 as aJ,M7 as aK,v7 as aL,m7 as aM,zr as aN,Gi as aO,fc as aP,Zy as aQ,SN as aR,bo as aS,kN as aT,lR as aU,YY as aV,VQ as aW,ZQ as aX,WQ as aY,Ae as aZ,YQ as a_,AQ as aa,us as ab,FQ as ac,BQ as ad,DQ as ae,jW as af,_I as ag,XQ as ah,ze as ai,ai as aj,Yy as ak,ke as al,CW as am,zy as an,Py as ao,ld as ap,A7 as aq,R7 as ar,hN as as,uN as at,cN as au,T7 as av,x7 as aw,k7 as ax,_7 as ay,w7 as az,x8 as b,bY as b0,mY as b1,ZG as b2,xQ as b3,ZA as b4,Tr as b5,vt as b6,bQ as b7,rJ as b8,nJ as b9,r3 as bA,zB as bB,uQ as bC,iJ as bD,tJ as bE,eJ as bF,aJ as bG,sJ as bH,oJ as bI,it as bJ,SQ as ba,EQ as bb,CQ as bc,wz as bd,JQ as be,yQ as bf,mQ as bg,Kd as bh,du as bi,yW as bj,bW as bk,ky as bl,ka as bm,Wc as bn,L1 as bo,Rq as bp,we as bq,TN as br,Jr as bs,xq as bt,xy as bu,GR as bv,lu as bw,YR as bx,wQ as by,VP as bz,ht as c,Ve as d,RR as e,nr as f,_8 as g,zi as h,Wn as i,S7 as j,ou as k,pe as l,EN as m,TQ as n,QQ as o,w8 as p,v8 as q,KQ as r,T8 as s,g7 as t,Hn as u,hY as v,oj as w,MQ as x,Ps as y,E8 as z};