knowns 0.2.1 → 0.3.1
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.
- package/CHANGELOG.md +100 -0
- package/CLAUDE.md +197 -75
- package/README.md +3 -3
- package/dist/index.js +31884 -16831
- package/dist/mcp/server.js +1058 -638
- package/dist/ui/assets/index-BUsOx5xS.css +1 -0
- package/dist/ui/assets/index-BqJqFGQL.js +171 -0
- package/dist/ui/index.html +2 -2
- package/package.json +17 -4
- package/dist/ui/assets/index-B6Hb3Tx3.js +0 -152
- package/dist/ui/assets/index-BgbLT-Et.css +0 -1
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
function aL(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Ji(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u2(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var hg={exports:{}},Rl={};var qA;function iL(){if(qA)return Rl;qA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,s){var u=null;if(s!==void 0&&(u=""+s),o.key!==void 0&&(u=""+o.key),"key"in o){s={};for(var c in o)c!=="key"&&(s[c]=o[c])}else s=o;return o=s.ref,{$$typeof:e,type:r,key:u,ref:o!==void 0?o:null,props:s}}return Rl.Fragment=t,Rl.jsx=n,Rl.jsxs=n,Rl}var WA;function oL(){return WA||(WA=1,hg.exports=iL()),hg.exports}var m=oL(),bg={exports:{}},ut={};var XA;function sL(){if(XA)return ut;XA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),y=Symbol.iterator;function T(V){return V===null||typeof V!="object"?null:(V=y&&V[y]||V["@@iterator"],typeof V=="function"?V:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,w={};function N(V,H,_){this.props=V,this.context=H,this.refs=w,this.updater=_||x}N.prototype.isReactComponent={},N.prototype.setState=function(V,H){if(typeof V!="object"&&typeof V!="function"&&V!=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,V,H,"setState")},N.prototype.forceUpdate=function(V){this.updater.enqueueForceUpdate(this,V,"forceUpdate")};function R(){}R.prototype=N.prototype;function D(V,H,_){this.props=V,this.context=H,this.refs=w,this.updater=_||x}var L=D.prototype=new R;L.constructor=D,C(L,N.prototype),L.isPureReactComponent=!0;var O=Array.isArray;function I(){}var B={H:null,A:null,T:null,S:null},j=Object.prototype.hasOwnProperty;function G(V,H,_){var ne=_.ref;return{$$typeof:e,type:V,key:H,ref:ne!==void 0?ne:null,props:_}}function z(V,H){return G(V.type,H,V.props)}function ee(V){return typeof V=="object"&&V!==null&&V.$$typeof===e}function X(V){var H={"=":"=0",":":"=2"};return"$"+V.replace(/[=:]/g,function(_){return H[_]})}var oe=/\/+/g;function ue(V,H){return typeof V=="object"&&V!==null&&V.key!=null?X(""+V.key):H.toString(36)}function ie(V){switch(V.status){case"fulfilled":return V.value;case"rejected":throw V.reason;default:switch(typeof V.status=="string"?V.then(I,I):(V.status="pending",V.then(function(H){V.status==="pending"&&(V.status="fulfilled",V.value=H)},function(H){V.status==="pending"&&(V.status="rejected",V.reason=H)})),V.status){case"fulfilled":return V.value;case"rejected":throw V.reason}}throw V}function W(V,H,_,ne,se){var q=typeof V;(q==="undefined"||q==="boolean")&&(V=null);var Ee=!1;if(V===null)Ee=!0;else switch(q){case"bigint":case"string":case"number":Ee=!0;break;case"object":switch(V.$$typeof){case e:case t:Ee=!0;break;case g:return Ee=V._init,W(Ee(V._payload),H,_,ne,se)}}if(Ee)return se=se(V),Ee=ne===""?"."+ue(V,0):ne,O(se)?(_="",Ee!=null&&(_=Ee.replace(oe,"$&/")+"/"),W(se,H,_,"",function(ze){return ze})):se!=null&&(ee(se)&&(se=z(se,_+(se.key==null||V&&V.key===se.key?"":(""+se.key).replace(oe,"$&/")+"/")+Ee)),H.push(se)),1;Ee=0;var de=ne===""?".":ne+":";if(O(V))for(var Te=0;Te<V.length;Te++)ne=V[Te],q=de+ue(ne,Te),Ee+=W(ne,H,_,q,se);else if(Te=T(V),typeof Te=="function")for(V=Te.call(V),Te=0;!(ne=V.next()).done;)ne=ne.value,q=de+ue(ne,Te++),Ee+=W(ne,H,_,q,se);else if(q==="object"){if(typeof V.then=="function")return W(ie(V),H,_,ne,se);throw H=String(V),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return Ee}function re(V,H,_){if(V==null)return V;var ne=[],se=0;return W(V,ne,"","",function(q){return H.call(_,q,se++)}),ne}function J(V){if(V._status===-1){var H=V._result;H=H(),H.then(function(_){(V._status===0||V._status===-1)&&(V._status=1,V._result=_)},function(_){(V._status===0||V._status===-1)&&(V._status=2,V._result=_)}),V._status===-1&&(V._status=0,V._result=H)}if(V._status===1)return V._result.default;throw V._result}var ae=typeof reportError=="function"?reportError:function(V){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof V=="object"&&V!==null&&typeof V.message=="string"?String(V.message):String(V),error:V});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",V);return}console.error(V)},P={map:re,forEach:function(V,H,_){re(V,function(){H.apply(this,arguments)},_)},count:function(V){var H=0;return re(V,function(){H++}),H},toArray:function(V){return re(V,function(H){return H})||[]},only:function(V){if(!ee(V))throw Error("React.Children.only expected to receive a single React element child.");return V}};return ut.Activity=h,ut.Children=P,ut.Component=N,ut.Fragment=n,ut.Profiler=o,ut.PureComponent=D,ut.StrictMode=r,ut.Suspense=p,ut.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,ut.__COMPILER_RUNTIME={__proto__:null,c:function(V){return B.H.useMemoCache(V)}},ut.cache=function(V){return function(){return V.apply(null,arguments)}},ut.cacheSignal=function(){return null},ut.cloneElement=function(V,H,_){if(V==null)throw Error("The argument must be a React element, but you passed "+V+".");var ne=C({},V.props),se=V.key;if(H!=null)for(q in H.key!==void 0&&(se=""+H.key),H)!j.call(H,q)||q==="key"||q==="__self"||q==="__source"||q==="ref"&&H.ref===void 0||(ne[q]=H[q]);var q=arguments.length-2;if(q===1)ne.children=_;else if(1<q){for(var Ee=Array(q),de=0;de<q;de++)Ee[de]=arguments[de+2];ne.children=Ee}return G(V.type,se,ne)},ut.createContext=function(V){return V={$$typeof:u,_currentValue:V,_currentValue2:V,_threadCount:0,Provider:null,Consumer:null},V.Provider=V,V.Consumer={$$typeof:s,_context:V},V},ut.createElement=function(V,H,_){var ne,se={},q=null;if(H!=null)for(ne in H.key!==void 0&&(q=""+H.key),H)j.call(H,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(se[ne]=H[ne]);var Ee=arguments.length-2;if(Ee===1)se.children=_;else if(1<Ee){for(var de=Array(Ee),Te=0;Te<Ee;Te++)de[Te]=arguments[Te+2];se.children=de}if(V&&V.defaultProps)for(ne in Ee=V.defaultProps,Ee)se[ne]===void 0&&(se[ne]=Ee[ne]);return G(V,q,se)},ut.createRef=function(){return{current:null}},ut.forwardRef=function(V){return{$$typeof:c,render:V}},ut.isValidElement=ee,ut.lazy=function(V){return{$$typeof:g,_payload:{_status:-1,_result:V},_init:J}},ut.memo=function(V,H){return{$$typeof:f,type:V,compare:H===void 0?null:H}},ut.startTransition=function(V){var H=B.T,_={};B.T=_;try{var ne=V(),se=B.S;se!==null&&se(_,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(I,ae)}catch(q){ae(q)}finally{H!==null&&_.types!==null&&(H.types=_.types),B.T=H}},ut.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},ut.use=function(V){return B.H.use(V)},ut.useActionState=function(V,H,_){return B.H.useActionState(V,H,_)},ut.useCallback=function(V,H){return B.H.useCallback(V,H)},ut.useContext=function(V){return B.H.useContext(V)},ut.useDebugValue=function(){},ut.useDeferredValue=function(V,H){return B.H.useDeferredValue(V,H)},ut.useEffect=function(V,H){return B.H.useEffect(V,H)},ut.useEffectEvent=function(V){return B.H.useEffectEvent(V)},ut.useId=function(){return B.H.useId()},ut.useImperativeHandle=function(V,H,_){return B.H.useImperativeHandle(V,H,_)},ut.useInsertionEffect=function(V,H){return B.H.useInsertionEffect(V,H)},ut.useLayoutEffect=function(V,H){return B.H.useLayoutEffect(V,H)},ut.useMemo=function(V,H){return B.H.useMemo(V,H)},ut.useOptimistic=function(V,H){return B.H.useOptimistic(V,H)},ut.useReducer=function(V,H,_){return B.H.useReducer(V,H,_)},ut.useRef=function(V){return B.H.useRef(V)},ut.useState=function(V){return B.H.useState(V)},ut.useSyncExternalStore=function(V,H,_){return B.H.useSyncExternalStore(V,H,_)},ut.useTransition=function(){return B.H.useTransition()},ut.version="19.2.3",ut}var KA;function uf(){return KA||(KA=1,bg.exports=sL()),bg.exports}var v=uf();const vn=Ji(v),rb=aL({__proto__:null,default:vn},[v]);var Eg={exports:{}},kl={},yg={exports:{}},Sg={};var ZA;function lL(){return ZA||(ZA=1,(function(e){function t(W,re){var J=W.length;W.push(re);e:for(;0<J;){var ae=J-1>>>1,P=W[ae];if(0<o(P,re))W[ae]=re,W[J]=P,J=ae;else break e}}function n(W){return W.length===0?null:W[0]}function r(W){if(W.length===0)return null;var re=W[0],J=W.pop();if(J!==re){W[0]=J;e:for(var ae=0,P=W.length,V=P>>>1;ae<V;){var H=2*(ae+1)-1,_=W[H],ne=H+1,se=W[ne];if(0>o(_,J))ne<P&&0>o(se,_)?(W[ae]=se,W[ne]=J,ae=ne):(W[ae]=_,W[H]=J,ae=H);else if(ne<P&&0>o(se,J))W[ae]=se,W[ne]=J,ae=ne;else break e}}return re}function o(W,re){var J=W.sortIndex-re.sortIndex;return J!==0?J:W.id-re.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 u=Date,c=u.now();e.unstable_now=function(){return u.now()-c}}var p=[],f=[],g=1,h=null,y=3,T=!1,x=!1,C=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function L(W){for(var re=n(f);re!==null;){if(re.callback===null)r(f);else if(re.startTime<=W)r(f),re.sortIndex=re.expirationTime,t(p,re);else break;re=n(f)}}function O(W){if(C=!1,L(W),!x)if(n(p)!==null)x=!0,I||(I=!0,X());else{var re=n(f);re!==null&&ie(O,re.startTime-W)}}var I=!1,B=-1,j=5,G=-1;function z(){return w?!0:!(e.unstable_now()-G<j)}function ee(){if(w=!1,I){var W=e.unstable_now();G=W;var re=!0;try{e:{x=!1,C&&(C=!1,R(B),B=-1),T=!0;var J=y;try{t:{for(L(W),h=n(p);h!==null&&!(h.expirationTime>W&&z());){var ae=h.callback;if(typeof ae=="function"){h.callback=null,y=h.priorityLevel;var P=ae(h.expirationTime<=W);if(W=e.unstable_now(),typeof P=="function"){h.callback=P,L(W),re=!0;break t}h===n(p)&&r(p),L(W)}else r(p);h=n(p)}if(h!==null)re=!0;else{var V=n(f);V!==null&&ie(O,V.startTime-W),re=!1}}break e}finally{h=null,y=J,T=!1}re=void 0}}finally{re?X():I=!1}}}var X;if(typeof D=="function")X=function(){D(ee)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,ue=oe.port2;oe.port1.onmessage=ee,X=function(){ue.postMessage(null)}}else X=function(){N(ee,0)};function ie(W,re){B=N(function(){W(e.unstable_now())},re)}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(W){W.callback=null},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(W){switch(y){case 1:case 2:case 3:var re=3;break;default:re=y}var J=y;y=re;try{return W()}finally{y=J}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(W,re){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var J=y;y=W;try{return re()}finally{y=J}},e.unstable_scheduleCallback=function(W,re,J){var ae=e.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ae+J:ae):J=ae,W){case 1:var P=-1;break;case 2:P=250;break;case 5:P=1073741823;break;case 4:P=1e4;break;default:P=5e3}return P=J+P,W={id:g++,callback:re,priorityLevel:W,startTime:J,expirationTime:P,sortIndex:-1},J>ae?(W.sortIndex=J,t(f,W),n(p)===null&&W===n(f)&&(C?(R(B),B=-1):C=!0,ie(O,J-ae))):(W.sortIndex=P,t(p,W),x||T||(x=!0,I||(I=!0,X()))),W},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(W){var re=y;return function(){var J=y;y=re;try{return W.apply(this,arguments)}finally{y=J}}}})(Sg)),Sg}var QA;function uL(){return QA||(QA=1,yg.exports=lL()),yg.exports}var Tg={exports:{}},On={};var JA;function cL(){if(JA)return On;JA=1;var e=uf();function t(p){var f="https://react.dev/errors/"+p;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)f+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+p+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function s(p,f,g){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:h==null?null:""+h,children:p,containerInfo:f,implementation:g}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(p,f){if(p==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return On.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,On.createPortal=function(p,f){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return s(p,f,null,g)},On.flushSync=function(p){var f=u.T,g=r.p;try{if(u.T=null,r.p=2,p)return p()}finally{u.T=f,r.p=g,r.d.f()}},On.preconnect=function(p,f){typeof p=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(p,f))},On.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},On.preinit=function(p,f){if(typeof p=="string"&&f&&typeof f.as=="string"){var g=f.as,h=c(g,f.crossOrigin),y=typeof f.integrity=="string"?f.integrity:void 0,T=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;g==="style"?r.d.S(p,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:h,integrity:y,fetchPriority:T}):g==="script"&&r.d.X(p,{crossOrigin:h,integrity:y,fetchPriority:T,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},On.preinitModule=function(p,f){if(typeof p=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var g=c(f.as,f.crossOrigin);r.d.M(p,{crossOrigin:g,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(p)},On.preload=function(p,f){if(typeof p=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var g=f.as,h=c(g,f.crossOrigin);r.d.L(p,g,{crossOrigin:h,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},On.preloadModule=function(p,f){if(typeof p=="string")if(f){var g=c(f.as,f.crossOrigin);r.d.m(p,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:g,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(p)},On.requestFormReset=function(p){r.d.r(p)},On.unstable_batchedUpdates=function(p,f){return p(f)},On.useFormState=function(p,f,g){return u.H.useFormState(p,f,g)},On.useFormStatus=function(){return u.H.useHostTransitionStatus()},On.version="19.2.3",On}var eC;function c2(){if(eC)return Tg.exports;eC=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(),Tg.exports=cL(),Tg.exports}var tC;function dL(){if(tC)return kl;tC=1;var e=uL(),t=uf(),n=c2();function r(a){var i="https://react.dev/errors/"+a;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)i+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+a+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function s(a){var i=a,l=a;if(a.alternate)for(;i.return;)i=i.return;else{a=i;do i=a,(i.flags&4098)!==0&&(l=i.return),a=i.return;while(a)}return i.tag===3?l:null}function u(a){if(a.tag===13){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function c(a){if(a.tag===31){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function p(a){if(s(a)!==a)throw Error(r(188))}function f(a){var i=a.alternate;if(!i){if(i=s(a),i===null)throw Error(r(188));return i!==a?null:a}for(var l=a,d=i;;){var b=l.return;if(b===null)break;var E=b.alternate;if(E===null){if(d=b.return,d!==null){l=d;continue}break}if(b.child===E.child){for(E=b.child;E;){if(E===l)return p(b),a;if(E===d)return p(b),i;E=E.sibling}throw Error(r(188))}if(l.return!==d.return)l=b,d=E;else{for(var A=!1,F=b.child;F;){if(F===l){A=!0,l=b,d=E;break}if(F===d){A=!0,d=b,l=E;break}F=F.sibling}if(!A){for(F=E.child;F;){if(F===l){A=!0,l=E,d=b;break}if(F===d){A=!0,d=E,l=b;break}F=F.sibling}if(!A)throw Error(r(189))}}if(l.alternate!==d)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?a:i}function g(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a;for(a=a.child;a!==null;){if(i=g(a),i!==null)return i;a=a.sibling}return null}var h=Object.assign,y=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),D=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),z=Symbol.for("react.memo_cache_sentinel"),ee=Symbol.iterator;function X(a){return a===null||typeof a!="object"?null:(a=ee&&a[ee]||a["@@iterator"],typeof a=="function"?a:null)}var oe=Symbol.for("react.client.reference");function ue(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===oe?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case C:return"Fragment";case N:return"Profiler";case w:return"StrictMode";case O:return"Suspense";case I:return"SuspenseList";case G:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case x:return"Portal";case D:return a.displayName||"Context";case R:return(a._context.displayName||"Context")+".Consumer";case L:var i=a.render;return a=a.displayName,a||(a=i.displayName||i.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case B:return i=a.displayName||null,i!==null?i:ue(a.type)||"Memo";case j:i=a._payload,a=a._init;try{return ue(a(i))}catch{}}return null}var ie=Array.isArray,W=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ae=[],P=-1;function V(a){return{current:a}}function H(a){0>P||(a.current=ae[P],ae[P]=null,P--)}function _(a,i){P++,ae[P]=a.current,a.current=i}var ne=V(null),se=V(null),q=V(null),Ee=V(null);function de(a,i){switch(_(q,i),_(se,a),_(ne,null),i.nodeType){case 9:case 11:a=(a=i.documentElement)&&(a=a.namespaceURI)?hA(a):0;break;default:if(a=i.tagName,i=i.namespaceURI)i=hA(i),a=bA(i,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}H(ne),_(ne,a)}function Te(){H(ne),H(se),H(q)}function ze(a){a.memoizedState!==null&&_(Ee,a);var i=ne.current,l=bA(i,a.type);i!==l&&(_(se,a),_(ne,l))}function Qe(a){se.current===a&&(H(ne),H(se)),Ee.current===a&&(H(Ee),Cl._currentValue=J)}var pe,He;function $e(a){if(pe===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);pe=i&&i[1]||"",He=-1<l.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+pe+a+He}var xe=!1;function rt(a,i){if(!a||xe)return"";xe=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(i){var ke=function(){throw Error()};if(Object.defineProperty(ke.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ke,[])}catch(Se){var ye=Se}Reflect.construct(a,[],ke)}else{try{ke.call()}catch(Se){ye=Se}a.call(ke.prototype)}}else{try{throw Error()}catch(Se){ye=Se}(ke=a())&&typeof ke.catch=="function"&&ke.catch(function(){})}}catch(Se){if(Se&&ye&&typeof Se.stack=="string")return[Se.stack,ye.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var E=d.DetermineComponentFrameRoot(),A=E[0],F=E[1];if(A&&F){var Q=A.split(`
|
|
4
|
-
`),he=F.split(`
|
|
5
|
-
`);for(b=d=0;d<Q.length&&!Q[d].includes("DetermineComponentFrameRoot");)d++;for(;b<he.length&&!he[b].includes("DetermineComponentFrameRoot");)b++;if(d===Q.length||b===he.length)for(d=Q.length-1,b=he.length-1;1<=d&&0<=b&&Q[d]!==he[b];)b--;for(;1<=d&&0<=b;d--,b--)if(Q[d]!==he[b]){if(d!==1||b!==1)do if(d--,b--,0>b||Q[d]!==he[b]){var Ce=`
|
|
6
|
-
`+Q[d].replace(" at new "," at ");return a.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",a.displayName)),Ce}while(1<=d&&0<=b);break}}}finally{xe=!1,Error.prepareStackTrace=l}return(l=a?a.displayName||a.name:"")?$e(l):""}function Me(a,i){switch(a.tag){case 26:case 27:case 5:return $e(a.type);case 16:return $e("Lazy");case 13:return a.child!==i&&i!==null?$e("Suspense Fallback"):$e("Suspense");case 19:return $e("SuspenseList");case 0:case 15:return rt(a.type,!1);case 11:return rt(a.type.render,!1);case 1:return rt(a.type,!0);case 31:return $e("Activity");default:return""}}function Je(a){try{var i="",l=null;do i+=Me(a,l),l=a,a=a.return;while(a);return i}catch(d){return`
|
|
7
|
-
Error generating stack: `+d.message+`
|
|
8
|
-
`+d.stack}}var Ze=Object.prototype.hasOwnProperty,Ke=e.unstable_scheduleCallback,It=e.unstable_cancelCallback,$t=e.unstable_shouldYield,ot=e.unstable_requestPaint,we=e.unstable_now,st=e.unstable_getCurrentPriorityLevel,k=e.unstable_ImmediatePriority,U=e.unstable_UserBlockingPriority,K=e.unstable_NormalPriority,le=e.unstable_LowPriority,Ne=e.unstable_IdlePriority,Ae=e.log,Fe=e.unstable_setDisableYieldValue,De=null,Re=null;function je(a){if(typeof Ae=="function"&&Fe(a),Re&&typeof Re.setStrictMode=="function")try{Re.setStrictMode(De,a)}catch{}}var be=Math.clz32?Math.clz32:Oe,Ie=Math.log,fe=Math.LN2;function Oe(a){return a>>>=0,a===0?32:31-(Ie(a)/fe|0)|0}var Xe=256,Ve=262144,Nt=4194304;function tt(a){var i=a&42;if(i!==0)return i;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function lt(a,i,l){var d=a.pendingLanes;if(d===0)return 0;var b=0,E=a.suspendedLanes,A=a.pingedLanes;a=a.warmLanes;var F=d&134217727;return F!==0?(d=F&~E,d!==0?b=tt(d):(A&=F,A!==0?b=tt(A):l||(l=F&~a,l!==0&&(b=tt(l))))):(F=d&~E,F!==0?b=tt(F):A!==0?b=tt(A):l||(l=d&~a,l!==0&&(b=tt(l)))),b===0?0:i!==0&&i!==b&&(i&E)===0&&(E=b&-b,l=i&-i,E>=l||E===32&&(l&4194048)!==0)?i:b}function Wt(a,i){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&i)===0}function vt(a,i){switch(a){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 an(){var a=Nt;return Nt<<=1,(Nt&62914560)===0&&(Nt=4194304),a}function Xt(a){for(var i=[],l=0;31>l;l++)i.push(a);return i}function Kt(a,i){a.pendingLanes|=i,i!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function jn(a,i,l,d,b,E){var A=a.pendingLanes;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=l,a.entangledLanes&=l,a.errorRecoveryDisabledLanes&=l,a.shellSuspendCounter=0;var F=a.entanglements,Q=a.expirationTimes,he=a.hiddenUpdates;for(l=A&~l;0<l;){var Ce=31-be(l),ke=1<<Ce;F[Ce]=0,Q[Ce]=-1;var ye=he[Ce];if(ye!==null)for(he[Ce]=null,Ce=0;Ce<ye.length;Ce++){var Se=ye[Ce];Se!==null&&(Se.lane&=-536870913)}l&=~ke}d!==0&&on(a,d,0),E!==0&&b===0&&a.tag!==0&&(a.suspendedLanes|=E&~(A&~i))}function on(a,i,l){a.pendingLanes|=i,a.suspendedLanes&=~i;var d=31-be(i);a.entangledLanes|=i,a.entanglements[d]=a.entanglements[d]|1073741824|l&261930}function Hn(a,i){var l=a.entangledLanes|=i;for(a=a.entanglements;l;){var d=31-be(l),b=1<<d;b&i|a[d]&i&&(a[d]|=i),l&=~b}}function yi(a,i){var l=i&-i;return l=(l&42)!==0?1:Si(l),(l&(a.suspendedLanes|i))!==0?0:l}function Si(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function ua(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function jr(){var a=re.p;return a!==0?a:(a=window.event,a===void 0?32:jA(a.type))}function co(a,i){var l=re.p;try{return re.p=a,i()}finally{re.p=l}}var zn=Math.random().toString(36).slice(2),Zt="__reactFiber$"+zn,Qt="__reactProps$"+zn,Hr="__reactContainer$"+zn,Ps="__reactEvents$"+zn,qI="__reactListeners$"+zn,WI="__reactHandles$"+zn,rT="__reactResources$"+zn,js="__reactMarker$"+zn;function lp(a){delete a[Zt],delete a[Qt],delete a[Ps],delete a[qI],delete a[WI]}function fo(a){var i=a[Zt];if(i)return i;for(var l=a.parentNode;l;){if(i=l[Hr]||l[Zt]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(a=AA(a);a!==null;){if(l=a[Zt])return l;a=AA(a)}return i}a=l,l=a.parentNode}return null}function po(a){if(a=a[Zt]||a[Hr]){var i=a.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return a}return null}function Hs(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a.stateNode;throw Error(r(33))}function mo(a){var i=a[rT];return i||(i=a[rT]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function bn(a){a[js]=!0}var aT=new Set,iT={};function Ti(a,i){go(a,i),go(a+"Capture",i)}function go(a,i){for(iT[a]=i,a=0;a<i.length;a++)aT.add(i[a])}var XI=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]*$"),oT={},sT={};function KI(a){return Ze.call(sT,a)?!0:Ze.call(oT,a)?!1:XI.test(a)?sT[a]=!0:(oT[a]=!0,!1)}function $u(a,i,l){if(KI(i))if(l===null)a.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":a.removeAttribute(i);return;case"boolean":var d=i.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){a.removeAttribute(i);return}}a.setAttribute(i,""+l)}}function Gu(a,i,l){if(l===null)a.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttribute(i,""+l)}}function ca(a,i,l,d){if(d===null)a.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttributeNS(i,l,""+d)}}function pr(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function lT(a){var i=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function ZI(a,i,l){var d=Object.getOwnPropertyDescriptor(a.constructor.prototype,i);if(!a.hasOwnProperty(i)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var b=d.get,E=d.set;return Object.defineProperty(a,i,{configurable:!0,get:function(){return b.call(this)},set:function(A){l=""+A,E.call(this,A)}}),Object.defineProperty(a,i,{enumerable:d.enumerable}),{getValue:function(){return l},setValue:function(A){l=""+A},stopTracking:function(){a._valueTracker=null,delete a[i]}}}}function up(a){if(!a._valueTracker){var i=lT(a)?"checked":"value";a._valueTracker=ZI(a,i,""+a[i])}}function uT(a){if(!a)return!1;var i=a._valueTracker;if(!i)return!0;var l=i.getValue(),d="";return a&&(d=lT(a)?a.checked?"true":"false":a.value),a=d,a!==l?(i.setValue(a),!0):!1}function Vu(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var QI=/[\n"\\]/g;function mr(a){return a.replace(QI,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function cp(a,i,l,d,b,E,A,F){a.name="",A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?a.type=A:a.removeAttribute("type"),i!=null?A==="number"?(i===0&&a.value===""||a.value!=i)&&(a.value=""+pr(i)):a.value!==""+pr(i)&&(a.value=""+pr(i)):A!=="submit"&&A!=="reset"||a.removeAttribute("value"),i!=null?dp(a,A,pr(i)):l!=null?dp(a,A,pr(l)):d!=null&&a.removeAttribute("value"),b==null&&E!=null&&(a.defaultChecked=!!E),b!=null&&(a.checked=b&&typeof b!="function"&&typeof b!="symbol"),F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?a.name=""+pr(F):a.removeAttribute("name")}function cT(a,i,l,d,b,E,A,F){if(E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(a.type=E),i!=null||l!=null){if(!(E!=="submit"&&E!=="reset"||i!=null)){up(a);return}l=l!=null?""+pr(l):"",i=i!=null?""+pr(i):l,F||i===a.value||(a.value=i),a.defaultValue=i}d=d??b,d=typeof d!="function"&&typeof d!="symbol"&&!!d,a.checked=F?a.checked:!!d,a.defaultChecked=!!d,A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(a.name=A),up(a)}function dp(a,i,l){i==="number"&&Vu(a.ownerDocument)===a||a.defaultValue===""+l||(a.defaultValue=""+l)}function ho(a,i,l,d){if(a=a.options,i){i={};for(var b=0;b<l.length;b++)i["$"+l[b]]=!0;for(l=0;l<a.length;l++)b=i.hasOwnProperty("$"+a[l].value),a[l].selected!==b&&(a[l].selected=b),b&&d&&(a[l].defaultSelected=!0)}else{for(l=""+pr(l),i=null,b=0;b<a.length;b++){if(a[b].value===l){a[b].selected=!0,d&&(a[b].defaultSelected=!0);return}i!==null||a[b].disabled||(i=a[b])}i!==null&&(i.selected=!0)}}function dT(a,i,l){if(i!=null&&(i=""+pr(i),i!==a.value&&(a.value=i),l==null)){a.defaultValue!==i&&(a.defaultValue=i);return}a.defaultValue=l!=null?""+pr(l):""}function fT(a,i,l,d){if(i==null){if(d!=null){if(l!=null)throw Error(r(92));if(ie(d)){if(1<d.length)throw Error(r(93));d=d[0]}l=d}l==null&&(l=""),i=l}l=pr(i),a.defaultValue=l,d=a.textContent,d===l&&d!==""&&d!==null&&(a.value=d),up(a)}function bo(a,i){if(i){var l=a.firstChild;if(l&&l===a.lastChild&&l.nodeType===3){l.nodeValue=i;return}}a.textContent=i}var JI=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 pT(a,i,l){var d=i.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?d?a.setProperty(i,""):i==="float"?a.cssFloat="":a[i]="":d?a.setProperty(i,l):typeof l!="number"||l===0||JI.has(i)?i==="float"?a.cssFloat=l:a[i]=(""+l).trim():a[i]=l+"px"}function mT(a,i,l){if(i!=null&&typeof i!="object")throw Error(r(62));if(a=a.style,l!=null){for(var d in l)!l.hasOwnProperty(d)||i!=null&&i.hasOwnProperty(d)||(d.indexOf("--")===0?a.setProperty(d,""):d==="float"?a.cssFloat="":a[d]="");for(var b in i)d=i[b],i.hasOwnProperty(b)&&l[b]!==d&&pT(a,b,d)}else for(var E in i)i.hasOwnProperty(E)&&pT(a,E,i[E])}function fp(a){if(a.indexOf("-")===-1)return!1;switch(a){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 eO=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"]]),tO=/^[\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 Yu(a){return tO.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function da(){}var pp=null;function mp(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var Eo=null,yo=null;function gT(a){var i=po(a);if(i&&(a=i.stateNode)){var l=a[Qt]||null;e:switch(a=i.stateNode,i.type){case"input":if(cp(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),i=l.name,l.type==="radio"&&i!=null){for(l=a;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+mr(""+i)+'"][type="radio"]'),i=0;i<l.length;i++){var d=l[i];if(d!==a&&d.form===a.form){var b=d[Qt]||null;if(!b)throw Error(r(90));cp(d,b.value,b.defaultValue,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name)}}for(i=0;i<l.length;i++)d=l[i],d.form===a.form&&uT(d)}break e;case"textarea":dT(a,l.value,l.defaultValue);break e;case"select":i=l.value,i!=null&&ho(a,!!l.multiple,i,!1)}}}var gp=!1;function hT(a,i,l){if(gp)return a(i,l);gp=!0;try{var d=a(i);return d}finally{if(gp=!1,(Eo!==null||yo!==null)&&(Oc(),Eo&&(i=Eo,a=yo,yo=Eo=null,gT(i),a)))for(i=0;i<a.length;i++)gT(a[i])}}function zs(a,i){var l=a.stateNode;if(l===null)return null;var d=l[Qt]||null;if(d===null)return null;l=d[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(a=a.type,d=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!d;break e;default:a=!1}if(a)return null;if(l&&typeof l!="function")throw Error(r(231,i,typeof l));return l}var fa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hp=!1;if(fa)try{var $s={};Object.defineProperty($s,"passive",{get:function(){hp=!0}}),window.addEventListener("test",$s,$s),window.removeEventListener("test",$s,$s)}catch{hp=!1}var Ma=null,bp=null,qu=null;function bT(){if(qu)return qu;var a,i=bp,l=i.length,d,b="value"in Ma?Ma.value:Ma.textContent,E=b.length;for(a=0;a<l&&i[a]===b[a];a++);var A=l-a;for(d=1;d<=A&&i[l-d]===b[E-d];d++);return qu=b.slice(a,1<d?1-d:void 0)}function Wu(a){var i=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&i===13&&(a=13)):a=i,a===10&&(a=13),32<=a||a===13?a:0}function Xu(){return!0}function ET(){return!1}function $n(a){function i(l,d,b,E,A){this._reactName=l,this._targetInst=b,this.type=d,this.nativeEvent=E,this.target=A,this.currentTarget=null;for(var F in a)a.hasOwnProperty(F)&&(l=a[F],this[F]=l?l(E):E[F]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Xu:ET,this.isPropagationStopped=ET,this}return h(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Xu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Xu)},persist:function(){},isPersistent:Xu}),i}var vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ku=$n(vi),Gs=h({},vi,{view:0,detail:0}),nO=$n(Gs),Ep,yp,Vs,Zu=h({},Gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tp,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Vs&&(Vs&&a.type==="mousemove"?(Ep=a.screenX-Vs.screenX,yp=a.screenY-Vs.screenY):yp=Ep=0,Vs=a),Ep)},movementY:function(a){return"movementY"in a?a.movementY:yp}}),yT=$n(Zu),rO=h({},Zu,{dataTransfer:0}),aO=$n(rO),iO=h({},Gs,{relatedTarget:0}),Sp=$n(iO),oO=h({},vi,{animationName:0,elapsedTime:0,pseudoElement:0}),sO=$n(oO),lO=h({},vi,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),uO=$n(lO),cO=h({},vi,{data:0}),ST=$n(cO),dO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fO={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"},pO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mO(a){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(a):(a=pO[a])?!!i[a]:!1}function Tp(){return mO}var gO=h({},Gs,{key:function(a){if(a.key){var i=dO[a.key]||a.key;if(i!=="Unidentified")return i}return a.type==="keypress"?(a=Wu(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?fO[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tp,charCode:function(a){return a.type==="keypress"?Wu(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?Wu(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),hO=$n(gO),bO=h({},Zu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),TT=$n(bO),EO=h({},Gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tp}),yO=$n(EO),SO=h({},vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),TO=$n(SO),vO=h({},Zu,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),xO=$n(vO),AO=h({},vi,{newState:0,oldState:0}),CO=$n(AO),wO=[9,13,27,32],vp=fa&&"CompositionEvent"in window,Ys=null;fa&&"documentMode"in document&&(Ys=document.documentMode);var NO=fa&&"TextEvent"in window&&!Ys,vT=fa&&(!vp||Ys&&8<Ys&&11>=Ys),xT=" ",AT=!1;function CT(a,i){switch(a){case"keyup":return wO.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wT(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var So=!1;function _O(a,i){switch(a){case"compositionend":return wT(i);case"keypress":return i.which!==32?null:(AT=!0,xT);case"textInput":return a=i.data,a===xT&&AT?null:a;default:return null}}function RO(a,i){if(So)return a==="compositionend"||!vp&&CT(a,i)?(a=bT(),qu=bp=Ma=null,So=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return vT&&i.locale!=="ko"?null:i.data;default:return null}}var kO={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 NT(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i==="input"?!!kO[a.type]:i==="textarea"}function _T(a,i,l,d){Eo?yo?yo.push(d):yo=[d]:Eo=d,i=jc(i,"onChange"),0<i.length&&(l=new Ku("onChange","change",null,l,d),a.push({event:l,listeners:i}))}var qs=null,Ws=null;function DO(a){cA(a,0)}function Qu(a){var i=Hs(a);if(uT(i))return a}function RT(a,i){if(a==="change")return i}var kT=!1;if(fa){var xp;if(fa){var Ap="oninput"in document;if(!Ap){var DT=document.createElement("div");DT.setAttribute("oninput","return;"),Ap=typeof DT.oninput=="function"}xp=Ap}else xp=!1;kT=xp&&(!document.documentMode||9<document.documentMode)}function IT(){qs&&(qs.detachEvent("onpropertychange",OT),Ws=qs=null)}function OT(a){if(a.propertyName==="value"&&Qu(Ws)){var i=[];_T(i,Ws,a,mp(a)),hT(DO,i)}}function IO(a,i,l){a==="focusin"?(IT(),qs=i,Ws=l,qs.attachEvent("onpropertychange",OT)):a==="focusout"&&IT()}function OO(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Qu(Ws)}function LO(a,i){if(a==="click")return Qu(i)}function MO(a,i){if(a==="input"||a==="change")return Qu(i)}function FO(a,i){return a===i&&(a!==0||1/a===1/i)||a!==a&&i!==i}var Jn=typeof Object.is=="function"?Object.is:FO;function Xs(a,i){if(Jn(a,i))return!0;if(typeof a!="object"||a===null||typeof i!="object"||i===null)return!1;var l=Object.keys(a),d=Object.keys(i);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var b=l[d];if(!Ze.call(i,b)||!Jn(a[b],i[b]))return!1}return!0}function LT(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function MT(a,i){var l=LT(a);a=0;for(var d;l;){if(l.nodeType===3){if(d=a+l.textContent.length,a<=i&&d>=i)return{node:l,offset:i-a};a=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=LT(l)}}function FT(a,i){return a&&i?a===i?!0:a&&a.nodeType===3?!1:i&&i.nodeType===3?FT(a,i.parentNode):"contains"in a?a.contains(i):a.compareDocumentPosition?!!(a.compareDocumentPosition(i)&16):!1:!1}function BT(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var i=Vu(a.document);i instanceof a.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)a=i.contentWindow;else break;i=Vu(a.document)}return i}function Cp(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i&&(i==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||i==="textarea"||a.contentEditable==="true")}var BO=fa&&"documentMode"in document&&11>=document.documentMode,To=null,wp=null,Ks=null,Np=!1;function UT(a,i,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Np||To==null||To!==Vu(d)||(d=To,"selectionStart"in d&&Cp(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Ks&&Xs(Ks,d)||(Ks=d,d=jc(wp,"onSelect"),0<d.length&&(i=new Ku("onSelect","select",null,i,l),a.push({event:i,listeners:d}),i.target=To)))}function xi(a,i){var l={};return l[a.toLowerCase()]=i.toLowerCase(),l["Webkit"+a]="webkit"+i,l["Moz"+a]="moz"+i,l}var vo={animationend:xi("Animation","AnimationEnd"),animationiteration:xi("Animation","AnimationIteration"),animationstart:xi("Animation","AnimationStart"),transitionrun:xi("Transition","TransitionRun"),transitionstart:xi("Transition","TransitionStart"),transitioncancel:xi("Transition","TransitionCancel"),transitionend:xi("Transition","TransitionEnd")},_p={},PT={};fa&&(PT=document.createElement("div").style,"AnimationEvent"in window||(delete vo.animationend.animation,delete vo.animationiteration.animation,delete vo.animationstart.animation),"TransitionEvent"in window||delete vo.transitionend.transition);function Ai(a){if(_p[a])return _p[a];if(!vo[a])return a;var i=vo[a],l;for(l in i)if(i.hasOwnProperty(l)&&l in PT)return _p[a]=i[l];return a}var jT=Ai("animationend"),HT=Ai("animationiteration"),zT=Ai("animationstart"),UO=Ai("transitionrun"),PO=Ai("transitionstart"),jO=Ai("transitioncancel"),$T=Ai("transitionend"),GT=new Map,Rp="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(" ");Rp.push("scrollEnd");function kr(a,i){GT.set(a,i),Ti(i,[a])}var Ju=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},gr=[],xo=0,kp=0;function ec(){for(var a=xo,i=kp=xo=0;i<a;){var l=gr[i];gr[i++]=null;var d=gr[i];gr[i++]=null;var b=gr[i];gr[i++]=null;var E=gr[i];if(gr[i++]=null,d!==null&&b!==null){var A=d.pending;A===null?b.next=b:(b.next=A.next,A.next=b),d.pending=b}E!==0&&VT(l,b,E)}}function tc(a,i,l,d){gr[xo++]=a,gr[xo++]=i,gr[xo++]=l,gr[xo++]=d,kp|=d,a.lanes|=d,a=a.alternate,a!==null&&(a.lanes|=d)}function Dp(a,i,l,d){return tc(a,i,l,d),nc(a)}function Ci(a,i){return tc(a,null,null,i),nc(a)}function VT(a,i,l){a.lanes|=l;var d=a.alternate;d!==null&&(d.lanes|=l);for(var b=!1,E=a.return;E!==null;)E.childLanes|=l,d=E.alternate,d!==null&&(d.childLanes|=l),E.tag===22&&(a=E.stateNode,a===null||a._visibility&1||(b=!0)),a=E,E=E.return;return a.tag===3?(E=a.stateNode,b&&i!==null&&(b=31-be(l),a=E.hiddenUpdates,d=a[b],d===null?a[b]=[i]:d.push(i),i.lane=l|536870912),E):null}function nc(a){if(50<El)throw El=0,jm=null,Error(r(185));for(var i=a.return;i!==null;)a=i,i=a.return;return a.tag===3?a.stateNode:null}var Ao={};function HO(a,i,l,d){this.tag=a,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function er(a,i,l,d){return new HO(a,i,l,d)}function Ip(a){return a=a.prototype,!(!a||!a.isReactComponent)}function pa(a,i){var l=a.alternate;return l===null?(l=er(a.tag,i,a.key,a.mode),l.elementType=a.elementType,l.type=a.type,l.stateNode=a.stateNode,l.alternate=a,a.alternate=l):(l.pendingProps=i,l.type=a.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=a.flags&65011712,l.childLanes=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,i=a.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=a.sibling,l.index=a.index,l.ref=a.ref,l.refCleanup=a.refCleanup,l}function YT(a,i){a.flags&=65011714;var l=a.alternate;return l===null?(a.childLanes=0,a.lanes=i,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,i=l.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),a}function rc(a,i,l,d,b,E){var A=0;if(d=a,typeof a=="function")Ip(a)&&(A=1);else if(typeof a=="string")A=Y3(a,l,ne.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case G:return a=er(31,l,i,b),a.elementType=G,a.lanes=E,a;case C:return wi(l.children,b,E,i);case w:A=8,b|=24;break;case N:return a=er(12,l,i,b|2),a.elementType=N,a.lanes=E,a;case O:return a=er(13,l,i,b),a.elementType=O,a.lanes=E,a;case I:return a=er(19,l,i,b),a.elementType=I,a.lanes=E,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case D:A=10;break e;case R:A=9;break e;case L:A=11;break e;case B:A=14;break e;case j:A=16,d=null;break e}A=29,l=Error(r(130,a===null?"null":typeof a,"")),d=null}return i=er(A,l,i,b),i.elementType=a,i.type=d,i.lanes=E,i}function wi(a,i,l,d){return a=er(7,a,d,i),a.lanes=l,a}function Op(a,i,l){return a=er(6,a,null,i),a.lanes=l,a}function qT(a){var i=er(18,null,null,0);return i.stateNode=a,i}function Lp(a,i,l){return i=er(4,a.children!==null?a.children:[],a.key,i),i.lanes=l,i.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},i}var WT=new WeakMap;function hr(a,i){if(typeof a=="object"&&a!==null){var l=WT.get(a);return l!==void 0?l:(i={value:a,source:i,stack:Je(i)},WT.set(a,i),i)}return{value:a,source:i,stack:Je(i)}}var Co=[],wo=0,ac=null,Zs=0,br=[],Er=0,Fa=null,zr=1,$r="";function ma(a,i){Co[wo++]=Zs,Co[wo++]=ac,ac=a,Zs=i}function XT(a,i,l){br[Er++]=zr,br[Er++]=$r,br[Er++]=Fa,Fa=a;var d=zr;a=$r;var b=32-be(d)-1;d&=~(1<<b),l+=1;var E=32-be(i)+b;if(30<E){var A=b-b%5;E=(d&(1<<A)-1).toString(32),d>>=A,b-=A,zr=1<<32-be(i)+b|l<<b|d,$r=E+a}else zr=1<<E|l<<b|d,$r=a}function Mp(a){a.return!==null&&(ma(a,1),XT(a,1,0))}function Fp(a){for(;a===ac;)ac=Co[--wo],Co[wo]=null,Zs=Co[--wo],Co[wo]=null;for(;a===Fa;)Fa=br[--Er],br[Er]=null,$r=br[--Er],br[Er]=null,zr=br[--Er],br[Er]=null}function KT(a,i){br[Er++]=zr,br[Er++]=$r,br[Er++]=Fa,zr=i.id,$r=i.overflow,Fa=a}var An=null,Gt=null,Ct=!1,Ba=null,yr=!1,Bp=Error(r(519));function Ua(a){var i=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Qs(hr(i,a)),Bp}function ZT(a){var i=a.stateNode,l=a.type,d=a.memoizedProps;switch(i[Zt]=a,i[Qt]=d,l){case"dialog":Et("cancel",i),Et("close",i);break;case"iframe":case"object":case"embed":Et("load",i);break;case"video":case"audio":for(l=0;l<Sl.length;l++)Et(Sl[l],i);break;case"source":Et("error",i);break;case"img":case"image":case"link":Et("error",i),Et("load",i);break;case"details":Et("toggle",i);break;case"input":Et("invalid",i),cT(i,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0);break;case"select":Et("invalid",i);break;case"textarea":Et("invalid",i),fT(i,d.value,d.defaultValue,d.children)}l=d.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||i.textContent===""+l||d.suppressHydrationWarning===!0||mA(i.textContent,l)?(d.popover!=null&&(Et("beforetoggle",i),Et("toggle",i)),d.onScroll!=null&&Et("scroll",i),d.onScrollEnd!=null&&Et("scrollend",i),d.onClick!=null&&(i.onclick=da),i=!0):i=!1,i||Ua(a,!0)}function QT(a){for(An=a.return;An;)switch(An.tag){case 5:case 31:case 13:yr=!1;return;case 27:case 3:yr=!0;return;default:An=An.return}}function No(a){if(a!==An)return!1;if(!Ct)return QT(a),Ct=!0,!1;var i=a.tag,l;if((l=i!==3&&i!==27)&&((l=i===5)&&(l=a.type,l=!(l!=="form"&&l!=="button")||tg(a.type,a.memoizedProps)),l=!l),l&&Gt&&Ua(a),QT(a),i===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));Gt=xA(a)}else if(i===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));Gt=xA(a)}else i===27?(i=Gt,Qa(a.type)?(a=og,og=null,Gt=a):Gt=i):Gt=An?Tr(a.stateNode.nextSibling):null;return!0}function Ni(){Gt=An=null,Ct=!1}function Up(){var a=Ba;return a!==null&&(qn===null?qn=a:qn.push.apply(qn,a),Ba=null),a}function Qs(a){Ba===null?Ba=[a]:Ba.push(a)}var Pp=V(null),_i=null,ga=null;function Pa(a,i,l){_(Pp,i._currentValue),i._currentValue=l}function ha(a){a._currentValue=Pp.current,H(Pp)}function jp(a,i,l){for(;a!==null;){var d=a.alternate;if((a.childLanes&i)!==i?(a.childLanes|=i,d!==null&&(d.childLanes|=i)):d!==null&&(d.childLanes&i)!==i&&(d.childLanes|=i),a===l)break;a=a.return}}function Hp(a,i,l,d){var b=a.child;for(b!==null&&(b.return=a);b!==null;){var E=b.dependencies;if(E!==null){var A=b.child;E=E.firstContext;e:for(;E!==null;){var F=E;E=b;for(var Q=0;Q<i.length;Q++)if(F.context===i[Q]){E.lanes|=l,F=E.alternate,F!==null&&(F.lanes|=l),jp(E.return,l,a),d||(A=null);break e}E=F.next}}else if(b.tag===18){if(A=b.return,A===null)throw Error(r(341));A.lanes|=l,E=A.alternate,E!==null&&(E.lanes|=l),jp(A,l,a),A=null}else A=b.child;if(A!==null)A.return=b;else for(A=b;A!==null;){if(A===a){A=null;break}if(b=A.sibling,b!==null){b.return=A.return,A=b;break}A=A.return}b=A}}function _o(a,i,l,d){a=null;for(var b=i,E=!1;b!==null;){if(!E){if((b.flags&524288)!==0)E=!0;else if((b.flags&262144)!==0)break}if(b.tag===10){var A=b.alternate;if(A===null)throw Error(r(387));if(A=A.memoizedProps,A!==null){var F=b.type;Jn(b.pendingProps.value,A.value)||(a!==null?a.push(F):a=[F])}}else if(b===Ee.current){if(A=b.alternate,A===null)throw Error(r(387));A.memoizedState.memoizedState!==b.memoizedState.memoizedState&&(a!==null?a.push(Cl):a=[Cl])}b=b.return}a!==null&&Hp(i,a,l,d),i.flags|=262144}function ic(a){for(a=a.firstContext;a!==null;){if(!Jn(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Ri(a){_i=a,ga=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Cn(a){return JT(_i,a)}function oc(a,i){return _i===null&&Ri(a),JT(a,i)}function JT(a,i){var l=i._currentValue;if(i={context:i,memoizedValue:l,next:null},ga===null){if(a===null)throw Error(r(308));ga=i,a.dependencies={lanes:0,firstContext:i},a.flags|=524288}else ga=ga.next=i;return l}var zO=typeof AbortController<"u"?AbortController:function(){var a=[],i=this.signal={aborted:!1,addEventListener:function(l,d){a.push(d)}};this.abort=function(){i.aborted=!0,a.forEach(function(l){return l()})}},$O=e.unstable_scheduleCallback,GO=e.unstable_NormalPriority,sn={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zp(){return{controller:new zO,data:new Map,refCount:0}}function Js(a){a.refCount--,a.refCount===0&&$O(GO,function(){a.controller.abort()})}var el=null,$p=0,Ro=0,ko=null;function VO(a,i){if(el===null){var l=el=[];$p=0,Ro=Ym(),ko={status:"pending",value:void 0,then:function(d){l.push(d)}}}return $p++,i.then(ev,ev),i}function ev(){if(--$p===0&&el!==null){ko!==null&&(ko.status="fulfilled");var a=el;el=null,Ro=0,ko=null;for(var i=0;i<a.length;i++)(0,a[i])()}}function YO(a,i){var l=[],d={status:"pending",value:null,reason:null,then:function(b){l.push(b)}};return a.then(function(){d.status="fulfilled",d.value=i;for(var b=0;b<l.length;b++)(0,l[b])(i)},function(b){for(d.status="rejected",d.reason=b,b=0;b<l.length;b++)(0,l[b])(void 0)}),d}var tv=W.S;W.S=function(a,i){Ux=we(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&VO(a,i),tv!==null&&tv(a,i)};var ki=V(null);function Gp(){var a=ki.current;return a!==null?a:Ut.pooledCache}function sc(a,i){i===null?_(ki,ki.current):_(ki,i.pool)}function nv(){var a=Gp();return a===null?null:{parent:sn._currentValue,pool:a}}var Do=Error(r(460)),Vp=Error(r(474)),lc=Error(r(542)),uc={then:function(){}};function rv(a){return a=a.status,a==="fulfilled"||a==="rejected"}function av(a,i,l){switch(l=a[l],l===void 0?a.push(i):l!==i&&(i.then(da,da),i=l),i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,ov(a),a;default:if(typeof i.status=="string")i.then(da,da);else{if(a=Ut,a!==null&&100<a.shellSuspendCounter)throw Error(r(482));a=i,a.status="pending",a.then(function(d){if(i.status==="pending"){var b=i;b.status="fulfilled",b.value=d}},function(d){if(i.status==="pending"){var b=i;b.status="rejected",b.reason=d}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,ov(a),a}throw Ii=i,Do}}function Di(a){try{var i=a._init;return i(a._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Ii=l,Do):l}}var Ii=null;function iv(){if(Ii===null)throw Error(r(459));var a=Ii;return Ii=null,a}function ov(a){if(a===Do||a===lc)throw Error(r(483))}var Io=null,tl=0;function cc(a){var i=tl;return tl+=1,Io===null&&(Io=[]),av(Io,a,i)}function nl(a,i){i=i.props.ref,a.ref=i!==void 0?i:null}function dc(a,i){throw i.$$typeof===y?Error(r(525)):(a=Object.prototype.toString.call(i),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":a)))}function sv(a){function i(ce,te){if(a){var ge=ce.deletions;ge===null?(ce.deletions=[te],ce.flags|=16):ge.push(te)}}function l(ce,te){if(!a)return null;for(;te!==null;)i(ce,te),te=te.sibling;return null}function d(ce){for(var te=new Map;ce!==null;)ce.key!==null?te.set(ce.key,ce):te.set(ce.index,ce),ce=ce.sibling;return te}function b(ce,te){return ce=pa(ce,te),ce.index=0,ce.sibling=null,ce}function E(ce,te,ge){return ce.index=ge,a?(ge=ce.alternate,ge!==null?(ge=ge.index,ge<te?(ce.flags|=67108866,te):ge):(ce.flags|=67108866,te)):(ce.flags|=1048576,te)}function A(ce){return a&&ce.alternate===null&&(ce.flags|=67108866),ce}function F(ce,te,ge,_e){return te===null||te.tag!==6?(te=Op(ge,ce.mode,_e),te.return=ce,te):(te=b(te,ge),te.return=ce,te)}function Q(ce,te,ge,_e){var et=ge.type;return et===C?Ce(ce,te,ge.props.children,_e,ge.key):te!==null&&(te.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===j&&Di(et)===te.type)?(te=b(te,ge.props),nl(te,ge),te.return=ce,te):(te=rc(ge.type,ge.key,ge.props,null,ce.mode,_e),nl(te,ge),te.return=ce,te)}function he(ce,te,ge,_e){return te===null||te.tag!==4||te.stateNode.containerInfo!==ge.containerInfo||te.stateNode.implementation!==ge.implementation?(te=Lp(ge,ce.mode,_e),te.return=ce,te):(te=b(te,ge.children||[]),te.return=ce,te)}function Ce(ce,te,ge,_e,et){return te===null||te.tag!==7?(te=wi(ge,ce.mode,_e,et),te.return=ce,te):(te=b(te,ge),te.return=ce,te)}function ke(ce,te,ge){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return te=Op(""+te,ce.mode,ge),te.return=ce,te;if(typeof te=="object"&&te!==null){switch(te.$$typeof){case T:return ge=rc(te.type,te.key,te.props,null,ce.mode,ge),nl(ge,te),ge.return=ce,ge;case x:return te=Lp(te,ce.mode,ge),te.return=ce,te;case j:return te=Di(te),ke(ce,te,ge)}if(ie(te)||X(te))return te=wi(te,ce.mode,ge,null),te.return=ce,te;if(typeof te.then=="function")return ke(ce,cc(te),ge);if(te.$$typeof===D)return ke(ce,oc(ce,te),ge);dc(ce,te)}return null}function ye(ce,te,ge,_e){var et=te!==null?te.key:null;if(typeof ge=="string"&&ge!==""||typeof ge=="number"||typeof ge=="bigint")return et!==null?null:F(ce,te,""+ge,_e);if(typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case T:return ge.key===et?Q(ce,te,ge,_e):null;case x:return ge.key===et?he(ce,te,ge,_e):null;case j:return ge=Di(ge),ye(ce,te,ge,_e)}if(ie(ge)||X(ge))return et!==null?null:Ce(ce,te,ge,_e,null);if(typeof ge.then=="function")return ye(ce,te,cc(ge),_e);if(ge.$$typeof===D)return ye(ce,te,oc(ce,ge),_e);dc(ce,ge)}return null}function Se(ce,te,ge,_e,et){if(typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint")return ce=ce.get(ge)||null,F(te,ce,""+_e,et);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case T:return ce=ce.get(_e.key===null?ge:_e.key)||null,Q(te,ce,_e,et);case x:return ce=ce.get(_e.key===null?ge:_e.key)||null,he(te,ce,_e,et);case j:return _e=Di(_e),Se(ce,te,ge,_e,et)}if(ie(_e)||X(_e))return ce=ce.get(ge)||null,Ce(te,ce,_e,et,null);if(typeof _e.then=="function")return Se(ce,te,ge,cc(_e),et);if(_e.$$typeof===D)return Se(ce,te,ge,oc(te,_e),et);dc(te,_e)}return null}function Ge(ce,te,ge,_e){for(var et=null,_t=null,We=te,pt=te=0,At=null;We!==null&&pt<ge.length;pt++){We.index>pt?(At=We,We=null):At=We.sibling;var Rt=ye(ce,We,ge[pt],_e);if(Rt===null){We===null&&(We=At);break}a&&We&&Rt.alternate===null&&i(ce,We),te=E(Rt,te,pt),_t===null?et=Rt:_t.sibling=Rt,_t=Rt,We=At}if(pt===ge.length)return l(ce,We),Ct&&ma(ce,pt),et;if(We===null){for(;pt<ge.length;pt++)We=ke(ce,ge[pt],_e),We!==null&&(te=E(We,te,pt),_t===null?et=We:_t.sibling=We,_t=We);return Ct&&ma(ce,pt),et}for(We=d(We);pt<ge.length;pt++)At=Se(We,ce,pt,ge[pt],_e),At!==null&&(a&&At.alternate!==null&&We.delete(At.key===null?pt:At.key),te=E(At,te,pt),_t===null?et=At:_t.sibling=At,_t=At);return a&&We.forEach(function(ri){return i(ce,ri)}),Ct&&ma(ce,pt),et}function at(ce,te,ge,_e){if(ge==null)throw Error(r(151));for(var et=null,_t=null,We=te,pt=te=0,At=null,Rt=ge.next();We!==null&&!Rt.done;pt++,Rt=ge.next()){We.index>pt?(At=We,We=null):At=We.sibling;var ri=ye(ce,We,Rt.value,_e);if(ri===null){We===null&&(We=At);break}a&&We&&ri.alternate===null&&i(ce,We),te=E(ri,te,pt),_t===null?et=ri:_t.sibling=ri,_t=ri,We=At}if(Rt.done)return l(ce,We),Ct&&ma(ce,pt),et;if(We===null){for(;!Rt.done;pt++,Rt=ge.next())Rt=ke(ce,Rt.value,_e),Rt!==null&&(te=E(Rt,te,pt),_t===null?et=Rt:_t.sibling=Rt,_t=Rt);return Ct&&ma(ce,pt),et}for(We=d(We);!Rt.done;pt++,Rt=ge.next())Rt=Se(We,ce,pt,Rt.value,_e),Rt!==null&&(a&&Rt.alternate!==null&&We.delete(Rt.key===null?pt:Rt.key),te=E(Rt,te,pt),_t===null?et=Rt:_t.sibling=Rt,_t=Rt);return a&&We.forEach(function(rL){return i(ce,rL)}),Ct&&ma(ce,pt),et}function Bt(ce,te,ge,_e){if(typeof ge=="object"&&ge!==null&&ge.type===C&&ge.key===null&&(ge=ge.props.children),typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case T:e:{for(var et=ge.key;te!==null;){if(te.key===et){if(et=ge.type,et===C){if(te.tag===7){l(ce,te.sibling),_e=b(te,ge.props.children),_e.return=ce,ce=_e;break e}}else if(te.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===j&&Di(et)===te.type){l(ce,te.sibling),_e=b(te,ge.props),nl(_e,ge),_e.return=ce,ce=_e;break e}l(ce,te);break}else i(ce,te);te=te.sibling}ge.type===C?(_e=wi(ge.props.children,ce.mode,_e,ge.key),_e.return=ce,ce=_e):(_e=rc(ge.type,ge.key,ge.props,null,ce.mode,_e),nl(_e,ge),_e.return=ce,ce=_e)}return A(ce);case x:e:{for(et=ge.key;te!==null;){if(te.key===et)if(te.tag===4&&te.stateNode.containerInfo===ge.containerInfo&&te.stateNode.implementation===ge.implementation){l(ce,te.sibling),_e=b(te,ge.children||[]),_e.return=ce,ce=_e;break e}else{l(ce,te);break}else i(ce,te);te=te.sibling}_e=Lp(ge,ce.mode,_e),_e.return=ce,ce=_e}return A(ce);case j:return ge=Di(ge),Bt(ce,te,ge,_e)}if(ie(ge))return Ge(ce,te,ge,_e);if(X(ge)){if(et=X(ge),typeof et!="function")throw Error(r(150));return ge=et.call(ge),at(ce,te,ge,_e)}if(typeof ge.then=="function")return Bt(ce,te,cc(ge),_e);if(ge.$$typeof===D)return Bt(ce,te,oc(ce,ge),_e);dc(ce,ge)}return typeof ge=="string"&&ge!==""||typeof ge=="number"||typeof ge=="bigint"?(ge=""+ge,te!==null&&te.tag===6?(l(ce,te.sibling),_e=b(te,ge),_e.return=ce,ce=_e):(l(ce,te),_e=Op(ge,ce.mode,_e),_e.return=ce,ce=_e),A(ce)):l(ce,te)}return function(ce,te,ge,_e){try{tl=0;var et=Bt(ce,te,ge,_e);return Io=null,et}catch(We){if(We===Do||We===lc)throw We;var _t=er(29,We,null,ce.mode);return _t.lanes=_e,_t.return=ce,_t}}}var Oi=sv(!0),lv=sv(!1),ja=!1;function Yp(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qp(a,i){a=a.updateQueue,i.updateQueue===a&&(i.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Ha(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function za(a,i,l){var d=a.updateQueue;if(d===null)return null;if(d=d.shared,(Dt&2)!==0){var b=d.pending;return b===null?i.next=i:(i.next=b.next,b.next=i),d.pending=i,i=nc(a),VT(a,null,l),i}return tc(a,d,i,l),nc(a)}function rl(a,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194048)!==0)){var d=i.lanes;d&=a.pendingLanes,l|=d,i.lanes=l,Hn(a,l)}}function Wp(a,i){var l=a.updateQueue,d=a.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var b=null,E=null;if(l=l.firstBaseUpdate,l!==null){do{var A={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};E===null?b=E=A:E=E.next=A,l=l.next}while(l!==null);E===null?b=E=i:E=E.next=i}else b=E=i;l={baseState:d.baseState,firstBaseUpdate:b,lastBaseUpdate:E,shared:d.shared,callbacks:d.callbacks},a.updateQueue=l;return}a=l.lastBaseUpdate,a===null?l.firstBaseUpdate=i:a.next=i,l.lastBaseUpdate=i}var Xp=!1;function al(){if(Xp){var a=ko;if(a!==null)throw a}}function il(a,i,l,d){Xp=!1;var b=a.updateQueue;ja=!1;var E=b.firstBaseUpdate,A=b.lastBaseUpdate,F=b.shared.pending;if(F!==null){b.shared.pending=null;var Q=F,he=Q.next;Q.next=null,A===null?E=he:A.next=he,A=Q;var Ce=a.alternate;Ce!==null&&(Ce=Ce.updateQueue,F=Ce.lastBaseUpdate,F!==A&&(F===null?Ce.firstBaseUpdate=he:F.next=he,Ce.lastBaseUpdate=Q))}if(E!==null){var ke=b.baseState;A=0,Ce=he=Q=null,F=E;do{var ye=F.lane&-536870913,Se=ye!==F.lane;if(Se?(xt&ye)===ye:(d&ye)===ye){ye!==0&&ye===Ro&&(Xp=!0),Ce!==null&&(Ce=Ce.next={lane:0,tag:F.tag,payload:F.payload,callback:null,next:null});e:{var Ge=a,at=F;ye=i;var Bt=l;switch(at.tag){case 1:if(Ge=at.payload,typeof Ge=="function"){ke=Ge.call(Bt,ke,ye);break e}ke=Ge;break e;case 3:Ge.flags=Ge.flags&-65537|128;case 0:if(Ge=at.payload,ye=typeof Ge=="function"?Ge.call(Bt,ke,ye):Ge,ye==null)break e;ke=h({},ke,ye);break e;case 2:ja=!0}}ye=F.callback,ye!==null&&(a.flags|=64,Se&&(a.flags|=8192),Se=b.callbacks,Se===null?b.callbacks=[ye]:Se.push(ye))}else Se={lane:ye,tag:F.tag,payload:F.payload,callback:F.callback,next:null},Ce===null?(he=Ce=Se,Q=ke):Ce=Ce.next=Se,A|=ye;if(F=F.next,F===null){if(F=b.shared.pending,F===null)break;Se=F,F=Se.next,Se.next=null,b.lastBaseUpdate=Se,b.shared.pending=null}}while(!0);Ce===null&&(Q=ke),b.baseState=Q,b.firstBaseUpdate=he,b.lastBaseUpdate=Ce,E===null&&(b.shared.lanes=0),qa|=A,a.lanes=A,a.memoizedState=ke}}function uv(a,i){if(typeof a!="function")throw Error(r(191,a));a.call(i)}function cv(a,i){var l=a.callbacks;if(l!==null)for(a.callbacks=null,a=0;a<l.length;a++)uv(l[a],i)}var Oo=V(null),fc=V(0);function dv(a,i){a=Ca,_(fc,a),_(Oo,i),Ca=a|i.baseLanes}function Kp(){_(fc,Ca),_(Oo,Oo.current)}function Zp(){Ca=fc.current,H(Oo),H(fc)}var tr=V(null),Sr=null;function $a(a){var i=a.alternate;_(tn,tn.current&1),_(tr,a),Sr===null&&(i===null||Oo.current!==null||i.memoizedState!==null)&&(Sr=a)}function Qp(a){_(tn,tn.current),_(tr,a),Sr===null&&(Sr=a)}function fv(a){a.tag===22?(_(tn,tn.current),_(tr,a),Sr===null&&(Sr=a)):Ga()}function Ga(){_(tn,tn.current),_(tr,tr.current)}function nr(a){H(tr),Sr===a&&(Sr=null),H(tn)}var tn=V(0);function pc(a){for(var i=a;i!==null;){if(i.tag===13){var l=i.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||ag(l)||ig(l)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var ba=0,dt=null,Mt=null,ln=null,mc=!1,Lo=!1,Li=!1,gc=0,ol=0,Mo=null,qO=0;function Jt(){throw Error(r(321))}function Jp(a,i){if(i===null)return!1;for(var l=0;l<i.length&&l<a.length;l++)if(!Jn(a[l],i[l]))return!1;return!0}function em(a,i,l,d,b,E){return ba=E,dt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,W.H=a===null||a.memoizedState===null?Xv:gm,Li=!1,E=l(d,b),Li=!1,Lo&&(E=mv(i,l,d,b)),pv(a),E}function pv(a){W.H=ul;var i=Mt!==null&&Mt.next!==null;if(ba=0,ln=Mt=dt=null,mc=!1,ol=0,Mo=null,i)throw Error(r(300));a===null||un||(a=a.dependencies,a!==null&&ic(a)&&(un=!0))}function mv(a,i,l,d){dt=a;var b=0;do{if(Lo&&(Mo=null),ol=0,Lo=!1,25<=b)throw Error(r(301));if(b+=1,ln=Mt=null,a.updateQueue!=null){var E=a.updateQueue;E.lastEffect=null,E.events=null,E.stores=null,E.memoCache!=null&&(E.memoCache.index=0)}W.H=Kv,E=i(l,d)}while(Lo);return E}function WO(){var a=W.H,i=a.useState()[0];return i=typeof i.then=="function"?sl(i):i,a=a.useState()[0],(Mt!==null?Mt.memoizedState:null)!==a&&(dt.flags|=1024),i}function tm(){var a=gc!==0;return gc=0,a}function nm(a,i,l){i.updateQueue=a.updateQueue,i.flags&=-2053,a.lanes&=~l}function rm(a){if(mc){for(a=a.memoizedState;a!==null;){var i=a.queue;i!==null&&(i.pending=null),a=a.next}mc=!1}ba=0,ln=Mt=dt=null,Lo=!1,ol=gc=0,Mo=null}function Bn(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ln===null?dt.memoizedState=ln=a:ln=ln.next=a,ln}function nn(){if(Mt===null){var a=dt.alternate;a=a!==null?a.memoizedState:null}else a=Mt.next;var i=ln===null?dt.memoizedState:ln.next;if(i!==null)ln=i,Mt=a;else{if(a===null)throw dt.alternate===null?Error(r(467)):Error(r(310));Mt=a,a={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},ln===null?dt.memoizedState=ln=a:ln=ln.next=a}return ln}function hc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sl(a){var i=ol;return ol+=1,Mo===null&&(Mo=[]),a=av(Mo,a,i),i=dt,(ln===null?i.memoizedState:ln.next)===null&&(i=i.alternate,W.H=i===null||i.memoizedState===null?Xv:gm),a}function bc(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return sl(a);if(a.$$typeof===D)return Cn(a)}throw Error(r(438,String(a)))}function am(a){var i=null,l=dt.updateQueue;if(l!==null&&(i=l.memoCache),i==null){var d=dt.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(i={data:d.data.map(function(b){return b.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),l===null&&(l=hc(),dt.updateQueue=l),l.memoCache=i,l=i.data[i.index],l===void 0)for(l=i.data[i.index]=Array(a),d=0;d<a;d++)l[d]=z;return i.index++,l}function Ea(a,i){return typeof i=="function"?i(a):i}function Ec(a){var i=nn();return im(i,Mt,a)}function im(a,i,l){var d=a.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=l;var b=a.baseQueue,E=d.pending;if(E!==null){if(b!==null){var A=b.next;b.next=E.next,E.next=A}i.baseQueue=b=E,d.pending=null}if(E=a.baseState,b===null)a.memoizedState=E;else{i=b.next;var F=A=null,Q=null,he=i,Ce=!1;do{var ke=he.lane&-536870913;if(ke!==he.lane?(xt&ke)===ke:(ba&ke)===ke){var ye=he.revertLane;if(ye===0)Q!==null&&(Q=Q.next={lane:0,revertLane:0,gesture:null,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null}),ke===Ro&&(Ce=!0);else if((ba&ye)===ye){he=he.next,ye===Ro&&(Ce=!0);continue}else ke={lane:0,revertLane:he.revertLane,gesture:null,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null},Q===null?(F=Q=ke,A=E):Q=Q.next=ke,dt.lanes|=ye,qa|=ye;ke=he.action,Li&&l(E,ke),E=he.hasEagerState?he.eagerState:l(E,ke)}else ye={lane:ke,revertLane:he.revertLane,gesture:he.gesture,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null},Q===null?(F=Q=ye,A=E):Q=Q.next=ye,dt.lanes|=ke,qa|=ke;he=he.next}while(he!==null&&he!==i);if(Q===null?A=E:Q.next=F,!Jn(E,a.memoizedState)&&(un=!0,Ce&&(l=ko,l!==null)))throw l;a.memoizedState=E,a.baseState=A,a.baseQueue=Q,d.lastRenderedState=E}return b===null&&(d.lanes=0),[a.memoizedState,d.dispatch]}function om(a){var i=nn(),l=i.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var d=l.dispatch,b=l.pending,E=i.memoizedState;if(b!==null){l.pending=null;var A=b=b.next;do E=a(E,A.action),A=A.next;while(A!==b);Jn(E,i.memoizedState)||(un=!0),i.memoizedState=E,i.baseQueue===null&&(i.baseState=E),l.lastRenderedState=E}return[E,d]}function gv(a,i,l){var d=dt,b=nn(),E=Ct;if(E){if(l===void 0)throw Error(r(407));l=l()}else l=i();var A=!Jn((Mt||b).memoizedState,l);if(A&&(b.memoizedState=l,un=!0),b=b.queue,um(Ev.bind(null,d,b,a),[a]),b.getSnapshot!==i||A||ln!==null&&ln.memoizedState.tag&1){if(d.flags|=2048,Fo(9,{destroy:void 0},bv.bind(null,d,b,l,i),null),Ut===null)throw Error(r(349));E||(ba&127)!==0||hv(d,i,l)}return l}function hv(a,i,l){a.flags|=16384,a={getSnapshot:i,value:l},i=dt.updateQueue,i===null?(i=hc(),dt.updateQueue=i,i.stores=[a]):(l=i.stores,l===null?i.stores=[a]:l.push(a))}function bv(a,i,l,d){i.value=l,i.getSnapshot=d,yv(i)&&Sv(a)}function Ev(a,i,l){return l(function(){yv(i)&&Sv(a)})}function yv(a){var i=a.getSnapshot;a=a.value;try{var l=i();return!Jn(a,l)}catch{return!0}}function Sv(a){var i=Ci(a,2);i!==null&&Wn(i,a,2)}function sm(a){var i=Bn();if(typeof a=="function"){var l=a;if(a=l(),Li){je(!0);try{l()}finally{je(!1)}}}return i.memoizedState=i.baseState=a,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ea,lastRenderedState:a},i}function Tv(a,i,l,d){return a.baseState=l,im(a,Mt,typeof d=="function"?d:Ea)}function XO(a,i,l,d,b){if(Tc(a))throw Error(r(485));if(a=i.action,a!==null){var E={payload:b,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(A){E.listeners.push(A)}};W.T!==null?l(!0):E.isTransition=!1,d(E),l=i.pending,l===null?(E.next=i.pending=E,vv(i,E)):(E.next=l.next,i.pending=l.next=E)}}function vv(a,i){var l=i.action,d=i.payload,b=a.state;if(i.isTransition){var E=W.T,A={};W.T=A;try{var F=l(b,d),Q=W.S;Q!==null&&Q(A,F),xv(a,i,F)}catch(he){lm(a,i,he)}finally{E!==null&&A.types!==null&&(E.types=A.types),W.T=E}}else try{E=l(b,d),xv(a,i,E)}catch(he){lm(a,i,he)}}function xv(a,i,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(d){Av(a,i,d)},function(d){return lm(a,i,d)}):Av(a,i,l)}function Av(a,i,l){i.status="fulfilled",i.value=l,Cv(i),a.state=l,i=a.pending,i!==null&&(l=i.next,l===i?a.pending=null:(l=l.next,i.next=l,vv(a,l)))}function lm(a,i,l){var d=a.pending;if(a.pending=null,d!==null){d=d.next;do i.status="rejected",i.reason=l,Cv(i),i=i.next;while(i!==d)}a.action=null}function Cv(a){a=a.listeners;for(var i=0;i<a.length;i++)(0,a[i])()}function wv(a,i){return i}function Nv(a,i){if(Ct){var l=Ut.formState;if(l!==null){e:{var d=dt;if(Ct){if(Gt){t:{for(var b=Gt,E=yr;b.nodeType!==8;){if(!E){b=null;break t}if(b=Tr(b.nextSibling),b===null){b=null;break t}}E=b.data,b=E==="F!"||E==="F"?b:null}if(b){Gt=Tr(b.nextSibling),d=b.data==="F!";break e}}Ua(d)}d=!1}d&&(i=l[0])}}return l=Bn(),l.memoizedState=l.baseState=i,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wv,lastRenderedState:i},l.queue=d,l=Yv.bind(null,dt,d),d.dispatch=l,d=sm(!1),E=mm.bind(null,dt,!1,d.queue),d=Bn(),b={state:i,dispatch:null,action:a,pending:null},d.queue=b,l=XO.bind(null,dt,b,E,l),b.dispatch=l,d.memoizedState=a,[i,l,!1]}function _v(a){var i=nn();return Rv(i,Mt,a)}function Rv(a,i,l){if(i=im(a,i,wv)[0],a=Ec(Ea)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var d=sl(i)}catch(A){throw A===Do?lc:A}else d=i;i=nn();var b=i.queue,E=b.dispatch;return l!==i.memoizedState&&(dt.flags|=2048,Fo(9,{destroy:void 0},KO.bind(null,b,l),null)),[d,E,a]}function KO(a,i){a.action=i}function kv(a){var i=nn(),l=Mt;if(l!==null)return Rv(i,l,a);nn(),i=i.memoizedState,l=nn();var d=l.queue.dispatch;return l.memoizedState=a,[i,d,!1]}function Fo(a,i,l,d){return a={tag:a,create:l,deps:d,inst:i,next:null},i=dt.updateQueue,i===null&&(i=hc(),dt.updateQueue=i),l=i.lastEffect,l===null?i.lastEffect=a.next=a:(d=l.next,l.next=a,a.next=d,i.lastEffect=a),a}function Dv(){return nn().memoizedState}function yc(a,i,l,d){var b=Bn();dt.flags|=a,b.memoizedState=Fo(1|i,{destroy:void 0},l,d===void 0?null:d)}function Sc(a,i,l,d){var b=nn();d=d===void 0?null:d;var E=b.memoizedState.inst;Mt!==null&&d!==null&&Jp(d,Mt.memoizedState.deps)?b.memoizedState=Fo(i,E,l,d):(dt.flags|=a,b.memoizedState=Fo(1|i,E,l,d))}function Iv(a,i){yc(8390656,8,a,i)}function um(a,i){Sc(2048,8,a,i)}function ZO(a){dt.flags|=4;var i=dt.updateQueue;if(i===null)i=hc(),dt.updateQueue=i,i.events=[a];else{var l=i.events;l===null?i.events=[a]:l.push(a)}}function Ov(a){var i=nn().memoizedState;return ZO({ref:i,nextImpl:a}),function(){if((Dt&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}function Lv(a,i){return Sc(4,2,a,i)}function Mv(a,i){return Sc(4,4,a,i)}function Fv(a,i){if(typeof i=="function"){a=a();var l=i(a);return function(){typeof l=="function"?l():i(null)}}if(i!=null)return a=a(),i.current=a,function(){i.current=null}}function Bv(a,i,l){l=l!=null?l.concat([a]):null,Sc(4,4,Fv.bind(null,i,a),l)}function cm(){}function Uv(a,i){var l=nn();i=i===void 0?null:i;var d=l.memoizedState;return i!==null&&Jp(i,d[1])?d[0]:(l.memoizedState=[a,i],a)}function Pv(a,i){var l=nn();i=i===void 0?null:i;var d=l.memoizedState;if(i!==null&&Jp(i,d[1]))return d[0];if(d=a(),Li){je(!0);try{a()}finally{je(!1)}}return l.memoizedState=[d,i],d}function dm(a,i,l){return l===void 0||(ba&1073741824)!==0&&(xt&261930)===0?a.memoizedState=i:(a.memoizedState=l,a=jx(),dt.lanes|=a,qa|=a,l)}function jv(a,i,l,d){return Jn(l,i)?l:Oo.current!==null?(a=dm(a,l,d),Jn(a,i)||(un=!0),a):(ba&42)===0||(ba&1073741824)!==0&&(xt&261930)===0?(un=!0,a.memoizedState=l):(a=jx(),dt.lanes|=a,qa|=a,i)}function Hv(a,i,l,d,b){var E=re.p;re.p=E!==0&&8>E?E:8;var A=W.T,F={};W.T=F,mm(a,!1,i,l);try{var Q=b(),he=W.S;if(he!==null&&he(F,Q),Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){var Ce=YO(Q,d);ll(a,i,Ce,ir(a))}else ll(a,i,d,ir(a))}catch(ke){ll(a,i,{then:function(){},status:"rejected",reason:ke},ir())}finally{re.p=E,A!==null&&F.types!==null&&(A.types=F.types),W.T=A}}function QO(){}function fm(a,i,l,d){if(a.tag!==5)throw Error(r(476));var b=zv(a).queue;Hv(a,b,i,J,l===null?QO:function(){return $v(a),l(d)})}function zv(a){var i=a.memoizedState;if(i!==null)return i;i={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ea,lastRenderedState:J},next:null};var l={};return i.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ea,lastRenderedState:l},next:null},a.memoizedState=i,a=a.alternate,a!==null&&(a.memoizedState=i),i}function $v(a){var i=zv(a);i.next===null&&(i=a.alternate.memoizedState),ll(a,i.next.queue,{},ir())}function pm(){return Cn(Cl)}function Gv(){return nn().memoizedState}function Vv(){return nn().memoizedState}function JO(a){for(var i=a.return;i!==null;){switch(i.tag){case 24:case 3:var l=ir();a=Ha(l);var d=za(i,a,l);d!==null&&(Wn(d,i,l),rl(d,i,l)),i={cache:zp()},a.payload=i;return}i=i.return}}function e3(a,i,l){var d=ir();l={lane:d,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Tc(a)?qv(i,l):(l=Dp(a,i,l,d),l!==null&&(Wn(l,a,d),Wv(l,i,d)))}function Yv(a,i,l){var d=ir();ll(a,i,l,d)}function ll(a,i,l,d){var b={lane:d,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Tc(a))qv(i,b);else{var E=a.alternate;if(a.lanes===0&&(E===null||E.lanes===0)&&(E=i.lastRenderedReducer,E!==null))try{var A=i.lastRenderedState,F=E(A,l);if(b.hasEagerState=!0,b.eagerState=F,Jn(F,A))return tc(a,i,b,0),Ut===null&&ec(),!1}catch{}if(l=Dp(a,i,b,d),l!==null)return Wn(l,a,d),Wv(l,i,d),!0}return!1}function mm(a,i,l,d){if(d={lane:2,revertLane:Ym(),gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},Tc(a)){if(i)throw Error(r(479))}else i=Dp(a,l,d,2),i!==null&&Wn(i,a,2)}function Tc(a){var i=a.alternate;return a===dt||i!==null&&i===dt}function qv(a,i){Lo=mc=!0;var l=a.pending;l===null?i.next=i:(i.next=l.next,l.next=i),a.pending=i}function Wv(a,i,l){if((l&4194048)!==0){var d=i.lanes;d&=a.pendingLanes,l|=d,i.lanes=l,Hn(a,l)}}var ul={readContext:Cn,use:bc,useCallback:Jt,useContext:Jt,useEffect:Jt,useImperativeHandle:Jt,useLayoutEffect:Jt,useInsertionEffect:Jt,useMemo:Jt,useReducer:Jt,useRef:Jt,useState:Jt,useDebugValue:Jt,useDeferredValue:Jt,useTransition:Jt,useSyncExternalStore:Jt,useId:Jt,useHostTransitionStatus:Jt,useFormState:Jt,useActionState:Jt,useOptimistic:Jt,useMemoCache:Jt,useCacheRefresh:Jt};ul.useEffectEvent=Jt;var Xv={readContext:Cn,use:bc,useCallback:function(a,i){return Bn().memoizedState=[a,i===void 0?null:i],a},useContext:Cn,useEffect:Iv,useImperativeHandle:function(a,i,l){l=l!=null?l.concat([a]):null,yc(4194308,4,Fv.bind(null,i,a),l)},useLayoutEffect:function(a,i){return yc(4194308,4,a,i)},useInsertionEffect:function(a,i){yc(4,2,a,i)},useMemo:function(a,i){var l=Bn();i=i===void 0?null:i;var d=a();if(Li){je(!0);try{a()}finally{je(!1)}}return l.memoizedState=[d,i],d},useReducer:function(a,i,l){var d=Bn();if(l!==void 0){var b=l(i);if(Li){je(!0);try{l(i)}finally{je(!1)}}}else b=i;return d.memoizedState=d.baseState=b,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b},d.queue=a,a=a.dispatch=e3.bind(null,dt,a),[d.memoizedState,a]},useRef:function(a){var i=Bn();return a={current:a},i.memoizedState=a},useState:function(a){a=sm(a);var i=a.queue,l=Yv.bind(null,dt,i);return i.dispatch=l,[a.memoizedState,l]},useDebugValue:cm,useDeferredValue:function(a,i){var l=Bn();return dm(l,a,i)},useTransition:function(){var a=sm(!1);return a=Hv.bind(null,dt,a.queue,!0,!1),Bn().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,i,l){var d=dt,b=Bn();if(Ct){if(l===void 0)throw Error(r(407));l=l()}else{if(l=i(),Ut===null)throw Error(r(349));(xt&127)!==0||hv(d,i,l)}b.memoizedState=l;var E={value:l,getSnapshot:i};return b.queue=E,Iv(Ev.bind(null,d,E,a),[a]),d.flags|=2048,Fo(9,{destroy:void 0},bv.bind(null,d,E,l,i),null),l},useId:function(){var a=Bn(),i=Ut.identifierPrefix;if(Ct){var l=$r,d=zr;l=(d&~(1<<32-be(d)-1)).toString(32)+l,i="_"+i+"R_"+l,l=gc++,0<l&&(i+="H"+l.toString(32)),i+="_"}else l=qO++,i="_"+i+"r_"+l.toString(32)+"_";return a.memoizedState=i},useHostTransitionStatus:pm,useFormState:Nv,useActionState:Nv,useOptimistic:function(a){var i=Bn();i.memoizedState=i.baseState=a;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=l,i=mm.bind(null,dt,!0,l),l.dispatch=i,[a,i]},useMemoCache:am,useCacheRefresh:function(){return Bn().memoizedState=JO.bind(null,dt)},useEffectEvent:function(a){var i=Bn(),l={impl:a};return i.memoizedState=l,function(){if((Dt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},gm={readContext:Cn,use:bc,useCallback:Uv,useContext:Cn,useEffect:um,useImperativeHandle:Bv,useInsertionEffect:Lv,useLayoutEffect:Mv,useMemo:Pv,useReducer:Ec,useRef:Dv,useState:function(){return Ec(Ea)},useDebugValue:cm,useDeferredValue:function(a,i){var l=nn();return jv(l,Mt.memoizedState,a,i)},useTransition:function(){var a=Ec(Ea)[0],i=nn().memoizedState;return[typeof a=="boolean"?a:sl(a),i]},useSyncExternalStore:gv,useId:Gv,useHostTransitionStatus:pm,useFormState:_v,useActionState:_v,useOptimistic:function(a,i){var l=nn();return Tv(l,Mt,a,i)},useMemoCache:am,useCacheRefresh:Vv};gm.useEffectEvent=Ov;var Kv={readContext:Cn,use:bc,useCallback:Uv,useContext:Cn,useEffect:um,useImperativeHandle:Bv,useInsertionEffect:Lv,useLayoutEffect:Mv,useMemo:Pv,useReducer:om,useRef:Dv,useState:function(){return om(Ea)},useDebugValue:cm,useDeferredValue:function(a,i){var l=nn();return Mt===null?dm(l,a,i):jv(l,Mt.memoizedState,a,i)},useTransition:function(){var a=om(Ea)[0],i=nn().memoizedState;return[typeof a=="boolean"?a:sl(a),i]},useSyncExternalStore:gv,useId:Gv,useHostTransitionStatus:pm,useFormState:kv,useActionState:kv,useOptimistic:function(a,i){var l=nn();return Mt!==null?Tv(l,Mt,a,i):(l.baseState=a,[a,l.queue.dispatch])},useMemoCache:am,useCacheRefresh:Vv};Kv.useEffectEvent=Ov;function hm(a,i,l,d){i=a.memoizedState,l=l(d,i),l=l==null?i:h({},i,l),a.memoizedState=l,a.lanes===0&&(a.updateQueue.baseState=l)}var bm={enqueueSetState:function(a,i,l){a=a._reactInternals;var d=ir(),b=Ha(d);b.payload=i,l!=null&&(b.callback=l),i=za(a,b,d),i!==null&&(Wn(i,a,d),rl(i,a,d))},enqueueReplaceState:function(a,i,l){a=a._reactInternals;var d=ir(),b=Ha(d);b.tag=1,b.payload=i,l!=null&&(b.callback=l),i=za(a,b,d),i!==null&&(Wn(i,a,d),rl(i,a,d))},enqueueForceUpdate:function(a,i){a=a._reactInternals;var l=ir(),d=Ha(l);d.tag=2,i!=null&&(d.callback=i),i=za(a,d,l),i!==null&&(Wn(i,a,l),rl(i,a,l))}};function Zv(a,i,l,d,b,E,A){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(d,E,A):i.prototype&&i.prototype.isPureReactComponent?!Xs(l,d)||!Xs(b,E):!0}function Qv(a,i,l,d){a=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(l,d),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(l,d),i.state!==a&&bm.enqueueReplaceState(i,i.state,null)}function Mi(a,i){var l=i;if("ref"in i){l={};for(var d in i)d!=="ref"&&(l[d]=i[d])}if(a=a.defaultProps){l===i&&(l=h({},l));for(var b in a)l[b]===void 0&&(l[b]=a[b])}return l}function Jv(a){Ju(a)}function ex(a){console.error(a)}function tx(a){Ju(a)}function vc(a,i){try{var l=a.onUncaughtError;l(i.value,{componentStack:i.stack})}catch(d){setTimeout(function(){throw d})}}function nx(a,i,l){try{var d=a.onCaughtError;d(l.value,{componentStack:l.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(b){setTimeout(function(){throw b})}}function Em(a,i,l){return l=Ha(l),l.tag=3,l.payload={element:null},l.callback=function(){vc(a,i)},l}function rx(a){return a=Ha(a),a.tag=3,a}function ax(a,i,l,d){var b=l.type.getDerivedStateFromError;if(typeof b=="function"){var E=d.value;a.payload=function(){return b(E)},a.callback=function(){nx(i,l,d)}}var A=l.stateNode;A!==null&&typeof A.componentDidCatch=="function"&&(a.callback=function(){nx(i,l,d),typeof b!="function"&&(Wa===null?Wa=new Set([this]):Wa.add(this));var F=d.stack;this.componentDidCatch(d.value,{componentStack:F!==null?F:""})})}function t3(a,i,l,d,b){if(l.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){if(i=l.alternate,i!==null&&_o(i,l,b,!0),l=tr.current,l!==null){switch(l.tag){case 31:case 13:return Sr===null?Lc():l.alternate===null&&en===0&&(en=3),l.flags&=-257,l.flags|=65536,l.lanes=b,d===uc?l.flags|=16384:(i=l.updateQueue,i===null?l.updateQueue=new Set([d]):i.add(d),$m(a,d,b)),!1;case 22:return l.flags|=65536,d===uc?l.flags|=16384:(i=l.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([d])},l.updateQueue=i):(l=i.retryQueue,l===null?i.retryQueue=new Set([d]):l.add(d)),$m(a,d,b)),!1}throw Error(r(435,l.tag))}return $m(a,d,b),Lc(),!1}if(Ct)return i=tr.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=b,d!==Bp&&(a=Error(r(422),{cause:d}),Qs(hr(a,l)))):(d!==Bp&&(i=Error(r(423),{cause:d}),Qs(hr(i,l))),a=a.current.alternate,a.flags|=65536,b&=-b,a.lanes|=b,d=hr(d,l),b=Em(a.stateNode,d,b),Wp(a,b),en!==4&&(en=2)),!1;var E=Error(r(520),{cause:d});if(E=hr(E,l),bl===null?bl=[E]:bl.push(E),en!==4&&(en=2),i===null)return!0;d=hr(d,l),l=i;do{switch(l.tag){case 3:return l.flags|=65536,a=b&-b,l.lanes|=a,a=Em(l.stateNode,d,a),Wp(l,a),!1;case 1:if(i=l.type,E=l.stateNode,(l.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(Wa===null||!Wa.has(E))))return l.flags|=65536,b&=-b,l.lanes|=b,b=rx(b),ax(b,a,l,d),Wp(l,b),!1}l=l.return}while(l!==null);return!1}var ym=Error(r(461)),un=!1;function wn(a,i,l,d){i.child=a===null?lv(i,null,l,d):Oi(i,a.child,l,d)}function ix(a,i,l,d,b){l=l.render;var E=i.ref;if("ref"in d){var A={};for(var F in d)F!=="ref"&&(A[F]=d[F])}else A=d;return Ri(i),d=em(a,i,l,A,E,b),F=tm(),a!==null&&!un?(nm(a,i,b),ya(a,i,b)):(Ct&&F&&Mp(i),i.flags|=1,wn(a,i,d,b),i.child)}function ox(a,i,l,d,b){if(a===null){var E=l.type;return typeof E=="function"&&!Ip(E)&&E.defaultProps===void 0&&l.compare===null?(i.tag=15,i.type=E,sx(a,i,E,d,b)):(a=rc(l.type,null,d,i,i.mode,b),a.ref=i.ref,a.return=i,i.child=a)}if(E=a.child,!Nm(a,b)){var A=E.memoizedProps;if(l=l.compare,l=l!==null?l:Xs,l(A,d)&&a.ref===i.ref)return ya(a,i,b)}return i.flags|=1,a=pa(E,d),a.ref=i.ref,a.return=i,i.child=a}function sx(a,i,l,d,b){if(a!==null){var E=a.memoizedProps;if(Xs(E,d)&&a.ref===i.ref)if(un=!1,i.pendingProps=d=E,Nm(a,b))(a.flags&131072)!==0&&(un=!0);else return i.lanes=a.lanes,ya(a,i,b)}return Sm(a,i,l,d,b)}function lx(a,i,l,d){var b=d.children,E=a!==null?a.memoizedState:null;if(a===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),d.mode==="hidden"){if((i.flags&128)!==0){if(E=E!==null?E.baseLanes|l:l,a!==null){for(d=i.child=a.child,b=0;d!==null;)b=b|d.lanes|d.childLanes,d=d.sibling;d=b&~E}else d=0,i.child=null;return ux(a,i,E,l,d)}if((l&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},a!==null&&sc(i,E!==null?E.cachePool:null),E!==null?dv(i,E):Kp(),fv(i);else return d=i.lanes=536870912,ux(a,i,E!==null?E.baseLanes|l:l,l,d)}else E!==null?(sc(i,E.cachePool),dv(i,E),Ga(),i.memoizedState=null):(a!==null&&sc(i,null),Kp(),Ga());return wn(a,i,b,l),i.child}function cl(a,i){return a!==null&&a.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function ux(a,i,l,d,b){var E=Gp();return E=E===null?null:{parent:sn._currentValue,pool:E},i.memoizedState={baseLanes:l,cachePool:E},a!==null&&sc(i,null),Kp(),fv(i),a!==null&&_o(a,i,d,!0),i.childLanes=b,null}function xc(a,i){return i=Cc({mode:i.mode,children:i.children},a.mode),i.ref=a.ref,a.child=i,i.return=a,i}function cx(a,i,l){return Oi(i,a.child,null,l),a=xc(i,i.pendingProps),a.flags|=2,nr(i),i.memoizedState=null,a}function n3(a,i,l){var d=i.pendingProps,b=(i.flags&128)!==0;if(i.flags&=-129,a===null){if(Ct){if(d.mode==="hidden")return a=xc(i,d),i.lanes=536870912,cl(null,a);if(Qp(i),(a=Gt)?(a=vA(a,yr),a=a!==null&&a.data==="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:Fa!==null?{id:zr,overflow:$r}:null,retryLane:536870912,hydrationErrors:null},l=qT(a),l.return=i,i.child=l,An=i,Gt=null)):a=null,a===null)throw Ua(i);return i.lanes=536870912,null}return xc(i,d)}var E=a.memoizedState;if(E!==null){var A=E.dehydrated;if(Qp(i),b)if(i.flags&256)i.flags&=-257,i=cx(a,i,l);else if(i.memoizedState!==null)i.child=a.child,i.flags|=128,i=null;else throw Error(r(558));else if(un||_o(a,i,l,!1),b=(l&a.childLanes)!==0,un||b){if(d=Ut,d!==null&&(A=yi(d,l),A!==0&&A!==E.retryLane))throw E.retryLane=A,Ci(a,A),Wn(d,a,A),ym;Lc(),i=cx(a,i,l)}else a=E.treeContext,Gt=Tr(A.nextSibling),An=i,Ct=!0,Ba=null,yr=!1,a!==null&&KT(i,a),i=xc(i,d),i.flags|=4096;return i}return a=pa(a.child,{mode:d.mode,children:d.children}),a.ref=i.ref,i.child=a,a.return=i,a}function Ac(a,i){var l=i.ref;if(l===null)a!==null&&a.ref!==null&&(i.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(a===null||a.ref!==l)&&(i.flags|=4194816)}}function Sm(a,i,l,d,b){return Ri(i),l=em(a,i,l,d,void 0,b),d=tm(),a!==null&&!un?(nm(a,i,b),ya(a,i,b)):(Ct&&d&&Mp(i),i.flags|=1,wn(a,i,l,b),i.child)}function dx(a,i,l,d,b,E){return Ri(i),i.updateQueue=null,l=mv(i,d,l,b),pv(a),d=tm(),a!==null&&!un?(nm(a,i,E),ya(a,i,E)):(Ct&&d&&Mp(i),i.flags|=1,wn(a,i,l,E),i.child)}function fx(a,i,l,d,b){if(Ri(i),i.stateNode===null){var E=Ao,A=l.contextType;typeof A=="object"&&A!==null&&(E=Cn(A)),E=new l(d,E),i.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,E.updater=bm,i.stateNode=E,E._reactInternals=i,E=i.stateNode,E.props=d,E.state=i.memoizedState,E.refs={},Yp(i),A=l.contextType,E.context=typeof A=="object"&&A!==null?Cn(A):Ao,E.state=i.memoizedState,A=l.getDerivedStateFromProps,typeof A=="function"&&(hm(i,l,A,d),E.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof E.getSnapshotBeforeUpdate=="function"||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(A=E.state,typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount(),A!==E.state&&bm.enqueueReplaceState(E,E.state,null),il(i,d,E,b),al(),E.state=i.memoizedState),typeof E.componentDidMount=="function"&&(i.flags|=4194308),d=!0}else if(a===null){E=i.stateNode;var F=i.memoizedProps,Q=Mi(l,F);E.props=Q;var he=E.context,Ce=l.contextType;A=Ao,typeof Ce=="object"&&Ce!==null&&(A=Cn(Ce));var ke=l.getDerivedStateFromProps;Ce=typeof ke=="function"||typeof E.getSnapshotBeforeUpdate=="function",F=i.pendingProps!==F,Ce||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(F||he!==A)&&Qv(i,E,d,A),ja=!1;var ye=i.memoizedState;E.state=ye,il(i,d,E,b),al(),he=i.memoizedState,F||ye!==he||ja?(typeof ke=="function"&&(hm(i,l,ke,d),he=i.memoizedState),(Q=ja||Zv(i,l,Q,d,ye,he,A))?(Ce||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(i.flags|=4194308)):(typeof E.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=he),E.props=d,E.state=he,E.context=A,d=Q):(typeof E.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{E=i.stateNode,qp(a,i),A=i.memoizedProps,Ce=Mi(l,A),E.props=Ce,ke=i.pendingProps,ye=E.context,he=l.contextType,Q=Ao,typeof he=="object"&&he!==null&&(Q=Cn(he)),F=l.getDerivedStateFromProps,(he=typeof F=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(A!==ke||ye!==Q)&&Qv(i,E,d,Q),ja=!1,ye=i.memoizedState,E.state=ye,il(i,d,E,b),al();var Se=i.memoizedState;A!==ke||ye!==Se||ja||a!==null&&a.dependencies!==null&&ic(a.dependencies)?(typeof F=="function"&&(hm(i,l,F,d),Se=i.memoizedState),(Ce=ja||Zv(i,l,Ce,d,ye,Se,Q)||a!==null&&a.dependencies!==null&&ic(a.dependencies))?(he||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(d,Se,Q),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(d,Se,Q)),typeof E.componentDidUpdate=="function"&&(i.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof E.componentDidUpdate!="function"||A===a.memoizedProps&&ye===a.memoizedState||(i.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||A===a.memoizedProps&&ye===a.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=Se),E.props=d,E.state=Se,E.context=Q,d=Ce):(typeof E.componentDidUpdate!="function"||A===a.memoizedProps&&ye===a.memoizedState||(i.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||A===a.memoizedProps&&ye===a.memoizedState||(i.flags|=1024),d=!1)}return E=d,Ac(a,i),d=(i.flags&128)!==0,E||d?(E=i.stateNode,l=d&&typeof l.getDerivedStateFromError!="function"?null:E.render(),i.flags|=1,a!==null&&d?(i.child=Oi(i,a.child,null,b),i.child=Oi(i,null,l,b)):wn(a,i,l,b),i.memoizedState=E.state,a=i.child):a=ya(a,i,b),a}function px(a,i,l,d){return Ni(),i.flags|=256,wn(a,i,l,d),i.child}var Tm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vm(a){return{baseLanes:a,cachePool:nv()}}function xm(a,i,l){return a=a!==null?a.childLanes&~l:0,i&&(a|=ar),a}function mx(a,i,l){var d=i.pendingProps,b=!1,E=(i.flags&128)!==0,A;if((A=E)||(A=a!==null&&a.memoizedState===null?!1:(tn.current&2)!==0),A&&(b=!0,i.flags&=-129),A=(i.flags&32)!==0,i.flags&=-33,a===null){if(Ct){if(b?$a(i):Ga(),(a=Gt)?(a=vA(a,yr),a=a!==null&&a.data!=="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:Fa!==null?{id:zr,overflow:$r}:null,retryLane:536870912,hydrationErrors:null},l=qT(a),l.return=i,i.child=l,An=i,Gt=null)):a=null,a===null)throw Ua(i);return ig(a)?i.lanes=32:i.lanes=536870912,null}var F=d.children;return d=d.fallback,b?(Ga(),b=i.mode,F=Cc({mode:"hidden",children:F},b),d=wi(d,b,l,null),F.return=i,d.return=i,F.sibling=d,i.child=F,d=i.child,d.memoizedState=vm(l),d.childLanes=xm(a,A,l),i.memoizedState=Tm,cl(null,d)):($a(i),Am(i,F))}var Q=a.memoizedState;if(Q!==null&&(F=Q.dehydrated,F!==null)){if(E)i.flags&256?($a(i),i.flags&=-257,i=Cm(a,i,l)):i.memoizedState!==null?(Ga(),i.child=a.child,i.flags|=128,i=null):(Ga(),F=d.fallback,b=i.mode,d=Cc({mode:"visible",children:d.children},b),F=wi(F,b,l,null),F.flags|=2,d.return=i,F.return=i,d.sibling=F,i.child=d,Oi(i,a.child,null,l),d=i.child,d.memoizedState=vm(l),d.childLanes=xm(a,A,l),i.memoizedState=Tm,i=cl(null,d));else if($a(i),ig(F)){if(A=F.nextSibling&&F.nextSibling.dataset,A)var he=A.dgst;A=he,d=Error(r(419)),d.stack="",d.digest=A,Qs({value:d,source:null,stack:null}),i=Cm(a,i,l)}else if(un||_o(a,i,l,!1),A=(l&a.childLanes)!==0,un||A){if(A=Ut,A!==null&&(d=yi(A,l),d!==0&&d!==Q.retryLane))throw Q.retryLane=d,Ci(a,d),Wn(A,a,d),ym;ag(F)||Lc(),i=Cm(a,i,l)}else ag(F)?(i.flags|=192,i.child=a.child,i=null):(a=Q.treeContext,Gt=Tr(F.nextSibling),An=i,Ct=!0,Ba=null,yr=!1,a!==null&&KT(i,a),i=Am(i,d.children),i.flags|=4096);return i}return b?(Ga(),F=d.fallback,b=i.mode,Q=a.child,he=Q.sibling,d=pa(Q,{mode:"hidden",children:d.children}),d.subtreeFlags=Q.subtreeFlags&65011712,he!==null?F=pa(he,F):(F=wi(F,b,l,null),F.flags|=2),F.return=i,d.return=i,d.sibling=F,i.child=d,cl(null,d),d=i.child,F=a.child.memoizedState,F===null?F=vm(l):(b=F.cachePool,b!==null?(Q=sn._currentValue,b=b.parent!==Q?{parent:Q,pool:Q}:b):b=nv(),F={baseLanes:F.baseLanes|l,cachePool:b}),d.memoizedState=F,d.childLanes=xm(a,A,l),i.memoizedState=Tm,cl(a.child,d)):($a(i),l=a.child,a=l.sibling,l=pa(l,{mode:"visible",children:d.children}),l.return=i,l.sibling=null,a!==null&&(A=i.deletions,A===null?(i.deletions=[a],i.flags|=16):A.push(a)),i.child=l,i.memoizedState=null,l)}function Am(a,i){return i=Cc({mode:"visible",children:i},a.mode),i.return=a,a.child=i}function Cc(a,i){return a=er(22,a,null,i),a.lanes=0,a}function Cm(a,i,l){return Oi(i,a.child,null,l),a=Am(i,i.pendingProps.children),a.flags|=2,i.memoizedState=null,a}function gx(a,i,l){a.lanes|=i;var d=a.alternate;d!==null&&(d.lanes|=i),jp(a.return,i,l)}function wm(a,i,l,d,b,E){var A=a.memoizedState;A===null?a.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:b,treeForkCount:E}:(A.isBackwards=i,A.rendering=null,A.renderingStartTime=0,A.last=d,A.tail=l,A.tailMode=b,A.treeForkCount=E)}function hx(a,i,l){var d=i.pendingProps,b=d.revealOrder,E=d.tail;d=d.children;var A=tn.current,F=(A&2)!==0;if(F?(A=A&1|2,i.flags|=128):A&=1,_(tn,A),wn(a,i,d,l),d=Ct?Zs:0,!F&&a!==null&&(a.flags&128)!==0)e:for(a=i.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&gx(a,l,i);else if(a.tag===19)gx(a,l,i);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break e;for(;a.sibling===null;){if(a.return===null||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(b){case"forwards":for(l=i.child,b=null;l!==null;)a=l.alternate,a!==null&&pc(a)===null&&(b=l),l=l.sibling;l=b,l===null?(b=i.child,i.child=null):(b=l.sibling,l.sibling=null),wm(i,!1,b,l,E,d);break;case"backwards":case"unstable_legacy-backwards":for(l=null,b=i.child,i.child=null;b!==null;){if(a=b.alternate,a!==null&&pc(a)===null){i.child=b;break}a=b.sibling,b.sibling=l,l=b,b=a}wm(i,!0,l,null,E,d);break;case"together":wm(i,!1,null,null,void 0,d);break;default:i.memoizedState=null}return i.child}function ya(a,i,l){if(a!==null&&(i.dependencies=a.dependencies),qa|=i.lanes,(l&i.childLanes)===0)if(a!==null){if(_o(a,i,l,!1),(l&i.childLanes)===0)return null}else return null;if(a!==null&&i.child!==a.child)throw Error(r(153));if(i.child!==null){for(a=i.child,l=pa(a,a.pendingProps),i.child=l,l.return=i;a.sibling!==null;)a=a.sibling,l=l.sibling=pa(a,a.pendingProps),l.return=i;l.sibling=null}return i.child}function Nm(a,i){return(a.lanes&i)!==0?!0:(a=a.dependencies,!!(a!==null&&ic(a)))}function r3(a,i,l){switch(i.tag){case 3:de(i,i.stateNode.containerInfo),Pa(i,sn,a.memoizedState.cache),Ni();break;case 27:case 5:ze(i);break;case 4:de(i,i.stateNode.containerInfo);break;case 10:Pa(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Qp(i),null;break;case 13:var d=i.memoizedState;if(d!==null)return d.dehydrated!==null?($a(i),i.flags|=128,null):(l&i.child.childLanes)!==0?mx(a,i,l):($a(i),a=ya(a,i,l),a!==null?a.sibling:null);$a(i);break;case 19:var b=(a.flags&128)!==0;if(d=(l&i.childLanes)!==0,d||(_o(a,i,l,!1),d=(l&i.childLanes)!==0),b){if(d)return hx(a,i,l);i.flags|=128}if(b=i.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),_(tn,tn.current),d)break;return null;case 22:return i.lanes=0,lx(a,i,l,i.pendingProps);case 24:Pa(i,sn,a.memoizedState.cache)}return ya(a,i,l)}function bx(a,i,l){if(a!==null)if(a.memoizedProps!==i.pendingProps)un=!0;else{if(!Nm(a,l)&&(i.flags&128)===0)return un=!1,r3(a,i,l);un=(a.flags&131072)!==0}else un=!1,Ct&&(i.flags&1048576)!==0&&XT(i,Zs,i.index);switch(i.lanes=0,i.tag){case 16:e:{var d=i.pendingProps;if(a=Di(i.elementType),i.type=a,typeof a=="function")Ip(a)?(d=Mi(a,d),i.tag=1,i=fx(null,i,a,d,l)):(i.tag=0,i=Sm(null,i,a,d,l));else{if(a!=null){var b=a.$$typeof;if(b===L){i.tag=11,i=ix(null,i,a,d,l);break e}else if(b===B){i.tag=14,i=ox(null,i,a,d,l);break e}}throw i=ue(a)||a,Error(r(306,i,""))}}return i;case 0:return Sm(a,i,i.type,i.pendingProps,l);case 1:return d=i.type,b=Mi(d,i.pendingProps),fx(a,i,d,b,l);case 3:e:{if(de(i,i.stateNode.containerInfo),a===null)throw Error(r(387));d=i.pendingProps;var E=i.memoizedState;b=E.element,qp(a,i),il(i,d,null,l);var A=i.memoizedState;if(d=A.cache,Pa(i,sn,d),d!==E.cache&&Hp(i,[sn],l,!0),al(),d=A.element,E.isDehydrated)if(E={element:d,isDehydrated:!1,cache:A.cache},i.updateQueue.baseState=E,i.memoizedState=E,i.flags&256){i=px(a,i,d,l);break e}else if(d!==b){b=hr(Error(r(424)),i),Qs(b),i=px(a,i,d,l);break e}else for(a=i.stateNode.containerInfo,a.nodeType===9?a=a.body:a=a.nodeName==="HTML"?a.ownerDocument.body:a,Gt=Tr(a.firstChild),An=i,Ct=!0,Ba=null,yr=!0,l=lv(i,null,d,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Ni(),d===b){i=ya(a,i,l);break e}wn(a,i,d,l)}i=i.child}return i;case 26:return Ac(a,i),a===null?(l=_A(i.type,null,i.pendingProps,null))?i.memoizedState=l:Ct||(l=i.type,a=i.pendingProps,d=Hc(q.current).createElement(l),d[Zt]=i,d[Qt]=a,Nn(d,l,a),bn(d),i.stateNode=d):i.memoizedState=_A(i.type,a.memoizedProps,i.pendingProps,a.memoizedState),null;case 27:return ze(i),a===null&&Ct&&(d=i.stateNode=CA(i.type,i.pendingProps,q.current),An=i,yr=!0,b=Gt,Qa(i.type)?(og=b,Gt=Tr(d.firstChild)):Gt=b),wn(a,i,i.pendingProps.children,l),Ac(a,i),a===null&&(i.flags|=4194304),i.child;case 5:return a===null&&Ct&&((b=d=Gt)&&(d=O3(d,i.type,i.pendingProps,yr),d!==null?(i.stateNode=d,An=i,Gt=Tr(d.firstChild),yr=!1,b=!0):b=!1),b||Ua(i)),ze(i),b=i.type,E=i.pendingProps,A=a!==null?a.memoizedProps:null,d=E.children,tg(b,E)?d=null:A!==null&&tg(b,A)&&(i.flags|=32),i.memoizedState!==null&&(b=em(a,i,WO,null,null,l),Cl._currentValue=b),Ac(a,i),wn(a,i,d,l),i.child;case 6:return a===null&&Ct&&((a=l=Gt)&&(l=L3(l,i.pendingProps,yr),l!==null?(i.stateNode=l,An=i,Gt=null,a=!0):a=!1),a||Ua(i)),null;case 13:return mx(a,i,l);case 4:return de(i,i.stateNode.containerInfo),d=i.pendingProps,a===null?i.child=Oi(i,null,d,l):wn(a,i,d,l),i.child;case 11:return ix(a,i,i.type,i.pendingProps,l);case 7:return wn(a,i,i.pendingProps,l),i.child;case 8:return wn(a,i,i.pendingProps.children,l),i.child;case 12:return wn(a,i,i.pendingProps.children,l),i.child;case 10:return d=i.pendingProps,Pa(i,i.type,d.value),wn(a,i,d.children,l),i.child;case 9:return b=i.type._context,d=i.pendingProps.children,Ri(i),b=Cn(b),d=d(b),i.flags|=1,wn(a,i,d,l),i.child;case 14:return ox(a,i,i.type,i.pendingProps,l);case 15:return sx(a,i,i.type,i.pendingProps,l);case 19:return hx(a,i,l);case 31:return n3(a,i,l);case 22:return lx(a,i,l,i.pendingProps);case 24:return Ri(i),d=Cn(sn),a===null?(b=Gp(),b===null&&(b=Ut,E=zp(),b.pooledCache=E,E.refCount++,E!==null&&(b.pooledCacheLanes|=l),b=E),i.memoizedState={parent:d,cache:b},Yp(i),Pa(i,sn,b)):((a.lanes&l)!==0&&(qp(a,i),il(i,null,null,l),al()),b=a.memoizedState,E=i.memoizedState,b.parent!==d?(b={parent:d,cache:d},i.memoizedState=b,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=b),Pa(i,sn,d)):(d=E.cache,Pa(i,sn,d),d!==b.cache&&Hp(i,[sn],l,!0))),wn(a,i,i.pendingProps.children,l),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}function Sa(a){a.flags|=4}function _m(a,i,l,d,b){if((i=(a.mode&32)!==0)&&(i=!1),i){if(a.flags|=16777216,(b&335544128)===b)if(a.stateNode.complete)a.flags|=8192;else if(Gx())a.flags|=8192;else throw Ii=uc,Vp}else a.flags&=-16777217}function Ex(a,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!OA(i))if(Gx())a.flags|=8192;else throw Ii=uc,Vp}function wc(a,i){i!==null&&(a.flags|=4),a.flags&16384&&(i=a.tag!==22?an():536870912,a.lanes|=i,jo|=i)}function dl(a,i){if(!Ct)switch(a.tailMode){case"hidden":i=a.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?a.tail=null:l.sibling=null;break;case"collapsed":l=a.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?i||a.tail===null?a.tail=null:a.tail.sibling=null:d.sibling=null}}function Vt(a){var i=a.alternate!==null&&a.alternate.child===a.child,l=0,d=0;if(i)for(var b=a.child;b!==null;)l|=b.lanes|b.childLanes,d|=b.subtreeFlags&65011712,d|=b.flags&65011712,b.return=a,b=b.sibling;else for(b=a.child;b!==null;)l|=b.lanes|b.childLanes,d|=b.subtreeFlags,d|=b.flags,b.return=a,b=b.sibling;return a.subtreeFlags|=d,a.childLanes=l,i}function a3(a,i,l){var d=i.pendingProps;switch(Fp(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vt(i),null;case 1:return Vt(i),null;case 3:return l=i.stateNode,d=null,a!==null&&(d=a.memoizedState.cache),i.memoizedState.cache!==d&&(i.flags|=2048),ha(sn),Te(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(a===null||a.child===null)&&(No(i)?Sa(i):a===null||a.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Up())),Vt(i),null;case 26:var b=i.type,E=i.memoizedState;return a===null?(Sa(i),E!==null?(Vt(i),Ex(i,E)):(Vt(i),_m(i,b,null,d,l))):E?E!==a.memoizedState?(Sa(i),Vt(i),Ex(i,E)):(Vt(i),i.flags&=-16777217):(a=a.memoizedProps,a!==d&&Sa(i),Vt(i),_m(i,b,a,d,l)),null;case 27:if(Qe(i),l=q.current,b=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==d&&Sa(i);else{if(!d){if(i.stateNode===null)throw Error(r(166));return Vt(i),null}a=ne.current,No(i)?ZT(i):(a=CA(b,d,l),i.stateNode=a,Sa(i))}return Vt(i),null;case 5:if(Qe(i),b=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==d&&Sa(i);else{if(!d){if(i.stateNode===null)throw Error(r(166));return Vt(i),null}if(E=ne.current,No(i))ZT(i);else{var A=Hc(q.current);switch(E){case 1:E=A.createElementNS("http://www.w3.org/2000/svg",b);break;case 2:E=A.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;default:switch(b){case"svg":E=A.createElementNS("http://www.w3.org/2000/svg",b);break;case"math":E=A.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;case"script":E=A.createElement("div"),E.innerHTML="<script><\/script>",E=E.removeChild(E.firstChild);break;case"select":E=typeof d.is=="string"?A.createElement("select",{is:d.is}):A.createElement("select"),d.multiple?E.multiple=!0:d.size&&(E.size=d.size);break;default:E=typeof d.is=="string"?A.createElement(b,{is:d.is}):A.createElement(b)}}E[Zt]=i,E[Qt]=d;e:for(A=i.child;A!==null;){if(A.tag===5||A.tag===6)E.appendChild(A.stateNode);else if(A.tag!==4&&A.tag!==27&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===i)break e;for(;A.sibling===null;){if(A.return===null||A.return===i)break e;A=A.return}A.sibling.return=A.return,A=A.sibling}i.stateNode=E;e:switch(Nn(E,b,d),b){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}d&&Sa(i)}}return Vt(i),_m(i,i.type,a===null?null:a.memoizedProps,i.pendingProps,l),null;case 6:if(a&&i.stateNode!=null)a.memoizedProps!==d&&Sa(i);else{if(typeof d!="string"&&i.stateNode===null)throw Error(r(166));if(a=q.current,No(i)){if(a=i.stateNode,l=i.memoizedProps,d=null,b=An,b!==null)switch(b.tag){case 27:case 5:d=b.memoizedProps}a[Zt]=i,a=!!(a.nodeValue===l||d!==null&&d.suppressHydrationWarning===!0||mA(a.nodeValue,l)),a||Ua(i,!0)}else a=Hc(a).createTextNode(d),a[Zt]=i,i.stateNode=a}return Vt(i),null;case 31:if(l=i.memoizedState,a===null||a.memoizedState!==null){if(d=No(i),l!==null){if(a===null){if(!d)throw Error(r(318));if(a=i.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(557));a[Zt]=i}else Ni(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Vt(i),a=!1}else l=Up(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=l),a=!0;if(!a)return i.flags&256?(nr(i),i):(nr(i),null);if((i.flags&128)!==0)throw Error(r(558))}return Vt(i),null;case 13:if(d=i.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(b=No(i),d!==null&&d.dehydrated!==null){if(a===null){if(!b)throw Error(r(318));if(b=i.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(r(317));b[Zt]=i}else Ni(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Vt(i),b=!1}else b=Up(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=b),b=!0;if(!b)return i.flags&256?(nr(i),i):(nr(i),null)}return nr(i),(i.flags&128)!==0?(i.lanes=l,i):(l=d!==null,a=a!==null&&a.memoizedState!==null,l&&(d=i.child,b=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(b=d.alternate.memoizedState.cachePool.pool),E=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(E=d.memoizedState.cachePool.pool),E!==b&&(d.flags|=2048)),l!==a&&l&&(i.child.flags|=8192),wc(i,i.updateQueue),Vt(i),null);case 4:return Te(),a===null&&Km(i.stateNode.containerInfo),Vt(i),null;case 10:return ha(i.type),Vt(i),null;case 19:if(H(tn),d=i.memoizedState,d===null)return Vt(i),null;if(b=(i.flags&128)!==0,E=d.rendering,E===null)if(b)dl(d,!1);else{if(en!==0||a!==null&&(a.flags&128)!==0)for(a=i.child;a!==null;){if(E=pc(a),E!==null){for(i.flags|=128,dl(d,!1),a=E.updateQueue,i.updateQueue=a,wc(i,a),i.subtreeFlags=0,a=l,l=i.child;l!==null;)YT(l,a),l=l.sibling;return _(tn,tn.current&1|2),Ct&&ma(i,d.treeForkCount),i.child}a=a.sibling}d.tail!==null&&we()>Dc&&(i.flags|=128,b=!0,dl(d,!1),i.lanes=4194304)}else{if(!b)if(a=pc(E),a!==null){if(i.flags|=128,b=!0,a=a.updateQueue,i.updateQueue=a,wc(i,a),dl(d,!0),d.tail===null&&d.tailMode==="hidden"&&!E.alternate&&!Ct)return Vt(i),null}else 2*we()-d.renderingStartTime>Dc&&l!==536870912&&(i.flags|=128,b=!0,dl(d,!1),i.lanes=4194304);d.isBackwards?(E.sibling=i.child,i.child=E):(a=d.last,a!==null?a.sibling=E:i.child=E,d.last=E)}return d.tail!==null?(a=d.tail,d.rendering=a,d.tail=a.sibling,d.renderingStartTime=we(),a.sibling=null,l=tn.current,_(tn,b?l&1|2:l&1),Ct&&ma(i,d.treeForkCount),a):(Vt(i),null);case 22:case 23:return nr(i),Zp(),d=i.memoizedState!==null,a!==null?a.memoizedState!==null!==d&&(i.flags|=8192):d&&(i.flags|=8192),d?(l&536870912)!==0&&(i.flags&128)===0&&(Vt(i),i.subtreeFlags&6&&(i.flags|=8192)):Vt(i),l=i.updateQueue,l!==null&&wc(i,l.retryQueue),l=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),d=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),d!==l&&(i.flags|=2048),a!==null&&H(ki),null;case 24:return l=null,a!==null&&(l=a.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),ha(sn),Vt(i),null;case 25:return null;case 30:return null}throw Error(r(156,i.tag))}function i3(a,i){switch(Fp(i),i.tag){case 1:return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 3:return ha(sn),Te(),a=i.flags,(a&65536)!==0&&(a&128)===0?(i.flags=a&-65537|128,i):null;case 26:case 27:case 5:return Qe(i),null;case 31:if(i.memoizedState!==null){if(nr(i),i.alternate===null)throw Error(r(340));Ni()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 13:if(nr(i),a=i.memoizedState,a!==null&&a.dehydrated!==null){if(i.alternate===null)throw Error(r(340));Ni()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 19:return H(tn),null;case 4:return Te(),null;case 10:return ha(i.type),null;case 22:case 23:return nr(i),Zp(),a!==null&&H(ki),a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 24:return ha(sn),null;case 25:return null;default:return null}}function yx(a,i){switch(Fp(i),i.tag){case 3:ha(sn),Te();break;case 26:case 27:case 5:Qe(i);break;case 4:Te();break;case 31:i.memoizedState!==null&&nr(i);break;case 13:nr(i);break;case 19:H(tn);break;case 10:ha(i.type);break;case 22:case 23:nr(i),Zp(),a!==null&&H(ki);break;case 24:ha(sn)}}function fl(a,i){try{var l=i.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var b=d.next;l=b;do{if((l.tag&a)===a){d=void 0;var E=l.create,A=l.inst;d=E(),A.destroy=d}l=l.next}while(l!==b)}}catch(F){Lt(i,i.return,F)}}function Va(a,i,l){try{var d=i.updateQueue,b=d!==null?d.lastEffect:null;if(b!==null){var E=b.next;d=E;do{if((d.tag&a)===a){var A=d.inst,F=A.destroy;if(F!==void 0){A.destroy=void 0,b=i;var Q=l,he=F;try{he()}catch(Ce){Lt(b,Q,Ce)}}}d=d.next}while(d!==E)}}catch(Ce){Lt(i,i.return,Ce)}}function Sx(a){var i=a.updateQueue;if(i!==null){var l=a.stateNode;try{cv(i,l)}catch(d){Lt(a,a.return,d)}}}function Tx(a,i,l){l.props=Mi(a.type,a.memoizedProps),l.state=a.memoizedState;try{l.componentWillUnmount()}catch(d){Lt(a,i,d)}}function pl(a,i){try{var l=a.ref;if(l!==null){switch(a.tag){case 26:case 27:case 5:var d=a.stateNode;break;case 30:d=a.stateNode;break;default:d=a.stateNode}typeof l=="function"?a.refCleanup=l(d):l.current=d}}catch(b){Lt(a,i,b)}}function Gr(a,i){var l=a.ref,d=a.refCleanup;if(l!==null)if(typeof d=="function")try{d()}catch(b){Lt(a,i,b)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(b){Lt(a,i,b)}else l.current=null}function vx(a){var i=a.type,l=a.memoizedProps,d=a.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":l.autoFocus&&d.focus();break e;case"img":l.src?d.src=l.src:l.srcSet&&(d.srcset=l.srcSet)}}catch(b){Lt(a,a.return,b)}}function Rm(a,i,l){try{var d=a.stateNode;N3(d,a.type,l,i),d[Qt]=i}catch(b){Lt(a,a.return,b)}}function xx(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&Qa(a.type)||a.tag===4}function km(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||xx(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&Qa(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Dm(a,i,l){var d=a.tag;if(d===5||d===6)a=a.stateNode,i?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(a,i):(i=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.appendChild(a),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=da));else if(d!==4&&(d===27&&Qa(a.type)&&(l=a.stateNode,i=null),a=a.child,a!==null))for(Dm(a,i,l),a=a.sibling;a!==null;)Dm(a,i,l),a=a.sibling}function Nc(a,i,l){var d=a.tag;if(d===5||d===6)a=a.stateNode,i?l.insertBefore(a,i):l.appendChild(a);else if(d!==4&&(d===27&&Qa(a.type)&&(l=a.stateNode),a=a.child,a!==null))for(Nc(a,i,l),a=a.sibling;a!==null;)Nc(a,i,l),a=a.sibling}function Ax(a){var i=a.stateNode,l=a.memoizedProps;try{for(var d=a.type,b=i.attributes;b.length;)i.removeAttributeNode(b[0]);Nn(i,d,l),i[Zt]=a,i[Qt]=l}catch(E){Lt(a,a.return,E)}}var Ta=!1,cn=!1,Im=!1,Cx=typeof WeakSet=="function"?WeakSet:Set,En=null;function o3(a,i){if(a=a.containerInfo,Jm=Wc,a=BT(a),Cp(a)){if("selectionStart"in a)var l={start:a.selectionStart,end:a.selectionEnd};else e:{l=(l=a.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var b=d.anchorOffset,E=d.focusNode;d=d.focusOffset;try{l.nodeType,E.nodeType}catch{l=null;break e}var A=0,F=-1,Q=-1,he=0,Ce=0,ke=a,ye=null;t:for(;;){for(var Se;ke!==l||b!==0&&ke.nodeType!==3||(F=A+b),ke!==E||d!==0&&ke.nodeType!==3||(Q=A+d),ke.nodeType===3&&(A+=ke.nodeValue.length),(Se=ke.firstChild)!==null;)ye=ke,ke=Se;for(;;){if(ke===a)break t;if(ye===l&&++he===b&&(F=A),ye===E&&++Ce===d&&(Q=A),(Se=ke.nextSibling)!==null)break;ke=ye,ye=ke.parentNode}ke=Se}l=F===-1||Q===-1?null:{start:F,end:Q}}else l=null}l=l||{start:0,end:0}}else l=null;for(eg={focusedElem:a,selectionRange:l},Wc=!1,En=i;En!==null;)if(i=En,a=i.child,(i.subtreeFlags&1028)!==0&&a!==null)a.return=i,En=a;else for(;En!==null;){switch(i=En,E=i.alternate,a=i.flags,i.tag){case 0:if((a&4)!==0&&(a=i.updateQueue,a=a!==null?a.events:null,a!==null))for(l=0;l<a.length;l++)b=a[l],b.ref.impl=b.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&E!==null){a=void 0,l=i,b=E.memoizedProps,E=E.memoizedState,d=l.stateNode;try{var Ge=Mi(l.type,b);a=d.getSnapshotBeforeUpdate(Ge,E),d.__reactInternalSnapshotBeforeUpdate=a}catch(at){Lt(l,l.return,at)}}break;case 3:if((a&1024)!==0){if(a=i.stateNode.containerInfo,l=a.nodeType,l===9)rg(a);else if(l===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":rg(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(r(163))}if(a=i.sibling,a!==null){a.return=i.return,En=a;break}En=i.return}}function wx(a,i,l){var d=l.flags;switch(l.tag){case 0:case 11:case 15:xa(a,l),d&4&&fl(5,l);break;case 1:if(xa(a,l),d&4)if(a=l.stateNode,i===null)try{a.componentDidMount()}catch(A){Lt(l,l.return,A)}else{var b=Mi(l.type,i.memoizedProps);i=i.memoizedState;try{a.componentDidUpdate(b,i,a.__reactInternalSnapshotBeforeUpdate)}catch(A){Lt(l,l.return,A)}}d&64&&Sx(l),d&512&&pl(l,l.return);break;case 3:if(xa(a,l),d&64&&(a=l.updateQueue,a!==null)){if(i=null,l.child!==null)switch(l.child.tag){case 27:case 5:i=l.child.stateNode;break;case 1:i=l.child.stateNode}try{cv(a,i)}catch(A){Lt(l,l.return,A)}}break;case 27:i===null&&d&4&&Ax(l);case 26:case 5:xa(a,l),i===null&&d&4&&vx(l),d&512&&pl(l,l.return);break;case 12:xa(a,l);break;case 31:xa(a,l),d&4&&Rx(a,l);break;case 13:xa(a,l),d&4&&kx(a,l),d&64&&(a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(l=g3.bind(null,l),M3(a,l))));break;case 22:if(d=l.memoizedState!==null||Ta,!d){i=i!==null&&i.memoizedState!==null||cn,b=Ta;var E=cn;Ta=d,(cn=i)&&!E?Aa(a,l,(l.subtreeFlags&8772)!==0):xa(a,l),Ta=b,cn=E}break;case 30:break;default:xa(a,l)}}function Nx(a){var i=a.alternate;i!==null&&(a.alternate=null,Nx(i)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(i=a.stateNode,i!==null&&lp(i)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var Yt=null,Gn=!1;function va(a,i,l){for(l=l.child;l!==null;)_x(a,i,l),l=l.sibling}function _x(a,i,l){if(Re&&typeof Re.onCommitFiberUnmount=="function")try{Re.onCommitFiberUnmount(De,l)}catch{}switch(l.tag){case 26:cn||Gr(l,i),va(a,i,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:cn||Gr(l,i);var d=Yt,b=Gn;Qa(l.type)&&(Yt=l.stateNode,Gn=!1),va(a,i,l),vl(l.stateNode),Yt=d,Gn=b;break;case 5:cn||Gr(l,i);case 6:if(d=Yt,b=Gn,Yt=null,va(a,i,l),Yt=d,Gn=b,Yt!==null)if(Gn)try{(Yt.nodeType===9?Yt.body:Yt.nodeName==="HTML"?Yt.ownerDocument.body:Yt).removeChild(l.stateNode)}catch(E){Lt(l,i,E)}else try{Yt.removeChild(l.stateNode)}catch(E){Lt(l,i,E)}break;case 18:Yt!==null&&(Gn?(a=Yt,SA(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,l.stateNode),Wo(a)):SA(Yt,l.stateNode));break;case 4:d=Yt,b=Gn,Yt=l.stateNode.containerInfo,Gn=!0,va(a,i,l),Yt=d,Gn=b;break;case 0:case 11:case 14:case 15:Va(2,l,i),cn||Va(4,l,i),va(a,i,l);break;case 1:cn||(Gr(l,i),d=l.stateNode,typeof d.componentWillUnmount=="function"&&Tx(l,i,d)),va(a,i,l);break;case 21:va(a,i,l);break;case 22:cn=(d=cn)||l.memoizedState!==null,va(a,i,l),cn=d;break;default:va(a,i,l)}}function Rx(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{Wo(a)}catch(l){Lt(i,i.return,l)}}}function kx(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Wo(a)}catch(l){Lt(i,i.return,l)}}function s3(a){switch(a.tag){case 31:case 13:case 19:var i=a.stateNode;return i===null&&(i=a.stateNode=new Cx),i;case 22:return a=a.stateNode,i=a._retryCache,i===null&&(i=a._retryCache=new Cx),i;default:throw Error(r(435,a.tag))}}function _c(a,i){var l=s3(a);i.forEach(function(d){if(!l.has(d)){l.add(d);var b=h3.bind(null,a,d);d.then(b,b)}})}function Vn(a,i){var l=i.deletions;if(l!==null)for(var d=0;d<l.length;d++){var b=l[d],E=a,A=i,F=A;e:for(;F!==null;){switch(F.tag){case 27:if(Qa(F.type)){Yt=F.stateNode,Gn=!1;break e}break;case 5:Yt=F.stateNode,Gn=!1;break e;case 3:case 4:Yt=F.stateNode.containerInfo,Gn=!0;break e}F=F.return}if(Yt===null)throw Error(r(160));_x(E,A,b),Yt=null,Gn=!1,E=b.alternate,E!==null&&(E.return=null),b.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)Dx(i,a),i=i.sibling}var Dr=null;function Dx(a,i){var l=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Vn(i,a),Yn(a),d&4&&(Va(3,a,a.return),fl(3,a),Va(5,a,a.return));break;case 1:Vn(i,a),Yn(a),d&512&&(cn||l===null||Gr(l,l.return)),d&64&&Ta&&(a=a.updateQueue,a!==null&&(d=a.callbacks,d!==null&&(l=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=l===null?d:l.concat(d))));break;case 26:var b=Dr;if(Vn(i,a),Yn(a),d&512&&(cn||l===null||Gr(l,l.return)),d&4){var E=l!==null?l.memoizedState:null;if(d=a.memoizedState,l===null)if(d===null)if(a.stateNode===null){e:{d=a.type,l=a.memoizedProps,b=b.ownerDocument||b;t:switch(d){case"title":E=b.getElementsByTagName("title")[0],(!E||E[js]||E[Zt]||E.namespaceURI==="http://www.w3.org/2000/svg"||E.hasAttribute("itemprop"))&&(E=b.createElement(d),b.head.insertBefore(E,b.querySelector("head > title"))),Nn(E,d,l),E[Zt]=a,bn(E),d=E;break e;case"link":var A=DA("link","href",b).get(d+(l.href||""));if(A){for(var F=0;F<A.length;F++)if(E=A[F],E.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&E.getAttribute("rel")===(l.rel==null?null:l.rel)&&E.getAttribute("title")===(l.title==null?null:l.title)&&E.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){A.splice(F,1);break t}}E=b.createElement(d),Nn(E,d,l),b.head.appendChild(E);break;case"meta":if(A=DA("meta","content",b).get(d+(l.content||""))){for(F=0;F<A.length;F++)if(E=A[F],E.getAttribute("content")===(l.content==null?null:""+l.content)&&E.getAttribute("name")===(l.name==null?null:l.name)&&E.getAttribute("property")===(l.property==null?null:l.property)&&E.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&E.getAttribute("charset")===(l.charSet==null?null:l.charSet)){A.splice(F,1);break t}}E=b.createElement(d),Nn(E,d,l),b.head.appendChild(E);break;default:throw Error(r(468,d))}E[Zt]=a,bn(E),d=E}a.stateNode=d}else IA(b,a.type,a.stateNode);else a.stateNode=kA(b,d,a.memoizedProps);else E!==d?(E===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):E.count--,d===null?IA(b,a.type,a.stateNode):kA(b,d,a.memoizedProps)):d===null&&a.stateNode!==null&&Rm(a,a.memoizedProps,l.memoizedProps)}break;case 27:Vn(i,a),Yn(a),d&512&&(cn||l===null||Gr(l,l.return)),l!==null&&d&4&&Rm(a,a.memoizedProps,l.memoizedProps);break;case 5:if(Vn(i,a),Yn(a),d&512&&(cn||l===null||Gr(l,l.return)),a.flags&32){b=a.stateNode;try{bo(b,"")}catch(Ge){Lt(a,a.return,Ge)}}d&4&&a.stateNode!=null&&(b=a.memoizedProps,Rm(a,b,l!==null?l.memoizedProps:b)),d&1024&&(Im=!0);break;case 6:if(Vn(i,a),Yn(a),d&4){if(a.stateNode===null)throw Error(r(162));d=a.memoizedProps,l=a.stateNode;try{l.nodeValue=d}catch(Ge){Lt(a,a.return,Ge)}}break;case 3:if(Gc=null,b=Dr,Dr=zc(i.containerInfo),Vn(i,a),Dr=b,Yn(a),d&4&&l!==null&&l.memoizedState.isDehydrated)try{Wo(i.containerInfo)}catch(Ge){Lt(a,a.return,Ge)}Im&&(Im=!1,Ix(a));break;case 4:d=Dr,Dr=zc(a.stateNode.containerInfo),Vn(i,a),Yn(a),Dr=d;break;case 12:Vn(i,a),Yn(a);break;case 31:Vn(i,a),Yn(a),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,_c(a,d)));break;case 13:Vn(i,a),Yn(a),a.child.flags&8192&&a.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(kc=we()),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,_c(a,d)));break;case 22:b=a.memoizedState!==null;var Q=l!==null&&l.memoizedState!==null,he=Ta,Ce=cn;if(Ta=he||b,cn=Ce||Q,Vn(i,a),cn=Ce,Ta=he,Yn(a),d&8192)e:for(i=a.stateNode,i._visibility=b?i._visibility&-2:i._visibility|1,b&&(l===null||Q||Ta||cn||Fi(a)),l=null,i=a;;){if(i.tag===5||i.tag===26){if(l===null){Q=l=i;try{if(E=Q.stateNode,b)A=E.style,typeof A.setProperty=="function"?A.setProperty("display","none","important"):A.display="none";else{F=Q.stateNode;var ke=Q.memoizedProps.style,ye=ke!=null&&ke.hasOwnProperty("display")?ke.display:null;F.style.display=ye==null||typeof ye=="boolean"?"":(""+ye).trim()}}catch(Ge){Lt(Q,Q.return,Ge)}}}else if(i.tag===6){if(l===null){Q=i;try{Q.stateNode.nodeValue=b?"":Q.memoizedProps}catch(Ge){Lt(Q,Q.return,Ge)}}}else if(i.tag===18){if(l===null){Q=i;try{var Se=Q.stateNode;b?TA(Se,!0):TA(Q.stateNode,!1)}catch(Ge){Lt(Q,Q.return,Ge)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===a)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break e;for(;i.sibling===null;){if(i.return===null||i.return===a)break e;l===i&&(l=null),i=i.return}l===i&&(l=null),i.sibling.return=i.return,i=i.sibling}d&4&&(d=a.updateQueue,d!==null&&(l=d.retryQueue,l!==null&&(d.retryQueue=null,_c(a,l))));break;case 19:Vn(i,a),Yn(a),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,_c(a,d)));break;case 30:break;case 21:break;default:Vn(i,a),Yn(a)}}function Yn(a){var i=a.flags;if(i&2){try{for(var l,d=a.return;d!==null;){if(xx(d)){l=d;break}d=d.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var b=l.stateNode,E=km(a);Nc(a,E,b);break;case 5:var A=l.stateNode;l.flags&32&&(bo(A,""),l.flags&=-33);var F=km(a);Nc(a,F,A);break;case 3:case 4:var Q=l.stateNode.containerInfo,he=km(a);Dm(a,he,Q);break;default:throw Error(r(161))}}catch(Ce){Lt(a,a.return,Ce)}a.flags&=-3}i&4096&&(a.flags&=-4097)}function Ix(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var i=a;Ix(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),a=a.sibling}}function xa(a,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)wx(a,i.alternate,i),i=i.sibling}function Fi(a){for(a=a.child;a!==null;){var i=a;switch(i.tag){case 0:case 11:case 14:case 15:Va(4,i,i.return),Fi(i);break;case 1:Gr(i,i.return);var l=i.stateNode;typeof l.componentWillUnmount=="function"&&Tx(i,i.return,l),Fi(i);break;case 27:vl(i.stateNode);case 26:case 5:Gr(i,i.return),Fi(i);break;case 22:i.memoizedState===null&&Fi(i);break;case 30:Fi(i);break;default:Fi(i)}a=a.sibling}}function Aa(a,i,l){for(l=l&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var d=i.alternate,b=a,E=i,A=E.flags;switch(E.tag){case 0:case 11:case 15:Aa(b,E,l),fl(4,E);break;case 1:if(Aa(b,E,l),d=E,b=d.stateNode,typeof b.componentDidMount=="function")try{b.componentDidMount()}catch(he){Lt(d,d.return,he)}if(d=E,b=d.updateQueue,b!==null){var F=d.stateNode;try{var Q=b.shared.hiddenCallbacks;if(Q!==null)for(b.shared.hiddenCallbacks=null,b=0;b<Q.length;b++)uv(Q[b],F)}catch(he){Lt(d,d.return,he)}}l&&A&64&&Sx(E),pl(E,E.return);break;case 27:Ax(E);case 26:case 5:Aa(b,E,l),l&&d===null&&A&4&&vx(E),pl(E,E.return);break;case 12:Aa(b,E,l);break;case 31:Aa(b,E,l),l&&A&4&&Rx(b,E);break;case 13:Aa(b,E,l),l&&A&4&&kx(b,E);break;case 22:E.memoizedState===null&&Aa(b,E,l),pl(E,E.return);break;case 30:break;default:Aa(b,E,l)}i=i.sibling}}function Om(a,i){var l=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),a=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(a=i.memoizedState.cachePool.pool),a!==l&&(a!=null&&a.refCount++,l!=null&&Js(l))}function Lm(a,i){a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&Js(a))}function Ir(a,i,l,d){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Ox(a,i,l,d),i=i.sibling}function Ox(a,i,l,d){var b=i.flags;switch(i.tag){case 0:case 11:case 15:Ir(a,i,l,d),b&2048&&fl(9,i);break;case 1:Ir(a,i,l,d);break;case 3:Ir(a,i,l,d),b&2048&&(a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&Js(a)));break;case 12:if(b&2048){Ir(a,i,l,d),a=i.stateNode;try{var E=i.memoizedProps,A=E.id,F=E.onPostCommit;typeof F=="function"&&F(A,i.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(Q){Lt(i,i.return,Q)}}else Ir(a,i,l,d);break;case 31:Ir(a,i,l,d);break;case 13:Ir(a,i,l,d);break;case 23:break;case 22:E=i.stateNode,A=i.alternate,i.memoizedState!==null?E._visibility&2?Ir(a,i,l,d):ml(a,i):E._visibility&2?Ir(a,i,l,d):(E._visibility|=2,Bo(a,i,l,d,(i.subtreeFlags&10256)!==0||!1)),b&2048&&Om(A,i);break;case 24:Ir(a,i,l,d),b&2048&&Lm(i.alternate,i);break;default:Ir(a,i,l,d)}}function Bo(a,i,l,d,b){for(b=b&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var E=a,A=i,F=l,Q=d,he=A.flags;switch(A.tag){case 0:case 11:case 15:Bo(E,A,F,Q,b),fl(8,A);break;case 23:break;case 22:var Ce=A.stateNode;A.memoizedState!==null?Ce._visibility&2?Bo(E,A,F,Q,b):ml(E,A):(Ce._visibility|=2,Bo(E,A,F,Q,b)),b&&he&2048&&Om(A.alternate,A);break;case 24:Bo(E,A,F,Q,b),b&&he&2048&&Lm(A.alternate,A);break;default:Bo(E,A,F,Q,b)}i=i.sibling}}function ml(a,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var l=a,d=i,b=d.flags;switch(d.tag){case 22:ml(l,d),b&2048&&Om(d.alternate,d);break;case 24:ml(l,d),b&2048&&Lm(d.alternate,d);break;default:ml(l,d)}i=i.sibling}}var gl=8192;function Uo(a,i,l){if(a.subtreeFlags&gl)for(a=a.child;a!==null;)Lx(a,i,l),a=a.sibling}function Lx(a,i,l){switch(a.tag){case 26:Uo(a,i,l),a.flags&gl&&a.memoizedState!==null&&q3(l,Dr,a.memoizedState,a.memoizedProps);break;case 5:Uo(a,i,l);break;case 3:case 4:var d=Dr;Dr=zc(a.stateNode.containerInfo),Uo(a,i,l),Dr=d;break;case 22:a.memoizedState===null&&(d=a.alternate,d!==null&&d.memoizedState!==null?(d=gl,gl=16777216,Uo(a,i,l),gl=d):Uo(a,i,l));break;default:Uo(a,i,l)}}function Mx(a){var i=a.alternate;if(i!==null&&(a=i.child,a!==null)){i.child=null;do i=a.sibling,a.sibling=null,a=i;while(a!==null)}}function hl(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var d=i[l];En=d,Bx(d,a)}Mx(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Fx(a),a=a.sibling}function Fx(a){switch(a.tag){case 0:case 11:case 15:hl(a),a.flags&2048&&Va(9,a,a.return);break;case 3:hl(a);break;case 12:hl(a);break;case 22:var i=a.stateNode;a.memoizedState!==null&&i._visibility&2&&(a.return===null||a.return.tag!==13)?(i._visibility&=-3,Rc(a)):hl(a);break;default:hl(a)}}function Rc(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var d=i[l];En=d,Bx(d,a)}Mx(a)}for(a=a.child;a!==null;){switch(i=a,i.tag){case 0:case 11:case 15:Va(8,i,i.return),Rc(i);break;case 22:l=i.stateNode,l._visibility&2&&(l._visibility&=-3,Rc(i));break;default:Rc(i)}a=a.sibling}}function Bx(a,i){for(;En!==null;){var l=En;switch(l.tag){case 0:case 11:case 15:Va(8,l,i);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var d=l.memoizedState.cachePool.pool;d!=null&&d.refCount++}break;case 24:Js(l.memoizedState.cache)}if(d=l.child,d!==null)d.return=l,En=d;else e:for(l=a;En!==null;){d=En;var b=d.sibling,E=d.return;if(Nx(d),d===l){En=null;break e}if(b!==null){b.return=E,En=b;break e}En=E}}}var l3={getCacheForType:function(a){var i=Cn(sn),l=i.data.get(a);return l===void 0&&(l=a(),i.data.set(a,l)),l},cacheSignal:function(){return Cn(sn).controller.signal}},u3=typeof WeakMap=="function"?WeakMap:Map,Dt=0,Ut=null,bt=null,xt=0,Ot=0,rr=null,Ya=!1,Po=!1,Mm=!1,Ca=0,en=0,qa=0,Bi=0,Fm=0,ar=0,jo=0,bl=null,qn=null,Bm=!1,kc=0,Ux=0,Dc=1/0,Ic=null,Wa=null,mn=0,Xa=null,Ho=null,wa=0,Um=0,Pm=null,Px=null,El=0,jm=null;function ir(){return(Dt&2)!==0&&xt!==0?xt&-xt:W.T!==null?Ym():jr()}function jx(){if(ar===0)if((xt&536870912)===0||Ct){var a=Ve;Ve<<=1,(Ve&3932160)===0&&(Ve=262144),ar=a}else ar=536870912;return a=tr.current,a!==null&&(a.flags|=32),ar}function Wn(a,i,l){(a===Ut&&(Ot===2||Ot===9)||a.cancelPendingCommit!==null)&&(zo(a,0),Ka(a,xt,ar,!1)),Kt(a,l),((Dt&2)===0||a!==Ut)&&(a===Ut&&((Dt&2)===0&&(Bi|=l),en===4&&Ka(a,xt,ar,!1)),Vr(a))}function Hx(a,i,l){if((Dt&6)!==0)throw Error(r(327));var d=!l&&(i&127)===0&&(i&a.expiredLanes)===0||Wt(a,i),b=d?f3(a,i):zm(a,i,!0),E=d;do{if(b===0){Po&&!d&&Ka(a,i,0,!1);break}else{if(l=a.current.alternate,E&&!c3(l)){b=zm(a,i,!1),E=!1;continue}if(b===2){if(E=i,a.errorRecoveryDisabledLanes&E)var A=0;else A=a.pendingLanes&-536870913,A=A!==0?A:A&536870912?536870912:0;if(A!==0){i=A;e:{var F=a;b=bl;var Q=F.current.memoizedState.isDehydrated;if(Q&&(zo(F,A).flags|=256),A=zm(F,A,!1),A!==2){if(Mm&&!Q){F.errorRecoveryDisabledLanes|=E,Bi|=E,b=4;break e}E=qn,qn=b,E!==null&&(qn===null?qn=E:qn.push.apply(qn,E))}b=A}if(E=!1,b!==2)continue}}if(b===1){zo(a,0),Ka(a,i,0,!0);break}e:{switch(d=a,E=b,E){case 0:case 1:throw Error(r(345));case 4:if((i&4194048)!==i)break;case 6:Ka(d,i,ar,!Ya);break e;case 2:qn=null;break;case 3:case 5:break;default:throw Error(r(329))}if((i&62914560)===i&&(b=kc+300-we(),10<b)){if(Ka(d,i,ar,!Ya),lt(d,0,!0)!==0)break e;wa=i,d.timeoutHandle=EA(zx.bind(null,d,l,qn,Ic,Bm,i,ar,Bi,jo,Ya,E,"Throttled",-0,0),b);break e}zx(d,l,qn,Ic,Bm,i,ar,Bi,jo,Ya,E,null,-0,0)}}break}while(!0);Vr(a)}function zx(a,i,l,d,b,E,A,F,Q,he,Ce,ke,ye,Se){if(a.timeoutHandle=-1,ke=i.subtreeFlags,ke&8192||(ke&16785408)===16785408){ke={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:da},Lx(i,E,ke);var Ge=(E&62914560)===E?kc-we():(E&4194048)===E?Ux-we():0;if(Ge=W3(ke,Ge),Ge!==null){wa=E,a.cancelPendingCommit=Ge(Kx.bind(null,a,i,E,l,d,b,A,F,Q,Ce,ke,null,ye,Se)),Ka(a,E,A,!he);return}}Kx(a,i,E,l,d,b,A,F,Q)}function c3(a){for(var i=a;;){var l=i.tag;if((l===0||l===11||l===15)&&i.flags&16384&&(l=i.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var d=0;d<l.length;d++){var b=l[d],E=b.getSnapshot;b=b.value;try{if(!Jn(E(),b))return!1}catch{return!1}}if(l=i.child,i.subtreeFlags&16384&&l!==null)l.return=i,i=l;else{if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ka(a,i,l,d){i&=~Fm,i&=~Bi,a.suspendedLanes|=i,a.pingedLanes&=~i,d&&(a.warmLanes|=i),d=a.expirationTimes;for(var b=i;0<b;){var E=31-be(b),A=1<<E;d[E]=-1,b&=~A}l!==0&&on(a,l,i)}function Oc(){return(Dt&6)===0?(yl(0),!1):!0}function Hm(){if(bt!==null){if(Ot===0)var a=bt.return;else a=bt,ga=_i=null,rm(a),Io=null,tl=0,a=bt;for(;a!==null;)yx(a.alternate,a),a=a.return;bt=null}}function zo(a,i){var l=a.timeoutHandle;l!==-1&&(a.timeoutHandle=-1,k3(l)),l=a.cancelPendingCommit,l!==null&&(a.cancelPendingCommit=null,l()),wa=0,Hm(),Ut=a,bt=l=pa(a.current,null),xt=i,Ot=0,rr=null,Ya=!1,Po=Wt(a,i),Mm=!1,jo=ar=Fm=Bi=qa=en=0,qn=bl=null,Bm=!1,(i&8)!==0&&(i|=i&32);var d=a.entangledLanes;if(d!==0)for(a=a.entanglements,d&=i;0<d;){var b=31-be(d),E=1<<b;i|=a[b],d&=~E}return Ca=i,ec(),l}function $x(a,i){dt=null,W.H=ul,i===Do||i===lc?(i=iv(),Ot=3):i===Vp?(i=iv(),Ot=4):Ot=i===ym?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,rr=i,bt===null&&(en=1,vc(a,hr(i,a.current)))}function Gx(){var a=tr.current;return a===null?!0:(xt&4194048)===xt?Sr===null:(xt&62914560)===xt||(xt&536870912)!==0?a===Sr:!1}function Vx(){var a=W.H;return W.H=ul,a===null?ul:a}function Yx(){var a=W.A;return W.A=l3,a}function Lc(){en=4,Ya||(xt&4194048)!==xt&&tr.current!==null||(Po=!0),(qa&134217727)===0&&(Bi&134217727)===0||Ut===null||Ka(Ut,xt,ar,!1)}function zm(a,i,l){var d=Dt;Dt|=2;var b=Vx(),E=Yx();(Ut!==a||xt!==i)&&(Ic=null,zo(a,i)),i=!1;var A=en;e:do try{if(Ot!==0&&bt!==null){var F=bt,Q=rr;switch(Ot){case 8:Hm(),A=6;break e;case 3:case 2:case 9:case 6:tr.current===null&&(i=!0);var he=Ot;if(Ot=0,rr=null,$o(a,F,Q,he),l&&Po){A=0;break e}break;default:he=Ot,Ot=0,rr=null,$o(a,F,Q,he)}}d3(),A=en;break}catch(Ce){$x(a,Ce)}while(!0);return i&&a.shellSuspendCounter++,ga=_i=null,Dt=d,W.H=b,W.A=E,bt===null&&(Ut=null,xt=0,ec()),A}function d3(){for(;bt!==null;)qx(bt)}function f3(a,i){var l=Dt;Dt|=2;var d=Vx(),b=Yx();Ut!==a||xt!==i?(Ic=null,Dc=we()+500,zo(a,i)):Po=Wt(a,i);e:do try{if(Ot!==0&&bt!==null){i=bt;var E=rr;t:switch(Ot){case 1:Ot=0,rr=null,$o(a,i,E,1);break;case 2:case 9:if(rv(E)){Ot=0,rr=null,Wx(i);break}i=function(){Ot!==2&&Ot!==9||Ut!==a||(Ot=7),Vr(a)},E.then(i,i);break e;case 3:Ot=7;break e;case 4:Ot=5;break e;case 7:rv(E)?(Ot=0,rr=null,Wx(i)):(Ot=0,rr=null,$o(a,i,E,7));break;case 5:var A=null;switch(bt.tag){case 26:A=bt.memoizedState;case 5:case 27:var F=bt;if(A?OA(A):F.stateNode.complete){Ot=0,rr=null;var Q=F.sibling;if(Q!==null)bt=Q;else{var he=F.return;he!==null?(bt=he,Mc(he)):bt=null}break t}}Ot=0,rr=null,$o(a,i,E,5);break;case 6:Ot=0,rr=null,$o(a,i,E,6);break;case 8:Hm(),en=6;break e;default:throw Error(r(462))}}p3();break}catch(Ce){$x(a,Ce)}while(!0);return ga=_i=null,W.H=d,W.A=b,Dt=l,bt!==null?0:(Ut=null,xt=0,ec(),en)}function p3(){for(;bt!==null&&!$t();)qx(bt)}function qx(a){var i=bx(a.alternate,a,Ca);a.memoizedProps=a.pendingProps,i===null?Mc(a):bt=i}function Wx(a){var i=a,l=i.alternate;switch(i.tag){case 15:case 0:i=dx(l,i,i.pendingProps,i.type,void 0,xt);break;case 11:i=dx(l,i,i.pendingProps,i.type.render,i.ref,xt);break;case 5:rm(i);default:yx(l,i),i=bt=YT(i,Ca),i=bx(l,i,Ca)}a.memoizedProps=a.pendingProps,i===null?Mc(a):bt=i}function $o(a,i,l,d){ga=_i=null,rm(i),Io=null,tl=0;var b=i.return;try{if(t3(a,b,i,l,xt)){en=1,vc(a,hr(l,a.current)),bt=null;return}}catch(E){if(b!==null)throw bt=b,E;en=1,vc(a,hr(l,a.current)),bt=null;return}i.flags&32768?(Ct||d===1?a=!0:Po||(xt&536870912)!==0?a=!1:(Ya=a=!0,(d===2||d===9||d===3||d===6)&&(d=tr.current,d!==null&&d.tag===13&&(d.flags|=16384))),Xx(i,a)):Mc(i)}function Mc(a){var i=a;do{if((i.flags&32768)!==0){Xx(i,Ya);return}a=i.return;var l=a3(i.alternate,i,Ca);if(l!==null){bt=l;return}if(i=i.sibling,i!==null){bt=i;return}bt=i=a}while(i!==null);en===0&&(en=5)}function Xx(a,i){do{var l=i3(a.alternate,a);if(l!==null){l.flags&=32767,bt=l;return}if(l=a.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!i&&(a=a.sibling,a!==null)){bt=a;return}bt=a=l}while(a!==null);en=6,bt=null}function Kx(a,i,l,d,b,E,A,F,Q){a.cancelPendingCommit=null;do Fc();while(mn!==0);if((Dt&6)!==0)throw Error(r(327));if(i!==null){if(i===a.current)throw Error(r(177));if(E=i.lanes|i.childLanes,E|=kp,jn(a,l,E,A,F,Q),a===Ut&&(bt=Ut=null,xt=0),Ho=i,Xa=a,wa=l,Um=E,Pm=b,Px=d,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,b3(K,function(){return tA(),null})):(a.callbackNode=null,a.callbackPriority=0),d=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||d){d=W.T,W.T=null,b=re.p,re.p=2,A=Dt,Dt|=4;try{o3(a,i,l)}finally{Dt=A,re.p=b,W.T=d}}mn=1,Zx(),Qx(),Jx()}}function Zx(){if(mn===1){mn=0;var a=Xa,i=Ho,l=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||l){l=W.T,W.T=null;var d=re.p;re.p=2;var b=Dt;Dt|=4;try{Dx(i,a);var E=eg,A=BT(a.containerInfo),F=E.focusedElem,Q=E.selectionRange;if(A!==F&&F&&F.ownerDocument&&FT(F.ownerDocument.documentElement,F)){if(Q!==null&&Cp(F)){var he=Q.start,Ce=Q.end;if(Ce===void 0&&(Ce=he),"selectionStart"in F)F.selectionStart=he,F.selectionEnd=Math.min(Ce,F.value.length);else{var ke=F.ownerDocument||document,ye=ke&&ke.defaultView||window;if(ye.getSelection){var Se=ye.getSelection(),Ge=F.textContent.length,at=Math.min(Q.start,Ge),Bt=Q.end===void 0?at:Math.min(Q.end,Ge);!Se.extend&&at>Bt&&(A=Bt,Bt=at,at=A);var ce=MT(F,at),te=MT(F,Bt);if(ce&&te&&(Se.rangeCount!==1||Se.anchorNode!==ce.node||Se.anchorOffset!==ce.offset||Se.focusNode!==te.node||Se.focusOffset!==te.offset)){var ge=ke.createRange();ge.setStart(ce.node,ce.offset),Se.removeAllRanges(),at>Bt?(Se.addRange(ge),Se.extend(te.node,te.offset)):(ge.setEnd(te.node,te.offset),Se.addRange(ge))}}}}for(ke=[],Se=F;Se=Se.parentNode;)Se.nodeType===1&&ke.push({element:Se,left:Se.scrollLeft,top:Se.scrollTop});for(typeof F.focus=="function"&&F.focus(),F=0;F<ke.length;F++){var _e=ke[F];_e.element.scrollLeft=_e.left,_e.element.scrollTop=_e.top}}Wc=!!Jm,eg=Jm=null}finally{Dt=b,re.p=d,W.T=l}}a.current=i,mn=2}}function Qx(){if(mn===2){mn=0;var a=Xa,i=Ho,l=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||l){l=W.T,W.T=null;var d=re.p;re.p=2;var b=Dt;Dt|=4;try{wx(a,i.alternate,i)}finally{Dt=b,re.p=d,W.T=l}}mn=3}}function Jx(){if(mn===4||mn===3){mn=0,ot();var a=Xa,i=Ho,l=wa,d=Px;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?mn=5:(mn=0,Ho=Xa=null,eA(a,a.pendingLanes));var b=a.pendingLanes;if(b===0&&(Wa=null),ua(l),i=i.stateNode,Re&&typeof Re.onCommitFiberRoot=="function")try{Re.onCommitFiberRoot(De,i,void 0,(i.current.flags&128)===128)}catch{}if(d!==null){i=W.T,b=re.p,re.p=2,W.T=null;try{for(var E=a.onRecoverableError,A=0;A<d.length;A++){var F=d[A];E(F.value,{componentStack:F.stack})}}finally{W.T=i,re.p=b}}(wa&3)!==0&&Fc(),Vr(a),b=a.pendingLanes,(l&261930)!==0&&(b&42)!==0?a===jm?El++:(El=0,jm=a):El=0,yl(0)}}function eA(a,i){(a.pooledCacheLanes&=i)===0&&(i=a.pooledCache,i!=null&&(a.pooledCache=null,Js(i)))}function Fc(){return Zx(),Qx(),Jx(),tA()}function tA(){if(mn!==5)return!1;var a=Xa,i=Um;Um=0;var l=ua(wa),d=W.T,b=re.p;try{re.p=32>l?32:l,W.T=null,l=Pm,Pm=null;var E=Xa,A=wa;if(mn=0,Ho=Xa=null,wa=0,(Dt&6)!==0)throw Error(r(331));var F=Dt;if(Dt|=4,Fx(E.current),Ox(E,E.current,A,l),Dt=F,yl(0,!1),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(De,E)}catch{}return!0}finally{re.p=b,W.T=d,eA(a,i)}}function nA(a,i,l){i=hr(l,i),i=Em(a.stateNode,i,2),a=za(a,i,2),a!==null&&(Kt(a,2),Vr(a))}function Lt(a,i,l){if(a.tag===3)nA(a,a,l);else for(;i!==null;){if(i.tag===3){nA(i,a,l);break}else if(i.tag===1){var d=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Wa===null||!Wa.has(d))){a=hr(l,a),l=rx(2),d=za(i,l,2),d!==null&&(ax(l,d,i,a),Kt(d,2),Vr(d));break}}i=i.return}}function $m(a,i,l){var d=a.pingCache;if(d===null){d=a.pingCache=new u3;var b=new Set;d.set(i,b)}else b=d.get(i),b===void 0&&(b=new Set,d.set(i,b));b.has(l)||(Mm=!0,b.add(l),a=m3.bind(null,a,i,l),i.then(a,a))}function m3(a,i,l){var d=a.pingCache;d!==null&&d.delete(i),a.pingedLanes|=a.suspendedLanes&l,a.warmLanes&=~l,Ut===a&&(xt&l)===l&&(en===4||en===3&&(xt&62914560)===xt&&300>we()-kc?(Dt&2)===0&&zo(a,0):Fm|=l,jo===xt&&(jo=0)),Vr(a)}function rA(a,i){i===0&&(i=an()),a=Ci(a,i),a!==null&&(Kt(a,i),Vr(a))}function g3(a){var i=a.memoizedState,l=0;i!==null&&(l=i.retryLane),rA(a,l)}function h3(a,i){var l=0;switch(a.tag){case 31:case 13:var d=a.stateNode,b=a.memoizedState;b!==null&&(l=b.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(r(314))}d!==null&&d.delete(i),rA(a,l)}function b3(a,i){return Ke(a,i)}var Bc=null,Go=null,Gm=!1,Uc=!1,Vm=!1,Za=0;function Vr(a){a!==Go&&a.next===null&&(Go===null?Bc=Go=a:Go=Go.next=a),Uc=!0,Gm||(Gm=!0,y3())}function yl(a,i){if(!Vm&&Uc){Vm=!0;do for(var l=!1,d=Bc;d!==null;){if(a!==0){var b=d.pendingLanes;if(b===0)var E=0;else{var A=d.suspendedLanes,F=d.pingedLanes;E=(1<<31-be(42|a)+1)-1,E&=b&~(A&~F),E=E&201326741?E&201326741|1:E?E|2:0}E!==0&&(l=!0,sA(d,E))}else E=xt,E=lt(d,d===Ut?E:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(E&3)===0||Wt(d,E)||(l=!0,sA(d,E));d=d.next}while(l);Vm=!1}}function E3(){aA()}function aA(){Uc=Gm=!1;var a=0;Za!==0&&R3()&&(a=Za);for(var i=we(),l=null,d=Bc;d!==null;){var b=d.next,E=iA(d,i);E===0?(d.next=null,l===null?Bc=b:l.next=b,b===null&&(Go=l)):(l=d,(a!==0||(E&3)!==0)&&(Uc=!0)),d=b}mn!==0&&mn!==5||yl(a),Za!==0&&(Za=0)}function iA(a,i){for(var l=a.suspendedLanes,d=a.pingedLanes,b=a.expirationTimes,E=a.pendingLanes&-62914561;0<E;){var A=31-be(E),F=1<<A,Q=b[A];Q===-1?((F&l)===0||(F&d)!==0)&&(b[A]=vt(F,i)):Q<=i&&(a.expiredLanes|=F),E&=~F}if(i=Ut,l=xt,l=lt(a,a===i?l:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d=a.callbackNode,l===0||a===i&&(Ot===2||Ot===9)||a.cancelPendingCommit!==null)return d!==null&&d!==null&&It(d),a.callbackNode=null,a.callbackPriority=0;if((l&3)===0||Wt(a,l)){if(i=l&-l,i===a.callbackPriority)return i;switch(d!==null&&It(d),ua(l)){case 2:case 8:l=U;break;case 32:l=K;break;case 268435456:l=Ne;break;default:l=K}return d=oA.bind(null,a),l=Ke(l,d),a.callbackPriority=i,a.callbackNode=l,i}return d!==null&&d!==null&&It(d),a.callbackPriority=2,a.callbackNode=null,2}function oA(a,i){if(mn!==0&&mn!==5)return a.callbackNode=null,a.callbackPriority=0,null;var l=a.callbackNode;if(Fc()&&a.callbackNode!==l)return null;var d=xt;return d=lt(a,a===Ut?d:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d===0?null:(Hx(a,d,i),iA(a,we()),a.callbackNode!=null&&a.callbackNode===l?oA.bind(null,a):null)}function sA(a,i){if(Fc())return null;Hx(a,i,!0)}function y3(){D3(function(){(Dt&6)!==0?Ke(k,E3):aA()})}function Ym(){if(Za===0){var a=Ro;a===0&&(a=Xe,Xe<<=1,(Xe&261888)===0&&(Xe=256)),Za=a}return Za}function lA(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:Yu(""+a)}function uA(a,i){var l=i.ownerDocument.createElement("input");return l.name=i.name,l.value=i.value,a.id&&l.setAttribute("form",a.id),i.parentNode.insertBefore(l,i),a=new FormData(a),l.parentNode.removeChild(l),a}function S3(a,i,l,d,b){if(i==="submit"&&l&&l.stateNode===b){var E=lA((b[Qt]||null).action),A=d.submitter;A&&(i=(i=A[Qt]||null)?lA(i.formAction):A.getAttribute("formAction"),i!==null&&(E=i,A=null));var F=new Ku("action","action",null,d,b);a.push({event:F,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(Za!==0){var Q=A?uA(b,A):new FormData(b);fm(l,{pending:!0,data:Q,method:b.method,action:E},null,Q)}}else typeof E=="function"&&(F.preventDefault(),Q=A?uA(b,A):new FormData(b),fm(l,{pending:!0,data:Q,method:b.method,action:E},E,Q))},currentTarget:b}]})}}for(var qm=0;qm<Rp.length;qm++){var Wm=Rp[qm],T3=Wm.toLowerCase(),v3=Wm[0].toUpperCase()+Wm.slice(1);kr(T3,"on"+v3)}kr(jT,"onAnimationEnd"),kr(HT,"onAnimationIteration"),kr(zT,"onAnimationStart"),kr("dblclick","onDoubleClick"),kr("focusin","onFocus"),kr("focusout","onBlur"),kr(UO,"onTransitionRun"),kr(PO,"onTransitionStart"),kr(jO,"onTransitionCancel"),kr($T,"onTransitionEnd"),go("onMouseEnter",["mouseout","mouseover"]),go("onMouseLeave",["mouseout","mouseover"]),go("onPointerEnter",["pointerout","pointerover"]),go("onPointerLeave",["pointerout","pointerover"]),Ti("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ti("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ti("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ti("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ti("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ti("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sl="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(" "),x3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sl));function cA(a,i){i=(i&4)!==0;for(var l=0;l<a.length;l++){var d=a[l],b=d.event;d=d.listeners;e:{var E=void 0;if(i)for(var A=d.length-1;0<=A;A--){var F=d[A],Q=F.instance,he=F.currentTarget;if(F=F.listener,Q!==E&&b.isPropagationStopped())break e;E=F,b.currentTarget=he;try{E(b)}catch(Ce){Ju(Ce)}b.currentTarget=null,E=Q}else for(A=0;A<d.length;A++){if(F=d[A],Q=F.instance,he=F.currentTarget,F=F.listener,Q!==E&&b.isPropagationStopped())break e;E=F,b.currentTarget=he;try{E(b)}catch(Ce){Ju(Ce)}b.currentTarget=null,E=Q}}}}function Et(a,i){var l=i[Ps];l===void 0&&(l=i[Ps]=new Set);var d=a+"__bubble";l.has(d)||(dA(i,a,2,!1),l.add(d))}function Xm(a,i,l){var d=0;i&&(d|=4),dA(l,a,d,i)}var Pc="_reactListening"+Math.random().toString(36).slice(2);function Km(a){if(!a[Pc]){a[Pc]=!0,aT.forEach(function(l){l!=="selectionchange"&&(x3.has(l)||Xm(l,!1,a),Xm(l,!0,a))});var i=a.nodeType===9?a:a.ownerDocument;i===null||i[Pc]||(i[Pc]=!0,Xm("selectionchange",!1,i))}}function dA(a,i,l,d){switch(jA(i)){case 2:var b=Z3;break;case 8:b=Q3;break;default:b=dg}l=b.bind(null,i,l,a),b=void 0,!hp||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(b=!0),d?b!==void 0?a.addEventListener(i,l,{capture:!0,passive:b}):a.addEventListener(i,l,!0):b!==void 0?a.addEventListener(i,l,{passive:b}):a.addEventListener(i,l,!1)}function Zm(a,i,l,d,b){var E=d;if((i&1)===0&&(i&2)===0&&d!==null)e:for(;;){if(d===null)return;var A=d.tag;if(A===3||A===4){var F=d.stateNode.containerInfo;if(F===b)break;if(A===4)for(A=d.return;A!==null;){var Q=A.tag;if((Q===3||Q===4)&&A.stateNode.containerInfo===b)return;A=A.return}for(;F!==null;){if(A=fo(F),A===null)return;if(Q=A.tag,Q===5||Q===6||Q===26||Q===27){d=E=A;continue e}F=F.parentNode}}d=d.return}hT(function(){var he=E,Ce=mp(l),ke=[];e:{var ye=GT.get(a);if(ye!==void 0){var Se=Ku,Ge=a;switch(a){case"keypress":if(Wu(l)===0)break e;case"keydown":case"keyup":Se=hO;break;case"focusin":Ge="focus",Se=Sp;break;case"focusout":Ge="blur",Se=Sp;break;case"beforeblur":case"afterblur":Se=Sp;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Se=yT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Se=aO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Se=yO;break;case jT:case HT:case zT:Se=sO;break;case $T:Se=TO;break;case"scroll":case"scrollend":Se=nO;break;case"wheel":Se=xO;break;case"copy":case"cut":case"paste":Se=uO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Se=TT;break;case"toggle":case"beforetoggle":Se=CO}var at=(i&4)!==0,Bt=!at&&(a==="scroll"||a==="scrollend"),ce=at?ye!==null?ye+"Capture":null:ye;at=[];for(var te=he,ge;te!==null;){var _e=te;if(ge=_e.stateNode,_e=_e.tag,_e!==5&&_e!==26&&_e!==27||ge===null||ce===null||(_e=zs(te,ce),_e!=null&&at.push(Tl(te,_e,ge))),Bt)break;te=te.return}0<at.length&&(ye=new Se(ye,Ge,null,l,Ce),ke.push({event:ye,listeners:at}))}}if((i&7)===0){e:{if(ye=a==="mouseover"||a==="pointerover",Se=a==="mouseout"||a==="pointerout",ye&&l!==pp&&(Ge=l.relatedTarget||l.fromElement)&&(fo(Ge)||Ge[Hr]))break e;if((Se||ye)&&(ye=Ce.window===Ce?Ce:(ye=Ce.ownerDocument)?ye.defaultView||ye.parentWindow:window,Se?(Ge=l.relatedTarget||l.toElement,Se=he,Ge=Ge?fo(Ge):null,Ge!==null&&(Bt=s(Ge),at=Ge.tag,Ge!==Bt||at!==5&&at!==27&&at!==6)&&(Ge=null)):(Se=null,Ge=he),Se!==Ge)){if(at=yT,_e="onMouseLeave",ce="onMouseEnter",te="mouse",(a==="pointerout"||a==="pointerover")&&(at=TT,_e="onPointerLeave",ce="onPointerEnter",te="pointer"),Bt=Se==null?ye:Hs(Se),ge=Ge==null?ye:Hs(Ge),ye=new at(_e,te+"leave",Se,l,Ce),ye.target=Bt,ye.relatedTarget=ge,_e=null,fo(Ce)===he&&(at=new at(ce,te+"enter",Ge,l,Ce),at.target=ge,at.relatedTarget=Bt,_e=at),Bt=_e,Se&&Ge)t:{for(at=A3,ce=Se,te=Ge,ge=0,_e=ce;_e;_e=at(_e))ge++;_e=0;for(var et=te;et;et=at(et))_e++;for(;0<ge-_e;)ce=at(ce),ge--;for(;0<_e-ge;)te=at(te),_e--;for(;ge--;){if(ce===te||te!==null&&ce===te.alternate){at=ce;break t}ce=at(ce),te=at(te)}at=null}else at=null;Se!==null&&fA(ke,ye,Se,at,!1),Ge!==null&&Bt!==null&&fA(ke,Bt,Ge,at,!0)}}e:{if(ye=he?Hs(he):window,Se=ye.nodeName&&ye.nodeName.toLowerCase(),Se==="select"||Se==="input"&&ye.type==="file")var _t=RT;else if(NT(ye))if(kT)_t=MO;else{_t=OO;var We=IO}else Se=ye.nodeName,!Se||Se.toLowerCase()!=="input"||ye.type!=="checkbox"&&ye.type!=="radio"?he&&fp(he.elementType)&&(_t=RT):_t=LO;if(_t&&(_t=_t(a,he))){_T(ke,_t,l,Ce);break e}We&&We(a,ye,he),a==="focusout"&&he&&ye.type==="number"&&he.memoizedProps.value!=null&&dp(ye,"number",ye.value)}switch(We=he?Hs(he):window,a){case"focusin":(NT(We)||We.contentEditable==="true")&&(To=We,wp=he,Ks=null);break;case"focusout":Ks=wp=To=null;break;case"mousedown":Np=!0;break;case"contextmenu":case"mouseup":case"dragend":Np=!1,UT(ke,l,Ce);break;case"selectionchange":if(BO)break;case"keydown":case"keyup":UT(ke,l,Ce)}var pt;if(vp)e:{switch(a){case"compositionstart":var At="onCompositionStart";break e;case"compositionend":At="onCompositionEnd";break e;case"compositionupdate":At="onCompositionUpdate";break e}At=void 0}else So?CT(a,l)&&(At="onCompositionEnd"):a==="keydown"&&l.keyCode===229&&(At="onCompositionStart");At&&(vT&&l.locale!=="ko"&&(So||At!=="onCompositionStart"?At==="onCompositionEnd"&&So&&(pt=bT()):(Ma=Ce,bp="value"in Ma?Ma.value:Ma.textContent,So=!0)),We=jc(he,At),0<We.length&&(At=new ST(At,a,null,l,Ce),ke.push({event:At,listeners:We}),pt?At.data=pt:(pt=wT(l),pt!==null&&(At.data=pt)))),(pt=NO?_O(a,l):RO(a,l))&&(At=jc(he,"onBeforeInput"),0<At.length&&(We=new ST("onBeforeInput","beforeinput",null,l,Ce),ke.push({event:We,listeners:At}),We.data=pt)),S3(ke,a,he,l,Ce)}cA(ke,i)})}function Tl(a,i,l){return{instance:a,listener:i,currentTarget:l}}function jc(a,i){for(var l=i+"Capture",d=[];a!==null;){var b=a,E=b.stateNode;if(b=b.tag,b!==5&&b!==26&&b!==27||E===null||(b=zs(a,l),b!=null&&d.unshift(Tl(a,b,E)),b=zs(a,i),b!=null&&d.push(Tl(a,b,E))),a.tag===3)return d;a=a.return}return[]}function A3(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function fA(a,i,l,d,b){for(var E=i._reactName,A=[];l!==null&&l!==d;){var F=l,Q=F.alternate,he=F.stateNode;if(F=F.tag,Q!==null&&Q===d)break;F!==5&&F!==26&&F!==27||he===null||(Q=he,b?(he=zs(l,E),he!=null&&A.unshift(Tl(l,he,Q))):b||(he=zs(l,E),he!=null&&A.push(Tl(l,he,Q)))),l=l.return}A.length!==0&&a.push({event:i,listeners:A})}var C3=/\r\n?/g,w3=/\u0000|\uFFFD/g;function pA(a){return(typeof a=="string"?a:""+a).replace(C3,`
|
|
9
|
-
`).replace(w3,"")}function mA(a,i){return i=pA(i),pA(a)===i}function Ft(a,i,l,d,b,E){switch(l){case"children":typeof d=="string"?i==="body"||i==="textarea"&&d===""||bo(a,d):(typeof d=="number"||typeof d=="bigint")&&i!=="body"&&bo(a,""+d);break;case"className":Gu(a,"class",d);break;case"tabIndex":Gu(a,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":Gu(a,l,d);break;case"style":mT(a,d,E);break;case"data":if(i!=="object"){Gu(a,"data",d);break}case"src":case"href":if(d===""&&(i!=="a"||l!=="href")){a.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(l);break}d=Yu(""+d),a.setAttribute(l,d);break;case"action":case"formAction":if(typeof d=="function"){a.setAttribute(l,"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 E=="function"&&(l==="formAction"?(i!=="input"&&Ft(a,i,"name",b.name,b,null),Ft(a,i,"formEncType",b.formEncType,b,null),Ft(a,i,"formMethod",b.formMethod,b,null),Ft(a,i,"formTarget",b.formTarget,b,null)):(Ft(a,i,"encType",b.encType,b,null),Ft(a,i,"method",b.method,b,null),Ft(a,i,"target",b.target,b,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(l);break}d=Yu(""+d),a.setAttribute(l,d);break;case"onClick":d!=null&&(a.onclick=da);break;case"onScroll":d!=null&&Et("scroll",a);break;case"onScrollEnd":d!=null&&Et("scrollend",a);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(l=d.__html,l!=null){if(b.children!=null)throw Error(r(60));a.innerHTML=l}}break;case"multiple":a.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":a.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){a.removeAttribute("xlink:href");break}l=Yu(""+d),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,""+d):a.removeAttribute(l);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":d&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,""):a.removeAttribute(l);break;case"capture":case"download":d===!0?a.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,d):a.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?a.setAttribute(l,d):a.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?a.removeAttribute(l):a.setAttribute(l,d);break;case"popover":Et("beforetoggle",a),Et("toggle",a),$u(a,"popover",d);break;case"xlinkActuate":ca(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":ca(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":ca(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":ca(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":ca(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":ca(a,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":ca(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":ca(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":ca(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":$u(a,"is",d);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=eO.get(l)||l,$u(a,l,d))}}function Qm(a,i,l,d,b,E){switch(l){case"style":mT(a,d,E);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(l=d.__html,l!=null){if(b.children!=null)throw Error(r(60));a.innerHTML=l}}break;case"children":typeof d=="string"?bo(a,d):(typeof d=="number"||typeof d=="bigint")&&bo(a,""+d);break;case"onScroll":d!=null&&Et("scroll",a);break;case"onScrollEnd":d!=null&&Et("scrollend",a);break;case"onClick":d!=null&&(a.onclick=da);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!iT.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(b=l.endsWith("Capture"),i=l.slice(2,b?l.length-7:void 0),E=a[Qt]||null,E=E!=null?E[l]:null,typeof E=="function"&&a.removeEventListener(i,E,b),typeof d=="function")){typeof E!="function"&&E!==null&&(l in a?a[l]=null:a.hasAttribute(l)&&a.removeAttribute(l)),a.addEventListener(i,d,b);break e}l in a?a[l]=d:d===!0?a.setAttribute(l,""):$u(a,l,d)}}}function Nn(a,i,l){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Et("error",a),Et("load",a);var d=!1,b=!1,E;for(E in l)if(l.hasOwnProperty(E)){var A=l[E];if(A!=null)switch(E){case"src":d=!0;break;case"srcSet":b=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Ft(a,i,E,A,l,null)}}b&&Ft(a,i,"srcSet",l.srcSet,l,null),d&&Ft(a,i,"src",l.src,l,null);return;case"input":Et("invalid",a);var F=E=A=b=null,Q=null,he=null;for(d in l)if(l.hasOwnProperty(d)){var Ce=l[d];if(Ce!=null)switch(d){case"name":b=Ce;break;case"type":A=Ce;break;case"checked":Q=Ce;break;case"defaultChecked":he=Ce;break;case"value":E=Ce;break;case"defaultValue":F=Ce;break;case"children":case"dangerouslySetInnerHTML":if(Ce!=null)throw Error(r(137,i));break;default:Ft(a,i,d,Ce,l,null)}}cT(a,E,F,Q,he,A,b,!1);return;case"select":Et("invalid",a),d=A=E=null;for(b in l)if(l.hasOwnProperty(b)&&(F=l[b],F!=null))switch(b){case"value":E=F;break;case"defaultValue":A=F;break;case"multiple":d=F;default:Ft(a,i,b,F,l,null)}i=E,l=A,a.multiple=!!d,i!=null?ho(a,!!d,i,!1):l!=null&&ho(a,!!d,l,!0);return;case"textarea":Et("invalid",a),E=b=d=null;for(A in l)if(l.hasOwnProperty(A)&&(F=l[A],F!=null))switch(A){case"value":d=F;break;case"defaultValue":b=F;break;case"children":E=F;break;case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(91));break;default:Ft(a,i,A,F,l,null)}fT(a,d,b,E);return;case"option":for(Q in l)l.hasOwnProperty(Q)&&(d=l[Q],d!=null)&&(Q==="selected"?a.selected=d&&typeof d!="function"&&typeof d!="symbol":Ft(a,i,Q,d,l,null));return;case"dialog":Et("beforetoggle",a),Et("toggle",a),Et("cancel",a),Et("close",a);break;case"iframe":case"object":Et("load",a);break;case"video":case"audio":for(d=0;d<Sl.length;d++)Et(Sl[d],a);break;case"image":Et("error",a),Et("load",a);break;case"details":Et("toggle",a);break;case"embed":case"source":case"link":Et("error",a),Et("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(he in l)if(l.hasOwnProperty(he)&&(d=l[he],d!=null))switch(he){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Ft(a,i,he,d,l,null)}return;default:if(fp(i)){for(Ce in l)l.hasOwnProperty(Ce)&&(d=l[Ce],d!==void 0&&Qm(a,i,Ce,d,l,void 0));return}}for(F in l)l.hasOwnProperty(F)&&(d=l[F],d!=null&&Ft(a,i,F,d,l,null))}function N3(a,i,l,d){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var b=null,E=null,A=null,F=null,Q=null,he=null,Ce=null;for(Se in l){var ke=l[Se];if(l.hasOwnProperty(Se)&&ke!=null)switch(Se){case"checked":break;case"value":break;case"defaultValue":Q=ke;default:d.hasOwnProperty(Se)||Ft(a,i,Se,null,d,ke)}}for(var ye in d){var Se=d[ye];if(ke=l[ye],d.hasOwnProperty(ye)&&(Se!=null||ke!=null))switch(ye){case"type":E=Se;break;case"name":b=Se;break;case"checked":he=Se;break;case"defaultChecked":Ce=Se;break;case"value":A=Se;break;case"defaultValue":F=Se;break;case"children":case"dangerouslySetInnerHTML":if(Se!=null)throw Error(r(137,i));break;default:Se!==ke&&Ft(a,i,ye,Se,d,ke)}}cp(a,A,F,Q,he,Ce,E,b);return;case"select":Se=A=F=ye=null;for(E in l)if(Q=l[E],l.hasOwnProperty(E)&&Q!=null)switch(E){case"value":break;case"multiple":Se=Q;default:d.hasOwnProperty(E)||Ft(a,i,E,null,d,Q)}for(b in d)if(E=d[b],Q=l[b],d.hasOwnProperty(b)&&(E!=null||Q!=null))switch(b){case"value":ye=E;break;case"defaultValue":F=E;break;case"multiple":A=E;default:E!==Q&&Ft(a,i,b,E,d,Q)}i=F,l=A,d=Se,ye!=null?ho(a,!!l,ye,!1):!!d!=!!l&&(i!=null?ho(a,!!l,i,!0):ho(a,!!l,l?[]:"",!1));return;case"textarea":Se=ye=null;for(F in l)if(b=l[F],l.hasOwnProperty(F)&&b!=null&&!d.hasOwnProperty(F))switch(F){case"value":break;case"children":break;default:Ft(a,i,F,null,d,b)}for(A in d)if(b=d[A],E=l[A],d.hasOwnProperty(A)&&(b!=null||E!=null))switch(A){case"value":ye=b;break;case"defaultValue":Se=b;break;case"children":break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:b!==E&&Ft(a,i,A,b,d,E)}dT(a,ye,Se);return;case"option":for(var Ge in l)ye=l[Ge],l.hasOwnProperty(Ge)&&ye!=null&&!d.hasOwnProperty(Ge)&&(Ge==="selected"?a.selected=!1:Ft(a,i,Ge,null,d,ye));for(Q in d)ye=d[Q],Se=l[Q],d.hasOwnProperty(Q)&&ye!==Se&&(ye!=null||Se!=null)&&(Q==="selected"?a.selected=ye&&typeof ye!="function"&&typeof ye!="symbol":Ft(a,i,Q,ye,d,Se));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 at in l)ye=l[at],l.hasOwnProperty(at)&&ye!=null&&!d.hasOwnProperty(at)&&Ft(a,i,at,null,d,ye);for(he in d)if(ye=d[he],Se=l[he],d.hasOwnProperty(he)&&ye!==Se&&(ye!=null||Se!=null))switch(he){case"children":case"dangerouslySetInnerHTML":if(ye!=null)throw Error(r(137,i));break;default:Ft(a,i,he,ye,d,Se)}return;default:if(fp(i)){for(var Bt in l)ye=l[Bt],l.hasOwnProperty(Bt)&&ye!==void 0&&!d.hasOwnProperty(Bt)&&Qm(a,i,Bt,void 0,d,ye);for(Ce in d)ye=d[Ce],Se=l[Ce],!d.hasOwnProperty(Ce)||ye===Se||ye===void 0&&Se===void 0||Qm(a,i,Ce,ye,d,Se);return}}for(var ce in l)ye=l[ce],l.hasOwnProperty(ce)&&ye!=null&&!d.hasOwnProperty(ce)&&Ft(a,i,ce,null,d,ye);for(ke in d)ye=d[ke],Se=l[ke],!d.hasOwnProperty(ke)||ye===Se||ye==null&&Se==null||Ft(a,i,ke,ye,d,Se)}function gA(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _3(){if(typeof performance.getEntriesByType=="function"){for(var a=0,i=0,l=performance.getEntriesByType("resource"),d=0;d<l.length;d++){var b=l[d],E=b.transferSize,A=b.initiatorType,F=b.duration;if(E&&F&&gA(A)){for(A=0,F=b.responseEnd,d+=1;d<l.length;d++){var Q=l[d],he=Q.startTime;if(he>F)break;var Ce=Q.transferSize,ke=Q.initiatorType;Ce&&gA(ke)&&(Q=Q.responseEnd,A+=Ce*(Q<F?1:(F-he)/(Q-he)))}if(--d,i+=8*(E+A)/(b.duration/1e3),a++,10<a)break}}if(0<a)return i/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var Jm=null,eg=null;function Hc(a){return a.nodeType===9?a:a.ownerDocument}function hA(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function bA(a,i){if(a===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&i==="foreignObject"?0:a}function tg(a,i){return a==="textarea"||a==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var ng=null;function R3(){var a=window.event;return a&&a.type==="popstate"?a===ng?!1:(ng=a,!0):(ng=null,!1)}var EA=typeof setTimeout=="function"?setTimeout:void 0,k3=typeof clearTimeout=="function"?clearTimeout:void 0,yA=typeof Promise=="function"?Promise:void 0,D3=typeof queueMicrotask=="function"?queueMicrotask:typeof yA<"u"?function(a){return yA.resolve(null).then(a).catch(I3)}:EA;function I3(a){setTimeout(function(){throw a})}function Qa(a){return a==="head"}function SA(a,i){var l=i,d=0;do{var b=l.nextSibling;if(a.removeChild(l),b&&b.nodeType===8)if(l=b.data,l==="/$"||l==="/&"){if(d===0){a.removeChild(b),Wo(i);return}d--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")d++;else if(l==="html")vl(a.ownerDocument.documentElement);else if(l==="head"){l=a.ownerDocument.head,vl(l);for(var E=l.firstChild;E;){var A=E.nextSibling,F=E.nodeName;E[js]||F==="SCRIPT"||F==="STYLE"||F==="LINK"&&E.rel.toLowerCase()==="stylesheet"||l.removeChild(E),E=A}}else l==="body"&&vl(a.ownerDocument.body);l=b}while(l);Wo(i)}function TA(a,i){var l=a;a=0;do{var d=l.nextSibling;if(l.nodeType===1?i?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(i?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),d&&d.nodeType===8)if(l=d.data,l==="/$"){if(a===0)break;a--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||a++;l=d}while(l)}function rg(a){var i=a.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var l=i;switch(i=i.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":rg(l),lp(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}a.removeChild(l)}}function O3(a,i,l,d){for(;a.nodeType===1;){var b=l;if(a.nodeName.toLowerCase()!==i.toLowerCase()){if(!d&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(d){if(!a[js])switch(i){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(E=a.getAttribute("rel"),E==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(E!==b.rel||a.getAttribute("href")!==(b.href==null||b.href===""?null:b.href)||a.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin)||a.getAttribute("title")!==(b.title==null?null:b.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(E=a.getAttribute("src"),(E!==(b.src==null?null:b.src)||a.getAttribute("type")!==(b.type==null?null:b.type)||a.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin))&&E&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(i==="input"&&a.type==="hidden"){var E=b.name==null?null:""+b.name;if(b.type==="hidden"&&a.getAttribute("name")===E)return a}else return a;if(a=Tr(a.nextSibling),a===null)break}return null}function L3(a,i,l){if(i==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=Tr(a.nextSibling),a===null))return null;return a}function vA(a,i){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=Tr(a.nextSibling),a===null))return null;return a}function ag(a){return a.data==="$?"||a.data==="$~"}function ig(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function M3(a,i){var l=a.ownerDocument;if(a.data==="$~")a._reactRetry=i;else if(a.data!=="$?"||l.readyState!=="loading")i();else{var d=function(){i(),l.removeEventListener("DOMContentLoaded",d)};l.addEventListener("DOMContentLoaded",d),a._reactRetry=d}}function Tr(a){for(;a!=null;a=a.nextSibling){var i=a.nodeType;if(i===1||i===3)break;if(i===8){if(i=a.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return a}var og=null;function xA(a){a=a.nextSibling;for(var i=0;a;){if(a.nodeType===8){var l=a.data;if(l==="/$"||l==="/&"){if(i===0)return Tr(a.nextSibling);i--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||i++}a=a.nextSibling}return null}function AA(a){a=a.previousSibling;for(var i=0;a;){if(a.nodeType===8){var l=a.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(i===0)return a;i--}else l!=="/$"&&l!=="/&"||i++}a=a.previousSibling}return null}function CA(a,i,l){switch(i=Hc(l),a){case"html":if(a=i.documentElement,!a)throw Error(r(452));return a;case"head":if(a=i.head,!a)throw Error(r(453));return a;case"body":if(a=i.body,!a)throw Error(r(454));return a;default:throw Error(r(451))}}function vl(a){for(var i=a.attributes;i.length;)a.removeAttributeNode(i[0]);lp(a)}var vr=new Map,wA=new Set;function zc(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var Na=re.d;re.d={f:F3,r:B3,D:U3,C:P3,L:j3,m:H3,X:$3,S:z3,M:G3};function F3(){var a=Na.f(),i=Oc();return a||i}function B3(a){var i=po(a);i!==null&&i.tag===5&&i.type==="form"?$v(i):Na.r(a)}var Vo=typeof document>"u"?null:document;function NA(a,i,l){var d=Vo;if(d&&typeof i=="string"&&i){var b=mr(i);b='link[rel="'+a+'"][href="'+b+'"]',typeof l=="string"&&(b+='[crossorigin="'+l+'"]'),wA.has(b)||(wA.add(b),a={rel:a,crossOrigin:l,href:i},d.querySelector(b)===null&&(i=d.createElement("link"),Nn(i,"link",a),bn(i),d.head.appendChild(i)))}}function U3(a){Na.D(a),NA("dns-prefetch",a,null)}function P3(a,i){Na.C(a,i),NA("preconnect",a,i)}function j3(a,i,l){Na.L(a,i,l);var d=Vo;if(d&&a&&i){var b='link[rel="preload"][as="'+mr(i)+'"]';i==="image"&&l&&l.imageSrcSet?(b+='[imagesrcset="'+mr(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(b+='[imagesizes="'+mr(l.imageSizes)+'"]')):b+='[href="'+mr(a)+'"]';var E=b;switch(i){case"style":E=Yo(a);break;case"script":E=qo(a)}vr.has(E)||(a=h({rel:"preload",href:i==="image"&&l&&l.imageSrcSet?void 0:a,as:i},l),vr.set(E,a),d.querySelector(b)!==null||i==="style"&&d.querySelector(xl(E))||i==="script"&&d.querySelector(Al(E))||(i=d.createElement("link"),Nn(i,"link",a),bn(i),d.head.appendChild(i)))}}function H3(a,i){Na.m(a,i);var l=Vo;if(l&&a){var d=i&&typeof i.as=="string"?i.as:"script",b='link[rel="modulepreload"][as="'+mr(d)+'"][href="'+mr(a)+'"]',E=b;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":E=qo(a)}if(!vr.has(E)&&(a=h({rel:"modulepreload",href:a},i),vr.set(E,a),l.querySelector(b)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Al(E)))return}d=l.createElement("link"),Nn(d,"link",a),bn(d),l.head.appendChild(d)}}}function z3(a,i,l){Na.S(a,i,l);var d=Vo;if(d&&a){var b=mo(d).hoistableStyles,E=Yo(a);i=i||"default";var A=b.get(E);if(!A){var F={loading:0,preload:null};if(A=d.querySelector(xl(E)))F.loading=5;else{a=h({rel:"stylesheet",href:a,"data-precedence":i},l),(l=vr.get(E))&&sg(a,l);var Q=A=d.createElement("link");bn(Q),Nn(Q,"link",a),Q._p=new Promise(function(he,Ce){Q.onload=he,Q.onerror=Ce}),Q.addEventListener("load",function(){F.loading|=1}),Q.addEventListener("error",function(){F.loading|=2}),F.loading|=4,$c(A,i,d)}A={type:"stylesheet",instance:A,count:1,state:F},b.set(E,A)}}}function $3(a,i){Na.X(a,i);var l=Vo;if(l&&a){var d=mo(l).hoistableScripts,b=qo(a),E=d.get(b);E||(E=l.querySelector(Al(b)),E||(a=h({src:a,async:!0},i),(i=vr.get(b))&&lg(a,i),E=l.createElement("script"),bn(E),Nn(E,"link",a),l.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},d.set(b,E))}}function G3(a,i){Na.M(a,i);var l=Vo;if(l&&a){var d=mo(l).hoistableScripts,b=qo(a),E=d.get(b);E||(E=l.querySelector(Al(b)),E||(a=h({src:a,async:!0,type:"module"},i),(i=vr.get(b))&&lg(a,i),E=l.createElement("script"),bn(E),Nn(E,"link",a),l.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},d.set(b,E))}}function _A(a,i,l,d){var b=(b=q.current)?zc(b):null;if(!b)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(i=Yo(l.href),l=mo(b).hoistableStyles,d=l.get(i),d||(d={type:"style",instance:null,count:0,state:null},l.set(i,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){a=Yo(l.href);var E=mo(b).hoistableStyles,A=E.get(a);if(A||(b=b.ownerDocument||b,A={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},E.set(a,A),(E=b.querySelector(xl(a)))&&!E._p&&(A.instance=E,A.state.loading=5),vr.has(a)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},vr.set(a,l),E||V3(b,a,l,A.state))),i&&d===null)throw Error(r(528,""));return A}if(i&&d!==null)throw Error(r(529,""));return null;case"script":return i=l.async,l=l.src,typeof l=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=qo(l),l=mo(b).hoistableScripts,d=l.get(i),d||(d={type:"script",instance:null,count:0,state:null},l.set(i,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Yo(a){return'href="'+mr(a)+'"'}function xl(a){return'link[rel="stylesheet"]['+a+"]"}function RA(a){return h({},a,{"data-precedence":a.precedence,precedence:null})}function V3(a,i,l,d){a.querySelector('link[rel="preload"][as="style"]['+i+"]")?d.loading=1:(i=a.createElement("link"),d.preload=i,i.addEventListener("load",function(){return d.loading|=1}),i.addEventListener("error",function(){return d.loading|=2}),Nn(i,"link",l),bn(i),a.head.appendChild(i))}function qo(a){return'[src="'+mr(a)+'"]'}function Al(a){return"script[async]"+a}function kA(a,i,l){if(i.count++,i.instance===null)switch(i.type){case"style":var d=a.querySelector('style[data-href~="'+mr(l.href)+'"]');if(d)return i.instance=d,bn(d),d;var b=h({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return d=(a.ownerDocument||a).createElement("style"),bn(d),Nn(d,"style",b),$c(d,l.precedence,a),i.instance=d;case"stylesheet":b=Yo(l.href);var E=a.querySelector(xl(b));if(E)return i.state.loading|=4,i.instance=E,bn(E),E;d=RA(l),(b=vr.get(b))&&sg(d,b),E=(a.ownerDocument||a).createElement("link"),bn(E);var A=E;return A._p=new Promise(function(F,Q){A.onload=F,A.onerror=Q}),Nn(E,"link",d),i.state.loading|=4,$c(E,l.precedence,a),i.instance=E;case"script":return E=qo(l.src),(b=a.querySelector(Al(E)))?(i.instance=b,bn(b),b):(d=l,(b=vr.get(E))&&(d=h({},l),lg(d,b)),a=a.ownerDocument||a,b=a.createElement("script"),bn(b),Nn(b,"link",d),a.head.appendChild(b),i.instance=b);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(d=i.instance,i.state.loading|=4,$c(d,l.precedence,a));return i.instance}function $c(a,i,l){for(var d=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),b=d.length?d[d.length-1]:null,E=b,A=0;A<d.length;A++){var F=d[A];if(F.dataset.precedence===i)E=F;else if(E!==b)break}E?E.parentNode.insertBefore(a,E.nextSibling):(i=l.nodeType===9?l.head:l,i.insertBefore(a,i.firstChild))}function sg(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.title==null&&(a.title=i.title)}function lg(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.integrity==null&&(a.integrity=i.integrity)}var Gc=null;function DA(a,i,l){if(Gc===null){var d=new Map,b=Gc=new Map;b.set(l,d)}else b=Gc,d=b.get(l),d||(d=new Map,b.set(l,d));if(d.has(a))return d;for(d.set(a,null),l=l.getElementsByTagName(a),b=0;b<l.length;b++){var E=l[b];if(!(E[js]||E[Zt]||a==="link"&&E.getAttribute("rel")==="stylesheet")&&E.namespaceURI!=="http://www.w3.org/2000/svg"){var A=E.getAttribute(i)||"";A=a+A;var F=d.get(A);F?F.push(E):d.set(A,[E])}}return d}function IA(a,i,l){a=a.ownerDocument||a,a.head.insertBefore(l,i==="title"?a.querySelector("head > title"):null)}function Y3(a,i,l){if(l===1||i.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(a=i.disabled,typeof i.precedence=="string"&&a==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function OA(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function q3(a,i,l,d){if(l.type==="stylesheet"&&(typeof d.media!="string"||matchMedia(d.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var b=Yo(d.href),E=i.querySelector(xl(b));if(E){i=E._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(a.count++,a=Vc.bind(a),i.then(a,a)),l.state.loading|=4,l.instance=E,bn(E);return}E=i.ownerDocument||i,d=RA(d),(b=vr.get(b))&&sg(d,b),E=E.createElement("link"),bn(E);var A=E;A._p=new Promise(function(F,Q){A.onload=F,A.onerror=Q}),Nn(E,"link",d),l.instance=E}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(l,i),(i=l.state.preload)&&(l.state.loading&3)===0&&(a.count++,l=Vc.bind(a),i.addEventListener("load",l),i.addEventListener("error",l))}}var ug=0;function W3(a,i){return a.stylesheets&&a.count===0&&qc(a,a.stylesheets),0<a.count||0<a.imgCount?function(l){var d=setTimeout(function(){if(a.stylesheets&&qc(a,a.stylesheets),a.unsuspend){var E=a.unsuspend;a.unsuspend=null,E()}},6e4+i);0<a.imgBytes&&ug===0&&(ug=62500*_3());var b=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&qc(a,a.stylesheets),a.unsuspend)){var E=a.unsuspend;a.unsuspend=null,E()}},(a.imgBytes>ug?50:800)+i);return a.unsuspend=l,function(){a.unsuspend=null,clearTimeout(d),clearTimeout(b)}}:null}function Vc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qc(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var Yc=null;function qc(a,i){a.stylesheets=null,a.unsuspend!==null&&(a.count++,Yc=new Map,i.forEach(X3,a),Yc=null,Vc.call(a))}function X3(a,i){if(!(i.state.loading&4)){var l=Yc.get(a);if(l)var d=l.get(null);else{l=new Map,Yc.set(a,l);for(var b=a.querySelectorAll("link[data-precedence],style[data-precedence]"),E=0;E<b.length;E++){var A=b[E];(A.nodeName==="LINK"||A.getAttribute("media")!=="not all")&&(l.set(A.dataset.precedence,A),d=A)}d&&l.set(null,d)}b=i.instance,A=b.getAttribute("data-precedence"),E=l.get(A)||d,E===d&&l.set(null,b),l.set(A,b),this.count++,d=Vc.bind(this),b.addEventListener("load",d),b.addEventListener("error",d),E?E.parentNode.insertBefore(b,E.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(b,a.firstChild)),i.state.loading|=4}}var Cl={$$typeof:D,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function K3(a,i,l,d,b,E,A,F,Q){this.tag=1,this.containerInfo=a,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=Xt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xt(0),this.hiddenUpdates=Xt(null),this.identifierPrefix=d,this.onUncaughtError=b,this.onCaughtError=E,this.onRecoverableError=A,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Q,this.incompleteTransitions=new Map}function LA(a,i,l,d,b,E,A,F,Q,he,Ce,ke){return a=new K3(a,i,l,A,Q,he,Ce,ke,F),i=1,E===!0&&(i|=24),E=er(3,null,null,i),a.current=E,E.stateNode=a,i=zp(),i.refCount++,a.pooledCache=i,i.refCount++,E.memoizedState={element:d,isDehydrated:l,cache:i},Yp(E),a}function MA(a){return a?(a=Ao,a):Ao}function FA(a,i,l,d,b,E){b=MA(b),d.context===null?d.context=b:d.pendingContext=b,d=Ha(i),d.payload={element:l},E=E===void 0?null:E,E!==null&&(d.callback=E),l=za(a,d,i),l!==null&&(Wn(l,a,i),rl(l,a,i))}function BA(a,i){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var l=a.retryLane;a.retryLane=l!==0&&l<i?l:i}}function cg(a,i){BA(a,i),(a=a.alternate)&&BA(a,i)}function UA(a){if(a.tag===13||a.tag===31){var i=Ci(a,67108864);i!==null&&Wn(i,a,67108864),cg(a,67108864)}}function PA(a){if(a.tag===13||a.tag===31){var i=ir();i=Si(i);var l=Ci(a,i);l!==null&&Wn(l,a,i),cg(a,i)}}var Wc=!0;function Z3(a,i,l,d){var b=W.T;W.T=null;var E=re.p;try{re.p=2,dg(a,i,l,d)}finally{re.p=E,W.T=b}}function Q3(a,i,l,d){var b=W.T;W.T=null;var E=re.p;try{re.p=8,dg(a,i,l,d)}finally{re.p=E,W.T=b}}function dg(a,i,l,d){if(Wc){var b=fg(d);if(b===null)Zm(a,i,d,Xc,l),HA(a,d);else if(eL(b,a,i,l,d))d.stopPropagation();else if(HA(a,d),i&4&&-1<J3.indexOf(a)){for(;b!==null;){var E=po(b);if(E!==null)switch(E.tag){case 3:if(E=E.stateNode,E.current.memoizedState.isDehydrated){var A=tt(E.pendingLanes);if(A!==0){var F=E;for(F.pendingLanes|=2,F.entangledLanes|=2;A;){var Q=1<<31-be(A);F.entanglements[1]|=Q,A&=~Q}Vr(E),(Dt&6)===0&&(Dc=we()+500,yl(0))}}break;case 31:case 13:F=Ci(E,2),F!==null&&Wn(F,E,2),Oc(),cg(E,2)}if(E=fg(d),E===null&&Zm(a,i,d,Xc,l),E===b)break;b=E}b!==null&&d.stopPropagation()}else Zm(a,i,d,null,l)}}function fg(a){return a=mp(a),pg(a)}var Xc=null;function pg(a){if(Xc=null,a=fo(a),a!==null){var i=s(a);if(i===null)a=null;else{var l=i.tag;if(l===13){if(a=u(i),a!==null)return a;a=null}else if(l===31){if(a=c(i),a!==null)return a;a=null}else if(l===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;a=null}else i!==a&&(a=null)}}return Xc=a,null}function jA(a){switch(a){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(st()){case k:return 2;case U:return 8;case K:case le:return 32;case Ne:return 268435456;default:return 32}default:return 32}}var mg=!1,Ja=null,ei=null,ti=null,wl=new Map,Nl=new Map,ni=[],J3="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 HA(a,i){switch(a){case"focusin":case"focusout":Ja=null;break;case"dragenter":case"dragleave":ei=null;break;case"mouseover":case"mouseout":ti=null;break;case"pointerover":case"pointerout":wl.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nl.delete(i.pointerId)}}function _l(a,i,l,d,b,E){return a===null||a.nativeEvent!==E?(a={blockedOn:i,domEventName:l,eventSystemFlags:d,nativeEvent:E,targetContainers:[b]},i!==null&&(i=po(i),i!==null&&UA(i)),a):(a.eventSystemFlags|=d,i=a.targetContainers,b!==null&&i.indexOf(b)===-1&&i.push(b),a)}function eL(a,i,l,d,b){switch(i){case"focusin":return Ja=_l(Ja,a,i,l,d,b),!0;case"dragenter":return ei=_l(ei,a,i,l,d,b),!0;case"mouseover":return ti=_l(ti,a,i,l,d,b),!0;case"pointerover":var E=b.pointerId;return wl.set(E,_l(wl.get(E)||null,a,i,l,d,b)),!0;case"gotpointercapture":return E=b.pointerId,Nl.set(E,_l(Nl.get(E)||null,a,i,l,d,b)),!0}return!1}function zA(a){var i=fo(a.target);if(i!==null){var l=s(i);if(l!==null){if(i=l.tag,i===13){if(i=u(l),i!==null){a.blockedOn=i,co(a.priority,function(){PA(l)});return}}else if(i===31){if(i=c(l),i!==null){a.blockedOn=i,co(a.priority,function(){PA(l)});return}}else if(i===3&&l.stateNode.current.memoizedState.isDehydrated){a.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Kc(a){if(a.blockedOn!==null)return!1;for(var i=a.targetContainers;0<i.length;){var l=fg(a.nativeEvent);if(l===null){l=a.nativeEvent;var d=new l.constructor(l.type,l);pp=d,l.target.dispatchEvent(d),pp=null}else return i=po(l),i!==null&&UA(i),a.blockedOn=l,!1;i.shift()}return!0}function $A(a,i,l){Kc(a)&&l.delete(i)}function tL(){mg=!1,Ja!==null&&Kc(Ja)&&(Ja=null),ei!==null&&Kc(ei)&&(ei=null),ti!==null&&Kc(ti)&&(ti=null),wl.forEach($A),Nl.forEach($A)}function Zc(a,i){a.blockedOn===i&&(a.blockedOn=null,mg||(mg=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,tL)))}var Qc=null;function GA(a){Qc!==a&&(Qc=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Qc===a&&(Qc=null);for(var i=0;i<a.length;i+=3){var l=a[i],d=a[i+1],b=a[i+2];if(typeof d!="function"){if(pg(d||l)===null)continue;break}var E=po(l);E!==null&&(a.splice(i,3),i-=3,fm(E,{pending:!0,data:b,method:l.method,action:d},d,b))}}))}function Wo(a){function i(Q){return Zc(Q,a)}Ja!==null&&Zc(Ja,a),ei!==null&&Zc(ei,a),ti!==null&&Zc(ti,a),wl.forEach(i),Nl.forEach(i);for(var l=0;l<ni.length;l++){var d=ni[l];d.blockedOn===a&&(d.blockedOn=null)}for(;0<ni.length&&(l=ni[0],l.blockedOn===null);)zA(l),l.blockedOn===null&&ni.shift();if(l=(a.ownerDocument||a).$$reactFormReplay,l!=null)for(d=0;d<l.length;d+=3){var b=l[d],E=l[d+1],A=b[Qt]||null;if(typeof E=="function")A||GA(l);else if(A){var F=null;if(E&&E.hasAttribute("formAction")){if(b=E,A=E[Qt]||null)F=A.formAction;else if(pg(b)!==null)continue}else F=A.action;typeof F=="function"?l[d+1]=F:(l.splice(d,3),d-=3),GA(l)}}}function VA(){function a(E){E.canIntercept&&E.info==="react-transition"&&E.intercept({handler:function(){return new Promise(function(A){return b=A})},focusReset:"manual",scroll:"manual"})}function i(){b!==null&&(b(),b=null),d||setTimeout(l,20)}function l(){if(!d&&!navigation.transition){var E=navigation.currentEntry;E&&E.url!=null&&navigation.navigate(E.url,{state:E.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var d=!1,b=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(l,100),function(){d=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),b!==null&&(b(),b=null)}}}function gg(a){this._internalRoot=a}Jc.prototype.render=gg.prototype.render=function(a){var i=this._internalRoot;if(i===null)throw Error(r(409));var l=i.current,d=ir();FA(l,d,a,i,null,null)},Jc.prototype.unmount=gg.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var i=a.containerInfo;FA(a.current,2,null,a,null,null),Oc(),i[Hr]=null}};function Jc(a){this._internalRoot=a}Jc.prototype.unstable_scheduleHydration=function(a){if(a){var i=jr();a={blockedOn:null,target:a,priority:i};for(var l=0;l<ni.length&&i!==0&&i<ni[l].priority;l++);ni.splice(l,0,a),l===0&&zA(a)}};var YA=t.version;if(YA!=="19.2.3")throw Error(r(527,YA,"19.2.3"));re.findDOMNode=function(a){var i=a._reactInternals;if(i===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=f(i),a=a!==null?g(a):null,a=a===null?null:a.stateNode,a};var nL={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ed=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ed.isDisabled&&ed.supportsFiber)try{De=ed.inject(nL),Re=ed}catch{}}return kl.createRoot=function(a,i){if(!o(a))throw Error(r(299));var l=!1,d="",b=Jv,E=ex,A=tx;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(d=i.identifierPrefix),i.onUncaughtError!==void 0&&(b=i.onUncaughtError),i.onCaughtError!==void 0&&(E=i.onCaughtError),i.onRecoverableError!==void 0&&(A=i.onRecoverableError)),i=LA(a,1,!1,null,null,l,d,null,b,E,A,VA),a[Hr]=i.current,Km(a),new gg(i)},kl.hydrateRoot=function(a,i,l){if(!o(a))throw Error(r(299));var d=!1,b="",E=Jv,A=ex,F=tx,Q=null;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(b=l.identifierPrefix),l.onUncaughtError!==void 0&&(E=l.onUncaughtError),l.onCaughtError!==void 0&&(A=l.onCaughtError),l.onRecoverableError!==void 0&&(F=l.onRecoverableError),l.formState!==void 0&&(Q=l.formState)),i=LA(a,1,!0,i,l??null,d,b,Q,E,A,F,VA),i.context=MA(null),l=i.current,d=ir(),d=Si(d),b=Ha(d),b.callback=null,za(l,b,d),l=d,i.current.lanes=l,Kt(i,l),Vr(i),a[Hr]=i.current,Km(a),new Jc(i)},kl.version="19.2.3",kl}var nC;function fL(){if(nC)return Eg.exports;nC=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(),Eg.exports=dL(),Eg.exports}var pL=fL();const xr="",rC="";function mL(e){return{...e,timestamp:new Date(e.timestamp)}}function gL(e){return{...e,timestamp:new Date(e.timestamp)}}function zl(e){return{...e,status:e.status,priority:e.priority,createdAt:new Date(e.createdAt),updatedAt:new Date(e.updatedAt),timeEntries:e.timeEntries.map(t=>({...t,startedAt:new Date(t.startedAt),endedAt:t.endedAt?new Date(t.endedAt):void 0}))}}const ka={async getTasks(){const e=await fetch(`${xr}/api/tasks`);if(!e.ok)throw new Error("Failed to fetch tasks");return(await e.json()).map(zl)},async getTask(e){const t=await fetch(`${xr}/api/tasks/${e}`);if(!t.ok)throw new Error(`Failed to fetch task ${e}`);const n=await t.json();return zl(n)},async updateTask(e,t){const n=await fetch(`${xr}/api/tasks/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!n.ok){const o=await n.text();throw new Error(`Failed to update task ${e}: ${o}`)}const r=await n.json();return zl(r)},async createTask(e){const t=await fetch(`${xr}/api/tasks`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw new Error("Failed to create task");const n=await t.json();return zl(n)},async getTaskHistory(e){const t=await fetch(`${xr}/api/tasks/${e}/history`);if(!t.ok)throw new Error(`Failed to fetch history for task ${e}`);return(await t.json()).versions.map(mL)},async getActivities(e){const t=new URLSearchParams;e?.limit&&t.set("limit",e.limit.toString()),e?.type&&t.set("type",e.type);const n=await fetch(`${xr}/api/activities?${t.toString()}`);if(!n.ok)throw new Error("Failed to fetch activities");return(await n.json()).activities.map(gL)}},{createTask:hL,updateTask:Td,getTask:bL}=ka;async function Yi(){const e=await fetch(`${xr}/api/config`);if(!e.ok)throw new Error("Failed to fetch config");return(await e.json()).config||{}}async function d2(e){if(!(await fetch(`${xr}/api/config`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)throw new Error("Failed to save config")}async function EL(){const e=await fetch(`${xr}/api/docs`);if(!e.ok)throw new Error("Failed to fetch docs");return(await e.json()).docs||[]}async function yL(e){const t=await fetch(`${xr}/api/docs/${encodeURIComponent(e)}`);if(!t.ok){if(t.status===404)return null;throw new Error(`Failed to fetch doc ${e}`)}return t.json()}async function SL(e){const t=await fetch(`${xr}/api/docs`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw new Error("Failed to create doc");return t.json()}async function TL(e,t){const n=await fetch(`${xr}/api/docs/${encodeURIComponent(e)}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!n.ok){const r=await n.json().catch(()=>({error:"Failed to update doc"}));throw new Error(r.error||"Failed to update doc")}return n.json()}function cf(e){try{const t=rC?`${rC}/ws`:`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`,n=new WebSocket(t);return n.onmessage=r=>{try{const o=JSON.parse(r.data),s={...o,task:o.task?zl(o.task):void 0};e(s)}catch(o){console.error("Failed to parse WebSocket message:",o)}},n.onerror=r=>{console.error("WebSocket error:",r)},n.onclose=()=>{console.log("WebSocket connection closed")},n}catch(t){return console.error("Failed to create WebSocket connection:",t),null}}const vL=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xL=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),aC=e=>{const t=xL(e);return t.charAt(0).toUpperCase()+t.slice(1)},f2=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),AL=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var CL={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const wL=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:u,...c},p)=>v.createElement("svg",{ref:p,...CL,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:f2("lucide",o),...!s&&!AL(c)&&{"aria-hidden":"true"},...c},[...u.map(([f,g])=>v.createElement(f,g)),...Array.isArray(s)?s:[s]]));const ct=(e,t)=>{const n=v.forwardRef(({className:r,...o},s)=>v.createElement(wL,{ref:s,iconNode:t,className:f2(`lucide-${vL(aC(e))}`,`lucide-${e}`,r),...o}));return n.displayName=aC(e),n};const NL=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],iC=ct("activity",NL);const _L=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],RL=ct("archive",_L);const kL=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],p2=ct("arrow-up",kL);const DL=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],IL=ct("bell",DL);const OL=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ld=ct("check",OL);const LL=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],m2=ct("chevron-down",LL);const ML=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],g2=ct("chevron-right",ML);const FL=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],BL=ct("chevrons-up-down",FL);const UL=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],ab=ct("clipboard-check",UL);const PL=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],h2=ct("clipboard-list",PL);const jL=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],HL=ct("clock",jL);const zL=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],$L=ct("code",zL);const GL=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],VL=ct("columns-2",GL);const YL=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],qL=ct("copy",YL);const WL=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],XL=ct("eye-off",WL);const KL=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],ZL=ct("eye",KL);const QL=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],fi=ct("file-text",QL);const JL=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],e6=ct("folder-open",JL);const t6=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],oC=ct("folder",t6);const n6=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],ib=ct("funnel",n6);const r6=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],sC=ct("hand",r6);const a6=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],i6=ct("history",a6);const o6=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],s6=ct("layout-dashboard",o6);const l6=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["rect",{x:"3",y:"4",width:"6",height:"6",rx:"1",key:"cif1o7"}]],b2=ct("list-todo",l6);const u6=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],c6=ct("moon",u6);const d6=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],f6=ct("panel-left",d6);const p6=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],m6=ct("pause",p6);const g6=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],E2=ct("pencil",g6);const h6=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],lC=ct("play",h6);const b6=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Da=ct("plus",b6);const E6=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],y6=ct("rectangle-ellipsis",E6);const S6=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],T6=ct("refresh-cw",S6);const v6=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],x6=ct("rotate-ccw",v6);const A6=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],y2=ct("search",A6);const C6=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],S2=ct("settings",C6);const w6=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],N6=ct("square",w6);const _6=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],R6=ct("sun",_6);const k6=[["path",{d:"M3 5h18",key:"1u36vt"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 19h18",key:"awlh7x"}]],D6=ct("text-align-justify",k6);const I6=[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]],T2=ct("text-align-start",I6);const O6=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Md=ct("trash-2",O6);const L6=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]],M6=ct("user-x",L6);const F6=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],uC=ct("user",F6);const B6=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Eu=ct("x",B6);function cC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Jr(...e){return t=>{let n=!1;const r=e.map(o=>{const s=cC(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():cC(e[o],null)}}}}function pn(...e){return v.useCallback(Jr(...e),e)}var U6=Symbol.for("react.lazy"),Fd=rb[" use ".trim().toString()];function P6(e){return typeof e=="object"&&e!==null&&"then"in e}function v2(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===U6&&"_payload"in e&&P6(e._payload)}function x2(e){const t=j6(e),n=v.forwardRef((r,o)=>{let{children:s,...u}=r;v2(s)&&typeof Fd=="function"&&(s=Fd(s._payload));const c=v.Children.toArray(s),p=c.find(z6);if(p){const f=p.props.children,g=c.map(h=>h===p?v.Children.count(f)>1?v.Children.only(null):v.isValidElement(f)?f.props.children:null:h);return m.jsx(t,{...u,ref:o,children:v.isValidElement(f)?v.cloneElement(f,void 0,g):null})}return m.jsx(t,{...u,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var Ss=x2("Slot");function j6(e){const t=v.forwardRef((n,r)=>{let{children:o,...s}=n;if(v2(o)&&typeof Fd=="function"&&(o=Fd(o._payload)),v.isValidElement(o)){const u=G6(o),c=$6(s,o.props);return o.type!==v.Fragment&&(c.ref=r?Jr(r,u):u),v.cloneElement(o,c)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var H6=Symbol("radix.slottable");function z6(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===H6}function $6(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...c)=>{const p=s(...c);return o(...c),p}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function G6(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function A2(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=A2(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function C2(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=A2(e))&&(r&&(r+=" "),r+=t);return r}const dC=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,fC=C2,ob=(e,t)=>n=>{var r;if(t?.variants==null)return fC(e,n?.class,n?.className);const{variants:o,defaultVariants:s}=t,u=Object.keys(o).map(f=>{const g=n?.[f],h=s?.[f];if(g===null)return null;const y=dC(g)||dC(h);return o[f][y]}),c=n&&Object.entries(n).reduce((f,g)=>{let[h,y]=g;return y===void 0||(f[h]=y),f},{}),p=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,g)=>{let{class:h,className:y,...T}=g;return Object.entries(T).every(x=>{let[C,w]=x;return Array.isArray(w)?w.includes({...s,...c}[C]):{...s,...c}[C]===w})?[...f,h,y]:f},[]);return fC(e,u,p,n?.class,n?.className)},vg=768;function w2(){const[e,t]=v.useState(void 0);return v.useEffect(()=>{const n=window.matchMedia(`(max-width: ${vg-1}px)`),r=()=>{t(window.innerWidth<vg)};return n.addEventListener("change",r),t(window.innerWidth<vg),()=>n.removeEventListener("change",r)},[]),!!e}const V6=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Y6=(e,t)=>({classGroupId:e,validator:t}),N2=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Bd="-",pC=[],q6="arbitrary..",W6=e=>{const t=K6(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return X6(u);const c=u.split(Bd),p=c[0]===""&&c.length>1?1:0;return _2(c,p,t)},getConflictingClassGroupIds:(u,c)=>{if(c){const p=r[u],f=n[u];return p?f?V6(f,p):p:f||pC}return n[u]||pC}}},_2=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const f=_2(e,t+1,s);if(f)return f}const u=n.validators;if(u===null)return;const c=t===0?e.join(Bd):e.slice(t).join(Bd),p=u.length;for(let f=0;f<p;f++){const g=u[f];if(g.validator(c))return g.classGroupId}},X6=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?q6+r:void 0})(),K6=e=>{const{theme:t,classGroups:n}=e;return Z6(n,t)},Z6=(e,t)=>{const n=N2();for(const r in e){const o=e[r];sb(o,n,r,t)}return n},sb=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const u=e[s];Q6(u,t,n,r)}},Q6=(e,t,n,r)=>{if(typeof e=="string"){J6(e,t,n);return}if(typeof e=="function"){e4(e,t,n,r);return}t4(e,t,n,r)},J6=(e,t,n)=>{const r=e===""?t:R2(t,e);r.classGroupId=n},e4=(e,t,n,r)=>{if(n4(e)){sb(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Y6(n,e))},t4=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let u=0;u<s;u++){const[c,p]=o[u];sb(p,R2(t,c),n,r)}},R2=(e,t)=>{let n=e;const r=t.split(Bd),o=r.length;for(let s=0;s<o;s++){const u=r[s];let c=n.nextPart.get(u);c||(c=N2(),n.nextPart.set(u,c)),n=c}return n},n4=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,r4=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,u)=>{n[s]=u,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let u=n[s];if(u!==void 0)return u;if((u=r[s])!==void 0)return o(s,u),u},set(s,u){s in n?n[s]=u:o(s,u)}}},Th="!",mC=":",a4=[],gC=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),i4=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let u=0,c=0,p=0,f;const g=o.length;for(let C=0;C<g;C++){const w=o[C];if(u===0&&c===0){if(w===mC){s.push(o.slice(p,C)),p=C+1;continue}if(w==="/"){f=C;continue}}w==="["?u++:w==="]"?u--:w==="("?c++:w===")"&&c--}const h=s.length===0?o:o.slice(p);let y=h,T=!1;h.endsWith(Th)?(y=h.slice(0,-1),T=!0):h.startsWith(Th)&&(y=h.slice(1),T=!0);const x=f&&f>p?f-p:void 0;return gC(s,T,y,x)};if(t){const o=t+mC,s=r;r=u=>u.startsWith(o)?s(u.slice(o.length)):gC(a4,!1,u,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},o4=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const u=n[s],c=u[0]==="[",p=t.has(u);c||p?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(u)):o.push(u)}return o.length>0&&(o.sort(),r.push(...o)),r}},s4=e=>({cache:r4(e.cacheSize),parseClassName:i4(e),sortModifiers:o4(e),...W6(e)}),l4=/\s+/,u4=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,u=[],c=e.trim().split(l4);let p="";for(let f=c.length-1;f>=0;f-=1){const g=c[f],{isExternal:h,modifiers:y,hasImportantModifier:T,baseClassName:x,maybePostfixModifierPosition:C}=n(g);if(h){p=g+(p.length>0?" "+p:p);continue}let w=!!C,N=r(w?x.substring(0,C):x);if(!N){if(!w){p=g+(p.length>0?" "+p:p);continue}if(N=r(x),!N){p=g+(p.length>0?" "+p:p);continue}w=!1}const R=y.length===0?"":y.length===1?y[0]:s(y).join(":"),D=T?R+Th:R,L=D+N;if(u.indexOf(L)>-1)continue;u.push(L);const O=o(N,w);for(let I=0;I<O.length;++I){const B=O[I];u.push(D+B)}p=g+(p.length>0?" "+p:p)}return p},c4=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=k2(n))&&(o&&(o+=" "),o+=r);return o},k2=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=k2(e[r]))&&(n&&(n+=" "),n+=t);return n},d4=(e,...t)=>{let n,r,o,s;const u=p=>{const f=t.reduce((g,h)=>h(g),e());return n=s4(f),r=n.cache.get,o=n.cache.set,s=c,c(p)},c=p=>{const f=r(p);if(f)return f;const g=u4(p,n);return o(p,g),g};return s=u,(...p)=>s(c4(...p))},f4=[],gn=e=>{const t=n=>n[e]||f4;return t.isThemeGetter=!0,t},D2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,I2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,p4=/^\d+\/\d+$/,m4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g4=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,h4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,b4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,E4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xo=e=>p4.test(e),gt=e=>!!e&&!Number.isNaN(Number(e)),ai=e=>!!e&&Number.isInteger(Number(e)),xg=e=>e.endsWith("%")&>(e.slice(0,-1)),_a=e=>m4.test(e),y4=()=>!0,S4=e=>g4.test(e)&&!h4.test(e),O2=()=>!1,T4=e=>b4.test(e),v4=e=>E4.test(e),x4=e=>!Ye(e)&&!qe(e),A4=e=>Ts(e,F2,O2),Ye=e=>D2.test(e),Ui=e=>Ts(e,B2,S4),Ag=e=>Ts(e,R4,gt),hC=e=>Ts(e,L2,O2),C4=e=>Ts(e,M2,v4),td=e=>Ts(e,U2,T4),qe=e=>I2.test(e),Dl=e=>vs(e,B2),w4=e=>vs(e,k4),bC=e=>vs(e,L2),N4=e=>vs(e,F2),_4=e=>vs(e,M2),nd=e=>vs(e,U2,!0),Ts=(e,t,n)=>{const r=D2.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},vs=(e,t,n=!1)=>{const r=I2.exec(e);return r?r[1]?t(r[1]):n:!1},L2=e=>e==="position"||e==="percentage",M2=e=>e==="image"||e==="url",F2=e=>e==="length"||e==="size"||e==="bg-size",B2=e=>e==="length",R4=e=>e==="number",k4=e=>e==="family-name",U2=e=>e==="shadow",D4=()=>{const e=gn("color"),t=gn("font"),n=gn("text"),r=gn("font-weight"),o=gn("tracking"),s=gn("leading"),u=gn("breakpoint"),c=gn("container"),p=gn("spacing"),f=gn("radius"),g=gn("shadow"),h=gn("inset-shadow"),y=gn("text-shadow"),T=gn("drop-shadow"),x=gn("blur"),C=gn("perspective"),w=gn("aspect"),N=gn("ease"),R=gn("animate"),D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...L(),qe,Ye],I=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],j=()=>[qe,Ye,p],G=()=>[Xo,"full","auto",...j()],z=()=>[ai,"none","subgrid",qe,Ye],ee=()=>["auto",{span:["full",ai,qe,Ye]},ai,qe,Ye],X=()=>[ai,"auto",qe,Ye],oe=()=>["auto","min","max","fr",qe,Ye],ue=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ie=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...j()],re=()=>[Xo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],J=()=>[e,qe,Ye],ae=()=>[...L(),bC,hC,{position:[qe,Ye]}],P=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",N4,A4,{size:[qe,Ye]}],H=()=>[xg,Dl,Ui],_=()=>["","none","full",f,qe,Ye],ne=()=>["",gt,Dl,Ui],se=()=>["solid","dashed","dotted","double"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ee=()=>[gt,xg,bC,hC],de=()=>["","none",x,qe,Ye],Te=()=>["none",gt,qe,Ye],ze=()=>["none",gt,qe,Ye],Qe=()=>[gt,qe,Ye],pe=()=>[Xo,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[_a],breakpoint:[_a],color:[y4],container:[_a],"drop-shadow":[_a],ease:["in","out","in-out"],font:[x4],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[_a],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[_a],shadow:[_a],spacing:["px",gt],text:[_a],"text-shadow":[_a],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Xo,Ye,qe,w]}],container:["container"],columns:[{columns:[gt,Ye,qe,c]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{start:G()}],end:[{end:G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[ai,"auto",qe,Ye]}],basis:[{basis:[Xo,"full","auto",c,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[gt,Xo,"auto","initial","none",Ye]}],grow:[{grow:["",gt,qe,Ye]}],shrink:[{shrink:["",gt,qe,Ye]}],order:[{order:[ai,"first","last","none",qe,Ye]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...ue(),"normal"]}],"justify-items":[{"justify-items":[...ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...ie()]}],"align-content":[{content:["normal",...ue()]}],"align-items":[{items:[...ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":ue()}],"place-items":[{"place-items":[...ie(),"baseline"]}],"place-self":[{"place-self":["auto",...ie()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:re()}],w:[{w:[c,"screen",...re()]}],"min-w":[{"min-w":[c,"screen","none",...re()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[u]},...re()]}],h:[{h:["screen","lh",...re()]}],"min-h":[{"min-h":["screen","lh","none",...re()]}],"max-h":[{"max-h":["screen","lh",...re()]}],"font-size":[{text:["base",n,Dl,Ui]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,qe,Ag]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xg,Ye]}],"font-family":[{font:[w4,Ye,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,qe,Ye]}],"line-clamp":[{"line-clamp":[gt,"none",qe,Ag]}],leading:[{leading:[s,...j()]}],"list-image":[{"list-image":["none",qe,Ye]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qe,Ye]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:J()}],"text-color":[{text:J()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:[gt,"from-font","auto",qe,Ui]}],"text-decoration-color":[{decoration:J()}],"underline-offset":[{"underline-offset":[gt,"auto",qe,Ye]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qe,Ye]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qe,Ye]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:P()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ai,qe,Ye],radial:["",qe,Ye],conic:[ai,qe,Ye]},_4,C4]}],"bg-color":[{bg:J()}],"gradient-from-pos":[{from:H()}],"gradient-via-pos":[{via:H()}],"gradient-to-pos":[{to:H()}],"gradient-from":[{from:J()}],"gradient-via":[{via:J()}],"gradient-to":[{to:J()}],rounded:[{rounded:_()}],"rounded-s":[{"rounded-s":_()}],"rounded-e":[{"rounded-e":_()}],"rounded-t":[{"rounded-t":_()}],"rounded-r":[{"rounded-r":_()}],"rounded-b":[{"rounded-b":_()}],"rounded-l":[{"rounded-l":_()}],"rounded-ss":[{"rounded-ss":_()}],"rounded-se":[{"rounded-se":_()}],"rounded-ee":[{"rounded-ee":_()}],"rounded-es":[{"rounded-es":_()}],"rounded-tl":[{"rounded-tl":_()}],"rounded-tr":[{"rounded-tr":_()}],"rounded-br":[{"rounded-br":_()}],"rounded-bl":[{"rounded-bl":_()}],"border-w":[{border:ne()}],"border-w-x":[{"border-x":ne()}],"border-w-y":[{"border-y":ne()}],"border-w-s":[{"border-s":ne()}],"border-w-e":[{"border-e":ne()}],"border-w-t":[{"border-t":ne()}],"border-w-r":[{"border-r":ne()}],"border-w-b":[{"border-b":ne()}],"border-w-l":[{"border-l":ne()}],"divide-x":[{"divide-x":ne()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ne()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...se(),"hidden","none"]}],"divide-style":[{divide:[...se(),"hidden","none"]}],"border-color":[{border:J()}],"border-color-x":[{"border-x":J()}],"border-color-y":[{"border-y":J()}],"border-color-s":[{"border-s":J()}],"border-color-e":[{"border-e":J()}],"border-color-t":[{"border-t":J()}],"border-color-r":[{"border-r":J()}],"border-color-b":[{"border-b":J()}],"border-color-l":[{"border-l":J()}],"divide-color":[{divide:J()}],"outline-style":[{outline:[...se(),"none","hidden"]}],"outline-offset":[{"outline-offset":[gt,qe,Ye]}],"outline-w":[{outline:["",gt,Dl,Ui]}],"outline-color":[{outline:J()}],shadow:[{shadow:["","none",g,nd,td]}],"shadow-color":[{shadow:J()}],"inset-shadow":[{"inset-shadow":["none",h,nd,td]}],"inset-shadow-color":[{"inset-shadow":J()}],"ring-w":[{ring:ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:J()}],"ring-offset-w":[{"ring-offset":[gt,Ui]}],"ring-offset-color":[{"ring-offset":J()}],"inset-ring-w":[{"inset-ring":ne()}],"inset-ring-color":[{"inset-ring":J()}],"text-shadow":[{"text-shadow":["none",y,nd,td]}],"text-shadow-color":[{"text-shadow":J()}],opacity:[{opacity:[gt,qe,Ye]}],"mix-blend":[{"mix-blend":[...q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":q()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[gt]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ee()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ee()}],"mask-image-linear-from-color":[{"mask-linear-from":J()}],"mask-image-linear-to-color":[{"mask-linear-to":J()}],"mask-image-t-from-pos":[{"mask-t-from":Ee()}],"mask-image-t-to-pos":[{"mask-t-to":Ee()}],"mask-image-t-from-color":[{"mask-t-from":J()}],"mask-image-t-to-color":[{"mask-t-to":J()}],"mask-image-r-from-pos":[{"mask-r-from":Ee()}],"mask-image-r-to-pos":[{"mask-r-to":Ee()}],"mask-image-r-from-color":[{"mask-r-from":J()}],"mask-image-r-to-color":[{"mask-r-to":J()}],"mask-image-b-from-pos":[{"mask-b-from":Ee()}],"mask-image-b-to-pos":[{"mask-b-to":Ee()}],"mask-image-b-from-color":[{"mask-b-from":J()}],"mask-image-b-to-color":[{"mask-b-to":J()}],"mask-image-l-from-pos":[{"mask-l-from":Ee()}],"mask-image-l-to-pos":[{"mask-l-to":Ee()}],"mask-image-l-from-color":[{"mask-l-from":J()}],"mask-image-l-to-color":[{"mask-l-to":J()}],"mask-image-x-from-pos":[{"mask-x-from":Ee()}],"mask-image-x-to-pos":[{"mask-x-to":Ee()}],"mask-image-x-from-color":[{"mask-x-from":J()}],"mask-image-x-to-color":[{"mask-x-to":J()}],"mask-image-y-from-pos":[{"mask-y-from":Ee()}],"mask-image-y-to-pos":[{"mask-y-to":Ee()}],"mask-image-y-from-color":[{"mask-y-from":J()}],"mask-image-y-to-color":[{"mask-y-to":J()}],"mask-image-radial":[{"mask-radial":[qe,Ye]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ee()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ee()}],"mask-image-radial-from-color":[{"mask-radial-from":J()}],"mask-image-radial-to-color":[{"mask-radial-to":J()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":L()}],"mask-image-conic-pos":[{"mask-conic":[gt]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ee()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ee()}],"mask-image-conic-from-color":[{"mask-conic-from":J()}],"mask-image-conic-to-color":[{"mask-conic-to":J()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:P()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qe,Ye]}],filter:[{filter:["","none",qe,Ye]}],blur:[{blur:de()}],brightness:[{brightness:[gt,qe,Ye]}],contrast:[{contrast:[gt,qe,Ye]}],"drop-shadow":[{"drop-shadow":["","none",T,nd,td]}],"drop-shadow-color":[{"drop-shadow":J()}],grayscale:[{grayscale:["",gt,qe,Ye]}],"hue-rotate":[{"hue-rotate":[gt,qe,Ye]}],invert:[{invert:["",gt,qe,Ye]}],saturate:[{saturate:[gt,qe,Ye]}],sepia:[{sepia:["",gt,qe,Ye]}],"backdrop-filter":[{"backdrop-filter":["","none",qe,Ye]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[gt,qe,Ye]}],"backdrop-contrast":[{"backdrop-contrast":[gt,qe,Ye]}],"backdrop-grayscale":[{"backdrop-grayscale":["",gt,qe,Ye]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[gt,qe,Ye]}],"backdrop-invert":[{"backdrop-invert":["",gt,qe,Ye]}],"backdrop-opacity":[{"backdrop-opacity":[gt,qe,Ye]}],"backdrop-saturate":[{"backdrop-saturate":[gt,qe,Ye]}],"backdrop-sepia":[{"backdrop-sepia":["",gt,qe,Ye]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qe,Ye]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[gt,"initial",qe,Ye]}],ease:[{ease:["linear","initial",N,qe,Ye]}],delay:[{delay:[gt,qe,Ye]}],animate:[{animate:["none",R,qe,Ye]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,qe,Ye]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:Te()}],"rotate-x":[{"rotate-x":Te()}],"rotate-y":[{"rotate-y":Te()}],"rotate-z":[{"rotate-z":Te()}],scale:[{scale:ze()}],"scale-x":[{"scale-x":ze()}],"scale-y":[{"scale-y":ze()}],"scale-z":[{"scale-z":ze()}],"scale-3d":["scale-3d"],skew:[{skew:Qe()}],"skew-x":[{"skew-x":Qe()}],"skew-y":[{"skew-y":Qe()}],transform:[{transform:[qe,Ye,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":["translate-none"],accent:[{accent:J()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:J()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qe,Ye]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qe,Ye]}],fill:[{fill:["none",...J()]}],"stroke-w":[{stroke:[gt,Dl,Ui,Ag]}],stroke:[{stroke:["none",...J()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},I4=d4(D4);function it(...e){return I4(C2(e))}const O4=ob("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background text-foreground shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"text-foreground hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ea=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const u=r?Ss:"button";return m.jsx(u,{className:it(O4({variant:t,size:n,className:e})),ref:s,...o})});ea.displayName="Button";const P2=v.forwardRef(({className:e,type:t,...n},r)=>m.jsx("input",{type:t,className:it("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));P2.displayName="Input";var lb=c2();const L4=Ji(lb);var M4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],F4=M4.reduce((e,t)=>{const n=x2(`Primitive.${t}`),r=v.forwardRef((o,s)=>{const{asChild:u,...c}=o,p=u?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(p,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),B4="Separator",EC="horizontal",U4=["horizontal","vertical"],j2=v.forwardRef((e,t)=>{const{decorative:n,orientation:r=EC,...o}=e,s=P4(r)?r:EC,c=n?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return m.jsx(F4.div,{"data-orientation":s,...c,...o,ref:t})});j2.displayName=B4;function P4(e){return U4.includes(e)}var H2=j2;const ub=v.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>m.jsx(H2,{ref:o,decorative:n,orientation:t,className:it("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));ub.displayName=H2.displayName;function Pt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function j4(e,t){const n=v.createContext(t),r=s=>{const{children:u,...c}=s,p=v.useMemo(()=>c,Object.values(c));return m.jsx(n.Provider,{value:p,children:u})};r.displayName=e+"Provider";function o(s){const u=v.useContext(n);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function xs(e,t=[]){let n=[];function r(s,u){const c=v.createContext(u),p=n.length;n=[...n,u];const f=h=>{const{scope:y,children:T,...x}=h,C=y?.[e]?.[p]||c,w=v.useMemo(()=>x,Object.values(x));return m.jsx(C.Provider,{value:w,children:T})};f.displayName=s+"Provider";function g(h,y){const T=y?.[e]?.[p]||c,x=v.useContext(T);if(x)return x;if(u!==void 0)return u;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[f,g]}const o=()=>{const s=n.map(u=>v.createContext(u));return function(c){const p=c?.[e]||s;return v.useMemo(()=>({[`__scope${e}`]:{...c,[e]:p}}),[c,p])}};return o.scopeName=e,[r,H4(o,...t)]}function H4(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const u=r.reduce((c,{useScope:p,scopeName:f})=>{const h=p(s)[`__scope${f}`];return{...c,...h}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}var ta=globalThis?.document?v.useLayoutEffect:()=>{},z4=rb[" useId ".trim().toString()]||(()=>{}),$4=0;function wr(e){const[t,n]=v.useState(z4());return ta(()=>{n(r=>r??String($4++))},[e]),e||(t?`radix-${t}`:"")}var G4=rb[" useInsertionEffect ".trim().toString()]||ta;function df({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,u]=V4({defaultProp:t,onChange:n}),c=e!==void 0,p=c?e:o;{const g=v.useRef(e!==void 0);v.useEffect(()=>{const h=g.current;h!==c&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=c},[c,r])}const f=v.useCallback(g=>{if(c){const h=Y4(g)?g(e):g;h!==e&&u.current?.(h)}else s(g)},[c,e,s,u]);return[p,f]}function V4({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),o=v.useRef(n),s=v.useRef(t);return G4(()=>{s.current=t},[t]),v.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}function Y4(e){return typeof e=="function"}function q4(e){const t=W4(e),n=v.forwardRef((r,o)=>{const{children:s,...u}=r,c=v.Children.toArray(s),p=c.find(K4);if(p){const f=p.props.children,g=c.map(h=>h===p?v.Children.count(f)>1?v.Children.only(null):v.isValidElement(f)?f.props.children:null:h);return m.jsx(t,{...u,ref:o,children:v.isValidElement(f)?v.cloneElement(f,void 0,g):null})}return m.jsx(t,{...u,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function W4(e){const t=v.forwardRef((n,r)=>{const{children:o,...s}=n;if(v.isValidElement(o)){const u=Q4(o),c=Z4(s,o.props);return o.type!==v.Fragment&&(c.ref=r?Jr(r,u):u),v.cloneElement(o,c)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var X4=Symbol("radix.slottable");function K4(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===X4}function Z4(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...c)=>{const p=s(...c);return o(...c),p}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Q4(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var J4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],kt=J4.reduce((e,t)=>{const n=q4(`Primitive.${t}`),r=v.forwardRef((o,s)=>{const{asChild:u,...c}=o,p=u?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(p,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function eM(e,t){e&&lb.flushSync(()=>e.dispatchEvent(t))}function ur(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>t.current?.(...n),[])}function tM(e,t=globalThis?.document){const n=ur(e);v.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var nM="DismissableLayer",vh="dismissableLayer.update",rM="dismissableLayer.pointerDownOutside",aM="dismissableLayer.focusOutside",yC,z2=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ff=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:u,onDismiss:c,...p}=e,f=v.useContext(z2),[g,h]=v.useState(null),y=g?.ownerDocument??globalThis?.document,[,T]=v.useState({}),x=pn(t,B=>h(B)),C=Array.from(f.layers),[w]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),N=C.indexOf(w),R=g?C.indexOf(g):-1,D=f.layersWithOutsidePointerEventsDisabled.size>0,L=R>=N,O=sM(B=>{const j=B.target,G=[...f.branches].some(z=>z.contains(j));!L||G||(o?.(B),u?.(B),B.defaultPrevented||c?.())},y),I=lM(B=>{const j=B.target;[...f.branches].some(z=>z.contains(j))||(s?.(B),u?.(B),B.defaultPrevented||c?.())},y);return tM(B=>{R===f.layers.size-1&&(r?.(B),!B.defaultPrevented&&c&&(B.preventDefault(),c()))},y),v.useEffect(()=>{if(g)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(yC=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),SC(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=yC)}},[g,y,n,f]),v.useEffect(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),SC())},[g,f]),v.useEffect(()=>{const B=()=>T({});return document.addEventListener(vh,B),()=>document.removeEventListener(vh,B)},[]),m.jsx(kt.div,{...p,ref:x,style:{pointerEvents:D?L?"auto":"none":void 0,...e.style},onFocusCapture:Pt(e.onFocusCapture,I.onFocusCapture),onBlurCapture:Pt(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:Pt(e.onPointerDownCapture,O.onPointerDownCapture)})});ff.displayName=nM;var iM="DismissableLayerBranch",oM=v.forwardRef((e,t)=>{const n=v.useContext(z2),r=v.useRef(null),o=pn(t,r);return v.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),m.jsx(kt.div,{...e,ref:o})});oM.displayName=iM;function sM(e,t=globalThis?.document){const n=ur(e),r=v.useRef(!1),o=v.useRef(()=>{});return v.useEffect(()=>{const s=c=>{if(c.target&&!r.current){let p=function(){$2(rM,n,f,{discrete:!0})};const f={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=p,t.addEventListener("click",o.current,{once:!0})):p()}else t.removeEventListener("click",o.current);r.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function lM(e,t=globalThis?.document){const n=ur(e),r=v.useRef(!1);return v.useEffect(()=>{const o=s=>{s.target&&!r.current&&$2(aM,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function SC(){const e=new CustomEvent(vh);document.dispatchEvent(e)}function $2(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?eM(o,s):o.dispatchEvent(s)}var Cg="focusScope.autoFocusOnMount",wg="focusScope.autoFocusOnUnmount",TC={bubbles:!1,cancelable:!0},uM="FocusScope",cb=v.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...u}=e,[c,p]=v.useState(null),f=ur(o),g=ur(s),h=v.useRef(null),y=pn(t,C=>p(C)),T=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(r){let C=function(D){if(T.paused||!c)return;const L=D.target;c.contains(L)?h.current=L:si(h.current,{select:!0})},w=function(D){if(T.paused||!c)return;const L=D.relatedTarget;L!==null&&(c.contains(L)||si(h.current,{select:!0}))},N=function(D){if(document.activeElement===document.body)for(const O of D)O.removedNodes.length>0&&si(c)};document.addEventListener("focusin",C),document.addEventListener("focusout",w);const R=new MutationObserver(N);return c&&R.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",w),R.disconnect()}}},[r,c,T.paused]),v.useEffect(()=>{if(c){xC.add(T);const C=document.activeElement;if(!c.contains(C)){const N=new CustomEvent(Cg,TC);c.addEventListener(Cg,f),c.dispatchEvent(N),N.defaultPrevented||(cM(gM(G2(c)),{select:!0}),document.activeElement===C&&si(c))}return()=>{c.removeEventListener(Cg,f),setTimeout(()=>{const N=new CustomEvent(wg,TC);c.addEventListener(wg,g),c.dispatchEvent(N),N.defaultPrevented||si(C??document.body,{select:!0}),c.removeEventListener(wg,g),xC.remove(T)},0)}}},[c,f,g,T]);const x=v.useCallback(C=>{if(!n&&!r||T.paused)return;const w=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,N=document.activeElement;if(w&&N){const R=C.currentTarget,[D,L]=dM(R);D&&L?!C.shiftKey&&N===L?(C.preventDefault(),n&&si(D,{select:!0})):C.shiftKey&&N===D&&(C.preventDefault(),n&&si(L,{select:!0})):N===R&&C.preventDefault()}},[n,r,T.paused]);return m.jsx(kt.div,{tabIndex:-1,...u,ref:y,onKeyDown:x})});cb.displayName=uM;function cM(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(si(r,{select:t}),document.activeElement!==n)return}function dM(e){const t=G2(e),n=vC(t,e),r=vC(t.reverse(),e);return[n,r]}function G2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vC(e,t){for(const n of e)if(!fM(n,{upTo:t}))return n}function fM(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function pM(e){return e instanceof HTMLInputElement&&"select"in e}function si(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&pM(e)&&t&&e.select()}}var xC=mM();function mM(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=AC(e,t),e.unshift(t)},remove(t){e=AC(e,t),e[0]?.resume()}}}function AC(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function gM(e){return e.filter(t=>t.tagName!=="A")}var hM="Portal",pf=v.forwardRef((e,t)=>{const{container:n,...r}=e,[o,s]=v.useState(!1);ta(()=>s(!0),[]);const u=n||o&&globalThis?.document?.body;return u?L4.createPortal(m.jsx(kt.div,{...r,ref:t}),u):null});pf.displayName=hM;function bM(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var fr=e=>{const{present:t,children:n}=e,r=EM(t),o=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),s=pn(r.ref,yM(o));return typeof n=="function"||r.isPresent?v.cloneElement(o,{ref:s}):null};fr.displayName="Presence";function EM(e){const[t,n]=v.useState(),r=v.useRef(null),o=v.useRef(e),s=v.useRef("none"),u=e?"mounted":"unmounted",[c,p]=bM(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const f=rd(r.current);s.current=c==="mounted"?f:"none"},[c]),ta(()=>{const f=r.current,g=o.current;if(g!==e){const y=s.current,T=rd(f);e?p("MOUNT"):T==="none"||f?.display==="none"?p("UNMOUNT"):p(g&&y!==T?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,p]),ta(()=>{if(t){let f;const g=t.ownerDocument.defaultView??window,h=T=>{const C=rd(r.current).includes(CSS.escape(T.animationName));if(T.target===t&&C&&(p("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",f=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},y=T=>{T.target===t&&(s.current=rd(r.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{g.clearTimeout(f),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:v.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function rd(e){return e?.animationName||"none"}function yM(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ng=0;function V2(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??CC()),document.body.insertAdjacentElement("beforeend",e[1]??CC()),Ng++,()=>{Ng===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ng--}},[])}function CC(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xr=function(){return Xr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Xr.apply(this,arguments)};function Y2(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function SM(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var vd="right-scroll-bar-position",xd="width-before-scroll-bar",TM="with-scroll-bars-hidden",vM="--removed-body-scroll-bar-size";function _g(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function xM(e,t){var n=v.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var AM=typeof window<"u"?v.useLayoutEffect:v.useEffect,wC=new WeakMap;function CM(e,t){var n=xM(null,function(r){return e.forEach(function(o){return _g(o,r)})});return AM(function(){var r=wC.get(n);if(r){var o=new Set(r),s=new Set(e),u=n.current;o.forEach(function(c){s.has(c)||_g(c,null)}),s.forEach(function(c){o.has(c)||_g(c,u)})}wC.set(n,e)},[e]),n}function wM(e){return e}function NM(e,t){t===void 0&&(t=wM);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var u=t(s,r);return n.push(u),function(){n=n.filter(function(c){return c!==u})}},assignSyncMedium:function(s){for(r=!0;n.length;){var u=n;n=[],u.forEach(s)}n={push:function(c){return s(c)},filter:function(){return n}}},assignMedium:function(s){r=!0;var u=[];if(n.length){var c=n;n=[],c.forEach(s),u=n}var p=function(){var g=u;u=[],g.forEach(s)},f=function(){return Promise.resolve().then(p)};f(),n={push:function(g){u.push(g),f()},filter:function(g){return u=u.filter(g),n}}}};return o}function _M(e){e===void 0&&(e={});var t=NM(null);return t.options=Xr({async:!0,ssr:!1},e),t}var q2=function(e){var t=e.sideCar,n=Y2(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return v.createElement(r,Xr({},n))};q2.isSideCarExport=!0;function RM(e,t){return e.useMedium(t),q2}var W2=_M(),Rg=function(){},mf=v.forwardRef(function(e,t){var n=v.useRef(null),r=v.useState({onScrollCapture:Rg,onWheelCapture:Rg,onTouchMoveCapture:Rg}),o=r[0],s=r[1],u=e.forwardProps,c=e.children,p=e.className,f=e.removeScrollBar,g=e.enabled,h=e.shards,y=e.sideCar,T=e.noRelative,x=e.noIsolation,C=e.inert,w=e.allowPinchZoom,N=e.as,R=N===void 0?"div":N,D=e.gapMode,L=Y2(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=y,I=CM([n,t]),B=Xr(Xr({},L),o);return v.createElement(v.Fragment,null,g&&v.createElement(O,{sideCar:W2,removeScrollBar:f,shards:h,noRelative:T,noIsolation:x,inert:C,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:D}),u?v.cloneElement(v.Children.only(c),Xr(Xr({},B),{ref:I})):v.createElement(R,Xr({},B,{className:p,ref:I}),c))});mf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};mf.classNames={fullWidth:xd,zeroRight:vd};var kM=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function DM(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kM();return t&&e.setAttribute("nonce",t),e}function IM(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function OM(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var LM=function(){var e=0,t=null;return{add:function(n){e==0&&(t=DM())&&(IM(t,n),OM(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},MM=function(){var e=LM();return function(t,n){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},X2=function(){var e=MM(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},FM={left:0,top:0,right:0,gap:0},kg=function(e){return parseInt(e||"",10)||0},BM=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[kg(n),kg(r),kg(o)]},UM=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return FM;var t=BM(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},PM=X2(),os="data-scroll-locked",jM=function(e,t,n,r){var o=e.left,s=e.top,u=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
10
|
-
.`.concat(TM,` {
|
|
11
|
-
overflow: hidden `).concat(r,`;
|
|
12
|
-
padding-right: `).concat(c,"px ").concat(r,`;
|
|
13
|
-
}
|
|
14
|
-
body[`).concat(os,`] {
|
|
15
|
-
overflow: hidden `).concat(r,`;
|
|
16
|
-
overscroll-behavior: contain;
|
|
17
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
18
|
-
padding-left: `.concat(o,`px;
|
|
19
|
-
padding-top: `).concat(s,`px;
|
|
20
|
-
padding-right: `).concat(u,`px;
|
|
21
|
-
margin-left:0;
|
|
22
|
-
margin-top:0;
|
|
23
|
-
margin-right: `).concat(c,"px ").concat(r,`;
|
|
24
|
-
`),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.`).concat(vd,` {
|
|
28
|
-
right: `).concat(c,"px ").concat(r,`;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.`).concat(xd,` {
|
|
32
|
-
margin-right: `).concat(c,"px ").concat(r,`;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.`).concat(vd," .").concat(vd,` {
|
|
36
|
-
right: 0 `).concat(r,`;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.`).concat(xd," .").concat(xd,` {
|
|
40
|
-
margin-right: 0 `).concat(r,`;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
body[`).concat(os,`] {
|
|
44
|
-
`).concat(vM,": ").concat(c,`px;
|
|
45
|
-
}
|
|
46
|
-
`)},NC=function(){var e=parseInt(document.body.getAttribute(os)||"0",10);return isFinite(e)?e:0},HM=function(){v.useEffect(function(){return document.body.setAttribute(os,(NC()+1).toString()),function(){var e=NC()-1;e<=0?document.body.removeAttribute(os):document.body.setAttribute(os,e.toString())}},[])},zM=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;HM();var s=v.useMemo(function(){return UM(o)},[o]);return v.createElement(PM,{styles:jM(s,!t,o,n?"":"!important")})},xh=!1;if(typeof window<"u")try{var ad=Object.defineProperty({},"passive",{get:function(){return xh=!0,!0}});window.addEventListener("test",ad,ad),window.removeEventListener("test",ad,ad)}catch{xh=!1}var Ko=xh?{passive:!1}:!1,$M=function(e){return e.tagName==="TEXTAREA"},K2=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!$M(e)&&n[t]==="visible")},GM=function(e){return K2(e,"overflowY")},VM=function(e){return K2(e,"overflowX")},_C=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Z2(e,r);if(o){var s=Q2(e,r),u=s[1],c=s[2];if(u>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},YM=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},qM=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Z2=function(e,t){return e==="v"?GM(t):VM(t)},Q2=function(e,t){return e==="v"?YM(t):qM(t)},WM=function(e,t){return e==="h"&&t==="rtl"?-1:1},XM=function(e,t,n,r,o){var s=WM(e,window.getComputedStyle(t).direction),u=s*r,c=n.target,p=t.contains(c),f=!1,g=u>0,h=0,y=0;do{if(!c)break;var T=Q2(e,c),x=T[0],C=T[1],w=T[2],N=C-w-s*x;(x||N)&&Z2(e,c)&&(h+=N,y+=x);var R=c.parentNode;c=R&&R.nodeType===Node.DOCUMENT_FRAGMENT_NODE?R.host:R}while(!p&&c!==document.body||p&&(t.contains(c)||t===c));return(g&&Math.abs(h)<1||!g&&Math.abs(y)<1)&&(f=!0),f},id=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},RC=function(e){return[e.deltaX,e.deltaY]},kC=function(e){return e&&"current"in e?e.current:e},KM=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ZM=function(e){return`
|
|
47
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
48
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
49
|
-
`)},QM=0,Zo=[];function JM(e){var t=v.useRef([]),n=v.useRef([0,0]),r=v.useRef(),o=v.useState(QM++)[0],s=v.useState(X2)[0],u=v.useRef(e);v.useEffect(function(){u.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var C=SM([e.lockRef.current],(e.shards||[]).map(kC),!0).filter(Boolean);return C.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),C.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=v.useCallback(function(C,w){if("touches"in C&&C.touches.length===2||C.type==="wheel"&&C.ctrlKey)return!u.current.allowPinchZoom;var N=id(C),R=n.current,D="deltaX"in C?C.deltaX:R[0]-N[0],L="deltaY"in C?C.deltaY:R[1]-N[1],O,I=C.target,B=Math.abs(D)>Math.abs(L)?"h":"v";if("touches"in C&&B==="h"&&I.type==="range")return!1;var j=window.getSelection(),G=j&&j.anchorNode,z=G?G===I||G.contains(I):!1;if(z)return!1;var ee=_C(B,I);if(!ee)return!0;if(ee?O=B:(O=B==="v"?"h":"v",ee=_C(B,I)),!ee)return!1;if(!r.current&&"changedTouches"in C&&(D||L)&&(r.current=O),!O)return!0;var X=r.current||O;return XM(X,w,C,X==="h"?D:L)},[]),p=v.useCallback(function(C){var w=C;if(!(!Zo.length||Zo[Zo.length-1]!==s)){var N="deltaY"in w?RC(w):id(w),R=t.current.filter(function(O){return O.name===w.type&&(O.target===w.target||w.target===O.shadowParent)&&KM(O.delta,N)})[0];if(R&&R.should){w.cancelable&&w.preventDefault();return}if(!R){var D=(u.current.shards||[]).map(kC).filter(Boolean).filter(function(O){return O.contains(w.target)}),L=D.length>0?c(w,D[0]):!u.current.noIsolation;L&&w.cancelable&&w.preventDefault()}}},[]),f=v.useCallback(function(C,w,N,R){var D={name:C,delta:w,target:N,should:R,shadowParent:e5(N)};t.current.push(D),setTimeout(function(){t.current=t.current.filter(function(L){return L!==D})},1)},[]),g=v.useCallback(function(C){n.current=id(C),r.current=void 0},[]),h=v.useCallback(function(C){f(C.type,RC(C),C.target,c(C,e.lockRef.current))},[]),y=v.useCallback(function(C){f(C.type,id(C),C.target,c(C,e.lockRef.current))},[]);v.useEffect(function(){return Zo.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:y}),document.addEventListener("wheel",p,Ko),document.addEventListener("touchmove",p,Ko),document.addEventListener("touchstart",g,Ko),function(){Zo=Zo.filter(function(C){return C!==s}),document.removeEventListener("wheel",p,Ko),document.removeEventListener("touchmove",p,Ko),document.removeEventListener("touchstart",g,Ko)}},[]);var T=e.removeScrollBar,x=e.inert;return v.createElement(v.Fragment,null,x?v.createElement(s,{styles:ZM(o)}):null,T?v.createElement(zM,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function e5(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const t5=RM(W2,JM);var db=v.forwardRef(function(e,t){return v.createElement(mf,Xr({},e,{ref:t,sideCar:t5}))});db.classNames=mf.classNames;var n5=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Qo=new WeakMap,od=new WeakMap,sd={},Dg=0,J2=function(e){return e&&(e.host||J2(e.parentNode))},r5=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=J2(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},a5=function(e,t,n,r){var o=r5(t,Array.isArray(e)?e:[e]);sd[n]||(sd[n]=new WeakMap);var s=sd[n],u=[],c=new Set,p=new Set(o),f=function(h){!h||c.has(h)||(c.add(h),f(h.parentNode))};o.forEach(f);var g=function(h){!h||p.has(h)||Array.prototype.forEach.call(h.children,function(y){if(c.has(y))g(y);else try{var T=y.getAttribute(r),x=T!==null&&T!=="false",C=(Qo.get(y)||0)+1,w=(s.get(y)||0)+1;Qo.set(y,C),s.set(y,w),u.push(y),C===1&&x&&od.set(y,!0),w===1&&y.setAttribute(n,"true"),x||y.setAttribute(r,"true")}catch(N){console.error("aria-hidden: cannot operate on ",y,N)}})};return g(t),c.clear(),Dg++,function(){u.forEach(function(h){var y=Qo.get(h)-1,T=s.get(h)-1;Qo.set(h,y),s.set(h,T),y||(od.has(h)||h.removeAttribute(r),od.delete(h)),T||h.removeAttribute(n)}),Dg--,Dg||(Qo=new WeakMap,Qo=new WeakMap,od=new WeakMap,sd={})}},e_=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=n5(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),a5(r,o,n,"aria-hidden")):function(){return null}};function i5(e){const t=o5(e),n=v.forwardRef((r,o)=>{const{children:s,...u}=r,c=v.Children.toArray(s),p=c.find(l5);if(p){const f=p.props.children,g=c.map(h=>h===p?v.Children.count(f)>1?v.Children.only(null):v.isValidElement(f)?f.props.children:null:h);return m.jsx(t,{...u,ref:o,children:v.isValidElement(f)?v.cloneElement(f,void 0,g):null})}return m.jsx(t,{...u,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function o5(e){const t=v.forwardRef((n,r)=>{const{children:o,...s}=n;if(v.isValidElement(o)){const u=c5(o),c=u5(s,o.props);return o.type!==v.Fragment&&(c.ref=r?Jr(r,u):u),v.cloneElement(o,c)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var s5=Symbol("radix.slottable");function l5(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===s5}function u5(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...c)=>{const p=s(...c);return o(...c),p}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function c5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var gf="Dialog",[t_]=xs(gf),[d5,Fr]=t_(gf),n_=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:u=!0}=e,c=v.useRef(null),p=v.useRef(null),[f,g]=df({prop:r,defaultProp:o??!1,onChange:s,caller:gf});return m.jsx(d5,{scope:t,triggerRef:c,contentRef:p,contentId:wr(),titleId:wr(),descriptionId:wr(),open:f,onOpenChange:g,onOpenToggle:v.useCallback(()=>g(h=>!h),[g]),modal:u,children:n})};n_.displayName=gf;var r_="DialogTrigger",f5=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Fr(r_,n),s=pn(t,o.triggerRef);return m.jsx(kt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":mb(o.open),...r,ref:s,onClick:Pt(e.onClick,o.onOpenToggle)})});f5.displayName=r_;var fb="DialogPortal",[p5,a_]=t_(fb,{forceMount:void 0}),i_=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,s=Fr(fb,t);return m.jsx(p5,{scope:t,forceMount:n,children:v.Children.map(r,u=>m.jsx(fr,{present:n||s.open,children:m.jsx(pf,{asChild:!0,container:o,children:u})}))})};i_.displayName=fb;var Ud="DialogOverlay",o_=v.forwardRef((e,t)=>{const n=a_(Ud,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Fr(Ud,e.__scopeDialog);return s.modal?m.jsx(fr,{present:r||s.open,children:m.jsx(g5,{...o,ref:t})}):null});o_.displayName=Ud;var m5=i5("DialogOverlay.RemoveScroll"),g5=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Fr(Ud,n);return m.jsx(db,{as:m5,allowPinchZoom:!0,shards:[o.contentRef],children:m.jsx(kt.div,{"data-state":mb(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),qi="DialogContent",s_=v.forwardRef((e,t)=>{const n=a_(qi,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,s=Fr(qi,e.__scopeDialog);return m.jsx(fr,{present:r||s.open,children:s.modal?m.jsx(h5,{...o,ref:t}):m.jsx(b5,{...o,ref:t})})});s_.displayName=qi;var h5=v.forwardRef((e,t)=>{const n=Fr(qi,e.__scopeDialog),r=v.useRef(null),o=pn(t,n.contentRef,r);return v.useEffect(()=>{const s=r.current;if(s)return e_(s)},[]),m.jsx(l_,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Pt(e.onCloseAutoFocus,s=>{s.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Pt(e.onPointerDownOutside,s=>{const u=s.detail.originalEvent,c=u.button===0&&u.ctrlKey===!0;(u.button===2||c)&&s.preventDefault()}),onFocusOutside:Pt(e.onFocusOutside,s=>s.preventDefault())})}),b5=v.forwardRef((e,t)=>{const n=Fr(qi,e.__scopeDialog),r=v.useRef(!1),o=v.useRef(!1);return m.jsx(l_,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=s.target;n.triggerRef.current?.contains(u)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),l_=v.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...u}=e,c=Fr(qi,n),p=v.useRef(null),f=pn(t,p);return V2(),m.jsxs(m.Fragment,{children:[m.jsx(cb,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:m.jsx(ff,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":mb(c.open),...u,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),m.jsxs(m.Fragment,{children:[m.jsx(E5,{titleId:c.titleId}),m.jsx(S5,{contentRef:p,descriptionId:c.descriptionId})]})]})}),pb="DialogTitle",u_=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Fr(pb,n);return m.jsx(kt.h2,{id:o.titleId,...r,ref:t})});u_.displayName=pb;var c_="DialogDescription",d_=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Fr(c_,n);return m.jsx(kt.p,{id:o.descriptionId,...r,ref:t})});d_.displayName=c_;var f_="DialogClose",p_=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Fr(f_,n);return m.jsx(kt.button,{type:"button",...r,ref:t,onClick:Pt(e.onClick,()=>o.onOpenChange(!1))})});p_.displayName=f_;function mb(e){return e?"open":"closed"}var m_="DialogTitleWarning",[QZ,g_]=j4(m_,{contentName:qi,titleName:pb,docsSlug:"dialog"}),E5=({titleId:e})=>{const t=g_(m_),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
50
|
-
|
|
51
|
-
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
52
|
-
|
|
53
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return v.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},y5="DialogDescriptionWarning",S5=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${g_(y5).contentName}}.`;return v.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},gb=n_,hb=i_,yu=o_,Su=s_,hf=u_,bf=d_,h_=p_;const T5=gb,v5=hb,b_=v.forwardRef(({className:e,...t},n)=>m.jsx(yu,{className:it("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));b_.displayName=yu.displayName;const x5=ob("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),E_=v.forwardRef(({side:e="right",className:t,children:n,...r},o)=>m.jsxs(v5,{children:[m.jsx(b_,{}),m.jsxs(Su,{ref:o,className:it(x5({side:e}),t),...r,children:[m.jsxs(h_,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[m.jsx(Eu,{className:"h-4 w-4"}),m.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));E_.displayName=Su.displayName;const y_=({className:e,...t})=>m.jsx("div",{className:it("flex flex-col space-y-2 text-center sm:text-left",e),...t});y_.displayName="SheetHeader";const S_=v.forwardRef(({className:e,...t},n)=>m.jsx(hf,{ref:n,className:it("text-lg font-semibold text-foreground",e),...t}));S_.displayName=hf.displayName;const T_=v.forwardRef(({className:e,...t},n)=>m.jsx(bf,{ref:n,className:it("text-sm text-muted-foreground",e),...t}));T_.displayName=bf.displayName;function DC({className:e,...t}){return m.jsx("div",{className:it("animate-pulse rounded-md bg-primary/10",e),...t})}const A5=["top","right","bottom","left"],pi=Math.min,lr=Math.max,Pd=Math.round,ld=Math.floor,Qr=e=>({x:e,y:e}),C5={left:"right",right:"left",bottom:"top",top:"bottom"},w5={start:"end",end:"start"};function Ah(e,t,n){return lr(e,pi(t,n))}function Ia(e,t){return typeof e=="function"?e(t):e}function Oa(e){return e.split("-")[0]}function As(e){return e.split("-")[1]}function bb(e){return e==="x"?"y":"x"}function Eb(e){return e==="y"?"height":"width"}const N5=new Set(["top","bottom"]);function Kr(e){return N5.has(Oa(e))?"y":"x"}function yb(e){return bb(Kr(e))}function _5(e,t,n){n===void 0&&(n=!1);const r=As(e),o=yb(e),s=Eb(o);let u=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(u=jd(u)),[u,jd(u)]}function R5(e){const t=jd(e);return[Ch(e),t,Ch(t)]}function Ch(e){return e.replace(/start|end/g,t=>w5[t])}const IC=["left","right"],OC=["right","left"],k5=["top","bottom"],D5=["bottom","top"];function I5(e,t,n){switch(e){case"top":case"bottom":return n?t?OC:IC:t?IC:OC;case"left":case"right":return t?k5:D5;default:return[]}}function O5(e,t,n,r){const o=As(e);let s=I5(Oa(e),n==="start",r);return o&&(s=s.map(u=>u+"-"+o),t&&(s=s.concat(s.map(Ch)))),s}function jd(e){return e.replace(/left|right|bottom|top/g,t=>C5[t])}function L5(e){return{top:0,right:0,bottom:0,left:0,...e}}function v_(e){return typeof e!="number"?L5(e):{top:e,right:e,bottom:e,left:e}}function Hd(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function LC(e,t,n){let{reference:r,floating:o}=e;const s=Kr(t),u=yb(t),c=Eb(u),p=Oa(t),f=s==="y",g=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,y=r[c]/2-o[c]/2;let T;switch(p){case"top":T={x:g,y:r.y-o.height};break;case"bottom":T={x:g,y:r.y+r.height};break;case"right":T={x:r.x+r.width,y:h};break;case"left":T={x:r.x-o.width,y:h};break;default:T={x:r.x,y:r.y}}switch(As(t)){case"start":T[u]-=y*(n&&f?-1:1);break;case"end":T[u]+=y*(n&&f?-1:1);break}return T}const M5=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:u}=n,c=s.filter(Boolean),p=await(u.isRTL==null?void 0:u.isRTL(t));let f=await u.getElementRects({reference:e,floating:t,strategy:o}),{x:g,y:h}=LC(f,r,p),y=r,T={},x=0;for(let C=0;C<c.length;C++){const{name:w,fn:N}=c[C],{x:R,y:D,data:L,reset:O}=await N({x:g,y:h,initialPlacement:r,placement:y,strategy:o,middlewareData:T,rects:f,platform:u,elements:{reference:e,floating:t}});g=R??g,h=D??h,T={...T,[w]:{...T[w],...L}},O&&x<=50&&(x++,typeof O=="object"&&(O.placement&&(y=O.placement),O.rects&&(f=O.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:o}):O.rects),{x:g,y:h}=LC(f,y,p)),C=-1)}return{x:g,y:h,placement:y,strategy:o,middlewareData:T}};async function iu(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:u,elements:c,strategy:p}=e,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:h="floating",altBoundary:y=!1,padding:T=0}=Ia(t,e),x=v_(T),w=c[y?h==="floating"?"reference":"floating":h],N=Hd(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:g,strategy:p})),R=h==="floating"?{x:r,y:o,width:u.floating.width,height:u.floating.height}:u.reference,D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),L=await(s.isElement==null?void 0:s.isElement(D))?await(s.getScale==null?void 0:s.getScale(D))||{x:1,y:1}:{x:1,y:1},O=Hd(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:R,offsetParent:D,strategy:p}):R);return{top:(N.top-O.top+x.top)/L.y,bottom:(O.bottom-N.bottom+x.bottom)/L.y,left:(N.left-O.left+x.left)/L.x,right:(O.right-N.right+x.right)/L.x}}const F5=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:u,elements:c,middlewareData:p}=t,{element:f,padding:g=0}=Ia(e,t)||{};if(f==null)return{};const h=v_(g),y={x:n,y:r},T=yb(o),x=Eb(T),C=await u.getDimensions(f),w=T==="y",N=w?"top":"left",R=w?"bottom":"right",D=w?"clientHeight":"clientWidth",L=s.reference[x]+s.reference[T]-y[T]-s.floating[x],O=y[T]-s.reference[T],I=await(u.getOffsetParent==null?void 0:u.getOffsetParent(f));let B=I?I[D]:0;(!B||!await(u.isElement==null?void 0:u.isElement(I)))&&(B=c.floating[D]||s.floating[x]);const j=L/2-O/2,G=B/2-C[x]/2-1,z=pi(h[N],G),ee=pi(h[R],G),X=z,oe=B-C[x]-ee,ue=B/2-C[x]/2+j,ie=Ah(X,ue,oe),W=!p.arrow&&As(o)!=null&&ue!==ie&&s.reference[x]/2-(ue<X?z:ee)-C[x]/2<0,re=W?ue<X?ue-X:ue-oe:0;return{[T]:y[T]+re,data:{[T]:ie,centerOffset:ue-ie-re,...W&&{alignmentOffset:re}},reset:W}}}),B5=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:u,initialPlacement:c,platform:p,elements:f}=t,{mainAxis:g=!0,crossAxis:h=!0,fallbackPlacements:y,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:C=!0,...w}=Ia(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const N=Oa(o),R=Kr(c),D=Oa(c)===c,L=await(p.isRTL==null?void 0:p.isRTL(f.floating)),O=y||(D||!C?[jd(c)]:R5(c)),I=x!=="none";!y&&I&&O.push(...O5(c,C,x,L));const B=[c,...O],j=await iu(t,w),G=[];let z=((r=s.flip)==null?void 0:r.overflows)||[];if(g&&G.push(j[N]),h){const ue=_5(o,u,L);G.push(j[ue[0]],j[ue[1]])}if(z=[...z,{placement:o,overflows:G}],!G.every(ue=>ue<=0)){var ee,X;const ue=(((ee=s.flip)==null?void 0:ee.index)||0)+1,ie=B[ue];if(ie&&(!(h==="alignment"?R!==Kr(ie):!1)||z.every(J=>Kr(J.placement)===R?J.overflows[0]>0:!0)))return{data:{index:ue,overflows:z},reset:{placement:ie}};let W=(X=z.filter(re=>re.overflows[0]<=0).sort((re,J)=>re.overflows[1]-J.overflows[1])[0])==null?void 0:X.placement;if(!W)switch(T){case"bestFit":{var oe;const re=(oe=z.filter(J=>{if(I){const ae=Kr(J.placement);return ae===R||ae==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(ae=>ae>0).reduce((ae,P)=>ae+P,0)]).sort((J,ae)=>J[1]-ae[1])[0])==null?void 0:oe[0];re&&(W=re);break}case"initialPlacement":W=c;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function MC(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function FC(e){return A5.some(t=>e[t]>=0)}const U5=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Ia(e,t);switch(r){case"referenceHidden":{const s=await iu(t,{...o,elementContext:"reference"}),u=MC(s,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:FC(u)}}}case"escaped":{const s=await iu(t,{...o,altBoundary:!0}),u=MC(s,n.floating);return{data:{escapedOffsets:u,escaped:FC(u)}}}default:return{}}}}},x_=new Set(["left","top"]);async function P5(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),u=Oa(n),c=As(n),p=Kr(n)==="y",f=x_.has(u)?-1:1,g=s&&p?-1:1,h=Ia(t,e);let{mainAxis:y,crossAxis:T,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof x=="number"&&(T=c==="end"?x*-1:x),p?{x:T*g,y:y*f}:{x:y*f,y:T*g}}const j5=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:u,middlewareData:c}=t,p=await P5(t,e);return u===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+p.x,y:s+p.y,data:{...p,placement:u}}}}},H5=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:u=!1,limiter:c={fn:w=>{let{x:N,y:R}=w;return{x:N,y:R}}},...p}=Ia(e,t),f={x:n,y:r},g=await iu(t,p),h=Kr(Oa(o)),y=bb(h);let T=f[y],x=f[h];if(s){const w=y==="y"?"top":"left",N=y==="y"?"bottom":"right",R=T+g[w],D=T-g[N];T=Ah(R,T,D)}if(u){const w=h==="y"?"top":"left",N=h==="y"?"bottom":"right",R=x+g[w],D=x-g[N];x=Ah(R,x,D)}const C=c.fn({...t,[y]:T,[h]:x});return{...C,data:{x:C.x-n,y:C.y-r,enabled:{[y]:s,[h]:u}}}}}},z5=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:u}=t,{offset:c=0,mainAxis:p=!0,crossAxis:f=!0}=Ia(e,t),g={x:n,y:r},h=Kr(o),y=bb(h);let T=g[y],x=g[h];const C=Ia(c,t),w=typeof C=="number"?{mainAxis:C,crossAxis:0}:{mainAxis:0,crossAxis:0,...C};if(p){const D=y==="y"?"height":"width",L=s.reference[y]-s.floating[D]+w.mainAxis,O=s.reference[y]+s.reference[D]-w.mainAxis;T<L?T=L:T>O&&(T=O)}if(f){var N,R;const D=y==="y"?"width":"height",L=x_.has(Oa(o)),O=s.reference[h]-s.floating[D]+(L&&((N=u.offset)==null?void 0:N[h])||0)+(L?0:w.crossAxis),I=s.reference[h]+s.reference[D]+(L?0:((R=u.offset)==null?void 0:R[h])||0)-(L?w.crossAxis:0);x<O?x=O:x>I&&(x=I)}return{[y]:T,[h]:x}}}},$5=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:u,elements:c}=t,{apply:p=()=>{},...f}=Ia(e,t),g=await iu(t,f),h=Oa(o),y=As(o),T=Kr(o)==="y",{width:x,height:C}=s.floating;let w,N;h==="top"||h==="bottom"?(w=h,N=y===(await(u.isRTL==null?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(N=h,w=y==="end"?"top":"bottom");const R=C-g.top-g.bottom,D=x-g.left-g.right,L=pi(C-g[w],R),O=pi(x-g[N],D),I=!t.middlewareData.shift;let B=L,j=O;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(j=D),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(B=R),I&&!y){const z=lr(g.left,0),ee=lr(g.right,0),X=lr(g.top,0),oe=lr(g.bottom,0);T?j=x-2*(z!==0||ee!==0?z+ee:lr(g.left,g.right)):B=C-2*(X!==0||oe!==0?X+oe:lr(g.top,g.bottom))}await p({...t,availableWidth:j,availableHeight:B});const G=await u.getDimensions(c.floating);return x!==G.width||C!==G.height?{reset:{rects:!0}}:{}}}};function Ef(){return typeof window<"u"}function Cs(e){return A_(e)?(e.nodeName||"").toLowerCase():"#document"}function cr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ra(e){var t;return(t=(A_(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function A_(e){return Ef()?e instanceof Node||e instanceof cr(e).Node:!1}function Lr(e){return Ef()?e instanceof Element||e instanceof cr(e).Element:!1}function na(e){return Ef()?e instanceof HTMLElement||e instanceof cr(e).HTMLElement:!1}function BC(e){return!Ef()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof cr(e).ShadowRoot}const G5=new Set(["inline","contents"]);function Tu(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Mr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!G5.has(o)}const V5=new Set(["table","td","th"]);function Y5(e){return V5.has(Cs(e))}const q5=[":popover-open",":modal"];function yf(e){return q5.some(t=>{try{return e.matches(t)}catch{return!1}})}const W5=["transform","translate","scale","rotate","perspective"],X5=["transform","translate","scale","rotate","perspective","filter"],K5=["paint","layout","strict","content"];function Sb(e){const t=Tb(),n=Lr(e)?Mr(e):e;return W5.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||X5.some(r=>(n.willChange||"").includes(r))||K5.some(r=>(n.contain||"").includes(r))}function Z5(e){let t=mi(e);for(;na(t)&&!ps(t);){if(Sb(t))return t;if(yf(t))return null;t=mi(t)}return null}function Tb(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Q5=new Set(["html","body","#document"]);function ps(e){return Q5.has(Cs(e))}function Mr(e){return cr(e).getComputedStyle(e)}function Sf(e){return Lr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function mi(e){if(Cs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||BC(e)&&e.host||ra(e);return BC(t)?t.host:t}function C_(e){const t=mi(e);return ps(t)?e.ownerDocument?e.ownerDocument.body:e.body:na(t)&&Tu(t)?t:C_(t)}function ou(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=C_(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),u=cr(o);if(s){const c=wh(u);return t.concat(u,u.visualViewport||[],Tu(o)?o:[],c&&n?ou(c):[])}return t.concat(o,ou(o,[],n))}function wh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function w_(e){const t=Mr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=na(e),s=o?e.offsetWidth:n,u=o?e.offsetHeight:r,c=Pd(n)!==s||Pd(r)!==u;return c&&(n=s,r=u),{width:n,height:r,$:c}}function vb(e){return Lr(e)?e:e.contextElement}function ss(e){const t=vb(e);if(!na(t))return Qr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=w_(t);let u=(s?Pd(n.width):n.width)/r,c=(s?Pd(n.height):n.height)/o;return(!u||!Number.isFinite(u))&&(u=1),(!c||!Number.isFinite(c))&&(c=1),{x:u,y:c}}const J5=Qr(0);function N_(e){const t=cr(e);return!Tb()||!t.visualViewport?J5:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function eF(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==cr(e)?!1:t}function Wi(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=vb(e);let u=Qr(1);t&&(r?Lr(r)&&(u=ss(r)):u=ss(e));const c=eF(s,n,r)?N_(s):Qr(0);let p=(o.left+c.x)/u.x,f=(o.top+c.y)/u.y,g=o.width/u.x,h=o.height/u.y;if(s){const y=cr(s),T=r&&Lr(r)?cr(r):r;let x=y,C=wh(x);for(;C&&r&&T!==x;){const w=ss(C),N=C.getBoundingClientRect(),R=Mr(C),D=N.left+(C.clientLeft+parseFloat(R.paddingLeft))*w.x,L=N.top+(C.clientTop+parseFloat(R.paddingTop))*w.y;p*=w.x,f*=w.y,g*=w.x,h*=w.y,p+=D,f+=L,x=cr(C),C=wh(x)}}return Hd({width:g,height:h,x:p,y:f})}function Tf(e,t){const n=Sf(e).scrollLeft;return t?t.left+n:Wi(ra(e)).left+n}function __(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Tf(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function tF(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",u=ra(r),c=t?yf(t.floating):!1;if(r===u||c&&s)return n;let p={scrollLeft:0,scrollTop:0},f=Qr(1);const g=Qr(0),h=na(r);if((h||!h&&!s)&&((Cs(r)!=="body"||Tu(u))&&(p=Sf(r)),na(r))){const T=Wi(r);f=ss(r),g.x=T.x+r.clientLeft,g.y=T.y+r.clientTop}const y=u&&!h&&!s?__(u,p):Qr(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-p.scrollLeft*f.x+g.x+y.x,y:n.y*f.y-p.scrollTop*f.y+g.y+y.y}}function nF(e){return Array.from(e.getClientRects())}function rF(e){const t=ra(e),n=Sf(e),r=e.ownerDocument.body,o=lr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=lr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let u=-n.scrollLeft+Tf(e);const c=-n.scrollTop;return Mr(r).direction==="rtl"&&(u+=lr(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:u,y:c}}const UC=25;function aF(e,t){const n=cr(e),r=ra(e),o=n.visualViewport;let s=r.clientWidth,u=r.clientHeight,c=0,p=0;if(o){s=o.width,u=o.height;const g=Tb();(!g||g&&t==="fixed")&&(c=o.offsetLeft,p=o.offsetTop)}const f=Tf(r);if(f<=0){const g=r.ownerDocument,h=g.body,y=getComputedStyle(h),T=g.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,x=Math.abs(r.clientWidth-h.clientWidth-T);x<=UC&&(s-=x)}else f<=UC&&(s+=f);return{width:s,height:u,x:c,y:p}}const iF=new Set(["absolute","fixed"]);function oF(e,t){const n=Wi(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=na(e)?ss(e):Qr(1),u=e.clientWidth*s.x,c=e.clientHeight*s.y,p=o*s.x,f=r*s.y;return{width:u,height:c,x:p,y:f}}function PC(e,t,n){let r;if(t==="viewport")r=aF(e,n);else if(t==="document")r=rF(ra(e));else if(Lr(t))r=oF(t,n);else{const o=N_(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Hd(r)}function R_(e,t){const n=mi(e);return n===t||!Lr(n)||ps(n)?!1:Mr(n).position==="fixed"||R_(n,t)}function sF(e,t){const n=t.get(e);if(n)return n;let r=ou(e,[],!1).filter(c=>Lr(c)&&Cs(c)!=="body"),o=null;const s=Mr(e).position==="fixed";let u=s?mi(e):e;for(;Lr(u)&&!ps(u);){const c=Mr(u),p=Sb(u);!p&&c.position==="fixed"&&(o=null),(s?!p&&!o:!p&&c.position==="static"&&!!o&&iF.has(o.position)||Tu(u)&&!p&&R_(e,u))?r=r.filter(g=>g!==u):o=c,u=mi(u)}return t.set(e,r),r}function lF(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const u=[...n==="clippingAncestors"?yf(t)?[]:sF(t,this._c):[].concat(n),r],c=u[0],p=u.reduce((f,g)=>{const h=PC(t,g,o);return f.top=lr(h.top,f.top),f.right=pi(h.right,f.right),f.bottom=pi(h.bottom,f.bottom),f.left=lr(h.left,f.left),f},PC(t,c,o));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function uF(e){const{width:t,height:n}=w_(e);return{width:t,height:n}}function cF(e,t,n){const r=na(t),o=ra(t),s=n==="fixed",u=Wi(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const p=Qr(0);function f(){p.x=Tf(o)}if(r||!r&&!s)if((Cs(t)!=="body"||Tu(o))&&(c=Sf(t)),r){const T=Wi(t,!0,s,t);p.x=T.x+t.clientLeft,p.y=T.y+t.clientTop}else o&&f();s&&!r&&o&&f();const g=o&&!r&&!s?__(o,c):Qr(0),h=u.left+c.scrollLeft-p.x-g.x,y=u.top+c.scrollTop-p.y-g.y;return{x:h,y,width:u.width,height:u.height}}function Ig(e){return Mr(e).position==="static"}function jC(e,t){if(!na(e)||Mr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ra(e)===n&&(n=n.ownerDocument.body),n}function k_(e,t){const n=cr(e);if(yf(e))return n;if(!na(e)){let o=mi(e);for(;o&&!ps(o);){if(Lr(o)&&!Ig(o))return o;o=mi(o)}return n}let r=jC(e,t);for(;r&&Y5(r)&&Ig(r);)r=jC(r,t);return r&&ps(r)&&Ig(r)&&!Sb(r)?n:r||Z5(e)||n}const dF=async function(e){const t=this.getOffsetParent||k_,n=this.getDimensions,r=await n(e.floating);return{reference:cF(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function fF(e){return Mr(e).direction==="rtl"}const pF={convertOffsetParentRelativeRectToViewportRelativeRect:tF,getDocumentElement:ra,getClippingRect:lF,getOffsetParent:k_,getElementRects:dF,getClientRects:nF,getDimensions:uF,getScale:ss,isElement:Lr,isRTL:fF};function D_(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mF(e,t){let n=null,r;const o=ra(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function u(c,p){c===void 0&&(c=!1),p===void 0&&(p=1),s();const f=e.getBoundingClientRect(),{left:g,top:h,width:y,height:T}=f;if(c||t(),!y||!T)return;const x=ld(h),C=ld(o.clientWidth-(g+y)),w=ld(o.clientHeight-(h+T)),N=ld(g),D={rootMargin:-x+"px "+-C+"px "+-w+"px "+-N+"px",threshold:lr(0,pi(1,p))||1};let L=!0;function O(I){const B=I[0].intersectionRatio;if(B!==p){if(!L)return u();B?u(!1,B):r=setTimeout(()=>{u(!1,1e-7)},1e3)}B===1&&!D_(f,e.getBoundingClientRect())&&u(),L=!1}try{n=new IntersectionObserver(O,{...D,root:o.ownerDocument})}catch{n=new IntersectionObserver(O,D)}n.observe(e)}return u(!0),s}function gF(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,f=vb(e),g=o||s?[...f?ou(f):[],...ou(t)]:[];g.forEach(N=>{o&&N.addEventListener("scroll",n,{passive:!0}),s&&N.addEventListener("resize",n)});const h=f&&c?mF(f,n):null;let y=-1,T=null;u&&(T=new ResizeObserver(N=>{let[R]=N;R&&R.target===f&&T&&(T.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var D;(D=T)==null||D.observe(t)})),n()}),f&&!p&&T.observe(f),T.observe(t));let x,C=p?Wi(e):null;p&&w();function w(){const N=Wi(e);C&&!D_(C,N)&&n(),C=N,x=requestAnimationFrame(w)}return n(),()=>{var N;g.forEach(R=>{o&&R.removeEventListener("scroll",n),s&&R.removeEventListener("resize",n)}),h?.(),(N=T)==null||N.disconnect(),T=null,p&&cancelAnimationFrame(x)}}const hF=j5,bF=H5,EF=B5,yF=$5,SF=U5,HC=F5,TF=z5,vF=(e,t,n)=>{const r=new Map,o={platform:pF,...n},s={...o.platform,_c:r};return M5(e,t,{...o,platform:s})};var xF=typeof document<"u",AF=function(){},Ad=xF?v.useLayoutEffect:AF;function zd(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!zd(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!zd(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function I_(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zC(e,t){const n=I_(e);return Math.round(t*n)/n}function Og(e){const t=v.useRef(e);return Ad(()=>{t.current=e}),t}function CF(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:u}={},transform:c=!0,whileElementsMounted:p,open:f}=e,[g,h]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,T]=v.useState(r);zd(y,r)||T(r);const[x,C]=v.useState(null),[w,N]=v.useState(null),R=v.useCallback(J=>{J!==I.current&&(I.current=J,C(J))},[]),D=v.useCallback(J=>{J!==B.current&&(B.current=J,N(J))},[]),L=s||x,O=u||w,I=v.useRef(null),B=v.useRef(null),j=v.useRef(g),G=p!=null,z=Og(p),ee=Og(o),X=Og(f),oe=v.useCallback(()=>{if(!I.current||!B.current)return;const J={placement:t,strategy:n,middleware:y};ee.current&&(J.platform=ee.current),vF(I.current,B.current,J).then(ae=>{const P={...ae,isPositioned:X.current!==!1};ue.current&&!zd(j.current,P)&&(j.current=P,lb.flushSync(()=>{h(P)}))})},[y,t,n,ee,X]);Ad(()=>{f===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,h(J=>({...J,isPositioned:!1})))},[f]);const ue=v.useRef(!1);Ad(()=>(ue.current=!0,()=>{ue.current=!1}),[]),Ad(()=>{if(L&&(I.current=L),O&&(B.current=O),L&&O){if(z.current)return z.current(L,O,oe);oe()}},[L,O,oe,z,G]);const ie=v.useMemo(()=>({reference:I,floating:B,setReference:R,setFloating:D}),[R,D]),W=v.useMemo(()=>({reference:L,floating:O}),[L,O]),re=v.useMemo(()=>{const J={position:n,left:0,top:0};if(!W.floating)return J;const ae=zC(W.floating,g.x),P=zC(W.floating,g.y);return c?{...J,transform:"translate("+ae+"px, "+P+"px)",...I_(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ae,top:P}},[n,c,W.floating,g.x,g.y]);return v.useMemo(()=>({...g,update:oe,refs:ie,elements:W,floatingStyles:re}),[g,oe,ie,W,re])}const wF=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?HC({element:r.current,padding:o}).fn(n):{}:r?HC({element:r,padding:o}).fn(n):{}}}},NF=(e,t)=>({...hF(e),options:[e,t]}),_F=(e,t)=>({...bF(e),options:[e,t]}),RF=(e,t)=>({...TF(e),options:[e,t]}),kF=(e,t)=>({...EF(e),options:[e,t]}),DF=(e,t)=>({...yF(e),options:[e,t]}),IF=(e,t)=>({...SF(e),options:[e,t]}),OF=(e,t)=>({...wF(e),options:[e,t]});var LF="Arrow",O_=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return m.jsx(kt.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:m.jsx("polygon",{points:"0,0 30,0 15,10"})})});O_.displayName=LF;var MF=O_;function FF(e){const[t,n]=v.useState(void 0);return ta(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let u,c;if("borderBoxSize"in s){const p=s.borderBoxSize,f=Array.isArray(p)?p[0]:p;u=f.inlineSize,c=f.blockSize}else u=e.offsetWidth,c=e.offsetHeight;n({width:u,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var xb="Popper",[L_,vf]=xs(xb),[BF,M_]=L_(xb),F_=e=>{const{__scopePopper:t,children:n}=e,[r,o]=v.useState(null);return m.jsx(BF,{scope:t,anchor:r,onAnchorChange:o,children:n})};F_.displayName=xb;var B_="PopperAnchor",U_=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=M_(B_,n),u=v.useRef(null),c=pn(t,u),p=v.useRef(null);return v.useEffect(()=>{const f=p.current;p.current=r?.current||u.current,f!==p.current&&s.onAnchorChange(p.current)}),r?null:m.jsx(kt.div,{...o,ref:c})});U_.displayName=B_;var Ab="PopperContent",[UF,PF]=L_(Ab),P_=v.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:u=0,arrowPadding:c=0,avoidCollisions:p=!0,collisionBoundary:f=[],collisionPadding:g=0,sticky:h="partial",hideWhenDetached:y=!1,updatePositionStrategy:T="optimized",onPlaced:x,...C}=e,w=M_(Ab,n),[N,R]=v.useState(null),D=pn(t,Ee=>R(Ee)),[L,O]=v.useState(null),I=FF(L),B=I?.width??0,j=I?.height??0,G=r+(s!=="center"?"-"+s:""),z=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},ee=Array.isArray(f)?f:[f],X=ee.length>0,oe={padding:z,boundary:ee.filter(HF),altBoundary:X},{refs:ue,floatingStyles:ie,placement:W,isPositioned:re,middlewareData:J}=CF({strategy:"fixed",placement:G,whileElementsMounted:(...Ee)=>gF(...Ee,{animationFrame:T==="always"}),elements:{reference:w.anchor},middleware:[NF({mainAxis:o+j,alignmentAxis:u}),p&&_F({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?RF():void 0,...oe}),p&&kF({...oe}),DF({...oe,apply:({elements:Ee,rects:de,availableWidth:Te,availableHeight:ze})=>{const{width:Qe,height:pe}=de.reference,He=Ee.floating.style;He.setProperty("--radix-popper-available-width",`${Te}px`),He.setProperty("--radix-popper-available-height",`${ze}px`),He.setProperty("--radix-popper-anchor-width",`${Qe}px`),He.setProperty("--radix-popper-anchor-height",`${pe}px`)}}),L&&OF({element:L,padding:c}),zF({arrowWidth:B,arrowHeight:j}),y&&IF({strategy:"referenceHidden",...oe})]}),[ae,P]=z_(W),V=ur(x);ta(()=>{re&&V?.()},[re,V]);const H=J.arrow?.x,_=J.arrow?.y,ne=J.arrow?.centerOffset!==0,[se,q]=v.useState();return ta(()=>{N&&q(window.getComputedStyle(N).zIndex)},[N]),m.jsx("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...ie,transform:re?ie.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:se,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:m.jsx(UF,{scope:n,placedSide:ae,onArrowChange:O,arrowX:H,arrowY:_,shouldHideArrow:ne,children:m.jsx(kt.div,{"data-side":ae,"data-align":P,...C,ref:D,style:{...C.style,animation:re?void 0:"none"}})})})});P_.displayName=Ab;var j_="PopperArrow",jF={top:"bottom",right:"left",bottom:"top",left:"right"},H_=v.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=PF(j_,r),u=jF[s.placedSide];return m.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:m.jsx(MF,{...o,ref:n,style:{...o.style,display:"block"}})})});H_.displayName=j_;function HF(e){return e!==null}var zF=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,u=o.arrow?.centerOffset!==0,c=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[f,g]=z_(n),h={start:"0%",center:"50%",end:"100%"}[g],y=(o.arrow?.x??0)+c/2,T=(o.arrow?.y??0)+p/2;let x="",C="";return f==="bottom"?(x=u?h:`${y}px`,C=`${-p}px`):f==="top"?(x=u?h:`${y}px`,C=`${r.floating.height+p}px`):f==="right"?(x=`${-p}px`,C=u?h:`${T}px`):f==="left"&&(x=`${r.floating.width+p}px`,C=u?h:`${T}px`),{data:{x,y:C}}}});function z_(e){const[t,n="center"]=e.split("-");return[t,n]}var $_=F_,Cb=U_,G_=P_,V_=H_,$F=Symbol("radix.slottable");function GF(e){const t=({children:n})=>m.jsx(m.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=$F,t}var VF=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),YF="VisuallyHidden",Y_=v.forwardRef((e,t)=>m.jsx(kt.span,{...e,ref:t,style:{...VF,...e.style}}));Y_.displayName=YF;var qF=Y_,[xf]=xs("Tooltip",[vf]),Af=vf(),q_="TooltipProvider",WF=700,Nh="tooltip.open",[XF,wb]=xf(q_),W_=e=>{const{__scopeTooltip:t,delayDuration:n=WF,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,u=v.useRef(!0),c=v.useRef(!1),p=v.useRef(0);return v.useEffect(()=>{const f=p.current;return()=>window.clearTimeout(f)},[]),m.jsx(XF,{scope:t,isOpenDelayedRef:u,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(p.current),u.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>u.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:v.useCallback(f=>{c.current=f},[]),disableHoverableContent:o,children:s})};W_.displayName=q_;var su="Tooltip",[KF,vu]=xf(su),X_=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o,onOpenChange:s,disableHoverableContent:u,delayDuration:c}=e,p=wb(su,e.__scopeTooltip),f=Af(t),[g,h]=v.useState(null),y=wr(),T=v.useRef(0),x=u??p.disableHoverableContent,C=c??p.delayDuration,w=v.useRef(!1),[N,R]=df({prop:r,defaultProp:o??!1,onChange:B=>{B?(p.onOpen(),document.dispatchEvent(new CustomEvent(Nh))):p.onClose(),s?.(B)},caller:su}),D=v.useMemo(()=>N?w.current?"delayed-open":"instant-open":"closed",[N]),L=v.useCallback(()=>{window.clearTimeout(T.current),T.current=0,w.current=!1,R(!0)},[R]),O=v.useCallback(()=>{window.clearTimeout(T.current),T.current=0,R(!1)},[R]),I=v.useCallback(()=>{window.clearTimeout(T.current),T.current=window.setTimeout(()=>{w.current=!0,R(!0),T.current=0},C)},[C,R]);return v.useEffect(()=>()=>{T.current&&(window.clearTimeout(T.current),T.current=0)},[]),m.jsx($_,{...f,children:m.jsx(KF,{scope:t,contentId:y,open:N,stateAttribute:D,trigger:g,onTriggerChange:h,onTriggerEnter:v.useCallback(()=>{p.isOpenDelayedRef.current?I():L()},[p.isOpenDelayedRef,I,L]),onTriggerLeave:v.useCallback(()=>{x?O():(window.clearTimeout(T.current),T.current=0)},[O,x]),onOpen:L,onClose:O,disableHoverableContent:x,children:n})})};X_.displayName=su;var _h="TooltipTrigger",K_=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=vu(_h,n),s=wb(_h,n),u=Af(n),c=v.useRef(null),p=pn(t,c,o.onTriggerChange),f=v.useRef(!1),g=v.useRef(!1),h=v.useCallback(()=>f.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),m.jsx(Cb,{asChild:!0,...u,children:m.jsx(kt.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:p,onPointerMove:Pt(e.onPointerMove,y=>{y.pointerType!=="touch"&&!g.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),g.current=!0)}),onPointerLeave:Pt(e.onPointerLeave,()=>{o.onTriggerLeave(),g.current=!1}),onPointerDown:Pt(e.onPointerDown,()=>{o.open&&o.onClose(),f.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:Pt(e.onFocus,()=>{f.current||o.onOpen()}),onBlur:Pt(e.onBlur,o.onClose),onClick:Pt(e.onClick,o.onClose)})})});K_.displayName=_h;var Nb="TooltipPortal",[ZF,QF]=xf(Nb,{forceMount:void 0}),Z_=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,s=vu(Nb,t);return m.jsx(ZF,{scope:t,forceMount:n,children:m.jsx(fr,{present:n||s.open,children:m.jsx(pf,{asChild:!0,container:o,children:r})})})};Z_.displayName=Nb;var ms="TooltipContent",Q_=v.forwardRef((e,t)=>{const n=QF(ms,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,u=vu(ms,e.__scopeTooltip);return m.jsx(fr,{present:r||u.open,children:u.disableHoverableContent?m.jsx(J_,{side:o,...s,ref:t}):m.jsx(JF,{side:o,...s,ref:t})})}),JF=v.forwardRef((e,t)=>{const n=vu(ms,e.__scopeTooltip),r=wb(ms,e.__scopeTooltip),o=v.useRef(null),s=pn(t,o),[u,c]=v.useState(null),{trigger:p,onClose:f}=n,g=o.current,{onPointerInTransitChange:h}=r,y=v.useCallback(()=>{c(null),h(!1)},[h]),T=v.useCallback((x,C)=>{const w=x.currentTarget,N={x:x.clientX,y:x.clientY},R=a8(N,w.getBoundingClientRect()),D=i8(N,R),L=o8(C.getBoundingClientRect()),O=l8([...D,...L]);c(O),h(!0)},[h]);return v.useEffect(()=>()=>y(),[y]),v.useEffect(()=>{if(p&&g){const x=w=>T(w,g),C=w=>T(w,p);return p.addEventListener("pointerleave",x),g.addEventListener("pointerleave",C),()=>{p.removeEventListener("pointerleave",x),g.removeEventListener("pointerleave",C)}}},[p,g,T,y]),v.useEffect(()=>{if(u){const x=C=>{const w=C.target,N={x:C.clientX,y:C.clientY},R=p?.contains(w)||g?.contains(w),D=!s8(N,u);R?y():D&&(y(),f())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[p,g,u,f,y]),m.jsx(J_,{...e,ref:s})}),[e8,t8]=xf(su,{isInside:!1}),n8=GF("TooltipContent"),J_=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:u,...c}=e,p=vu(ms,n),f=Af(n),{onClose:g}=p;return v.useEffect(()=>(document.addEventListener(Nh,g),()=>document.removeEventListener(Nh,g)),[g]),v.useEffect(()=>{if(p.trigger){const h=y=>{y.target?.contains(p.trigger)&&g()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[p.trigger,g]),m.jsx(ff,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:h=>h.preventDefault(),onDismiss:g,children:m.jsxs(G_,{"data-state":p.stateAttribute,...f,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[m.jsx(n8,{children:r}),m.jsx(e8,{scope:n,isInside:!0,children:m.jsx(qF,{id:p.contentId,role:"tooltip",children:o||r})})]})})});Q_.displayName=ms;var eR="TooltipArrow",r8=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Af(n);return t8(eR,n).isInside?null:m.jsx(V_,{...o,...r,ref:t})});r8.displayName=eR;function a8(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function i8(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function o8(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function s8(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,u=t.length-1;s<t.length;u=s++){const c=t[s],p=t[u],f=c.x,g=c.y,h=p.x,y=p.y;g>r!=y>r&&n<(h-f)*(r-g)/(y-g)+f&&(o=!o)}return o}function l8(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),u8(t)}function u8(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],u=t[t.length-2];if((s.x-u.x)*(o.y-u.y)>=(s.y-u.y)*(o.x-u.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],u=n[n.length-2];if((s.x-u.x)*(o.y-u.y)>=(s.y-u.y)*(o.x-u.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var c8=W_,d8=X_,f8=K_,p8=Z_,tR=Q_;const m8=c8,g8=d8,h8=f8,nR=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>m.jsx(p8,{children:m.jsx(tR,{ref:r,sideOffset:t,className:it("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...n})}));nR.displayName=tR.displayName;const b8="sidebar_state",E8=3600*24*7,y8="16rem",S8="18rem",T8="3rem",v8="b",rR=v.createContext(null);function xu(){const e=v.useContext(rR);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}const aR=v.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:n,className:r,style:o,children:s,...u},c)=>{const p=w2(),[f,g]=v.useState(!1),[h,y]=v.useState(e),T=t??h,x=v.useCallback(R=>{const D=typeof R=="function"?R(T):R;n?n(D):y(D),document.cookie=`${b8}=${D}; path=/; max-age=${E8}`},[n,T]),C=v.useCallback(()=>p?g(R=>!R):x(R=>!R),[p,x,g]);v.useEffect(()=>{const R=D=>{D.key===v8&&(D.metaKey||D.ctrlKey)&&(D.preventDefault(),C())};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[C]);const w=T?"expanded":"collapsed",N=v.useMemo(()=>({state:w,open:T,setOpen:x,isMobile:p,openMobile:f,setOpenMobile:g,toggleSidebar:C}),[w,T,x,p,f,g,C]);return m.jsx(rR.Provider,{value:N,children:m.jsx(m8,{delayDuration:0,children:m.jsx("div",{style:{"--sidebar-width":y8,"--sidebar-width-icon":T8,...o},className:it("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",r),ref:c,...u,children:s})})})});aR.displayName="SidebarProvider";const iR=v.forwardRef(({side:e="left",variant:t="sidebar",collapsible:n="offcanvas",className:r,children:o,...s},u)=>{const{isMobile:c,state:p,openMobile:f,setOpenMobile:g}=xu();return n==="none"?m.jsx("div",{className:it("flex h-full w-[var(--sidebar-width)] flex-col bg-sidebar text-sidebar-foreground",r),ref:u,...s,children:o}):c?m.jsx(T5,{open:f,onOpenChange:g,...s,children:m.jsxs(E_,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[var(--sidebar-width)] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":S8},side:e,children:[m.jsxs(y_,{className:"sr-only",children:[m.jsx(S_,{children:"Sidebar"}),m.jsx(T_,{children:"Displays the mobile sidebar."})]}),m.jsx("div",{className:"flex h-full w-full flex-col",children:o})]})}):m.jsxs("div",{ref:u,className:"group peer hidden text-sidebar-foreground md:block","data-state":p,"data-collapsible":p==="collapsed"?n:"","data-variant":t,"data-side":e,children:[m.jsx("div",{className:it("relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]")}),m.jsx("div",{className:it("fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...s,children:m.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});iR.displayName="Sidebar";const oR=v.forwardRef(({className:e,onClick:t,...n},r)=>{const{toggleSidebar:o}=xu();return m.jsxs(ea,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:it("h-7 w-7",e),onClick:s=>{t?.(s),o()},...n,children:[m.jsx(f6,{}),m.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})});oR.displayName="SidebarTrigger";const sR=v.forwardRef(({className:e,...t},n)=>{const{toggleSidebar:r}=xu();return m.jsx("button",{ref:n,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:it("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});sR.displayName="SidebarRail";const x8=v.forwardRef(({className:e,...t},n)=>m.jsx("main",{ref:n,className:it("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));x8.displayName="SidebarInset";const A8=v.forwardRef(({className:e,...t},n)=>m.jsx(P2,{ref:n,"data-sidebar":"input",className:it("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));A8.displayName="SidebarInput";const lR=v.forwardRef(({className:e,...t},n)=>m.jsx("div",{ref:n,"data-sidebar":"header",className:it("flex flex-col gap-2 p-2",e),...t}));lR.displayName="SidebarHeader";const uR=v.forwardRef(({className:e,...t},n)=>m.jsx("div",{ref:n,"data-sidebar":"footer",className:it("flex flex-col gap-2 p-2",e),...t}));uR.displayName="SidebarFooter";const C8=v.forwardRef(({className:e,...t},n)=>m.jsx(ub,{ref:n,"data-sidebar":"separator",className:it("mx-2 w-auto bg-sidebar-border",e),...t}));C8.displayName="SidebarSeparator";const cR=v.forwardRef(({className:e,...t},n)=>m.jsx("div",{ref:n,"data-sidebar":"content",className:it("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));cR.displayName="SidebarContent";const dR=v.forwardRef(({className:e,...t},n)=>m.jsx("div",{ref:n,"data-sidebar":"group",className:it("relative flex w-full min-w-0 flex-col p-2",e),...t}));dR.displayName="SidebarGroup";const fR=v.forwardRef(({className:e,asChild:t=!1,...n},r)=>{const o=t?Ss:"div";return m.jsx(o,{ref:r,"data-sidebar":"group-label",className:it("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...n})});fR.displayName="SidebarGroupLabel";const w8=v.forwardRef(({className:e,asChild:t=!1,...n},r)=>{const o=t?Ss:"button";return m.jsx(o,{ref:r,"data-sidebar":"group-action",className:it("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...n})});w8.displayName="SidebarGroupAction";const pR=v.forwardRef(({className:e,...t},n)=>m.jsx("div",{ref:n,"data-sidebar":"group-content",className:it("w-full text-sm",e),...t}));pR.displayName="SidebarGroupContent";const Cd=v.forwardRef(({className:e,...t},n)=>m.jsx("ul",{ref:n,"data-sidebar":"menu",className:it("flex w-full min-w-0 flex-col gap-1",e),...t}));Cd.displayName="SidebarMenu";const $l=v.forwardRef(({className:e,...t},n)=>m.jsx("li",{ref:n,"data-sidebar":"menu-item",className:it("group/menu-item relative",e),...t}));$l.displayName="SidebarMenuItem";const N8=ob("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Gl=v.forwardRef(({asChild:e=!1,isActive:t=!1,variant:n="default",size:r="default",tooltip:o,className:s,...u},c)=>{const p=e?Ss:"button",{isMobile:f,state:g}=xu(),h=m.jsx(p,{ref:c,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:it(N8({variant:n,size:r}),s),...u});return o?(typeof o=="string"&&(o={children:o}),m.jsxs(g8,{children:[m.jsx(h8,{asChild:!0,children:h}),m.jsx(nR,{side:"right",align:"center",hidden:g!=="collapsed"||f,...o})]})):h});Gl.displayName="SidebarMenuButton";const _8=v.forwardRef(({className:e,asChild:t=!1,showOnHover:n=!1,...r},o)=>{const s=t?Ss:"button";return m.jsx(s,{ref:o,"data-sidebar":"menu-action",className:it("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",n&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...r})});_8.displayName="SidebarMenuAction";const R8=v.forwardRef(({className:e,...t},n)=>m.jsx("div",{ref:n,"data-sidebar":"menu-badge",className:it("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));R8.displayName="SidebarMenuBadge";const k8=v.forwardRef(({className:e,showIcon:t=!1,...n},r)=>{const o=v.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return m.jsxs("div",{ref:r,"data-sidebar":"menu-skeleton",className:it("flex h-8 items-center gap-2 rounded-md px-2",e),...n,children:[t&&m.jsx(DC,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),m.jsx(DC,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});k8.displayName="SidebarMenuSkeleton";const D8=v.forwardRef(({className:e,...t},n)=>m.jsx("ul",{ref:n,"data-sidebar":"menu-sub",className:it("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));D8.displayName="SidebarMenuSub";const I8=v.forwardRef(({...e},t)=>m.jsx("li",{ref:t,...e}));I8.displayName="SidebarMenuSubItem";const O8=v.forwardRef(({asChild:e=!1,size:t="md",isActive:n,className:r,...o},s)=>{const u=e?Ss:"a";return m.jsx(u,{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":n,className:it("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o})});O8.displayName="SidebarMenuSubButton";const L8=[{id:"kanban",label:"Kanban",icon:s6,href:"#/"},{id:"tasks",label:"Tasks",icon:b2,href:"#/tasks"},{id:"docs",label:"Docs",icon:fi,href:"#/docs"}];function M8({currentPage:e,isDark:t,onToggleTheme:n,onSearchClick:r}){const{state:o}=xu(),s=w2(),u=o==="expanded";return m.jsxs(iR,{collapsible:"icon",variant:s?"floating":"sidebar",children:[m.jsxs(lR,{children:[m.jsx(Cd,{children:m.jsx($l,{children:m.jsx(Gl,{size:"lg",asChild:!0,children:m.jsxs("a",{href:"#/",children:[m.jsx("div",{className:"flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground",children:m.jsx("span",{className:"text-lg font-bold",children:"◆"})}),m.jsxs("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[m.jsx("span",{className:"truncate font-semibold",children:"Knowns.dev"}),m.jsx("span",{className:"truncate text-xs",children:"Task Management"})]})]})})})}),u&&m.jsx("div",{className:"px-2 pb-2",children:m.jsxs("button",{type:"button",onClick:r,className:"flex w-full items-center gap-2 rounded-lg border bg-background px-3 py-2 text-sm text-muted-foreground hover:bg-accent hover:text-accent-foreground transition-colors",children:[m.jsx(y2,{className:"h-4 w-4"}),m.jsx("span",{children:"Search..."}),m.jsxs("kbd",{className:"ml-auto pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100",children:[m.jsx("span",{className:"text-xs",children:"⌘"}),"K"]})]})})]}),m.jsx(cR,{children:m.jsxs(dR,{children:[m.jsx(fR,{children:"Navigation"}),m.jsx(pR,{children:m.jsx(Cd,{children:L8.map(c=>{const p=e===c.id;return m.jsx($l,{children:m.jsx(Gl,{asChild:!0,isActive:p,tooltip:c.label,children:m.jsxs("a",{href:c.href,children:[m.jsx(c.icon,{}),m.jsx("span",{children:c.label})]})})},c.id)})})})]})}),m.jsxs(uR,{children:[m.jsxs(Cd,{children:[m.jsx($l,{children:m.jsx(Gl,{asChild:!0,isActive:e==="config",tooltip:"Settings",children:m.jsxs("a",{href:"#/config",children:[m.jsx(S2,{}),m.jsx("span",{children:"Settings"})]})})}),m.jsx($l,{children:m.jsxs(Gl,{onClick:n,tooltip:t?"Light mode":"Dark mode",children:[t?m.jsx(R6,{}):m.jsx(c6,{}),m.jsx("span",{children:t?"Light mode":"Dark mode"})]})})]}),u&&m.jsx("div",{className:"px-3 py-2 text-xs text-sidebar-foreground/50",children:m.jsxs("div",{className:"flex items-center justify-between",children:[m.jsx("a",{href:"https://github.com/knowns-dev/knowns",target:"_blank",rel:"noopener noreferrer",className:"hover:text-sidebar-foreground transition-colors",children:"Knowns"}),m.jsx("span",{className:"font-mono",children:"0.2.1"})]})})]}),m.jsx(sR,{})]})}const mR=v.createContext(void 0),$C="knowns-current-user",GC="@me";function F8({children:e}){const[t,n]=v.useState(()=>{try{return localStorage.getItem($C)||GC}catch{return GC}}),r=o=>{n(o);try{localStorage.setItem($C,o)}catch{}};return v.useEffect(()=>{Yi().then(o=>{o?.defaultAssignee&&r(o.defaultAssignee)}).catch(()=>{})},[]),m.jsx(mR.Provider,{value:{currentUser:t,setCurrentUser:r},children:e})}function gR(){const e=v.useContext(mR);if(e===void 0)throw new Error("useCurrentUser must be used within a UserProvider");return e}function B8(e){const t=U8(e),n=v.forwardRef((r,o)=>{const{children:s,...u}=r,c=v.Children.toArray(s),p=c.find(j8);if(p){const f=p.props.children,g=c.map(h=>h===p?v.Children.count(f)>1?v.Children.only(null):v.isValidElement(f)?f.props.children:null:h);return m.jsx(t,{...u,ref:o,children:v.isValidElement(f)?v.cloneElement(f,void 0,g):null})}return m.jsx(t,{...u,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function U8(e){const t=v.forwardRef((n,r)=>{const{children:o,...s}=n;if(v.isValidElement(o)){const u=z8(o),c=H8(s,o.props);return o.type!==v.Fragment&&(c.ref=r?Jr(r,u):u),v.cloneElement(o,c)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var P8=Symbol("radix.slottable");function j8(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===P8}function H8(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...c)=>{const p=s(...c);return o(...c),p}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function z8(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Cf="Popover",[hR]=xs(Cf,[vf]),Au=vf(),[$8,hi]=hR(Cf),bR=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:u=!1}=e,c=Au(t),p=v.useRef(null),[f,g]=v.useState(!1),[h,y]=df({prop:r,defaultProp:o??!1,onChange:s,caller:Cf});return m.jsx($_,{...c,children:m.jsx($8,{scope:t,contentId:wr(),triggerRef:p,open:h,onOpenChange:y,onOpenToggle:v.useCallback(()=>y(T=>!T),[y]),hasCustomAnchor:f,onCustomAnchorAdd:v.useCallback(()=>g(!0),[]),onCustomAnchorRemove:v.useCallback(()=>g(!1),[]),modal:u,children:n})})};bR.displayName=Cf;var ER="PopoverAnchor",G8=v.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=hi(ER,n),s=Au(n),{onCustomAnchorAdd:u,onCustomAnchorRemove:c}=o;return v.useEffect(()=>(u(),()=>c()),[u,c]),m.jsx(Cb,{...s,...r,ref:t})});G8.displayName=ER;var yR="PopoverTrigger",SR=v.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=hi(yR,n),s=Au(n),u=pn(t,o.triggerRef),c=m.jsx(kt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":CR(o.open),...r,ref:u,onClick:Pt(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:m.jsx(Cb,{asChild:!0,...s,children:c})});SR.displayName=yR;var _b="PopoverPortal",[V8,Y8]=hR(_b,{forceMount:void 0}),TR=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=hi(_b,t);return m.jsx(V8,{scope:t,forceMount:n,children:m.jsx(fr,{present:n||s.open,children:m.jsx(pf,{asChild:!0,container:o,children:r})})})};TR.displayName=_b;var gs="PopoverContent",vR=v.forwardRef((e,t)=>{const n=Y8(gs,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=hi(gs,e.__scopePopover);return m.jsx(fr,{present:r||s.open,children:s.modal?m.jsx(W8,{...o,ref:t}):m.jsx(X8,{...o,ref:t})})});vR.displayName=gs;var q8=B8("PopoverContent.RemoveScroll"),W8=v.forwardRef((e,t)=>{const n=hi(gs,e.__scopePopover),r=v.useRef(null),o=pn(t,r),s=v.useRef(!1);return v.useEffect(()=>{const u=r.current;if(u)return e_(u)},[]),m.jsx(db,{as:q8,allowPinchZoom:!0,children:m.jsx(xR,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Pt(e.onCloseAutoFocus,u=>{u.preventDefault(),s.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Pt(e.onPointerDownOutside,u=>{const c=u.detail.originalEvent,p=c.button===0&&c.ctrlKey===!0,f=c.button===2||p;s.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:Pt(e.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1})})})}),X8=v.forwardRef((e,t)=>{const n=hi(gs,e.__scopePopover),r=v.useRef(!1),o=v.useRef(!1);return m.jsx(xR,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=s.target;n.triggerRef.current?.contains(u)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),xR=v.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:g,...h}=e,y=hi(gs,n),T=Au(n);return V2(),m.jsx(cb,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:m.jsx(ff,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:g,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>y.onOpenChange(!1),children:m.jsx(G_,{"data-state":CR(y.open),role:"dialog",id:y.contentId,...T,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),AR="PopoverClose",K8=v.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=hi(AR,n);return m.jsx(kt.button,{type:"button",...r,ref:t,onClick:Pt(e.onClick,()=>o.onOpenChange(!1))})});K8.displayName=AR;var Z8="PopoverArrow",Q8=v.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Au(n);return m.jsx(V_,{...o,...r,ref:t})});Q8.displayName=Z8;function CR(e){return e?"open":"closed"}var J8=bR,eB=SR,tB=TR,wR=vR;const NR=J8,_R=eB,Rb=v.forwardRef(({className:e,align:t="center",sideOffset:n=4,container:r,...o},s)=>m.jsx(tB,{container:r,children:m.jsx(wR,{ref:s,align:t,sideOffset:n,className:it("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",e),...o})}));Rb.displayName=wR.displayName;var VC=1,nB=.9,rB=.8,aB=.17,Lg=.1,Mg=.999,iB=.9999,oB=.99,sB=/[\\\/_+.#"@\[\(\{&]/,lB=/[\\\/_+.#"@\[\(\{&]/g,uB=/[\s-]/,RR=/[\s-]/g;function Rh(e,t,n,r,o,s,u){if(s===t.length)return o===e.length?VC:oB;var c=`${o},${s}`;if(u[c]!==void 0)return u[c];for(var p=r.charAt(s),f=n.indexOf(p,o),g=0,h,y,T,x;f>=0;)h=Rh(e,t,n,r,f+1,s+1,u),h>g&&(f===o?h*=VC:sB.test(e.charAt(f-1))?(h*=rB,T=e.slice(o,f-1).match(lB),T&&o>0&&(h*=Math.pow(Mg,T.length))):uB.test(e.charAt(f-1))?(h*=nB,x=e.slice(o,f-1).match(RR),x&&o>0&&(h*=Math.pow(Mg,x.length))):(h*=aB,o>0&&(h*=Math.pow(Mg,f-o))),e.charAt(f)!==t.charAt(s)&&(h*=iB)),(h<Lg&&n.charAt(f-1)===r.charAt(s+1)||r.charAt(s+1)===r.charAt(s)&&n.charAt(f-1)!==r.charAt(s))&&(y=Rh(e,t,n,r,f+1,s+2,u),y*Lg>h&&(h=y*Lg)),h>g&&(g=h),f=n.indexOf(p,f+1);return u[c]=g,g}function YC(e){return e.toLowerCase().replace(RR," ")}function cB(e,t,n){return e=n&&n.length>0?`${e+" "+n.join(" ")}`:e,Rh(e,t,YC(e),YC(t),0,0,{})}var Il='[cmdk-group=""]',Fg='[cmdk-group-items=""]',dB='[cmdk-group-heading=""]',kR='[cmdk-item=""]',qC=`${kR}:not([aria-disabled="true"])`,kh="cmdk-item-select",ns="data-value",fB=(e,t,n)=>cB(e,t,n),DR=v.createContext(void 0),Cu=()=>v.useContext(DR),IR=v.createContext(void 0),kb=()=>v.useContext(IR),OR=v.createContext(void 0),LR=v.forwardRef((e,t)=>{let n=rs(()=>{var H,_;return{search:"",value:(_=(H=e.value)!=null?H:e.defaultValue)!=null?_:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=rs(()=>new Set),o=rs(()=>new Map),s=rs(()=>new Map),u=rs(()=>new Set),c=MR(e),{label:p,children:f,value:g,onValueChange:h,filter:y,shouldFilter:T,loop:x,disablePointerSelection:C=!1,vimBindings:w=!0,...N}=e,R=wr(),D=wr(),L=wr(),O=v.useRef(null),I=xB();Xi(()=>{if(g!==void 0){let H=g.trim();n.current.value=H,B.emit()}},[g]),Xi(()=>{I(6,oe)},[]);let B=v.useMemo(()=>({subscribe:H=>(u.current.add(H),()=>u.current.delete(H)),snapshot:()=>n.current,setState:(H,_,ne)=>{var se,q,Ee,de;if(!Object.is(n.current[H],_)){if(n.current[H]=_,H==="search")X(),z(),I(1,ee);else if(H==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Te=document.getElementById(L);Te?Te.focus():(se=document.getElementById(R))==null||se.focus()}if(I(7,()=>{var Te;n.current.selectedItemId=(Te=ue())==null?void 0:Te.id,B.emit()}),ne||I(5,oe),((q=c.current)==null?void 0:q.value)!==void 0){let Te=_??"";(de=(Ee=c.current).onValueChange)==null||de.call(Ee,Te);return}}B.emit()}},emit:()=>{u.current.forEach(H=>H())}}),[]),j=v.useMemo(()=>({value:(H,_,ne)=>{var se;_!==((se=s.current.get(H))==null?void 0:se.value)&&(s.current.set(H,{value:_,keywords:ne}),n.current.filtered.items.set(H,G(_,ne)),I(2,()=>{z(),B.emit()}))},item:(H,_)=>(r.current.add(H),_&&(o.current.has(_)?o.current.get(_).add(H):o.current.set(_,new Set([H]))),I(3,()=>{X(),z(),n.current.value||ee(),B.emit()}),()=>{s.current.delete(H),r.current.delete(H),n.current.filtered.items.delete(H);let ne=ue();I(4,()=>{X(),ne?.getAttribute("id")===H&&ee(),B.emit()})}),group:H=>(o.current.has(H)||o.current.set(H,new Set),()=>{s.current.delete(H),o.current.delete(H)}),filter:()=>c.current.shouldFilter,label:p||e["aria-label"],getDisablePointerSelection:()=>c.current.disablePointerSelection,listId:R,inputId:L,labelId:D,listInnerRef:O}),[]);function G(H,_){var ne,se;let q=(se=(ne=c.current)==null?void 0:ne.filter)!=null?se:fB;return H?q(H,n.current.search,_):0}function z(){if(!n.current.search||c.current.shouldFilter===!1)return;let H=n.current.filtered.items,_=[];n.current.filtered.groups.forEach(se=>{let q=o.current.get(se),Ee=0;q.forEach(de=>{let Te=H.get(de);Ee=Math.max(Te,Ee)}),_.push([se,Ee])});let ne=O.current;ie().sort((se,q)=>{var Ee,de;let Te=se.getAttribute("id"),ze=q.getAttribute("id");return((Ee=H.get(ze))!=null?Ee:0)-((de=H.get(Te))!=null?de:0)}).forEach(se=>{let q=se.closest(Fg);q?q.appendChild(se.parentElement===q?se:se.closest(`${Fg} > *`)):ne.appendChild(se.parentElement===ne?se:se.closest(`${Fg} > *`))}),_.sort((se,q)=>q[1]-se[1]).forEach(se=>{var q;let Ee=(q=O.current)==null?void 0:q.querySelector(`${Il}[${ns}="${encodeURIComponent(se[0])}"]`);Ee?.parentElement.appendChild(Ee)})}function ee(){let H=ie().find(ne=>ne.getAttribute("aria-disabled")!=="true"),_=H?.getAttribute(ns);B.setState("value",_||void 0)}function X(){var H,_,ne,se;if(!n.current.search||c.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let q=0;for(let Ee of r.current){let de=(_=(H=s.current.get(Ee))==null?void 0:H.value)!=null?_:"",Te=(se=(ne=s.current.get(Ee))==null?void 0:ne.keywords)!=null?se:[],ze=G(de,Te);n.current.filtered.items.set(Ee,ze),ze>0&&q++}for(let[Ee,de]of o.current)for(let Te of de)if(n.current.filtered.items.get(Te)>0){n.current.filtered.groups.add(Ee);break}n.current.filtered.count=q}function oe(){var H,_,ne;let se=ue();se&&(((H=se.parentElement)==null?void 0:H.firstChild)===se&&((ne=(_=se.closest(Il))==null?void 0:_.querySelector(dB))==null||ne.scrollIntoView({block:"nearest"})),se.scrollIntoView({block:"nearest"}))}function ue(){var H;return(H=O.current)==null?void 0:H.querySelector(`${kR}[aria-selected="true"]`)}function ie(){var H;return Array.from(((H=O.current)==null?void 0:H.querySelectorAll(qC))||[])}function W(H){let _=ie()[H];_&&B.setState("value",_.getAttribute(ns))}function re(H){var _;let ne=ue(),se=ie(),q=se.findIndex(de=>de===ne),Ee=se[q+H];(_=c.current)!=null&&_.loop&&(Ee=q+H<0?se[se.length-1]:q+H===se.length?se[0]:se[q+H]),Ee&&B.setState("value",Ee.getAttribute(ns))}function J(H){let _=ue(),ne=_?.closest(Il),se;for(;ne&&!se;)ne=H>0?TB(ne,Il):vB(ne,Il),se=ne?.querySelector(qC);se?B.setState("value",se.getAttribute(ns)):re(H)}let ae=()=>W(ie().length-1),P=H=>{H.preventDefault(),H.metaKey?ae():H.altKey?J(1):re(1)},V=H=>{H.preventDefault(),H.metaKey?W(0):H.altKey?J(-1):re(-1)};return v.createElement(kt.div,{ref:t,tabIndex:-1,...N,"cmdk-root":"",onKeyDown:H=>{var _;(_=N.onKeyDown)==null||_.call(N,H);let ne=H.nativeEvent.isComposing||H.keyCode===229;if(!(H.defaultPrevented||ne))switch(H.key){case"n":case"j":{w&&H.ctrlKey&&P(H);break}case"ArrowDown":{P(H);break}case"p":case"k":{w&&H.ctrlKey&&V(H);break}case"ArrowUp":{V(H);break}case"Home":{H.preventDefault(),W(0);break}case"End":{H.preventDefault(),ae();break}case"Enter":{H.preventDefault();let se=ue();if(se){let q=new Event(kh);se.dispatchEvent(q)}}}}},v.createElement("label",{"cmdk-label":"",htmlFor:j.inputId,id:j.labelId,style:CB},p),wf(e,H=>v.createElement(IR.Provider,{value:B},v.createElement(DR.Provider,{value:j},H))))}),pB=v.forwardRef((e,t)=>{var n,r;let o=wr(),s=v.useRef(null),u=v.useContext(OR),c=Cu(),p=MR(e),f=(r=(n=p.current)==null?void 0:n.forceMount)!=null?r:u?.forceMount;Xi(()=>{if(!f)return c.item(o,u?.id)},[f]);let g=FR(o,s,[e.value,e.children,s],e.keywords),h=kb(),y=gi(I=>I.value&&I.value===g.current),T=gi(I=>f||c.filter()===!1?!0:I.search?I.filtered.items.get(o)>0:!0);v.useEffect(()=>{let I=s.current;if(!(!I||e.disabled))return I.addEventListener(kh,x),()=>I.removeEventListener(kh,x)},[T,e.onSelect,e.disabled]);function x(){var I,B;C(),(B=(I=p.current).onSelect)==null||B.call(I,g.current)}function C(){h.setState("value",g.current,!0)}if(!T)return null;let{disabled:w,value:N,onSelect:R,forceMount:D,keywords:L,...O}=e;return v.createElement(kt.div,{ref:Jr(s,t),...O,id:o,"cmdk-item":"",role:"option","aria-disabled":!!w,"aria-selected":!!y,"data-disabled":!!w,"data-selected":!!y,onPointerMove:w||c.getDisablePointerSelection()?void 0:C,onClick:w?void 0:x},e.children)}),mB=v.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:o,...s}=e,u=wr(),c=v.useRef(null),p=v.useRef(null),f=wr(),g=Cu(),h=gi(T=>o||g.filter()===!1?!0:T.search?T.filtered.groups.has(u):!0);Xi(()=>g.group(u),[]),FR(u,c,[e.value,e.heading,p]);let y=v.useMemo(()=>({id:u,forceMount:o}),[o]);return v.createElement(kt.div,{ref:Jr(c,t),...s,"cmdk-group":"",role:"presentation",hidden:h?void 0:!0},n&&v.createElement("div",{ref:p,"cmdk-group-heading":"","aria-hidden":!0,id:f},n),wf(e,T=>v.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?f:void 0},v.createElement(OR.Provider,{value:y},T))))}),gB=v.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,o=v.useRef(null),s=gi(u=>!u.search);return!n&&!s?null:v.createElement(kt.div,{ref:Jr(o,t),...r,"cmdk-separator":"",role:"separator"})}),hB=v.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,o=e.value!=null,s=kb(),u=gi(f=>f.search),c=gi(f=>f.selectedItemId),p=Cu();return v.useEffect(()=>{e.value!=null&&s.setState("search",e.value)},[e.value]),v.createElement(kt.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":p.listId,"aria-labelledby":p.labelId,"aria-activedescendant":c,id:p.inputId,type:"text",value:o?e.value:u,onChange:f=>{o||s.setState("search",f.target.value),n?.(f.target.value)}})}),bB=v.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...o}=e,s=v.useRef(null),u=v.useRef(null),c=gi(f=>f.selectedItemId),p=Cu();return v.useEffect(()=>{if(u.current&&s.current){let f=u.current,g=s.current,h,y=new ResizeObserver(()=>{h=requestAnimationFrame(()=>{let T=f.offsetHeight;g.style.setProperty("--cmdk-list-height",T.toFixed(1)+"px")})});return y.observe(f),()=>{cancelAnimationFrame(h),y.unobserve(f)}}},[]),v.createElement(kt.div,{ref:Jr(s,t),...o,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":c,"aria-label":r,id:p.listId},wf(e,f=>v.createElement("div",{ref:Jr(u,p.listInnerRef),"cmdk-list-sizer":""},f)))}),EB=v.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:o,contentClassName:s,container:u,...c}=e;return v.createElement(gb,{open:n,onOpenChange:r},v.createElement(hb,{container:u},v.createElement(yu,{"cmdk-overlay":"",className:o}),v.createElement(Su,{"aria-label":e.label,"cmdk-dialog":"",className:s},v.createElement(LR,{ref:t,...c}))))}),yB=v.forwardRef((e,t)=>gi(n=>n.filtered.count===0)?v.createElement(kt.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),SB=v.forwardRef((e,t)=>{let{progress:n,children:r,label:o="Loading...",...s}=e;return v.createElement(kt.div,{ref:t,...s,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},wf(e,u=>v.createElement("div",{"aria-hidden":!0},u)))}),Zn=Object.assign(LR,{List:bB,Item:pB,Input:hB,Group:mB,Separator:gB,Dialog:EB,Empty:yB,Loading:SB});function TB(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function vB(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function MR(e){let t=v.useRef(e);return Xi(()=>{t.current=e}),t}var Xi=typeof window>"u"?v.useEffect:v.useLayoutEffect;function rs(e){let t=v.useRef();return t.current===void 0&&(t.current=e()),t}function gi(e){let t=kb(),n=()=>e(t.snapshot());return v.useSyncExternalStore(t.subscribe,n,n)}function FR(e,t,n,r=[]){let o=v.useRef(),s=Cu();return Xi(()=>{var u;let c=(()=>{var f;for(let g of n){if(typeof g=="string")return g.trim();if(typeof g=="object"&&"current"in g)return g.current?(f=g.current.textContent)==null?void 0:f.trim():o.current}})(),p=r.map(f=>f.trim());s.value(e,c,p),(u=t.current)==null||u.setAttribute(ns,c),o.current=c}),o}var xB=()=>{let[e,t]=v.useState(),n=rs(()=>new Map);return Xi(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,o)=>{n.current.set(r,o),t({})}};function AB(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function wf({asChild:e,children:t},n){return e&&v.isValidElement(t)?v.cloneElement(AB(t),{ref:t.ref},n(t.props.children)):n(t)}var CB={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const wB=gb,NB=hb,BR=v.forwardRef(({className:e,...t},n)=>m.jsx(yu,{ref:n,className:it("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));BR.displayName=yu.displayName;const UR=v.forwardRef(({className:e,children:t,hideClose:n,...r},o)=>m.jsxs(NB,{children:[m.jsx(BR,{}),m.jsxs(Su,{ref:o,className:it("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,!n&&m.jsxs(h_,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[m.jsx(Eu,{className:"h-4 w-4"}),m.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));UR.displayName=Su.displayName;const _B=v.forwardRef(({className:e,...t},n)=>m.jsx(hf,{ref:n,className:it("text-lg font-semibold leading-none tracking-tight",e),...t}));_B.displayName=hf.displayName;const RB=v.forwardRef(({className:e,...t},n)=>m.jsx(bf,{ref:n,className:it("text-sm text-muted-foreground",e),...t}));RB.displayName=bf.displayName;const Db=v.forwardRef(({className:e,...t},n)=>m.jsx(Zn,{ref:n,className:it("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Db.displayName=Zn.displayName;const Ib=v.forwardRef(({className:e,...t},n)=>m.jsxs("div",{className:"flex items-center border-b border-border px-3","cmdk-input-wrapper":"",children:[m.jsx(y2,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),m.jsx(Zn.Input,{ref:n,className:it("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));Ib.displayName=Zn.Input.displayName;const Ob=v.forwardRef(({className:e,...t},n)=>m.jsx(Zn.List,{ref:n,className:it("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));Ob.displayName=Zn.List.displayName;const Lb=v.forwardRef((e,t)=>m.jsx(Zn.Empty,{ref:t,className:"py-6 text-center text-sm text-muted-foreground",...e}));Lb.displayName=Zn.Empty.displayName;const ls=v.forwardRef(({className:e,...t},n)=>m.jsx(Zn.Group,{ref:n,className:it("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));ls.displayName=Zn.Group.displayName;const $d=v.forwardRef(({className:e,...t},n)=>m.jsx(Zn.Separator,{ref:n,className:it("-mx-1 h-px bg-border",e),...t}));$d.displayName=Zn.Separator.displayName;const Hi=v.forwardRef(({className:e,...t},n)=>m.jsx(Zn.Item,{ref:n,className:it("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm text-popover-foreground outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));Hi.displayName=Zn.Item.displayName;function kB(e){const t=[{bg:"bg-blue-100 text-blue-700",darkBg:"bg-blue-900/50 text-blue-300"},{bg:"bg-green-100 text-green-700",darkBg:"bg-green-900/50 text-green-300"},{bg:"bg-purple-100 text-purple-700",darkBg:"bg-purple-900/50 text-purple-300"},{bg:"bg-orange-100 text-orange-700",darkBg:"bg-orange-900/50 text-orange-300"},{bg:"bg-pink-100 text-pink-700",darkBg:"bg-pink-900/50 text-pink-300"},{bg:"bg-teal-100 text-teal-700",darkBg:"bg-teal-900/50 text-teal-300"},{bg:"bg-indigo-100 text-indigo-700",darkBg:"bg-indigo-900/50 text-indigo-300"},{bg:"bg-cyan-100 text-cyan-700",darkBg:"bg-cyan-900/50 text-cyan-300"}];let n=0;for(let r=0;r<e.length;r++)n=e.charCodeAt(r)+((n<<5)-n);return t[Math.abs(n)%t.length]}function DB(e){const t=e.replace(/^@/,""),n=t.split(/[-_\s]+/);return n.length>=2?(n[0][0]+n[1][0]).toUpperCase():t.slice(0,2).toUpperCase()}const IB={xs:"w-4 h-4 text-[8px]",sm:"w-5 h-5 text-[10px]",md:"w-7 h-7 text-xs",lg:"w-9 h-9 text-sm"};function lu({name:e,size:t="md",className:n=""}){const{isDark:r}=In(),{initials:o,colorClass:s}=v.useMemo(()=>{const u=kB(e);return{initials:DB(e),colorClass:r?u.darkBg:u.bg}},[e,r]);return m.jsx("div",{className:`inline-flex items-center justify-center rounded-full font-medium shrink-0 ${IB[t]} ${s} ${n}`,title:e,children:o})}const PR="knowns-recent-assignees",OB=10;function Dh(){try{const e=localStorage.getItem(PR);return e?JSON.parse(e):[]}catch{return[]}}function LB(e){if(e)try{const t=Dh().filter(n=>n!==e);t.unshift(e),localStorage.setItem(PR,JSON.stringify(t.slice(0,OB)))}catch{}}function jR({value:e,onChange:t,currentUser:n="@me",showGrabButton:r=!0,placeholder:o="Select assignee...",className:s="",container:u}){const[c,p]=v.useState(!1),[f,g]=v.useState(""),[h,y]=v.useState([]);v.useEffect(()=>{y(Dh())},[]);const T=R=>{t(R),R&&(LB(R),y(Dh())),p(!1),g("")},x=()=>{T(n)},C=()=>{T("")},w=v.useMemo(()=>{if(!f)return h;const R=f.toLowerCase();return h.filter(D=>D.toLowerCase().includes(R))},[h,f]),N=v.useMemo(()=>{if(!f)return!1;const R=f.startsWith("@")?f:`@${f}`;return!h.some(D=>D.toLowerCase()===R.toLowerCase())},[f,h]);return m.jsxs("div",{className:`flex items-center gap-2 ${s}`,children:[m.jsxs(NR,{open:c,onOpenChange:p,children:[m.jsx(_R,{asChild:!0,children:m.jsxs(ea,{variant:"outline",role:"combobox","aria-expanded":c,className:"flex-1 justify-between min-w-0 overflow-hidden",children:[m.jsx("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:e?m.jsxs(m.Fragment,{children:[m.jsx(lu,{name:e,size:"sm",className:"shrink-0"}),m.jsx("span",{className:"truncate",children:e})]}):m.jsxs(m.Fragment,{children:[m.jsx(uC,{className:"w-4 h-4 opacity-50 shrink-0"}),m.jsx("span",{className:"opacity-50 truncate",children:o})]})}),m.jsx(BL,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),m.jsx(Rb,{className:"w-[250px] p-0",align:"start",container:u,children:m.jsxs(Db,{children:[m.jsx(Ib,{placeholder:"Search assignee...",value:f,onValueChange:g}),m.jsxs(Ob,{children:[m.jsx(Lb,{children:f?m.jsxs("button",{type:"button",className:"w-full px-2 py-3 text-left text-sm hover:bg-accent",onClick:()=>T(f.startsWith("@")?f:`@${f}`),children:['Add "',f.startsWith("@")?f:`@${f}`,'"']}):"No assignees found."}),m.jsxs(ls,{heading:"Actions",children:[r&&e!==n&&m.jsxs(Hi,{onSelect:x,children:[m.jsx(sC,{className:"mr-2 h-4 w-4"}),"Grab task (",n,")"]}),e&&m.jsxs(Hi,{onSelect:C,children:[m.jsx(M6,{className:"mr-2 h-4 w-4"}),"Unassign"]})]}),w.length>0&&m.jsxs(m.Fragment,{children:[m.jsx($d,{}),m.jsx(ls,{heading:"Recent",children:w.map(R=>m.jsxs(Hi,{value:R,onSelect:()=>T(R),children:[m.jsx(lu,{name:R,size:"sm",className:"mr-2"}),m.jsx("span",{className:"flex-1",children:R}),e===R&&m.jsx(Ld,{className:"h-4 w-4"})]},R))})]}),N&&f&&m.jsxs(m.Fragment,{children:[m.jsx($d,{}),m.jsx(ls,{heading:"Add New",children:m.jsxs(Hi,{onSelect:()=>T(f.startsWith("@")?f:`@${f}`),children:[m.jsx(uC,{className:"mr-2 h-4 w-4"}),'Add "',f.startsWith("@")?f:`@${f}`,'"']})})]})]})]})})]}),r&&e!==n&&m.jsx(ea,{variant:"outline",size:"icon",onClick:x,title:"Grab task",className:"shrink-0",children:m.jsx(sC,{className:"h-4 w-4"})})]})}function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yt.apply(null,arguments)}function uu(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}const wu=(function(e){if(e==null)return UB;if(typeof e=="function")return Nf(e);if(typeof e=="object")return Array.isArray(e)?MB(e):FB(e);if(typeof e=="string")return BB(e);throw new Error("Expected function, string, or object as test")});function MB(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=wu(e[n]);return Nf(r);function r(...o){let s=-1;for(;++s<t.length;)if(t[s].apply(this,o))return!0;return!1}}function FB(e){const t=e;return Nf(n);function n(r){const o=r;let s;for(s in e)if(o[s]!==t[s])return!1;return!0}}function BB(e){return Nf(t);function t(n){return n&&n.type===e}}function Nf(e){return t;function t(n,r,o){return!!(PB(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function UB(){return!0}function PB(e){return e!==null&&typeof e=="object"&&"type"in e}const HR=[],jB=!0,Gd=!1,ql="skip";function zR(e,t,n,r){let o;typeof t=="function"&&typeof n!="function"?(r=n,n=t):o=t;const s=wu(o),u=r?-1:1;c(e,void 0,[])();function c(p,f,g){const h=p&&typeof p=="object"?p:{};if(typeof h.type=="string"){const T=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(y,"name",{value:"node ("+(p.type+(T?"<"+T+">":""))+")"})}return y;function y(){let T=HR,x,C,w;if((!t||s(p,f,g[g.length-1]||void 0))&&(T=HB(n(p,g)),T[0]===Gd))return T;if("children"in p&&p.children){const N=p;if(N.children&&T[0]!==ql)for(C=(r?N.children.length:-1)+u,w=g.concat(N);C>-1&&C<N.children.length;){const R=N.children[C];if(x=c(R,C,w)(),x[0]===Gd)return x;C=typeof x[1]=="number"?x[1]:C+u}}return T}}}function HB(e){return Array.isArray(e)?e:typeof e=="number"?[jB,e]:e==null?HR:[e]}function Mn(e,t,n,r){let o,s,u;typeof t=="function"&&typeof n!="function"?(s=void 0,u=t,o=n):(s=t,u=n,o=r),zR(e,s,c,o);function c(p,f){const g=f[f.length-1],h=g?g.children.indexOf(p):void 0;return u(p,h,g)}}function Zr(e){return"children"in e?$R(e):"value"in e?e.value:""}function zB(e){return e.type==="text"?e.value:"children"in e?$R(e):""}function $R(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=zB(e.children[t]);return n.join("")}const $B={}.hasOwnProperty;function GR(e,t,n){const r=wu(t),o=t&&typeof t=="object"&&"cascade"in t?t.cascade:void 0,s=o??!0;return u(e);function u(c,p,f){const g=[];if(!r(c,p,f))return;if(GB(c)){let T=-1;for(;++T<c.children.length;){const x=u(c.children[T],T,c);x&&g.push(x)}if(s&&c.children.length>0&&g.length===0)return}const h={};let y;for(y in c)$B.call(c,y)&&(h[y]=y==="children"?g:c[y]);return h}}function GB(e){return"children"in e&&e.children!==void 0}var ud={exports:{}},WC;function VB(){return WC||(WC=1,(function(e,t){function n(r){let o=[],s;for(let u of r.split(",").map(c=>c.trim()))if(/^-?\d+$/.test(u))o.push(parseInt(u,10));else if(s=u.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[c,p,f,g]=s;if(p&&g){p=parseInt(p),g=parseInt(g);const h=p<g?1:-1;(f==="-"||f===".."||f==="‥")&&(g+=h);for(let y=p;y!==g;y+=h)o.push(y)}}return o}t.default=n,e.exports=n})(ud,ud.exports)),ud.exports}var YB=VB();const VR=Ji(YB);Tt.displayName="clike";Tt.aliases=[];function Tt(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:/[{}[\];(),.:]/}}Br.displayName="c";Br.aliases=[];function Br(e){e.register(Tt),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}eo.displayName="cpp";eo.aliases=[];function eo(e){e.register(Br),(function(t){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return n.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 n.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])})(e)}_f.displayName="arduino";_f.aliases=["ino"];function _f(e){e.register(eo),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}Nu.displayName="bash";Nu.aliases=["sh","shell"];function Nu(e){(function(t){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=t.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],u=o.variable[1].inside,c=0;c<s.length;c++)u[s[c]]=t.languages.bash[s[c]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash})(e)}to.displayName="csharp";to.aliases=["cs","dotnet"];function to(e){e.register(Tt),(function(t){function n(P,V){return P.replace(/<<(\d+)>>/g,function(H,_){return"(?:"+V[+_]+")"})}function r(P,V,H){return RegExp(n(P,V),"")}function o(P,V){for(var H=0;H<V;H++)P=P.replace(/<<self>>/g,function(){return"(?:"+P+")"});return P.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 u(P){return"\\b(?:"+P.trim().replace(/ /g,"|")+")\\b"}var c=u(s.typeDeclaration),p=RegExp(u(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),f=u(s.typeDeclaration+" "+s.contextual+" "+s.other),g=u(s.type+" "+s.typeDeclaration+" "+s.other),h=o(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),y=o(/\((?:[^()]|<<self>>)*\)/.source,2),T=/@?\b[A-Za-z_]\w*\b/.source,x=n(/<<0>>(?:\s*<<1>>)?/.source,[T,h]),C=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,x]),w=/\[\s*(?:,\s*)*\]/.source,N=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[C,w]),R=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,y,w]),D=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[R]),L=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[D,C,w]),O={keyword:p,punctuation:/[<>()?,.:[\]]/},I=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,B=/"(?:\\.|[^\\"\r\n])*"/.source,j=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[j]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[B]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[C]),lookbehind:!0,inside:O},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[T,L]),lookbehind:!0,inside:O},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[T]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[c,x]),lookbehind:!0,inside:O},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[C]),lookbehind:!0,inside:O},{pattern:r(/(\bwhere\s+)<<0>>/.source,[T]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[N]),lookbehind:!0,inside:O},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[L,g,T]),inside:O}],keyword:p,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[T]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[T]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[y]),lookbehind:!0,alias:"class-name",inside:O},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[L,C]),inside:O,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[L]),lookbehind:!0,inside:O,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[T,h]),inside:{function:r(/^<<0>>/.source,[T]),generic:{pattern:RegExp(h),alias:"class-name",inside:O}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,x,T,L,p.source,y,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[x,y]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:p,"class-name":{pattern:RegExp(L),greedy:!0,inside:O},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 G=B+"|"+I,z=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[G]),ee=o(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[z]),2),X=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,oe=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[C,ee]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[X,oe]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[X]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[ee]),inside:t.languages.csharp},"class-name":{pattern:RegExp(C),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var ue=/:[^}\r\n]+/.source,ie=o(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[z]),2),W=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ie,ue]),re=o(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[G]),2),J=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[re,ue]);function ae(P,V){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[P]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[V,ue]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[W]),lookbehind:!0,greedy:!0,inside:ae(W,ie)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[J]),lookbehind:!0,greedy:!0,inside:ae(J,re)}],char:{pattern:RegExp(I),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp})(e)}xn.displayName="markup";xn.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function xn(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(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var o={};o["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[r]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};s["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var u={};u[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:s},e.languages.insertBefore("markup","cdata",u)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}bi.displayName="css";bi.aliases=[];function bi(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}Rf.displayName="diff";Rf.aliases=[];function Rf(e){(function(t){t.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(r){var o=n[r],s=[];/^\w+$/.test(r)||s.push(/\w+/.exec(r)[0]),r==="diff"&&s.push("bold"),t.languages.diff[r]={pattern:RegExp("^(?:["+o+`].*(?:\r
|
|
54
|
-
?|
|
|
55
|
-
|(?![\\s\\S])))+`,"m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})})(e)}kf.displayName="go";kf.aliases=[];function kf(e){e.register(Tt),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"]}Df.displayName="ini";Df.aliases=[];function Df(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:/=/}}no.displayName="java";no.aliases=[];function no(e){e.register(Tt),(function(t){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[o,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:o.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:o.inside}],keyword:n,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":o,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:o.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:o.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 n.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(e)}If.displayName="regex";If.aliases=[];function If(e){(function(t){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,o={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},u="(?:[^\\\\-]|"+r.source+")",c=RegExp(u+"-"+u),p={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:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":s,escape:r}},"special-escape":n,"char-set":o,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":p}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":p}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(e)}Rn.displayName="javascript";Rn.aliases=["js"];function Rn(e){e.register(Tt),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}ws.displayName="json";ws.aliases=["webmanifest"];function ws(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}Of.displayName="kotlin";Of.aliases=["kt","kts"];function Of(e){e.register(Tt),(function(t){t.languages.kotlin=t.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete t.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.kotlin}};t.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete t.languages.kotlin.string,t.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),t.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),t.languages.kt=t.languages.kotlin,t.languages.kts=t.languages.kotlin})(e)}Lf.displayName="less";Lf.aliases=[];function Lf(e){e.register(bi),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"}})}_u.displayName="lua";_u.aliases=[];function _u(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:/[\[\](){},;]|\.+|:+/}}Mf.displayName="makefile";Mf.aliases=[];function Mf(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:/[:;(){}]/}}Ru.displayName="yaml";Ru.aliases=["yml"];function Ru(e){(function(t){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.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}),u=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(p,f){f=(f||"").replace(/m/g,"")+"m";var g=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return p});return RegExp(g,f)}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 o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+s+"|"+u+")"})),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(u),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:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml})(e)}Ff.displayName="markdown";Ff.aliases=["md"];function Ff(e){e.register(xn),(function(t){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(c){return c=c.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+c+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),u=/\|?[ \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+u+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+u+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+u+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<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:r(/!?\[(?:(?!\])<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(p){c!==p&&(t.languages.markdown[c].inside.content.inside[p]=t.languages.markdown[p])})}),t.hooks.add("after-tokenize",function(c){if(c.language!=="markdown"&&c.language!=="md")return;function p(f){if(!(!f||typeof f=="string"))for(var g=0,h=f.length;g<h;g++){var y=f[g];if(y.type!=="code"){p(y.content);continue}var T=y.content[1],x=y.content[3];if(T&&x&&T.type==="code-language"&&x.type==="code-block"&&typeof T.content=="string"){var C=T.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");C=(/[a-z][\w-]*/i.exec(C)||[""])[0].toLowerCase();var w="language-"+C;x.alias?typeof x.alias=="string"?x.alias=[x.alias,w]:x.alias.push(w):x.alias=[w]}}}p(c.tokens)}),t.hooks.add("wrap",function(c){if(c.type==="code-block"){for(var p="",f=0,g=c.classes.length;f<g;f++){var h=c.classes[f],y=/language-(.+)/.exec(h);if(y){p=y[1];break}}var T=t.languages[p];if(T)c.content=t.highlight(c.content.value,T,p);else if(p&&p!=="none"&&t.plugins.autoloader){var x="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);c.attributes.id=x,t.plugins.autoloader.loadLanguages(p,function(){var C=document.getElementById(x);C&&(C.innerHTML=t.highlight(C.textContent,t.languages[p],p))})}}}),RegExp(t.languages.markup.tag.pattern.source,"gi"),t.languages.md=t.languages.markdown})(e)}Bf.displayName="objectivec";Bf.aliases=["objc"];function Bf(e){e.register(Br),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}Uf.displayName="perl";Uf.aliases=[];function Uf(e){(function(t){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;t.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(e)}kn.displayName="markup-templating";kn.aliases=[];function kn(e){e.register(xn),(function(t){function n(r,o){return"___"+r.toUpperCase()+o+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,o,s,u){if(r.language===o){var c=r.tokenStack=[];r.code=r.code.replace(s,function(p){if(typeof u=="function"&&!u(p))return p;for(var f=c.length,g;r.code.indexOf(g=n(o,f))!==-1;)++f;return c[f]=p,g}),r.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(r,o){if(r.language!==o||!r.tokenStack)return;r.grammar=t.languages[o];var s=0,u=Object.keys(r.tokenStack);function c(p){for(var f=0;f<p.length&&!(s>=u.length);f++){var g=p[f];if(typeof g=="string"||g.content&&typeof g.content=="string"){var h=u[s],y=r.tokenStack[h],T=typeof g=="string"?g:g.content,x=n(o,h),C=T.indexOf(x);if(C>-1){++s;var w=T.substring(0,C),N=new t.Token(o,t.tokenize(y,r.grammar),"language-"+o,y),R=T.substring(C+x.length),D=[];w&&D.push.apply(D,c([w])),D.push(N),R&&D.push.apply(D,c([R])),typeof g=="string"?p.splice.apply(p,[f,1].concat(D)):g.content=D}}else g.content&&c(g.content)}return p}c(r.tokens)}}})})(e)}ro.displayName="php";ro.aliases=[];function ro(e){e.register(kn),(function(t){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,u=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:u};var c={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},p=[{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:p,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:p,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:o,operator:s,punctuation:u}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(f){if(/<\?/.test(f.code)){var g=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;t.languages["markup-templating"].buildPlaceholders(f,"php",g)}}),t.hooks.add("after-tokenize",function(f){t.languages["markup-templating"].tokenizePlaceholders(f,"php")})})(e)}ku.displayName="python";ku.aliases=["py"];function ku(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://,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}Pf.displayName="r";Pf.aliases=[];function Pf(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:/[(){}\[\],;]/}}ao.displayName="ruby";ao.aliases=["rb"];function ao(e){e.register(Tt),(function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",o=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+o),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+o+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.languages.ruby})(e)}jf.displayName="rust";jf.aliases=[];function jf(e){(function(t){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string})(e)}Hf.displayName="sass";Hf.aliases=[];function Hf(e){e.register(bi),(function(t){t.languages.sass=t.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete t.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];t.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:r,important:t.languages.sass.important}}}),delete t.languages.sass.property,delete t.languages.sass.important,t.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(e)}zf.displayName="scss";zf.aliases=[];function zf(e){e.register(bi),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}Ns.displayName="sql";Ns.aliases=[];function Ns(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:/[;[\]()`,.]/}}$f.displayName="swift";$f.aliases=[];function $f(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})}_s.displayName="typescript";_s.aliases=["ts"];function _s(e){e.register(Rn),(function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var n=t.languages.extend("typescript",{});delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),t.languages.ts=t.languages.typescript})(e)}Du.displayName="basic";Du.aliases=[];function Du(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:/[,;:()]/}}Iu.displayName="vbnet";Iu.aliases=[];function Iu(e){e.register(Du),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:/[,;:(){}]/})}let Ou=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};Ou.prototype.property={};Ou.prototype.normal={};Ou.prototype.space=null;function YR(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Ou(n,r,t)}function cu(e){return e.toLowerCase()}let _r=class{constructor(t,n){this.property=t,this.attribute=n}};_r.prototype.space=null;_r.prototype.boolean=!1;_r.prototype.booleanish=!1;_r.prototype.overloadedBoolean=!1;_r.prototype.number=!1;_r.prototype.commaSeparated=!1;_r.prototype.spaceSeparated=!1;_r.prototype.commaOrSpaceSeparated=!1;_r.prototype.mustUseProperty=!1;_r.prototype.defined=!1;let qB=0;const ft=io(),dn=io(),qR=io(),Ue=io(),Ht=io(),us=io(),or=io();function io(){return 2**++qB}const Ih=Object.freeze(Object.defineProperty({__proto__:null,boolean:ft,booleanish:dn,commaOrSpaceSeparated:or,commaSeparated:us,number:Ue,overloadedBoolean:qR,spaceSeparated:Ht},Symbol.toStringTag,{value:"Module"})),Bg=Object.keys(Ih);let Mb=class extends _r{constructor(t,n,r,o){let s=-1;if(super(t,n),XC(this,"space",o),typeof r=="number")for(;++s<Bg.length;){const u=Bg[s];XC(this,Bg[s],(r&Ih[u])===Ih[u])}}};Mb.prototype.defined=!0;function XC(e,t,n){n&&(e[t]=n)}const WB={}.hasOwnProperty;function Rs(e){const t={},n={};let r;for(r in e.properties)if(WB.call(e.properties,r)){const o=e.properties[r],s=new Mb(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[cu(r)]=r,n[cu(s.attribute)]=r}return new Ou(t,n,e.space)}const WR=Rs({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),XR=Rs({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function KR(e,t){return t in e?e[t]:t}function ZR(e,t){return KR(e,t.toLowerCase())}const QR=Rs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ZR,properties:{xmlns:null,xmlnsXLink:null}}),JR=Rs({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:dn,ariaAutoComplete:null,ariaBusy:dn,ariaChecked:dn,ariaColCount:Ue,ariaColIndex:Ue,ariaColSpan:Ue,ariaControls:Ht,ariaCurrent:null,ariaDescribedBy:Ht,ariaDetails:null,ariaDisabled:dn,ariaDropEffect:Ht,ariaErrorMessage:null,ariaExpanded:dn,ariaFlowTo:Ht,ariaGrabbed:dn,ariaHasPopup:null,ariaHidden:dn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ht,ariaLevel:Ue,ariaLive:null,ariaModal:dn,ariaMultiLine:dn,ariaMultiSelectable:dn,ariaOrientation:null,ariaOwns:Ht,ariaPlaceholder:null,ariaPosInSet:Ue,ariaPressed:dn,ariaReadOnly:dn,ariaRelevant:null,ariaRequired:dn,ariaRoleDescription:Ht,ariaRowCount:Ue,ariaRowIndex:Ue,ariaRowSpan:Ue,ariaSelected:dn,ariaSetSize:Ue,ariaSort:null,ariaValueMax:Ue,ariaValueMin:Ue,ariaValueNow:Ue,ariaValueText:null,role:null}}),XB=Rs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ZR,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:us,acceptCharset:Ht,accessKey:Ht,action:null,allow:null,allowFullScreen:ft,allowPaymentRequest:ft,allowUserMedia:ft,alt:null,as:null,async:ft,autoCapitalize:null,autoComplete:Ht,autoFocus:ft,autoPlay:ft,blocking:Ht,capture:null,charSet:null,checked:ft,cite:null,className:Ht,cols:Ue,colSpan:null,content:null,contentEditable:dn,controls:ft,controlsList:Ht,coords:Ue|us,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:qR,draggable:dn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:Ht,height:Ue,hidden:ft,high:Ue,href:null,hrefLang:null,htmlFor:Ht,httpEquiv:Ht,id:null,imageSizes:null,imageSrcSet:null,inert:ft,inputMode:null,integrity:null,is:null,isMap:ft,itemId:null,itemProp:Ht,itemRef:Ht,itemScope:ft,itemType:Ht,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ft,low:Ue,manifest:null,max:null,maxLength:Ue,media:null,method:null,min:null,minLength:Ue,multiple:ft,muted:ft,name:null,nonce:null,noModule:ft,noValidate:ft,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:ft,optimum:Ue,pattern:null,ping:Ht,placeholder:null,playsInline:ft,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ft,referrerPolicy:null,rel:Ht,required:ft,reversed:ft,rows:Ue,rowSpan:Ue,sandbox:Ht,scope:null,scoped:ft,seamless:ft,selected:ft,shadowRootClonable:ft,shadowRootDelegatesFocus:ft,shadowRootMode:null,shape:null,size:Ue,sizes:null,slot:null,span:Ue,spellCheck:dn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ue,step:null,style:null,tabIndex:Ue,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:dn,width:Ue,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ht,axis:null,background:null,bgColor:null,border:Ue,borderColor:null,bottomMargin:Ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ft,declare:ft,event:null,face:null,frame:null,frameBorder:null,hSpace:Ue,leftMargin:Ue,link:null,longDesc:null,lowSrc:null,marginHeight:Ue,marginWidth:Ue,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:Ue,rules:null,scheme:null,scrolling:dn,standby:null,summary:null,text:null,topMargin:Ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:Ue,security:null,unselectable:null}}),KB=Rs({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:KR,properties:{about:or,accentHeight:Ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ue,amplitude:Ue,arabicForm:null,ascent:Ue,attributeName:null,attributeType:null,azimuth:Ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ue,by:null,calcMode:null,capHeight:Ue,className:Ht,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ue,diffuseConstant:Ue,direction:null,display:null,dur:null,divisor:Ue,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ue,enableBackground:null,end:null,event:null,exponent:Ue,externalResourcesRequired:null,fill:null,fillOpacity:Ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:us,g2:us,glyphName:us,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ue,horizOriginX:Ue,horizOriginY:Ue,id:null,ideographic:Ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ue,k:Ue,k1:Ue,k2:Ue,k3:Ue,k4:Ue,kernelMatrix:or,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ue,overlineThickness:Ue,paintOrder:null,panose1:null,path:null,pathLength:Ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ue,pointsAtY:Ue,pointsAtZ:Ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:or,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:or,rev:or,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:or,requiredFeatures:or,requiredFonts:or,requiredFormats:or,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ue,specularExponent:Ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ue,strikethroughThickness:Ue,string:null,stroke:null,strokeDashArray:or,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ue,strokeOpacity:Ue,strokeWidth:null,style:null,surfaceScale:Ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:or,tabIndex:Ue,tableValues:null,target:null,targetX:Ue,targetY:Ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:or,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ue,underlineThickness:Ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ue,values:null,vAlphabetic:Ue,vMathematical:Ue,vectorEffect:null,vHanging:Ue,vIdeographic:Ue,version:null,vertAdvY:Ue,vertOriginX:Ue,vertOriginY:Ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ZB=/^data[-\w.:]+$/i,KC=/-[a-z]/g,QB=/[A-Z]/g;function JB(e,t){const n=cu(t);let r=t,o=_r;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ZB.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(KC,t7);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!KC.test(s)){let u=s.replace(QB,e7);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}o=Mb}return new o(r,t)}function e7(e){return"-"+e.toLowerCase()}function t7(e){return e.charAt(1).toUpperCase()}const n7=YR([XR,WR,QR,JR,XB],"html");YR([XR,WR,QR,JR,KB],"svg");const ZC=/[#.]/g;function r7(e,t){const n=e||"",r={};let o=0,s,u;for(;o<n.length;){ZC.lastIndex=o;const c=ZC.exec(n),p=n.slice(o,c?c.index:n.length);p&&(s?s==="#"?r.id=p:Array.isArray(r.className)?r.className.push(p):r.className=[p]:u=p,o+=p.length),c&&(s=c[0],o++)}return{type:"element",tagName:u||t||"div",properties:r,children:[]}}function du(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Gf(e){return e.join(" ").trim()}function fu(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const u=n.slice(o,r).trim();(u||!s)&&t.push(u),o=r+1,r=n.indexOf(",",o)}return t}function Vf(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const a7=new Set(["menu","submit","reset","button"]),ek={}.hasOwnProperty;function i7(e,t,n){return(function(o,s,...u){let c=-1,p;if(o==null)p={type:"root",children:[]},u.unshift(s);else if(p=r7(o,t),p.tagName=p.tagName.toLowerCase(),o7(s,p.tagName)){let f;for(f in s)ek.call(s,f)&&s7(e,p.properties,f,s[f])}else u.unshift(s);for(;++c<u.length;)Oh(p.children,u[c]);return p.type==="element"&&p.tagName==="template"&&(p.content={type:"root",children:p.children},p.children=[]),p})}function o7(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?a7.has(e.type.toLowerCase()):!("value"in e)}function s7(e,t,n,r){const o=JB(e,n);let s=-1,u;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;u=r}else typeof r=="boolean"?u=r:typeof r=="string"?o.spaceSeparated?u=du(r):o.commaSeparated?u=fu(r):o.commaOrSpaceSeparated?u=du(fu(r).join(" ")):u=QC(o,o.property,r):Array.isArray(r)?u=r.concat():u=o.property==="style"?l7(r):String(r);if(Array.isArray(u)){const c=[];for(;++s<u.length;)c[s]=QC(o,o.property,u[s]);u=c}o.property==="className"&&Array.isArray(t.className)&&(u=t.className.concat(u)),t[o.property]=u}}function Oh(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Oh(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Oh(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function QC(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||cu(n)===cu(t)))return!0}return n}function l7(e){const t=[];let n;for(n in e)ek.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}const u7=i7(n7,"div"),tk=["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"],JC={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 nk(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function c7(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function d7(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function ew(e){return d7(e)||nk(e)}const tw=document.createElement("i");function pu(e){const t="&"+e+";";tw.innerHTML=t;const n=tw.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const f7=["","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 p7(e,t){const n={},r=typeof n.additional=="string"?n.additional.charCodeAt(0):n.additional,o=[];let s=0,u=-1,c="",p,f;n.position&&("start"in n.position||"indent"in n.position?(f=n.position.indent,p=n.position.start):p=n.position);let g=(p?p.line:0)||1,h=(p?p.column:0)||1,y=x(),T;for(s--;++s<=e.length;)if(T===10&&(h=(f?f[u]:0)||1),T=e.charCodeAt(s),T===38){const N=e.charCodeAt(s+1);if(N===9||N===10||N===12||N===32||N===38||N===60||Number.isNaN(N)||r&&N===r){c+=String.fromCharCode(T),h++;continue}const R=s+1;let D=R,L=R,O;if(N===35){L=++D;const oe=e.charCodeAt(L);oe===88||oe===120?(O="hexadecimal",L=++D):O="decimal"}else O="named";let I="",B="",j="";const G=O==="named"?ew:O==="decimal"?nk:c7;for(L--;++L<=e.length;){const oe=e.charCodeAt(L);if(!G(oe))break;j+=String.fromCharCode(oe),O==="named"&&tk.includes(j)&&(I=j,B=pu(j))}let z=e.charCodeAt(L)===59;if(z){L++;const oe=O==="named"?pu(j):!1;oe&&(I=j,B=oe)}let ee=1+L-R,X="";if(!(!z&&n.nonTerminated===!1))if(!j)O!=="named"&&C(4,ee);else if(O==="named"){if(z&&!B)C(5,1);else if(I!==j&&(L=D+I.length,ee=1+L-D,z=!1),!z){const oe=I?1:3;if(n.attribute){const ue=e.charCodeAt(L);ue===61?(C(oe,ee),B=""):ew(ue)?B="":C(oe,ee)}else C(oe,ee)}X=B}else{z||C(2,ee);let oe=Number.parseInt(j,O==="hexadecimal"?16:10);if(m7(oe))C(7,ee),X="�";else if(oe in JC)C(6,ee),X=JC[oe];else{let ue="";g7(oe)&&C(6,ee),oe>65535&&(oe-=65536,ue+=String.fromCharCode(oe>>>10|55296),oe=56320|oe&1023),X=ue+String.fromCharCode(oe)}}if(X){w(),y=x(),s=L-1,h+=L-R+1,o.push(X);const oe=x();oe.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,X,{start:y,end:oe},e.slice(R-1,L)),y=oe}else j=e.slice(R-1,L),c+=j,h+=j.length,s=L-1}else T===10&&(g++,u++,h=0),Number.isNaN(T)?w():(c+=String.fromCharCode(T),h++);return o.join("");function x(){return{line:g,column:h,offset:s+((p?p.offset:0)||0)}}function C(N,R){let D;n.warning&&(D=x(),D.column+=R,D.offset+=R,n.warning.call(n.warningContext||void 0,f7[N],D,N))}function w(){c&&(o.push(c),n.text&&n.text.call(n.textContext||void 0,c,{start:y,end:x()}),c="")}}function m7(e){return e>=55296&&e<=57343||e>1114111}function g7(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 h7=0,cd={},yn={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++h7}),e.__id},clone:function e(t,n){n=n||{};var r,o;switch(yn.util.type(t)){case"Object":if(o=yn.util.objId(t),n[o])return n[o];r={},n[o]=r;for(var s in t)t.hasOwnProperty(s)&&(r[s]=e(t[s],n));return r;case"Array":return o=yn.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach(function(u,c){r[c]=e(u,n)}),r);default:return t}}},languages:{plain:cd,plaintext:cd,text:cd,txt:cd,extend:function(e,t){var n=yn.util.clone(yn.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r=r||yn.languages;var o=r[e],s={};for(var u in o)if(o.hasOwnProperty(u)){if(u==t)for(var c in n)n.hasOwnProperty(c)&&(s[c]=n[c]);n.hasOwnProperty(u)||(s[u]=o[u])}var p=r[e];return r[e]=s,yn.languages.DFS(yn.languages,function(f,g){g===p&&f!=e&&(this[f]=s)}),s},DFS:function e(t,n,r,o){o=o||{};var s=yn.util.objId;for(var u in t)if(t.hasOwnProperty(u)){n.call(t,u,t[u],r||u);var c=t[u],p=yn.util.type(c);p==="Object"&&!o[s(c)]?(o[s(c)]=!0,e(c,n,null,o)):p==="Array"&&!o[s(c)]&&(o[s(c)]=!0,e(c,n,u,o))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(yn.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=yn.tokenize(r.code,r.grammar),yn.hooks.run("after-tokenize",r),Wl.stringify(yn.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new b7;return wd(o,o.head,e),rk(e,o,t,o.head,0),y7(o)},hooks:{all:{},add:function(e,t){var n=yn.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=yn.hooks.all[e];if(!(!n||!n.length))for(var r=0,o;o=n[r++];)o(t)}},Token:Wl};function Wl(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=(r||"").length|0}function nw(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var s=o[1].length;o.index+=s,o[0]=o[0].slice(s)}return o}function rk(e,t,n,r,o,s){for(var u in n)if(!(!n.hasOwnProperty(u)||!n[u])){var c=n[u];c=Array.isArray(c)?c:[c];for(var p=0;p<c.length;++p){if(s&&s.cause==u+","+p)return;var f=c[p],g=f.inside,h=!!f.lookbehind,y=!!f.greedy,T=f.alias;if(y&&!f.pattern.global){var x=f.pattern.toString().match(/[imsuy]*$/)[0];f.pattern=RegExp(f.pattern.source,x+"g")}for(var C=f.pattern||f,w=r.next,N=o;w!==t.tail&&!(s&&N>=s.reach);N+=w.value.length,w=w.next){var R=w.value;if(t.length>e.length)return;if(!(R instanceof Wl)){var D=1,L;if(y){if(L=nw(C,N,e,h),!L||L.index>=e.length)break;var j=L.index,O=L.index+L[0].length,I=N;for(I+=w.value.length;j>=I;)w=w.next,I+=w.value.length;if(I-=w.value.length,N=I,w.value instanceof Wl)continue;for(var B=w;B!==t.tail&&(I<O||typeof B.value=="string");B=B.next)D++,I+=B.value.length;D--,R=e.slice(N,I),L.index-=N}else if(L=nw(C,0,R,h),!L)continue;var j=L.index,G=L[0],z=R.slice(0,j),ee=R.slice(j+G.length),X=N+R.length;s&&X>s.reach&&(s.reach=X);var oe=w.prev;z&&(oe=wd(t,oe,z),N+=z.length),E7(t,oe,D);var ue=new Wl(u,g?yn.tokenize(G,g):G,T,G);if(w=wd(t,oe,ue),ee&&wd(t,w,ee),D>1){var ie={cause:u+","+p,reach:X};rk(e,t,n,w.prev,N,ie),s&&ie.reach>s.reach&&(s.reach=ie.reach)}}}}}}function b7(){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 wd(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function E7(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}function y7(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}const ak=yn,ks={}.hasOwnProperty;function ik(){}ik.prototype=ak;const M=new ik;M.highlight=S7;M.register=T7;M.alias=v7;M.registered=x7;M.listLanguages=A7;M.util.encode=C7;M.Token.stringify=Lh;function S7(e,t){if(typeof e!="string")throw new TypeError("Expected `string` for `value`, got `"+e+"`");let n,r;if(t&&typeof t=="object")n=t;else{if(r=t,typeof r!="string")throw new TypeError("Expected `string` for `name`, got `"+r+"`");if(ks.call(M.languages,r))n=M.languages[r];else throw new Error("Unknown language: `"+r+"` is not registered")}return{type:"root",children:ak.highlight.call(M,e,n,r)}}function T7(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `syntax`, got `"+e+"`");ks.call(M.languages,e.displayName)||e(M)}function v7(e,t){const n=M.languages;let r={};typeof e=="string"?t&&(r[e]=t):r=e;let o;for(o in r)if(ks.call(r,o)){const s=r[o],u=typeof s=="string"?[s]:s;let c=-1;for(;++c<u.length;)n[u[c]]=n[o]}}function x7(e){if(typeof e!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return ks.call(M.languages,e)}function A7(){const e=M.languages,t=[];let n;for(n in e)ks.call(e,n)&&typeof e[n]=="object"&&t.push(n);return t}function Lh(e,t){if(typeof e=="string")return{type:"text",value:e};if(Array.isArray(e)){const r=[];let o=-1;for(;++o<e.length;)e[o]!==null&&e[o]!==void 0&&e[o]!==""&&r.push(Lh(e[o],t));return r}const n={attributes:{},classes:["token",e.type],content:Lh(e.content,t),language:t,tag:"span",type:e.type};return e.alias&&n.classes.push(...typeof e.alias=="string"?[e.alias]:e.alias),M.hooks.run("wrap",n),u7(n.tag+"."+n.classes.join("."),w7(n.attributes),n.content)}function C7(e){return e}function w7(e){let t;for(t in e)ks.call(e,t)&&(e[t]=p7(e[t]));return e}M.register(Tt);M.register(Br);M.register(eo);M.register(_f);M.register(Nu);M.register(to);M.register(xn);M.register(bi);M.register(Rf);M.register(kf);M.register(Df);M.register(no);M.register(If);M.register(Rn);M.register(ws);M.register(Of);M.register(Lf);M.register(_u);M.register(Mf);M.register(Ru);M.register(Ff);M.register(Bf);M.register(Uf);M.register(kn);M.register(ro);M.register(ku);M.register(Pf);M.register(ao);M.register(jf);M.register(Hf);M.register(zf);M.register(Ns);M.register($f);M.register(_s);M.register(Du);M.register(Iu);Fb.displayName="abap";Fb.aliases=[];function Fb(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:/[,.:()]/}}Bb.displayName="abnf";Bb.aliases=[];function Bb(e){(function(t){var n="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";t.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+n+"|<"+n+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(e)}Ub.displayName="actionscript";Ub.aliases=[];function Ub(e){e.register(Rn),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}})}Pb.displayName="ada";Pb.aliases=[];function Pb(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}}jb.displayName="agda";jb.aliases=[];function jb(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)}Hb.displayName="al";Hb.aliases=[];function Hb(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:/[()\[\]{}:.;,]/}}zb.displayName="antlr4";zb.aliases=["g4"];function zb(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}$b.displayName="apacheconf";$b.aliases=[];function $b(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:/\^?.*\$|\^.*\$?/}}Gb.displayName="apex";Gb.aliases=[];function Gb(e){e.register(Tt),e.register(Ns),(function(t){var n=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,r=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return n.source});function o(u){return RegExp(u.replace(/<CLASS-NAME>/g,function(){return r}),"i")}var s={keyword:n,punctuation:/[()\[\]{};,:.<>]/};t.languages.apex={comment:t.languages.clike.comment,string:t.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:t.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:n,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}})(e)}Vb.displayName="apl";Vb.aliases=[];function Vb(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"}}}Yb.displayName="applescript";Yb.aliases=[];function Yb(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:/[{}():,¬«»《》]/}}qb.displayName="aql";qb.aliases=[];function qb(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:/::|[?.:,;()[\]{}]/}}Wb.displayName="arff";Wb.aliases=[];function Wb(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:/[{},]/}}Xb.displayName="armasm";Xb.aliases=["arm-asm"];function Xb(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}Kb.displayName="arturo";Kb.aliases=["art"];function Kb(e){(function(t){var n=function(r,o){return{pattern:RegExp(/\{!/.source+"(?:"+(o||r)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+r,inside:t.languages[r]},string:/[\s\S]+/}}};t.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":n("html"),"css-string":n("css"),"js-string":n("js"),"md-string":n("md"),"sql-string":n("sql"),"sh-string":n("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},t.languages.art=t.languages.arturo})(e)}Zb.displayName="asciidoc";Zb.aliases=["adoc"];function Zb(e){(function(t){var n={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},r=t.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:n,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:n.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:n,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function o(s){s=s.split(" ");for(var u={},c=0,p=s.length;c<p;c++)u[s[c]]=r[s[c]];return u}n.inside.interpreted.inside.rest=o("macro inline replacement entity"),r["passthrough-block"].inside.rest=o("macro"),r["literal-block"].inside.rest=o("callout"),r.table.inside.rest=o("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),r["other-block"].inside.rest=o("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),r.title.inside.rest=o("macro inline replacement entity"),t.hooks.add("wrap",function(s){s.type==="entity"&&(s.attributes.title=s.content.value.replace(/&/,"&"))}),t.languages.adoc=t.languages.asciidoc})(e)}Qb.displayName="aspnet";Qb.aliases=[];function Qb(e){e.register(to),e.register(xn),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||{}}})}Jb.displayName="asm6502";Jb.aliases=[];function Jb(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:/[(),:]/}}e0.displayName="asmatmel";e0.aliases=[];function e0(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:/[(),:]/}}t0.displayName="autohotkey";t0.aliases=[];function t0(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:/[{}[\]():,]/}}n0.displayName="autoit";n0.aliases=[];function n0(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:/[\[\]().,:]/}}r0.displayName="avisynth";r0.aliases=["avs"];function r0(e){(function(t){function n(f,g){return f.replace(/<<(\d+)>>/g,function(h,y){return g[+y]})}function r(f,g,h){return RegExp(n(f,g),h)}var o=/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("|"),u=[/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("|"),p=[s,u,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:r(/\b(?:<<0>>)\s+("?)\w+\1/.source,[o],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:r(/\b(?:<<0>>)\b/.source,[p],"i"),alias:"function"},"type-cast":{pattern:r(/\b(?:<<0>>)(?=\s*\()/.source,[o],"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)}a0.displayName="avro-idl";a0.aliases=["avdl"];function a0(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"]}i0.displayName="awk";i0.aliases=["gawk"];function i0(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}o0.displayName="batch";o0.aliases=[];function o0(e){(function(t){var n=/%%?[~:\w]+%?|!\S+!/,r={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},o=/"(?:[\\"]"|[^"])*"(?!")/,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:o,parameter:r,variable:n,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:o,parameter:r,variable:n,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:o,parameter:r,variable:[n,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:s,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:o,parameter:r,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:n,number:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(e)}s0.displayName="bbcode";s0.aliases=["shortcode"];function s0(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}l0.displayName="bbj";l0.aliases=[];function l0(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)}u0.displayName="bicep";u0.aliases=[];function u0(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}c0.displayName="birb";c0.aliases=[];function c0(e){e.register(Tt),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"}})}d0.displayName="bison";d0.aliases=[];function d0(e){e.register(Br),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:/%[%?]|[|:;\[\]<>]/}}})}f0.displayName="bnf";f0.aliases=["rbnf"];function f0(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}p0.displayName="bqn";p0.aliases=[];function p0(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:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}m0.displayName="brainfuck";m0.aliases=[];function m0(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}g0.displayName="brightscript";g0.aliases=[];function g0(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}h0.displayName="bro";h0.aliases=[];function h0(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:/[{}[\];(),.:]/}}b0.displayName="bsl";b0.aliases=["oscript"];function b0(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}E0.displayName="cfscript";E0.aliases=["cfc"];function E0(e){e.register(Tt),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}y0.displayName="chaiscript";y0.aliases=[];function y0(e){e.register(Tt),e.register(eo),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]+/}}})}S0.displayName="cil";S0.aliases=[];function S0(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]+/}}T0.displayName="cilkc";T0.aliases=["cilk-c"];function T0(e){e.register(Br),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}v0.displayName="cilkcpp";v0.aliases=["cilk","cilk-cpp"];function v0(e){e.register(eo),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}x0.displayName="clojure";x0.aliases=[];function x0(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:/[{}\[\](),]/}}A0.displayName="cmake";A0.aliases=[];function A0(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:/[()>}]|\$[<{]/}}C0.displayName="cobol";C0.aliases=[];function C0(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:/[.:,()]/}}w0.displayName="coffeescript";w0.aliases=["coffee"];function w0(e){e.register(Rn),(function(t){var n=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};t.languages.coffeescript=t.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),t.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:r}}}),t.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:t.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),t.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete t.languages.coffeescript["template-string"],t.languages.coffee=t.languages.coffeescript})(e)}N0.displayName="concurnas";N0.aliases=["conc"];function N0(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}_0.displayName="csp";_0.aliases=[];function _0(e){(function(t){function n(r){return RegExp(/([ \t])/.source+"(?:"+r+")"+/(?=[\s;]|$)/.source,"i")}t.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:n(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:n(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:n(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:n(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:n(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:n(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:n(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(e)}R0.displayName="cooklang";R0.aliases=[];function R0(e){(function(t){var n=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,r=/[^{}@#]+/.source,o=/\{[^}#@]*\}/.source,s=r+o,u=/(?: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+"|"+n+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+r+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+r),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+s+"|"+n+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+r+")"),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+u+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(e)}k0.displayName="coq";k0.aliases=[];function k0(e){(function(t){for(var n=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,r=0;r<2;r++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,"[]"),t.languages.coq={comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return n})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(e)}D0.displayName="crystal";D0.aliases=[];function D0(e){e.register(ao),(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)}I0.displayName="css-extras";I0.aliases=[];function I0(e){e.register(bi),(function(t){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r;t.languages.css.selector={pattern:t.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},t.languages.css.atrule.inside["selector-function-argument"].inside=r,t.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var o={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:o,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,number:s})})(e)}O0.displayName="csv";O0.aliases=[];function O0(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}L0.displayName="cue";L0.aliases=[];function L0(e){(function(t){var n=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,r=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,o="(?:"+r.replace(/<esc>/g,n)+")";t.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+o+/(?!["'])\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)}M0.displayName="cypher";M0.aliases=[];function M0(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:/[()[\]{},;.]/}}F0.displayName="d";F0.aliases=[];function F0(e){e.register(Tt),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"}})}B0.displayName="dart";B0.aliases=[];function B0(e){e.register(Tt),(function(t){var n=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};t.languages.dart=t.languages.extend("clike",{"class-name":[o,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),t.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.dart}}},string:/[\s\S]+/}},string:void 0}),t.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),t.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":o,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(e)}U0.displayName="dataweave";U0.aliases=[];function U0(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)}P0.displayName="dax";P0.aliases=[];function P0(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:/[;\[\](){}`,.]/}}j0.displayName="dhall";j0.aliases=[];function j0(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}H0.displayName="django";H0.aliases=["jinja2"];function H0(e){e.register(kn),(function(t){t.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var n=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,r=t.languages["markup-templating"];t.hooks.add("before-tokenize",function(o){r.buildPlaceholders(o,"django",n)}),t.hooks.add("after-tokenize",function(o){r.tokenizePlaceholders(o,"django")}),t.languages.jinja2=t.languages.django,t.hooks.add("before-tokenize",function(o){r.buildPlaceholders(o,"jinja2",n)}),t.hooks.add("after-tokenize",function(o){r.tokenizePlaceholders(o,"jinja2")})})(e)}z0.displayName="dns-zone-file";z0.aliases=["dns-zone"];function z0(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"]}$0.displayName="docker";$0.aliases=["dockerfile"];function $0(e){(function(t){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return n}),o=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return o}),u={pattern:RegExp(o),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function p(f,g){return f=f.replace(/<OPT>/g,function(){return s}).replace(/<SP>/g,function(){return r}),RegExp(f,g)}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:p(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[u,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:p(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:p(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:p(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:u,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},t.languages.dockerfile=t.languages.docker})(e)}G0.displayName="dot";G0.aliases=["gv"];function G0(e){(function(t){var n="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",r={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:t.languages.markup}};function o(s,u){return RegExp(s.replace(/<ID>/g,function(){return n}),u)}t.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:o(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:r},"attr-value":{pattern:o(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:r},"attr-name":{pattern:o(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:r},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:o(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:r},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},t.languages.gv=t.languages.dot})(e)}V0.displayName="ebnf";V0.aliases=[];function V0(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:/[-=|*/!]/}}Y0.displayName="editorconfig";Y0.aliases=[];function Y0(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:/^=/}}}}q0.displayName="eiffel";q0.aliases=[];function q0(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:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}W0.displayName="ejs";W0.aliases=["eta"];function W0(e){e.register(Rn),e.register(kn),(function(t){t.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:t.languages.javascript}},t.hooks.add("before-tokenize",function(n){var r=/<%(?!%)[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"ejs",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"ejs")}),t.languages.eta=t.languages.ejs})(e)}X0.displayName="elixir";X0.aliases=[];function X0(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}}}})}K0.displayName="elm";K0.aliases=[];function K0(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:/[{}[\]|(),.:]/}}Z0.displayName="etlua";Z0.aliases=[];function Z0(e){e.register(_u),e.register(kn),(function(t){t.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:t.languages.lua}},t.hooks.add("before-tokenize",function(n){var r=/<%[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"etlua",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"etlua")})})(e)}Q0.displayName="erb";Q0.aliases=[];function Q0(e){e.register(kn),e.register(ao),(function(t){t.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:t.languages.ruby}},t.hooks.add("before-tokenize",function(n){var r=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"erb",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"erb")})})(e)}J0.displayName="erlang";J0.aliases=[];function J0(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:/[()[\]{}:;,.#|]|<<|>>/}}eE.displayName="excel-formula";eE.aliases=["xls","xlsx"];function eE(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"]}tE.displayName="fsharp";tE.aliases=[];function tE(e){e.register(Tt),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}})}nE.displayName="factor";nE.aliases=[];function nE(e){(function(t){var n={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},r={number:/\\[^\s']|%\w/},o={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:n},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:n}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:r.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:r}},s=function(f){return(f+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},u=function(f){return new RegExp("(^|\\s)(?:"+f.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(f){o[f].pattern=u(c[f])});var p=["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"];o.combinators.pattern=u(p),t.languages.factor=o})(e)}rE.displayName="false";rE.aliases=[];function rE(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)}aE.displayName="firestore-security-rules";aE.aliases=[];function aE(e){e.register(Tt),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:/,/}}})}iE.displayName="flow";iE.aliases=[];function iE(e){e.register(Rn),(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)}oE.displayName="fortran";oE.aliases=[];function oE(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:/\(\/|\/\)|[(),;:&]/}}sE.displayName="ftl";sE.aliases=[];function sE(e){e.register(kn),(function(t){for(var n=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,r=0;r<2;r++)n=n.replace(/<expr>/g,function(){return n});n=n.replace(/<expr>/g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return n})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return n})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,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:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},t.hooks.add("before-tokenize",function(s){var u=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return n}),"gi");t.languages["markup-templating"].buildPlaceholders(s,"ftl",u)}),t.hooks.add("after-tokenize",function(s){t.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})})(e)}lE.displayName="gml";lE.aliases=["gamemakerlanguage"];function lE(e){e.register(Tt),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/})}uE.displayName="gap";uE.aliases=[];function uE(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}cE.displayName="gcode";cE.aliases=[];function cE(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:/[:*]/}}dE.displayName="gdscript";dE.aliases=[];function dE(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:/[.:,;()[\]{}]/}}fE.displayName="gedcom";fE.aliases=[];function fE(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"}}}pE.displayName="gettext";pE.aliases=["po"];function pE(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}mE.displayName="gherkin";mE.aliases=[];function mE(e){(function(t){var n=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;t.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+n+")(?:"+n+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(n),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(e)}gE.displayName="git";gE.aliases=[];function gE(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}}hE.displayName="glsl";hE.aliases=[];function hE(e){e.register(Br),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/})}bE.displayName="gn";bE.aliases=["gni"];function bE(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}EE.displayName="linker-script";EE.aliases=["ld"];function EE(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"]}yE.displayName="go-module";yE.aliases=["go-mod"];function yE(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:/[()[\],]/}}SE.displayName="gradle";SE.aliases=[];function SE(e){e.register(Tt),(function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.gradle=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.gradle})(e)}TE.displayName="graphql";TE.aliases=[];function TE(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(n){if(n.language!=="graphql")return;var r=n.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),o=0;function s(w){return r[o+w]}function u(w,N){N=N||0;for(var R=0;R<w.length;R++){var D=s(R+N);if(!D||D.type!==w[R])return!1}return!0}function c(w,N){for(var R=1,D=o;D<r.length;D++){var L=r[D],O=L.content;if(L.type==="punctuation"&&typeof O=="string"){if(w.test(O))R++;else if(N.test(O)&&(R--,R===0))return D}}return-1}function p(w,N){var R=w.alias;R?Array.isArray(R)||(w.alias=R=[R]):w.alias=R=[],R.push(N)}for(;o<r.length;){var f=r[o++];if(f.type==="keyword"&&f.content==="mutation"){var g=[];if(u(["definition-mutation","punctuation"])&&s(1).content==="("){o+=2;var h=c(/^\($/,/^\)$/);if(h===-1)continue;for(;o<h;o++){var y=s(0);y.type==="variable"&&(p(y,"variable-input"),g.push(y.content))}o=h+1}if(u(["punctuation","property-query"])&&s(0).content==="{"&&(o++,p(s(0),"property-mutation"),g.length>0)){var T=c(/^\{$/,/^\}$/);if(T===-1)continue;for(var x=o;x<T;x++){var C=r[x];C.type==="variable"&&g.indexOf(C.content)>=0&&p(C,"variable-input")}}}}})}vE.displayName="groovy";vE.aliases=[];function vE(e){e.register(Tt),(function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.groovy})(e)}xE.displayName="textile";xE.aliases=[];function xE(e){e.register(xn),(function(t){var n=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,r=/\)|\((?![^|()\n]+\))/.source;function o(h,y){return RegExp(h.replace(/<MOD>/g,function(){return"(?:"+n+")"}).replace(/<PAR>/g,function(){return"(?:"+r+")"}),y||"")}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/},u=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:o(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:o(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:o(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:o(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:o(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:o(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:o(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:o(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:o(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:o(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:o(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:o(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:o(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:o(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:o(/(^\*\*|__|\?\?|[*_%@+\-^~])<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:o(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:o(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:o(/(^")<MOD>+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:o(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:o(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:o(/(^!)(?:<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=u.phrase.inside,p={inline:c.inline,link:c.link,image:c.image,footnote:c.footnote,acronym:c.acronym,mark:c.mark};u.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var f=c.inline.inside;f.bold.inside=p,f.italic.inside=p,f.inserted.inside=p,f.deleted.inside=p,f.span.inside=p;var g=c.table.inside;g.inline=p.inline,g.link=p.link,g.image=p.image,g.footnote=p.footnote,g.acronym=p.acronym,g.mark=p.mark})(e)}AE.displayName="haml";AE.aliases=[];function AE(e){e.register(ao),(function(t){t.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:t.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:t.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:t.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:t.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:t.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:t.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var n="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",r=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,u=r.length;s<u;s++){var c=r[s];c=typeof c=="string"?{filter:c,language:c}:c,t.languages[c.language]&&(o["filter-"+c.filter]={pattern:RegExp(n.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",o)})(e)}CE.displayName="handlebars";CE.aliases=["hbs","mustache"];function CE(e){e.register(kn),(function(t){t.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},t.hooks.add("before-tokenize",function(n){var r=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;t.languages["markup-templating"].buildPlaceholders(n,"handlebars",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"handlebars")}),t.languages.hbs=t.languages.handlebars,t.languages.mustache=t.languages.handlebars})(e)}Lu.displayName="haskell";Lu.aliases=["hs"];function Lu(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}wE.displayName="haxe";wE.aliases=[];function wE(e){e.register(Tt),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"}})}NE.displayName="hcl";NE.aliases=[];function NE(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:/[=\[\]{}]/}}_E.displayName="hlsl";_E.aliases=[];function _E(e){e.register(Br),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/})}RE.displayName="hoon";RE.aliases=[];function RE(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:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}kE.displayName="hpkp";kE.aliases=[];function kE(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}DE.displayName="hsts";DE.aliases=[];function DE(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}IE.displayName="uri";IE.aliases=["url"];function IE(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}OE.displayName="http";OE.aliases=[];function OE(e){(function(t){function n(g){return RegExp("(^(?:"+g+"):[ ]*(?![ ]))[^]+","i")}t.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:t.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:n(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:t.languages.csp},{pattern:n(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:t.languages.hpkp},{pattern:n(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:t.languages.hsts},{pattern:n(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var r=t.languages,o={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},s={"application/json":!0,"application/xml":!0};function u(g){var h=g.replace(/^[a-z]+\//,""),y="\\w+/(?:[\\w.-]+\\+)+"+h+"(?![+\\w.-])";return"(?:"+g+"|"+y+")"}var c;for(var p in o)if(o[p]){c=c||{};var f=s[p]?u(p):p;c[p.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+f+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:o[p]}}c&&t.languages.insertBefore("http","header",c)})(e)}LE.displayName="ichigojam";LE.aliases=[];function LE(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:/[\[,;:()\]]/}}ME.displayName="icon";ME.aliases=[];function ME(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:/[\[\](){},;]/}}FE.displayName="icu-message-format";FE.aliases=[];function FE(e){(function(t){function n(p,f){return f<=0?/[]/.source:p.replace(/<SELF>/g,function(){return n(p,f-1)})}var r=/'[{}:=,](?:[^']|'')*'(?!')/,o={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:r,greedy:!0,inside:{escape:o}},u=n(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return r.source}),8),c={pattern:RegExp(u),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};t.languages["icu-message-format"]={argument:{pattern:RegExp(u),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+n(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:o,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)}BE.displayName="idris";BE.aliases=["idr"];function BE(e){e.register(Lu),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}UE.displayName="ignore";UE.aliases=["gitignore","hgignore","npmignore"];function UE(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)}PE.displayName="inform7";PE.aliases=[];function PE(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"}}jE.displayName="io";jE.aliases=[];function jE(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:/[{}[\];(),.:]/}}HE.displayName="j";HE.aliases=[];function HE(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:/[()]/}}Ds.displayName="javadoclike";Ds.aliases=[];function Ds(e){(function(t){var n=t.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function r(s,u){var c="doc-comment",p=t.languages[s];if(p){var f=p[c];if(!f){var g={};g[c]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},p=t.languages.insertBefore(s,"comment",g),f=p[c]}if(f instanceof RegExp&&(f=p[c]={pattern:f}),Array.isArray(f))for(var h=0,y=f.length;h<y;h++)f[h]instanceof RegExp&&(f[h]={pattern:f[h]}),u(f[h]);else u(f)}}function o(s,u){typeof s=="string"&&(s=[s]),s.forEach(function(c){r(c,function(p){p.inside||(p.inside={}),p.inside.rest=u})})}Object.defineProperty(n,"addSupport",{value:o}),n.addSupport(["java","javascript","php"],n)})(e)}zE.displayName="scala";zE.aliases=[];function zE(e){e.register(no),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}$E.displayName="javadoc";$E.aliases=[];function $E(e){e.register(no),e.register(Ds),e.register(xn),(function(t){var n=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,r=/#\s*\w+(?:\s*\([^()]*\))?/.source,o=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return r});t.languages.javadoc=t.languages.extend("javadoclike",{}),t.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+o+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:t.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:n,lookbehind:!0,inside:t.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:n,lookbehind:!0,inside:{tag:t.languages.markup.tag,entity:t.languages.markup.entity,code:{pattern:/.+/,inside:t.languages.java,alias:"language-java"}}}}}],tag:t.languages.markup.tag,entity:t.languages.markup.entity}),t.languages.javadoclike.addSupport("java",t.languages.javadoc)})(e)}GE.displayName="javastacktrace";GE.aliases=[];function GE(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/}}}}VE.displayName="jexl";VE.aliases=[];function VE(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:/[{}[\](),.]/}}YE.displayName="jolie";YE.aliases=[];function YE(e){e.register(Tt),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]*:)/}})}qE.displayName="jq";qE.aliases=[];function qE(e){(function(t){var n=/\\\((?:[^()]|\([^()]*\))*\)/.source,r=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return n})),o={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+n),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},s=t.languages.jq={comment:/#.*/,property:{pattern:RegExp(r.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:o},string:{pattern:r,lookbehind:!0,greedy:!0,inside:o},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"}};o.interpolation.inside.content.inside=s})(e)}WE.displayName="js-templates";WE.aliases=[];function WE(e){e.register(Rn),(function(t){var n=t.languages.javascript["template-string"],r=n.pattern.source,o=n.inside.interpolation,s=o.inside["interpolation-punctuation"],u=o.pattern.source;function c(x,C){if(t.languages[x])return{pattern:RegExp("((?:"+C+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:x}}}}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),n].filter(Boolean);function p(x,C){return"___"+C.toUpperCase()+"_"+x+"___"}function f(x,C,w){var N={code:x,grammar:C,language:w};return t.hooks.run("before-tokenize",N),N.tokens=t.tokenize(N.code,N.grammar),t.hooks.run("after-tokenize",N),N.tokens}function g(x){var C={};C["interpolation-punctuation"]=s;var w=t.tokenize(x,C);if(w.length===3){var N=[1,1];N.push.apply(N,f(w[1],t.languages.javascript,"javascript")),w.splice.apply(w,N)}return new t.Token("interpolation",w,o.alias,x)}function h(x,C,w){var N=t.tokenize(x,{interpolation:{pattern:RegExp(u),lookbehind:!0}}),R=0,D={},L=N.map(function(j){if(typeof j=="string")return j;for(var G=j.content,z;x.indexOf(z=p(R++,w))!==-1;);return D[z]=G,z}).join(""),O=f(L,C,w),I=Object.keys(D);R=0;function B(j){for(var G=0;G<j.length;G++){if(R>=I.length)return;var z=j[G];if(typeof z=="string"||typeof z.content=="string"){var ee=I[R],X=typeof z=="string"?z:z.content,oe=X.indexOf(ee);if(oe!==-1){++R;var ue=X.substring(0,oe),ie=g(D[ee]),W=X.substring(oe+ee.length),re=[];if(ue&&re.push(ue),re.push(ie),W){var J=[W];B(J),re.push.apply(re,J)}typeof z=="string"?(j.splice.apply(j,[G,1].concat(re)),G+=re.length-1):z.content=re}}else{var ae=z.content;Array.isArray(ae)?B(ae):B([ae])}}}return B(O),new t.Token(w,O,"language-"+w,x)}var y={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};t.hooks.add("after-tokenize",function(x){if(!(x.language in y))return;function C(w){for(var N=0,R=w.length;N<R;N++){var D=w[N];if(typeof D!="string"){var L=D.content;if(!Array.isArray(L)){typeof L!="string"&&C([L]);continue}if(D.type==="template-string"){var O=L[1];if(L.length===3&&typeof O!="string"&&O.type==="embedded-code"){var I=T(O),B=O.alias,j=Array.isArray(B)?B[0]:B,G=t.languages[j];if(!G)continue;L[1]=h(I,G,j)}}else C(L)}}}C(x.tokens)});function T(x){return typeof x=="string"?x:Array.isArray(x)?x.map(T).join(""):T(x.content)}})(e)}XE.displayName="jsdoc";XE.aliases=[];function XE(e){e.register(Ds),e.register(Rn),e.register(_s),(function(t){var n=t.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,o="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";t.languages.jsdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp(o+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(o+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:n,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:t.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:n,alias:"language-javascript"}}}}),t.languages.javadoclike.addSupport("javascript",t.languages.jsdoc)})(e)}KE.displayName="n4js";KE.aliases=["n4jsd"];function KE(e){e.register(Rn),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}ZE.displayName="js-extras";ZE.aliases=[];function ZE(e){e.register(Rn),(function(t){t.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+t.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),t.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+t.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),t.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function n(p,f){return RegExp(p.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),f)}t.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:t.languages.javascript},exports:{pattern:n(/(\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:n(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],o=0;o<r.length;o++){var s=r[o],u=t.languages.javascript[s];t.util.type(u)==="RegExp"&&(u=t.languages.javascript[s]={pattern:u});var c=u.inside||{};u.inside=c,c["maybe-class-name"]=/^[A-Z][\s\S]*/}})(e)}QE.displayName="json5";QE.aliases=[];function QE(e){e.register(ws),(function(t){var n=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;t.languages.json5=t.languages.extend("json",{property:[{pattern:RegExp(n.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:n,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(e)}JE.displayName="jsonp";JE.aliases=[];function JE(e){e.register(ws),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*\()/})}ey.displayName="jsstacktrace";ey.aliases=[];function ey(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:/:/}}}}}}ty.displayName="julia";ty.aliases=[];function ty(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|[πℯ]/}}ny.displayName="keepalived";ny.aliases=[];function ny(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:/[\{\}]/}}ry.displayName="keyman";ry.aliases=[];function ry(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:/[()=,]/}}ay.displayName="kumir";ay.aliases=["kum"];function ay(e){(function(t){var n=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function r(o,s){return RegExp(o.replace(/<nonId>/g,n),s)}t.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:r(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:r(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:r(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:r(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:r(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:r(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:r(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:r(/(^|[<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)}iy.displayName="kusto";iy.aliases=[];function iy(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:/[()\[\]{},;.:]/}}oy.displayName="latex";oy.aliases=["context","tex"];function oy(e){(function(t){var n=/\\(?:[^a-z()[\]]|[a-z*]+)/i,r={"equation-command":{pattern:n,alias:"regex"}};t.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:r,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:r,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:n,alias:"selector"},punctuation:/[[\]{}&]/},t.languages.tex=t.languages.latex,t.languages.context=t.languages.latex})(e)}sy.displayName="latte";sy.aliases=[];function sy(e){e.register(Tt),e.register(kn),e.register(ro),(function(t){t.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:t.languages.php}};var n=t.languages.extend("markup",{});t.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.php}}}}}},n.tag),t.hooks.add("before-tokenize",function(r){if(r.language==="latte"){var o=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;t.languages["markup-templating"].buildPlaceholders(r,"latte",o),r.grammar=n}}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"latte")})})(e)}Mu.displayName="scheme";Mu.aliases=[];function Mu(e){(function(t){t.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(n({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function n(r){for(var o in r)r[o]=r[o].replace(/<[\w\s]+>/g,function(s){return"(?:"+r[s].trim()+")"});return r[o]}})(e)}ly.displayName="lilypond";ly.aliases=["ly"];function ly(e){e.register(Mu),(function(t){for(var n=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,r=5,o=0;o<r;o++)n=n.replace(/<expr>/g,function(){return n});n=n.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 n}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:t.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,t.languages.ly=s})(e)}uy.displayName="liquid";uy.aliases=[];function uy(e){e.register(kn),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,r=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",n,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var u=s[1];if(u==="raw"&&!r)return r=!0,!0;if(u==="endraw")return r=!1,!0}return!r})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}cy.displayName="lisp";cy.aliases=["elisp","emacs","emacs-lisp"];function cy(e){(function(t){function n(x){return RegExp(/(\()/.source+"(?:"+x+")"+/(?=[\s\)])/.source)}function r(x){return RegExp(/([\s([])/.source+"(?:"+x+")"+/(?=[\s)])/.source)}var o=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+o,u="(\\()",c="(?=\\))",p="(?=\\s)",f=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,g={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+o+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+o),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+o),alias:"property"},splice:{pattern:RegExp(",@?"+o),alias:["symbol","variable"]},keyword:[{pattern:RegExp(u+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+p),lookbehind:!0},{pattern:RegExp(u+"(?:append|by|collect|concat|do|finally|for|in|return)"+p),lookbehind:!0}],declare:{pattern:n(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:n(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:r(/nil|t/.source),lookbehind:!0},number:{pattern:r(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(u+"def(?:const|custom|group|var)\\s+"+o),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(o)}},defun:{pattern:RegExp(u+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+o+/\s+\(/.source+f+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+o),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(u+"lambda\\s+\\(\\s*(?:&?"+o+"(?:\\s+&?"+o+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(u+o),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},h={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+o+/\s+(?=\S)/.source+f+/\)/.source),inside:g},argument:{pattern:RegExp(/(^|[\s(])/.source+o),lookbehind:!0,alias:"variable"},rest:g},y="\\S+(?:\\s+\\S+)*",T={pattern:RegExp(u+f+c),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+y),inside:h},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+y),inside:h},keys:{pattern:RegExp("&key\\s+"+y+"(?:\\s+&allow-other-keys)?"),inside:h},argument:{pattern:RegExp(o),alias:"variable"},punctuation:/[()]/}};g.lambda.inside.arguments=T,g.defun.inside.arguments=t.util.clone(T),g.defun.inside.arguments.inside.sublist=T,t.languages.lisp=g,t.languages.elisp=g,t.languages.emacs=g,t.languages["emacs-lisp"]=g})(e)}dy.displayName="livescript";dy.aliases=[];function dy(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}fy.displayName="llvm";fy.aliases=[];function fy(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)}py.displayName="log";py.aliases=[];function py(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:/[\[\].,]/}}my.displayName="lolcode";my.aliases=[];function my(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}|…|,|!/}}gy.displayName="magma";gy.aliases=[];function gy(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:/[()[\]{}<>,;.:]/}}Yf.displayName="mata";Yf.aliases=[];function Yf(e){(function(t){var n=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,r=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,n);t.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(r),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(e)}hy.displayName="matlab";hy.aliases=[];function hy(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}|[.,;\[\](){}!]/}}by.displayName="maxscript";by.aliases=[];function by(e){(function(t){var n=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;t.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+n.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+n.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:n,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(e)}Ey.displayName="mel";Ey.aliases=[];function Ey(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}yy.displayName="mermaid";yy.aliases=[];function yy(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:/[(){};]/}}Sy.displayName="metafont";Sy.aliases=[];function Sy(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}}}Ty.displayName="mizar";Ty.aliases=[];function Ty(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:/\(#|#\)|[,:;\[\](){}]/}}vy.displayName="mongodb";vy.aliases=[];function vy(e){e.register(Rn),(function(t){var n=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],r=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];n=n.map(function(s){return s.replace("$","\\$")});var o="(?:"+n.join("|")+")\\b";t.languages.mongodb=t.languages.extend("javascript",{}),t.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+o+"(?:\\1)?$")}}}),t.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},t.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+r.join("|")+")\\b"),alias:"keyword"}})})(e)}xy.displayName="monkey";xy.aliases=[];function xy(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:/[.,:;()\[\]]/}}Ay.displayName="moonscript";Ay.aliases=["moon"];function Ay(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}Cy.displayName="n1ql";Cy.aliases=[];function Cy(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:/[;[\](),.{}:]/}}wy.displayName="nand2tetris-hdl";wy.aliases=[];function wy(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:/[{}[\];(),:]/}}Ny.displayName="naniscript";Ny.aliases=["nani"];function Ny(e){(function(t){var n=/\{[^\r\n\[\]{}]*\}/,r={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:n,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};t.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:n,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:r}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:n,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:r},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},t.languages.nani=t.languages.naniscript,t.hooks.add("after-tokenize",function(u){var c=u.tokens;c.forEach(function(p){if(typeof p!="string"&&p.type==="generic-text"){var f=s(p);o(f)||(p.type="bad-line",p.content=f)}})});function o(u){for(var c="[]{}",p=[],f=0;f<u.length;f++){var g=u[f],h=c.indexOf(g);if(h!==-1){if(h%2===0)p.push(h+1);else if(p.pop()!==h)return!1}}return p.length===0}function s(u){return typeof u=="string"?u:Array.isArray(u)?u.map(s).join(""):s(u.content)}})(e)}_y.displayName="nasm";_y.aliases=[];function _y(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:/[\[\]*+\-\/%<>=&|$!]/}}Ry.displayName="neon";Ry.aliases=[];function Ry(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:/[,:=[\]{}()-]/}}ky.displayName="nevod";ky.aliases=[];function ky(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\-.]+/}}Dy.displayName="nginx";Dy.aliases=[];function Dy(e){(function(t){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:n}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:n}},punctuation:/[{};]/}})(e)}Iy.displayName="nim";Iy.aliases=[];function Iy(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:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}Oy.displayName="nix";Oy.aliases=[];function Oy(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}Ly.displayName="nsis";Ly.aliases=[];function Ly(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}}}My.displayName="ocaml";My.aliases=[];function My(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/}}Fy.displayName="odin";Fy.aliases=[];function Fy(e){(function(t){var n=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;t.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:n}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:n}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(e)}By.displayName="opencl";By.aliases=[];function By(e){e.register(Br),(function(t){t.languages.opencl=t.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),t.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var n={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};t.languages.insertBefore("c","keyword",n),t.languages.cpp&&(n["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},t.languages.insertBefore("cpp","keyword",n))})(e)}Uy.displayName="openqasm";Uy.aliases=["qasm"];function Uy(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}Py.displayName="oz";Py.aliases=[];function Py(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:/[\[\](){}.:;?]/}}jy.displayName="parigp";jy.aliases=[];function jy(e){e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(function(){var t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return t=t.map(function(n){return n.split("").join(" *")}).join("|"),RegExp("\\b(?:"+t+")\\b")})(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}Hy.displayName="parser";Hy.aliases=[];function Hy(e){e.register(xn),(function(t){var n=t.languages.parser=t.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});n=t.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:n.keyword,variable:n.variable,function:n.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:n.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:n.punctuation}}}),t.languages.insertBefore("inside","punctuation",{expression:n.expression,keyword:n.keyword,variable:n.variable,function:n.function,escape:n.escape,"parser-punctuation":{pattern:n.punctuation,alias:"punctuation"}},n.tag.inside["attr-value"])})(e)}zy.displayName="pascal";zy.aliases=["objectpascal"];function zy(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}$y.displayName="pascaligo";$y.aliases=[];function $y(e){(function(t){var n=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,r=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return n}),o=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 r}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return r}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return r})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},s=["comment","keyword","builtin","operator","punctuation"].reduce(function(u,c){return u[c]=o[c],u},{});o["class-name"].forEach(function(u){u.inside=s})})(e)}Gy.displayName="psl";Gy.aliases=[];function Gy(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:/[(){}\[\];,]/}}Vy.displayName="pcaxis";Vy.aliases=["px"];function Vy(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}Yy.displayName="peoplecode";Yy.aliases=["pcode"];function Yy(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}qy.displayName="phpdoc";qy.aliases=[];function qy(e){e.register(Ds),e.register(ro),(function(t){var n=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;t.languages.phpdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+n+"\\s+)?)\\$\\w+"),lookbehind:!0}}),t.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+n),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),t.languages.javadoclike.addSupport("php",t.languages.phpdoc)})(e)}Wy.displayName="php-extras";Wy.aliases=[];function Wy(e){e.register(ro),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:/::|\\/}}})}Xy.displayName="plant-uml";Xy.aliases=["plantuml"];function Xy(e){(function(t){var n=/\$\w+|%[a-z]+%/,r=/\[[^[\]]*\]/.source,o=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,s="(?:-+"+o+"-+|\\.+"+o+"\\.+|-+(?:"+r+"-*)?|"+r+"-+|\\.+(?:"+r+"\\.*)?|"+r+"\\.+)",u=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,c=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,p=/[[?]?[ox]?/.source,f=/[ox]?[\]?]?/.source,g=p+"(?:"+s+c+"|"+u+s+"(?:"+c+")?)"+f;t.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:n}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+g+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:n,punctuation:/[:,;()[\]{}]|\.{3}/},t.languages["plant-uml"].arrow.inside.expression.inside=t.languages["plant-uml"],t.languages.plantuml=t.languages["plant-uml"]})(e)}Ky.displayName="plsql";Ky.aliases=[];function Ky(e){e.register(Ns),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"}})}Zy.displayName="powerquery";Zy.aliases=["mscript","pq"];function Zy(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}Qy.displayName="powershell";Qy.aliases=[];function Qy(e){(function(t){var n=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};n.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:n},boolean:n.boolean,variable:n.variable}})(e)}Jy.displayName="processing";Jy.aliases=[];function Jy(e){e.register(Tt),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"}})}e1.displayName="prolog";e1.aliases=[];function e1(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:/[(){}\[\],]/}}t1.displayName="promql";t1.aliases=[];function t1(e){(function(t){var n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],r=["on","ignoring","group_right","group_left","by","without"],o=["offset"],s=n.concat(r,o);t.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+r.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+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)}n1.displayName="properties";n1.aliases=[];function n1(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:/[=:]/}}r1.displayName="protobuf";r1.aliases=[];function r1(e){e.register(Tt),(function(t){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;t.languages.protobuf=t.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),t.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:n}},builtin:n,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(e)}a1.displayName="stylus";a1.aliases=[];function a1(e){(function(t){var n={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},o={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:r,punctuation:/[{}()\[\];:,]/};o.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:o}},o.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:o}},t.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:o}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:o}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:o}},"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:o.interpolation}},rest:o}},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:o.interpolation,comment:o.comment,punctuation:/[{},]/}},func:o.func,string:o.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:o.interpolation,punctuation:/[{}()\[\];:.]/}})(e)}i1.displayName="twig";i1.aliases=[];function i1(e){e.register(kn),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){if(t.language==="twig"){var n=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;e.languages["markup-templating"].buildPlaceholders(t,"twig",n)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}o1.displayName="pug";o1.aliases=[];function o1(e){e.register(Rn),e.register(xn),(function(t){t.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:t.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:t.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:t.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:t.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:t.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:t.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:t.languages.javascript}],punctuation:/[.\-!=|]+/};for(var n=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,r=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],o={},s=0,u=r.length;s<u;s++){var c=r[s];c=typeof c=="string"?{filter:c,language:c}:c,t.languages[c.language]&&(o["filter-"+c.filter]={pattern:RegExp(n.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",o)})(e)}s1.displayName="puppet";s1.aliases=[];function s1(e){(function(t){t.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var n=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:t.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];t.languages.puppet.heredoc[0].inside.interpolation=n,t.languages.puppet.string.inside["double-quoted"].inside.interpolation=n})(e)}l1.displayName="pure";l1.aliases=[];function l1(e){(function(t){t.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var n=["c",{lang:"c++",alias:"cpp"},"fortran"],r=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;n.forEach(function(o){var s=o;if(typeof o!="string"&&(s=o.alias,o=o.lang),t.languages[s]){var u={};u["inline-lang-"+s]={pattern:RegExp(r.replace("<lang>",o.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:t.util.clone(t.languages.pure["inline-lang"].inside)},u["inline-lang-"+s].inside.rest=t.util.clone(t.languages[s]),t.languages.insertBefore("pure","inline-lang",u)}}),t.languages.c&&(t.languages.pure["inline-lang"].inside.rest=t.util.clone(t.languages.c))})(e)}u1.displayName="purebasic";u1.aliases=["pbfasm"];function u1(e){e.register(Tt),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}c1.displayName="purescript";c1.aliases=["purs"];function c1(e){e.register(Lu),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}d1.displayName="qsharp";d1.aliases=["qs"];function d1(e){e.register(Tt),(function(t){function n(T,x){return T.replace(/<<(\d+)>>/g,function(C,w){return"(?:"+x[+w]+")"})}function r(T,x,C){return RegExp(n(T,x),"")}function o(T,x){for(var C=0;C<x;C++)T=T.replace(/<<self>>/g,function(){return"(?:"+T+")"});return T.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 u(T){return"\\b(?:"+T.trim().replace(/ /g,"|")+")\\b"}var c=RegExp(u(s.type+" "+s.other)),p=/\b[A-Za-z_]\w*\b/.source,f=n(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[p]),g={keyword:c,punctuation:/[<>()?,.:[\]]/},h=/"(?:\\.|[^\\"])*"/.source;t.languages.qsharp=t.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[h]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[f]),lookbehind:!0,inside:g},{pattern:r(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[f]),lookbehind:!0,inside:g}],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 y=o(n(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[h]),2);t.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:r(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[y]),greedy:!0,inside:{interpolation:{pattern:r(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[y]),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}f1.displayName="q";f1.aliases=[];function f1(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:/[(){}\[\];.]/}}p1.displayName="qml";p1.aliases=[];function p1(e){e.register(Rn),(function(t){for(var n=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,r=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,o=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return n}).replace(/<comment>/g,function(){return r}),s=0;s<2;s++)o=o.replace(/<expr>/g,function(){return o});o=o.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 o}),"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 o}),"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)}m1.displayName="qore";m1.aliases=[];function m1(e){e.register(Tt),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/})}g1.displayName="racket";g1.aliases=["rkt"];function g1(e){e.register(Mu),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}h1.displayName="cshtml";h1.aliases=["razor"];function h1(e){e.register(to),e.register(xn),(function(t){var n=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,r=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(R,D){for(var L=0;L<D;L++)R=R.replace(/<self>/g,function(){return"(?:"+R+")"});return R.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+r+")").replace(/<comment>/g,"(?:"+n+")")}var s=o(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),u=o(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),c=o(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),p=o(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),f=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+s+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+p+")?"+s+"|"+u+")*"+/(?![?!\.(\[]|<(?!\/))/.source,g=/@(?![\w()])/.source+"|"+f,h="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+g+`)[^"'@]*)+["'])`,y=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,h),T=/(?!\d)[^\s>\/=$<%]+/.source+y+/\s*\/?>/.source,x=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+y+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+T+"|"+o(/<\1/.source+y+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+T+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+T+")";t.languages.cshtml=t.languages.extend("markup",{});var C=t.languages.insertBefore("csharp","string",{html:{pattern:RegExp(x),greedy:!0,inside:t.languages.cshtml}},{csharp:t.languages.extend("csharp",{})}),w={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:C},N={pattern:RegExp(/(^|[^@])/.source+f),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:w}};t.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+T),t.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+h),t.languages.insertBefore("inside","punctuation",{value:N},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:w}},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:w}},value:N,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),t.languages.razor=t.languages.cshtml})(e)}qf.displayName="jsx";qf.aliases=[];function qf(e){e.register(Rn),e.register(xn),(function(t){var n=t.util.clone(t.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function u(f,g){return f=f.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return s}),RegExp(f,g)}s=u(s).source,t.languages.jsx=t.languages.extend("markup",n),t.languages.jsx.tag.pattern=u(/<\/?(?:[\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=n.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:u(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:u(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var c=function(f){return f?typeof f=="string"?f:typeof f.content=="string"?f.content:f.content.map(c).join(""):""},p=function(f){for(var g=[],h=0;h<f.length;h++){var y=f[h],T=!1;if(typeof y!="string"&&(y.type==="tag"&&y.content[0]&&y.content[0].type==="tag"?y.content[0].content[0].content==="</"?g.length>0&&g[g.length-1].tagName===c(y.content[0].content[1])&&g.pop():y.content[y.content.length-1].content==="/>"||g.push({tagName:c(y.content[0].content[1]),openedBraces:0}):g.length>0&&y.type==="punctuation"&&y.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&y.type==="punctuation"&&y.content==="}"?g[g.length-1].openedBraces--:T=!0),(T||typeof y=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var x=c(y);h<f.length-1&&(typeof f[h+1]=="string"||f[h+1].type==="plain-text")&&(x+=c(f[h+1]),f.splice(h+1,1)),h>0&&(typeof f[h-1]=="string"||f[h-1].type==="plain-text")&&(x=c(f[h-1])+x,f.splice(h-1,1),h--),f[h]=new t.Token("plain-text",x,null,x)}y.content&&typeof y.content!="string"&&p(y.content)}};t.hooks.add("after-tokenize",function(f){f.language!=="jsx"&&f.language!=="tsx"||p(f.tokens)})})(e)}b1.displayName="tsx";b1.aliases=[];function b1(e){e.register(qf),e.register(_s),(function(t){var n=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var r=t.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0})(e)}E1.displayName="reason";E1.aliases=[];function E1(e){e.register(Tt),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}y1.displayName="rego";y1.aliases=[];function y1(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:/[,;.\[\]{}()]/}}S1.displayName="renpy";S1.aliases=["rpy"];function S1(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}T1.displayName="rescript";T1.aliases=["res"];function T1(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}v1.displayName="rest";v1.aliases=[];function v1(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}}}x1.displayName="rip";x1.aliases=[];function x1(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`'",.:;#\/\\()<>\[\]{}]*/}}A1.displayName="roboconf";A1.aliases=[];function A1(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:/[{},.;:=]/}}C1.displayName="robotframework";C1.aliases=["robot"];function C1(e){(function(t){var n={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},r={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function o(p,f){var g={};g["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var h in f)g[h]=f[h];return g.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},g.variable=r,g.comment=n,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return p}),"im"),alias:"section",inside:g}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},u={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:r}},c={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:r}};t.languages.robotframework={settings:o("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:o("Variables"),"test-cases":o("Test Cases",{"test-name":u,documentation:s,property:c}),keywords:o("Keywords",{"keyword-name":u,documentation:s,property:c}),tasks:o("Tasks",{"task-name":u,documentation:s,property:c}),comment:n},t.languages.robot=t.languages.robotframework})(e)}w1.displayName="sas";w1.aliases=[];function w1(e){(function(t){var n=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,r=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,o={pattern:RegExp(n+"[bx]"),alias:"number"},s={pattern:/&[a-z_]\w*/i},u={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},p=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],f={pattern:RegExp(n),greedy:!0},g=/[$%@.(){}\[\];,\\]/,h={pattern:/%?\b\w+(?=\()/,alias:"keyword"},y={function:h,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":s,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:r,"numeric-constant":o,punctuation:g,string:f},T={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},x={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},C={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"},w={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},N=/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,R={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return N}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return N}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:p,function:h,"arg-value":y["arg-value"],operator:y.operator,argument:y.arg,number:r,"numeric-constant":o,punctuation:g,string:f}},D={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};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 n}),"im"),alias:"language-sql",inside:t.languages.sql},"global-statements":C,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:r,"numeric-constant":o,punctuation:g,string:f}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:p,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,alias:"language-groovy",inside:t.languages.groovy},keyword:D,"submit-statement":w,"global-statements":C,number:r,"numeric-constant":o,punctuation:g,string:f}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:p,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,alias:"language-lua",inside:t.languages.lua},keyword:D,"submit-statement":w,"global-statements":C,number:r,"numeric-constant":o,punctuation:g,string:f}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:p,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:y}},"cas-actions":R,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:y},step:c,keyword:D,function:h,format:T,altformat:x,"global-statements":C,number:r,"numeric-constant":o,punctuation:g,string:f}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return n}),"im"),lookbehind:!0,inside:y},"macro-keyword":u,"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":u,"macro-variable":s,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:g}},"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:p,number:r,"numeric-constant":o}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:y},"cas-actions":R,comment:p,function:h,format:T,altformat:x,"numeric-constant":o,datetime:{pattern:RegExp(n+"(?:dt?|t)"),alias:"number"},string:f,step:c,keyword:D,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:r,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:g}})(e)}N1.displayName="shell-session";N1.aliases=["sh-session","shellsession"];function N1(e){e.register(Nu),(function(t){var n=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");t.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return n}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:t.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},t.languages["sh-session"]=t.languages.shellsession=t.languages["shell-session"]})(e)}_1.displayName="smali";_1.aliases=[];function _1(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:/[{}(),;:]/}}R1.displayName="smalltalk";R1.aliases=[];function R1(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:/[.;:?\[\](){}]/}}k1.displayName="smarty";k1.aliases=[];function k1(e){e.register(kn),(function(t){t.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:t.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},t.languages.smarty["embedded-php"].inside.smarty.inside=t.languages.smarty,t.languages.smarty.string[0].inside.interpolation.inside.expression.inside=t.languages.smarty;var n=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,r=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return n.source}),"g");t.hooks.add("before-tokenize",function(o){var s="{literal}",u="{/literal}",c=!1;t.languages["markup-templating"].buildPlaceholders(o,"smarty",r,function(p){return p===u&&(c=!1),c?!1:(p===s&&(c=!0),!0)})}),t.hooks.add("after-tokenize",function(o){t.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})})(e)}D1.displayName="sml";D1.aliases=["smlnj"];function D1(e){(function(t){var n=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;t.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return n.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:n,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},t.languages.sml["class-name"][0].inside=t.languages.sml,t.languages.smlnj=t.languages.sml})(e)}I1.displayName="solidity";I1.aliases=["sol"];function I1(e){e.register(Tt),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}O1.displayName="solution-file";O1.aliases=["sln"];function O1(e){(function(t){var n={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};t.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:n}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:n}},guid:n,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},t.languages.sln=t.languages["solution-file"]})(e)}L1.displayName="soy";L1.aliases=[];function L1(e){e.register(kn),(function(t){var n=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;t.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:n,greedy:!0},number:r,punctuation:/[\[\].?]/}},string:{pattern:n,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:r,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},t.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,u="{literal}",c="{/literal}",p=!1;t.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(f){return f===c&&(p=!1),p?!1:(f===u&&(p=!0),!0)})}),t.hooks.add("after-tokenize",function(o){t.languages["markup-templating"].tokenizePlaceholders(o,"soy")})})(e)}Wf.displayName="turtle";Wf.aliases=["trig"];function Wf(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}M1.displayName="sparql";M1.aliases=["rq"];function M1(e){e.register(Wf),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}F1.displayName="splunk-spl";F1.aliases=[];function F1(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:/[()[\],]/}}B1.displayName="sqf";B1.aliases=[];function B1(e){e.register(Tt),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"]}U1.displayName="squirrel";U1.aliases=[];function U1(e){e.register(Tt),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"}})}P1.displayName="stan";P1.aliases=[];function P1(e){(function(t){var n=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;t.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+n.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,n],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},t.languages.stan.constraint.inside.expression.inside=t.languages.stan})(e)}j1.displayName="stata";j1.aliases=[];function j1(e){e.register(no),e.register(Yf),e.register(ku),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}H1.displayName="iecst";H1.aliases=[];function H1(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:/[()[\].,;]/}}z1.displayName="supercollider";z1.aliases=["sclang"];function z1(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}$1.displayName="systemd";$1.aliases=[];function $1(e){(function(t){var n={pattern:/^[;#].*/m,greedy:!0},r=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;t.languages.systemd={comment:n,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+r+`|(?=[^"\r
|
|
56
|
-
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+r+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:n,quoted:{pattern:RegExp(/(^|\s)/.source+r),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(e)}Fu.displayName="t4-templating";Fu.aliases=[];function Fu(e){(function(t){function n(o,s,u){return{pattern:RegExp("<#"+o+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+o+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:s,alias:u}}}}function r(o){var s=t.languages[o],u="language-"+o;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:n("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:n("=",s,u),"class-feature":n("\\+",s,u),standard:n("",s,u)}}}}t.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:r})})(e)}G1.displayName="t4-cs";G1.aliases=["t4"];function G1(e){e.register(to),e.register(Fu),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}V1.displayName="t4-vb";V1.aliases=[];function V1(e){e.register(Fu),e.register(Iu),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}Y1.displayName="tap";Y1.aliases=[];function Y1(e){e.register(Ru),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"}}}q1.displayName="tcl";q1.aliases=[];function q1(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:/[{}()\[\]]/}}W1.displayName="tt2";W1.aliases=[];function W1(e){e.register(Tt),e.register(kn),(function(t){t.languages.tt2=t.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),t.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),t.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),t.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete t.languages.tt2.string,t.hooks.add("before-tokenize",function(n){var r=/\[%[\s\S]+?%\]/g;t.languages["markup-templating"].buildPlaceholders(n,"tt2",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"tt2")})})(e)}X1.displayName="toml";X1.aliases=[];function X1(e){(function(t){var n=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function r(o){return o.replace(/__/g,function(){return n})}t.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(e)}K1.displayName="tremor";K1.aliases=["trickle","troy"];function K1(e){(function(t){t.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var n=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;t.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+n+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+n+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(n),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.tremor}}},string:/[\s\S]+/}},t.languages.troy=t.languages.tremor,t.languages.trickle=t.languages.tremor})(e)}Z1.displayName="typoscript";Z1.aliases=["tsconfig"];function Z1(e){(function(t){var n=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;t.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:n}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:n,number:/^\d+$/,punctuation:/[,|:]/}},keyword:n,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},t.languages.tsconfig=t.languages.typoscript})(e)}Q1.displayName="unrealscript";Q1.aliases=["uc","uscript"];function Q1(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}J1.displayName="uorazor";J1.aliases=[];function J1(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:/[()\[\]{}:.,]/}}eS.displayName="v";eS.aliases=[];function eS(e){e.register(Tt),(function(t){var n={pattern:/[\s\S]+/,inside:null};t.languages.v=t.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":n}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),n.inside=t.languages.v,t.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),t.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),t.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:t.languages.v.generic.inside}}}})})(e)}tS.displayName="vala";tS.aliases=[];function tS(e){e.register(Tt),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]+$/}}})}nS.displayName="velocity";nS.aliases=[];function nS(e){e.register(xn),(function(t){t.languages.velocity=t.languages.extend("markup",{});var n={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};n.variable.inside={string:n.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:n.number,boolean:n.boolean,punctuation:n.punctuation},t.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:n}},variable:n.variable}),t.languages.velocity.tag.inside["attr-value"].inside.rest=t.languages.velocity})(e)}rS.displayName="verilog";rS.aliases=[];function rS(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:/[[\];(),.:]/}}aS.displayName="vhdl";aS.aliases=[];function aS(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:/[{}[\];(),.:]/}}iS.displayName="vim";iS.aliases=[];function iS(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:/[{}[\](),;:]/}}oS.displayName="visual-basic";oS.aliases=["vb","vba"];function oS(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"]}sS.displayName="warpscript";sS.aliases=[];function sS(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/}}lS.displayName="wasm";lS.aliases=[];function lS(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:/[()]/}}uS.displayName="web-idl";uS.aliases=["webidl"];function uS(e){(function(t){var n=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,r="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+n+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,o={};t.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+n),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+r),lookbehind:!0,inside:o},{pattern:RegExp("("+/\bcallback\s+/.source+n+/\s*=\s*/.source+")"+r),lookbehind:!0,inside:o},{pattern:RegExp(/(\btypedef\b\s*)/.source+r),lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+n),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+n),lookbehind:!0},RegExp(n+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+n),lookbehind:!0},{pattern:RegExp(r+"(?="+/\s*(?:\.{3}\s*)?/.source+n+/\s*[(),;=]/.source+")"),inside:o}],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"&&(o[s]=t.languages["web-idl"][s]);t.languages.webidl=t.languages["web-idl"]})(e)}cS.displayName="wgsl";cS.aliases=[];function cS(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:/[@(){}[\],;<>:.]/}}dS.displayName="wiki";dS.aliases=[];function dS(e){e.register(xn),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}}}})}fS.displayName="wolfram";fS.aliases=["mathematica","nb","wl"];function fS(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}pS.displayName="wren";pS.aliases=[];function pS(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]+/}}}mS.displayName="xeora";mS.aliases=["xeoracube"];function mS(e){e.register(xn),(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)}gS.displayName="xml-doc";gS.aliases=[];function gS(e){e.register(xn),(function(t){function n(u,c){t.languages[u]&&t.languages.insertBefore(u,"comment",{"doc-comment":c})}var r=t.languages.markup.tag,o={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:r}},s={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:r}};n("csharp",o),n("fsharp",o),n("vbnet",s)})(e)}hS.displayName="xojo";hS.aliases=[];function hS(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:/[.,;:()]/}}bS.displayName="xquery";bS.aliases=[];function bS(e){e.register(xn),(function(t){t.languages.xquery=t.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),t.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,t.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,t.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:t.languages.xquery,alias:"language-xquery"};var n=function(o){return typeof o=="string"?o:typeof o.content=="string"?o.content:o.content.map(n).join("")},r=function(o){for(var s=[],u=0;u<o.length;u++){var c=o[u],p=!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===n(c.content[0].content[1])&&s.pop():c.content[c.content.length-1].content==="/>"||s.push({tagName:n(c.content[0].content[1]),openedBraces:0}):s.length>0&&c.type==="punctuation"&&c.content==="{"&&(!o[u+1]||o[u+1].type!=="punctuation"||o[u+1].content!=="{")&&(!o[u-1]||o[u-1].type!=="plain-text"||o[u-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"&&(p=!0)),(p||typeof c=="string")&&s.length>0&&s[s.length-1].openedBraces===0){var f=n(c);u<o.length-1&&(typeof o[u+1]=="string"||o[u+1].type==="plain-text")&&(f+=n(o[u+1]),o.splice(u+1,1)),u>0&&(typeof o[u-1]=="string"||o[u-1].type==="plain-text")&&(f=n(o[u-1])+f,o.splice(u-1,1),u--),/^\s+$/.test(f)?o[u]=f:o[u]=new t.Token("plain-text",f,null,f)}c.content&&typeof c.content!="string"&&r(c.content)}};t.hooks.add("after-tokenize",function(o){o.language==="xquery"&&r(o.tokens)})})(e)}ES.displayName="yang";ES.aliases=[];function ES(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:/[{};:]/}}yS.displayName="zig";yS.aliases=[];function yS(e){(function(t){function n(f){return function(){return f}}var r=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,o="\\b(?!"+r.source+")(?!\\d)\\w+\\b",s=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,u=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,n(s)),c=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,n(o)),p="(?!\\s)(?:!?\\s*(?:"+u+"\\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,n(p)).replace(/<ALIGN>/g,n(s))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,n(p)).replace(/<ALIGN>/g,n(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:r,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},t.languages.zig["class-name"].forEach(function(f){f.inside===null&&(f.inside=t.languages.zig)})})(e)}M.register(xn);M.register(bi);M.register(Tt);M.register(If);M.register(Rn);M.register(Fb);M.register(Bb);M.register(Ub);M.register(Pb);M.register(jb);M.register(Hb);M.register(zb);M.register($b);M.register(Ns);M.register(Gb);M.register(Vb);M.register(Yb);M.register(qb);M.register(Br);M.register(eo);M.register(_f);M.register(Wb);M.register(Xb);M.register(Nu);M.register(Ru);M.register(Ff);M.register(Kb);M.register(Zb);M.register(to);M.register(Qb);M.register(Jb);M.register(e0);M.register(t0);M.register(n0);M.register(r0);M.register(a0);M.register(i0);M.register(Du);M.register(o0);M.register(s0);M.register(l0);M.register(u0);M.register(c0);M.register(d0);M.register(f0);M.register(p0);M.register(m0);M.register(g0);M.register(h0);M.register(b0);M.register(E0);M.register(y0);M.register(S0);M.register(T0);M.register(v0);M.register(x0);M.register(A0);M.register(C0);M.register(w0);M.register(N0);M.register(_0);M.register(R0);M.register(k0);M.register(ao);M.register(D0);M.register(I0);M.register(O0);M.register(L0);M.register(M0);M.register(F0);M.register(B0);M.register(U0);M.register(P0);M.register(j0);M.register(Rf);M.register(kn);M.register(H0);M.register(z0);M.register($0);M.register(G0);M.register(V0);M.register(Y0);M.register(q0);M.register(W0);M.register(X0);M.register(K0);M.register(_u);M.register(Z0);M.register(Q0);M.register(J0);M.register(eE);M.register(tE);M.register(nE);M.register(rE);M.register(aE);M.register(iE);M.register(oE);M.register(sE);M.register(lE);M.register(uE);M.register(cE);M.register(dE);M.register(fE);M.register(pE);M.register(mE);M.register(gE);M.register(hE);M.register(bE);M.register(EE);M.register(kf);M.register(yE);M.register(SE);M.register(TE);M.register(vE);M.register(Lf);M.register(zf);M.register(xE);M.register(AE);M.register(CE);M.register(Lu);M.register(wE);M.register(NE);M.register(_E);M.register(RE);M.register(kE);M.register(DE);M.register(ws);M.register(IE);M.register(OE);M.register(LE);M.register(ME);M.register(FE);M.register(BE);M.register(UE);M.register(PE);M.register(Df);M.register(jE);M.register(HE);M.register(no);M.register(ro);M.register(Ds);M.register(zE);M.register($E);M.register(GE);M.register(VE);M.register(YE);M.register(qE);M.register(WE);M.register(_s);M.register(XE);M.register(KE);M.register(ZE);M.register(QE);M.register(JE);M.register(ey);M.register(ty);M.register(ny);M.register(ry);M.register(Of);M.register(ay);M.register(iy);M.register(oy);M.register(sy);M.register(Mu);M.register(ly);M.register(uy);M.register(cy);M.register(dy);M.register(fy);M.register(py);M.register(my);M.register(gy);M.register(Mf);M.register(Yf);M.register(hy);M.register(by);M.register(Ey);M.register(yy);M.register(Sy);M.register(Ty);M.register(vy);M.register(xy);M.register(Ay);M.register(Cy);M.register(wy);M.register(Ny);M.register(_y);M.register(Ry);M.register(ky);M.register(Dy);M.register(Iy);M.register(Oy);M.register(Ly);M.register(Bf);M.register(My);M.register(Fy);M.register(By);M.register(Uy);M.register(Py);M.register(jy);M.register(Hy);M.register(zy);M.register($y);M.register(Gy);M.register(Vy);M.register(Yy);M.register(Uf);M.register(qy);M.register(Wy);M.register(Xy);M.register(Ky);M.register(Zy);M.register(Qy);M.register(Jy);M.register(e1);M.register(t1);M.register(n1);M.register(r1);M.register(a1);M.register(i1);M.register(o1);M.register(s1);M.register(l1);M.register(u1);M.register(c1);M.register(ku);M.register(d1);M.register(f1);M.register(p1);M.register(m1);M.register(Pf);M.register(g1);M.register(h1);M.register(qf);M.register(b1);M.register(E1);M.register(y1);M.register(S1);M.register(T1);M.register(v1);M.register(x1);M.register(A1);M.register(C1);M.register(jf);M.register(w1);M.register(Hf);M.register(N1);M.register(_1);M.register(R1);M.register(k1);M.register(D1);M.register(I1);M.register(O1);M.register(L1);M.register(Wf);M.register(M1);M.register(F1);M.register(B1);M.register(U1);M.register(P1);M.register(j1);M.register(H1);M.register(z1);M.register($f);M.register($1);M.register(Fu);M.register(G1);M.register(Iu);M.register(V1);M.register(Y1);M.register(q1);M.register(W1);M.register(X1);M.register(K1);M.register(Z1);M.register(Q1);M.register(J1);M.register(eS);M.register(tS);M.register(nS);M.register(rS);M.register(aS);M.register(iS);M.register(oS);M.register(sS);M.register(lS);M.register(uS);M.register(cS);M.register(dS);M.register(fS);M.register(pS);M.register(mS);M.register(gS);M.register(hS);M.register(bS);M.register(ES);M.register(yS);function Mh(){Mh=function(o,s){return new n(o,void 0,s)};var e=RegExp.prototype,t=new WeakMap;function n(o,s,u){var c=new RegExp(o,s);return t.set(c,u||t.get(o)),Vd(c,n.prototype)}function r(o,s){var u=t.get(s);return Object.keys(u).reduce(function(c,p){var f=u[p];if(typeof f=="number")c[p]=o[f];else{for(var g=0;o[f[g]]===void 0&&g+1<f.length;)g++;c[p]=o[f[g]]}return c},Object.create(null))}return(function(o,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),s&&Vd(o,s)})(n,RegExp),n.prototype.exec=function(o){var s=e.exec.call(this,o);if(s){s.groups=r(s,this);var u=s.indices;u&&(u.groups=r(u,this))}return s},n.prototype[Symbol.replace]=function(o,s){if(typeof s=="string"){var u=t.get(this);return e[Symbol.replace].call(this,o,s.replace(/\$<([^>]+)>/g,function(p,f){var g=u[f];return"$"+(Array.isArray(g)?g.join("$"):g)}))}if(typeof s=="function"){var c=this;return e[Symbol.replace].call(this,o,function(){var p=arguments;return typeof p[p.length-1]!="object"&&(p=[].slice.call(p)).push(r(p,c)),s.apply(this,p)})}return e[Symbol.replace].call(this,o,s)},Mh.apply(this,arguments)}function Vd(e,t){return Vd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Vd(e,t)}function rw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ug(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=(function(o,s){if(o){if(typeof o=="string")return rw(o,s);var u=Object.prototype.toString.call(o).slice(8,-1);return u==="Object"&&o.constructor&&(u=o.constructor.name),u==="Map"||u==="Set"?Array.from(o):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?rw(o,s):void 0}})(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
57
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N7=function(e){return function(t){return t===void 0&&(t={}),(function(r,o){if(o&&!r.registered(o))throw new Error('The default language "'+o+'" is not registered with refractor.')})(e,t.defaultLanguage),function(r){Mn(r,"element",n)};function n(r,o,s){var u,c;if(s&&s.tagName==="pre"&&r.tagName==="code"){var p=(r==null||(u=r.data)==null?void 0:u.meta)||(r==null||(c=r.properties)==null?void 0:c.metastring)||"";r.properties.className?typeof r.properties.className=="boolean"?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[];var f,g,h=(function(O){for(var I,B=Ug(O.properties.className);!(I=B()).done;){var j=I.value;if(j.slice(0,9)==="language-")return j.slice(9).toLowerCase()}return null})(r);if(!h&&t.defaultLanguage&&r.properties.className.push("language-"+(h=t.defaultLanguage)),r.properties.className.push("code-highlight"),h)try{var y,T;T=(y=h)!=null&&y.includes("diff-")?h.split("-")[1]:h,f=e.highlight(Zr(r),T),s.properties.className=(s.properties.className||[]).concat("language-"+T)}catch(O){if(!t.ignoreMissing||!/Unknown language/.test(O.message))throw O;f=r}else f=r;f.children=(g=1,function O(I){return I.reduce(function(B,j){if(j.type==="text"){var G=j.value,z=(G.match(/\n/g)||"").length;if(z===0)j.position={start:{line:g,column:1},end:{line:g,column:1}},B.push(j);else for(var ee,X=G.split(`
|
|
58
|
-
`),oe=Ug(X.entries());!(ee=oe()).done;){var ue=ee.value,ie=ue[0],W=ue[1];B.push({type:"text",value:ie===X.length-1?W:W+`
|
|
59
|
-
`,position:{start:{line:g+ie,column:1},end:{line:g+ie,column:1}}})}return g+=z,B}if(Object.prototype.hasOwnProperty.call(j,"children")){var re=g;return j.children=O(j.children),B.push(j),j.position={start:{line:re,column:1},end:{line:g,column:1}},B}return B.push(j),B},[])})(f.children),f.position=f.children.length>0?{start:{line:f.children[0].position.start.line,column:0},end:{line:f.children[f.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var x,C=(function(O){var I=/{([\d,-]+)}/,B=O.split(",").map(function(z){return z.trim()}).join();if(I.test(B)){var j=I.exec(B)[1],G=VR(j);return function(z){return G.includes(z+1)}}return function(){return!1}})(p),w=(function(O){var I=Mh(/showLineNumbers=(\d+)/i,{lines:1});if(I.test(O)){var B=I.exec(O);return Number(B.groups.lines)}return 1})(p),N=(function(O){for(var I=new Array(O),B=0;B<O;B++)I[B]={type:"element",tagName:"span",properties:{className:[]},children:[]};return I})(f.position.end.line),R=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],D=function(){var O,I,B=x.value,j=B[0],G=B[1];G.properties.className=["code-line"];var z=GR(f,function(ee){return ee.position.start.line<=j+1&&ee.position.end.line>=j+1});G.children=z.children,!p.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||R.some(function(ee){return p.toLowerCase().includes(ee)})||(G.properties.line=[(j+w).toString()],G.properties.className.push("line-number")),C(j)&&G.properties.className.push("highlight-line"),(h==="diff"||(O=h)!=null&&O.includes("diff-"))&&Zr(G).substring(0,1)==="-"?G.properties.className.push("deleted"):(h==="diff"||(I=h)!=null&&I.includes("diff-"))&&Zr(G).substring(0,1)==="+"&&G.properties.className.push("inserted")},L=Ug(N.entries());!(x=L()).done;)D();N.length>0&&Zr(N[N.length-1]).trim()===""&&N.pop(),r.children=N}}}},_7=N7(M);class Bu{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Bu.prototype.normal={};Bu.prototype.property={};Bu.prototype.space=void 0;function ok(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new Bu(n,r,t)}function mu(e){return e.toLowerCase()}class Qn{constructor(t,n){this.attribute=n,this.property=t}}Qn.prototype.attribute="";Qn.prototype.booleanish=!1;Qn.prototype.boolean=!1;Qn.prototype.commaOrSpaceSeparated=!1;Qn.prototype.commaSeparated=!1;Qn.prototype.defined=!1;Qn.prototype.mustUseProperty=!1;Qn.prototype.number=!1;Qn.prototype.overloadedBoolean=!1;Qn.prototype.property="";Qn.prototype.spaceSeparated=!1;Qn.prototype.space=void 0;let R7=0;const mt=oo(),fn=oo(),Fh=oo(),Pe=oo(),zt=oo(),cs=oo(),sr=oo();function oo(){return 2**++R7}const Bh=Object.freeze(Object.defineProperty({__proto__:null,boolean:mt,booleanish:fn,commaOrSpaceSeparated:sr,commaSeparated:cs,number:Pe,overloadedBoolean:Fh,spaceSeparated:zt},Symbol.toStringTag,{value:"Module"})),Pg=Object.keys(Bh);class SS extends Qn{constructor(t,n,r,o){let s=-1;if(super(t,n),aw(this,"space",o),typeof r=="number")for(;++s<Pg.length;){const u=Pg[s];aw(this,Pg[s],(r&Bh[u])===Bh[u])}}}SS.prototype.defined=!0;function aw(e,t,n){n&&(e[t]=n)}function Is(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const s=new SS(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[mu(r)]=r,n[mu(s.attribute)]=r}return new Bu(t,n,e.space)}const sk=Is({properties:{ariaActiveDescendant:null,ariaAtomic:fn,ariaAutoComplete:null,ariaBusy:fn,ariaChecked:fn,ariaColCount:Pe,ariaColIndex:Pe,ariaColSpan:Pe,ariaControls:zt,ariaCurrent:null,ariaDescribedBy:zt,ariaDetails:null,ariaDisabled:fn,ariaDropEffect:zt,ariaErrorMessage:null,ariaExpanded:fn,ariaFlowTo:zt,ariaGrabbed:fn,ariaHasPopup:null,ariaHidden:fn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:zt,ariaLevel:Pe,ariaLive:null,ariaModal:fn,ariaMultiLine:fn,ariaMultiSelectable:fn,ariaOrientation:null,ariaOwns:zt,ariaPlaceholder:null,ariaPosInSet:Pe,ariaPressed:fn,ariaReadOnly:fn,ariaRelevant:null,ariaRequired:fn,ariaRoleDescription:zt,ariaRowCount:Pe,ariaRowIndex:Pe,ariaRowSpan:Pe,ariaSelected:fn,ariaSetSize:Pe,ariaSort:null,ariaValueMax:Pe,ariaValueMin:Pe,ariaValueNow:Pe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function lk(e,t){return t in e?e[t]:t}function uk(e,t){return lk(e,t.toLowerCase())}const k7=Is({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:cs,acceptCharset:zt,accessKey:zt,action:null,allow:null,allowFullScreen:mt,allowPaymentRequest:mt,allowUserMedia:mt,alt:null,as:null,async:mt,autoCapitalize:null,autoComplete:zt,autoFocus:mt,autoPlay:mt,blocking:zt,capture:null,charSet:null,checked:mt,cite:null,className:zt,cols:Pe,colSpan:null,content:null,contentEditable:fn,controls:mt,controlsList:zt,coords:Pe|cs,crossOrigin:null,data:null,dateTime:null,decoding:null,default:mt,defer:mt,dir:null,dirName:null,disabled:mt,download:Fh,draggable:fn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:mt,formTarget:null,headers:zt,height:Pe,hidden:Fh,high:Pe,href:null,hrefLang:null,htmlFor:zt,httpEquiv:zt,id:null,imageSizes:null,imageSrcSet:null,inert:mt,inputMode:null,integrity:null,is:null,isMap:mt,itemId:null,itemProp:zt,itemRef:zt,itemScope:mt,itemType:zt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:mt,low:Pe,manifest:null,max:null,maxLength:Pe,media:null,method:null,min:null,minLength:Pe,multiple:mt,muted:mt,name:null,nonce:null,noModule:mt,noValidate:mt,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:mt,optimum:Pe,pattern:null,ping:zt,placeholder:null,playsInline:mt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:mt,referrerPolicy:null,rel:zt,required:mt,reversed:mt,rows:Pe,rowSpan:Pe,sandbox:zt,scope:null,scoped:mt,seamless:mt,selected:mt,shadowRootClonable:mt,shadowRootDelegatesFocus:mt,shadowRootMode:null,shape:null,size:Pe,sizes:null,slot:null,span:Pe,spellCheck:fn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Pe,step:null,style:null,tabIndex:Pe,target:null,title:null,translate:null,type:null,typeMustMatch:mt,useMap:null,value:fn,width:Pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:zt,axis:null,background:null,bgColor:null,border:Pe,borderColor:null,bottomMargin:Pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:mt,declare:mt,event:null,face:null,frame:null,frameBorder:null,hSpace:Pe,leftMargin:Pe,link:null,longDesc:null,lowSrc:null,marginHeight:Pe,marginWidth:Pe,noResize:mt,noHref:mt,noShade:mt,noWrap:mt,object:null,profile:null,prompt:null,rev:null,rightMargin:Pe,rules:null,scheme:null,scrolling:fn,standby:null,summary:null,text:null,topMargin:Pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:mt,disableRemotePlayback:mt,prefix:null,property:null,results:Pe,security:null,unselectable:null},space:"html",transform:uk}),D7=Is({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:sr,accentHeight:Pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Pe,amplitude:Pe,arabicForm:null,ascent:Pe,attributeName:null,attributeType:null,azimuth:Pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Pe,by:null,calcMode:null,capHeight:Pe,className:zt,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:Pe,diffuseConstant:Pe,direction:null,display:null,dur:null,divisor:Pe,dominantBaseline:null,download:mt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Pe,enableBackground:null,end:null,event:null,exponent:Pe,externalResourcesRequired:null,fill:null,fillOpacity:Pe,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:cs,g2:cs,glyphName:cs,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Pe,horizOriginX:Pe,horizOriginY:Pe,id:null,ideographic:Pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Pe,k:Pe,k1:Pe,k2:Pe,k3:Pe,k4:Pe,kernelMatrix:sr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Pe,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:Pe,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:Pe,overlineThickness:Pe,paintOrder:null,panose1:null,path:null,pathLength:Pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:zt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Pe,pointsAtY:Pe,pointsAtZ:Pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sr,rev:sr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sr,requiredFeatures:sr,requiredFonts:sr,requiredFormats:sr,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:Pe,specularExponent:Pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Pe,strikethroughThickness:Pe,string:null,stroke:null,strokeDashArray:sr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Pe,strokeOpacity:Pe,strokeWidth:null,style:null,surfaceScale:Pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sr,tabIndex:Pe,tableValues:null,target:null,targetX:Pe,targetY:Pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Pe,underlineThickness:Pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Pe,values:null,vAlphabetic:Pe,vMathematical:Pe,vectorEffect:null,vHanging:Pe,vIdeographic:Pe,version:null,vertAdvY:Pe,vertOriginX:Pe,vertOriginY:Pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:lk}),ck=Is({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()}}),dk=Is({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:uk}),fk=Is({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),I7={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"},O7=/[A-Z]/g,iw=/-[a-z]/g,L7=/^data[-\w.:]+$/i;function Os(e,t){const n=mu(t);let r=t,o=Qn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&L7.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(iw,F7);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!iw.test(s)){let u=s.replace(O7,M7);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}o=SS}return new o(r,t)}function M7(e){return"-"+e.toLowerCase()}function F7(e){return e.charAt(1).toUpperCase()}const so=ok([sk,k7,ck,dk,fk],"html"),Ur=ok([sk,D7,ck,dk,fk],"svg");var Nd={},Uh={};function B7(e,t){for(var n=t,r=0;r<e.length;r++){var o=r===e.length-1,s=e.charAt(r),u=n[s]||(n[s]={chars:{}});o&&(u.self=e),n=u.chars}}function ow(e){if(e.length===0)return Nd;for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];B7(o,t)}return t}function U7(e){if(e.length===0)return Uh;for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o]=!0}return t}var dd={},sw={type:"String",optional:!0};function P7(e){var t={type:"NoArgument",optional:!1};function n(u){if(t.type&&t.type!==u&&t.type!=="NoArgument")throw new Error('Conflicting pseudo-class argument type: "'.concat(t.type,'" vs "').concat(u,'".'));t.type=u}for(var r=0,o=e;r<o.length;r++){var s=o[r];s==="NoArgument"&&(t.optional=!0),s==="Formula"&&n("Formula"),s==="FormulaOfSelector"&&(n("Formula"),t.ofSelector=!0),s==="String"&&n("String"),s==="Selector"&&n("Selector")}return t}function j7(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],s=e[o];if(s)for(var u=0,c=s;u<c.length;u++){var p=c[u];(t[p]||(t[p]=[])).push(o)}}return t}function lw(e){for(var t=j7(e),n={},r=0,o=Object.keys(t);r<o.length;r++){var s=o[r],u=t[s];u&&(n[s]=P7(u))}return n}var hs=function(){return hs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},hs.apply(this,arguments)},H7={},Ph={wildcard:!0};function z7(e){return e?typeof e=="boolean"?Ph:e:H7}function $7(e,t){return function(n,r){return t(e(n),e(r))}}function G7(e){return function(t,n){var r=e(t,n);if(!r)throw new Error("Syntax definition cannot be null or undefined.");return r}}function uw(e,t){return function(n,r){return r===!0?e:t(n===!0?e:n,r)}}function Jo(e){return function(t,n){if(!n||!t)return n;if(typeof n!="object"||n===null)throw new Error("Unexpected syntax definition extension type: ".concat(n,"."));for(var r=hs({},t),o=0,s=Object.entries(n);o<s.length;o++){var u=s[o],c=u[0],p=u[1];if(c!=="latest"){var f=e[c];r[c]=f(t[c],p)}}return r}}function Yr(e,t){return t!==void 0?t:e}function fd(e,t){return t?e?e.concat(t):t:e}function cw(e,t){if(!t)return e;if(!e)return t;for(var n=hs({},e),r=0,o=Object.entries(t);r<o.length;r++){var s=o[r],u=s[0],c=s[1];if(!c){delete n[u];continue}var p=e[u];if(!p){n[u]=c;continue}n[u]=p.concat(c)}return n}var $i=G7(Jo({baseSyntax:Yr,modules:fd,tag:uw(Ph,Jo({wildcard:Yr})),ids:Yr,classNames:Yr,nestingSelector:Yr,namespace:uw(Ph,Jo({wildcard:Yr})),combinators:fd,attributes:Jo({operators:fd,caseSensitivityModifiers:fd,unknownCaseSensitivityModifiers:Yr}),pseudoClasses:Jo({unknown:Yr,definitions:cw}),pseudoElements:Jo({unknown:Yr,notation:Yr,definitions:$7(function(e){return Array.isArray(e)?{NoArgument:e}:e},cw)})})),pk={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},mk=$i(pk,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),jh=$i(mk,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),gk=$i(jh,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid","playing","paused","autofill","modal","fullscreen","picture-in-picture","defined","loading","popover-open"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has","state"]}},pseudoElements:{definitions:{NoArgument:["marker"]}}}),Yd={"css-position-1":{latest:!1,pseudoClasses:{definitions:{NoArgument:["static","relative","absolute"]}}},"css-position-2":{latest:!1,pseudoClasses:{definitions:{NoArgument:["static","relative","absolute","fixed"]}}},"css-position-3":{latest:!1,pseudoClasses:{definitions:{NoArgument:["sticky","fixed","absolute","relative","static"]}}},"css-position-4":{latest:!0,pseudoClasses:{definitions:{NoArgument:["sticky","fixed","absolute","relative","static","initial"]}}},"css-scoping-1":{latest:!0,pseudoClasses:{definitions:{NoArgument:["host","host-context"],Selector:["host","host-context"]}},pseudoElements:{definitions:{Selector:["slotted"]}}},"css-pseudo-4":{latest:!0,pseudoElements:{definitions:{NoArgument:["marker","selection","target-text","search-text","spelling-error","grammar-error","backdrop","file-selector-button","prefix","postfix","placeholder","details-content"],String:["highlight"]}}},"css-shadow-parts-1":{latest:!0,pseudoElements:{definitions:{String:["part"]}}},"css-nesting-1":{latest:!0,nestingSelector:!0}},hk=hs(hs({},gk),{modules:Object.entries(Yd).filter(function(e){var t=e[1].latest;return t}).map(function(e){var t=e[0];return t})}),V7=$i(hk,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}}),Hh={css1:pk,css2:mk,css3:jh,"selectors-3":jh,"selectors-4":gk,latest:hk,progressive:V7};function Y7(){for(var e={pseudoClasses:{},pseudoElements:{}},t=["css1","css2","css3","selectors-3","selectors-4"],n=0,r=t;n<r.length;n++){var o=r[n],s=Hh[o];if(s.pseudoClasses&&typeof s.pseudoClasses=="object"){var u=s.pseudoClasses.definitions;if(u)for(var c=0,p=Object.entries(u);c<p.length;c++)for(var f=p[c],g=f[1],h=0,y=g;h<y.length;h++){var T=y[h];e.pseudoClasses[T]||(e.pseudoClasses[T]=[]),e.pseudoClasses[T].includes(o)||e.pseudoClasses[T].push(o)}}if(s.pseudoElements&&typeof s.pseudoElements=="object"){var u=s.pseudoElements.definitions;if(u)if(Array.isArray(u))for(var x=0,C=u;x<C.length;x++){var w=C[x];e.pseudoElements[w]||(e.pseudoElements[w]=[]),e.pseudoElements[w].includes(o)||e.pseudoElements[w].push(o)}else for(var N=0,R=Object.values(u);N<R.length;N++)for(var g=R[N],D=0,L=g;D<L.length;D++){var O=L[D];e.pseudoElements[O]||(e.pseudoElements[O]=[]),e.pseudoElements[O].includes(o)||e.pseudoElements[O].push(o)}}}for(var I=0,B=Object.entries(Yd);I<B.length;I++){var j=B[I],G=j[0],z=j[1];if(z.pseudoClasses&&typeof z.pseudoClasses=="object"){var u=z.pseudoClasses.definitions;if(u)for(var ee=0,X=Object.values(u);ee<X.length;ee++)for(var g=X[ee],oe=0,ue=g;oe<ue.length;oe++){var ie=ue[oe];e.pseudoClasses[ie]||(e.pseudoClasses[ie]=[]),e.pseudoClasses[ie].includes(G)||e.pseudoClasses[ie].push(G)}}if(z.pseudoElements&&typeof z.pseudoElements=="object"){var u=z.pseudoElements.definitions;if(u)if(Array.isArray(u))for(var W=0,re=u;W<re.length;W++){var J=re[W];e.pseudoElements[J]||(e.pseudoElements[J]=[]),e.pseudoElements[J].includes(G)||e.pseudoElements[J].push(G)}else for(var ae=0,P=Object.values(u);ae<P.length;ae++)for(var g=P[ae],V=0,H=g;V<H.length;V++){var _=H[V];e.pseudoElements[_]||(e.pseudoElements[_]=[]),e.pseudoElements[_].includes(G)||e.pseudoElements[_].push(G)}}}return e}var dw=Y7();function Ol(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="-"||e==="_"||e==="\\"||e>=" "}function fw(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="-"||e==="_"||e>=" "}function Ll(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}var q7={" ":!0," ":!0,"\n":!0,"\r":!0,"\f":!0},W7={'"':!0,"'":!0},jg={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0},X7=6,Hg="css-selector-parser parse error: ";function K7(e){e===void 0&&(e={});var t=e.syntax,n=t===void 0?"latest":t,r=e.substitutes,o=e.strict,s=o===void 0?!0:o,u=e.modules,c=typeof n=="object"?n:Hh[n];if(c.baseSyntax&&(c=$i(Hh[c.baseSyntax],c)),c.modules&&c.modules.length>0)for(var p=0,f=c.modules;p<f.length;p++){var g=f[p],h=Yd[g];h&&(c=$i(h,c))}if(u&&u.length>0)for(var y=0,T=u;y<T.length;y++){var x=T[y],h=Yd[x];h&&(c=$i(h,c))}var C=c.tag?[!0,!!z7(c.tag).wildcard]:[!1,!1],w=C[0],N=C[1],R=!!c.ids,D=!!c.classNames,L=!!c.nestingSelector,O=!!c.namespace,I=c.namespace&&(c.namespace===!0||c.namespace.wildcard===!0);if(O&&!w)throw new Error("".concat(Hg,"Namespaces cannot be enabled while tags are disabled."));var B=!!r,j=c.combinators?ow(c.combinators):Nd,G=c.attributes?[!0,c.attributes.operators?ow(c.attributes.operators):Nd,c.attributes.caseSensitivityModifiers?U7(c.attributes.caseSensitivityModifiers):Uh,c.attributes.unknownCaseSensitivityModifiers==="accept"]:[!1,Nd,Uh,!1],z=G[0],ee=G[1],X=G[2],oe=G[3],ue=oe||Object.keys(X).length>0,ie=c.pseudoClasses?[!0,c.pseudoClasses.definitions?lw(c.pseudoClasses.definitions):dd,c.pseudoClasses.unknown==="accept"]:[!1,dd,!1],W=ie[0],re=ie[1],J=ie[2],ae=c.pseudoElements?[!0,c.pseudoElements.notation==="singleColon"||c.pseudoElements.notation==="both",!c.pseudoElements.notation||c.pseudoElements.notation==="doubleColon"||c.pseudoElements.notation==="both",c.pseudoElements.definitions?lw(Array.isArray(c.pseudoElements.definitions)?{NoArgument:c.pseudoElements.definitions}:c.pseudoElements.definitions):dd,c.pseudoElements.unknown==="accept"]:[!1,!1,!1,dd,!1],P=ae[0],V=ae[1],H=ae[2],_=ae[3],ne=ae[4],se="",q=se.length,Ee=0,de="",Te=function(be){return de===be},ze=function(){return Te("*")||Ol(de)},Qe=function(be){Ee=be,de=se.charAt(Ee)},pe=function(){Ee++,de=se.charAt(Ee)},He=function(){var be=de;return Ee++,de=se.charAt(Ee),be};function $e(be){var Ie=Math.min(q-1,Ee),fe=new Error("".concat(Hg).concat(be," Pos: ").concat(Ie,"."));throw fe.position=Ie,fe.name="ParserError",fe}function xe(be,Ie){if(!be)return $e(Ie)}var rt=function(){xe(Ee<q,"Unexpected end of input.")},Me=function(){return Ee>=q},Je=function(be){xe(Ee<q,'Expected "'.concat(be,'" but end of input reached.')),xe(de===be,'Expected "'.concat(be,'" but "').concat(de,'" found.')),Ee++,de=se.charAt(Ee)};function Ze(be){var Ie=Ke(be,Ee);if(Ie)return Ee+=Ie.length,de=se.charAt(Ee),Ie}function Ke(be,Ie){var fe=se.charAt(Ie),Oe=be[fe];if(Oe){var Xe=Ke(Oe.chars,Ie+1);if(Xe)return Xe;if(Oe.self)return Oe.self}}function It(){for(var be=He(),Ie=1;Ll(de)&&Ie<X7;)be+=He(),Ie++;return st(),String.fromCharCode(parseInt(be,16))}function $t(be){var Ie="";for(Je(be);Ee<q;){if(Te(be))return pe(),Ie;Te("\\")?(pe(),Te(be)?(Ie+=be,pe()):de===`
|
|
60
|
-
`||de==="\f"?pe():de==="\r"?(pe(),Te(`
|
|
61
|
-
`)&&pe()):Ll(de)?Ie+=It():(Ie+=de,pe())):(Ie+=de,pe())}return Ie}function ot(){if(!Ol(de))return null;for(var be="";Te("-");)be+=de,pe();for(be==="-"&&!fw(de)&&!Te("\\")&&$e("Identifiers cannot consist of a single hyphen."),s&&be.length>=2&&$e("Identifiers cannot start with two hyphens with strict mode on."),jg[de]&&$e("Identifiers cannot start with hyphens followed by digits.");Ee<q;)if(fw(de))be+=He();else if(Te("\\"))pe(),rt(),Ll(de)?be+=It():be+=He();else break;return be}function we(){for(var be="";Ee<q&&!Te(")");)if(Te("\\")){if(pe(),Me()&&!s)return(be+"\\").trim();rt(),Ll(de)?be+=It():be+=He()}else be+=He();return be.trim()}function st(){if(de===" "||de===" "||de==="\f"||de===`
|
|
62
|
-
`){pe();return}de==="\r"&&pe(),de===`
|
|
63
|
-
`&&pe()}function k(){for(;q7[de];)pe()}function U(be){be===void 0&&(be=!1),k();for(var Ie=[je(be)];Te(",");)pe(),k(),Ie.push(je(be));return{type:"Selector",rules:Ie}}function K(){Je("["),k();var be;if(Te("|")){xe(O,"Namespaces are not enabled."),pe();var Ie=ot();xe(Ie,"Expected attribute name."),be={type:"Attribute",name:Ie,namespace:{type:"NoNamespace"}}}else if(Te("*")){xe(O,"Namespaces are not enabled."),xe(I,"Wildcard namespace is not enabled."),pe(),Je("|");var fe=ot();xe(fe,"Expected attribute name."),be={type:"Attribute",name:fe,namespace:{type:"WildcardNamespace"}}}else{var Oe=ot();if(xe(Oe,"Expected attribute name."),be={type:"Attribute",name:Oe},Te("|")){var Xe=Ee;if(pe(),Ol(de)){xe(O,"Namespaces are not enabled.");var Ve=ot();xe(Ve,"Expected attribute name."),be={type:"Attribute",name:Ve,namespace:{type:"NamespaceName",name:Oe}}}else Qe(Xe)}}if(xe(be.name,"Expected attribute name."),k(),Me()&&!s)return be;if(Te("]"))pe();else{if(be.operator=Ze(ee),xe(be.operator,"Expected a valid attribute selector operator."),k(),rt(),W7[de])be.value={type:"String",value:$t(de)};else if(B&&Te("$")){pe();var Nt=ot();xe(Nt,"Expected substitute name."),be.value={type:"Substitution",name:Nt}}else{var tt=ot();xe(tt,"Expected attribute value."),be.value={type:"String",value:tt}}if(k(),Me()&&!s)return be;if(!Te("]")){var lt=ot();if(xe(lt,"Expected end of attribute selector."),be.caseSensitivityModifier=lt,xe(ue,"Attribute case sensitivity modifiers are not enabled."),xe(oe||X[be.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),k(),Me()&&!s)return be}Je("]")}return be}function le(){for(var be="";jg[de];)be+=He();return xe(be!=="","Formula parse error."),parseInt(be)}var Ne=function(){return Te("-")||Te("+")||jg[de]};function Ae(){if(Te("e")||Te("o")){var be=ot();if(be==="even")return k(),[2,0];if(be==="odd")return k(),[2,1]}var Ie=null,fe=1;if(Te("-")&&(pe(),fe=-1),Ne()&&(Te("+")&&pe(),Ie=le(),!Te("\\")&&!Te("n")))return[0,Ie*fe];Ie===null&&(Ie=1),Ie*=fe;var Oe;if(Te("\\")?(pe(),Ll(de)?Oe=It():Oe=He()):Oe=He(),xe(Oe==="n",'Formula parse error: expected "n".'),k(),Te("+")||Te("-")){var Xe=Te("+")?1:-1;return pe(),k(),[Ie,Xe*le()]}else return[Ie,0]}function Fe(be,Ie,fe){var Oe;if(Te("(")){if(pe(),k(),B&&Te("$")){pe();var Xe=ot();xe(Xe,"Expected substitute name."),Oe={type:"Substitution",name:Xe}}else if(fe.type==="String")Oe={type:"String",value:we()},xe(Oe.value,"Expected ".concat(Ie," argument value."));else if(fe.type==="Selector")Oe=U(!0);else if(fe.type==="Formula"){var Ve=Ae(),Nt=Ve[0],tt=Ve[1];if(Oe={type:"Formula",a:Nt,b:tt},fe.ofSelector&&(k(),Te("o")||Te("\\"))){var lt=ot();xe(lt==="of","Formula of selector parse error."),k(),Oe={type:"FormulaOfSelector",a:Nt,b:tt,selector:je()}}}else return $e("Invalid ".concat(Ie," signature."));if(k(),Me()&&!s)return Oe;Je(")")}else xe(fe.optional,"Argument is required for ".concat(Ie,' "').concat(be,'".'));return Oe}function De(){if(Te("*"))return xe(N,"Wildcard tag name is not enabled."),pe(),{type:"WildcardTag"};if(Ol(de)){xe(w,"Tag names are not enabled.");var be=ot();return xe(be,"Expected tag name."),{type:"TagName",name:be}}else return $e("Expected tag name.")}function Re(){if(Te("*")){var be=Ee;if(pe(),!Te("|")||(pe(),!ze()))return Qe(be),De();xe(O,"Namespaces are not enabled."),xe(I,"Wildcard namespace is not enabled.");var Ie=De();return Ie.namespace={type:"WildcardNamespace"},Ie}else if(Te("|")){xe(O,"Namespaces are not enabled."),pe();var Ie=De();return Ie.namespace={type:"NoNamespace"},Ie}else if(Ol(de)){var fe=ot();if(xe(fe,"Expected tag name."),!Te("|"))return xe(w,"Tag names are not enabled."),{type:"TagName",name:fe};var be=Ee;if(pe(),!ze())return Qe(be),{type:"TagName",name:fe};xe(O,"Namespaces are not enabled.");var Ie=De();return Ie.namespace={type:"NamespaceName",name:fe},Ie}else return $e("Expected tag name.")}function je(be){var Ie,fe;be===void 0&&(be=!1);var Oe={type:"Rule",items:[]};if(be){var Xe=Ze(j);Xe&&(Oe.combinator=Xe,k())}for(;Ee<q;)if(ze())xe(Oe.items.length===0,"Unexpected tag/namespace start."),Oe.items.push(Re());else if(Te("|")){var Ve=Ee;if(pe(),ze())xe(Oe.items.length===0,"Unexpected tag/namespace start."),Qe(Ve),Oe.items.push(Re());else{Qe(Ve);break}}else if(Te(".")){xe(D,"Class names are not enabled."),pe();var Nt=ot();xe(Nt,"Expected class name."),Oe.items.push({type:"ClassName",name:Nt})}else if(Te("#")){xe(R,"IDs are not enabled."),pe();var tt=ot();xe(tt,"Expected ID name."),Oe.items.push({type:"Id",name:tt})}else if(Te("&"))xe(L,"Nesting selector is not enabled."),pe(),Oe.items.push({type:"NestingSelector"});else if(Te("["))xe(z,"Attributes are not enabled."),Oe.items.push(K());else if(Te(":")){var lt=!1,Wt=!1;pe(),Te(":")&&(xe(P,"Pseudo elements are not enabled."),xe(H,"Pseudo elements double colon notation is not enabled."),lt=!0,pe());var vt=ot();if(xe(lt||vt,"Expected pseudo-class name."),xe(!lt||vt,"Expected pseudo-element name."),xe(vt,"Expected pseudo-class name."),!(!lt||ne||Object.prototype.hasOwnProperty.call(_,vt))){var an=dw.pseudoElements[vt],Xt='Unknown pseudo-element "'.concat(vt,'"');an&&an.length>0&&(Xt+=". It is defined in: ".concat(an.join(", "))),$e(Xt+".")}if(Wt=P&&(lt||!lt&&V&&Object.prototype.hasOwnProperty.call(_,vt)),Wt){var Kt=(Ie=_[vt])!==null&&Ie!==void 0?Ie:ne&&sw,jn={type:"PseudoElement",name:vt},on=Fe(vt,"pseudo-element",Kt);on&&(xe(on.type!=="Formula"&&on.type!=="FormulaOfSelector","Pseudo-elements cannot have formula argument."),jn.argument=on),Oe.items.push(jn)}else{xe(W,"Pseudo-classes are not enabled.");var Kt=(fe=re[vt])!==null&&fe!==void 0?fe:J&&sw;if(!Kt){var an=dw.pseudoClasses[vt],Xt='Unknown pseudo-class: "'.concat(vt,'"');an&&an.length>0&&(Xt+=". It is defined in: ".concat(an.join(", "))),$e(Xt+".")}var on=Fe(vt,"pseudo-class",Kt),Hn={type:"PseudoClass",name:vt};on&&(Hn.argument=on),Oe.items.push(Hn)}}else break;if(Oe.items.length===0)return Me()?$e("Expected rule but end of input reached."):$e('Expected rule but "'.concat(de,'" found.'));if(k(),!Me()&&!Te(",")&&!Te(")")){var Xe=Ze(j);k(),Oe.nestedRule=je(),Oe.nestedRule.combinator=Xe}return Oe}return function(be){if(typeof be!="string")throw new Error("".concat(Hg,"Expected string input."));return se=be,q=se.length,Ee=0,de=se.charAt(0),U()}}const Z7=K7({syntax:"selectors-4"});function Q7(e){if(typeof e!="string")throw new TypeError("Expected `string` as selector, not `"+e+"`");return Z7(e)}const bk="֑-߿יִ-﷽ﹰ-ﻼ",Ek="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",J7=new RegExp("^[^"+Ek+"]*["+bk+"]"),e9=new RegExp("^[^"+bk+"]*["+Ek+"]");function t9(e){const t=String(e||"");return J7.test(t)?"rtl":e9.test(t)?"ltr":"neutral"}function n9(e,t){const n=e.schema,r=e.language,o=e.direction,s=e.editableOrEditingHost;let u;if(t.type==="element"){const f=t.properties.xmlLang||t.properties.lang,g=t.properties.type||"text",h=pw(t);f!=null&&(e.language=String(f)),n&&n.space==="html"?(t.properties.contentEditable==="true"&&(e.editableOrEditingHost=!0),t.tagName==="svg"&&(e.schema=Ur),h==="rtl"?u=h:h==="ltr"||h!=="auto"&&t.tagName==="html"||h!=="auto"&&t.tagName==="input"&&g==="tel"?u="ltr":(h==="auto"||t.tagName==="bdi")&&(t.tagName==="textarea"?u=zg(Zr(t)):t.tagName==="input"&&(g==="email"||g==="search"||g==="tel"||g==="text")?u=t.properties.value?zg(String(t.properties.value)):"ltr":Mn(t,p)),u&&(e.direction=u)):e.editableOrEditingHost&&(e.editableOrEditingHost=!1)}return c;function c(){e.schema=n,e.language=r,e.direction=o,e.editableOrEditingHost=s}function p(f){if(f.type==="text")return u=zg(f.value),u?Gd:void 0;if(f!==t&&f.type==="element"&&(f.tagName==="bdi"||f.tagName==="script"||f.tagName==="style"||f.tagName==="textare"||pw(f)))return ql}}function zg(e){const t=t9(e);return t==="neutral"?void 0:t}function pw(e){const t=e.type==="element"&&typeof e.properties.dir=="string"?e.properties.dir.toLowerCase():void 0;return t==="auto"||t==="ltr"||t==="rtl"?t:void 0}function r9(e,t,n){const r=Os(n,e.name),o=t.properties[r.property];let s=a9(o,r);if(!e.value)return s!==void 0;e.value.type;let u=e.value.value;if(e.caseSensitivityModifier==="i"&&(u=u.toLowerCase(),s&&(s=s.toLowerCase())),s!==void 0)switch(e.operator){case"=":return u===s;case"$=":return u===s.slice(-u.length);case"*=":return s.includes(u);case"^=":return u===s.slice(0,u.length);case"|=":return u===s||u===s.slice(0,u.length)&&s.charAt(u.length)==="-";case"~=":return u===s||du(s).includes(u)}return!1}function a9(e,t){if(e!=null)if(typeof e=="boolean"){if(e)return t.attribute}else if(Array.isArray(e)){if(e.length>0)return(t.commaSeparated?Vf:Gf)(e)}else return String(e)}const i9=[];function o9(e,t){return(t.properties.className||i9).includes(e.name)}function s9(e,t){return t.properties.id===e.name}function l9(e,t){return e.name===t.tagName}function u9(e,t){return function(n,r){let o=mw(n,"tag");const s=mw(r??"*","range"),u=[];let c=-1;for(;++c<s.length;){const p=s[c].toLowerCase();if(!t&&p==="*")continue;let f=-1;const g=[];for(;++f<o.length;)if(e(o[f].toLowerCase(),p)){if(!t)return o[f];u.push(o[f])}else g.push(o[f]);o=g}return t?u:void 0}}const c9=u9(function(e,t){const n=e.split("-"),r=t.split("-");let o=0,s=0;if(r[s]!=="*"&&n[o]!==r[s])return!1;for(o++,s++;s<r.length;){if(r[s]==="*"){s++;continue}if(!n[o])return!1;if(n[o]===r[s]){o++,s++;continue}if(n[o].length===1)return!1;o++}return!0},!0);function mw(e,t){const n=e&&typeof e=="string"?[e]:e;if(!n||typeof n!="object"||!("length"in n))throw new Error("Invalid "+t+" `"+n+"`, expected non-empty string");return n}const d9={}.hasOwnProperty;function Ki(e,t){const n=e.type==="element"&&d9.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}const f9=/[ \t\n\f\r]/g;function Uu(e){return typeof e=="object"?e.type==="text"?gw(e.value):!1:gw(e)}function gw(e){return e.replace(f9,"")===""}const p9=new Set([9,10,12,13,32]),hw=48,m9=57;function g9(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,n=0,r=s(),o=u();if(t<e.length&&e.charAt(t)==="n"&&(t++,n=r*(o??1),c(),t<e.length?(r=s(),c(),o=u()):r=o=0),o===null||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*o];function s(){return e.charAt(t)==="-"?(t++,-1):(e.charAt(t)==="+"&&t++,1)}function u(){const p=t;let f=0;for(;t<e.length&&e.charCodeAt(t)>=hw&&e.charCodeAt(t)<=m9;)f=f*10+(e.charCodeAt(t)-hw),t++;return t===p?null:f}function c(){for(;t<e.length&&p9.has(e.charCodeAt(t));)t++}}var $g,bw;function h9(){return bw||(bw=1,$g={trueFunc:function(){return!0},falseFunc:function(){return!1}}),$g}var b9=h9();const Ew=Ji(b9);function E9(e){const t=e[0],n=e[1]-1;if(n<0&&t<=0)return Ew.falseFunc;if(t===-1)return s=>s<=n;if(t===0)return s=>s===n;if(t===1)return n<0?Ew.trueFunc:s=>s>=n;const r=Math.abs(t),o=(n%r+r)%r;return t>1?s=>s>=n&&s%r===o:s=>s<=n&&s%r===o}function yw(e){return E9(g9(e))}const Sw={}.hasOwnProperty;function Xf(e,t){const n=t||{};function r(o,...s){let u=r.invalid;const c=r.handlers;if(o&&Sw.call(o,e)){const p=String(o[e]);u=Sw.call(c,p)?c[p]:r.unknown}if(u)return u.call(this,o,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const y9=yw.default||yw,S9=Xf("name",{handlers:{"any-link":T9,blank:v9,checked:x9,dir:A9,disabled:yk,empty:C9,enabled:w9,"first-child":N9,"first-of-type":_9,has:R9,is:Sk,lang:D9,"last-child":I9,"last-of-type":O9,not:L9,"nth-child":M9,"nth-last-child":F9,"nth-last-of-type":B9,"nth-of-type":U9,"only-child":P9,"only-of-type":j9,optional:H9,"read-only":z9,"read-write":Tk,required:vk,root:$9,scope:G9},invalid:k9,unknown:V9});function T9(e,t){return(t.tagName==="a"||t.tagName==="area"||t.tagName==="link")&&Ki(t,"href")}function aa(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function v9(e,t){return!xk(t,n);function n(r){return r.type==="element"||r.type==="text"&&!Uu(r)}}function x9(e,t){return t.tagName==="input"||t.tagName==="menuitem"?!!((t.properties.type==="checkbox"||t.properties.type==="radio")&&Ki(t,"checked")):t.tagName==="option"?Ki(t,"selected"):!1}function A9(e,t,n,r,o){return e.argument,e.argument.type,o.direction===e.argument.value}function yk(e,t){return(t.tagName==="button"||t.tagName==="input"||t.tagName==="select"||t.tagName==="textarea"||t.tagName==="optgroup"||t.tagName==="option"||t.tagName==="menuitem"||t.tagName==="fieldset")&&Ki(t,"disabled")}function C9(e,t){return!xk(t,n);function n(r){return r.type==="element"||r.type==="text"}}function w9(e,t){return!yk(e,t)}function N9(e,t,n,r,o){return aa(o,e),o.elementIndex===0}function _9(e,t,n,r,o){return aa(o,e),o.typeIndex===0}function Kf(e){let t=e._cachedFn;if(!t){const n=e.argument;if(n.type!=="Formula")throw new Error("Expected `nth` formula, such as `even` or `2n+1` (`of` is not yet supported)");t=y9(n.a+"n+"+n.b),e._cachedFn=t}return t}function R9(e,t,n,r,o){e.argument,e.argument.type;const s={...o,found:!1,one:!0,results:[],rootQuery:e.argument,scopeElements:[t],shallow:!1};return TS(s,{type:"root",children:t.children}),s.results.length>0}function k9(){}function Sk(e,t,n,r,o){e.argument,e.argument.type;const s={...o,found:!1,one:!0,results:[],rootQuery:e.argument,scopeElements:[t],shallow:!1};return TS(s,t),s.results[0]===t}function D9(e,t,n,r,o){return e.argument,e.argument.type,o.language!==""&&o.language!==void 0&&c9(o.language,fu(e.argument.value)).length>0}function I9(e,t,n,r,o){return aa(o,e),!!(o.elementCount&&o.elementIndex===o.elementCount-1)}function O9(e,t,n,r,o){return aa(o,e),typeof o.typeIndex=="number"&&typeof o.typeCount=="number"&&o.typeIndex===o.typeCount-1}function L9(e,t,n,r,o){return!Sk(e,t,n,r,o)}function M9(e,t,n,r,o){const s=Kf(e);return aa(o,e),typeof o.elementIndex=="number"&&s(o.elementIndex)}function F9(e,t,n,r,o){const s=Kf(e);return aa(o,e),!!(typeof o.elementCount=="number"&&typeof o.elementIndex=="number"&&s(o.elementCount-o.elementIndex-1))}function B9(e,t,n,r,o){const s=Kf(e);return aa(o,e),typeof o.typeCount=="number"&&typeof o.typeIndex=="number"&&s(o.typeCount-1-o.typeIndex)}function U9(e,t,n,r,o){const s=Kf(e);return aa(o,e),typeof o.typeIndex=="number"&&s(o.typeIndex)}function P9(e,t,n,r,o){return aa(o,e),o.elementCount===1}function j9(e,t,n,r,o){return aa(o,e),o.typeCount===1}function H9(e,t){return!vk(e,t)}function z9(e,t,n,r,o){return!Tk(e,t,n,r,o)}function Tk(e,t,n,r,o){return t.tagName==="input"||t.tagName==="textarea"?!Ki(t,"readOnly")&&!Ki(t,"disabled"):!!o.editableOrEditingHost}function vk(e,t){return(t.tagName==="input"||t.tagName==="textarea"||t.tagName==="select")&&Ki(t,"required")}function $9(e,t,n,r,o){return!!((!r||r.type==="root")&&o.schema&&(o.schema.space==="html"||o.schema.space==="svg")&&(t.tagName==="html"||t.tagName==="svg"))}function G9(e,t,n,r,o){return o.scopeElements.includes(t)}function xk(e,t){const n=e.children;let r=-1;for(;++r<n.length;)if(t(n[r]))return!0;return!1}function V9(e){const t=e;throw new Error("Unknown pseudo-selector `"+t.name+"`")}function Y9(e,t,n,r,o){for(const s of e.items)if(s.type==="Attribute"){if(!r9(s,t,o.schema))return!1}else if(s.type==="Id"){if(!s9(s,t))return!1}else if(s.type==="ClassName"){if(!o9(s,t))return!1}else if(s.type==="PseudoClass"){if(!S9(s,t,n,r,o))return!1}else{if(s.type==="PseudoElement")throw new Error("Invalid selector: `::"+s.name+"`");if(s.type==="TagName"&&!l9(s,t))return!1}return!0}const q9=[];function TS(e,t){t&&Ak(e,[],t,void 0,void 0,t)}function Gg(e,t,n){const r=e[t];r?r.push(n):e[t]=[n]}function W9(e,t,n,r){const o=_d(t.descendant,t.directChild);let s,u=-1;const c={count:0,types:new Map},p={count:0,types:new Map};for(;++u<n.children.length;)Tw(c,n.children[u]);for(u=-1;++u<n.children.length;){const f=n.children[u],g=f.type==="element"?f.tagName.toUpperCase():void 0;if(e.elementIndex=p.count,e.typeIndex=g&&p.types.get(g)||0,e.elementCount=c.count,e.typeCount=g?c.types.get(g):0,"children"in f){const h=_d(o,s),y=Ak(e,h,n.children[u],u,n,r);s=_d(y.generalSibling,y.adjacentSibling)}if(e.one&&e.found)break;Tw(p,n.children[u])}}function X9(e,t,n,r,o){const s={adjacentSibling:void 0,descendant:void 0,directChild:void 0,generalSibling:void 0};let u=-1;for(;++u<t.length;){const c=t[u];if(e.one&&e.found)break;if(e.shallow&&c.nestedRule)throw new Error("Expected selector without nesting");if(Y9(c,n,r,o,e)){const p=c.nestedRule;if(p){const f=p.combinator==="+"?"adjacentSibling":p.combinator==="~"?"generalSibling":p.combinator===">"?"directChild":"descendant";Gg(s,f,p)}else e.found=!0,e.results.includes(n)||e.results.push(n)}c.combinator===void 0?Gg(s,"descendant",c):c.combinator==="~"&&Gg(s,"generalSibling",c)}return s}function _d(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:q9}function Tw(e,t){if(t.type==="element"){const n=t.tagName.toUpperCase(),r=(e.types.get(n)||0)+1;e.count++,e.types.set(n,r)}}function Ak(e,t,n,r,o,s){let u={adjacentSibling:void 0,descendant:void 0,directChild:void 0,generalSibling:void 0};const c=n9(e,n);if(n.type==="element"){let p=e.rootQuery.rules;o&&o!==s&&(p=e.rootQuery.rules.filter(f=>f.combinator===void 0||f.combinator===">"&&o===s)),u=X9(e,_d(t,p),n,r,o)}return"children"in n&&!e.shallow&&!(e.one&&e.found)&&W9(e,u,n,s),c(),u}function K9(e,t,n){const r=Z9(e,t);return TS(r,t||void 0),r.results}function Z9(e,t,n){return{direction:"ltr",editableOrEditingHost:!1,elementCount:void 0,elementIndex:void 0,found:!1,language:void 0,one:!1,results:[],rootQuery:Q7(e),schema:so,scopeElements:t?t.type==="root"?t.children:[t]:[],shallow:!1,typeIndex:void 0,typeCount:void 0}}const Ck=(e=[],t="")=>(e.forEach(n=>{n.type==="text"?t+=n.value:n.type==="element"&&n.children&&Array.isArray(n.children)&&(t+=Ck(n.children))}),t),Q9=e=>{const{selector:t,rewrite:n}=e||{};return r=>{if(!(!n||typeof n!="function")){if(t&&typeof t=="string"){const o=K9(t,r);o&&o.length>0&&Mn(r,o,(s,u,c)=>{n(s,u,c)});return}Mn(r,(o,s,u)=>{n(o,s,u)})}}},J9=(e="")=>(e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((t,n)=>(t[n.slice(0,n.indexOf("="))]=n.slice(n.indexOf("=")+1),t),{}),eU=(e=[],t)=>{let n=t;for(;n>-1;){if(n--,!e[n])return;if(e[n]&&e[n].value&&e[n].value.replace(/(\n|\s)/g,"")!==""||e[n].type!=="text")return!/^rehype:/.test(e[n].value)||e[n].type!=="comment"?void 0:e[n]}},wk=(e=[],t,n,r)=>{let o=t;for(;o<e.length;)if(o++,n){const s=e[o];if(s&&s.value&&s.value.replace(/(\n|\s)/g,"")!==""||e[o]&&e[o].type==="element")return s.tagName===n?s:void 0}else{const s=e[o];if(!s||s.type==="element"||s.type==="text"&&s.value.replace(/(\n|\s)/g,"")!=="")return;if(s.type&&/^(comment|raw)$/ig.test(s.type))return s.value&&!/^rehype:/.test(s.value.replace(/^(\s+)?<!--(.*?)-->/,"$2")||"")?void 0:r?wk(e,o,"pre",r)?void 0:(s.value=(s.value||"").replace(/^(\n|\s)+/,""),s):(s.value=(s.value||"").replace(/^(\n|\s)+/,""),s)}},vw=({value:e=""})=>{const t=J9(e.replace(/^<!--(.*?)-->/,"$1").replace(/^rehype:/,""));return Object.keys(t).forEach(n=>{t[n]==="true"&&(t[n]=!0),t[n]==="false"&&(t[n]=!1),typeof t[n]=="string"&&!/^0/.test(t[n])&&!isNaN(+t[n])&&(t[n]=+t[n])}),t},xw=(e,t,n)=>n==="string"?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:n==="attr"?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},tU=(e={})=>{const{properties:t="data",codeBlockParames:n=!0}=e;return r=>{Mn(r,"element",(o,s,u)=>{if(n&&o.tagName==="pre"&&o&&Array.isArray(o.children)&&u&&Array.isArray(u.children)&&u.children.length>1){const c=o.children[0];if(c&&c.tagName==="code"&&typeof s=="number"){const p=eU(u.children,s);if(p){const f=vw(p);Object.keys(f).length>0&&(o.properties={...o.properties,"data-type":"rehyp"},c.properties=xw(c.properties,f,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(o.tagName)&&u&&Array.isArray(u.children)&&typeof s=="number"){const c=wk(u.children,s,"",n);if(c){const p=vw(c);Object.keys(p).length>0&&(o.properties=xw(o.properties,p,t))}}})}},Nk=-1,Zf=0,Xl=1,qd=2,vS=3,xS=4,AS=5,CS=6,_k=7,Rk=8,Aw=typeof self=="object"?self:globalThis,nU=(e,t)=>{const n=(o,s)=>(e.set(s,o),o),r=o=>{if(e.has(o))return e.get(o);const[s,u]=t[o];switch(s){case Zf:case Nk:return n(u,o);case Xl:{const c=n([],o);for(const p of u)c.push(r(p));return c}case qd:{const c=n({},o);for(const[p,f]of u)c[r(p)]=r(f);return c}case vS:return n(new Date(u),o);case xS:{const{source:c,flags:p}=u;return n(new RegExp(c,p),o)}case AS:{const c=n(new Map,o);for(const[p,f]of u)c.set(r(p),r(f));return c}case CS:{const c=n(new Set,o);for(const p of u)c.add(r(p));return c}case _k:{const{name:c,message:p}=u;return n(new Aw[c](p),o)}case Rk:return n(BigInt(u),o);case"BigInt":return n(Object(BigInt(u)),o);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:c}=new Uint8Array(u);return n(new DataView(c),u)}}return n(new Aw[s](u),o)};return r},Cw=e=>nU(new Map,e)(0),es="",{toString:rU}={},{keys:aU}=Object,Ml=e=>{const t=typeof e;if(t!=="object"||!e)return[Zf,t];const n=rU.call(e).slice(8,-1);switch(n){case"Array":return[Xl,es];case"Object":return[qd,es];case"Date":return[vS,es];case"RegExp":return[xS,es];case"Map":return[AS,es];case"Set":return[CS,es];case"DataView":return[Xl,n]}return n.includes("Array")?[Xl,n]:n.includes("Error")?[_k,n]:[qd,n]},pd=([e,t])=>e===Zf&&(t==="function"||t==="symbol"),iU=(e,t,n,r)=>{const o=(u,c)=>{const p=r.push(u)-1;return n.set(c,p),p},s=u=>{if(n.has(u))return n.get(u);let[c,p]=Ml(u);switch(c){case Zf:{let g=u;switch(p){case"bigint":c=Rk,g=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+p);g=null;break;case"undefined":return o([Nk],u)}return o([c,g],u)}case Xl:{if(p){let y=u;return p==="DataView"?y=new Uint8Array(u.buffer):p==="ArrayBuffer"&&(y=new Uint8Array(u)),o([p,[...y]],u)}const g=[],h=o([c,g],u);for(const y of u)g.push(s(y));return h}case qd:{if(p)switch(p){case"BigInt":return o([p,u.toString()],u);case"Boolean":case"Number":case"String":return o([p,u.valueOf()],u)}if(t&&"toJSON"in u)return s(u.toJSON());const g=[],h=o([c,g],u);for(const y of aU(u))(e||!pd(Ml(u[y])))&&g.push([s(y),s(u[y])]);return h}case vS:return o([c,u.toISOString()],u);case xS:{const{source:g,flags:h}=u;return o([c,{source:g,flags:h}],u)}case AS:{const g=[],h=o([c,g],u);for(const[y,T]of u)(e||!(pd(Ml(y))||pd(Ml(T))))&&g.push([s(y),s(T)]);return h}case CS:{const g=[],h=o([c,g],u);for(const y of u)(e||!pd(Ml(y)))&&g.push(s(y));return h}}const{message:f}=u;return o([c,{name:p,message:f}],u)};return s},ww=(e,{json:t,lossy:n}={})=>{const r=[];return iU(!(t||n),!!t,new Map,r)(e),r},Zi=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Cw(ww(e,t)):structuredClone(e):(e,t)=>Cw(ww(e,t)),Nw=/[#.]/g;function oU(e,t){const n=e||"",r={};let o=0,s,u;for(;o<n.length;){Nw.lastIndex=o;const c=Nw.exec(n),p=n.slice(o,c?c.index:n.length);p&&(s?s==="#"?r.id=p:Array.isArray(r.className)?r.className.push(p):r.className=[p]:u=p,o+=p.length),c&&(s=c[0],o++)}return{type:"element",tagName:u||t||"div",properties:r,children:[]}}function kk(e,t,n){const r=n?cU(n):void 0;function o(s,u,...c){let p;if(s==null){p={type:"root",children:[]};const f=u;c.unshift(f)}else{p=oU(s,t);const f=p.tagName.toLowerCase(),g=r?r.get(f):void 0;if(p.tagName=g||f,sU(u))c.unshift(u);else for(const[h,y]of Object.entries(u))lU(e,p.properties,h,y)}for(const f of c)zh(p.children,f);return p.type==="element"&&p.tagName==="template"&&(p.content={type:"root",children:p.children},p.children=[]),p}return o}function sU(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const o=t[r];if(o&&typeof o=="object"){if(!Array.isArray(o))return!0;const s=o;for(const u of s)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function lU(e,t,n,r){const o=Os(e,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?o.spaceSeparated?s=du(r):o.commaSeparated?s=fu(r):o.commaOrSpaceSeparated?s=du(fu(r).join(" ")):s=_w(o,o.property,r):Array.isArray(r)?s=[...r]:s=o.property==="style"?uU(r):String(r);if(Array.isArray(s)){const u=[];for(const c of s)u.push(_w(o,o.property,c));s=u}o.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[o.property]=s}}function zh(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 n of t)zh(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?zh(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function _w(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||mu(n)===mu(t)))return!0}return n}function uU(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function cU(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const dU=["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"],fU=kk(so,"div"),pU=kk(Ur,"g",dU);function mU(e){const t=String(e),n=[];return{toOffset:o,toPoint:r};function r(s){if(typeof s=="number"&&s>-1&&s<=t.length){let u=0;for(;;){let c=n[u];if(c===void 0){const p=Rw(t,n[u-1]);c=p===-1?t.length+1:p+1,n[u]=c}if(c>s)return{line:u+1,column:s-(u>0?n[u-1]:0)+1,offset:s};u++}}}function o(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length<s.line;){const c=n[n.length-1],p=Rw(t,c),f=p===-1?t.length+1:p+1;if(c===f)break;n.push(f)}const u=(s.line>1?n[s.line-2]:0)+s.column-1;if(u<n[s.line-1])return u}}}function Rw(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
64
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const zi={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Dk={}.hasOwnProperty,gU=Object.prototype;function Ik(e,t){const n=t||{};return wS({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ur:so,verbose:n.verbose||!1},e)}function wS(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Rd(e,r,n),n}case"#document":case"#document-fragment":{const r=t,o="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Ok(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const s=String(e.file),u=mU(s),c=u.toPoint(0),p=u.toPoint(s.length);n.position={start:c,end:p}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Rd(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Rd(e,r,n),n}default:return n=hU(e,t),n}}function Ok(e,t){let n=-1;const r=[];for(;++n<t.length;){const o=wS(e,t[n]);r.push(o)}return r}function hU(e,t){const n=e.schema;e.schema=t.namespaceURI===zi.svg?Ur:so;let r=-1;const o={};for(;++r<t.attrs.length;){const c=t.attrs[r],p=(c.prefix?c.prefix+":":"")+c.name;Dk.call(gU,p)||(o[p]=c.value)}const u=(e.schema.space==="svg"?pU:fU)(t.tagName,o,Ok(e,t.childNodes));if(Rd(e,t,u),u.tagName==="template"){const c=t,p=c.sourceCodeLocation,f=p&&p.startTag&&is(p.startTag),g=p&&p.endTag&&is(p.endTag),h=wS(e,c.content);f&&g&&e.file&&(h.position={start:f.end,end:g.start}),u.content=h}return e.schema=n,u}function Rd(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=bU(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function bU(e,t,n){const r=is(n);if(t.type==="element"){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const s={};let u;if(n.attrs)for(u in n.attrs)Dk.call(n.attrs,u)&&(s[Os(e.schema,u).property]=is(n.attrs[u]));n.startTag;const c=is(n.startTag),p=n.endTag?is(n.endTag):void 0,f={opening:c};p&&(f.closing=p),f.properties=s,t.data={position:f}}}return r}function is(e){const t=kw({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=kw({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function kw(e){return e.line&&e.column?e:void 0}const EU={},yU={}.hasOwnProperty,Lk=Xf("type",{handlers:{root:TU,element:wU,text:AU,comment:CU,doctype:xU}});function SU(e,t){const r=(t||EU).space;return Lk(e,r==="svg"?Ur:so)}function TU(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=NS(e.children,n,t),Ls(e,n),n}function vU(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=NS(e.children,n,t),Ls(e,n),n}function xU(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ls(e,t),t}function AU(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ls(e,t),t}function CU(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ls(e,t),t}function wU(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Ur);const o=[];let s;if(e.properties){for(s in e.properties)if(s!=="children"&&yU.call(e.properties,s)){const p=NU(r,s,e.properties[s]);p&&o.push(p)}}const u=r.space,c={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:zi[u],childNodes:[],parentNode:null};return c.childNodes=NS(e.children,c,r),Ls(e,c),e.tagName==="template"&&e.content&&(c.content=vU(e.content,r)),c}function NU(e,t,n){const r=Os(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Vf(n):Gf(n));const o={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const s=o.name.indexOf(":");s<0?o.prefix="":(o.name=o.name.slice(s+1),o.prefix=r.attribute.slice(0,s)),o.namespace=zi[r.space]}return o}function NS(e,t,n){let r=-1;const o=[];if(e)for(;++r<e.length;){const s=Lk(e[r],n);s.parentNode=t,o.push(s)}return o}function Ls(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Mk=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],_U=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),qt="�";var $;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})($||($={}));const Xn={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Fk(e){return e>=55296&&e<=57343}function RU(e){return e>=56320&&e<=57343}function kU(e,t){return(e-55296)*1024+9216+t}function Bk(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Uk(e){return e>=64976&&e<=65007||_U.has(e)}var ve;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ve||(ve={}));const DU=65536;class IU{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DU,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:o,offset:s}=this,u=o+n,c=s+n;return{code:t,startLine:r,endLine:r,startCol:u,endCol:u,startOffset:c,endOffset:c}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(RU(n))return this.pos++,this._addGap(),kU(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,$.EOF;return this._err(ve.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$.EOF;const r=this.html.charCodeAt(n);return r===$.CARRIAGE_RETURN?$.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$.EOF;let t=this.html.charCodeAt(this.pos);return t===$.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,$.LINE_FEED):t===$.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Fk(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===$.LINE_FEED||t===$.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Bk(t)?this._err(ve.controlCharacterInInputStream):Uk(t)&&this._err(ve.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ht;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(ht||(ht={}));function Pk(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const OU=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),LU=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function MU(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=LU.get(e))!==null&&t!==void 0?t:e}var Tn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Tn||(Tn={}));const FU=32;var ci;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ci||(ci={}));function $h(e){return e>=Tn.ZERO&&e<=Tn.NINE}function BU(e){return e>=Tn.UPPER_A&&e<=Tn.UPPER_F||e>=Tn.LOWER_A&&e<=Tn.LOWER_F}function UU(e){return e>=Tn.UPPER_A&&e<=Tn.UPPER_Z||e>=Tn.LOWER_A&&e<=Tn.LOWER_Z||$h(e)}function PU(e){return e===Tn.EQUALS||UU(e)}var Sn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Sn||(Sn={}));var Ra;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ra||(Ra={}));class jU{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Sn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ra.Strict}startEntity(t){this.decodeMode=t,this.state=Sn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Sn.EntityStart:return t.charCodeAt(n)===Tn.NUM?(this.state=Sn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Sn.NamedEntity,this.stateNamedEntity(t,n));case Sn.NumericStart:return this.stateNumericStart(t,n);case Sn.NumericDecimal:return this.stateNumericDecimal(t,n);case Sn.NumericHex:return this.stateNumericHex(t,n);case Sn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|FU)===Tn.LOWER_X?(this.state=Sn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Sn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,o){if(n!==r){const s=r-n;this.result=this.result*Math.pow(o,s)+Number.parseInt(t.substr(n,s),o),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if($h(o)||BU(o))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if($h(o))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Tn.SEMI)this.consumed+=1;else if(this.decodeMode===Ra.Strict)return 0;return this.emitCodePoint(MU(this.result),this.consumed),this.errors&&(t!==Tn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let o=r[this.treeIndex],s=(o&ci.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const u=t.charCodeAt(n);if(this.treeIndex=HU(r,o,this.treeIndex+Math.max(1,s),u),this.treeIndex<0)return this.result===0||this.decodeMode===Ra.Attribute&&(s===0||PU(u))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],s=(o&ci.VALUE_LENGTH)>>14,s!==0){if(u===Tn.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Ra.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,o=(r[n]&ci.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~ci.VALUE_LENGTH:o[t+1],r),n===3&&this.emitCodePoint(o[t+2],r),r}end(){var t;switch(this.state){case Sn.NamedEntity:return this.result!==0&&(this.decodeMode!==Ra.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Sn.NumericDecimal:return this.emitNumericEntity(0,2);case Sn.NumericHex:return this.emitNumericEntity(0,3);case Sn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Sn.EntityStart:return 0}}}function HU(e,t,n,r){const o=(t&ci.BRANCH_LENGTH)>>7,s=t&ci.JUMP_TABLE;if(o===0)return s!==0&&r===s?n:-1;if(s){const p=r-s;return p<0||p>=o?-1:e[n+p]-1}let u=n,c=u+o-1;for(;u<=c;){const p=u+c>>>1,f=e[p];if(f<r)u=p+1;else if(f>r)c=p-1;else return e[p+o]}return-1}var Le;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Le||(Le={}));var Gi;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Gi||(Gi={}));var Ar;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ar||(Ar={}));var me;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(me||(me={}));var S;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(S||(S={}));const zU=new Map([[me.A,S.A],[me.ADDRESS,S.ADDRESS],[me.ANNOTATION_XML,S.ANNOTATION_XML],[me.APPLET,S.APPLET],[me.AREA,S.AREA],[me.ARTICLE,S.ARTICLE],[me.ASIDE,S.ASIDE],[me.B,S.B],[me.BASE,S.BASE],[me.BASEFONT,S.BASEFONT],[me.BGSOUND,S.BGSOUND],[me.BIG,S.BIG],[me.BLOCKQUOTE,S.BLOCKQUOTE],[me.BODY,S.BODY],[me.BR,S.BR],[me.BUTTON,S.BUTTON],[me.CAPTION,S.CAPTION],[me.CENTER,S.CENTER],[me.CODE,S.CODE],[me.COL,S.COL],[me.COLGROUP,S.COLGROUP],[me.DD,S.DD],[me.DESC,S.DESC],[me.DETAILS,S.DETAILS],[me.DIALOG,S.DIALOG],[me.DIR,S.DIR],[me.DIV,S.DIV],[me.DL,S.DL],[me.DT,S.DT],[me.EM,S.EM],[me.EMBED,S.EMBED],[me.FIELDSET,S.FIELDSET],[me.FIGCAPTION,S.FIGCAPTION],[me.FIGURE,S.FIGURE],[me.FONT,S.FONT],[me.FOOTER,S.FOOTER],[me.FOREIGN_OBJECT,S.FOREIGN_OBJECT],[me.FORM,S.FORM],[me.FRAME,S.FRAME],[me.FRAMESET,S.FRAMESET],[me.H1,S.H1],[me.H2,S.H2],[me.H3,S.H3],[me.H4,S.H4],[me.H5,S.H5],[me.H6,S.H6],[me.HEAD,S.HEAD],[me.HEADER,S.HEADER],[me.HGROUP,S.HGROUP],[me.HR,S.HR],[me.HTML,S.HTML],[me.I,S.I],[me.IMG,S.IMG],[me.IMAGE,S.IMAGE],[me.INPUT,S.INPUT],[me.IFRAME,S.IFRAME],[me.KEYGEN,S.KEYGEN],[me.LABEL,S.LABEL],[me.LI,S.LI],[me.LINK,S.LINK],[me.LISTING,S.LISTING],[me.MAIN,S.MAIN],[me.MALIGNMARK,S.MALIGNMARK],[me.MARQUEE,S.MARQUEE],[me.MATH,S.MATH],[me.MENU,S.MENU],[me.META,S.META],[me.MGLYPH,S.MGLYPH],[me.MI,S.MI],[me.MO,S.MO],[me.MN,S.MN],[me.MS,S.MS],[me.MTEXT,S.MTEXT],[me.NAV,S.NAV],[me.NOBR,S.NOBR],[me.NOFRAMES,S.NOFRAMES],[me.NOEMBED,S.NOEMBED],[me.NOSCRIPT,S.NOSCRIPT],[me.OBJECT,S.OBJECT],[me.OL,S.OL],[me.OPTGROUP,S.OPTGROUP],[me.OPTION,S.OPTION],[me.P,S.P],[me.PARAM,S.PARAM],[me.PLAINTEXT,S.PLAINTEXT],[me.PRE,S.PRE],[me.RB,S.RB],[me.RP,S.RP],[me.RT,S.RT],[me.RTC,S.RTC],[me.RUBY,S.RUBY],[me.S,S.S],[me.SCRIPT,S.SCRIPT],[me.SEARCH,S.SEARCH],[me.SECTION,S.SECTION],[me.SELECT,S.SELECT],[me.SOURCE,S.SOURCE],[me.SMALL,S.SMALL],[me.SPAN,S.SPAN],[me.STRIKE,S.STRIKE],[me.STRONG,S.STRONG],[me.STYLE,S.STYLE],[me.SUB,S.SUB],[me.SUMMARY,S.SUMMARY],[me.SUP,S.SUP],[me.TABLE,S.TABLE],[me.TBODY,S.TBODY],[me.TEMPLATE,S.TEMPLATE],[me.TEXTAREA,S.TEXTAREA],[me.TFOOT,S.TFOOT],[me.TD,S.TD],[me.TH,S.TH],[me.THEAD,S.THEAD],[me.TITLE,S.TITLE],[me.TR,S.TR],[me.TRACK,S.TRACK],[me.TT,S.TT],[me.U,S.U],[me.UL,S.UL],[me.SVG,S.SVG],[me.VAR,S.VAR],[me.WBR,S.WBR],[me.XMP,S.XMP]]);function Ms(e){var t;return(t=zU.get(e))!==null&&t!==void 0?t:S.UNKNOWN}const Be=S,$U={[Le.HTML]:new Set([Be.ADDRESS,Be.APPLET,Be.AREA,Be.ARTICLE,Be.ASIDE,Be.BASE,Be.BASEFONT,Be.BGSOUND,Be.BLOCKQUOTE,Be.BODY,Be.BR,Be.BUTTON,Be.CAPTION,Be.CENTER,Be.COL,Be.COLGROUP,Be.DD,Be.DETAILS,Be.DIR,Be.DIV,Be.DL,Be.DT,Be.EMBED,Be.FIELDSET,Be.FIGCAPTION,Be.FIGURE,Be.FOOTER,Be.FORM,Be.FRAME,Be.FRAMESET,Be.H1,Be.H2,Be.H3,Be.H4,Be.H5,Be.H6,Be.HEAD,Be.HEADER,Be.HGROUP,Be.HR,Be.HTML,Be.IFRAME,Be.IMG,Be.INPUT,Be.LI,Be.LINK,Be.LISTING,Be.MAIN,Be.MARQUEE,Be.MENU,Be.META,Be.NAV,Be.NOEMBED,Be.NOFRAMES,Be.NOSCRIPT,Be.OBJECT,Be.OL,Be.P,Be.PARAM,Be.PLAINTEXT,Be.PRE,Be.SCRIPT,Be.SECTION,Be.SELECT,Be.SOURCE,Be.STYLE,Be.SUMMARY,Be.TABLE,Be.TBODY,Be.TD,Be.TEMPLATE,Be.TEXTAREA,Be.TFOOT,Be.TH,Be.THEAD,Be.TITLE,Be.TR,Be.TRACK,Be.UL,Be.WBR,Be.XMP]),[Le.MATHML]:new Set([Be.MI,Be.MO,Be.MN,Be.MS,Be.MTEXT,Be.ANNOTATION_XML]),[Le.SVG]:new Set([Be.TITLE,Be.FOREIGN_OBJECT,Be.DESC]),[Le.XLINK]:new Set,[Le.XML]:new Set,[Le.XMLNS]:new Set},Gh=new Set([Be.H1,Be.H2,Be.H3,Be.H4,Be.H5,Be.H6]);me.STYLE,me.SCRIPT,me.XMP,me.IFRAME,me.NOEMBED,me.NOFRAMES,me.PLAINTEXT;var Y;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(Y||(Y={}));const rn={DATA:Y.DATA,RCDATA:Y.RCDATA,RAWTEXT:Y.RAWTEXT,SCRIPT_DATA:Y.SCRIPT_DATA,PLAINTEXT:Y.PLAINTEXT,CDATA_SECTION:Y.CDATA_SECTION};function GU(e){return e>=$.DIGIT_0&&e<=$.DIGIT_9}function Vl(e){return e>=$.LATIN_CAPITAL_A&&e<=$.LATIN_CAPITAL_Z}function VU(e){return e>=$.LATIN_SMALL_A&&e<=$.LATIN_SMALL_Z}function li(e){return VU(e)||Vl(e)}function Dw(e){return li(e)||GU(e)}function md(e){return e+32}function jk(e){return e===$.SPACE||e===$.LINE_FEED||e===$.TABULATION||e===$.FORM_FEED}function Iw(e){return jk(e)||e===$.SOLIDUS||e===$.GREATER_THAN_SIGN}function YU(e){return e===$.NULL?ve.nullCharacterReference:e>1114111?ve.characterReferenceOutsideUnicodeRange:Fk(e)?ve.surrogateCharacterReference:Uk(e)?ve.noncharacterCharacterReference:Bk(e)||e===$.CARRIAGE_RETURN?ve.controlCharacterReference:null}class qU{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Y.DATA,this.returnState=Y.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new IU(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new jU(OU,(r,o)=>{this.preprocessor.pos=this.entityStartPos+o-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ve.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(ve.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const o=YU(r);o&&this._err(o,1)}}:void 0)}_err(t,n=0){var r,o;(o=(r=this.handler).onParseError)===null||o===void 0||o.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ht.START_TAG,tagName:"",tagID:S.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ht.END_TAG,tagName:"",tagID:S.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:ht.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:ht.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Pk(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const o=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);o[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ve.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Ms(t.tagName),t.type===ht.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(ve.endTagWithAttributes),t.selfClosing&&this._err(ve.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:ht.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=jk(t)?ht.WHITESPACE_CHARACTER:t===$.NULL?ht.NULL_CHARACTER:ht.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ht.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=Y.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ra.Attribute:Ra.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Y.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Y.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Y.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case Y.DATA:{this._stateData(t);break}case Y.RCDATA:{this._stateRcdata(t);break}case Y.RAWTEXT:{this._stateRawtext(t);break}case Y.SCRIPT_DATA:{this._stateScriptData(t);break}case Y.PLAINTEXT:{this._statePlaintext(t);break}case Y.TAG_OPEN:{this._stateTagOpen(t);break}case Y.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case Y.TAG_NAME:{this._stateTagName(t);break}case Y.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case Y.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case Y.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case Y.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case Y.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case Y.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case Y.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case Y.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case Y.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case Y.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case Y.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case Y.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case Y.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case Y.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case Y.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case Y.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case Y.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case Y.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case Y.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case Y.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case Y.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case Y.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case Y.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case Y.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case Y.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case Y.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case Y.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case Y.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case Y.BOGUS_COMMENT:{this._stateBogusComment(t);break}case Y.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case Y.COMMENT_START:{this._stateCommentStart(t);break}case Y.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case Y.COMMENT:{this._stateComment(t);break}case Y.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case Y.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case Y.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case Y.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case Y.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case Y.COMMENT_END:{this._stateCommentEnd(t);break}case Y.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case Y.DOCTYPE:{this._stateDoctype(t);break}case Y.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case Y.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case Y.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case Y.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case Y.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case Y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case Y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case Y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case Y.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case Y.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case Y.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case Y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case Y.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case Y.CDATA_SECTION:{this._stateCdataSection(t);break}case Y.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case Y.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case Y.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case Y.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case $.LESS_THAN_SIGN:{this.state=Y.TAG_OPEN;break}case $.AMPERSAND:{this._startCharacterReference();break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this._emitCodePoint(t);break}case $.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case $.AMPERSAND:{this._startCharacterReference();break}case $.LESS_THAN_SIGN:{this.state=Y.RCDATA_LESS_THAN_SIGN;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(qt);break}case $.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case $.LESS_THAN_SIGN:{this.state=Y.RAWTEXT_LESS_THAN_SIGN;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(qt);break}case $.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case $.LESS_THAN_SIGN:{this.state=Y.SCRIPT_DATA_LESS_THAN_SIGN;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(qt);break}case $.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case $.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(qt);break}case $.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(li(t))this._createStartTagToken(),this.state=Y.TAG_NAME,this._stateTagName(t);else switch(t){case $.EXCLAMATION_MARK:{this.state=Y.MARKUP_DECLARATION_OPEN;break}case $.SOLIDUS:{this.state=Y.END_TAG_OPEN;break}case $.QUESTION_MARK:{this._err(ve.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Y.BOGUS_COMMENT,this._stateBogusComment(t);break}case $.EOF:{this._err(ve.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ve.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Y.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(li(t))this._createEndTagToken(),this.state=Y.TAG_NAME,this._stateTagName(t);else switch(t){case $.GREATER_THAN_SIGN:{this._err(ve.missingEndTagName),this.state=Y.DATA;break}case $.EOF:{this._err(ve.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ve.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Y.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this.state=Y.BEFORE_ATTRIBUTE_NAME;break}case $.SOLIDUS:{this.state=Y.SELF_CLOSING_START_TAG;break}case $.GREATER_THAN_SIGN:{this.state=Y.DATA,this.emitCurrentTagToken();break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.tagName+=qt;break}case $.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Vl(t)?md(t):t)}}_stateRcdataLessThanSign(t){t===$.SOLIDUS?this.state=Y.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Y.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){li(t)?(this.state=Y.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=Y.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Y.BEFORE_ATTRIBUTE_NAME,!1;case $.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Y.SELF_CLOSING_START_TAG,!1;case $.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Y.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Y.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===$.SOLIDUS?this.state=Y.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Y.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){li(t)?(this.state=Y.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=Y.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Y.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case $.SOLIDUS:{this.state=Y.SCRIPT_DATA_END_TAG_OPEN;break}case $.EXCLAMATION_MARK:{this.state=Y.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=Y.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){li(t)?(this.state=Y.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=Y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===$.HYPHEN_MINUS?(this.state=Y.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===$.HYPHEN_MINUS?(this.state=Y.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case $.HYPHEN_MINUS:{this.state=Y.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case $.LESS_THAN_SIGN:{this.state=Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(qt);break}case $.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case $.HYPHEN_MINUS:{this.state=Y.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case $.LESS_THAN_SIGN:{this.state=Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_ESCAPED,this._emitChars(qt);break}case $.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Y.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case $.HYPHEN_MINUS:{this._emitChars("-");break}case $.LESS_THAN_SIGN:{this.state=Y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $.GREATER_THAN_SIGN:{this.state=Y.SCRIPT_DATA,this._emitChars(">");break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_ESCAPED,this._emitChars(qt);break}case $.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Y.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===$.SOLIDUS?this.state=Y.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:li(t)?(this._emitChars("<"),this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){li(t)?(this.state=Y.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Xn.SCRIPT,!1)&&Iw(this.preprocessor.peek(Xn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Xn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case $.HYPHEN_MINUS:{this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case $.LESS_THAN_SIGN:{this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(qt);break}case $.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case $.HYPHEN_MINUS:{this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case $.LESS_THAN_SIGN:{this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qt);break}case $.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case $.HYPHEN_MINUS:{this._emitChars("-");break}case $.LESS_THAN_SIGN:{this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $.GREATER_THAN_SIGN:{this.state=Y.SCRIPT_DATA,this._emitChars(">");break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qt);break}case $.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===$.SOLIDUS?(this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Xn.SCRIPT,!1)&&Iw(this.preprocessor.peek(Xn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Xn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=Y.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Y.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.SOLIDUS:case $.GREATER_THAN_SIGN:case $.EOF:{this.state=Y.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case $.EQUALS_SIGN:{this._err(ve.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Y.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=Y.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:case $.SOLIDUS:case $.GREATER_THAN_SIGN:case $.EOF:{this._leaveAttrName(),this.state=Y.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case $.EQUALS_SIGN:{this._leaveAttrName(),this.state=Y.BEFORE_ATTRIBUTE_VALUE;break}case $.QUOTATION_MARK:case $.APOSTROPHE:case $.LESS_THAN_SIGN:{this._err(ve.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.name+=qt;break}default:this.currentAttr.name+=String.fromCodePoint(Vl(t)?md(t):t)}}_stateAfterAttributeName(t){switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.SOLIDUS:{this.state=Y.SELF_CLOSING_START_TAG;break}case $.EQUALS_SIGN:{this.state=Y.BEFORE_ATTRIBUTE_VALUE;break}case $.GREATER_THAN_SIGN:{this.state=Y.DATA,this.emitCurrentTagToken();break}case $.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=Y.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.QUOTATION_MARK:{this.state=Y.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case $.APOSTROPHE:{this.state=Y.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case $.GREATER_THAN_SIGN:{this._err(ve.missingAttributeValue),this.state=Y.DATA,this.emitCurrentTagToken();break}default:this.state=Y.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case $.QUOTATION_MARK:{this.state=Y.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case $.AMPERSAND:{this._startCharacterReference();break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case $.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case $.APOSTROPHE:{this.state=Y.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case $.AMPERSAND:{this._startCharacterReference();break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case $.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this._leaveAttrValue(),this.state=Y.BEFORE_ATTRIBUTE_NAME;break}case $.AMPERSAND:{this._startCharacterReference();break}case $.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Y.DATA,this.emitCurrentTagToken();break}case $.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case $.QUOTATION_MARK:case $.APOSTROPHE:case $.LESS_THAN_SIGN:case $.EQUALS_SIGN:case $.GRAVE_ACCENT:{this._err(ve.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case $.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this._leaveAttrValue(),this.state=Y.BEFORE_ATTRIBUTE_NAME;break}case $.SOLIDUS:{this._leaveAttrValue(),this.state=Y.SELF_CLOSING_START_TAG;break}case $.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Y.DATA,this.emitCurrentTagToken();break}case $.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this._err(ve.missingWhitespaceBetweenAttributes),this.state=Y.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case $.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=Y.DATA,this.emitCurrentTagToken();break}case $.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this._err(ve.unexpectedSolidusInTag),this.state=Y.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case $.GREATER_THAN_SIGN:{this.state=Y.DATA,this.emitCurrentComment(n);break}case $.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.data+=qt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Xn.DASH_DASH,!0)?(this._createCommentToken(Xn.DASH_DASH.length+1),this.state=Y.COMMENT_START):this._consumeSequenceIfMatch(Xn.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Xn.DOCTYPE.length+1),this.state=Y.DOCTYPE):this._consumeSequenceIfMatch(Xn.CDATA_START,!0)?this.inForeignNode?this.state=Y.CDATA_SECTION:(this._err(ve.cdataInHtmlContent),this._createCommentToken(Xn.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=Y.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ve.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Y.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case $.HYPHEN_MINUS:{this.state=Y.COMMENT_START_DASH;break}case $.GREATER_THAN_SIGN:{this._err(ve.abruptClosingOfEmptyComment),this.state=Y.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=Y.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case $.HYPHEN_MINUS:{this.state=Y.COMMENT_END;break}case $.GREATER_THAN_SIGN:{this._err(ve.abruptClosingOfEmptyComment),this.state=Y.DATA,this.emitCurrentComment(n);break}case $.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=Y.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case $.HYPHEN_MINUS:{this.state=Y.COMMENT_END_DASH;break}case $.LESS_THAN_SIGN:{n.data+="<",this.state=Y.COMMENT_LESS_THAN_SIGN;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.data+=qt;break}case $.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case $.EXCLAMATION_MARK:{n.data+="!",this.state=Y.COMMENT_LESS_THAN_SIGN_BANG;break}case $.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=Y.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===$.HYPHEN_MINUS?this.state=Y.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Y.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===$.HYPHEN_MINUS?this.state=Y.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Y.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==$.GREATER_THAN_SIGN&&t!==$.EOF&&this._err(ve.nestedComment),this.state=Y.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case $.HYPHEN_MINUS:{this.state=Y.COMMENT_END;break}case $.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=Y.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case $.GREATER_THAN_SIGN:{this.state=Y.DATA,this.emitCurrentComment(n);break}case $.EXCLAMATION_MARK:{this.state=Y.COMMENT_END_BANG;break}case $.HYPHEN_MINUS:{n.data+="-";break}case $.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=Y.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case $.HYPHEN_MINUS:{n.data+="--!",this.state=Y.COMMENT_END_DASH;break}case $.GREATER_THAN_SIGN:{this._err(ve.incorrectlyClosedComment),this.state=Y.DATA,this.emitCurrentComment(n);break}case $.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=Y.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this.state=Y.BEFORE_DOCTYPE_NAME;break}case $.GREATER_THAN_SIGN:{this.state=Y.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case $.EOF:{this._err(ve.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingWhitespaceBeforeDoctypeName),this.state=Y.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Vl(t))this._createDoctypeToken(String.fromCharCode(md(t))),this.state=Y.DOCTYPE_NAME;else switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.NULL:{this._err(ve.unexpectedNullCharacter),this._createDoctypeToken(qt),this.state=Y.DOCTYPE_NAME;break}case $.GREATER_THAN_SIGN:{this._err(ve.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.EOF:{this._err(ve.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=Y.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this.state=Y.AFTER_DOCTYPE_NAME;break}case $.GREATER_THAN_SIGN:{this.state=Y.DATA,this.emitCurrentDoctype(n);break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.name+=qt;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Vl(t)?md(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.GREATER_THAN_SIGN:{this.state=Y.DATA,this.emitCurrentDoctype(n);break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Xn.PUBLIC,!1)?this.state=Y.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Xn.SYSTEM,!1)?this.state=Y.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ve.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this.state=Y.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case $.QUOTATION_MARK:{this._err(ve.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case $.APOSTROPHE:{this._err(ve.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case $.GREATER_THAN_SIGN:{this._err(ve.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(n);break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.QUOTATION_MARK:{n.publicId="",this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case $.APOSTROPHE:{n.publicId="",this.state=Y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case $.GREATER_THAN_SIGN:{this._err(ve.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(n);break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case $.QUOTATION_MARK:{this.state=Y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.publicId+=qt;break}case $.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case $.APOSTROPHE:{this.state=Y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.publicId+=qt;break}case $.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this.state=Y.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case $.GREATER_THAN_SIGN:{this.state=Y.DATA,this.emitCurrentDoctype(n);break}case $.QUOTATION_MARK:{this._err(ve.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $.APOSTROPHE:{this._err(ve.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.QUOTATION_MARK:{n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $.APOSTROPHE:{n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:{this.state=Y.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case $.QUOTATION_MARK:{this._err(ve.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $.APOSTROPHE:{this._err(ve.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $.GREATER_THAN_SIGN:{this._err(ve.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(n);break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.QUOTATION_MARK:{n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $.APOSTROPHE:{n.systemId="",this.state=Y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $.GREATER_THAN_SIGN:{this._err(ve.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=Y.DATA,this.emitCurrentDoctype(n);break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case $.QUOTATION_MARK:{this.state=Y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.systemId+=qt;break}case $.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case $.APOSTROPHE:{this.state=Y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case $.NULL:{this._err(ve.unexpectedNullCharacter),n.systemId+=qt;break}case $.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case $.SPACE:case $.LINE_FEED:case $.TABULATION:case $.FORM_FEED:break;case $.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case $.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=Y.DATA;break}case $.NULL:{this._err(ve.unexpectedNullCharacter);break}case $.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case $.RIGHT_SQUARE_BRACKET:{this.state=Y.CDATA_SECTION_BRACKET;break}case $.EOF:{this._err(ve.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===$.RIGHT_SQUARE_BRACKET?this.state=Y.CDATA_SECTION_END:(this._emitChars("]"),this.state=Y.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case $.GREATER_THAN_SIGN:{this.state=Y.DATA;break}case $.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=Y.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference($.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Dw(this.preprocessor.peek(1))?Y.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Dw(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===$.SEMICOLON&&this._err(ve.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Hk=new Set([S.DD,S.DT,S.LI,S.OPTGROUP,S.OPTION,S.P,S.RB,S.RP,S.RT,S.RTC]),Ow=new Set([...Hk,S.CAPTION,S.COLGROUP,S.TBODY,S.TD,S.TFOOT,S.TH,S.THEAD,S.TR]),Wd=new Set([S.APPLET,S.CAPTION,S.HTML,S.MARQUEE,S.OBJECT,S.TABLE,S.TD,S.TEMPLATE,S.TH]),WU=new Set([...Wd,S.OL,S.UL]),XU=new Set([...Wd,S.BUTTON]),Lw=new Set([S.ANNOTATION_XML,S.MI,S.MN,S.MO,S.MS,S.MTEXT]),Mw=new Set([S.DESC,S.FOREIGN_OBJECT,S.TITLE]),KU=new Set([S.TR,S.TEMPLATE,S.HTML]),ZU=new Set([S.TBODY,S.TFOOT,S.THEAD,S.TEMPLATE,S.HTML]),QU=new Set([S.TABLE,S.TEMPLATE,S.HTML]),JU=new Set([S.TD,S.TH]);class eP{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=S.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===S.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Le.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const o=this._indexOf(t)+1;this.items.splice(o,0,n),this.tagIDs.splice(o,0,r),this.stackTop++,o===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,o===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Le.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Gh,Le.HTML)}popUntilTableCellPopped(){this.popUntilPopped(JU,Le.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(QU,Le.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ZU,Le.HTML)}clearBackToTableRowContext(){this.clearBackTo(KU,Le.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===S.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===S.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const o=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case Le.HTML:{if(o===t)return!0;if(n.has(o))return!1;break}case Le.SVG:{if(Mw.has(o))return!1;break}case Le.MATHML:{if(Lw.has(o))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Wd)}hasInListItemScope(t){return this.hasInDynamicScope(t,WU)}hasInButtonScope(t){return this.hasInDynamicScope(t,XU)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Le.HTML:{if(Gh.has(n))return!0;if(Wd.has(n))return!1;break}case Le.SVG:{if(Mw.has(n))return!1;break}case Le.MATHML:{if(Lw.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Le.HTML)switch(this.tagIDs[n]){case t:return!0;case S.TABLE:case S.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Le.HTML)switch(this.tagIDs[t]){case S.TBODY:case S.THEAD:case S.TFOOT:return!0;case S.TABLE:case S.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Le.HTML)switch(this.tagIDs[n]){case t:return!0;case S.OPTION:case S.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Hk.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Ow.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Ow.has(this.currentTagId);)this.pop()}}const Vg=3;var Wr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Wr||(Wr={}));const Fw={type:Wr.Marker};class tP{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],o=n.length,s=this.treeAdapter.getTagName(t),u=this.treeAdapter.getNamespaceURI(t);for(let c=0;c<this.entries.length;c++){const p=this.entries[c];if(p.type===Wr.Marker)break;const{element:f}=p;if(this.treeAdapter.getTagName(f)===s&&this.treeAdapter.getNamespaceURI(f)===u){const g=this.treeAdapter.getAttrList(f);g.length===o&&r.push({idx:c,attrs:g})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Vg)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Vg)return;const o=new Map(n.map(u=>[u.name,u.value]));let s=0;for(let u=0;u<r.length;u++){const c=r[u];c.attrs.every(p=>o.get(p.name)===p.value)&&(s+=1,s>=Vg&&this.entries.splice(c.idx,1))}}insertMarker(){this.entries.unshift(Fw)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Wr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Wr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Fw);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Wr.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Wr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Wr.Element&&n.element===t)}}const ui={createDocument(){return{nodeName:"#document",mode:Ar.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const o=e.childNodes.find(s=>s.nodeName==="#documentType");if(o)o.name=t,o.publicId=n,o.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};ui.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ui.isTextNode(n)){n.value+=t;return}}ui.appendChild(e,ui.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ui.isTextNode(r)?r.value+=t:ui.insertBefore(e,ui.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},zk="html",nP="about:legacy-compat",rP="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",$k=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],aP=[...$k,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],iP=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Gk=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],oP=[...Gk,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Bw(e,t){return t.some(n=>e.startsWith(n))}function sP(e){return e.name===zk&&e.publicId===null&&(e.systemId===null||e.systemId===nP)}function lP(e){if(e.name!==zk)return Ar.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===rP)return Ar.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),iP.has(n))return Ar.QUIRKS;let r=t===null?aP:$k;if(Bw(n,r))return Ar.QUIRKS;if(r=t===null?Gk:oP,Bw(n,r))return Ar.LIMITED_QUIRKS}return Ar.NO_QUIRKS}const Uw={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},uP="definitionurl",cP="definitionURL",dP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),fP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Le.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Le.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Le.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Le.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Le.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Le.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Le.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Le.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Le.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Le.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Le.XMLNS}]]),pP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),mP=new Set([S.B,S.BIG,S.BLOCKQUOTE,S.BODY,S.BR,S.CENTER,S.CODE,S.DD,S.DIV,S.DL,S.DT,S.EM,S.EMBED,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HR,S.I,S.IMG,S.LI,S.LISTING,S.MENU,S.META,S.NOBR,S.OL,S.P,S.PRE,S.RUBY,S.S,S.SMALL,S.SPAN,S.STRONG,S.STRIKE,S.SUB,S.SUP,S.TABLE,S.TT,S.U,S.UL,S.VAR]);function gP(e){const t=e.tagID;return t===S.FONT&&e.attrs.some(({name:r})=>r===Gi.COLOR||r===Gi.SIZE||r===Gi.FACE)||mP.has(t)}function Vk(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===uP){e.attrs[t].name=cP;break}}function Yk(e){for(let t=0;t<e.attrs.length;t++){const n=dP.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function _S(e){for(let t=0;t<e.attrs.length;t++){const n=fP.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function hP(e){const t=pP.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Ms(e.tagName))}function bP(e,t){return t===Le.MATHML&&(e===S.MI||e===S.MO||e===S.MN||e===S.MS||e===S.MTEXT)}function EP(e,t,n){if(t===Le.MATHML&&e===S.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Gi.ENCODING){const o=n[r].value.toLowerCase();return o===Uw.TEXT_HTML||o===Uw.APPLICATION_XML}}return t===Le.SVG&&(e===S.FOREIGN_OBJECT||e===S.DESC||e===S.TITLE)}function yP(e,t,n,r){return(!r||r===Le.HTML)&&EP(e,t,n)||(!r||r===Le.MATHML)&&bP(e,t)}const SP="hidden",TP=8,vP=3;var Z;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(Z||(Z={}));const xP={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},qk=new Set([S.TABLE,S.TBODY,S.TFOOT,S.THEAD,S.TR]),Pw={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ui,onParseError:null};class Xd{constructor(t,n,r=null,o=null){this.fragmentContext=r,this.scriptHandler=o,this.currentToken=null,this.stopped=!1,this.insertionMode=Z.INITIAL,this.originalInsertionMode=Z.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Pw,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new qU(this.options,this),this.activeFormattingElements=new tP(this.treeAdapter),this.fragmentContextID=r?Ms(this.treeAdapter.getTagName(r)):S.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new eP(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...Pw,...n};t??(t=r.treeAdapter.createElement(me.TEMPLATE,Le.HTML,[]));const o=r.treeAdapter.createElement("documentmock",Le.HTML,[]),s=new this(r,o,t);return s.fragmentContextID===S.TEMPLATE&&s.tmplInsertionModeStack.unshift(Z.IN_TEMPLATE),s._initTokenizerForFragmentParsing(),s._insertFakeRootElement(),s._resetInsertionMode(),s._findFormInFragmentContext(),s}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var o;if(!this.onParseError)return;const s=(o=t.location)!==null&&o!==void 0?o:xP,u={code:n,startLine:s.startLine,startCol:s.startCol,startOffset:s.startOffset,endLine:r?s.startLine:s.endLine,endCol:r?s.startCol:s.endCol,endOffset:r?s.startOffset:s.endOffset};this.onParseError(u)}onItemPush(t,n,r){var o,s;(s=(o=this.treeAdapter).onItemPush)===null||s===void 0||s.call(o,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,o;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(o=(r=this.treeAdapter).onItemPop)===null||o===void 0||o.call(r,t,this.openElements.current),n){let s,u;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,u=this.fragmentContextID):{current:s,currentTagId:u}=this.openElements,this._setContextModes(s,u)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Le.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Le.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=Z.TEXT}switchToPlaintextParsing(){this.insertionMode=Z.TEXT,this.originalInsertionMode=Z.IN_BODY,this.tokenizer.state=rn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===me.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Le.HTML))switch(this.fragmentContextID){case S.TITLE:case S.TEXTAREA:{this.tokenizer.state=rn.RCDATA;break}case S.STYLE:case S.XMP:case S.IFRAME:case S.NOEMBED:case S.NOFRAMES:case S.NOSCRIPT:{this.tokenizer.state=rn.RAWTEXT;break}case S.SCRIPT:{this.tokenizer.state=rn.SCRIPT_DATA;break}case S.PLAINTEXT:{this.tokenizer.state=rn.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",o=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,o),t.location){const u=this.treeAdapter.getChildNodes(this.document).find(c=>this.treeAdapter.isDocumentTypeNode(c));u&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Le.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Le.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(me.HTML,Le.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,S.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const o=this.treeAdapter.getChildNodes(n),s=r?o.lastIndexOf(r):o.length,u=o[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(u)){const{endLine:p,endCol:f,endOffset:g}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(u,{endLine:p,endCol:f,endOffset:g})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,o=this.treeAdapter.getTagName(t),s=n.type===ht.END_TAG&&o===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===S.SVG&&this.treeAdapter.getTagName(n)===me.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Le.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===S.MGLYPH||t.tagID===S.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,Le.HTML)}_processToken(t){switch(t.type){case ht.CHARACTER:{this.onCharacter(t);break}case ht.NULL_CHARACTER:{this.onNullCharacter(t);break}case ht.COMMENT:{this.onComment(t);break}case ht.DOCTYPE:{this.onDoctype(t);break}case ht.START_TAG:{this._processStartTag(t);break}case ht.END_TAG:{this.onEndTag(t);break}case ht.EOF:{this.onEof(t);break}case ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const o=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return yP(t,o,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(o=>o.type===Wr.Marker||this.openElements.contains(o.element)),r=n===-1?t-1:n-1;for(let o=r;o>=0;o--){const s=this.activeFormattingElements.entries[o];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Z.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(S.P),this.openElements.popUntilTagNamePopped(S.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case S.TR:{this.insertionMode=Z.IN_ROW;return}case S.TBODY:case S.THEAD:case S.TFOOT:{this.insertionMode=Z.IN_TABLE_BODY;return}case S.CAPTION:{this.insertionMode=Z.IN_CAPTION;return}case S.COLGROUP:{this.insertionMode=Z.IN_COLUMN_GROUP;return}case S.TABLE:{this.insertionMode=Z.IN_TABLE;return}case S.BODY:{this.insertionMode=Z.IN_BODY;return}case S.FRAMESET:{this.insertionMode=Z.IN_FRAMESET;return}case S.SELECT:{this._resetInsertionModeForSelect(t);return}case S.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case S.HTML:{this.insertionMode=this.headElement?Z.AFTER_HEAD:Z.BEFORE_HEAD;return}case S.TD:case S.TH:{if(t>0){this.insertionMode=Z.IN_CELL;return}break}case S.HEAD:{if(t>0){this.insertionMode=Z.IN_HEAD;return}break}}this.insertionMode=Z.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===S.TEMPLATE)break;if(r===S.TABLE){this.insertionMode=Z.IN_SELECT_IN_TABLE;return}}this.insertionMode=Z.IN_SELECT}_isElementCausesFosterParenting(t){return qk.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case S.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Le.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case S.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return $U[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Jj(this,t);return}switch(this.insertionMode){case Z.INITIAL:{Fl(this,t);break}case Z.BEFORE_HTML:{Kl(this,t);break}case Z.BEFORE_HEAD:{Zl(this,t);break}case Z.IN_HEAD:{Ql(this,t);break}case Z.IN_HEAD_NO_SCRIPT:{Jl(this,t);break}case Z.AFTER_HEAD:{eu(this,t);break}case Z.IN_BODY:case Z.IN_CAPTION:case Z.IN_CELL:case Z.IN_TEMPLATE:{Xk(this,t);break}case Z.TEXT:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case Z.IN_TABLE:case Z.IN_TABLE_BODY:case Z.IN_ROW:{Yg(this,t);break}case Z.IN_TABLE_TEXT:{tD(this,t);break}case Z.IN_COLUMN_GROUP:{Kd(this,t);break}case Z.AFTER_BODY:{Zd(this,t);break}case Z.AFTER_AFTER_BODY:{kd(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Qj(this,t);return}switch(this.insertionMode){case Z.INITIAL:{Fl(this,t);break}case Z.BEFORE_HTML:{Kl(this,t);break}case Z.BEFORE_HEAD:{Zl(this,t);break}case Z.IN_HEAD:{Ql(this,t);break}case Z.IN_HEAD_NO_SCRIPT:{Jl(this,t);break}case Z.AFTER_HEAD:{eu(this,t);break}case Z.TEXT:{this._insertCharacters(t);break}case Z.IN_TABLE:case Z.IN_TABLE_BODY:case Z.IN_ROW:{Yg(this,t);break}case Z.IN_COLUMN_GROUP:{Kd(this,t);break}case Z.AFTER_BODY:{Zd(this,t);break}case Z.AFTER_AFTER_BODY:{kd(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Vh(this,t);return}switch(this.insertionMode){case Z.INITIAL:case Z.BEFORE_HTML:case Z.BEFORE_HEAD:case Z.IN_HEAD:case Z.IN_HEAD_NO_SCRIPT:case Z.AFTER_HEAD:case Z.IN_BODY:case Z.IN_TABLE:case Z.IN_CAPTION:case Z.IN_COLUMN_GROUP:case Z.IN_TABLE_BODY:case Z.IN_ROW:case Z.IN_CELL:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:case Z.IN_TEMPLATE:case Z.IN_FRAMESET:case Z.AFTER_FRAMESET:{Vh(this,t);break}case Z.IN_TABLE_TEXT:{Bl(this,t);break}case Z.AFTER_BODY:{kP(this,t);break}case Z.AFTER_AFTER_BODY:case Z.AFTER_AFTER_FRAMESET:{DP(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case Z.INITIAL:{IP(this,t);break}case Z.BEFORE_HEAD:case Z.IN_HEAD:case Z.IN_HEAD_NO_SCRIPT:case Z.AFTER_HEAD:{this._err(t,ve.misplacedDoctype);break}case Z.IN_TABLE_TEXT:{Bl(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,ve.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?eH(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case Z.INITIAL:{Fl(this,t);break}case Z.BEFORE_HTML:{OP(this,t);break}case Z.BEFORE_HEAD:{MP(this,t);break}case Z.IN_HEAD:{Pr(this,t);break}case Z.IN_HEAD_NO_SCRIPT:{UP(this,t);break}case Z.AFTER_HEAD:{jP(this,t);break}case Z.IN_BODY:{Fn(this,t);break}case Z.IN_TABLE:{bs(this,t);break}case Z.IN_TABLE_TEXT:{Bl(this,t);break}case Z.IN_CAPTION:{Fj(this,t);break}case Z.IN_COLUMN_GROUP:{DS(this,t);break}case Z.IN_TABLE_BODY:{ep(this,t);break}case Z.IN_ROW:{tp(this,t);break}case Z.IN_CELL:{Pj(this,t);break}case Z.IN_SELECT:{aD(this,t);break}case Z.IN_SELECT_IN_TABLE:{Hj(this,t);break}case Z.IN_TEMPLATE:{$j(this,t);break}case Z.AFTER_BODY:{Vj(this,t);break}case Z.IN_FRAMESET:{Yj(this,t);break}case Z.AFTER_FRAMESET:{Wj(this,t);break}case Z.AFTER_AFTER_BODY:{Kj(this,t);break}case Z.AFTER_AFTER_FRAMESET:{Zj(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?tH(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case Z.INITIAL:{Fl(this,t);break}case Z.BEFORE_HTML:{LP(this,t);break}case Z.BEFORE_HEAD:{FP(this,t);break}case Z.IN_HEAD:{BP(this,t);break}case Z.IN_HEAD_NO_SCRIPT:{PP(this,t);break}case Z.AFTER_HEAD:{HP(this,t);break}case Z.IN_BODY:{Jf(this,t);break}case Z.TEXT:{wj(this,t);break}case Z.IN_TABLE:{gu(this,t);break}case Z.IN_TABLE_TEXT:{Bl(this,t);break}case Z.IN_CAPTION:{Bj(this,t);break}case Z.IN_COLUMN_GROUP:{Uj(this,t);break}case Z.IN_TABLE_BODY:{Yh(this,t);break}case Z.IN_ROW:{rD(this,t);break}case Z.IN_CELL:{jj(this,t);break}case Z.IN_SELECT:{iD(this,t);break}case Z.IN_SELECT_IN_TABLE:{zj(this,t);break}case Z.IN_TEMPLATE:{Gj(this,t);break}case Z.AFTER_BODY:{sD(this,t);break}case Z.IN_FRAMESET:{qj(this,t);break}case Z.AFTER_FRAMESET:{Xj(this,t);break}case Z.AFTER_AFTER_BODY:{kd(this,t);break}}}onEof(t){switch(this.insertionMode){case Z.INITIAL:{Fl(this,t);break}case Z.BEFORE_HTML:{Kl(this,t);break}case Z.BEFORE_HEAD:{Zl(this,t);break}case Z.IN_HEAD:{Ql(this,t);break}case Z.IN_HEAD_NO_SCRIPT:{Jl(this,t);break}case Z.AFTER_HEAD:{eu(this,t);break}case Z.IN_BODY:case Z.IN_TABLE:case Z.IN_CAPTION:case Z.IN_COLUMN_GROUP:case Z.IN_TABLE_BODY:case Z.IN_ROW:case Z.IN_CELL:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:{Jk(this,t);break}case Z.TEXT:{Nj(this,t);break}case Z.IN_TABLE_TEXT:{Bl(this,t);break}case Z.IN_TEMPLATE:{oD(this,t);break}case Z.AFTER_BODY:case Z.IN_FRAMESET:case Z.AFTER_FRAMESET:case Z.AFTER_AFTER_BODY:case Z.AFTER_AFTER_FRAMESET:{kS(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===$.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case Z.IN_HEAD:case Z.IN_HEAD_NO_SCRIPT:case Z.AFTER_HEAD:case Z.TEXT:case Z.IN_COLUMN_GROUP:case Z.IN_SELECT:case Z.IN_SELECT_IN_TABLE:case Z.IN_FRAMESET:case Z.AFTER_FRAMESET:{this._insertCharacters(t);break}case Z.IN_BODY:case Z.IN_CAPTION:case Z.IN_CELL:case Z.IN_TEMPLATE:case Z.AFTER_BODY:case Z.AFTER_AFTER_BODY:case Z.AFTER_AFTER_FRAMESET:{Wk(this,t);break}case Z.IN_TABLE:case Z.IN_TABLE_BODY:case Z.IN_ROW:{Yg(this,t);break}case Z.IN_TABLE_TEXT:{eD(this,t);break}}}}function AP(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Qk(e,t),n}function CP(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function wP(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let s=0,u=o;u!==n;s++,u=o){o=e.openElements.getCommonAncestor(u);const c=e.activeFormattingElements.getElementEntry(u),p=c&&s>=vP;!c||p?(p&&e.activeFormattingElements.removeEntry(c),e.openElements.remove(u)):(u=NP(e,c),r===t&&(e.activeFormattingElements.bookmark=c),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(u,r),r=u)}return r}function NP(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function _P(e,t,n){const r=e.treeAdapter.getTagName(t),o=Ms(r);if(e._isElementCausesFosterParenting(o))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);o===S.TEMPLATE&&s===Le.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function RP(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,s=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,o.tagID)}function RS(e,t){for(let n=0;n<TP;n++){const r=AP(e,t);if(!r)break;const o=CP(e,r);if(!o)break;e.activeFormattingElements.bookmark=r;const s=wP(e,o,r.element),u=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(s),u&&_P(e,u,s),RP(e,o,r)}}function Vh(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function kP(e,t){e._appendCommentNode(t,e.openElements.items[0])}function DP(e,t){e._appendCommentNode(t,e.document)}function kS(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],o=e.treeAdapter.getNodeSourceCodeLocation(r);if(o&&!o.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],u=e.treeAdapter.getNodeSourceCodeLocation(s);u&&!u.endTag&&e._setEndLocation(s,t)}}}}function IP(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ar.QUIRKS:lP(t);sP(t)||e._err(t,ve.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Z.BEFORE_HTML}function Fl(e,t){e._err(t,ve.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ar.QUIRKS),e.insertionMode=Z.BEFORE_HTML,e._processToken(t)}function OP(e,t){t.tagID===S.HTML?(e._insertElement(t,Le.HTML),e.insertionMode=Z.BEFORE_HEAD):Kl(e,t)}function LP(e,t){const n=t.tagID;(n===S.HTML||n===S.HEAD||n===S.BODY||n===S.BR)&&Kl(e,t)}function Kl(e,t){e._insertFakeRootElement(),e.insertionMode=Z.BEFORE_HEAD,e._processToken(t)}function MP(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.HEAD:{e._insertElement(t,Le.HTML),e.headElement=e.openElements.current,e.insertionMode=Z.IN_HEAD;break}default:Zl(e,t)}}function FP(e,t){const n=t.tagID;n===S.HEAD||n===S.BODY||n===S.HTML||n===S.BR?Zl(e,t):e._err(t,ve.endTagWithoutMatchingOpenElement)}function Zl(e,t){e._insertFakeElement(me.HEAD,S.HEAD),e.headElement=e.openElements.current,e.insertionMode=Z.IN_HEAD,e._processToken(t)}function Pr(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:{e._appendElement(t,Le.HTML),t.ackSelfClosing=!0;break}case S.TITLE:{e._switchToTextParsing(t,rn.RCDATA);break}case S.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,rn.RAWTEXT):(e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_HEAD_NO_SCRIPT);break}case S.NOFRAMES:case S.STYLE:{e._switchToTextParsing(t,rn.RAWTEXT);break}case S.SCRIPT:{e._switchToTextParsing(t,rn.SCRIPT_DATA);break}case S.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Z.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Z.IN_TEMPLATE);break}case S.HEAD:{e._err(t,ve.misplacedStartTagForHeadElement);break}default:Ql(e,t)}}function BP(e,t){switch(t.tagID){case S.HEAD:{e.openElements.pop(),e.insertionMode=Z.AFTER_HEAD;break}case S.BODY:case S.BR:case S.HTML:{Ql(e,t);break}case S.TEMPLATE:{lo(e,t);break}default:e._err(t,ve.endTagWithoutMatchingOpenElement)}}function lo(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==S.TEMPLATE&&e._err(t,ve.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,ve.endTagWithoutMatchingOpenElement)}function Ql(e,t){e.openElements.pop(),e.insertionMode=Z.AFTER_HEAD,e._processToken(t)}function UP(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.BASEFONT:case S.BGSOUND:case S.HEAD:case S.LINK:case S.META:case S.NOFRAMES:case S.STYLE:{Pr(e,t);break}case S.NOSCRIPT:{e._err(t,ve.nestedNoscriptInHead);break}default:Jl(e,t)}}function PP(e,t){switch(t.tagID){case S.NOSCRIPT:{e.openElements.pop(),e.insertionMode=Z.IN_HEAD;break}case S.BR:{Jl(e,t);break}default:e._err(t,ve.endTagWithoutMatchingOpenElement)}}function Jl(e,t){const n=t.type===ht.EOF?ve.openElementsLeftAfterEof:ve.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Z.IN_HEAD,e._processToken(t)}function jP(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.BODY:{e._insertElement(t,Le.HTML),e.framesetOk=!1,e.insertionMode=Z.IN_BODY;break}case S.FRAMESET:{e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_FRAMESET;break}case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:{e._err(t,ve.abandonedHeadElementChild),e.openElements.push(e.headElement,S.HEAD),Pr(e,t),e.openElements.remove(e.headElement);break}case S.HEAD:{e._err(t,ve.misplacedStartTagForHeadElement);break}default:eu(e,t)}}function HP(e,t){switch(t.tagID){case S.BODY:case S.HTML:case S.BR:{eu(e,t);break}case S.TEMPLATE:{lo(e,t);break}default:e._err(t,ve.endTagWithoutMatchingOpenElement)}}function eu(e,t){e._insertFakeElement(me.BODY,S.BODY),e.insertionMode=Z.IN_BODY,Qf(e,t)}function Qf(e,t){switch(t.type){case ht.CHARACTER:{Xk(e,t);break}case ht.WHITESPACE_CHARACTER:{Wk(e,t);break}case ht.COMMENT:{Vh(e,t);break}case ht.START_TAG:{Fn(e,t);break}case ht.END_TAG:{Jf(e,t);break}case ht.EOF:{Jk(e,t);break}}}function Wk(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Xk(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function zP(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function $P(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function GP(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_FRAMESET)}function VP(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,Le.HTML)}function YP(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Gh.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Le.HTML)}function qP(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,Le.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function WP(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,Le.HTML),n||(e.formElement=e.openElements.current))}function XP(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const o=e.openElements.tagIDs[r];if(n===S.LI&&o===S.LI||(n===S.DD||n===S.DT)&&(o===S.DD||o===S.DT)){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(o!==S.ADDRESS&&o!==S.DIV&&o!==S.P&&e._isSpecialElement(e.openElements.items[r],o))break}e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,Le.HTML)}function KP(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,Le.HTML),e.tokenizer.state=rn.PLAINTEXT}function ZP(e,t){e.openElements.hasInScope(S.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Le.HTML),e.framesetOk=!1}function QP(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(me.A);n&&(RS(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Le.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function JP(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Le.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ej(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(S.NOBR)&&(RS(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Le.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function tj(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Le.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function nj(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ar.QUIRKS&&e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,Le.HTML),e.framesetOk=!1,e.insertionMode=Z.IN_TABLE}function Kk(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Le.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zk(e){const t=Pk(e,Gi.TYPE);return t!=null&&t.toLowerCase()===SP}function rj(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Le.HTML),Zk(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function aj(e,t){e._appendElement(t,Le.HTML),t.ackSelfClosing=!0}function ij(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._appendElement(t,Le.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function oj(e,t){t.tagName=me.IMG,t.tagID=S.IMG,Kk(e,t)}function sj(e,t){e._insertElement(t,Le.HTML),e.skipNextNewLine=!0,e.tokenizer.state=rn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Z.TEXT}function lj(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,rn.RAWTEXT)}function uj(e,t){e.framesetOk=!1,e._switchToTextParsing(t,rn.RAWTEXT)}function jw(e,t){e._switchToTextParsing(t,rn.RAWTEXT)}function cj(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Le.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Z.IN_TABLE||e.insertionMode===Z.IN_CAPTION||e.insertionMode===Z.IN_TABLE_BODY||e.insertionMode===Z.IN_ROW||e.insertionMode===Z.IN_CELL?Z.IN_SELECT_IN_TABLE:Z.IN_SELECT}function dj(e,t){e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Le.HTML)}function fj(e,t){e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Le.HTML)}function pj(e,t){e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(S.RTC),e._insertElement(t,Le.HTML)}function mj(e,t){e._reconstructActiveFormattingElements(),Vk(t),_S(t),t.selfClosing?e._appendElement(t,Le.MATHML):e._insertElement(t,Le.MATHML),t.ackSelfClosing=!0}function gj(e,t){e._reconstructActiveFormattingElements(),Yk(t),_S(t),t.selfClosing?e._appendElement(t,Le.SVG):e._insertElement(t,Le.SVG),t.ackSelfClosing=!0}function Hw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Le.HTML)}function Fn(e,t){switch(t.tagID){case S.I:case S.S:case S.B:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.SMALL:case S.STRIKE:case S.STRONG:{JP(e,t);break}case S.A:{QP(e,t);break}case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:{YP(e,t);break}case S.P:case S.DL:case S.OL:case S.UL:case S.DIV:case S.DIR:case S.NAV:case S.MAIN:case S.MENU:case S.ASIDE:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.DETAILS:case S.ADDRESS:case S.ARTICLE:case S.SEARCH:case S.SECTION:case S.SUMMARY:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:{VP(e,t);break}case S.LI:case S.DD:case S.DT:{XP(e,t);break}case S.BR:case S.IMG:case S.WBR:case S.AREA:case S.EMBED:case S.KEYGEN:{Kk(e,t);break}case S.HR:{ij(e,t);break}case S.RB:case S.RTC:{fj(e,t);break}case S.RT:case S.RP:{pj(e,t);break}case S.PRE:case S.LISTING:{qP(e,t);break}case S.XMP:{lj(e,t);break}case S.SVG:{gj(e,t);break}case S.HTML:{zP(e,t);break}case S.BASE:case S.LINK:case S.META:case S.STYLE:case S.TITLE:case S.SCRIPT:case S.BGSOUND:case S.BASEFONT:case S.TEMPLATE:{Pr(e,t);break}case S.BODY:{$P(e,t);break}case S.FORM:{WP(e,t);break}case S.NOBR:{ej(e,t);break}case S.MATH:{mj(e,t);break}case S.TABLE:{nj(e,t);break}case S.INPUT:{rj(e,t);break}case S.PARAM:case S.TRACK:case S.SOURCE:{aj(e,t);break}case S.IMAGE:{oj(e,t);break}case S.BUTTON:{ZP(e,t);break}case S.APPLET:case S.OBJECT:case S.MARQUEE:{tj(e,t);break}case S.IFRAME:{uj(e,t);break}case S.SELECT:{cj(e,t);break}case S.OPTION:case S.OPTGROUP:{dj(e,t);break}case S.NOEMBED:case S.NOFRAMES:{jw(e,t);break}case S.FRAMESET:{GP(e,t);break}case S.TEXTAREA:{sj(e,t);break}case S.NOSCRIPT:{e.options.scriptingEnabled?jw(e,t):Hw(e,t);break}case S.PLAINTEXT:{KP(e,t);break}case S.COL:case S.TH:case S.TD:case S.TR:case S.HEAD:case S.FRAME:case S.TBODY:case S.TFOOT:case S.THEAD:case S.CAPTION:case S.COLGROUP:break;default:Hw(e,t)}}function hj(e,t){if(e.openElements.hasInScope(S.BODY)&&(e.insertionMode=Z.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function bj(e,t){e.openElements.hasInScope(S.BODY)&&(e.insertionMode=Z.AFTER_BODY,sD(e,t))}function Ej(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function yj(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(S.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(S.FORM):n&&e.openElements.remove(n))}function Sj(e){e.openElements.hasInButtonScope(S.P)||e._insertFakeElement(me.P,S.P),e._closePElement()}function Tj(e){e.openElements.hasInListItemScope(S.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(S.LI),e.openElements.popUntilTagNamePopped(S.LI))}function vj(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function xj(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Aj(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Cj(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(me.BR,S.BR),e.openElements.pop(),e.framesetOk=!1}function Qk(e,t){const n=t.tagName,r=t.tagID;for(let o=e.openElements.stackTop;o>0;o--){const s=e.openElements.items[o],u=e.openElements.tagIDs[o];if(r===u&&(r!==S.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=o&&e.openElements.shortenToLength(o);break}if(e._isSpecialElement(s,u))break}}function Jf(e,t){switch(t.tagID){case S.A:case S.B:case S.I:case S.S:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.NOBR:case S.SMALL:case S.STRIKE:case S.STRONG:{RS(e,t);break}case S.P:{Sj(e);break}case S.DL:case S.UL:case S.OL:case S.DIR:case S.DIV:case S.NAV:case S.PRE:case S.MAIN:case S.MENU:case S.ASIDE:case S.BUTTON:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.ADDRESS:case S.ARTICLE:case S.DETAILS:case S.SEARCH:case S.SECTION:case S.SUMMARY:case S.LISTING:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:{Ej(e,t);break}case S.LI:{Tj(e);break}case S.DD:case S.DT:{vj(e,t);break}case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:{xj(e);break}case S.BR:{Cj(e);break}case S.BODY:{hj(e,t);break}case S.HTML:{bj(e,t);break}case S.FORM:{yj(e);break}case S.APPLET:case S.OBJECT:case S.MARQUEE:{Aj(e,t);break}case S.TEMPLATE:{lo(e,t);break}default:Qk(e,t)}}function Jk(e,t){e.tmplInsertionModeStack.length>0?oD(e,t):kS(e,t)}function wj(e,t){var n;t.tagID===S.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Nj(e,t){e._err(t,ve.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Yg(e,t){if(e.openElements.currentTagId!==void 0&&qk.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Z.IN_TABLE_TEXT,t.type){case ht.CHARACTER:{tD(e,t);break}case ht.WHITESPACE_CHARACTER:{eD(e,t);break}}else Pu(e,t)}function _j(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_CAPTION}function Rj(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_COLUMN_GROUP}function kj(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(me.COLGROUP,S.COLGROUP),e.insertionMode=Z.IN_COLUMN_GROUP,DS(e,t)}function Dj(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_TABLE_BODY}function Ij(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(me.TBODY,S.TBODY),e.insertionMode=Z.IN_TABLE_BODY,ep(e,t)}function Oj(e,t){e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Lj(e,t){Zk(t)?e._appendElement(t,Le.HTML):Pu(e,t),t.ackSelfClosing=!0}function Mj(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Le.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function bs(e,t){switch(t.tagID){case S.TD:case S.TH:case S.TR:{Ij(e,t);break}case S.STYLE:case S.SCRIPT:case S.TEMPLATE:{Pr(e,t);break}case S.COL:{kj(e,t);break}case S.FORM:{Mj(e,t);break}case S.TABLE:{Oj(e,t);break}case S.TBODY:case S.TFOOT:case S.THEAD:{Dj(e,t);break}case S.INPUT:{Lj(e,t);break}case S.CAPTION:{_j(e,t);break}case S.COLGROUP:{Rj(e,t);break}default:Pu(e,t)}}function gu(e,t){switch(t.tagID){case S.TABLE:{e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode());break}case S.TEMPLATE:{lo(e,t);break}case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:Pu(e,t)}}function Pu(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Qf(e,t),e.fosterParentingEnabled=n}function eD(e,t){e.pendingCharacterTokens.push(t)}function tD(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Bl(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Pu(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const nD=new Set([S.CAPTION,S.COL,S.COLGROUP,S.TBODY,S.TD,S.TFOOT,S.TH,S.THEAD,S.TR]);function Fj(e,t){const n=t.tagID;nD.has(n)?e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Z.IN_TABLE,bs(e,t)):Fn(e,t)}function Bj(e,t){const n=t.tagID;switch(n){case S.CAPTION:case S.TABLE:{e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Z.IN_TABLE,n===S.TABLE&&gu(e,t));break}case S.BODY:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:Jf(e,t)}}function DS(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.COL:{e._appendElement(t,Le.HTML),t.ackSelfClosing=!0;break}case S.TEMPLATE:{Pr(e,t);break}default:Kd(e,t)}}function Uj(e,t){switch(t.tagID){case S.COLGROUP:{e.openElements.currentTagId===S.COLGROUP&&(e.openElements.pop(),e.insertionMode=Z.IN_TABLE);break}case S.TEMPLATE:{lo(e,t);break}case S.COL:break;default:Kd(e,t)}}function Kd(e,t){e.openElements.currentTagId===S.COLGROUP&&(e.openElements.pop(),e.insertionMode=Z.IN_TABLE,e._processToken(t))}function ep(e,t){switch(t.tagID){case S.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_ROW;break}case S.TH:case S.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(me.TR,S.TR),e.insertionMode=Z.IN_ROW,tp(e,t);break}case S.CAPTION:case S.COL:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE,bs(e,t));break}default:bs(e,t)}}function Yh(e,t){const n=t.tagID;switch(t.tagID){case S.TBODY:case S.TFOOT:case S.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE);break}case S.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE,gu(e,t));break}case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TD:case S.TH:case S.TR:break;default:gu(e,t)}}function tp(e,t){switch(t.tagID){case S.TH:case S.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Le.HTML),e.insertionMode=Z.IN_CELL,e.activeFormattingElements.insertMarker();break}case S.CAPTION:case S.COL:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:case S.TR:{e.openElements.hasInTableScope(S.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY,ep(e,t));break}default:bs(e,t)}}function rD(e,t){switch(t.tagID){case S.TR:{e.openElements.hasInTableScope(S.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY);break}case S.TABLE:{e.openElements.hasInTableScope(S.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY,Yh(e,t));break}case S.TBODY:case S.TFOOT:case S.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(S.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Z.IN_TABLE_BODY,Yh(e,t));break}case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TD:case S.TH:break;default:gu(e,t)}}function Pj(e,t){const n=t.tagID;nD.has(n)?(e.openElements.hasInTableScope(S.TD)||e.openElements.hasInTableScope(S.TH))&&(e._closeTableCell(),tp(e,t)):Fn(e,t)}function jj(e,t){const n=t.tagID;switch(n){case S.TD:case S.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Z.IN_ROW);break}case S.TABLE:case S.TBODY:case S.TFOOT:case S.THEAD:case S.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),rD(e,t));break}case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:break;default:Jf(e,t)}}function aD(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.OPTION:{e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e._insertElement(t,Le.HTML);break}case S.OPTGROUP:{e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Le.HTML);break}case S.HR:{e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Le.HTML),t.ackSelfClosing=!0;break}case S.INPUT:case S.KEYGEN:case S.TEXTAREA:case S.SELECT:{e.openElements.hasInSelectScope(S.SELECT)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),t.tagID!==S.SELECT&&e._processStartTag(t));break}case S.SCRIPT:case S.TEMPLATE:{Pr(e,t);break}}}function iD(e,t){switch(t.tagID){case S.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===S.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===S.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop();break}case S.OPTION:{e.openElements.currentTagId===S.OPTION&&e.openElements.pop();break}case S.SELECT:{e.openElements.hasInSelectScope(S.SELECT)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode());break}case S.TEMPLATE:{lo(e,t);break}}}function Hj(e,t){const n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e._processStartTag(t)):aD(e,t)}function zj(e,t){const n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e.onEndTag(t)):iD(e,t)}function $j(e,t){switch(t.tagID){case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:{Pr(e,t);break}case S.CAPTION:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:{e.tmplInsertionModeStack[0]=Z.IN_TABLE,e.insertionMode=Z.IN_TABLE,bs(e,t);break}case S.COL:{e.tmplInsertionModeStack[0]=Z.IN_COLUMN_GROUP,e.insertionMode=Z.IN_COLUMN_GROUP,DS(e,t);break}case S.TR:{e.tmplInsertionModeStack[0]=Z.IN_TABLE_BODY,e.insertionMode=Z.IN_TABLE_BODY,ep(e,t);break}case S.TD:case S.TH:{e.tmplInsertionModeStack[0]=Z.IN_ROW,e.insertionMode=Z.IN_ROW,tp(e,t);break}default:e.tmplInsertionModeStack[0]=Z.IN_BODY,e.insertionMode=Z.IN_BODY,Fn(e,t)}}function Gj(e,t){t.tagID===S.TEMPLATE&&lo(e,t)}function oD(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):kS(e,t)}function Vj(e,t){t.tagID===S.HTML?Fn(e,t):Zd(e,t)}function sD(e,t){var n;if(t.tagID===S.HTML){if(e.fragmentContext||(e.insertionMode=Z.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===S.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Zd(e,t)}function Zd(e,t){e.insertionMode=Z.IN_BODY,Qf(e,t)}function Yj(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.FRAMESET:{e._insertElement(t,Le.HTML);break}case S.FRAME:{e._appendElement(t,Le.HTML),t.ackSelfClosing=!0;break}case S.NOFRAMES:{Pr(e,t);break}}}function qj(e,t){t.tagID===S.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==S.FRAMESET&&(e.insertionMode=Z.AFTER_FRAMESET))}function Wj(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.NOFRAMES:{Pr(e,t);break}}}function Xj(e,t){t.tagID===S.HTML&&(e.insertionMode=Z.AFTER_AFTER_FRAMESET)}function Kj(e,t){t.tagID===S.HTML?Fn(e,t):kd(e,t)}function kd(e,t){e.insertionMode=Z.IN_BODY,Qf(e,t)}function Zj(e,t){switch(t.tagID){case S.HTML:{Fn(e,t);break}case S.NOFRAMES:{Pr(e,t);break}}}function Qj(e,t){t.chars=qt,e._insertCharacters(t)}function Jj(e,t){e._insertCharacters(t),e.framesetOk=!1}function lD(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Le.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function eH(e,t){if(gP(t))lD(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Le.MATHML?Vk(t):r===Le.SVG&&(hP(t),Yk(t)),_S(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function tH(e,t){if(t.tagID===S.P||t.tagID===S.BR){lD(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Le.HTML){e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n);break}}}me.AREA,me.BASE,me.BASEFONT,me.BGSOUND,me.BR,me.COL,me.EMBED,me.FRAME,me.HR,me.IMG,me.INPUT,me.KEYGEN,me.LINK,me.META,me.PARAM,me.SOURCE,me.TRACK,me.WBR;function nH(e,t){return Xd.parse(e,t)}function rH(e,t,n){typeof e=="string"&&(n=t,t=e,e=null);const r=Xd.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}const np=uD("end"),ia=uD("start");function uD(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function aH(e){const t=ia(e),n=np(e);if(t&&n)return{start:t,end:n}}const iH=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,oH=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),zw={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function cD(e,t){const n=hH(e),r=Xf("type",{handlers:{root:sH,element:lH,text:uH,comment:fD,doctype:cH,raw:fH},unknown:pH}),o={parser:n?new Xd(zw):Xd.getFragmentParser(void 0,zw),handle(c){r(c,o)},stitches:!1,options:t||{}};r(e,o),Fs(o,ia());const s=n?o.parser.document:o.parser.getFragment(),u=Ik(s,{file:o.options.file});return o.stitches&&Mn(u,"comment",function(c,p,f){const g=c;if(g.value.stitch&&f&&p!==void 0){const h=f.children;return h[p]=g.value.stitch,p}}),u.type==="root"&&u.children.length===1&&u.children[0].type===e.type?u.children[0]:u}function dD(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function sH(e,t){dD(e.children,t)}function lH(e,t){mH(e,t),dD(e.children,t),gH(e,t)}function uH(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:ht.CHARACTER,chars:e.value,location:ju(e)};Fs(t,ia(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function cH(e,t){const n={type:ht.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:ju(e)};Fs(t,ia(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function dH(e,t){t.stitches=!0;const n=bH(e);if("children"in e&&"children"in n){const r=cD({type:"root",children:e.children},t.options);n.children=r.children}fD({type:"comment",value:{stitch:n}},t)}function fD(e,t){const n=e.value,r={type:ht.COMMENT,data:n,location:ju(e)};Fs(t,ia(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function fH(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,pD(t,ia(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(iH,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function pH(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))dH(n,t);else{let r="";throw oH.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Fs(e,t){pD(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=rn.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function pD(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function mH(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===rn.PLAINTEXT)return;Fs(t,ia(e));const r=t.parser.openElements.current;let o="namespaceURI"in r?r.namespaceURI:zi.html;o===zi.html&&n==="svg"&&(o=zi.svg);const s=SU({...e,children:[]},{space:o===zi.svg?"svg":"html"}),u={type:ht.START_TAG,tagName:n,tagID:Ms(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:ju(e)};t.parser.currentToken=u,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function gH(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Mk.includes(n)||t.parser.tokenizer.state===rn.PLAINTEXT)return;Fs(t,np(e));const r={type:ht.END_TAG,tagName:n,tagID:Ms(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:ju(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===rn.RCDATA||t.parser.tokenizer.state===rn.RAWTEXT||t.parser.tokenizer.state===rn.SCRIPT_DATA)&&(t.parser.tokenizer.state=rn.DATA)}function hH(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function ju(e){const t=ia(e)||{line:void 0,column:void 0,offset:void 0},n=np(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function bH(e){return"children"in e?Zi({...e,children:[]}):Zi(e)}function mD(e){return function(t,n){return cD(t,{...e,file:n})}}const EH=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,yH=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,SH={};function $w(e,t){return(SH.jsx?yH:EH).test(e)}var ts={},qg,Gw;function TH(){if(Gw)return qg;Gw=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,p=`
|
|
65
|
-
`,f="/",g="*",h="",y="comment",T="declaration";function x(w,N){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];N=N||{};var R=1,D=1;function L(ue){var ie=ue.match(t);ie&&(R+=ie.length);var W=ue.lastIndexOf(p);D=~W?ue.length-W:D+ue.length}function O(){var ue={line:R,column:D};return function(ie){return ie.position=new I(ue),G(),ie}}function I(ue){this.start=ue,this.end={line:R,column:D},this.source=N.source}I.prototype.content=w;function B(ue){var ie=new Error(N.source+":"+R+":"+D+": "+ue);if(ie.reason=ue,ie.filename=N.source,ie.line=R,ie.column=D,ie.source=w,!N.silent)throw ie}function j(ue){var ie=ue.exec(w);if(ie){var W=ie[0];return L(W),w=w.slice(W.length),ie}}function G(){j(n)}function z(ue){var ie;for(ue=ue||[];ie=ee();)ie!==!1&&ue.push(ie);return ue}function ee(){var ue=O();if(!(f!=w.charAt(0)||g!=w.charAt(1))){for(var ie=2;h!=w.charAt(ie)&&(g!=w.charAt(ie)||f!=w.charAt(ie+1));)++ie;if(ie+=2,h===w.charAt(ie-1))return B("End of comment missing");var W=w.slice(2,ie-2);return D+=2,L(W),w=w.slice(ie),D+=2,ue({type:y,comment:W})}}function X(){var ue=O(),ie=j(r);if(ie){if(ee(),!j(o))return B("property missing ':'");var W=j(s),re=ue({type:T,property:C(ie[0].replace(e,h)),value:W?C(W[0].replace(e,h)):h});return j(u),re}}function oe(){var ue=[];z(ue);for(var ie;ie=X();)ie!==!1&&(ue.push(ie),z(ue));return ue}return G(),oe()}function C(w){return w?w.replace(c,h):h}return qg=x,qg}var Vw;function vH(){if(Vw)return ts;Vw=1;var e=ts&&ts.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=n;const t=e(TH());function n(r,o){let s=null;if(!r||typeof r!="string")return s;const u=(0,t.default)(r),c=typeof o=="function";return u.forEach(p=>{if(p.type!=="declaration")return;const{property:f,value:g}=p;c?o(f,g,p):g&&(s=s||{},s[f]=g)}),s}return ts}var Ul={},Yw;function xH(){if(Yw)return Ul;Yw=1,Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(f){return!f||n.test(f)||e.test(f)},u=function(f,g){return g.toUpperCase()},c=function(f,g){return"".concat(g,"-")},p=function(f,g){return g===void 0&&(g={}),s(f)?f:(f=f.toLowerCase(),g.reactCompat?f=f.replace(o,c):f=f.replace(r,c),f.replace(t,u))};return Ul.camelCase=p,Ul}var Pl,qw;function AH(){if(qw)return Pl;qw=1;var e=Pl&&Pl.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},t=e(vH()),n=xH();function r(o,s){var u={};return!o||typeof o!="string"||(0,t.default)(o,function(c,p){c&&p&&(u[(0,n.camelCase)(c,s)]=p)}),u}return r.default=r,Pl=r,Pl}var CH=AH();const wH=Ji(CH);function tu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ww(e.position):"start"in e||"end"in e?Ww(e):"line"in e||"column"in e?qh(e):""}function qh(e){return Xw(e&&e.line)+":"+Xw(e&&e.column)}function Ww(e){return qh(e&&e.start)+"-"+qh(e&&e.end)}function Xw(e){return e&&typeof e=="number"?e:1}class Dn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",s={},u=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?o=t:!s.cause&&t&&(u=!0,o=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const p=r.indexOf(":");p===-1?s.ruleId=r:(s.source=r.slice(0,p),s.ruleId=r.slice(p+1))}if(!s.place&&s.ancestors&&s.ancestors){const p=s.ancestors[s.ancestors.length-1];p&&(s.place=p.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=o,this.line=c?c.line:void 0,this.name=tu(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=u&&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}}Dn.prototype.file="";Dn.prototype.name="";Dn.prototype.reason="";Dn.prototype.message="";Dn.prototype.stack="";Dn.prototype.column=void 0;Dn.prototype.line=void 0;Dn.prototype.ancestors=void 0;Dn.prototype.cause=void 0;Dn.prototype.fatal=void 0;Dn.prototype.place=void 0;Dn.prototype.ruleId=void 0;Dn.prototype.source=void 0;const IS={}.hasOwnProperty,NH=new Map,_H=/[A-Z]/g,RH=new Set(["table","tbody","thead","tfoot","tr"]),kH=new Set(["td","th"]),gD="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function DH(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=PH(n,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");r=UH(n,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ur:so,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=hD(o,e,void 0);return s&&typeof s!="string"?s:o.create(e,o.Fragment,{children:s||void 0},void 0)}function hD(e,t,n){if(t.type==="element")return IH(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return OH(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return MH(e,t,n);if(t.type==="mdxjsEsm")return LH(e,t);if(t.type==="root")return FH(e,t,n);if(t.type==="text")return BH(e,t)}function IH(e,t,n){const r=e.schema;let o=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(o=Ur,e.schema=o),e.ancestors.push(t);const s=ED(e,t.tagName,!1),u=jH(e,t);let c=LS(e,t);return RH.has(t.tagName)&&(c=c.filter(function(p){return typeof p=="string"?!Uu(p):!0})),bD(e,u,s,t),OS(u,c),e.ancestors.pop(),e.schema=r,e.create(t,s,u,n)}function OH(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}hu(e,t.position)}function LH(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);hu(e,t.position)}function MH(e,t,n){const r=e.schema;let o=r;t.name==="svg"&&r.space==="html"&&(o=Ur,e.schema=o),e.ancestors.push(t);const s=t.name===null?e.Fragment:ED(e,t.name,!0),u=HH(e,t),c=LS(e,t);return bD(e,u,s,t),OS(u,c),e.ancestors.pop(),e.schema=r,e.create(t,s,u,n)}function FH(e,t,n){const r={};return OS(r,LS(e,t)),e.create(t,e.Fragment,r,n)}function BH(e,t){return t.value}function bD(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function OS(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function UH(e,t,n){return r;function r(o,s,u,c){const f=Array.isArray(u.children)?n:t;return c?f(s,u,c):f(s,u)}}function PH(e,t){return n;function n(r,o,s,u){const c=Array.isArray(s.children),p=ia(r);return t(o,s,u,c,{columnNumber:p?p.column-1:void 0,fileName:e,lineNumber:p?p.line:void 0},void 0)}}function jH(e,t){const n={};let r,o;for(o in t.properties)if(o!=="children"&&IS.call(t.properties,o)){const s=zH(e,o,t.properties[o]);if(s){const[u,c]=s;e.tableCellAlignToStyle&&u==="align"&&typeof c=="string"&&kH.has(t.tagName)?r=c:n[u]=c}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function HH(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const u=s.expression;u.type;const c=u.properties[0];c.type,Object.assign(n,e.evaluater.evaluateExpression(c.argument))}else hu(e,t.position);else{const o=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const c=r.value.data.estree.body[0];c.type,s=e.evaluater.evaluateExpression(c.expression)}else hu(e,t.position);else s=r.value===null?!0:r.value;n[o]=s}return n}function LS(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:NH;for(;++r<t.children.length;){const s=t.children[r];let u;if(e.passKeys){const p=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(p){const f=o.get(p)||0;u=p+"-"+f,o.set(p,f+1)}}const c=hD(e,s,u);c!==void 0&&n.push(c)}return n}function zH(e,t,n){const r=Os(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Vf(n):Gf(n)),r.property==="style"){let o=typeof n=="object"?n:$H(e,String(n));return e.stylePropertyNameCase==="css"&&(o=GH(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&r.space?I7[r.property]||r.property:r.attribute,n]}}function $H(e,t){try{return wH(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,o=new Dn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=gD+"#cannot-parse-style-attribute",o}}function ED(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let s=-1,u;for(;++s<o.length;){const c=$w(o[s])?{type:"Identifier",name:o[s]}:{type:"Literal",value:o[s]};u=u?{type:"MemberExpression",object:u,property:c,computed:!!(s&&c.type==="Literal"),optional:!1}:c}r=u}else r=$w(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const o=r.value;return IS.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(r);hu(e)}function hu(e,t){const n=new Dn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=gD+"#cannot-handle-mdx-estrees-without-createevaluater",n}function GH(e){const t={};let n;for(n in e)IS.call(e,n)&&(t[VH(n)]=e[n]);return t}function VH(e){let t=e.replace(_H,YH);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function YH(e){return"-"+e.toLowerCase()}const Wg={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"]},qH={};function MS(e,t){const n=qH,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return yD(e,r,o)}function yD(e,t,n){if(WH(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Kw(e.children,t,n)}return Array.isArray(e)?Kw(e,t,n):""}function Kw(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=yD(e[o],t,n);return r.join("")}function WH(e){return!!(e&&typeof e=="object")}function dr(e,t,n,r){const o=e.length;let s=0,u;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);s<r.length;)u=r.slice(s,s+1e4),u.unshift(t,0),e.splice(...u),s+=1e4,t+=1e4}function Cr(e,t){return e.length>0?(dr(e,e.length,0,t),e):t}const Zw={}.hasOwnProperty;function SD(e){const t={};let n=-1;for(;++n<e.length;)XH(t,e[n]);return t}function XH(e,t){let n;for(n in t){const o=(Zw.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let u;if(s)for(u in s){Zw.call(o,u)||(o[u]=[]);const c=s[u];KH(o[u],Array.isArray(c)?c:c?[c]:[])}}}function KH(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);dr(e,0,0,r)}function TD(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Or(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Un=Ei(/[A-Za-z]/),Ln=Ei(/[\dA-Za-z]/),ZH=Ei(/[#-'*+\--9=?A-Z^-~]/);function Qd(e){return e!==null&&(e<32||e===127)}const Wh=Ei(/\d/),QH=Ei(/[\dA-Fa-f]/),JH=Ei(/[!-/:-@[-`{-~]/);function nt(e){return e!==null&&e<-2}function jt(e){return e!==null&&(e<0||e===32)}function St(e){return e===-2||e===-1||e===32}const rp=Ei(new RegExp("\\p{P}|\\p{S}","u")),Qi=Ei(/\s/);function Ei(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Bs(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const s=e.charCodeAt(n);let u="";if(s===37&&Ln(e.charCodeAt(n+1))&&Ln(e.charCodeAt(n+2)))o=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(u=String.fromCharCode(s));else if(s>55295&&s<57344){const c=e.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(u=String.fromCharCode(s,c),o=1):u="�"}else u=String.fromCharCode(s);u&&(t.push(e.slice(r,n),encodeURIComponent(u)),r=n+o+1,u=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function wt(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let s=0;return u;function u(p){return St(p)?(e.enter(n),c(p)):t(p)}function c(p){return St(p)&&s++<o?(e.consume(p),c):(e.exit(n),t(p))}}const ez={tokenize:tz};function tz(e){const t=e.attempt(this.parser.constructs.contentInitial,r,o);let n;return t;function r(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),wt(e,t,"linePrefix")}function o(c){return e.enter("paragraph"),s(c)}function s(c){const p=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=p),n=p,u(c)}function u(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return nt(c)?(e.consume(c),e.exit("chunkText"),s):(e.consume(c),u)}}const nz={tokenize:rz},Qw={tokenize:az};function rz(e){const t=this,n=[];let r=0,o,s,u;return c;function c(D){if(r<n.length){const L=n[r];return t.containerState=L[1],e.attempt(L[0].continuation,p,f)(D)}return f(D)}function p(D){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&R();const L=t.events.length;let O=L,I;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){I=t.events[O][1].end;break}N(r);let B=L;for(;B<t.events.length;)t.events[B][1].end={...I},B++;return dr(t.events,O+1,0,t.events.slice(L)),t.events.length=B,f(D)}return c(D)}function f(D){if(r===n.length){if(!o)return y(D);if(o.currentConstruct&&o.currentConstruct.concrete)return x(D);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Qw,g,h)(D)}function g(D){return o&&R(),N(r),y(D)}function h(D){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,x(D)}function y(D){return t.containerState={},e.attempt(Qw,T,x)(D)}function T(D){return r++,n.push([t.currentConstruct,t.containerState]),y(D)}function x(D){if(D===null){o&&R(),N(0),e.consume(D);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:s}),C(D)}function C(D){if(D===null){w(e.exit("chunkFlow"),!0),N(0),e.consume(D);return}return nt(D)?(e.consume(D),w(e.exit("chunkFlow")),r=0,t.interrupt=void 0,c):(e.consume(D),C)}function w(D,L){const O=t.sliceStream(D);if(L&&O.push(null),D.previous=s,s&&(s.next=D),s=D,o.defineSkip(D.start),o.write(O),t.parser.lazy[D.start.line]){let I=o.events.length;for(;I--;)if(o.events[I][1].start.offset<u&&(!o.events[I][1].end||o.events[I][1].end.offset>u))return;const B=t.events.length;let j=B,G,z;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if(G){z=t.events[j][1].end;break}G=!0}for(N(r),I=B;I<t.events.length;)t.events[I][1].end={...z},I++;dr(t.events,j+1,0,t.events.slice(B)),t.events.length=I}}function N(D){let L=n.length;for(;L-- >D;){const O=n[L];t.containerState=O[1],O[0].exit.call(t,e)}n.length=D}function R(){o.write([null]),s=void 0,o=void 0,t.containerState._closeFlow=void 0}}function az(e,t,n){return wt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Es(e){if(e===null||jt(e)||Qi(e))return 1;if(rp(e))return 2}function ap(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const s=e[o].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Xh={name:"attention",resolveAll:iz,tokenize:oz};function iz(e,t){let n=-1,r,o,s,u,c,p,f,g;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;p=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},y={...e[n][1].start};Jw(h,-p),Jw(y,p),u={type:p>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},c={type:p>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:y},s={type:p>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},o={type:p>1?"strong":"emphasis",start:{...u.start},end:{...c.end}},e[r][1].end={...u.start},e[n][1].start={...c.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=Cr(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=Cr(f,[["enter",o,t],["enter",u,t],["exit",u,t],["enter",s,t]]),f=Cr(f,ap(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=Cr(f,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(g=2,f=Cr(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):g=0,dr(e,r-1,n-r+3,f),n=r+f.length-g-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function oz(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Es(r);let s;return u;function u(p){return s=p,e.enter("attentionSequence"),c(p)}function c(p){if(p===s)return e.consume(p),c;const f=e.exit("attentionSequence"),g=Es(p),h=!g||g===2&&o||n.includes(p),y=!o||o===2&&g||n.includes(r);return f._open=!!(s===42?h:h&&(o||!y)),f._close=!!(s===42?y:y&&(g||!h)),t(p)}}function Jw(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const sz={name:"autolink",tokenize:lz};function lz(e,t,n){let r=0;return o;function o(T){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(T),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(T){return Un(T)?(e.consume(T),u):T===64?n(T):f(T)}function u(T){return T===43||T===45||T===46||Ln(T)?(r=1,c(T)):f(T)}function c(T){return T===58?(e.consume(T),r=0,p):(T===43||T===45||T===46||Ln(T))&&r++<32?(e.consume(T),c):(r=0,f(T))}function p(T){return T===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(T),e.exit("autolinkMarker"),e.exit("autolink"),t):T===null||T===32||T===60||Qd(T)?n(T):(e.consume(T),p)}function f(T){return T===64?(e.consume(T),g):ZH(T)?(e.consume(T),f):n(T)}function g(T){return Ln(T)?h(T):n(T)}function h(T){return T===46?(e.consume(T),r=0,g):T===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(T),e.exit("autolinkMarker"),e.exit("autolink"),t):y(T)}function y(T){if((T===45||Ln(T))&&r++<63){const x=T===45?y:h;return e.consume(T),x}return n(T)}}const Hu={partial:!0,tokenize:uz};function uz(e,t,n){return r;function r(s){return St(s)?wt(e,o,"linePrefix")(s):o(s)}function o(s){return s===null||nt(s)?t(s):n(s)}}const vD={continuation:{tokenize:dz},exit:fz,name:"blockQuote",tokenize:cz};function cz(e,t,n){const r=this;return o;function o(u){if(u===62){const c=r.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),s}return n(u)}function s(u){return St(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function dz(e,t,n){const r=this;return o;function o(u){return St(u)?wt(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):s(u)}function s(u){return e.attempt(vD,t,n)(u)}}function fz(e){e.exit("blockQuote")}const xD={name:"characterEscape",tokenize:pz};function pz(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),o}function o(s){return JH(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const AD={name:"characterReference",tokenize:mz};function mz(e,t,n){const r=this;let o=0,s,u;return c;function c(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),p}function p(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),s=31,u=Ln,g(h))}function f(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,u=QH,g):(e.enter("characterReferenceValue"),s=7,u=Wh,g(h))}function g(h){if(h===59&&o){const y=e.exit("characterReferenceValue");return u===Ln&&!pu(r.sliceSerialize(y))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(h)&&o++<s?(e.consume(h),g):n(h)}}const eN={partial:!0,tokenize:hz},tN={concrete:!0,name:"codeFenced",tokenize:gz};function gz(e,t,n){const r=this,o={partial:!0,tokenize:O};let s=0,u=0,c;return p;function p(I){return f(I)}function f(I){const B=r.events[r.events.length-1];return s=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,c=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(I)}function g(I){return I===c?(u++,e.consume(I),g):u<3?n(I):(e.exit("codeFencedFenceSequence"),St(I)?wt(e,h,"whitespace")(I):h(I))}function h(I){return I===null||nt(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(eN,C,L)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(I))}function y(I){return I===null||nt(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(I)):St(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),wt(e,T,"whitespace")(I)):I===96&&I===c?n(I):(e.consume(I),y)}function T(I){return I===null||nt(I)?h(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(I))}function x(I){return I===null||nt(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(I)):I===96&&I===c?n(I):(e.consume(I),x)}function C(I){return e.attempt(o,L,w)(I)}function w(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),N}function N(I){return s>0&&St(I)?wt(e,R,"linePrefix",s+1)(I):R(I)}function R(I){return I===null||nt(I)?e.check(eN,C,L)(I):(e.enter("codeFlowValue"),D(I))}function D(I){return I===null||nt(I)?(e.exit("codeFlowValue"),R(I)):(e.consume(I),D)}function L(I){return e.exit("codeFenced"),t(I)}function O(I,B,j){let G=0;return z;function z(ie){return I.enter("lineEnding"),I.consume(ie),I.exit("lineEnding"),ee}function ee(ie){return I.enter("codeFencedFence"),St(ie)?wt(I,X,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ie):X(ie)}function X(ie){return ie===c?(I.enter("codeFencedFenceSequence"),oe(ie)):j(ie)}function oe(ie){return ie===c?(G++,I.consume(ie),oe):G>=u?(I.exit("codeFencedFenceSequence"),St(ie)?wt(I,ue,"whitespace")(ie):ue(ie)):j(ie)}function ue(ie){return ie===null||nt(ie)?(I.exit("codeFencedFence"),B(ie)):j(ie)}}}function hz(e,t,n){const r=this;return o;function o(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s)}function s(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const Xg={name:"codeIndented",tokenize:Ez},bz={partial:!0,tokenize:yz};function Ez(e,t,n){const r=this;return o;function o(f){return e.enter("codeIndented"),wt(e,s,"linePrefix",5)(f)}function s(f){const g=r.events[r.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?u(f):n(f)}function u(f){return f===null?p(f):nt(f)?e.attempt(bz,u,p)(f):(e.enter("codeFlowValue"),c(f))}function c(f){return f===null||nt(f)?(e.exit("codeFlowValue"),u(f)):(e.consume(f),c)}function p(f){return e.exit("codeIndented"),t(f)}}function yz(e,t,n){const r=this;return o;function o(u){return r.parser.lazy[r.now().line]?n(u):nt(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),o):wt(e,s,"linePrefix",5)(u)}function s(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):nt(u)?o(u):n(u)}}const Sz={name:"codeText",previous:vz,resolve:Tz,tokenize:xz};function Tz(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)o===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(o=r):(r===t||e[r][1].type==="lineEnding")&&(e[o][1].type="codeTextData",r!==o+2&&(e[o][1].end=e[r-1][1].end,e.splice(o+2,r-o-2),t-=r-o-2,r=o+2),o=void 0);return e}function vz(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function xz(e,t,n){let r=0,o,s;return u;function u(h){return e.enter("codeText"),e.enter("codeTextSequence"),c(h)}function c(h){return h===96?(e.consume(h),r++,c):(e.exit("codeTextSequence"),p(h))}function p(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),p):h===96?(s=e.enter("codeTextSequence"),o=0,g(h)):nt(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),p):(e.enter("codeTextData"),f(h))}function f(h){return h===null||h===32||h===96||nt(h)?(e.exit("codeTextData"),p(h)):(e.consume(h),f)}function g(h){return h===96?(e.consume(h),o++,g):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(s.type="codeTextData",f(h))}}class Az{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,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const o=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return r&&jl(this.left,r),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),jl(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),jl(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 n=this.left.splice(t,Number.POSITIVE_INFINITY);jl(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);jl(this.left,n.reverse())}}}function jl(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function CD(e){const t={};let n=-1,r,o,s,u,c,p,f;const g=new Az(e);for(;++n<g.length;){for(;n in t;)n=t[n];if(r=g.get(n),n&&r[1].type==="chunkFlow"&&g.get(n-1)[1].type==="listItemPrefix"&&(p=r[1]._tokenizer.events,s=0,s<p.length&&p[s][1].type==="lineEndingBlank"&&(s+=2),s<p.length&&p[s][1].type==="content"))for(;++s<p.length&&p[s][1].type!=="content";)p[s][1].type==="chunkText"&&(p[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Cz(g,n)),n=t[n],f=!0);else if(r[1]._container){for(s=n,o=void 0;s--;)if(u=g.get(s),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(o&&(g.get(o)[1].type="lineEndingBlank"),u[1].type="lineEnding",o=s);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;o&&(r[1].end={...g.get(o)[1].start},c=g.slice(o,n),c.unshift(r),g.splice(o,n-o+1,c))}}return dr(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!f}function Cz(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const s=[];let u=n._tokenizer;u||(u=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const c=u.events,p=[],f={};let g,h,y=-1,T=n,x=0,C=0;const w=[C];for(;T;){for(;e.get(++o)[1]!==T;);s.push(o),T._tokenizer||(g=r.sliceStream(T),T.next||g.push(null),h&&u.defineSkip(T.start),T._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(g),T._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),h=T,T=T.next}for(T=n;++y<c.length;)c[y][0]==="exit"&&c[y-1][0]==="enter"&&c[y][1].type===c[y-1][1].type&&c[y][1].start.line!==c[y][1].end.line&&(C=y+1,w.push(C),T._tokenizer=void 0,T.previous=void 0,T=T.next);for(u.events=[],T?(T._tokenizer=void 0,T.previous=void 0):w.pop(),y=w.length;y--;){const N=c.slice(w[y],w[y+1]),R=s.pop();p.push([R,R+N.length-1]),e.splice(R,2,N)}for(p.reverse(),y=-1;++y<p.length;)f[x+p[y][0]]=x+p[y][1],x+=p[y][1]-p[y][0]-1;return f}const wz={resolve:_z,tokenize:Rz},Nz={partial:!0,tokenize:kz};function _z(e){return CD(e),e}function Rz(e,t){let n;return r;function r(c){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(c)}function o(c){return c===null?s(c):nt(c)?e.check(Nz,u,s)(c):(e.consume(c),o)}function s(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function u(c){return e.consume(c),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,o}}function kz(e,t,n){const r=this;return o;function o(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),wt(e,s,"linePrefix")}function s(u){if(u===null||nt(u))return n(u);const c=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,n,t)(u)}}function wD(e,t,n,r,o,s,u,c,p){const f=p||Number.POSITIVE_INFINITY;let g=0;return h;function h(N){return N===60?(e.enter(r),e.enter(o),e.enter(s),e.consume(N),e.exit(s),y):N===null||N===32||N===41||Qd(N)?n(N):(e.enter(r),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),C(N))}function y(N){return N===62?(e.enter(s),e.consume(N),e.exit(s),e.exit(o),e.exit(r),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),T(N))}function T(N){return N===62?(e.exit("chunkString"),e.exit(c),y(N)):N===null||N===60||nt(N)?n(N):(e.consume(N),N===92?x:T)}function x(N){return N===60||N===62||N===92?(e.consume(N),T):T(N)}function C(N){return!g&&(N===null||N===41||jt(N))?(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(r),t(N)):g<f&&N===40?(e.consume(N),g++,C):N===41?(e.consume(N),g--,C):N===null||N===32||N===40||Qd(N)?n(N):(e.consume(N),N===92?w:C)}function w(N){return N===40||N===41||N===92?(e.consume(N),C):C(N)}}function ND(e,t,n,r,o,s){const u=this;let c=0,p;return f;function f(T){return e.enter(r),e.enter(o),e.consume(T),e.exit(o),e.enter(s),g}function g(T){return c>999||T===null||T===91||T===93&&!p||T===94&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs?n(T):T===93?(e.exit(s),e.enter(o),e.consume(T),e.exit(o),e.exit(r),t):nt(T)?(e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===null||T===91||T===93||nt(T)||c++>999?(e.exit("chunkString"),g(T)):(e.consume(T),p||(p=!St(T)),T===92?y:h)}function y(T){return T===91||T===92||T===93?(e.consume(T),c++,h):h(T)}}function _D(e,t,n,r,o,s){let u;return c;function c(y){return y===34||y===39||y===40?(e.enter(r),e.enter(o),e.consume(y),e.exit(o),u=y===40?41:y,p):n(y)}function p(y){return y===u?(e.enter(o),e.consume(y),e.exit(o),e.exit(r),t):(e.enter(s),f(y))}function f(y){return y===u?(e.exit(s),p(u)):y===null?n(y):nt(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),wt(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(y))}function g(y){return y===u||y===null||nt(y)?(e.exit("chunkString"),f(y)):(e.consume(y),y===92?h:g)}function h(y){return y===u||y===92?(e.consume(y),g):g(y)}}function nu(e,t){let n;return r;function r(o){return nt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):St(o)?wt(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}const Dz={name:"definition",tokenize:Oz},Iz={partial:!0,tokenize:Lz};function Oz(e,t,n){const r=this;let o;return s;function s(T){return e.enter("definition"),u(T)}function u(T){return ND.call(r,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(T)}function c(T){return o=Or(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),p):n(T)}function p(T){return jt(T)?nu(e,f)(T):f(T)}function f(T){return wD(e,g,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(T)}function g(T){return e.attempt(Iz,h,h)(T)}function h(T){return St(T)?wt(e,y,"whitespace")(T):y(T)}function y(T){return T===null||nt(T)?(e.exit("definition"),r.parser.defined.push(o),t(T)):n(T)}}function Lz(e,t,n){return r;function r(c){return jt(c)?nu(e,o)(c):n(c)}function o(c){return _D(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return St(c)?wt(e,u,"whitespace")(c):u(c)}function u(c){return c===null||nt(c)?t(c):n(c)}}const Mz={name:"hardBreakEscape",tokenize:Fz};function Fz(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),o}function o(s){return nt(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const Bz={name:"headingAtx",resolve:Uz,tokenize:Pz};function Uz(e,t){let n=e.length-2,r=3,o,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},dr(e,r,n-r+1,[["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t]])),e}function Pz(e,t,n){let r=0;return o;function o(g){return e.enter("atxHeading"),s(g)}function s(g){return e.enter("atxHeadingSequence"),u(g)}function u(g){return g===35&&r++<6?(e.consume(g),u):g===null||jt(g)?(e.exit("atxHeadingSequence"),c(g)):n(g)}function c(g){return g===35?(e.enter("atxHeadingSequence"),p(g)):g===null||nt(g)?(e.exit("atxHeading"),t(g)):St(g)?wt(e,c,"whitespace")(g):(e.enter("atxHeadingText"),f(g))}function p(g){return g===35?(e.consume(g),p):(e.exit("atxHeadingSequence"),c(g))}function f(g){return g===null||g===35||jt(g)?(e.exit("atxHeadingText"),c(g)):(e.consume(g),f)}}const jz=["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"],nN=["pre","script","style","textarea"],Hz={concrete:!0,name:"htmlFlow",resolveTo:Gz,tokenize:Vz},zz={partial:!0,tokenize:qz},$z={partial:!0,tokenize:Yz};function Gz(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 Vz(e,t,n){const r=this;let o,s,u,c,p;return f;function f(_){return g(_)}function g(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),h}function h(_){return _===33?(e.consume(_),y):_===47?(e.consume(_),s=!0,C):_===63?(e.consume(_),o=3,r.interrupt?t:P):Un(_)?(e.consume(_),u=String.fromCharCode(_),w):n(_)}function y(_){return _===45?(e.consume(_),o=2,T):_===91?(e.consume(_),o=5,c=0,x):Un(_)?(e.consume(_),o=4,r.interrupt?t:P):n(_)}function T(_){return _===45?(e.consume(_),r.interrupt?t:P):n(_)}function x(_){const ne="CDATA[";return _===ne.charCodeAt(c++)?(e.consume(_),c===ne.length?r.interrupt?t:X:x):n(_)}function C(_){return Un(_)?(e.consume(_),u=String.fromCharCode(_),w):n(_)}function w(_){if(_===null||_===47||_===62||jt(_)){const ne=_===47,se=u.toLowerCase();return!ne&&!s&&nN.includes(se)?(o=1,r.interrupt?t(_):X(_)):jz.includes(u.toLowerCase())?(o=6,ne?(e.consume(_),N):r.interrupt?t(_):X(_)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(_):s?R(_):D(_))}return _===45||Ln(_)?(e.consume(_),u+=String.fromCharCode(_),w):n(_)}function N(_){return _===62?(e.consume(_),r.interrupt?t:X):n(_)}function R(_){return St(_)?(e.consume(_),R):z(_)}function D(_){return _===47?(e.consume(_),z):_===58||_===95||Un(_)?(e.consume(_),L):St(_)?(e.consume(_),D):z(_)}function L(_){return _===45||_===46||_===58||_===95||Ln(_)?(e.consume(_),L):O(_)}function O(_){return _===61?(e.consume(_),I):St(_)?(e.consume(_),O):D(_)}function I(_){return _===null||_===60||_===61||_===62||_===96?n(_):_===34||_===39?(e.consume(_),p=_,B):St(_)?(e.consume(_),I):j(_)}function B(_){return _===p?(e.consume(_),p=null,G):_===null||nt(_)?n(_):(e.consume(_),B)}function j(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||jt(_)?O(_):(e.consume(_),j)}function G(_){return _===47||_===62||St(_)?D(_):n(_)}function z(_){return _===62?(e.consume(_),ee):n(_)}function ee(_){return _===null||nt(_)?X(_):St(_)?(e.consume(_),ee):n(_)}function X(_){return _===45&&o===2?(e.consume(_),W):_===60&&o===1?(e.consume(_),re):_===62&&o===4?(e.consume(_),V):_===63&&o===3?(e.consume(_),P):_===93&&o===5?(e.consume(_),ae):nt(_)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(zz,H,oe)(_)):_===null||nt(_)?(e.exit("htmlFlowData"),oe(_)):(e.consume(_),X)}function oe(_){return e.check($z,ue,H)(_)}function ue(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),ie}function ie(_){return _===null||nt(_)?oe(_):(e.enter("htmlFlowData"),X(_))}function W(_){return _===45?(e.consume(_),P):X(_)}function re(_){return _===47?(e.consume(_),u="",J):X(_)}function J(_){if(_===62){const ne=u.toLowerCase();return nN.includes(ne)?(e.consume(_),V):X(_)}return Un(_)&&u.length<8?(e.consume(_),u+=String.fromCharCode(_),J):X(_)}function ae(_){return _===93?(e.consume(_),P):X(_)}function P(_){return _===62?(e.consume(_),V):_===45&&o===2?(e.consume(_),P):X(_)}function V(_){return _===null||nt(_)?(e.exit("htmlFlowData"),H(_)):(e.consume(_),V)}function H(_){return e.exit("htmlFlow"),t(_)}}function Yz(e,t,n){const r=this;return o;function o(u){return nt(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):n(u)}function s(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function qz(e,t,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Hu,t,n)}}const Wz={name:"htmlText",tokenize:Xz};function Xz(e,t,n){const r=this;let o,s,u;return c;function c(P){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(P),p}function p(P){return P===33?(e.consume(P),f):P===47?(e.consume(P),O):P===63?(e.consume(P),D):Un(P)?(e.consume(P),j):n(P)}function f(P){return P===45?(e.consume(P),g):P===91?(e.consume(P),s=0,x):Un(P)?(e.consume(P),R):n(P)}function g(P){return P===45?(e.consume(P),T):n(P)}function h(P){return P===null?n(P):P===45?(e.consume(P),y):nt(P)?(u=h,re(P)):(e.consume(P),h)}function y(P){return P===45?(e.consume(P),T):h(P)}function T(P){return P===62?W(P):P===45?y(P):h(P)}function x(P){const V="CDATA[";return P===V.charCodeAt(s++)?(e.consume(P),s===V.length?C:x):n(P)}function C(P){return P===null?n(P):P===93?(e.consume(P),w):nt(P)?(u=C,re(P)):(e.consume(P),C)}function w(P){return P===93?(e.consume(P),N):C(P)}function N(P){return P===62?W(P):P===93?(e.consume(P),N):C(P)}function R(P){return P===null||P===62?W(P):nt(P)?(u=R,re(P)):(e.consume(P),R)}function D(P){return P===null?n(P):P===63?(e.consume(P),L):nt(P)?(u=D,re(P)):(e.consume(P),D)}function L(P){return P===62?W(P):D(P)}function O(P){return Un(P)?(e.consume(P),I):n(P)}function I(P){return P===45||Ln(P)?(e.consume(P),I):B(P)}function B(P){return nt(P)?(u=B,re(P)):St(P)?(e.consume(P),B):W(P)}function j(P){return P===45||Ln(P)?(e.consume(P),j):P===47||P===62||jt(P)?G(P):n(P)}function G(P){return P===47?(e.consume(P),W):P===58||P===95||Un(P)?(e.consume(P),z):nt(P)?(u=G,re(P)):St(P)?(e.consume(P),G):W(P)}function z(P){return P===45||P===46||P===58||P===95||Ln(P)?(e.consume(P),z):ee(P)}function ee(P){return P===61?(e.consume(P),X):nt(P)?(u=ee,re(P)):St(P)?(e.consume(P),ee):G(P)}function X(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),o=P,oe):nt(P)?(u=X,re(P)):St(P)?(e.consume(P),X):(e.consume(P),ue)}function oe(P){return P===o?(e.consume(P),o=void 0,ie):P===null?n(P):nt(P)?(u=oe,re(P)):(e.consume(P),oe)}function ue(P){return P===null||P===34||P===39||P===60||P===61||P===96?n(P):P===47||P===62||jt(P)?G(P):(e.consume(P),ue)}function ie(P){return P===47||P===62||jt(P)?G(P):n(P)}function W(P){return P===62?(e.consume(P),e.exit("htmlTextData"),e.exit("htmlText"),t):n(P)}function re(P){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),J}function J(P){return St(P)?wt(e,ae,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):ae(P)}function ae(P){return e.enter("htmlTextData"),u(P)}}const FS={name:"labelEnd",resolveAll:Jz,resolveTo:e$,tokenize:t$},Kz={tokenize:n$},Zz={tokenize:r$},Qz={tokenize:a$};function Jz(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const o=r.type==="labelImage"?4:2;r.type="data",t+=o}}return e.length!==n.length&&dr(e,0,e.length,n),e}function e$(e,t){let n=e.length,r=0,o,s,u,c;for(;n--;)if(o=e[n][1],s){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[n][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(s=n,o.type!=="labelLink")){r=2;break}}else o.type==="labelEnd"&&(u=n);const p={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[s][1].start},end:{...e[u][1].end}},g={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[u-2][1].start}};return c=[["enter",p,t],["enter",f,t]],c=Cr(c,e.slice(s+1,s+r+3)),c=Cr(c,[["enter",g,t]]),c=Cr(c,ap(t.parser.constructs.insideSpan.null,e.slice(s+r+4,u-3),t)),c=Cr(c,[["exit",g,t],e[u-2],e[u-1],["exit",f,t]]),c=Cr(c,e.slice(u+1)),c=Cr(c,[["exit",p,t]]),dr(e,s,e.length,c),e}function t$(e,t,n){const r=this;let o=r.events.length,s,u;for(;o--;)if((r.events[o][1].type==="labelImage"||r.events[o][1].type==="labelLink")&&!r.events[o][1]._balanced){s=r.events[o][1];break}return c;function c(y){return s?s._inactive?h(y):(u=r.parser.defined.includes(Or(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),p):n(y)}function p(y){return y===40?e.attempt(Kz,g,u?g:h)(y):y===91?e.attempt(Zz,g,u?f:h)(y):u?g(y):h(y)}function f(y){return e.attempt(Qz,g,h)(y)}function g(y){return t(y)}function h(y){return s._balanced=!0,n(y)}}function n$(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),o}function o(h){return jt(h)?nu(e,s)(h):s(h)}function s(h){return h===41?g(h):wD(e,u,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function u(h){return jt(h)?nu(e,p)(h):g(h)}function c(h){return n(h)}function p(h){return h===34||h===39||h===40?_D(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):g(h)}function f(h){return jt(h)?nu(e,g)(h):g(h)}function g(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function r$(e,t,n){const r=this;return o;function o(c){return ND.call(r,e,s,u,"reference","referenceMarker","referenceString")(c)}function s(c){return r.parser.defined.includes(Or(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function u(c){return n(c)}}function a$(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),o}function o(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const i$={name:"labelStartImage",resolveAll:FS.resolveAll,tokenize:o$};function o$(e,t,n){const r=this;return o;function o(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"),u):n(c)}function u(c){return c===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(c):t(c)}}const s$={name:"labelStartLink",resolveAll:FS.resolveAll,tokenize:l$};function l$(e,t,n){const r=this;return o;function o(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),s}function s(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const Kg={name:"lineEnding",tokenize:u$};function u$(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),wt(e,t,"linePrefix")}}const Dd={name:"thematicBreak",tokenize:c$};function c$(e,t,n){let r=0,o;return s;function s(f){return e.enter("thematicBreak"),u(f)}function u(f){return o=f,c(f)}function c(f){return f===o?(e.enter("thematicBreakSequence"),p(f)):r>=3&&(f===null||nt(f))?(e.exit("thematicBreak"),t(f)):n(f)}function p(f){return f===o?(e.consume(f),r++,p):(e.exit("thematicBreakSequence"),St(f)?wt(e,c,"whitespace")(f):c(f))}}const Kn={continuation:{tokenize:m$},exit:h$,name:"list",tokenize:p$},d$={partial:!0,tokenize:b$},f$={partial:!0,tokenize:g$};function p$(e,t,n){const r=this,o=r.events[r.events.length-1];let s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,u=0;return c;function c(T){const x=r.containerState.type||(T===42||T===43||T===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||T===r.containerState.marker:Wh(T)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),T===42||T===45?e.check(Dd,n,f)(T):f(T);if(!r.interrupt||T===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),p(T)}return n(T)}function p(T){return Wh(T)&&++u<10?(e.consume(T),p):(!r.interrupt||u<2)&&(r.containerState.marker?T===r.containerState.marker:T===41||T===46)?(e.exit("listItemValue"),f(T)):n(T)}function f(T){return e.enter("listItemMarker"),e.consume(T),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||T,e.check(Hu,r.interrupt?n:g,e.attempt(d$,y,h))}function g(T){return r.containerState.initialBlankLine=!0,s++,y(T)}function h(T){return St(T)?(e.enter("listItemPrefixWhitespace"),e.consume(T),e.exit("listItemPrefixWhitespace"),y):n(T)}function y(T){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(T)}}function m$(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Hu,o,s);function o(c){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,wt(e,t,"listItemIndent",r.containerState.size+1)(c)}function s(c){return r.containerState.furtherBlankLines||!St(c)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(c)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(f$,t,u)(c))}function u(c){return r.containerState._closeFlow=!0,r.interrupt=void 0,wt(e,e.attempt(Kn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function g$(e,t,n){const r=this;return wt(e,o,"listItemIndent",r.containerState.size+1);function o(s){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(s):n(s)}}function h$(e){e.exit(this.containerState.type)}function b$(e,t,n){const r=this;return wt(e,o,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(s){const u=r.events[r.events.length-1];return!St(s)&&u&&u[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const rN={name:"setextUnderline",resolveTo:E$,tokenize:y$};function E$(e,t){let n=e.length,r,o,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(o=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",s?(e.splice(o,0,["enter",u,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function y$(e,t,n){const r=this;let o;return s;function s(f){let g=r.events.length,h;for(;g--;)if(r.events[g][1].type!=="lineEnding"&&r.events[g][1].type!=="linePrefix"&&r.events[g][1].type!=="content"){h=r.events[g][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),o=f,u(f)):n(f)}function u(f){return e.enter("setextHeadingLineSequence"),c(f)}function c(f){return f===o?(e.consume(f),c):(e.exit("setextHeadingLineSequence"),St(f)?wt(e,p,"lineSuffix")(f):p(f))}function p(f){return f===null||nt(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const S$={tokenize:T$};function T$(e){const t=this,n=e.attempt(Hu,r,e.attempt(this.parser.constructs.flowInitial,o,wt(e,e.attempt(this.parser.constructs.flow,o,e.attempt(wz,o)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function o(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const v$={resolveAll:kD()},x$=RD("string"),A$=RD("text");function RD(e){return{resolveAll:kD(e==="text"?C$:void 0),tokenize:t};function t(n){const r=this,o=this.parser.constructs[e],s=n.attempt(o,u,c);return u;function u(g){return f(g)?s(g):c(g)}function c(g){if(g===null){n.consume(g);return}return n.enter("data"),n.consume(g),p}function p(g){return f(g)?(n.exit("data"),s(g)):(n.consume(g),p)}function f(g){if(g===null)return!0;const h=o[g];let y=-1;if(h)for(;++y<h.length;){const T=h[y];if(!T.previous||T.previous.call(r,r.previous))return!0}return!1}}}function kD(e){return t;function t(n,r){let o=-1,s;for(;++o<=n.length;)s===void 0?n[o]&&n[o][1].type==="data"&&(s=o,o++):(!n[o]||n[o][1].type!=="data")&&(o!==s+2&&(n[s][1].end=n[o-1][1].end,n.splice(s+2,o-s-2),o=s+2),s=void 0);return e?e(n,r):n}}function C$(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],o=t.sliceStream(r);let s=o.length,u=-1,c=0,p;for(;s--;){const f=o[s];if(typeof f=="string"){for(u=f.length;f.charCodeAt(u-1)===32;)c++,u--;if(u)break;u=-1}else if(f===-2)p=!0,c++;else if(f!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const f={type:n===e.length||p||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?u:r.start._bufferIndex+u,_index:r.start._index+s,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}const w$={42:Kn,43:Kn,45:Kn,48:Kn,49:Kn,50:Kn,51:Kn,52:Kn,53:Kn,54:Kn,55:Kn,56:Kn,57:Kn,62:vD},N$={91:Dz},_$={[-2]:Xg,[-1]:Xg,32:Xg},R$={35:Bz,42:Dd,45:[rN,Dd],60:Hz,61:rN,95:Dd,96:tN,126:tN},k$={38:AD,92:xD},D$={[-5]:Kg,[-4]:Kg,[-3]:Kg,33:i$,38:AD,42:Xh,60:[sz,Wz],91:s$,92:[Mz,xD],93:FS,95:Xh,96:Sz},I$={null:[Xh,v$]},O$={null:[42,95]},L$={null:[]},M$=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:O$,contentInitial:N$,disable:L$,document:w$,flow:R$,flowInitial:_$,insideSpan:I$,string:k$,text:D$},Symbol.toStringTag,{value:"Module"}));function F$(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},s=[];let u=[],c=[];const p={attempt:B(O),check:B(I),consume:R,enter:D,exit:L,interrupt:B(I,{interrupt:!0})},f={code:null,containerState:{},defineSkip:C,events:[],now:x,parser:e,previous:null,sliceSerialize:y,sliceStream:T,write:h};let g=t.tokenize.call(f,p);return t.resolveAll&&s.push(t),f;function h(ee){return u=Cr(u,ee),w(),u[u.length-1]!==null?[]:(j(t,0),f.events=ap(s,f.events,f),f.events)}function y(ee,X){return U$(T(ee),X)}function T(ee){return B$(u,ee)}function x(){const{_bufferIndex:ee,_index:X,line:oe,column:ue,offset:ie}=r;return{_bufferIndex:ee,_index:X,line:oe,column:ue,offset:ie}}function C(ee){o[ee.line]=ee.column,z()}function w(){let ee;for(;r._index<u.length;){const X=u[r._index];if(typeof X=="string")for(ee=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===ee&&r._bufferIndex<X.length;)N(X.charCodeAt(r._bufferIndex));else N(X)}}function N(ee){g=g(ee)}function R(ee){nt(ee)?(r.line++,r.column=1,r.offset+=ee===-3?2:1,z()):ee!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=ee}function D(ee,X){const oe=X||{};return oe.type=ee,oe.start=x(),f.events.push(["enter",oe,f]),c.push(oe),oe}function L(ee){const X=c.pop();return X.end=x(),f.events.push(["exit",X,f]),X}function O(ee,X){j(ee,X.from)}function I(ee,X){X.restore()}function B(ee,X){return oe;function oe(ue,ie,W){let re,J,ae,P;return Array.isArray(ue)?H(ue):"tokenize"in ue?H([ue]):V(ue);function V(q){return Ee;function Ee(de){const Te=de!==null&&q[de],ze=de!==null&&q.null,Qe=[...Array.isArray(Te)?Te:Te?[Te]:[],...Array.isArray(ze)?ze:ze?[ze]:[]];return H(Qe)(de)}}function H(q){return re=q,J=0,q.length===0?W:_(q[J])}function _(q){return Ee;function Ee(de){return P=G(),ae=q,q.partial||(f.currentConstruct=q),q.name&&f.parser.constructs.disable.null.includes(q.name)?se():q.tokenize.call(X?Object.assign(Object.create(f),X):f,p,ne,se)(de)}}function ne(q){return ee(ae,P),ie}function se(q){return P.restore(),++J<re.length?_(re[J]):W}}}function j(ee,X){ee.resolveAll&&!s.includes(ee)&&s.push(ee),ee.resolve&&dr(f.events,X,f.events.length-X,ee.resolve(f.events.slice(X),f)),ee.resolveTo&&(f.events=ee.resolveTo(f.events,f))}function G(){const ee=x(),X=f.previous,oe=f.currentConstruct,ue=f.events.length,ie=Array.from(c);return{from:ue,restore:W};function W(){r=ee,f.previous=X,f.currentConstruct=oe,f.events.length=ue,c=ie,z()}}function z(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function B$(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,s=t.end._bufferIndex;let u;if(n===o)u=[e[n].slice(r,s)];else{if(u=e.slice(n,o),r>-1){const c=u[0];typeof c=="string"?u[0]=c.slice(r):u.shift()}s>0&&u.push(e[o].slice(0,s))}return u}function U$(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const s=e[n];let u;if(typeof s=="string")u=s;else switch(s){case-5:{u="\r";break}case-4:{u=`
|
|
66
|
-
`;break}case-3:{u=`\r
|
|
67
|
-
`;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&o)continue;u=" ";break}default:u=String.fromCharCode(s)}o=s===-2,r.push(u)}return r.join("")}function P$(e){const r={constructs:SD([M$,...(e||{}).extensions||[]]),content:o(ez),defined:[],document:o(nz),flow:o(S$),lazy:{},string:o(x$),text:o(A$)};return r;function o(s){return u;function u(c){return F$(r,s,c)}}}function j$(e){for(;!CD(e););return e}const aN=/[\0\t\n\r]/g;function H$(){let e=1,t="",n=!0,r;return o;function o(s,u,c){const p=[];let f,g,h,y,T;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(u||void 0).decode(s)),h=0,t="",n&&(s.charCodeAt(0)===65279&&h++,n=void 0);h<s.length;){if(aN.lastIndex=h,f=aN.exec(s),y=f&&f.index!==void 0?f.index:s.length,T=s.charCodeAt(y),!f){t=s.slice(h);break}if(T===10&&h===y&&r)p.push(-3),r=void 0;else switch(r&&(p.push(-5),r=void 0),h<y&&(p.push(s.slice(h,y)),e+=y-h),T){case 0:{p.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,p.push(-2);e++<g;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:r=!0,e=1}h=y+1}return c&&(r&&p.push(-5),t&&p.push(t),p.push(null)),p}}const z$=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $$(e){return e.replace(z$,G$)}function G$(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),s=o===120||o===88;return TD(n.slice(s?2:1),s?16:10)}return pu(n)||e}const DD={}.hasOwnProperty;function V$(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Y$(n)(j$(P$(n).document().write(H$()(e,t,!0))))}function Y$(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Ze),autolinkProtocol:G,autolinkEmail:G,atxHeading:s(xe),blockQuote:s(ze),characterEscape:G,characterReference:G,codeFenced:s(Qe),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:s(Qe,u),codeText:s(pe,u),codeTextData:G,data:G,codeFlowValue:G,definition:s(He),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:s($e),hardBreakEscape:s(rt),hardBreakTrailing:s(rt),htmlFlow:s(Me,u),htmlFlowData:G,htmlText:s(Me,u),htmlTextData:G,image:s(Je),label:u,link:s(Ze),listItem:s(It),listItemValue:y,listOrdered:s(Ke,h),listUnordered:s(Ke),paragraph:s($t),reference:_,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:s(xe),strong:s(ot),thematicBreak:s(st)},exit:{atxHeading:p(),atxHeadingSequence:O,autolink:p(),autolinkEmail:Te,autolinkProtocol:de,blockQuote:p(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:se,characterReferenceMarkerNumeric:se,characterReferenceValue:q,characterReference:Ee,codeFenced:p(w),codeFencedFence:C,codeFencedFenceInfo:T,codeFencedFenceMeta:x,codeFlowValue:z,codeIndented:p(N),codeText:p(ie),codeTextData:z,data:z,definition:p(),definitionDestinationString:L,definitionLabelString:R,definitionTitleString:D,emphasis:p(),hardBreakEscape:p(X),hardBreakTrailing:p(X),htmlFlow:p(oe),htmlFlowData:z,htmlText:p(ue),htmlTextData:z,image:p(re),label:ae,labelText:J,lineEnding:ee,link:p(W),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:ne,resourceDestinationString:P,resourceTitleString:V,resource:H,setextHeading:p(j),setextHeadingLineSequence:B,setextHeadingText:I,strong:p(),thematicBreak:p()}};ID(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(k){let U={type:"root",children:[]};const K={stack:[U],tokenStack:[],config:t,enter:c,exit:f,buffer:u,resume:g,data:n},le=[];let Ne=-1;for(;++Ne<k.length;)if(k[Ne][1].type==="listOrdered"||k[Ne][1].type==="listUnordered")if(k[Ne][0]==="enter")le.push(Ne);else{const Ae=le.pop();Ne=o(k,Ae,Ne)}for(Ne=-1;++Ne<k.length;){const Ae=t[k[Ne][0]];DD.call(Ae,k[Ne][1].type)&&Ae[k[Ne][1].type].call(Object.assign({sliceSerialize:k[Ne][2].sliceSerialize},K),k[Ne][1])}if(K.tokenStack.length>0){const Ae=K.tokenStack[K.tokenStack.length-1];(Ae[1]||iN).call(K,void 0,Ae[0])}for(U.position={start:ii(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:ii(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},Ne=-1;++Ne<t.transforms.length;)U=t.transforms[Ne](U)||U;return U}function o(k,U,K){let le=U-1,Ne=-1,Ae=!1,Fe,De,Re,je;for(;++le<=K;){const be=k[le];switch(be[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{be[0]==="enter"?Ne++:Ne--,je=void 0;break}case"lineEndingBlank":{be[0]==="enter"&&(Fe&&!je&&!Ne&&!Re&&(Re=le),je=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:je=void 0}if(!Ne&&be[0]==="enter"&&be[1].type==="listItemPrefix"||Ne===-1&&be[0]==="exit"&&(be[1].type==="listUnordered"||be[1].type==="listOrdered")){if(Fe){let Ie=le;for(De=void 0;Ie--;){const fe=k[Ie];if(fe[1].type==="lineEnding"||fe[1].type==="lineEndingBlank"){if(fe[0]==="exit")continue;De&&(k[De][1].type="lineEndingBlank",Ae=!0),fe[1].type="lineEnding",De=Ie}else if(!(fe[1].type==="linePrefix"||fe[1].type==="blockQuotePrefix"||fe[1].type==="blockQuotePrefixWhitespace"||fe[1].type==="blockQuoteMarker"||fe[1].type==="listItemIndent"))break}Re&&(!De||Re<De)&&(Fe._spread=!0),Fe.end=Object.assign({},De?k[De][1].start:be[1].end),k.splice(De||le,0,["exit",Fe,be[2]]),le++,K++}if(be[1].type==="listItemPrefix"){const Ie={type:"listItem",_spread:!1,start:Object.assign({},be[1].start),end:void 0};Fe=Ie,k.splice(le,0,["enter",Ie,be[2]]),le++,K++,Re=void 0,je=!0}}}return k[U][1]._spread=Ae,K}function s(k,U){return K;function K(le){c.call(this,k(le),le),U&&U.call(this,le)}}function u(){this.stack.push({type:"fragment",children:[]})}function c(k,U,K){this.stack[this.stack.length-1].children.push(k),this.stack.push(k),this.tokenStack.push([U,K||void 0]),k.position={start:ii(U.start),end:void 0}}function p(k){return U;function U(K){k&&k.call(this,K),f.call(this,K)}}function f(k,U){const K=this.stack.pop(),le=this.tokenStack.pop();if(le)le[0].type!==k.type&&(U?U.call(this,k,le[0]):(le[1]||iN).call(this,k,le[0]));else throw new Error("Cannot close `"+k.type+"` ("+tu({start:k.start,end:k.end})+"): it’s not open");K.position.end=ii(k.end)}function g(){return MS(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function y(k){if(this.data.expectingFirstListItemValue){const U=this.stack[this.stack.length-2];U.start=Number.parseInt(this.sliceSerialize(k),10),this.data.expectingFirstListItemValue=void 0}}function T(){const k=this.resume(),U=this.stack[this.stack.length-1];U.lang=k}function x(){const k=this.resume(),U=this.stack[this.stack.length-1];U.meta=k}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function w(){const k=this.resume(),U=this.stack[this.stack.length-1];U.value=k.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function N(){const k=this.resume(),U=this.stack[this.stack.length-1];U.value=k.replace(/(\r?\n|\r)$/g,"")}function R(k){const U=this.resume(),K=this.stack[this.stack.length-1];K.label=U,K.identifier=Or(this.sliceSerialize(k)).toLowerCase()}function D(){const k=this.resume(),U=this.stack[this.stack.length-1];U.title=k}function L(){const k=this.resume(),U=this.stack[this.stack.length-1];U.url=k}function O(k){const U=this.stack[this.stack.length-1];if(!U.depth){const K=this.sliceSerialize(k).length;U.depth=K}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function B(k){const U=this.stack[this.stack.length-1];U.depth=this.sliceSerialize(k).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function G(k){const K=this.stack[this.stack.length-1].children;let le=K[K.length-1];(!le||le.type!=="text")&&(le=we(),le.position={start:ii(k.start),end:void 0},K.push(le)),this.stack.push(le)}function z(k){const U=this.stack.pop();U.value+=this.sliceSerialize(k),U.position.end=ii(k.end)}function ee(k){const U=this.stack[this.stack.length-1];if(this.data.atHardBreak){const K=U.children[U.children.length-1];K.position.end=ii(k.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(U.type)&&(G.call(this,k),z.call(this,k))}function X(){this.data.atHardBreak=!0}function oe(){const k=this.resume(),U=this.stack[this.stack.length-1];U.value=k}function ue(){const k=this.resume(),U=this.stack[this.stack.length-1];U.value=k}function ie(){const k=this.resume(),U=this.stack[this.stack.length-1];U.value=k}function W(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=U,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function re(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=U,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function J(k){const U=this.sliceSerialize(k),K=this.stack[this.stack.length-2];K.label=$$(U),K.identifier=Or(U).toLowerCase()}function ae(){const k=this.stack[this.stack.length-1],U=this.resume(),K=this.stack[this.stack.length-1];if(this.data.inReference=!0,K.type==="link"){const le=k.children;K.children=le}else K.alt=U}function P(){const k=this.resume(),U=this.stack[this.stack.length-1];U.url=k}function V(){const k=this.resume(),U=this.stack[this.stack.length-1];U.title=k}function H(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function ne(k){const U=this.resume(),K=this.stack[this.stack.length-1];K.label=U,K.identifier=Or(this.sliceSerialize(k)).toLowerCase(),this.data.referenceType="full"}function se(k){this.data.characterReferenceType=k.type}function q(k){const U=this.sliceSerialize(k),K=this.data.characterReferenceType;let le;K?(le=TD(U,K==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):le=pu(U);const Ne=this.stack[this.stack.length-1];Ne.value+=le}function Ee(k){const U=this.stack.pop();U.position.end=ii(k.end)}function de(k){z.call(this,k);const U=this.stack[this.stack.length-1];U.url=this.sliceSerialize(k)}function Te(k){z.call(this,k);const U=this.stack[this.stack.length-1];U.url="mailto:"+this.sliceSerialize(k)}function ze(){return{type:"blockquote",children:[]}}function Qe(){return{type:"code",lang:null,meta:null,value:""}}function pe(){return{type:"inlineCode",value:""}}function He(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function $e(){return{type:"emphasis",children:[]}}function xe(){return{type:"heading",depth:0,children:[]}}function rt(){return{type:"break"}}function Me(){return{type:"html",value:""}}function Je(){return{type:"image",title:null,url:"",alt:null}}function Ze(){return{type:"link",title:null,url:"",children:[]}}function Ke(k){return{type:"list",ordered:k.type==="listOrdered",start:null,spread:k._spread,children:[]}}function It(k){return{type:"listItem",spread:k._spread,checked:null,children:[]}}function $t(){return{type:"paragraph",children:[]}}function ot(){return{type:"strong",children:[]}}function we(){return{type:"text",value:""}}function st(){return{type:"thematicBreak"}}}function ii(e){return{line:e.line,column:e.column,offset:e.offset}}function ID(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?ID(e,r):q$(e,r)}}function q$(e,t){let n;for(n in t)if(DD.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function iN(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+tu({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+tu({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+tu({start:t.start,end:t.end})+") is still open")}function W$(e){const t=this;t.parser=n;function n(r){return V$(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function X$(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function K$(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
68
|
-
`}]}function Z$(e,t){const n=t.value?t.value+`
|
|
69
|
-
`:"",r={},o=t.lang?t.lang.split(/\s+/):[];o.length>0&&(r.className=["language-"+o[0]]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};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 Q$(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function J$(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function eG(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=Bs(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let u,c=e.footnoteCounts.get(r);c===void 0?(c=0,e.footnoteOrder.push(r),u=e.footnoteOrder.length):u=s+1,c+=1,e.footnoteCounts.set(r,c);const p={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,p);const f={type:"element",tagName:"sup",properties:{},children:[p]};return e.patch(t,f),e.applyData(t,f)}function tG(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function nG(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function OD(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),s=o[0];s&&s.type==="text"?s.value="["+s.value:o.unshift({type:"text",value:"["});const u=o[o.length-1];return u&&u.type==="text"?u.value+=r:o.push({type:"text",value:r}),o}function rG(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return OD(e,t);const o={src:Bs(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(o.title=r.title);const s={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,s),e.applyData(t,s)}function aG(e,t){const n={src:Bs(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function iG(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function oG(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return OD(e,t);const o={href:Bs(r.url||"")};r.title!==null&&r.title!==void 0&&(o.title=r.title);const s={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function sG(e,t){const n={href:Bs(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function lG(e,t,n){const r=e.all(t),o=n?uG(n):LD(t),s={},u=[];if(typeof t.checked=="boolean"){const g=r[0];let h;g&&g.type==="element"&&g.tagName==="p"?h=g:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<r.length;){const g=r[c];(o||c!==0||g.type!=="element"||g.tagName!=="p")&&u.push({type:"text",value:`
|
|
70
|
-
`}),g.type==="element"&&g.tagName==="p"&&!o?u.push(...g.children):u.push(g)}const p=r[r.length-1];p&&(o||p.type!=="element"||p.tagName!=="p")&&u.push({type:"text",value:`
|
|
71
|
-
`});const f={type:"element",tagName:"li",properties:s,children:u};return e.patch(t,f),e.applyData(t,f)}function uG(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=LD(n[r])}return t}function LD(e){const t=e.spread;return t??e.children.length>1}function cG(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<r.length;){const u=r[o];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function dG(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fG(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function pG(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mG(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],u),o.push(u)}if(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},c=ia(t.children[1]),p=np(t.children[t.children.length-1]);c&&p&&(u.position={start:c,end:p}),o.push(u)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,s),e.applyData(t,s)}function gG(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,c=u?u.length:t.children.length;let p=-1;const f=[];for(;++p<c;){const h=t.children[p],y={},T=u?u[p]:void 0;T&&(y.align=T);let x={type:"element",tagName:s,properties:y,children:[]};h&&(x.children=e.all(h),e.patch(h,x),x=e.applyData(h,x)),f.push(x)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,g),e.applyData(t,g)}function hG(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const oN=9,sN=32;function bG(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const s=[];for(;r;)s.push(lN(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return s.push(lN(t.slice(o),o>0,!1)),s.join("")}function lN(e,t,n){let r=0,o=e.length;if(t){let s=e.codePointAt(r);for(;s===oN||s===sN;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(o-1);for(;s===oN||s===sN;)o--,s=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function EG(e,t){const n={type:"text",value:bG(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function yG(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const SG={blockquote:X$,break:K$,code:Z$,delete:Q$,emphasis:J$,footnoteReference:eG,heading:tG,html:nG,imageReference:rG,image:aG,inlineCode:iG,linkReference:oG,link:sG,listItem:lG,list:cG,paragraph:dG,root:fG,strong:pG,table:mG,tableCell:hG,tableRow:gG,text:EG,thematicBreak:yG,toml:gd,yaml:gd,definition:gd,footnoteDefinition:gd};function gd(){}function TG(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function vG(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function xG(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||TG,r=e.options.footnoteBackLabel||vG,o=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let p=-1;for(;++p<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[p]);if(!f)continue;const g=e.all(f),h=String(f.identifier).toUpperCase(),y=Bs(h.toLowerCase());let T=0;const x=[],C=e.footnoteCounts.get(h);for(;C!==void 0&&++T<=C;){x.length>0&&x.push({type:"text",value:" "});let R=typeof n=="string"?n:n(p,T);typeof R=="string"&&(R={type:"text",value:R}),x.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+y+(T>1?"-"+T:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(p,T),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}const w=g[g.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const R=w.children[w.children.length-1];R&&R.type==="text"?R.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...x)}else g.push(...x);const N={type:"element",tagName:"li",properties:{id:t+"fn-"+y},children:e.wrap(g,!0)};e.patch(f,N),c.push(N)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...Zi(u),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
|
|
72
|
-
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
|
|
73
|
-
`}]}}const Kh={}.hasOwnProperty,AG={};function CG(e,t){const n=t||AG,r=new Map,o=new Map,s=new Map,u={...SG,...n.handlers},c={all:f,applyData:NG,definitionById:r,footnoteById:o,footnoteCounts:s,footnoteOrder:[],handlers:u,one:p,options:n,patch:wG,wrap:RG};return Mn(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const h=g.type==="definition"?r:o,y=String(g.identifier).toUpperCase();h.has(y)||h.set(y,g)}}),c;function p(g,h){const y=g.type,T=c.handlers[y];if(Kh.call(c.handlers,y)&&T)return T(c,g,h);if(c.options.passThrough&&c.options.passThrough.includes(y)){if("children"in g){const{children:C,...w}=g,N=Zi(w);return N.children=c.all(g),N}return Zi(g)}return(c.options.unknownHandler||_G)(c,g,h)}function f(g){const h=[];if("children"in g){const y=g.children;let T=-1;for(;++T<y.length;){const x=c.one(y[T],g);if(x){if(T&&y[T-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=uN(x.value)),!Array.isArray(x)&&x.type==="element")){const C=x.children[0];C&&C.type==="text"&&(C.value=uN(C.value))}Array.isArray(x)?h.push(...x):h.push(x)}}}return h}}function wG(e,t){e.position&&(t.position=aH(e))}function NG(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const u="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:u}}n.type==="element"&&s&&Object.assign(n.properties,Zi(s)),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function _G(e,t){const n=t.data||{},r="value"in t&&!(Kh.call(n,"hProperties")||Kh.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function RG(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
74
|
-
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
75
|
-
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
76
|
-
`}),n}function uN(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function cN(e,t){const n=CG(e,t),r=n.one(e,void 0),o=xG(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&s.children.push({type:"text",value:`
|
|
77
|
-
`},o),s}function kG(e,t){return e&&"run"in e?async function(n,r){const o=cN(n,{file:r,...t});await e.run(o,r)}:function(n,r){return cN(n,{file:r,...e||t})}}function dN(e){if(e)throw e}var Zg,fN;function DG(){if(fN)return Zg;fN=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},s=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var g=e.call(f,"constructor"),h=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!g&&!h)return!1;var y;for(y in f);return typeof y>"u"||e.call(f,y)},u=function(f,g){n&&g.name==="__proto__"?n(f,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):f[g.name]=g.newValue},c=function(f,g){if(g==="__proto__")if(e.call(f,g)){if(r)return r(f,g).value}else return;return f[g]};return Zg=function p(){var f,g,h,y,T,x,C=arguments[0],w=1,N=arguments.length,R=!1;for(typeof C=="boolean"&&(R=C,C=arguments[1]||{},w=2),(C==null||typeof C!="object"&&typeof C!="function")&&(C={});w<N;++w)if(f=arguments[w],f!=null)for(g in f)h=c(C,g),y=c(f,g),C!==y&&(R&&y&&(s(y)||(T=o(y)))?(T?(T=!1,x=h&&o(h)?h:[]):x=h&&s(h)?h:{},u(C,{name:g,newValue:p(R,x,y)})):typeof y<"u"&&u(C,{name:g,newValue:y}));return C},Zg}var IG=DG();const Qg=Ji(IG);function Zh(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 OG(){const e=[],t={run:n,use:r};return t;function n(...o){let s=-1;const u=o.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);c(null,...o);function c(p,...f){const g=e[++s];let h=-1;if(p){u(p);return}for(;++h<o.length;)(f[h]===null||f[h]===void 0)&&(f[h]=o[h]);o=f,g?LG(g,c)(...f):u(null,...f)}}function r(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function LG(e,t){let n;return r;function r(...u){const c=e.length>u.length;let p;c&&u.push(o);try{p=e.apply(this,u)}catch(f){const g=f;if(c&&n)throw g;return o(g)}c||(p&&p.then&&typeof p.then=="function"?p.then(s,o):p instanceof Error?o(p):s(p))}function o(u,...c){n||(n=!0,t(u,...c))}function s(u){o(null,u)}}const qr={basename:MG,dirname:FG,extname:BG,join:UG,sep:"/"};function MG(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');zu(e);let n=0,r=-1,o=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(s){n=o+1;break}}else r<0&&(s=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let u=-1,c=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(s){n=o+1;break}}else u<0&&(s=!0,u=o+1),c>-1&&(e.codePointAt(o)===t.codePointAt(c--)?c<0&&(r=o):(c=-1,r=u));return n===r?r=u:r<0&&(r=e.length),e.slice(n,r)}function FG(e){if(zu(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function BG(e){zu(e);let t=e.length,n=-1,r=0,o=-1,s=0,u;for(;t--;){const c=e.codePointAt(t);if(c===47){if(u){r=t+1;break}continue}n<0&&(u=!0,n=t+1),c===46?o<0?o=t:s!==1&&(s=1):o>-1&&(s=-1)}return o<0||n<0||s===0||s===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function UG(...e){let t=-1,n;for(;++t<e.length;)zu(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":PG(n)}function PG(e){zu(e);const t=e.codePointAt(0)===47;let n=jG(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function jG(e,t){let n="",r=0,o=-1,s=0,u=-1,c,p;for(;++u<=e.length;){if(u<e.length)c=e.codePointAt(u);else{if(c===47)break;c=47}if(c===47){if(!(o===u-1||s===1))if(o!==u-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(p=n.lastIndexOf("/"),p!==n.length-1){p<0?(n="",r=0):(n=n.slice(0,p),r=n.length-1-n.lastIndexOf("/")),o=u,s=0;continue}}else if(n.length>0){n="",r=0,o=u,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,u):n=e.slice(o+1,u),r=u-o-1;o=u,s=0}else c===46&&s>-1?s++:s=-1}return n}function zu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const HG={cwd:zG};function zG(){return"/"}function Qh(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function $G(e){if(typeof e=="string")e=new URL(e);else if(!Qh(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 GG(e)}function GG(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const Jg=["history","path","basename","stem","extname","dirname"];class Jd{constructor(t){let n;t?Qh(t)?n={path:t}:typeof t=="string"||VG(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":HG.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Jg.length;){const s=Jg[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let o;for(o in n)Jg.includes(o)||(this[o]=n[o])}get basename(){return typeof this.path=="string"?qr.basename(this.path):void 0}set basename(t){th(t,"basename"),eh(t,"basename"),this.path=qr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?qr.dirname(this.path):void 0}set dirname(t){pN(this.basename,"dirname"),this.path=qr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?qr.extname(this.path):void 0}set extname(t){if(eh(t,"extname"),pN(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=qr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Qh(t)&&(t=$G(t)),th(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?qr.basename(this.path,this.extname):void 0}set stem(t){th(t,"stem"),eh(t,"stem"),this.path=qr.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const o=this.message(t,n,r);throw o.fatal=!0,o}info(t,n,r){const o=this.message(t,n,r);return o.fatal=void 0,o}message(t,n,r){const o=new Dn(t,n,r);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function eh(e,t){if(e&&e.includes(qr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+qr.sep+"`")}function th(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function pN(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function VG(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const YG=(function(e){const r=this.constructor.prototype,o=r[e],s=function(){return o.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),qG={}.hasOwnProperty;class BS extends YG{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=OG()}copy(){const t=new BS;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Qg(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(ah("data",this.frozen),this.namespace[t]=n,this):qG.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ah("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[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const o=n.call(t,...r);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=hd(t),r=this.parser||this.Parser;return nh("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),nh("process",this.parser||this.Parser),rh("process",this.compiler||this.Compiler),n?o(void 0,n):new Promise(o);function o(s,u){const c=hd(t),p=r.parse(c);r.run(p,c,function(g,h,y){if(g||!h||!y)return f(g);const T=h,x=r.stringify(T,y);XG(x)?y.value=x:y.result=x,f(g,y)});function f(g,h){g||!h?u(g):s?s(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),nh("processSync",this.parser||this.Parser),rh("processSync",this.compiler||this.Compiler),this.process(t,o),gN("processSync","process",n),r;function o(s,u){n=!0,dN(s),r=u}}run(t,n,r){mN(t),this.freeze();const o=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(u,c){const p=hd(n);o.run(t,p,f);function f(g,h,y){const T=h||t;g?c(g):u?u(T):r(void 0,T,y)}}}runSync(t,n){let r=!1,o;return this.run(t,n,s),gN("runSync","run",r),o;function s(u,c){dN(u),o=c,r=!0}}stringify(t,n){this.freeze();const r=hd(n),o=this.compiler||this.Compiler;return rh("stringify",o),mN(t),o(t,r)}use(t,...n){const r=this.attachers,o=this.namespace;if(ah("use",this.frozen),t!=null)if(typeof t=="function")p(t,n);else if(typeof t=="object")Array.isArray(t)?c(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(f){if(typeof f=="function")p(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[g,...h]=f;p(g,h)}else u(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function u(f){if(!("plugins"in f)&&!("settings"in f))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(f.plugins),f.settings&&(o.settings=Qg(!0,o.settings,f.settings))}function c(f){let g=-1;if(f!=null)if(Array.isArray(f))for(;++g<f.length;){const h=f[g];s(h)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function p(f,g){let h=-1,y=-1;for(;++h<r.length;)if(r[h][0]===f){y=h;break}if(y===-1)r.push([f,...g]);else if(g.length>0){let[T,...x]=g;const C=r[y][1];Zh(C)&&Zh(T)&&(T=Qg(!0,C,T)),r[y]=[f,T,...x]}}}}const MD=new BS().freeze();function nh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function rh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ah(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 mN(e){if(!Zh(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function gN(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function hd(e){return WG(e)?e:new Jd(e)}function WG(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function XG(e){return typeof e=="string"||KG(e)}function KG(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ZG="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",hN=[],bN={allowDangerousHtml:!0},QG=/^(https?|ircs?|mailto|xmpp)$/i,JG=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function eV(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,s=e.components,u=e.disallowedElements,c=e.rehypePlugins||hN,p=e.remarkPlugins||hN,f=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...bN}:bN,g=e.skipHtml,h=e.unwrapDisallowed,y=e.urlTransform||tV,T=MD().use(W$).use(p).use(kG,f).use(c),x=new Jd;typeof r=="string"&&(x.value=r);for(const R of JG)Object.hasOwn(e,R.from)&&(""+R.from+(R.to?"use `"+R.to+"` instead":"remove it")+ZG+R.id,void 0);const C=T.parse(x);let w=T.runSync(C,x);return o&&(w={type:"element",tagName:"div",properties:{className:o},children:w.type==="root"?w.children:[w]}),Mn(w,N),DH(w,{Fragment:m.Fragment,components:s,ignoreInvalidStyle:!0,jsx:m.jsx,jsxs:m.jsxs,passKeys:!0,passNode:!0});function N(R,D,L){if(R.type==="raw"&&L&&typeof D=="number")return g?L.children.splice(D,1):L.children[D]={type:"text",value:R.value},D;if(R.type==="element"){let O;for(O in Wg)if(Object.hasOwn(Wg,O)&&Object.hasOwn(R.properties,O)){const I=R.properties[O],B=Wg[O];(B===null||B.includes(R.tagName))&&(R.properties[O]=y(String(I||""),O,R))}}if(R.type==="element"){let O=t?!t.includes(R.tagName):u?u.includes(R.tagName):!1;if(!O&&n&&typeof D=="number"&&(O=!n(R,D,L)),O&&L&&typeof D=="number")return h&&R.children?L.children.splice(D,1,...R.children):L.children.splice(D,1),D}}}function tV(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t===-1||o!==-1&&t>o||n!==-1&&t>n||r!==-1&&t>r||QG.test(e.slice(0,t))?e:""}function ef(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function nV(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function rV(e,t,n){const o=wu((n||{}).ignore||[]),s=aV(t);let u=-1;for(;++u<s.length;)zR(e,"text",c);function c(f,g){let h=-1,y;for(;++h<g.length;){const T=g[h],x=y?y.children:void 0;if(o(T,x?x.indexOf(T):void 0,y))return;y=T}if(y)return p(f,g)}function p(f,g){const h=g[g.length-1],y=s[u][0],T=s[u][1];let x=0;const w=h.children.indexOf(f);let N=!1,R=[];y.lastIndex=0;let D=y.exec(f.value);for(;D;){const L=D.index,O={index:D.index,input:D.input,stack:[...g,f]};let I=T(...D,O);if(typeof I=="string"&&(I=I.length>0?{type:"text",value:I}:void 0),I===!1?y.lastIndex=L+1:(x!==L&&R.push({type:"text",value:f.value.slice(x,L)}),Array.isArray(I)?R.push(...I):I&&R.push(I),x=L+D[0].length,N=!0),!y.global)break;D=y.exec(f.value)}return N?(x<f.value.length&&R.push({type:"text",value:f.value.slice(x)}),h.children.splice(w,1,...R)):R=[f],w+R.length}}function aV(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const o=n[r];t.push([iV(o[0]),oV(o[1])])}return t}function iV(e){return typeof e=="string"?new RegExp(nV(e),"g"):e}function oV(e){return typeof e=="function"?e:function(){return e}}const ih="phrasing",oh=["autolink","link","image","label"];function sV(){return{transforms:[mV],enter:{literalAutolink:uV,literalAutolinkEmail:sh,literalAutolinkHttp:sh,literalAutolinkWww:sh},exit:{literalAutolink:pV,literalAutolinkEmail:fV,literalAutolinkHttp:cV,literalAutolinkWww:dV}}}function lV(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ih,notInConstruct:oh},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ih,notInConstruct:oh},{character:":",before:"[ps]",after:"\\/",inConstruct:ih,notInConstruct:oh}]}}function uV(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function sh(e){this.config.enter.autolinkProtocol.call(this,e)}function cV(e){this.config.exit.autolinkProtocol.call(this,e)}function dV(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 fV(e){this.config.exit.autolinkEmail.call(this,e)}function pV(e){this.exit(e)}function mV(e){rV(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,gV],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),hV]],{ignore:["link","linkReference"]})}function gV(e,t,n,r,o){let s="";if(!FD(o)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!bV(n)))return!1;const u=EV(n+r);if(!u[0])return!1;const c={type:"link",title:null,url:s+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[c,{type:"text",value:u[1]}]:c}function hV(e,t,n,r){return!FD(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function bV(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 EV(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=ef(e,"(");let s=ef(e,")");for(;r!==-1&&o>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function FD(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Qi(n)||rp(n))&&(!t||n!==47)}BD.peek=NV;function yV(){this.buffer()}function SV(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function TV(){this.buffer()}function vV(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function xV(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Or(this.sliceSerialize(e)).toLowerCase(),n.label=t}function AV(e){this.exit(e)}function CV(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Or(this.sliceSerialize(e)).toLowerCase(),n.label=t}function wV(e){this.exit(e)}function NV(){return"["}function BD(e,t,n,r){const o=n.createTracker(r);let s=o.move("[^");const u=n.enter("footnoteReference"),c=n.enter("reference");return s+=o.move(n.safe(n.associationId(e),{after:"]",before:s})),c(),u(),s+=o.move("]"),s}function _V(){return{enter:{gfmFootnoteCallString:yV,gfmFootnoteCall:SV,gfmFootnoteDefinitionLabelString:TV,gfmFootnoteDefinition:vV},exit:{gfmFootnoteCallString:xV,gfmFootnoteCall:AV,gfmFootnoteDefinitionLabelString:CV,gfmFootnoteDefinition:wV}}}function RV(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:BD},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,o,s,u){const c=s.createTracker(u);let p=c.move("[^");const f=s.enter("footnoteDefinition"),g=s.enter("label");return p+=c.move(s.safe(s.associationId(r),{before:p,after:"]"})),g(),p+=c.move("]:"),r.children&&r.children.length>0&&(c.shift(4),p+=c.move((t?`
|
|
78
|
-
`:" ")+s.indentLines(s.containerFlow(r,c.current()),t?UD:kV))),f(),p}}function kV(e,t,n){return t===0?e:UD(e,t,n)}function UD(e,t,n){return(n?"":" ")+e}const DV=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];PD.peek=FV;function IV(){return{canContainEols:["delete"],enter:{strikethrough:LV},exit:{strikethrough:MV}}}function OV(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:DV}],handlers:{delete:PD}}}function LV(e){this.enter({type:"delete",children:[]},e)}function MV(e){this.exit(e)}function PD(e,t,n,r){const o=n.createTracker(r),s=n.enter("strikethrough");let u=o.move("~~");return u+=n.containerPhrasing(e,{...o.current(),before:u,after:"~"}),u+=o.move("~~"),s(),u}function FV(){return"~"}function BV(e){return e.length}function UV(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||BV,s=[],u=[],c=[],p=[];let f=0,g=-1;for(;++g<e.length;){const C=[],w=[];let N=-1;for(e[g].length>f&&(f=e[g].length);++N<e[g].length;){const R=PV(e[g][N]);if(n.alignDelimiters!==!1){const D=o(R);w[N]=D,(p[N]===void 0||D>p[N])&&(p[N]=D)}C.push(R)}u[g]=C,c[g]=w}let h=-1;if(typeof r=="object"&&"length"in r)for(;++h<f;)s[h]=EN(r[h]);else{const C=EN(r);for(;++h<f;)s[h]=C}h=-1;const y=[],T=[];for(;++h<f;){const C=s[h];let w="",N="";C===99?(w=":",N=":"):C===108?w=":":C===114&&(N=":");let R=n.alignDelimiters===!1?1:Math.max(1,p[h]-w.length-N.length);const D=w+"-".repeat(R)+N;n.alignDelimiters!==!1&&(R=w.length+R+N.length,R>p[h]&&(p[h]=R),T[h]=R),y[h]=D}u.splice(1,0,y),c.splice(1,0,T),g=-1;const x=[];for(;++g<u.length;){const C=u[g],w=c[g];h=-1;const N=[];for(;++h<f;){const R=C[h]||"";let D="",L="";if(n.alignDelimiters!==!1){const O=p[h]-(w[h]||0),I=s[h];I===114?D=" ".repeat(O):I===99?O%2?(D=" ".repeat(O/2+.5),L=" ".repeat(O/2-.5)):(D=" ".repeat(O/2),L=D):L=" ".repeat(O)}n.delimiterStart!==!1&&!h&&N.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&R==="")&&(n.delimiterStart!==!1||h)&&N.push(" "),n.alignDelimiters!==!1&&N.push(D),N.push(R),n.alignDelimiters!==!1&&N.push(L),n.padding!==!1&&N.push(" "),(n.delimiterEnd!==!1||h!==f-1)&&N.push("|")}x.push(n.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return x.join(`
|
|
79
|
-
`)}function PV(e){return e==null?"":String(e)}function EN(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 jV(e,t,n,r){const o=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const u=n.indentLines(n.containerFlow(e,s.current()),HV);return o(),u}function HV(e,t,n){return">"+(n?"":" ")+e}function zV(e,t){return yN(e,t.inConstruct,!0)&&!yN(e,t.notInConstruct,!1)}function yN(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function SN(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;)if(n.unsafe[o].character===`
|
|
80
|
-
`&&zV(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
81
|
-
`}function $V(e,t){const n=String(e);let r=n.indexOf(t),o=r,s=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===o?++s>u&&(u=s):s=1,o=r+t.length,r=n.indexOf(t,o);return u}function GV(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 VV(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 YV(e,t,n,r){const o=VV(n),s=e.value||"",u=o==="`"?"GraveAccent":"Tilde";if(GV(e,n)){const h=n.enter("codeIndented"),y=n.indentLines(s,qV);return h(),y}const c=n.createTracker(r),p=o.repeat(Math.max($V(s,o)+1,3)),f=n.enter("codeFenced");let g=c.move(p);if(e.lang){const h=n.enter(`codeFencedLang${u}`);g+=c.move(n.safe(e.lang,{before:g,after:" ",encode:["`"],...c.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${u}`);g+=c.move(" "),g+=c.move(n.safe(e.meta,{before:g,after:`
|
|
82
|
-
`,encode:["`"],...c.current()})),h()}return g+=c.move(`
|
|
83
|
-
`),s&&(g+=c.move(s+`
|
|
84
|
-
`)),g+=c.move(p),f(),g}function qV(e,t,n){return(n?"":" ")+e}function US(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 WV(e,t,n,r){const o=US(n),s=o==='"'?"Quote":"Apostrophe",u=n.enter("definition");let c=n.enter("label");const p=n.createTracker(r);let f=p.move("[");return f+=p.move(n.safe(n.associationId(e),{before:f,after:"]",...p.current()})),f+=p.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),f+=p.move("<"),f+=p.move(n.safe(e.url,{before:f,after:">",...p.current()})),f+=p.move(">")):(c=n.enter("destinationRaw"),f+=p.move(n.safe(e.url,{before:f,after:e.title?" ":`
|
|
85
|
-
`,...p.current()}))),c(),e.title&&(c=n.enter(`title${s}`),f+=p.move(" "+o),f+=p.move(n.safe(e.title,{before:f,after:o,...p.current()})),f+=p.move(o),c()),u(),f}function XV(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 bu(e){return"&#x"+e.toString(16).toUpperCase()+";"}function tf(e,t,n){const r=Es(e),o=Es(t);return r===void 0?o===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}jD.peek=KV;function jD(e,t,n,r){const o=XV(n),s=n.enter("emphasis"),u=n.createTracker(r),c=u.move(o);let p=u.move(n.containerPhrasing(e,{after:o,before:c,...u.current()}));const f=p.charCodeAt(0),g=tf(r.before.charCodeAt(r.before.length-1),f,o);g.inside&&(p=bu(f)+p.slice(1));const h=p.charCodeAt(p.length-1),y=tf(r.after.charCodeAt(0),h,o);y.inside&&(p=p.slice(0,-1)+bu(h));const T=u.move(o);return s(),n.attentionEncodeSurroundingInfo={after:y.outside,before:g.outside},c+p+T}function KV(e,t,n){return n.options.emphasis||"*"}function ZV(e,t){let n=!1;return Mn(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Gd}),!!((!e.depth||e.depth<3)&&MS(e)&&(t.options.setext||n))}function QV(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(ZV(e,n)){const g=n.enter("headingSetext"),h=n.enter("phrasing"),y=n.containerPhrasing(e,{...s.current(),before:`
|
|
86
|
-
`,after:`
|
|
87
|
-
`});return h(),g(),y+`
|
|
88
|
-
`+(o===1?"=":"-").repeat(y.length-(Math.max(y.lastIndexOf("\r"),y.lastIndexOf(`
|
|
89
|
-
`))+1))}const u="#".repeat(o),c=n.enter("headingAtx"),p=n.enter("phrasing");s.move(u+" ");let f=n.containerPhrasing(e,{before:"# ",after:`
|
|
90
|
-
`,...s.current()});return/^[\t ]/.test(f)&&(f=bu(f.charCodeAt(0))+f.slice(1)),f=f?u+" "+f:u,n.options.closeAtx&&(f+=" "+u),p(),c(),f}HD.peek=JV;function HD(e){return e.value||""}function JV(){return"<"}zD.peek=eY;function zD(e,t,n,r){const o=US(n),s=o==='"'?"Quote":"Apostrophe",u=n.enter("image");let c=n.enter("label");const p=n.createTracker(r);let f=p.move("![");return f+=p.move(n.safe(e.alt,{before:f,after:"]",...p.current()})),f+=p.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),f+=p.move("<"),f+=p.move(n.safe(e.url,{before:f,after:">",...p.current()})),f+=p.move(">")):(c=n.enter("destinationRaw"),f+=p.move(n.safe(e.url,{before:f,after:e.title?" ":")",...p.current()}))),c(),e.title&&(c=n.enter(`title${s}`),f+=p.move(" "+o),f+=p.move(n.safe(e.title,{before:f,after:o,...p.current()})),f+=p.move(o),c()),f+=p.move(")"),u(),f}function eY(){return"!"}$D.peek=tY;function $D(e,t,n,r){const o=e.referenceType,s=n.enter("imageReference");let u=n.enter("label");const c=n.createTracker(r);let p=c.move("![");const f=n.safe(e.alt,{before:p,after:"]",...c.current()});p+=c.move(f+"]["),u();const g=n.stack;n.stack=[],u=n.enter("reference");const h=n.safe(n.associationId(e),{before:p,after:"]",...c.current()});return u(),n.stack=g,s(),o==="full"||!f||f!==h?p+=c.move(h+"]"):o==="shortcut"?p=p.slice(0,-1):p+=c.move("]"),p}function tY(){return"!"}GD.peek=nY;function GD(e,t,n){let r=e.value||"",o="`",s=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const u=n.unsafe[s],c=n.compilePattern(u);let p;if(u.atBreak)for(;p=c.exec(r);){let f=p.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+" "+r.slice(p.index+1)}}return o+r+o}function nY(){return"`"}function VD(e,t){const n=MS(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}YD.peek=rY;function YD(e,t,n,r){const o=US(n),s=o==='"'?"Quote":"Apostrophe",u=n.createTracker(r);let c,p;if(VD(e,n)){const g=n.stack;n.stack=[],c=n.enter("autolink");let h=u.move("<");return h+=u.move(n.containerPhrasing(e,{before:h,after:">",...u.current()})),h+=u.move(">"),c(),n.stack=g,h}c=n.enter("link"),p=n.enter("label");let f=u.move("[");return f+=u.move(n.containerPhrasing(e,{before:f,after:"](",...u.current()})),f+=u.move("]("),p(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(p=n.enter("destinationLiteral"),f+=u.move("<"),f+=u.move(n.safe(e.url,{before:f,after:">",...u.current()})),f+=u.move(">")):(p=n.enter("destinationRaw"),f+=u.move(n.safe(e.url,{before:f,after:e.title?" ":")",...u.current()}))),p(),e.title&&(p=n.enter(`title${s}`),f+=u.move(" "+o),f+=u.move(n.safe(e.title,{before:f,after:o,...u.current()})),f+=u.move(o),p()),f+=u.move(")"),c(),f}function rY(e,t,n){return VD(e,n)?"<":"["}qD.peek=aY;function qD(e,t,n,r){const o=e.referenceType,s=n.enter("linkReference");let u=n.enter("label");const c=n.createTracker(r);let p=c.move("[");const f=n.containerPhrasing(e,{before:p,after:"]",...c.current()});p+=c.move(f+"]["),u();const g=n.stack;n.stack=[],u=n.enter("reference");const h=n.safe(n.associationId(e),{before:p,after:"]",...c.current()});return u(),n.stack=g,s(),o==="full"||!f||f!==h?p+=c.move(h+"]"):o==="shortcut"?p=p.slice(0,-1):p+=c.move("]"),p}function aY(){return"["}function PS(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 iY(e){const t=PS(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function oY(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 WD(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 sY(e,t,n,r){const o=n.enter("list"),s=n.bulletCurrent;let u=e.ordered?oY(n):PS(n);const c=e.ordered?u==="."?")":".":iY(n);let p=t&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!e.ordered){const g=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&g&&(!g.children||!g.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(p=!0),WD(n)===u&&g){let h=-1;for(;++h<e.children.length;){const y=e.children[h];if(y&&y.type==="listItem"&&y.children&&y.children[0]&&y.children[0].type==="thematicBreak"){p=!0;break}}}}p&&(u=c),n.bulletCurrent=u;const f=n.containerFlow(e,r);return n.bulletLastUsed=u,n.bulletCurrent=s,o(),f}function lY(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 uY(e,t,n,r){const o=lY(n);let s=n.bulletCurrent||PS(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let u=s.length+1;(o==="tab"||o==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const c=n.createTracker(r);c.move(s+" ".repeat(u-s.length)),c.shift(u);const p=n.enter("listItem"),f=n.indentLines(n.containerFlow(e,c.current()),g);return p(),f;function g(h,y,T){return y?(T?"":" ".repeat(u))+h:(T?s:s+" ".repeat(u-s.length))+h}}function cY(e,t,n,r){const o=n.enter("paragraph"),s=n.enter("phrasing"),u=n.containerPhrasing(e,r);return s(),o(),u}const dY=wu(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function fY(e,t,n,r){return(e.children.some(function(u){return dY(u)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function pY(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}XD.peek=mY;function XD(e,t,n,r){const o=pY(n),s=n.enter("strong"),u=n.createTracker(r),c=u.move(o+o);let p=u.move(n.containerPhrasing(e,{after:o,before:c,...u.current()}));const f=p.charCodeAt(0),g=tf(r.before.charCodeAt(r.before.length-1),f,o);g.inside&&(p=bu(f)+p.slice(1));const h=p.charCodeAt(p.length-1),y=tf(r.after.charCodeAt(0),h,o);y.inside&&(p=p.slice(0,-1)+bu(h));const T=u.move(o+o);return s(),n.attentionEncodeSurroundingInfo={after:y.outside,before:g.outside},c+p+T}function mY(e,t,n){return n.options.strong||"*"}function gY(e,t,n,r){return n.safe(e.value,r)}function hY(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 bY(e,t,n){const r=(WD(n)+(n.options.ruleSpaces?" ":"")).repeat(hY(n));return n.options.ruleSpaces?r.slice(0,-1):r}const KD={blockquote:jV,break:SN,code:YV,definition:WV,emphasis:jD,hardBreak:SN,heading:QV,html:HD,image:zD,imageReference:$D,inlineCode:GD,link:YD,linkReference:qD,list:sY,listItem:uY,paragraph:cY,root:fY,strong:XD,text:gY,thematicBreak:bY};function EY(){return{enter:{table:yY,tableData:TN,tableHeader:TN,tableRow:TY},exit:{codeText:vY,table:SY,tableData:lh,tableHeader:lh,tableRow:lh}}}function yY(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function SY(e){this.exit(e),this.data.inTable=void 0}function TY(e){this.enter({type:"tableRow",children:[]},e)}function lh(e){this.exit(e)}function TN(e){this.enter({type:"tableCell",children:[]},e)}function vY(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,xY));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function xY(e,t){return t==="|"?t:e}function AY(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
91
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:y,table:u,tableCell:p,tableRow:c}};function u(T,x,C,w){return f(g(T,C,w),T.align)}function c(T,x,C,w){const N=h(T,C,w),R=f([N]);return R.slice(0,R.indexOf(`
|
|
92
|
-
`))}function p(T,x,C,w){const N=C.enter("tableCell"),R=C.enter("phrasing"),D=C.containerPhrasing(T,{...w,before:s,after:s});return R(),N(),D}function f(T,x){return UV(T,{align:x,alignDelimiters:r,padding:n,stringLength:o})}function g(T,x,C){const w=T.children;let N=-1;const R=[],D=x.enter("table");for(;++N<w.length;)R[N]=h(w[N],x,C);return D(),R}function h(T,x,C){const w=T.children;let N=-1;const R=[],D=x.enter("tableRow");for(;++N<w.length;)R[N]=p(w[N],T,x,C);return D(),R}function y(T,x,C){let w=KD.inlineCode(T,x,C);return C.stack.includes("tableCell")&&(w=w.replace(/\|/g,"\\$&")),w}}function CY(){return{exit:{taskListCheckValueChecked:vN,taskListCheckValueUnchecked:vN,paragraph:NY}}}function wY(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:_Y}}}function vN(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function NY(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const o=t.children;let s=-1,u;for(;++s<o.length;){const c=o[s];if(c.type==="paragraph"){u=c;break}}u===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function _Y(e,t,n,r){const o=e.children[0],s=typeof e.checked=="boolean"&&o&&o.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",c=n.createTracker(r);s&&c.move(u);let p=KD.listItem(e,t,n,{...r,...c.current()});return s&&(p=p.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),p;function f(g){return g+u}}function RY(){return[sV(),_V(),IV(),EY(),CY()]}function kY(e){return{extensions:[lV(),RV(e),OV(),AY(e),wY()]}}const DY={tokenize:BY,partial:!0},ZD={tokenize:UY,partial:!0},QD={tokenize:PY,partial:!0},JD={tokenize:jY,partial:!0},IY={tokenize:HY,partial:!0},eI={name:"wwwAutolink",tokenize:MY,previous:nI},tI={name:"protocolAutolink",tokenize:FY,previous:rI},La={name:"emailAutolink",tokenize:LY,previous:aI},oa={};function OY(){return{text:oa}}let Pi=48;for(;Pi<123;)oa[Pi]=La,Pi++,Pi===58?Pi=65:Pi===91&&(Pi=97);oa[43]=La;oa[45]=La;oa[46]=La;oa[95]=La;oa[72]=[La,tI];oa[104]=[La,tI];oa[87]=[La,eI];oa[119]=[La,eI];function LY(e,t,n){const r=this;let o,s;return u;function u(h){return!Jh(h)||!aI.call(r,r.previous)||jS(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(h))}function c(h){return Jh(h)?(e.consume(h),c):h===64?(e.consume(h),p):n(h)}function p(h){return h===46?e.check(IY,g,f)(h):h===45||h===95||Ln(h)?(s=!0,e.consume(h),p):g(h)}function f(h){return e.consume(h),o=!0,p}function g(h){return s&&o&&Un(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function MY(e,t,n){const r=this;return o;function o(u){return u!==87&&u!==119||!nI.call(r,r.previous)||jS(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(DY,e.attempt(ZD,e.attempt(QD,s),n),n)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function FY(e,t,n){const r=this;let o="",s=!1;return u;function u(h){return(h===72||h===104)&&rI.call(r,r.previous)&&!jS(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(h),e.consume(h),c):n(h)}function c(h){if(Un(h)&&o.length<5)return o+=String.fromCodePoint(h),e.consume(h),c;if(h===58){const y=o.toLowerCase();if(y==="http"||y==="https")return e.consume(h),p}return n(h)}function p(h){return h===47?(e.consume(h),s?f:(s=!0,p)):n(h)}function f(h){return h===null||Qd(h)||jt(h)||Qi(h)||rp(h)?n(h):e.attempt(ZD,e.attempt(QD,g),n)(h)}function g(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function BY(e,t,n){let r=0;return o;function o(u){return(u===87||u===119)&&r<3?(r++,e.consume(u),o):u===46&&r===3?(e.consume(u),s):n(u)}function s(u){return u===null?n(u):t(u)}}function UY(e,t,n){let r,o,s;return u;function u(f){return f===46||f===95?e.check(JD,p,c)(f):f===null||jt(f)||Qi(f)||f!==45&&rp(f)?p(f):(s=!0,e.consume(f),u)}function c(f){return f===95?r=!0:(o=r,r=void 0),e.consume(f),u}function p(f){return o||r||!s?n(f):t(f)}}function PY(e,t){let n=0,r=0;return o;function o(u){return u===40?(n++,e.consume(u),o):u===41&&r<n?s(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(JD,t,s)(u):u===null||jt(u)||Qi(u)?t(u):(e.consume(u),o)}function s(u){return u===41&&r++,e.consume(u),o}}function jY(e,t,n){return r;function r(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),r):c===38?(e.consume(c),s):c===93?(e.consume(c),o):c===60||c===null||jt(c)||Qi(c)?t(c):n(c)}function o(c){return c===null||c===40||c===91||jt(c)||Qi(c)?t(c):r(c)}function s(c){return Un(c)?u(c):n(c)}function u(c){return c===59?(e.consume(c),r):Un(c)?(e.consume(c),u):n(c)}}function HY(e,t,n){return r;function r(s){return e.consume(s),o}function o(s){return Ln(s)?n(s):t(s)}}function nI(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||jt(e)}function rI(e){return!Un(e)}function aI(e){return!(e===47||Jh(e))}function Jh(e){return e===43||e===45||e===46||e===95||Ln(e)}function jS(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const zY={tokenize:KY,partial:!0};function $Y(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:qY,continuation:{tokenize:WY},exit:XY}},text:{91:{name:"gfmFootnoteCall",tokenize:YY},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:GY,resolveTo:VY}}}}function GY(e,t,n){const r=this;let o=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u;for(;o--;){const p=r.events[o][1];if(p.type==="labelImage"){u=p;break}if(p.type==="gfmFootnoteCall"||p.type==="labelLink"||p.type==="label"||p.type==="image"||p.type==="link")break}return c;function c(p){if(!u||!u._balanced)return n(p);const f=Or(r.sliceSerialize({start:u.end,end:r.now()}));return f.codePointAt(0)!==94||!s.includes(f.slice(1))?n(p):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),t(p))}}function VY(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",s,t],["enter",u,t],["exit",u,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...c),e}function YY(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,u;return c;function c(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),p}function p(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(h){if(s>999||h===93&&!u||h===null||h===91||jt(h))return n(h);if(h===93){e.exit("chunkString");const y=e.exit("gfmFootnoteCallString");return o.includes(Or(r.sliceSerialize(y)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return jt(h)||(u=!0),s++,e.consume(h),h===92?g:f}function g(h){return h===91||h===92||h===93?(e.consume(h),s++,f):f(h)}}function qY(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,u=0,c;return p;function p(x){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(x){return x===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):n(x)}function g(x){if(u>999||x===93&&!c||x===null||x===91||jt(x))return n(x);if(x===93){e.exit("chunkString");const C=e.exit("gfmFootnoteDefinitionLabelString");return s=Or(r.sliceSerialize(C)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),y}return jt(x)||(c=!0),u++,e.consume(x),x===92?h:g}function h(x){return x===91||x===92||x===93?(e.consume(x),u++,g):g(x)}function y(x){return x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),o.includes(s)||o.push(s),wt(e,T,"gfmFootnoteDefinitionWhitespace")):n(x)}function T(x){return t(x)}}function WY(e,t,n){return e.check(Hu,t,e.attempt(zY,t,n))}function XY(e){e.exit("gfmFootnoteDefinition")}function KY(e,t,n){const r=this;return wt(e,o,"gfmFootnoteDefinitionIndent",5);function o(s){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(s):n(s)}}function ZY(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:o};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function o(u,c){let p=-1;for(;++p<u.length;)if(u[p][0]==="enter"&&u[p][1].type==="strikethroughSequenceTemporary"&&u[p][1]._close){let f=p;for(;f--;)if(u[f][0]==="exit"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._open&&u[p][1].end.offset-u[p][1].start.offset===u[f][1].end.offset-u[f][1].start.offset){u[p][1].type="strikethroughSequence",u[f][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},u[f][1].start),end:Object.assign({},u[p][1].end)},h={type:"strikethroughText",start:Object.assign({},u[f][1].end),end:Object.assign({},u[p][1].start)},y=[["enter",g,c],["enter",u[f][1],c],["exit",u[f][1],c],["enter",h,c]],T=c.parser.constructs.insideSpan.null;T&&dr(y,y.length,0,ap(T,u.slice(f+1,p),c)),dr(y,y.length,0,[["exit",h,c],["enter",u[p][1],c],["exit",u[p][1],c],["exit",g,c]]),dr(u,f-1,p-f+3,y),p=f+y.length-2;break}}for(p=-1;++p<u.length;)u[p][1].type==="strikethroughSequenceTemporary"&&(u[p][1].type="data");return u}function s(u,c,p){const f=this.previous,g=this.events;let h=0;return y;function y(x){return f===126&&g[g.length-1][1].type!=="characterEscape"?p(x):(u.enter("strikethroughSequenceTemporary"),T(x))}function T(x){const C=Es(f);if(x===126)return h>1?p(x):(u.consume(x),h++,T);if(h<2&&!n)return p(x);const w=u.exit("strikethroughSequenceTemporary"),N=Es(x);return w._open=!N||N===2&&!!C,w._close=!C||C===2&&!!N,c(x)}}}class QY{constructor(){this.map=[]}add(t,n,r){JY(this,t,n,r)}consume(t){if(this.map.sort(function(s,u){return s[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let o=r.pop();for(;o;){for(const s of o)t.push(s);o=r.pop()}this.map.length=0}}function JY(e,t,n,r){let o=0;if(!(n===0&&r.length===0)){for(;o<e.map.length;){if(e.map[o][0]===t){e.map[o][1]+=n,e.map[o][2].push(...r);return}o+=1}e.map.push([t,n,r])}}function eq(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if(o[0]==="enter")o[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function tq(){return{flow:{null:{name:"table",tokenize:nq,resolveAll:rq}}}}function nq(e,t,n){const r=this;let o=0,s=0,u;return c;function c(z){let ee=r.events.length-1;for(;ee>-1;){const ue=r.events[ee][1].type;if(ue==="lineEnding"||ue==="linePrefix")ee--;else break}const X=ee>-1?r.events[ee][1].type:null,oe=X==="tableHead"||X==="tableRow"?I:p;return oe===I&&r.parser.lazy[r.now().line]?n(z):oe(z)}function p(z){return e.enter("tableHead"),e.enter("tableRow"),f(z)}function f(z){return z===124||(u=!0,s+=1),g(z)}function g(z){return z===null?n(z):nt(z)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),T):n(z):St(z)?wt(e,g,"whitespace")(z):(s+=1,u&&(u=!1,o+=1),z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),u=!0,g):(e.enter("data"),h(z)))}function h(z){return z===null||z===124||jt(z)?(e.exit("data"),g(z)):(e.consume(z),z===92?y:h)}function y(z){return z===92||z===124?(e.consume(z),h):h(z)}function T(z){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(z):(e.enter("tableDelimiterRow"),u=!1,St(z)?wt(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):x(z))}function x(z){return z===45||z===58?w(z):z===124?(u=!0,e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),C):O(z)}function C(z){return St(z)?wt(e,w,"whitespace")(z):w(z)}function w(z){return z===58?(s+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),N):z===45?(s+=1,N(z)):z===null||nt(z)?L(z):O(z)}function N(z){return z===45?(e.enter("tableDelimiterFiller"),R(z)):O(z)}function R(z){return z===45?(e.consume(z),R):z===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(z))}function D(z){return St(z)?wt(e,L,"whitespace")(z):L(z)}function L(z){return z===124?x(z):z===null||nt(z)?!u||o!==s?O(z):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(z)):O(z)}function O(z){return n(z)}function I(z){return e.enter("tableRow"),B(z)}function B(z){return z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),B):z===null||nt(z)?(e.exit("tableRow"),t(z)):St(z)?wt(e,B,"whitespace")(z):(e.enter("data"),j(z))}function j(z){return z===null||z===124||jt(z)?(e.exit("data"),B(z)):(e.consume(z),z===92?G:j)}function G(z){return z===92||z===124?(e.consume(z),j):j(z)}}function rq(e,t){let n=-1,r=!0,o=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,p=0,f,g,h;const y=new QY;for(;++n<e.length;){const T=e[n],x=T[1];T[0]==="enter"?x.type==="tableHead"?(c=!1,p!==0&&(xN(y,t,p,f,g),g=void 0,p=0),f={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},y.add(n,0,[["enter",f,t]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(r=!0,h=void 0,s=[0,0,0,0],u=[0,n+1,0,0],c&&(c=!1,g={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},y.add(n,0,[["enter",g,t]])),o=x.type==="tableDelimiterRow"?2:g?3:1):o&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(s[1]!==0&&(u[0]=u[1],h=bd(y,t,s,o,void 0,h),s=[0,0,0,0]),u[2]=n)):x.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(u[0]=u[1],h=bd(y,t,s,o,void 0,h)),s=u,u=[s[1],n,0,0])):x.type==="tableHead"?(c=!0,p=n):x.type==="tableRow"||x.type==="tableDelimiterRow"?(p=n,s[1]!==0?(u[0]=u[1],h=bd(y,t,s,o,n,h)):u[1]!==0&&(h=bd(y,t,u,o,n,h)),o=0):o&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(u[3]=n)}for(p!==0&&xN(y,t,p,f,g),y.consume(t.events),n=-1;++n<t.events.length;){const T=t.events[n];T[0]==="enter"&&T[1].type==="table"&&(T[1]._align=eq(t.events,n))}return e}function bd(e,t,n,r,o,s){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(s.end=Object.assign({},as(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const p=as(t.events,n[1]);if(s={type:u,start:Object.assign({},p),end:Object.assign({},p)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const f=as(t.events,n[2]),g=as(t.events,n[3]),h={type:c,start:Object.assign({},f),end:Object.assign({},g)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const y=t.events[n[2]],T=t.events[n[3]];if(y[1].end=Object.assign({},T[1].end),y[1].type="chunkText",y[1].contentType="text",n[3]>n[2]+1){const x=n[2]+1,C=n[3]-n[2]-1;e.add(x,C,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return o!==void 0&&(s.end=Object.assign({},as(t.events,o)),e.add(o,0,[["exit",s,t]]),s=void 0),s}function xN(e,t,n,r,o){const s=[],u=as(t.events,n);o&&(o.end=Object.assign({},u),s.push(["exit",o,t])),r.end=Object.assign({},u),s.push(["exit",r,t]),e.add(n+1,0,s)}function as(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const aq={name:"tasklistCheck",tokenize:oq};function iq(){return{text:{91:aq}}}function oq(e,t,n){const r=this;return o;function o(p){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(p):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(p),e.exit("taskListCheckMarker"),s)}function s(p){return jt(p)?(e.enter("taskListCheckValueUnchecked"),e.consume(p),e.exit("taskListCheckValueUnchecked"),u):p===88||p===120?(e.enter("taskListCheckValueChecked"),e.consume(p),e.exit("taskListCheckValueChecked"),u):n(p)}function u(p){return p===93?(e.enter("taskListCheckMarker"),e.consume(p),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):n(p)}function c(p){return nt(p)?t(p):St(p)?e.check({tokenize:sq},t,n)(p):n(p)}}function sq(e,t,n){return wt(e,r,"whitespace");function r(o){return o===null?n(o):t(o)}}function lq(e){return SD([OY(),$Y(),ZY(e),tq(),iq()])}const uq={};function cq(e){const t=this,n=e||uq,r=t.data(),o=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);o.push(lq(n)),s.push(RY()),u.push(kY(n))}const dq=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/i,fq=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)(\/.*)?\]/i,pq=({legacyTitle:e=!1,tagName:t="div"}={})=>n=>{Mn(n,"blockquote",(r,o,s)=>{let u="",c="",p=!0,f=r.children.map(g=>{if(p&&g.type==="paragraph"){const h=g.children[0],y=h.type==="text"?h.value:"",T=e?fq:dq,x=y.match(T);if(x&&(p=!1,u=x[1].toLocaleLowerCase(),c=e&&x[2]||u.toLocaleUpperCase(),y.includes(`
|
|
93
|
-
`)&&(g.children[0]={type:"text",value:y.replace(T,"").replace(/^\n+/,"")}),!y.includes(`
|
|
94
|
-
`))){const C=[];g.children.forEach((w,N)=>{N!=0&&(N==1&&w.type==="break"||C.push(w))}),g.children=[...C]}}return g});u&&(r.data={hName:t,hProperties:{class:`markdown-alert markdown-alert-${u}`,dir:"auto"}},f.unshift({type:"paragraph",children:[mq(u),{type:"text",value:c.replace(/^\//,"")}],data:{hProperties:{class:"markdown-alert-title",dir:"auto"}}})),r.children=[...f]})};function mq(e){let t=gq[e]??"";return{type:"emphasis",data:{hName:"svg",hProperties:{class:"octicon",viewBox:"0 0 16 16",width:"16",height:"16",ariaHidden:"true"}},children:[{type:"emphasis",data:{hName:"path",hProperties:{d:t}},children:[]}]}}const gq={note:"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z",tip:"M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z",important:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",warning:"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",caution:"M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"};function hq(e,t){if(typeof document>"u")return;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);const r=document.getSelection().rangeCount>0?document.getSelection().getRangeAt(0):!1;n.select();let o=!1;try{o=!!document.execCommand("copy")}catch{o=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(o)}function iI(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?iI(t.parentElement):null}function bq(e){var t=n=>{var r=iI(n.target);r&&(r.classList.add("active"),hq(r.dataset.code,function(){setTimeout(()=>{r.classList.remove("active")},2e3)}))};v.useEffect(()=>{var n,r;return(n=e.current)==null||n.removeEventListener("click",t,!1),(r=e.current)==null||r.addEventListener("click",t,!1),()=>{var o;(o=e.current)==null||o.removeEventListener("click",t,!1)}},[e])}var Eq=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement","urlTransform"],yq=e=>e;const Sq=vn.forwardRef((e,t)=>{var{prefixCls:n="wmde-markdown wmde-markdown-color",className:r,source:o,style:s,disableCopy:u=!1,skipHtml:c=!0,onScroll:p,onMouseOver:f,pluginsFilter:g,wrapperElement:h={},warpperElement:y={},urlTransform:T}=e,x=uu(e,Eq),C=vn.useRef(null);v.useImperativeHandle(t,()=>yt({},e,{mdp:C}),[C,e]);var w=(n||"")+" "+(r||"");bq(C);var N=[...x.rehypePlugins||[]],R={allowElement:(O,I,B)=>x.allowElement?x.allowElement(O,I,B):/^[A-Za-z0-9]+$/.test(O.tagName)};c||N.push(mD);var D=[pq,...x.remarkPlugins||[],cq],L=yt({},y,h);return m.jsx("div",yt({ref:C,onScroll:p,onMouseOver:f},L,{className:w,style:s,children:m.jsx(eV,yt({},R,x,{skipHtml:!c,urlTransform:T||yq,rehypePlugins:g?g("rehype",N):N,remarkPlugins:g?g("remark",D):D,children:o||""}))}))});var Tq=function(t){return n=>{Mn(n,r=>{r.type==="element"&&r.tagName==="code"&&r.data&&r.data.meta&&(r.properties=yt({},r.properties,{"data-meta":String(r.data.meta)}))})}},vq=function(t){return n=>{Mn(n,r=>{if(r.type==="element"&&r.tagName==="code"&&r.properties&&r.properties.dataMeta){r.data||(r.data={});var o=r.properties.dataMeta;typeof o=="string"&&(r.data.meta=o),delete r.properties.dataMeta}})}};const xq=/[\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,Aq=Object.hasOwnProperty;class Cq{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let o=wq(t,n===!0);const s=o;for(;Aq.call(r.occurrences,o);)r.occurrences[s]++,o=s+"-"+r.occurrences[s];return r.occurrences[o]=0,o}reset(){this.occurrences=Object.create(null)}}function wq(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(xq,"").replace(/ /g,"-"))}function oI(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}const Nq={},AN=new Cq;function _q(e){const n=(e||Nq).prefix||"";return function(r){AN.reset(),Mn(r,"element",function(o){oI(o)&&!o.properties.id&&(o.properties.id=n+AN.slug(Zr(o)))})}}const sI=(function(e){if(e==null)return Dq;if(typeof e=="string")return kq(e);if(typeof e=="object")return Rq(e);if(typeof e=="function")return HS(e);throw new Error("Expected function, string, or array as `test`")});function Rq(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=sI(e[n]);return HS(r);function r(...o){let s=-1;for(;++s<t.length;)if(t[s].apply(this,o))return!0;return!1}}function kq(e){return HS(t);function t(n){return n.tagName===e}}function HS(e){return t;function t(n,r,o){return!!(Iq(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function Dq(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Iq(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const CN={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]},Oq={};function Lq(e){const t=e||Oq;let n=t.properties;const r=t.headingProperties,o=t.behavior||"prepend",s=t.content,u=t.group,c=sI(t.test);let p;return o==="after"||o==="before"?p=g:o==="wrap"?p=h:(p=f,n||(n={ariaHidden:"true",tabIndex:-1})),function(y){Mn(y,"element",function(T,x,C){if(oI(T)&&T.properties.id&&c(T,x,C))return Object.assign(T.properties,Ed(r,T)),p(T,x,C)})};function f(y){const T=wN(s||CN,y);return y.children[o==="prepend"?"unshift":"push"](uh(y,Ed(n,y),T)),[ql]}function g(y,T,x){if(typeof T!="number"||!x)return;const C=wN(s||CN,y),w=uh(y,Ed(n,y),C);let N=o==="before"?[w,y]:[y,w];if(u){const R=lI(u,y);R&&!Array.isArray(R)&&R.type==="element"&&(R.children=N,N=[R])}return x.children.splice(T,1,...N),[ql,T+N.length]}function h(y){let T=y.children,x=[];return typeof s=="function"?(T=[],x=s(y)):s&&(x=zS(s)),y.children=[uh(y,Ed(n,y),Array.isArray(x)?[...T,...x]:[...T,x])],[ql]}}function zS(e){return Zi(e)}function uh(e,t,n){return{type:"element",tagName:"a",properties:{...t,href:"#"+e.properties.id},children:n}}function wN(e,t){const n=lI(e,t);return Array.isArray(n)?n:[n]}function lI(e,t){return typeof e=="function"?e(t):zS(e)}function Ed(e,t){return typeof e=="function"?e(t):e?zS(e):{}}const Mq=(e={})=>{const{openDelimiter:t="rehype:ignore:start",closeDelimiter:n="rehype:ignore:end"}=e;return r=>{Mn(r,(o,s,u)=>{if(o.type==="element"||o.type==="root"){let c=!1;o.children=o.children.filter(p=>{if(p.type==="raw"||p.type==="comment"){let f=(p.value||"").trim();if(f=f.replace(/^<!--(.*?)-->/,"$1"),f===t)return c=!0,!1;if(f===n)return c=!1,!1}return!c})}})}};var Fq={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};function Bq(e){return e===void 0&&(e=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":e},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}}var Uq=(e,t)=>(n,r,o)=>{if(n.type==="element"&&o&&o.type==="root"&&/h(1|2|3|4|5|6)/.test(n.tagName)){var s=n.children&&n.children[0];s&&s.properties&&s.properties.ariaHidden==="true"&&(s.properties=yt({class:"anchor"},s.properties),s.children=[Fq])}if(n.type==="element"&&n.tagName==="pre"&&!e){var u=Ck(n.children);n.children.push(Bq(u))}t&&t(n,r===null?void 0:r,o===null?void 0:o)},Pq=[_q,Lq,Mq];const uI=vn.forwardRef((e,t)=>{var n,r=[Tq,mD,vq,...Pq,[Q9,{rewrite:Uq((n=e.disableCopy)!=null?n:!1,e.rehypeRewrite)}],[tU,{properties:"attr"}],...e.rehypePlugins||[],[_7,{ignoreMissing:!0}]];return m.jsx(Sq,yt({},e,{rehypePlugins:r,ref:t}))});function jq(e,t){return yt({},e,t)}var uo=vn.createContext({markdown:""});function Hq(e){var{prefixCls:t,groupName:n,commands:r,children:o}=e||{},{barPopup:s={}}=v.useContext(uo);return v.useMemo(()=>m.jsx("div",{className:t+"-toolbar-child "+(n&&s[n]?"active":""),onClick:u=>u.stopPropagation(),children:Array.isArray(r)?m.jsx(cI,yt({commands:r},e,{isChild:!0})):o}),[r,s,n,t])}function NN(e){var{prefixCls:t,overflow:n}=e,{fullscreen:r,preview:o,barPopup:s={},components:u,commandOrchestrator:c,dispatch:p}=v.useContext(uo),f=v.useRef("");function g(h,y){if(p){var T={barPopup:yt({},s)};h.keyCommand==="preview"&&(T.preview=h.value),h.keyCommand==="fullscreen"&&(T.fullscreen=!r),e.commands&&h.keyCommand==="group"?e.commands.forEach(x=>{y===x.groupName?T.barPopup[y]=!0:x.keyCommand&&(T.barPopup[x.groupName]=!1)}):(y||h.parent)&&Object.keys(T.barPopup||{}).forEach(x=>{T.barPopup[x]=!1}),Object.keys(T).length&&p(yt({},T)),c&&c.executeCommand(h)}}return v.useEffect(()=>{document&&n&&(r?document.body.style.overflow="hidden":(f.current||(f.current=window.getComputedStyle(document.body,null).overflow),document.body.style.overflow=f.current))},[r,f,n]),m.jsx("ul",{children:(e.commands||[]).map((h,y)=>{if(h.keyCommand==="divider")return m.jsx("li",yt({},h.liProps,{className:t+"-toolbar-divider"}),y);if(!h.keyCommand)return m.jsx(v.Fragment,{},y);var T=r&&h.keyCommand==="fullscreen"||h.keyCommand==="preview"&&o===h.value,x=h.children&&typeof h.children=="function"?h.children({getState:()=>c.getState(),textApi:c?c.textApi:void 0,close:()=>g({},h.groupName),execute:()=>g({execute:h.execute}),dispatch:p}):void 0,C=s&&o&&o==="preview"&&!/(preview|fullscreen)/.test(h.keyCommand),w=u?.toolbar||h.render,N=w&&typeof w=="function"?w(h,!!C,g,y):null;return m.jsxs("li",yt({},h.liProps,{className:T?"active":"",children:[N&&vn.isValidElement(N)&&N,!N&&!h.buttonProps&&h.icon,!N&&h.buttonProps&&vn.createElement("button",yt({type:"button",key:y,disabled:C,"data-name":h.name},h.buttonProps,{onClick:R=>{R.stopPropagation(),g(h,h.groupName)}}),h.icon),h.children&&m.jsx(Hq,{overflow:n,groupName:h.groupName,prefixCls:t,children:x,commands:Array.isArray(h.children)?h.children:void 0})]}),y)})})}function cI(e){e===void 0&&(e={});var{prefixCls:t,isChild:n,className:r}=e,{commands:o,extraCommands:s}=v.useContext(uo);return m.jsxs("div",{className:t+"-toolbar "+r,children:[m.jsx(NN,yt({},e,{commands:e.commands||o||[]})),!n&&m.jsx(NN,yt({},e,{commands:s||[]}))]})}function _N(e){var{hideToolbar:t,toolbarBottom:n,placement:r,overflow:o,prefixCls:s}=e;if(t||r==="bottom"&&!n||r==="top"&&n)return null;var u=n?"bottom":"";return m.jsx(cI,{prefixCls:s,overflow:o,className:u})}function dI(e,t){return e===void 0&&(e=[]),t===void 0&&(t={}),e.forEach(n=>{n.children&&Array.isArray(n.children)?t=yt({},t,dI(n.children||[])):n.keyCommand&&n.shortcuts&&n.execute&&(t[n.shortcuts.toLocaleLowerCase()]=n)}),t}function fI(e,t,n,r,o){t===void 0&&(t=[]);var s=dI(t||[]),u=[];if(e.altKey&&u.push("alt"),e.shiftKey&&u.push("shift"),e.metaKey&&u.push("cmd"),e.ctrlKey&&u.push("ctrl"),u.length>0&&!/(control|alt|meta|shift)/.test(e.key.toLocaleLowerCase())&&u.push(e.key.toLocaleLowerCase()),/escape/.test(e.key.toLocaleLowerCase())&&u.push("escape"),!(u.length<1)){var c=!!s[u.join("+")],p=c?s[u.join("+")]:void 0;if(Object.keys(s).forEach(f=>{var g=f.split("+").every(h=>/ctrlcmd/.test(h)?u.includes("ctrl")||u.includes("cmd"):u.includes(h));g&&(p=s[f])}),p&&n){e.stopPropagation(),e.preventDefault(),n.executeCommand(p,r,o,u);return}}}function zq(e,t){return t||(t=e.slice(0)),e.raw=t,e}const $q={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},Gq="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",Vq=/-[a-z]/g,Yq=/%c(?:([-+])(\d+))?/g,qq=/%x/g,Wq={2:!0,1:!1,0:null},Xq={};function Kq(e,t){const n=t||Xq,r=n.onerror,o=e instanceof Jd?e:new Jd(e),s=n.fragment?rH:nH,u=String(o),c=s(u,{sourceCodeLocationInfo:!0,onParseError:n.onerror?p:null,scriptingEnabled:!1});return Ik(c,{file:o,space:n.space,verbose:n.verbose});function p(f){const g=f.code,h=Zq(g),y=n[h],T=y??!0,x=typeof T=="number"?T:T?1:0;if(x){const w=$q[h],N=new Dn(C(w.reason),{place:{start:{line:f.startLine,column:f.startCol,offset:f.startOffset},end:{line:f.endLine,column:f.endCol,offset:f.endOffset}},ruleId:g,source:"hast-util-from-html"});o.path&&(N.file=o.path,N.name=o.path+":"+N.name),N.fatal=Wq[x],N.note=C(w.description),N.url=w.url===!1?void 0:Gq+g,r(N)}function C(w){return w.replace(Yq,N).replace(qq,R);function N(D,L,O){const I=(O?Number.parseInt(O,10):0)*(L==="-"?-1:1),B=u.charAt(f.startOffset+I);return Jq(B)}function R(){return eW(u.charCodeAt(f.startOffset))}}}}function Zq(e){return e.replace(Vq,Qq)}function Qq(e){return e.charAt(1).toUpperCase()}function Jq(e){return e==="`"?"` ` `":e}function eW(e){return"0x"+e.toString(16).toUpperCase()}function tW(e){const t=this,{emitParseErrors:n,...r}={...t.data("settings"),...e};t.parser=o;function o(s,u){return Kq(s,{...r,onerror:n?function(c){u.path&&(c.name=u.path+":"+c.name,c.file=u.path),u.messages.push(c)}:void 0})}}const nW=/["&'<>`]/g,rW=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,aW=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,iW=/[|\\{}()[\]^$+*?.]/g,RN=new WeakMap;function oW(e,t){if(e=e.replace(t.subset?sW(t.subset):nW,r),t.subset||t.escapeOnly)return e;return e.replace(rW,n).replace(aW,r);function n(o,s,u){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,u.charCodeAt(s+2),t)}function r(o,s,u){return t.format(o.charCodeAt(0),u.charCodeAt(s+1),t)}}function sW(e){let t=RN.get(e);return t||(t=lW(e),RN.set(e,t)),t}function lW(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(iW,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const uW=/[\dA-Fa-f]/;function cW(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!uW.test(String.fromCharCode(t))?r:r+";"}const dW=/\d/;function fW(e,t,n){const r="&#"+String(e);return n&&t&&!dW.test(String.fromCharCode(t))?r:r+";"}const ch={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},pW=["cent","copy","divide","gt","lt","not","para","times"],pI={}.hasOwnProperty,eb={};let yd;for(yd in ch)pI.call(ch,yd)&&(eb[ch[yd]]=yd);const mW=/[^\dA-Za-z]/;function gW(e,t,n,r){const o=String.fromCharCode(e);if(pI.call(eb,o)){const s=eb[o],u="&"+s;return n&&tk.includes(s)&&!pW.includes(s)&&(!r||t&&t!==61&&mW.test(String.fromCharCode(t)))?u:u+";"}return""}function hW(e,t,n){let r=cW(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=gW(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const s=fW(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function ds(e,t){return oW(e,Object.assign({format:hW},t))}const bW=/^>|^->|<!--|-->|--!>|<!-$/g,EW=[">"],yW=["<",">"];function SW(e,t,n,r){return r.settings.bogusComments?"<?"+ds(e.value,Object.assign({},r.settings.characterReferences,{subset:EW}))+">":"<!--"+e.value.replace(bW,o)+"-->";function o(s){return ds(s,Object.assign({},r.settings.characterReferences,{subset:yW}))}}function TW(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}const hn=gI(1),mI=gI(-1),vW=[];function gI(e){return t;function t(n,r,o){const s=n?n.children:vW;let u=(r||0)+e,c=s[u];if(!o)for(;c&&Uu(c);)u+=e,c=s[u];return c}}const xW={}.hasOwnProperty;function hI(e){return t;function t(n,r,o){return xW.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const $S=hI({body:CW,caption:dh,colgroup:dh,dd:RW,dt:_W,head:dh,html:AW,li:NW,optgroup:kW,option:DW,p:wW,rp:kN,rt:kN,tbody:OW,td:DN,tfoot:LW,th:DN,thead:IW,tr:MW});function dh(e,t,n){const r=hn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Uu(r.value.charAt(0)))}function AW(e,t,n){const r=hn(n,t);return!r||r.type!=="comment"}function CW(e,t,n){const r=hn(n,t);return!r||r.type!=="comment"}function wW(e,t,n){const r=hn(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function NW(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function _W(e,t,n){const r=hn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function RW(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function kN(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function kW(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function DW(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function IW(e,t,n){const r=hn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function OW(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function LW(e,t,n){return!hn(n,t)}function MW(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function DN(e,t,n){const r=hn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const FW=hI({body:PW,colgroup:jW,head:UW,html:BW,tbody:HW});function BW(e){const t=hn(e,-1);return!t||t.type!=="comment"}function UW(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function PW(e){const t=hn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Uu(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function jW(e,t,n){const r=mI(n,t),o=hn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&$S(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function HW(e,t,n){const r=mI(n,t),o=hn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&$S(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Sd={name:[[`
|
|
95
|
-
\f\r &/=>`.split(""),`
|
|
96
|
-
\f\r "&'/=>\``.split("")],[`\0
|
|
97
|
-
\f\r "&'/<=>`.split(""),`\0
|
|
98
|
-
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
99
|
-
\f\r &>`.split(""),`\0
|
|
100
|
-
\f\r "&'<=>\``.split("")],[`\0
|
|
101
|
-
\f\r "&'<=>\``.split(""),`\0
|
|
102
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function zW(e,t,n,r){const o=r.schema,s=o.space==="svg"?!1:r.settings.omitOptionalTags;let u=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const c=[];let p;o.space==="html"&&e.tagName==="svg"&&(r.schema=Ur);const f=$W(r,e.properties),g=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,g&&(u=!1),(f||!s||!FW(e,t,n))&&(c.push("<",e.tagName,f?" "+f:""),u&&(o.space==="svg"||r.settings.closeSelfClosing)&&(p=f.charAt(f.length-1),(!r.settings.tightSelfClosing||p==="/"||p&&p!=='"'&&p!=="'")&&c.push(" "),c.push("/")),c.push(">")),c.push(g),!u&&(!s||!$S(e,t,n))&&c.push("</"+e.tagName+">"),c.join("")}function $W(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=GW(e,o,t[o]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function GW(e,t,n){const r=Os(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let u=e.quote,c;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const p=ds(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Sd.name[o][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Vf:Gf)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?p:(e.settings.preferUnquoted&&(c=ds(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Sd.unquoted[o][s]}))),c!==n&&(e.settings.quoteSmart&&ef(n,u)>ef(n,e.alternative)&&(u=e.alternative),c=u+ds(n,Object.assign({},e.settings.characterReferences,{subset:(u==="'"?Sd.single:Sd.double)[o][s],attribute:!0}))+u),p+(c&&"="+c))}const VW=["<","&"];function bI(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:ds(e.value,Object.assign({},r.settings.characterReferences,{subset:VW}))}function YW(e,t,n,r){return r.settings.allowDangerousHtml?e.value:bI(e,t,n,r)}function qW(e,t,n,r){return r.all(e)}const WW=Xf("type",{invalid:XW,unknown:KW,handlers:{comment:SW,doctype:TW,element:zW,raw:YW,root:qW,text:bI}});function XW(e){throw new Error("Expected node, not `"+e+"`")}function KW(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ZW={},QW={},JW=[];function eX(e,t){const n=t||ZW,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:tX,all:nX,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Mk,characterReferences:n.characterReferences||QW,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ur:so,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function tX(e,t,n){return WW(e,t,n,this)}function nX(e){const t=[],n=e&&e.children||JW;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function rX(e){const t=this,n={...t.data("settings"),...e};t.compiler=r;function r(o){return eX(o,n)}}const aX=MD().use(tW).use(rX).freeze();function tb(){tb=function(o,s){return new n(o,void 0,s)};var e=RegExp.prototype,t=new WeakMap;function n(o,s,u){var c=new RegExp(o,s);return t.set(c,u||t.get(o)),nf(c,n.prototype)}function r(o,s){var u=t.get(s);return Object.keys(u).reduce(function(c,p){var f=u[p];if(typeof f=="number")c[p]=o[f];else{for(var g=0;o[f[g]]===void 0&&g+1<f.length;)g++;c[p]=o[f[g]]}return c},Object.create(null))}return(function(o,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),s&&nf(o,s)})(n,RegExp),n.prototype.exec=function(o){var s=e.exec.call(this,o);if(s){s.groups=r(s,this);var u=s.indices;u&&(u.groups=r(u,this))}return s},n.prototype[Symbol.replace]=function(o,s){if(typeof s=="string"){var u=t.get(this);return e[Symbol.replace].call(this,o,s.replace(/\$<([^>]+)>/g,function(p,f){var g=u[f];return"$"+(Array.isArray(g)?g.join("$"):g)}))}if(typeof s=="function"){var c=this;return e[Symbol.replace].call(this,o,function(){var p=arguments;return typeof p[p.length-1]!="object"&&(p=[].slice.call(p)).push(r(p,c)),s.apply(this,p)})}return e[Symbol.replace].call(this,o,s)},tb.apply(this,arguments)}function nf(e,t){return nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},nf(e,t)}function IN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fh(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=(function(o,s){if(o){if(typeof o=="string")return IN(o,s);var u=Object.prototype.toString.call(o).slice(8,-1);return u==="Object"&&o.constructor&&(u=o.constructor.name),u==="Map"||u==="Set"?Array.from(o):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?IN(o,s):void 0}})(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
103
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var iX=function(e){return function(t){return t===void 0&&(t={}),(function(r,o){if(o&&!r.registered(o))throw new Error('The default language "'+o+'" is not registered with refractor.')})(e,t.defaultLanguage),function(r){Mn(r,"element",n)};function n(r,o,s){var u,c;if(s&&s.tagName==="pre"&&r.tagName==="code"){var p=(r==null||(u=r.data)==null?void 0:u.meta)||(r==null||(c=r.properties)==null?void 0:c.metastring)||"";r.properties.className?typeof r.properties.className=="boolean"?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[];var f,g,h=(function(O){for(var I,B=fh(O.properties.className);!(I=B()).done;){var j=I.value;if(j.slice(0,9)==="language-")return j.slice(9).toLowerCase()}return null})(r);if(!h&&t.defaultLanguage&&r.properties.className.push("language-"+(h=t.defaultLanguage)),r.properties.className.push("code-highlight"),h)try{var y,T;T=(y=h)!=null&&y.includes("diff-")?h.split("-")[1]:h,f=e.highlight(Zr(r),T),s.properties.className=(s.properties.className||[]).concat("language-"+T)}catch(O){if(!t.ignoreMissing||!/Unknown language/.test(O.message))throw O;f=r}else f=r;f.children=(g=1,function O(I){return I.reduce(function(B,j){if(j.type==="text"){var G=j.value,z=(G.match(/\n/g)||"").length;if(z===0)j.position={start:{line:g,column:1},end:{line:g,column:1}},B.push(j);else for(var ee,X=G.split(`
|
|
104
|
-
`),oe=fh(X.entries());!(ee=oe()).done;){var ue=ee.value,ie=ue[0],W=ue[1];B.push({type:"text",value:ie===X.length-1?W:W+`
|
|
105
|
-
`,position:{start:{line:g+ie,column:1},end:{line:g+ie,column:1}}})}return g+=z,B}if(Object.prototype.hasOwnProperty.call(j,"children")){var re=g;return j.children=O(j.children),B.push(j),j.position={start:{line:re,column:1},end:{line:g,column:1}},B}return B.push(j),B},[])})(f.children),f.position=f.children.length>0?{start:{line:f.children[0].position.start.line,column:0},end:{line:f.children[f.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var x,C=(function(O){var I=/{([\d,-]+)}/,B=O.split(",").map(function(z){return z.trim()}).join();if(I.test(B)){var j=I.exec(B)[1],G=VR(j);return function(z){return G.includes(z+1)}}return function(){return!1}})(p),w=(function(O){var I=tb(/showLineNumbers=(\d+)/i,{lines:1});if(I.test(O)){var B=I.exec(O);return Number(B.groups.lines)}return 1})(p),N=(function(O){for(var I=new Array(O),B=0;B<O;B++)I[B]={type:"element",tagName:"span",properties:{className:[]},children:[]};return I})(f.position.end.line),R=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],D=function(){var O,I,B=x.value,j=B[0],G=B[1];G.properties.className=["code-line"];var z=GR(f,function(ee){return ee.position.start.line<=j+1&&ee.position.end.line>=j+1});G.children=z.children,(p.toLowerCase().includes("showLineNumbers".toLowerCase())||t.showLineNumbers===!0||typeof t.showLineNumbers=="object"&&t.showLineNumbers.includes(h))&&!R.some(function(ee){return p.toLowerCase().includes(ee)})&&(G.properties.line=[(j+w).toString()],G.properties.className.push("line-number")),C(j)&&G.properties.className.push("highlight-line"),(h==="diff"||(O=h)!=null&&O.includes("diff-"))&&Zr(G).substring(0,1)==="-"?G.properties.className.push("deleted"):(h==="diff"||(I=h)!=null&&I.includes("diff-"))&&Zr(G).substring(0,1)==="+"&&G.properties.className.push("inserted")},L=fh(N.entries());!(x=L()).done;)D();N.length>0&&Zr(N[N.length-1]).trim()===""&&N.pop(),r.children=N}}}},oX=iX(M),ON;function sX(e){return e.replace(/[<&"]/g,t=>({"<":"<",">":">","&":"&",'"':"""})[t])}function lX(e){var{prefixCls:t}=e,{markdown:n="",highlightEnable:r,dispatch:o}=v.useContext(uo),s=vn.createRef();if(v.useEffect(()=>{s.current&&o&&o({textareaPre:s.current})},[]),!n)return m.jsx("pre",{ref:s,className:t+"-text-pre wmde-markdown-color"});var u='<pre class="language-markdown '+t+'-text-pre wmde-markdown-color"><code class="language-markdown">'+sX(String.raw(ON||(ON=zq(["",""])),n))+`
|
|
106
|
-
</code></pre>`;if(r)try{u=aX().data("settings",{fragment:!0}).use(oX,{ignoreMissing:!0}).processSync(u).toString()}catch{}return vn.createElement("div",{className:"wmde-markdown-color",dangerouslySetInnerHTML:{__html:u||""}})}var ph;function LN(e){if(e.nodeName!=="TEXTAREA")return!1;if(typeof ph>"u"){var t=document.createElement("textarea");t.value="1",ph=!!t.firstChild}return ph}function fs(e,t){if(e.focus(),document.selection){var n=document.selection.createRange();n.text=t,n.collapse(!1),n.select();return}var r=!1;if(t!==""?r=document.execCommand&&document.execCommand("insertText",!1,t):r=document.execCommand&&document.execCommand("delete",!1),!r){var o=e.selectionStart,s=e.selectionEnd;if(typeof e.setRangeText=="function")e.setRangeText(t);else{var u=document.createRange(),c=document.createTextNode(t);if(LN(e)){var p=e.firstChild;if(!p)e.appendChild(c);else{for(var f=0,g=null,h=null;p&&(g===null||h===null);){var y=p.nodeValue.length;o>=f&&o<=f+y&&u.setStart(g=p,o-f),s>=f&&s<=f+y&&u.setEnd(h=p,s-f),f+=y,p=p.nextSibling}o!==s&&u.deleteContents()}}if(LN(e)&&u.commonAncestorContainer.nodeName==="#text")u.insertNode(c);else{var T=e.value;e.value=T.slice(0,o)+t+T.slice(s)}}e.setSelectionRange(o+t.length,o+t.length);var x=document.createEvent("UIEvent");x.initEvent("input",!0,!1),e.dispatchEvent(x)}}function Pn(e){var{text:t,selection:n,prefix:r,suffix:o=r}=e,s=n;if(t&&t.length&&n.start===n.end&&(s=uX(t,n.start)),s.start>=r.length&&s.end<=t.length-o.length){var u=t.slice(s.start-r.length,s.end+o.length);if(u.startsWith(r)&&u.endsWith(o))return{start:s.start-r.length,end:s.end+o.length}}return s}function ru(e){var{text:t,selection:n}=e,r=t.slice(0,n.start).lastIndexOf(`
|
|
107
|
-
`)+1,o=t.slice(n.end).indexOf(`
|
|
108
|
-
`)+n.end;return o===n.end-1&&(o=t.length),{start:r,end:o}}function EI(e,t){if(e===void 0&&(e=""),t===0)return 0;for(var n=2,r=!0,o=t-1;o>=0&&n>=0;o--)switch(e.charCodeAt(o)){case 32:continue;case 10:n--,r=!1;break;default:return n}return r?0:n}function yI(e,t){if(e===void 0&&(e=""),t===e.length-1)return 0;for(var n=2,r=!0,o=t;o<e.length&&n>=0;o++)switch(e.charCodeAt(o)){case 32:continue;case 10:{n--,r=!1;break}default:return n}return r?0:n}function uX(e,t){if(!e)throw Error("Argument 'text' should be truthy");for(var n=c=>c===" "||c.charCodeAt(0)===10,r=0,o=e.length,s=t;s-1>-1;s--)if(n(e[s-1])){r=s;break}for(var u=t;u<e.length;u++)if(n(e[u])){o=u;break}return{start:r,end:o}}function _n(e){var{api:t,selectedText:n,selection:r,prefix:o,suffix:s=o}=e;n.length>=o.length+s.length&&n.startsWith(o)&&n.endsWith(s)?(t.replaceSelection(n.slice(o.length,s.length?-s.length:void 0)),t.setSelectionRange({start:r.start-o.length,end:r.end-o.length})):(t.replaceSelection(""+o+n+s),t.setSelectionRange({start:r.start+o.length,end:r.end+o.length}))}function GS(e,t){var n=e.split(/\n/),r=0,o=n.map((s,u)=>{if(typeof t=="string")return s.startsWith(t)?(r-=t.length,s.slice(t.length)):(r+=t.length,t+s);if(typeof t=="function"){if(s.startsWith(t(s,u)))return r-=t(s,u).length,s.slice(t(s,u).length);var c=t(s,u);return r+=c.length,t(s,u)+s}throw Error("insertion is expected to be either a string or a function")}).join(`
|
|
109
|
-
`);return{modifiedText:o,insertionLength:r}}var cX={name:"bold",keyCommand:"bold",shortcuts:"ctrlcmd+b",prefix:"**",buttonProps:{"aria-label":"Add bold text (ctrl + b)",title:"Add bold text (ctrl + b)"},icon:m.jsx("svg",{role:"img",width:"12",height:"12",viewBox:"0 0 384 512",children:m.jsx("path",{fill:"currentColor",d:"M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix}),r=t.setSelectionRange(n);_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix})}},SI={name:"codeBlock",keyCommand:"codeBlock",shortcuts:"ctrlcmd+shift+j",prefix:"```",buttonProps:{"aria-label":"Insert Code Block (ctrl + shift + j)",title:"Insert Code Block (ctrl + shift +j)"},icon:m.jsx("svg",{width:"13",height:"13",role:"img",viewBox:"0 0 156 156",children:m.jsx("path",{fill:"currentColor",d:"M110.85 120.575 43.7 120.483333 43.7083334 110.091667 110.85 110.191667 110.841667 120.583333 110.85 120.575ZM85.1333334 87.1916666 43.625 86.7083332 43.7083334 76.3166666 85.2083334 76.7916666 85.1333334 87.1916666 85.1333334 87.1916666ZM110.841667 53.4166666 43.7 53.3166666 43.7083334 42.925 110.85 43.025 110.841667 53.4166666ZM36 138C27.2916666 138 20.75 136.216667 16.4 132.666667 12.1333334 129.2 10 124.308333 10 118L10 95.3333332C10 91.0666666 9.25 88.1333332 7.7333334 86.5333332 6.3166668 84.8416666 3.7333334 84 0 84L0 72C3.7333334 72 6.3083334 71.2 7.7333334 69.6 9.2416668 67.9083334 10 64.9333334 10 60.6666666L10 38C10 31.775 12.1333334 26.8833334 16.4 23.3333332 20.7583334 19.7749998 27.2916666 18 36 18L40.6666668 18 40.6666668 30 36 30C34.0212222 29.9719277 32.1263151 30.7979128 30.8 32.2666666 29.3605875 33.8216362 28.5938182 35.8823287 28.6666668 38L28.6666668 60.6666666C28.6666668 67.5083332 26.6666668 72.4 22.6666668 75.3333332 20.9317416 76.7274684 18.8640675 77.6464347 16.6666668 78 18.8916668 78.35 20.8916668 79.2416666 22.6666668 80.6666666 26.6666668 83.95 28.6666668 88.8416666 28.6666668 95.3333332L28.6666668 118C28.6666668 120.308333 29.3750002 122.216667 30.8 123.733333 32.2166666 125.241667 33.9583334 126 36 126L40.6666668 126 40.6666668 138 36 138 36 138ZM114.116667 126 118.783333 126C120.833333 126 122.566667 125.241667 123.983333 123.733333 125.422746 122.178364 126.189515 120.117671 126.116667 118L126.116667 95.3333332C126.116667 88.8333332 128.116667 83.9499998 132.116667 80.6666666 133.9 79.2416666 135.9 78.35 138.116667 78 135.919156 77.6468047 133.851391 76.7277979 132.116667 75.3333332 128.116667 72.3999998 126.116667 67.5 126.116667 60.6666666L126.116667 38C126.189515 35.8823287 125.422746 33.8216361 123.983333 32.2666666 122.657018 30.7979128 120.762111 29.9719277 118.783333 30L114.116667 30 114.116667 18 118.783333 18C127.5 18 133.983333 19.775 138.25 23.3333332 142.608333 26.8833332 144.783333 31.7749998 144.783333 38L144.783333 60.6666666C144.783333 64.9333332 145.5 67.9083332 146.916667 69.6 148.433333 71.2 151.05 72 154.783333 72L154.783333 84C151.05 84 148.433333 84.8333334 146.916667 86.5333332 145.5 88.1333332 144.783333 91.0666666 144.783333 95.3333332L144.783333 118C144.783333 124.308333 142.616667 129.2 138.25 132.666667 133.983333 136.216667 127.5 138 118.783333 138L114.116667 138 114.116667 126 114.116667 126Z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:"```\n",suffix:"\n```"}),r=t.setSelectionRange(n),o="\n```\n",s="\n```\n";r.selectedText.length>=o.length+s.length-2&&r.selectedText.startsWith(o)&&r.selectedText.endsWith(s)?(o="```\n",s="\n```"):((r.selection.start>=1&&e.text.slice(r.selection.start-1,r.selection.start)===`
|
|
110
|
-
`||r.selection.start===0)&&(o="```\n"),(r.selection.end<=e.text.length-1&&e.text.slice(r.selection.end,r.selection.end+1)===`
|
|
111
|
-
`||r.selection.end===e.text.length)&&(s="\n```"));var u=Pn({text:e.text,selection:e.selection,prefix:o,suffix:s}),c=t.setSelectionRange(u);_n({api:t,selectedText:c.selectedText,selection:e.selection,prefix:o,suffix:s})}},dX={name:"code",keyCommand:"code",shortcuts:"ctrlcmd+j",prefix:"`",buttonProps:{"aria-label":"Insert code (ctrl + j)",title:"Insert code (ctrl + j)"},icon:m.jsx("svg",{width:"14",height:"14",role:"img",viewBox:"0 0 640 512",children:m.jsx("path",{fill:"currentColor",d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"})}),execute:(e,t)=>{if(e.selectedText.indexOf(`
|
|
112
|
-
`)===-1){var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix}),r=t.setSelectionRange(n);_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix})}else SI.execute(e,t)}},fX={name:"comment",keyCommand:"comment",shortcuts:"ctrlcmd+/",prefix:"<!-- ",suffix:" -->",buttonProps:{"aria-label":"Insert comment (ctrl + /)",title:"Insert comment (ctrl + /)"},icon:m.jsx("svg",{height:"1em",width:"1em",viewBox:"0 0 25 25",children:m.jsxs("g",{fill:"none",fillRule:"evenodd",children:[m.jsx("polygon",{points:".769 .727 24.981 .727 24.981 24.727 .769 24.727"}),m.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",d:"M12.625,23.8787879 L8.125,19.6969697 L5.125,19.6969697 C2.63971863,19.6969697 0.625,17.8247059 0.625,15.5151515 L0.625,7.15151515 C0.625,4.84196074 2.63971863,2.96969697 5.125,2.96969697 L20.125,2.96969697 C22.6102814,2.96969697 24.625,4.84196074 24.625,7.15151515 L24.625,15.5151515 C24.625,17.8247059 22.6102814,19.6969697 20.125,19.6969697 L17.125,19.6969697 L12.625,23.8787879"}),m.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",d:"M10.625,8.54545455 L7.25,11.3333333 L10.625,14.1212121 M15.6875,8.54545455 L19.0625,11.3333333 L15.6875,14.1212121"})]})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}),r=t.setSelectionRange(n);_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix})}},Id={keyCommand:"divider"},pX={name:"fullscreen",keyCommand:"fullscreen",shortcuts:"ctrlcmd+0",value:"fullscreen",buttonProps:{"aria-label":"Toggle fullscreen (ctrl + 0)",title:"Toggle fullscreen (ctrl+ 0)"},icon:m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:m.jsx("path",{fill:"currentColor",d:"M118 171.133334L118 342.200271C118 353.766938 126.675 365.333605 141.133333 365.333605L382.634614 365.333605C394.201281 365.333605 405.767948 356.658605 405.767948 342.200271L405.767948 171.133334C405.767948 159.566667 397.092948 148 382.634614 148L141.133333 148C126.674999 148 117.999999 156.675 118 171.133334zM465.353591 413.444444L370 413.444444 370 471.222222 474.0221 471.222222C500.027624 471.222222 520.254143 451 520.254143 425L520.254143 321 462.464089 321 462.464089 413.444444 465.353591 413.444444zM471.0221 43L367 43 367 100.777778 462.353591 100.777778 462.353591 196.111111 520.143647 196.111111 520.143647 89.2222219C517.254144 63.2222219 497.027624 43 471.0221 43zM57.7900547 100.777778L153.143646 100.777778 153.143646 43 46.2320439 43C20.2265191 43 0 63.2222219 0 89.2222219L0 193.222222 57.7900547 193.222222 57.7900547 100.777778zM57.7900547 321L0 321 0 425C0 451 20.2265191 471.222222 46.2320439 471.222223L150.254143 471.222223 150.254143 413.444445 57.7900547 413.444445 57.7900547 321z"})}),execute:(e,t,n,r,o)=>{t.textArea.focus(),o&&n&&r&&n({fullscreen:!r.fullscreen})}};function mX(e){if(e==null)throw new TypeError("Cannot destructure "+e)}var gX=(e,t)=>{var n=yt({children:e,icon:m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:m.jsx("path",{fill:"currentColor",d:"M15.7083333,468 C7.03242448,468 0,462.030833 0,454.666667 L0,421.333333 C0,413.969167 7.03242448,408 15.7083333,408 L361.291667,408 C369.967576,408 377,413.969167 377,421.333333 L377,454.666667 C377,462.030833 369.967576,468 361.291667,468 L15.7083333,468 Z M21.6666667,366 C9.69989583,366 0,359.831861 0,352.222222 L0,317.777778 C0,310.168139 9.69989583,304 21.6666667,304 L498.333333,304 C510.300104,304 520,310.168139 520,317.777778 L520,352.222222 C520,359.831861 510.300104,366 498.333333,366 L21.6666667,366 Z M136.835938,64 L136.835937,126 L107.25,126 L107.25,251 L40.75,251 L40.75,126 L-5.68434189e-14,126 L-5.68434189e-14,64 L136.835938,64 Z M212,64 L212,251 L161.648438,251 L161.648438,64 L212,64 Z M378,64 L378,126 L343.25,126 L343.25,251 L281.75,251 L281.75,126 L238,126 L238,64 L378,64 Z M449.047619,189.550781 L520,189.550781 L520,251 L405,251 L405,64 L449.047619,64 L449.047619,189.550781 Z"})}),execute:()=>{}},t,{keyCommand:"group"});return Array.isArray(n.children)&&(n.children=n.children.map(r=>{var o=yt({},(mX(r),r));return o.parent=n,yt({},o)})),n},hX={name:"hr",keyCommand:"hr",shortcuts:"ctrlcmd+h",prefix:`
|
|
113
|
-
|
|
114
|
-
---
|
|
115
|
-
`,suffix:"",buttonProps:{"aria-label":"Insert HR (ctrl + h)",title:"Insert HR (ctrl + h)"},icon:m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 175 175",children:m.jsx("path",{fill:"currentColor",d:"M0,129 L175,129 L175,154 L0,154 L0,129 Z M3,9 L28.2158203,9 L28.2158203,47.9824219 L55.7695313,47.9824219 L55.7695313,9 L81.0966797,9 L81.0966797,107.185547 L55.7695313,107.185547 L55.7695313,68.0214844 L28.2158203,68.0214844 L28.2158203,107.185547 L3,107.185547 L3,9 Z M93.1855469,100.603516 L93.1855469,19 L135.211914,19 C143.004922,19 148.960917,19.6679621 153.080078,21.0039063 C157.199239,22.3398504 160.520495,24.8168764 163.043945,28.4350586 C165.567395,32.0532407 166.829102,36.459935 166.829102,41.6552734 C166.829102,46.1826398 165.864267,50.0883625 163.93457,53.3725586 C162.004873,56.6567547 159.351579,59.3193257 155.974609,61.3603516 C153.822255,62.6591862 150.872089,63.7353473 147.124023,64.5888672 C150.129898,65.5908253 152.319329,66.5927684 153.692383,67.5947266 C154.620122,68.2626987 155.965323,69.6913953 157.728027,71.8808594 C159.490731,74.0703234 160.668942,75.7587831 161.262695,76.9462891 L173,100.603516 L144.953125,100.603516 L131.482422,75.6660156 C129.775382,72.4374839 128.253913,70.3408251 126.917969,69.3759766 C125.0996,68.1142515 123.040051,67.4833984 120.739258,67.4833984 L118.512695,67.4833984 L118.512695,100.603516 L93.1855469,100.603516 Z M118.512695,52.0644531 L129.144531,52.0644531 C130.294928,52.0644531 132.521468,51.6933631 135.824219,50.9511719 C137.494149,50.6171858 138.857905,49.7636787 139.915527,48.390625 C140.97315,47.0175713 141.501953,45.4404386 141.501953,43.6591797 C141.501953,41.0244009 140.667001,39.0019602 138.99707,37.5917969 C137.32714,36.1816336 134.191429,35.4765625 129.589844,35.4765625 L117.512695,35.4765625 L118.512695,52.0644531 Z",transform:"translate(0 9)"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}),r=t.setSelectionRange(n);r.selectedText.length>=e.command.prefix.length&&r.selectedText.startsWith(e.command.prefix)?_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}):(r=t.setSelectionRange({start:e.selection.start,end:e.selection.start}),_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}))}},bX={name:"image",keyCommand:"image",shortcuts:"ctrlcmd+k",prefix:"",buttonProps:{"aria-label":"Add image (ctrl + k)",title:"Add image (ctrl + k)"},icon:m.jsx("svg",{width:"13",height:"13",viewBox:"0 0 20 20",children:m.jsx("path",{fill:"currentColor",d:"M15 9c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4-7H1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 13l-6-5-2 2-4-5-4 8V4h16v11z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}),r=t.setSelectionRange(n);r.selectedText.includes("http")||r.selectedText.includes("www")?_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}):(n=Pn({text:e.text,selection:e.selection,prefix:"![",suffix:"]()"}),r=t.setSelectionRange(n),r.selectedText.length===0?_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:""}):_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:"![",suffix:"]()"}))}},EX={name:"italic",keyCommand:"italic",shortcuts:"ctrlcmd+i",prefix:"*",buttonProps:{"aria-label":"Add italic text (ctrl + i)",title:"Add italic text (ctrl + i)"},icon:m.jsx("svg",{"data-name":"italic",width:"12",height:"12",role:"img",viewBox:"0 0 320 512",children:m.jsx("path",{fill:"currentColor",d:"M204.758 416h-33.849l62.092-320h40.725a16 16 0 0 0 15.704-12.937l6.242-32C297.599 41.184 290.034 32 279.968 32H120.235a16 16 0 0 0-15.704 12.937l-6.242 32C96.362 86.816 103.927 96 113.993 96h33.846l-62.09 320H46.278a16 16 0 0 0-15.704 12.935l-6.245 32C22.402 470.815 29.967 480 40.034 480h158.479a16 16 0 0 0 15.704-12.935l6.245-32c1.927-9.88-5.638-19.065-15.704-19.065z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix}),r=t.setSelectionRange(n);_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix})}},yX={name:"link",keyCommand:"link",shortcuts:"ctrlcmd+l",prefix:"[",suffix:"](url)",buttonProps:{"aria-label":"Add a link (ctrl + l)",title:"Add a link (ctrl + l)"},icon:m.jsx("svg",{"data-name":"italic",width:"12",height:"12",role:"img",viewBox:"0 0 520 520",children:m.jsx("path",{fill:"currentColor",d:"M331.751196,182.121107 C392.438214,241.974735 391.605313,337.935283 332.11686,396.871226 C332.005129,396.991316 331.873084,397.121413 331.751196,397.241503 L263.493918,464.491645 C203.291404,523.80587 105.345257,523.797864 45.151885,464.491645 C-15.0506283,405.187427 -15.0506283,308.675467 45.151885,249.371249 L82.8416853,212.237562 C92.836501,202.39022 110.049118,208.9351 110.56511,222.851476 C111.223305,240.5867 114.451306,258.404985 120.407566,275.611815 C122.424812,281.438159 120.983487,287.882964 116.565047,292.23621 L103.272145,305.332975 C74.8052033,333.379887 73.9123737,379.047937 102.098973,407.369054 C130.563883,435.969378 177.350591,436.139505 206.033884,407.879434 L274.291163,340.6393 C302.9257,312.427264 302.805844,266.827265 274.291163,238.733318 C270.531934,235.036561 266.74528,232.16442 263.787465,230.157924 C259.544542,227.2873 256.928256,222.609848 256.731165,217.542518 C256.328935,206.967633 260.13184,196.070508 268.613213,187.714278 L289.998463,166.643567 C295.606326,161.118448 304.403592,160.439942 310.906317,164.911276 C318.353355,170.034591 325.328531,175.793397 331.751196,182.121107 Z M240.704978,55.4828366 L172.447607,122.733236 C172.325719,122.853326 172.193674,122.983423 172.081943,123.103513 C117.703294,179.334654 129.953294,261.569283 185.365841,328.828764 C191.044403,335.721376 198.762988,340.914712 206.209732,346.037661 C212.712465,350.509012 221.510759,349.829503 227.117615,344.305363 L248.502893,323.234572 C256.984277,314.87831 260.787188,303.981143 260.384957,293.406218 C260.187865,288.338869 257.571576,283.661398 253.328648,280.790763 C250.370829,278.78426 246.58417,275.912107 242.824936,272.215337 C214.310216,244.121282 206.209732,204.825874 229.906702,179.334654 L298.164073,112.094263 C326.847404,83.8340838 373.633159,84.0042113 402.099123,112.604645 C430.285761,140.92587 429.393946,186.594095 400.92595,214.641114 L387.63303,227.737929 C383.214584,232.091191 381.773257,238.536021 383.790506,244.362388 C389.746774,261.569283 392.974779,279.387637 393.632975,297.122928 C394.149984,311.039357 411.361608,317.584262 421.356437,307.736882 L459.046288,270.603053 C519.249898,211.29961 519.249898,114.787281 459.047304,55.4828366 C398.853851,-3.82360914 300.907572,-3.83161514 240.704978,55.4828366 Z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}),r=t.setSelectionRange(n);r.selectedText.includes("http")||r.selectedText.includes("www")?(n=Pn({text:e.text,selection:e.selection,prefix:"[](",suffix:")"}),r=t.setSelectionRange(n),_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:"[](",suffix:")"})):r.selectedText.length===0?_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:"[title",suffix:"](url)"}):_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix})}},VS=(e,t,n)=>{var r=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix}),o=t.setSelectionRange(r),s=EI(o.text,o.selection.start),u=Array(s+1).join(`
|
|
116
|
-
`),c=yI(o.text,o.selection.end),p=Array(c+1).join(`
|
|
117
|
-
`),{modifiedText:f,insertionLength:g}=GS(o.selectedText,n);if(g<0){var h=o.selection.start,y=o.selection.end;o.selection.start>0&&e.text.slice(o.selection.start-1,o.selection.start)===`
|
|
118
|
-
`&&(h-=1),o.selection.end<e.text.length-1&&e.text.slice(o.selection.end,o.selection.end+1)===`
|
|
119
|
-
`&&(y+=1),t.setSelectionRange({start:h,end:y}),t.replaceSelection(""+f),t.setSelectionRange({start:h,end:h+f.length})}else{t.replaceSelection(""+u+f+p);var T=o.selection.start+s,x=T+f.length;t.setSelectionRange({start:T,end:x})}},SX={name:"unordered-list",keyCommand:"list",shortcuts:"ctrl+shift+u",prefix:"- ",buttonProps:{"aria-label":"Add unordered list (ctrl + shift + u)",title:"Add unordered list (ctrl + shift + u)"},icon:m.jsx("svg",{"data-name":"unordered-list",width:"12",height:"12",viewBox:"0 0 512 512",children:m.jsx("path",{fill:"currentColor",d:"M96 96c0 26.51-21.49 48-48 48S0 122.51 0 96s21.49-48 48-48 48 21.49 48 48zM48 208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm0 160c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm96-236h352c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"})}),execute:(e,t)=>{VS(e,t,"- ")}},TX={name:"ordered-list",keyCommand:"list",shortcuts:"ctrl+shift+o",prefix:"1. ",buttonProps:{"aria-label":"Add ordered list (ctrl + shift + o)",title:"Add ordered list (ctrl + shift + o)"},icon:m.jsx("svg",{"data-name":"ordered-list",width:"12",height:"12",role:"img",viewBox:"0 0 512 512",children:m.jsx("path",{fill:"currentColor",d:"M3.263 139.527c0-7.477 3.917-11.572 11.573-11.572h15.131V88.078c0-5.163.534-10.503.534-10.503h-.356s-1.779 2.67-2.848 3.738c-4.451 4.273-10.504 4.451-15.666-1.068l-5.518-6.231c-5.342-5.341-4.984-11.216.534-16.379l21.72-19.938C32.815 33.602 36.732 32 42.785 32H54.89c7.656 0 11.749 3.916 11.749 11.572v84.384h15.488c7.655 0 11.572 4.094 11.572 11.572v8.901c0 7.477-3.917 11.572-11.572 11.572H14.836c-7.656 0-11.573-4.095-11.573-11.572v-8.902zM2.211 304.591c0-47.278 50.955-56.383 50.955-69.165 0-7.18-5.954-8.755-9.28-8.755-3.153 0-6.479 1.051-9.455 3.852-5.079 4.903-10.507 7.004-16.111 2.451l-8.579-6.829c-5.779-4.553-7.18-9.805-2.803-15.409C13.592 201.981 26.025 192 47.387 192c19.437 0 44.476 10.506 44.476 39.573 0 38.347-46.753 46.402-48.679 56.909h39.049c7.529 0 11.557 4.027 11.557 11.382v8.755c0 7.354-4.028 11.382-11.557 11.382h-67.94c-7.005 0-12.083-4.028-12.083-11.382v-4.028zM5.654 454.61l5.603-9.28c3.853-6.654 9.105-7.004 15.584-3.152 4.903 2.101 9.63 3.152 14.359 3.152 10.155 0 14.358-3.502 14.358-8.23 0-6.654-5.604-9.106-15.934-9.106h-4.728c-5.954 0-9.28-2.101-12.258-7.88l-1.05-1.926c-2.451-4.728-1.226-9.806 2.801-14.884l5.604-7.004c6.829-8.405 12.257-13.483 12.257-13.483v-.35s-4.203 1.051-12.608 1.051H16.685c-7.53 0-11.383-4.028-11.383-11.382v-8.755c0-7.53 3.853-11.382 11.383-11.382h58.484c7.529 0 11.382 4.027 11.382 11.382v3.327c0 5.778-1.401 9.806-5.079 14.183l-17.509 20.137c19.611 5.078 28.716 20.487 28.716 34.845 0 21.363-14.358 44.126-48.503 44.126-16.636 0-28.192-4.728-35.896-9.455-5.779-4.202-6.304-9.805-2.626-15.934zM144 132h352c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"})}),execute:(e,t)=>{VS(e,t,(n,r)=>r+1+". ")}},vX={name:"checked-list",keyCommand:"list",shortcuts:"ctrl+shift+c",prefix:"- [ ] ",buttonProps:{"aria-label":"Add checked list (ctrl + shift + c)",title:"Add checked list (ctrl + shift + c)"},icon:m.jsx("svg",{"data-name":"checked-list",width:"12",height:"12",role:"img",viewBox:"0 0 512 512",children:m.jsx("path",{fill:"currentColor",d:"M208 132h288c8.8 0 16-7.2 16-16V76c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zm0 160h288c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zm0 160h288c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zM64 368c-26.5 0-48.6 21.5-48.6 48s22.1 48 48.6 48 48-21.5 48-48-21.5-48-48-48zm92.5-299l-72.2 72.2-15.6 15.6c-4.7 4.7-12.9 4.7-17.6 0L3.5 109.4c-4.7-4.7-4.7-12.3 0-17l15.7-15.7c4.7-4.7 12.3-4.7 17 0l22.7 22.1 63.7-63.3c4.7-4.7 12.3-4.7 17 0l17 16.5c4.6 4.7 4.6 12.3-.1 17zm0 159.6l-72.2 72.2-15.7 15.7c-4.7 4.7-12.9 4.7-17.6 0L3.5 269c-4.7-4.7-4.7-12.3 0-17l15.7-15.7c4.7-4.7 12.3-4.7 17 0l22.7 22.1 63.7-63.7c4.7-4.7 12.3-4.7 17 0l17 17c4.6 4.6 4.6 12.2-.1 16.9z"})}),execute:(e,t)=>{VS(e,t,(n,r)=>"- [ ] ")}},xX={name:"preview",keyCommand:"preview",value:"preview",shortcuts:"ctrlcmd+9",buttonProps:{"aria-label":"Preview code (ctrl + 9)",title:"Preview code (ctrl + 9)"},icon:m.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:[m.jsx("polygon",{fill:"currentColor",points:"0 71.293 0 122 38.023 123 38.023 398 0 397 0 449.707 91.023 450.413 91.023 72.293"}),m.jsx("polygon",{fill:"currentColor",points:"148.023 72.293 520 71.293 520 122 200.023 124 200.023 397 520 396 520 449.707 148.023 450.413"})]}),execute:(e,t,n,r,o)=>{t.textArea.focus(),o&&n&&r&&n({preview:"preview"})}},AX={name:"edit",keyCommand:"preview",value:"edit",shortcuts:"ctrlcmd+7",buttonProps:{"aria-label":"Edit code (ctrl + 7)",title:"Edit code (ctrl + 7)"},icon:m.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:[m.jsx("polygon",{fill:"currentColor",points:"0 71.293 0 122 319 122 319 397 0 397 0 449.707 372 449.413 372 71.293"}),m.jsx("polygon",{fill:"currentColor",points:"429 71.293 520 71.293 520 122 481 123 481 396 520 396 520 449.707 429 449.413"})]}),execute:(e,t,n,r,o)=>{t.textArea.focus(),o&&n&&r&&n({preview:"edit"})}},CX={name:"live",keyCommand:"preview",value:"live",shortcuts:"ctrlcmd+8",buttonProps:{"aria-label":"Live code (ctrl + 8)",title:"Live code (ctrl + 8)"},icon:m.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:[m.jsx("polygon",{fill:"currentColor",points:"0 71.293 0 122 179 122 179 397 0 397 0 449.707 232 449.413 232 71.293"}),m.jsx("polygon",{fill:"currentColor",points:"289 71.293 520 71.293 520 122 341 123 341 396 520 396 520 449.707 289 449.413"})]}),execute:(e,t,n,r,o)=>{t.textArea.focus(),o&&n&&r&&n({preview:"live"})}},wX={name:"quote",keyCommand:"quote",shortcuts:"ctrlcmd+q",prefix:"> ",buttonProps:{"aria-label":"Insert a quote (ctrl + q)",title:"Insert a quote (ctrl + q)"},icon:m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:m.jsx("path",{fill:"currentColor",d:"M520,95.75 L520,225.75 C520,364.908906 457.127578,437.050625 325.040469,472.443125 C309.577578,476.586875 294.396016,464.889922 294.396016,448.881641 L294.396016,414.457031 C294.396016,404.242891 300.721328,395.025078 310.328125,391.554687 C377.356328,367.342187 414.375,349.711094 414.375,274.5 L341.25,274.5 C314.325781,274.5 292.5,252.674219 292.5,225.75 L292.5,95.75 C292.5,68.8257812 314.325781,47 341.25,47 L471.25,47 C498.174219,47 520,68.8257812 520,95.75 Z M178.75,47 L48.75,47 C21.8257813,47 0,68.8257812 0,95.75 L0,225.75 C0,252.674219 21.8257813,274.5 48.75,274.5 L121.875,274.5 C121.875,349.711094 84.8563281,367.342187 17.828125,391.554687 C8.22132813,395.025078 1.89601563,404.242891 1.89601563,414.457031 L1.89601563,448.881641 C1.89601563,464.889922 17.0775781,476.586875 32.5404687,472.443125 C164.627578,437.050625 227.5,364.908906 227.5,225.75 L227.5,95.75 C227.5,68.8257812 205.674219,47 178.75,47 Z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix}),r=t.setSelectionRange(n),o=EI(r.text,r.selection.start),s=Array(o+1).join(`
|
|
120
|
-
`),u=yI(r.text,r.selection.end),c=Array(u+1).join(`
|
|
121
|
-
`),p=GS(r.selectedText,e.command.prefix);t.replaceSelection(""+s+p.modifiedText+c);var f=r.selection.start+o,g=f+p.modifiedText.length;t.setSelectionRange({start:f,end:g})}},NX={name:"strikethrough",keyCommand:"strikethrough",shortcuts:"ctrl+shift+x",buttonProps:{"aria-label":"Add strikethrough text (ctrl + shift + x)",title:"Add strikethrough text (ctrl + shift + x)"},prefix:"~~",icon:m.jsx("svg",{"data-name":"strikethrough",width:"12",height:"12",role:"img",viewBox:"0 0 512 512",children:m.jsx("path",{fill:"currentColor",d:"M496 288H16c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h480c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16zm-214.666 16c27.258 12.937 46.524 28.683 46.524 56.243 0 33.108-28.977 53.676-75.621 53.676-32.325 0-76.874-12.08-76.874-44.271V368c0-8.837-7.164-16-16-16H113.75c-8.836 0-16 7.163-16 16v19.204c0 66.845 77.717 101.82 154.487 101.82 88.578 0 162.013-45.438 162.013-134.424 0-19.815-3.618-36.417-10.143-50.6H281.334zm-30.952-96c-32.422-13.505-56.836-28.946-56.836-59.683 0-33.92 30.901-47.406 64.962-47.406 42.647 0 64.962 16.593 64.962 32.985V136c0 8.837 7.164 16 16 16h45.613c8.836 0 16-7.163 16-16v-30.318c0-52.438-71.725-79.875-142.575-79.875-85.203 0-150.726 40.972-150.726 125.646 0 22.71 4.665 41.176 12.777 56.547h129.823z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix}),r=t.setSelectionRange(n);_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix})}},TI={name:"heading1",keyCommand:"heading1",shortcuts:"ctrlcmd+1",prefix:"# ",suffix:"",buttonProps:{"aria-label":"Insert Heading 1 (ctrl + 1)",title:"Insert Heading 1 (ctrl + 1)"},icon:m.jsx("div",{style:{fontSize:18,textAlign:"left"},children:"Heading 1"}),execute:(e,t)=>{Us({state:e,api:t,prefix:e.command.prefix,suffix:e.command.suffix})}},_X=TI;function Us(e){var{state:t,api:n,prefix:r,suffix:o=r}=e,s=ru({text:t.text,selection:t.selection}),u=n.setSelectionRange(s);_n({api:n,selectedText:u.selectedText,selection:t.selection,prefix:r,suffix:o})}yt({},TI,{icon:m.jsx("svg",{width:"12",height:"12",viewBox:"0 0 520 520",children:m.jsx("path",{fill:"currentColor",d:"M15.7083333,468 C7.03242448,468 0,462.030833 0,454.666667 L0,421.333333 C0,413.969167 7.03242448,408 15.7083333,408 L361.291667,408 C369.967576,408 377,413.969167 377,421.333333 L377,454.666667 C377,462.030833 369.967576,468 361.291667,468 L15.7083333,468 Z M21.6666667,366 C9.69989583,366 0,359.831861 0,352.222222 L0,317.777778 C0,310.168139 9.69989583,304 21.6666667,304 L498.333333,304 C510.300104,304 520,310.168139 520,317.777778 L520,352.222222 C520,359.831861 510.300104,366 498.333333,366 L21.6666667,366 Z M136.835938,64 L136.835937,126 L107.25,126 L107.25,251 L40.75,251 L40.75,126 L-5.68434189e-14,126 L-5.68434189e-14,64 L136.835938,64 Z M212,64 L212,251 L161.648438,251 L161.648438,64 L212,64 Z M378,64 L378,126 L343.25,126 L343.25,251 L281.75,251 L281.75,126 L238,126 L238,64 L378,64 Z M449.047619,189.550781 L520,189.550781 L520,251 L405,251 L405,64 L449.047619,64 L449.047619,189.550781 Z"})})});var RX={name:"heading2",keyCommand:"heading2",shortcuts:"ctrlcmd+2",prefix:"## ",suffix:"",buttonProps:{"aria-label":"Insert Heading 2 (ctrl + 2)",title:"Insert Heading 2 (ctrl + 2)"},icon:m.jsx("div",{style:{fontSize:16,textAlign:"left"},children:"Heading 2"}),execute:(e,t)=>{Us({state:e,api:t,prefix:e.command.prefix,suffix:e.command.suffix})}},kX=RX,DX={name:"heading3",keyCommand:"heading3",shortcuts:"ctrlcmd+3",prefix:"### ",suffix:"",buttonProps:{"aria-label":"Insert Heading 3 (ctrl + 3)",title:"Insert Heading 3 (ctrl + 3)"},icon:m.jsx("div",{style:{fontSize:15,textAlign:"left"},children:"Heading 3"}),execute:(e,t)=>{Us({state:e,api:t,prefix:e.command.prefix,suffix:e.command.suffix})}},IX=DX,OX={name:"heading4",keyCommand:"heading4",shortcuts:"ctrlcmd+4",prefix:"#### ",suffix:"",buttonProps:{"aria-label":"Insert Heading 4 (ctrl + 4)",title:"Insert Heading 4 (ctrl + 4)"},icon:m.jsx("div",{style:{fontSize:14,textAlign:"left"},children:"Heading 4"}),execute:(e,t)=>{Us({state:e,api:t,prefix:e.command.prefix,suffix:e.command.suffix})}},LX=OX,MX={name:"heading5",keyCommand:"heading5",shortcuts:"ctrlcmd+5",prefix:"##### ",suffix:"",buttonProps:{"aria-label":"Insert Heading 5 (ctrl + 5)",title:"Insert Heading 5 (ctrl + 5)"},icon:m.jsx("div",{style:{fontSize:12,textAlign:"left"},children:"Heading 5"}),execute:(e,t)=>{Us({state:e,api:t,prefix:e.command.prefix,suffix:e.command.suffix})}},FX=MX,BX={name:"heading6",keyCommand:"heading6",shortcuts:"ctrlcmd+6",prefix:"###### ",suffix:"",buttonProps:{"aria-label":"Insert Heading 6 (ctrl + 6)",title:"Insert Heading 6 (ctrl + 6)"},icon:m.jsx("div",{style:{fontSize:12,textAlign:"left"},children:"Heading 6"}),execute:(e,t)=>{Us({state:e,api:t,prefix:e.command.prefix,suffix:e.command.suffix})}},UX=BX,PX={name:"table",keyCommand:"table",prefix:`
|
|
122
|
-
| Header | Header |
|
|
123
|
-
|--------|--------|
|
|
124
|
-
| Cell | Cell |
|
|
125
|
-
| Cell | Cell |
|
|
126
|
-
| Cell | Cell |
|
|
127
|
-
|
|
128
|
-
`,suffix:"",buttonProps:{"aria-label":"Add table",title:"Add table"},icon:m.jsx("svg",{role:"img",width:"12",height:"12",viewBox:"0 0 512 512",children:m.jsx("path",{fill:"currentColor",d:"M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"})}),execute:(e,t)=>{var n=Pn({text:e.text,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}),r=t.setSelectionRange(n);r.selectedText.length>=e.command.prefix.length+e.command.suffix.length&&r.selectedText.startsWith(e.command.prefix)?_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}):(r=t.setSelectionRange({start:e.selection.start,end:e.selection.start}),_n({api:t,selectedText:r.selectedText,selection:e.selection,prefix:e.command.prefix,suffix:e.command.suffix}))}},jX={name:"help",keyCommand:"help",buttonProps:{"aria-label":"Open help",title:"Open help"},icon:m.jsx("svg",{viewBox:"0 0 16 16",width:"12px",height:"12px",children:m.jsx("path",{d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm.9 13H7v-1.8h1.9V13Zm-.1-3.6v.5H7.1v-.6c.2-2.1 2-1.9 1.9-3.2.1-.7-.3-1.1-1-1.1-.8 0-1.2.7-1.2 1.6H5c0-1.7 1.2-3 2.9-3 2.3 0 3 1.4 3 2.3.1 2.3-1.9 2-2.1 3.5Z",fill:"currentColor"})}),execute:()=>{window.open("https://www.markdownguide.org/basic-syntax/","_blank","noreferrer")}},HX=()=>[cX,EX,NX,hX,gX([_X,kX,IX,LX,FX,UX],{name:"title",groupName:"title",buttonProps:{"aria-label":"Insert title",title:"Insert title"}}),Id,yX,wX,dX,SI,fX,bX,PX,Id,SX,TX,vX,Id,jX],zX=()=>[AX,CX,xX,Id,pX];function rf(e){var t;return{selection:{start:e.selectionStart,end:e.selectionEnd},text:e.value,selectedText:(t=e.value)==null?void 0:t.slice(e.selectionStart,e.selectionEnd)}}class YS{constructor(t){this.textArea=void 0,this.textArea=t}replaceSelection(t){return fs(this.textArea,t),rf(this.textArea)}setSelectionRange(t){return this.textArea.focus(),this.textArea.selectionStart=t.start,this.textArea.selectionEnd=t.end,rf(this.textArea)}}class qS{constructor(t){this.textArea=void 0,this.textApi=void 0,this.textArea=t,this.textApi=new YS(t)}getState(){return this.textArea?rf(this.textArea):!1}executeCommand(t,n,r,o){t.execute&&t.execute(yt({command:t},rf(this.textArea)),this.textApi,n,r,o)}}function Od(e){e.stopPropagation(),e.preventDefault()}function MN(e,t){Od(e);var n=e.target,r=new YS(n),o={start:n.selectionStart,end:n.selectionEnd};if(o=ru({text:n.value,selection:o}),!(t<0&&o.start<=0||t>0&&o.end>=n.value.length)){var s=n.value.slice(o.start,o.end);if(t<0){var u=ru({text:n.value,selection:{start:o.start-1,end:o.start-1}}),c=n.value.slice(u.start,u.end);r.setSelectionRange({start:u.start,end:o.end}),fs(n,s+`
|
|
129
|
-
`+c),r.setSelectionRange({start:u.start,end:u.start+s.length})}else{var p=ru({text:n.value,selection:{start:o.end+1,end:o.end+1}}),f=n.value.slice(p.start,p.end);r.setSelectionRange({start:o.start,end:p.end}),fs(n,f+`
|
|
130
|
-
`+s),r.setSelectionRange({start:p.end-s.length,end:p.end})}}}function $X(e,t,n){t===void 0&&(t=2),n===void 0&&(n=!1);var r=e.target,o=r.value.substr(0,r.selectionStart),s=o.split(`
|
|
131
|
-
`),u=s[s.length-1],c=new YS(r);if(!n&&e.code&&e.code.toLowerCase()==="tab"){Od(e);var p=new Array(t+1).join(" ");if(r.selectionStart!==r.selectionEnd){var f=r.value.substring(0,r.selectionStart).split(`
|
|
132
|
-
`),g=r.value.substring(0,r.selectionEnd).split(`
|
|
133
|
-
`),h=[];g.forEach((B,j)=>{B!==f[j]&&h.push(B)});var y=h.join(`
|
|
134
|
-
`),T=r.value.substring(r.selectionStart,r.selectionEnd),x=r.value.substring(0,r.selectionStart).length;c.setSelectionRange({start:r.value.indexOf(y),end:r.selectionEnd});var C=GS(y,e.shiftKey?"":p),w=C.modifiedText;e.shiftKey&&(w=w.split(`
|
|
135
|
-
`).map(B=>B.replace(new RegExp("^"+p),"")).join(`
|
|
136
|
-
`)),c.replaceSelection(w);var N=e.shiftKey?-t:t,R=e.shiftKey?-h.length*t:h.length*t;c.setSelectionRange({start:x+N,end:x+T.length+R})}else return fs(r,p)}else if(e.keyCode===13&&e.code.toLowerCase()==="enter"&&(/^(-|\*)\s/.test(u)||/^\d+.\s/.test(u))&&!e.shiftKey){Od(e);var D=`
|
|
137
|
-
- `;return u.startsWith("*")&&(D=`
|
|
138
|
-
* `),(u.startsWith("- [ ]")||u.startsWith("- [X]")||u.startsWith("- [x]"))&&(D=`
|
|
139
|
-
- [ ] `),/^\d+.\s/.test(u)&&(D=`
|
|
140
|
-
`+(parseInt(u)+1)+". "),fs(r,D)}else if(e.code&&e.code.toLowerCase()==="keyd"&&e.ctrlKey){Od(e);var L={start:r.selectionStart,end:r.selectionEnd},O=L;L=ru({text:r.value,selection:L});var I=r.value.slice(L.start,L.end);c.setSelectionRange({start:L.end,end:L.end}),fs(r,`
|
|
141
|
-
`+I),c.setSelectionRange({start:O.start,end:O.end})}else e.code&&e.code.toLowerCase()==="arrowup"&&e.altKey?MN(e,-1):e.code&&e.code.toLowerCase()==="arrowdown"&&e.altKey&&MN(e,1)}var GX=["prefixCls","onChange"],VX=["markdown","commands","fullscreen","preview","highlightEnable","extraCommands","tabSize","defaultTabEnable","autoFocusEnd","textareaWarp","dispatch"];function YX(e){var{prefixCls:t,onChange:n}=e,r=uu(e,GX),o=v.useContext(uo),{markdown:s,commands:u,fullscreen:c,preview:p,highlightEnable:f,extraCommands:g,tabSize:h,defaultTabEnable:y,autoFocusEnd:T,textareaWarp:x,dispatch:C}=o;uu(o,VX);var w=vn.useRef(null),N=vn.useRef(),R=vn.useRef({fullscreen:c,preview:p});v.useEffect(()=>{R.current={fullscreen:c,preview:p,highlightEnable:f}},[c,p,f]),v.useEffect(()=>{if(w.current&&C){var L=new qS(w.current);N.current=L,C({textarea:w.current,commandOrchestrator:L})}},[]),v.useEffect(()=>{if(T&&w.current&&x){w.current.focus();var L=w.current.value.length;w.current.setSelectionRange(L,L),setTimeout(()=>{x&&(x.scrollTop=x.scrollHeight),w.current&&(w.current.scrollTop=w.current.scrollHeight)},0)}},[x]);var D=L=>{$X(L,h,y),fI(L,[...u||[],...g||[]],N.current,C,R.current)};return v.useEffect(()=>(w.current&&w.current.addEventListener("keydown",D),()=>{w.current&&w.current.removeEventListener("keydown",D)}),[]),m.jsx("textarea",yt({autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1},r,{ref:w,className:t+"-text-input "+(r.className?r.className:""),value:s,onChange:L=>{C&&C({markdown:L.target.value}),n&&n(L)}}))}var qX=["prefixCls","className","onScroll","renderTextarea"];function WX(e){var t=e||{},{prefixCls:n,className:r,onScroll:o,renderTextarea:s}=t,u=uu(t,qX),{markdown:c,scrollTop:p,commands:f,minHeight:g,highlightEnable:h,extraCommands:y,dispatch:T}=v.useContext(uo),x=vn.useRef(null),C=vn.useRef(),w=vn.createRef();v.useEffect(()=>{var R={};w.current&&(R.textareaWarp=w.current||void 0,w.current.scrollTop=p||0),T&&T(yt({},R))},[]),v.useEffect(()=>{if(x.current&&T){var R=new qS(x.current);C.current=R,T({textarea:x.current,commandOrchestrator:R})}},[]);var N=h?{}:{WebkitTextFillColor:"initial",overflow:"auto"};return m.jsx("div",{ref:w,className:n+"-area "+(r||""),onScroll:o,children:m.jsx("div",{className:n+"-text",style:{minHeight:g},children:s?vn.cloneElement(s(yt({},u,{value:c,autoComplete:"off",autoCorrect:"off",spellCheck:"false",autoCapitalize:"off",className:n+"-text-input",style:{WebkitTextFillColor:"inherit",overflow:"auto"}}),{dispatch:T,onChange:u.onChange,shortcuts:fI,useContext:{commands:f,extraCommands:y,commandOrchestrator:C.current}}),{ref:x}):m.jsxs(v.Fragment,{children:[h&&m.jsx(lX,{prefixCls:n}),m.jsx(YX,yt({prefixCls:n},u,{style:N}))]})})})}var XX=e=>{var{prefixCls:t,onChange:n}=e||{},r=v.useRef(null),o=v.useRef(),s=v.useRef(e.height);v.useEffect(()=>{s.current!==e.height&&(s.current=e.height)},[e.height]);function u(g){if(o.current){var h,y=g.clientY||((h=g.changedTouches[0])==null?void 0:h.clientY),T=o.current.height+y-o.current.dragY;T>=e.minHeight&&T<=e.maxHeight&&n&&n(o.current.height+(y-o.current.dragY))}}function c(){var g,h;o.current=void 0,document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",c),(g=r.current)==null||g.removeEventListener("touchmove",u),(h=r.current)==null||h.removeEventListener("touchend",c)}function p(g){var h,y,T;g.preventDefault();var x=g.clientY||((h=g.changedTouches[0])==null?void 0:h.clientY);o.current={height:s.current,dragY:x},document.addEventListener("mousemove",u),document.addEventListener("mouseup",c),(y=r.current)==null||y.addEventListener("touchmove",u,{passive:!1}),(T=r.current)==null||T.addEventListener("touchend",c,{passive:!1})}v.useEffect(()=>{if(document){var g,h;(g=r.current)==null||g.addEventListener("touchstart",p,{passive:!1}),(h=r.current)==null||h.addEventListener("mousedown",p)}return()=>{if(document){var y;(y=r.current)==null||y.removeEventListener("touchstart",p),document.removeEventListener("mousemove",u)}}},[]);var f=v.useMemo(()=>m.jsx("svg",{viewBox:"0 0 512 512",height:"100%",children:m.jsx("path",{fill:"currentColor",d:"M304 256c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm120-48c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm-336 0c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z"})}),[]);return m.jsx("div",{className:t+"-bar",ref:r,children:f})},KX=["prefixCls","className","value","commands","commandsFilter","direction","extraCommands","height","enableScroll","visibleDragbar","highlightEnable","preview","fullscreen","overflow","previewOptions","textareaProps","maxHeight","minHeight","autoFocus","autoFocusEnd","tabSize","defaultTabEnable","onChange","onStatistics","onHeightChange","hideToolbar","toolbarBottom","components","renderTextarea"];function ZX(e){return e===void 0&&(e={}),Object.keys(e).forEach(t=>{e[t]=!1}),e}var QX=vn.forwardRef((e,t)=>{var n=e||{},{prefixCls:r="w-md-editor",className:o,value:s,commands:u=HX(),commandsFilter:c,direction:p,extraCommands:f=zX(),height:g=200,enableScroll:h=!0,visibleDragbar:y=typeof e.visiableDragbar=="boolean"?e.visiableDragbar:!0,highlightEnable:T=!0,preview:x="live",fullscreen:C=!1,overflow:w=!0,previewOptions:N={},textareaProps:R,maxHeight:D=1200,minHeight:L=100,autoFocus:O,autoFocusEnd:I=!1,tabSize:B=2,defaultTabEnable:j=!1,onChange:G,onStatistics:z,onHeightChange:ee,hideToolbar:X,toolbarBottom:oe=!1,components:ue,renderTextarea:ie}=n,W=uu(n,KX),re=u.map(Me=>c?c(Me,!1):Me).filter(Boolean),J=f.map(Me=>c?c(Me,!0):Me).filter(Boolean),[ae,P]=v.useReducer(jq,{markdown:s,preview:x,components:ue,height:g,minHeight:L,highlightEnable:T,tabSize:B,defaultTabEnable:j,scrollTop:0,scrollTopPreview:0,commands:re,extraCommands:J,fullscreen:C,barPopup:{}}),V=v.useRef(null),H=v.useRef(null),_=v.useRef(h);v.useImperativeHandle(t,()=>yt({},ae,{container:V.current,dispatch:P})),v.useMemo(()=>_.current=h,[h]),v.useEffect(()=>{var Me={};V.current&&(Me.container=V.current||void 0),Me.markdown=s||"",Me.barPopup={},P&&P(yt({},ae,Me))},[]);var ne=[o,"wmde-markdown-var",p?r+"-"+p:null,r,ae.preview?r+"-show-"+ae.preview:null,ae.fullscreen?r+"-fullscreen":null].filter(Boolean).join(" ").trim();v.useMemo(()=>s!==ae.markdown&&P({markdown:s||""}),[s,ae.markdown]),v.useMemo(()=>x!==ae.preview&&P({preview:x}),[x]),v.useMemo(()=>B!==ae.tabSize&&P({tabSize:B}),[B]),v.useMemo(()=>T!==ae.highlightEnable&&P({highlightEnable:T}),[T]),v.useMemo(()=>O!==ae.autoFocus&&P({autoFocus:O}),[O]),v.useMemo(()=>I!==ae.autoFocusEnd&&P({autoFocusEnd:I}),[I]),v.useMemo(()=>C!==ae.fullscreen&&P({fullscreen:C}),[C]),v.useMemo(()=>g!==ae.height&&P({height:g}),[g]),v.useMemo(()=>g!==ae.height&&ee&&ee(ae.height,g,ae),[g,ee,ae]),v.useMemo(()=>u!==ae.commands&&P({commands:re}),[e.commands]),v.useMemo(()=>f!==ae.extraCommands&&P({extraCommands:J}),[e.extraCommands]);var se=v.useRef(),q=v.useRef("preview"),Ee=v.useRef(!1);v.useMemo(()=>{se.current=ae.textareaWarp,ae.textareaWarp&&(ae.textareaWarp.addEventListener("mouseover",()=>{q.current="text"}),ae.textareaWarp.addEventListener("mouseleave",()=>{q.current="preview"}))},[ae.textareaWarp]);var de=(Me,Je)=>{if(_.current){var Ze=se.current,Ke=H.current?H.current:void 0;if(Ee.current||(q.current=Je,Ee.current=!0),Ze&&Ke){var It=(Ze.scrollHeight-Ze.offsetHeight)/(Ke.scrollHeight-Ke.offsetHeight);Me.target===Ze&&q.current==="text"&&(Ke.scrollTop=Ze.scrollTop/It),Me.target===Ke&&q.current==="preview"&&(Ze.scrollTop=Ke.scrollTop*It);var $t=0;q.current==="text"?$t=Ze.scrollTop||0:q.current==="preview"&&($t=Ke.scrollTop||0),P({scrollTop:$t})}}},Te=r+"-preview "+(N.className||""),ze=Me=>de(Me,"preview"),Qe=v.useMemo(()=>m.jsx("div",{ref:H,className:Te,children:m.jsx(uI,yt({},N,{onScroll:ze,source:ae.markdown||""}))}),[Te,N,ae.markdown]),pe=ue?.preview&&ue?.preview(ae.markdown||"",ae,P);pe&&vn.isValidElement(pe)&&(Qe=m.jsx("div",{className:Te,ref:H,onScroll:ze,children:pe}));var He=yt({},W.style,{height:ae.height||"100%"}),$e=()=>P({barPopup:yt({},ZX(ae.barPopup))}),xe=Me=>P({height:Me}),rt=Me=>{if(G&&G(Me.target.value,Me,ae),R&&R.onChange&&R.onChange(Me),ae.textarea&&ae.textarea instanceof HTMLTextAreaElement&&z){var Je=new qS(ae.textarea),Ze=Je.getState()||{};z(yt({},Ze,{lineCount:Me.target.value.split(`
|
|
142
|
-
`).length,length:Me.target.value.length}))}};return m.jsx(uo.Provider,{value:yt({},ae,{dispatch:P}),children:m.jsxs("div",yt({ref:V,className:ne},W,{onClick:$e,style:He,children:[m.jsx(_N,{hideToolbar:X,toolbarBottom:oe,prefixCls:r,overflow:w,placement:"top"}),m.jsxs("div",{className:r+"-content",children:[/(edit|live)/.test(ae.preview||"")&&m.jsx(WX,yt({className:r+"-input",prefixCls:r,autoFocus:O},R,{onChange:rt,renderTextarea:ue?.textarea||ie,onScroll:Me=>de(Me,"text")})),/(live|preview)/.test(ae.preview||"")&&Qe]}),y&&!ae.fullscreen&&m.jsx(XX,{prefixCls:r,height:ae.height,maxHeight:D,minHeight:L,onChange:xe}),m.jsx(_N,{hideToolbar:X,toolbarBottom:oe,prefixCls:r,overflow:w,placement:"bottom"})]}))})}),WS=QX;WS.Markdown=uI;const Vi=v.forwardRef(({markdown:e,onChange:t,placeholder:n="Write your content here...",readOnly:r=!1,className:o="",height:s=400},u)=>{const{isDark:c}=In(),p=v.useCallback(f=>{t(f||"")},[t]);return v.useImperativeHandle(u,()=>({setMarkdown:f=>{t(f)},getMarkdown:()=>e}),[e,t]),m.jsx("div",{className:`md-editor-wrapper ${o}`,"data-color-mode":c?"dark":"light",style:{height:typeof s=="string"?s:void 0},children:m.jsx(WS,{value:e,onChange:p,preview:r?"preview":"live",hideToolbar:r,textareaProps:{placeholder:n},height:typeof s=="number"?s:"100%",visibleDragbar:!r})})});Vi.displayName="MDEditor";const JX=/@(task-\d+)/g,eK=/@docs?\/([^\s)]+)/g;function tK(e){return e.endsWith(".md")?e:`${e}.md`}function nK(e){let t=e.replace(JX,"[@@$1](#/tasks/$1)");return t=t.replace(eK,(n,r)=>{const o=tK(r);return`[@@doc/${o}](#/docs/${o})`}),t}const FN={todo:{dot:"bg-gray-400",text:"text-gray-500"},"in-progress":{dot:"bg-yellow-400",text:"text-yellow-600"},"in-review":{dot:"bg-purple-400",text:"text-purple-600"},blocked:{dot:"bg-red-400",text:"text-red-600"},done:{dot:"bg-green-400",text:"text-green-600"}};function rK({taskId:e,onTaskLinkClick:t,isDark:n}){const[r,o]=v.useState(null),[s,u]=v.useState(null),[c,p]=v.useState(!0),f=e.replace("task-",""),g=`#/kanban/${f}`,h=n?"inline-flex items-center gap-1.5 px-2 py-1 rounded-md text-sm font-medium transition-all hover:scale-105 bg-green-900/20 border border-green-500/30 text-green-300 hover:bg-green-900/30 hover:border-green-500/50":"inline-flex items-center gap-1.5 px-2 py-1 rounded-md text-sm font-medium transition-all hover:scale-105 bg-green-100/50 border border-green-500/30 text-green-700 hover:bg-green-100 hover:border-green-500/50";v.useEffect(()=>{let x=!1;return bL(f).then(C=>{x||(o(C.title),u(C.status),p(!1))}).catch(()=>{x||(o(null),u(null),p(!1))}),()=>{x=!0}},[f]);const y=x=>{x.preventDefault(),x.stopPropagation(),t?t(f):window.location.hash=`/kanban/${f}`},T=s?FN[s]||FN.todo:null;return m.jsxs("a",{href:g,className:h,"data-task-id":f,onClick:y,children:[m.jsx(ab,{className:"w-4 h-4 shrink-0"}),c?m.jsxs("span",{className:"opacity-70",children:["#",f]}):r?m.jsxs(m.Fragment,{children:[m.jsxs("span",{children:["#",f,": ",r]}),s&&T&&m.jsx("span",{className:`inline-flex items-center gap-1 ${T.text}`,children:m.jsx("span",{className:`w-2 h-2 rounded-full ${T.dot}`})})]}):m.jsxs("span",{children:["#",f]})]})}function aK({docPath:e,onDocLinkClick:t,isDark:n}){const[r,o]=v.useState(null),[s,u]=v.useState(!0),c=`#/docs/${e}`,p=n?"inline-flex items-center gap-1 px-1 py-1 rounded-md text-sm font-medium transition-all hover:scale-105 bg-blue-900/20 border border-blue-500/30 text-blue-300 hover:bg-blue-900/30 hover:border-blue-500/50":"inline-flex items-center gap-1 px-1 py-1 rounded-md text-sm font-medium transition-all hover:scale-105 bg-blue-100/50 border border-blue-500/30 text-blue-700 hover:bg-blue-100 hover:border-blue-500/50";v.useEffect(()=>{let h=!1;return yL(e).then(y=>{!h&&y?(o(y.title||null),u(!1)):h||u(!1)}).catch(()=>{h||(o(null),u(!1))}),()=>{h=!0}},[e]);const f=h=>{h.preventDefault(),h.stopPropagation(),t?t(e):window.location.hash=`/docs/${e}`},g=e.replace(/\.md$/,"").split("/").pop()||e;return m.jsxs("a",{href:c,className:p,"data-doc-path":e,onClick:f,children:[m.jsx(fi,{className:"w-4 h-4 shrink-0"}),s?m.jsx("span",{className:"opacity-70",children:g}):r?m.jsx("span",{children:r}):m.jsx("span",{children:g})]})}const au=v.forwardRef(({markdown:e,className:t="",onDocLinkClick:n,onTaskLinkClick:r},o)=>{const{isDark:s}=In(),u=v.useRef(null),c=v.useMemo(()=>nK(e||""),[e]);v.useImperativeHandle(o,()=>({getElement:()=>u.current}));const p=v.useMemo(()=>function({href:g,children:h}){const y=String(h);if(y.startsWith("@@task-")){const T=y.slice(2);return m.jsx(rK,{taskId:T,onTaskLinkClick:r,isDark:s})}if(y.startsWith("@@doc/")){const T=y.slice(6);return m.jsx(aK,{docPath:T,onDocLinkClick:n,isDark:s})}return m.jsx("a",{href:g,children:h})},[n,r,s]);return e?m.jsx("div",{ref:u,className:`md-render-wrapper ${t}`,"data-color-mode":s?"dark":"light",children:m.jsx(WS.Markdown,{source:c,style:{backgroundColor:"transparent",padding:0},components:{a:p}})}):null});au.displayName="MDRender";var iK=v.createContext(void 0);function oK(e){const t=v.useContext(iK);return e||t||"ltr"}function sK(e,[t,n]){return Math.min(n,Math.max(t,e))}function lK(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var XS="ScrollArea",[vI]=xs(XS),[uK,Rr]=vI(XS),xI=v.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:s=600,...u}=e,[c,p]=v.useState(null),[f,g]=v.useState(null),[h,y]=v.useState(null),[T,x]=v.useState(null),[C,w]=v.useState(null),[N,R]=v.useState(0),[D,L]=v.useState(0),[O,I]=v.useState(!1),[B,j]=v.useState(!1),G=pn(t,ee=>p(ee)),z=oK(o);return m.jsx(uK,{scope:n,type:r,dir:z,scrollHideDelay:s,scrollArea:c,viewport:f,onViewportChange:g,content:h,onContentChange:y,scrollbarX:T,onScrollbarXChange:x,scrollbarXEnabled:O,onScrollbarXEnabledChange:I,scrollbarY:C,onScrollbarYChange:w,scrollbarYEnabled:B,onScrollbarYEnabledChange:j,onCornerWidthChange:R,onCornerHeightChange:L,children:m.jsx(kt.div,{dir:z,...u,ref:G,style:{position:"relative","--radix-scroll-area-corner-width":N+"px","--radix-scroll-area-corner-height":D+"px",...e.style}})})});xI.displayName=XS;var AI="ScrollAreaViewport",CI=v.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:o,...s}=e,u=Rr(AI,n),c=v.useRef(null),p=pn(t,c,u.onViewportChange);return m.jsxs(m.Fragment,{children:[m.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),m.jsx(kt.div,{"data-radix-scroll-area-viewport":"",...s,ref:p,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:m.jsx("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});CI.displayName=AI;var sa="ScrollAreaScrollbar",KS=v.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Rr(sa,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:u}=o,c=e.orientation==="horizontal";return v.useEffect(()=>(c?s(!0):u(!0),()=>{c?s(!1):u(!1)}),[c,s,u]),o.type==="hover"?m.jsx(cK,{...r,ref:t,forceMount:n}):o.type==="scroll"?m.jsx(dK,{...r,ref:t,forceMount:n}):o.type==="auto"?m.jsx(wI,{...r,ref:t,forceMount:n}):o.type==="always"?m.jsx(ZS,{...r,ref:t}):null});KS.displayName=sa;var cK=v.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Rr(sa,e.__scopeScrollArea),[s,u]=v.useState(!1);return v.useEffect(()=>{const c=o.scrollArea;let p=0;if(c){const f=()=>{window.clearTimeout(p),u(!0)},g=()=>{p=window.setTimeout(()=>u(!1),o.scrollHideDelay)};return c.addEventListener("pointerenter",f),c.addEventListener("pointerleave",g),()=>{window.clearTimeout(p),c.removeEventListener("pointerenter",f),c.removeEventListener("pointerleave",g)}}},[o.scrollArea,o.scrollHideDelay]),m.jsx(fr,{present:n||s,children:m.jsx(wI,{"data-state":s?"visible":"hidden",...r,ref:t})})}),dK=v.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Rr(sa,e.__scopeScrollArea),s=e.orientation==="horizontal",u=op(()=>p("SCROLL_END"),100),[c,p]=lK("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return v.useEffect(()=>{if(c==="idle"){const f=window.setTimeout(()=>p("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(f)}},[c,o.scrollHideDelay,p]),v.useEffect(()=>{const f=o.viewport,g=s?"scrollLeft":"scrollTop";if(f){let h=f[g];const y=()=>{const T=f[g];h!==T&&(p("SCROLL"),u()),h=T};return f.addEventListener("scroll",y),()=>f.removeEventListener("scroll",y)}},[o.viewport,s,p,u]),m.jsx(fr,{present:n||c!=="hidden",children:m.jsx(ZS,{"data-state":c==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:Pt(e.onPointerEnter,()=>p("POINTER_ENTER")),onPointerLeave:Pt(e.onPointerLeave,()=>p("POINTER_LEAVE"))})})}),wI=v.forwardRef((e,t)=>{const n=Rr(sa,e.__scopeScrollArea),{forceMount:r,...o}=e,[s,u]=v.useState(!1),c=e.orientation==="horizontal",p=op(()=>{if(n.viewport){const f=n.viewport.offsetWidth<n.viewport.scrollWidth,g=n.viewport.offsetHeight<n.viewport.scrollHeight;u(c?f:g)}},10);return ys(n.viewport,p),ys(n.content,p),m.jsx(fr,{present:r||s,children:m.jsx(ZS,{"data-state":s?"visible":"hidden",...o,ref:t})})}),ZS=v.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,o=Rr(sa,e.__scopeScrollArea),s=v.useRef(null),u=v.useRef(0),[c,p]=v.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=DI(c.viewport,c.content),g={...r,sizes:c,onSizesChange:p,hasThumb:f>0&&f<1,onThumbChange:y=>s.current=y,onThumbPointerUp:()=>u.current=0,onThumbPointerDown:y=>u.current=y};function h(y,T){return bK(y,u.current,c,T)}return n==="horizontal"?m.jsx(fK,{...g,ref:t,onThumbPositionChange:()=>{if(o.viewport&&s.current){const y=o.viewport.scrollLeft,T=BN(y,c,o.dir);s.current.style.transform=`translate3d(${T}px, 0, 0)`}},onWheelScroll:y=>{o.viewport&&(o.viewport.scrollLeft=y)},onDragScroll:y=>{o.viewport&&(o.viewport.scrollLeft=h(y,o.dir))}}):n==="vertical"?m.jsx(pK,{...g,ref:t,onThumbPositionChange:()=>{if(o.viewport&&s.current){const y=o.viewport.scrollTop,T=BN(y,c);s.current.style.transform=`translate3d(0, ${T}px, 0)`}},onWheelScroll:y=>{o.viewport&&(o.viewport.scrollTop=y)},onDragScroll:y=>{o.viewport&&(o.viewport.scrollTop=h(y))}}):null}),fK=v.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,s=Rr(sa,e.__scopeScrollArea),[u,c]=v.useState(),p=v.useRef(null),f=pn(t,p,s.onScrollbarXChange);return v.useEffect(()=>{p.current&&c(getComputedStyle(p.current))},[p]),m.jsx(_I,{"data-orientation":"horizontal",...o,ref:f,sizes:n,style:{bottom:0,left:s.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:s.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ip(n)+"px",...e.style},onThumbPointerDown:g=>e.onThumbPointerDown(g.x),onDragScroll:g=>e.onDragScroll(g.x),onWheelScroll:(g,h)=>{if(s.viewport){const y=s.viewport.scrollLeft+g.deltaX;e.onWheelScroll(y),OI(y,h)&&g.preventDefault()}},onResize:()=>{p.current&&s.viewport&&u&&r({content:s.viewport.scrollWidth,viewport:s.viewport.offsetWidth,scrollbar:{size:p.current.clientWidth,paddingStart:of(u.paddingLeft),paddingEnd:of(u.paddingRight)}})}})}),pK=v.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,s=Rr(sa,e.__scopeScrollArea),[u,c]=v.useState(),p=v.useRef(null),f=pn(t,p,s.onScrollbarYChange);return v.useEffect(()=>{p.current&&c(getComputedStyle(p.current))},[p]),m.jsx(_I,{"data-orientation":"vertical",...o,ref:f,sizes:n,style:{top:0,right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ip(n)+"px",...e.style},onThumbPointerDown:g=>e.onThumbPointerDown(g.y),onDragScroll:g=>e.onDragScroll(g.y),onWheelScroll:(g,h)=>{if(s.viewport){const y=s.viewport.scrollTop+g.deltaY;e.onWheelScroll(y),OI(y,h)&&g.preventDefault()}},onResize:()=>{p.current&&s.viewport&&u&&r({content:s.viewport.scrollHeight,viewport:s.viewport.offsetHeight,scrollbar:{size:p.current.clientHeight,paddingStart:of(u.paddingTop),paddingEnd:of(u.paddingBottom)}})}})}),[mK,NI]=vI(sa),_I=v.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:s,onThumbPointerUp:u,onThumbPointerDown:c,onThumbPositionChange:p,onDragScroll:f,onWheelScroll:g,onResize:h,...y}=e,T=Rr(sa,n),[x,C]=v.useState(null),w=pn(t,G=>C(G)),N=v.useRef(null),R=v.useRef(""),D=T.viewport,L=r.content-r.viewport,O=ur(g),I=ur(p),B=op(h,10);function j(G){if(N.current){const z=G.clientX-N.current.left,ee=G.clientY-N.current.top;f({x:z,y:ee})}}return v.useEffect(()=>{const G=z=>{const ee=z.target;x?.contains(ee)&&O(z,L)};return document.addEventListener("wheel",G,{passive:!1}),()=>document.removeEventListener("wheel",G,{passive:!1})},[D,x,L,O]),v.useEffect(I,[r,I]),ys(x,B),ys(T.content,B),m.jsx(mK,{scope:n,scrollbar:x,hasThumb:o,onThumbChange:ur(s),onThumbPointerUp:ur(u),onThumbPositionChange:I,onThumbPointerDown:ur(c),children:m.jsx(kt.div,{...y,ref:w,style:{position:"absolute",...y.style},onPointerDown:Pt(e.onPointerDown,G=>{G.button===0&&(G.target.setPointerCapture(G.pointerId),N.current=x.getBoundingClientRect(),R.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",T.viewport&&(T.viewport.style.scrollBehavior="auto"),j(G))}),onPointerMove:Pt(e.onPointerMove,j),onPointerUp:Pt(e.onPointerUp,G=>{const z=G.target;z.hasPointerCapture(G.pointerId)&&z.releasePointerCapture(G.pointerId),document.body.style.webkitUserSelect=R.current,T.viewport&&(T.viewport.style.scrollBehavior=""),N.current=null})})})}),af="ScrollAreaThumb",RI=v.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=NI(af,e.__scopeScrollArea);return m.jsx(fr,{present:n||o.hasThumb,children:m.jsx(gK,{ref:t,...r})})}),gK=v.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...o}=e,s=Rr(af,n),u=NI(af,n),{onThumbPositionChange:c}=u,p=pn(t,h=>u.onThumbChange(h)),f=v.useRef(void 0),g=op(()=>{f.current&&(f.current(),f.current=void 0)},100);return v.useEffect(()=>{const h=s.viewport;if(h){const y=()=>{if(g(),!f.current){const T=EK(h,c);f.current=T,c()}};return c(),h.addEventListener("scroll",y),()=>h.removeEventListener("scroll",y)}},[s.viewport,g,c]),m.jsx(kt.div,{"data-state":u.hasThumb?"visible":"hidden",...o,ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:Pt(e.onPointerDownCapture,h=>{const T=h.target.getBoundingClientRect(),x=h.clientX-T.left,C=h.clientY-T.top;u.onThumbPointerDown({x,y:C})}),onPointerUp:Pt(e.onPointerUp,u.onThumbPointerUp)})});RI.displayName=af;var QS="ScrollAreaCorner",kI=v.forwardRef((e,t)=>{const n=Rr(QS,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?m.jsx(hK,{...e,ref:t}):null});kI.displayName=QS;var hK=v.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,o=Rr(QS,n),[s,u]=v.useState(0),[c,p]=v.useState(0),f=!!(s&&c);return ys(o.scrollbarX,()=>{const g=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(g),p(g)}),ys(o.scrollbarY,()=>{const g=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(g),u(g)}),f?m.jsx(kt.div,{...r,ref:t,style:{width:s,height:c,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function of(e){return e?parseInt(e,10):0}function DI(e,t){const n=e/t;return isNaN(n)?0:n}function ip(e){const t=DI(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function bK(e,t,n,r="ltr"){const o=ip(n),s=o/2,u=t||s,c=o-u,p=n.scrollbar.paddingStart+u,f=n.scrollbar.size-n.scrollbar.paddingEnd-c,g=n.content-n.viewport,h=r==="ltr"?[0,g]:[g*-1,0];return II([p,f],h)(e)}function BN(e,t,n="ltr"){const r=ip(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-o,u=t.content-t.viewport,c=s-r,p=n==="ltr"?[0,u]:[u*-1,0],f=sK(e,p);return II([0,u],[0,c])(f)}function II(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function OI(e,t){return e>0&&e<t}var EK=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function o(){const s={left:e.scrollLeft,top:e.scrollTop},u=n.left!==s.left,c=n.top!==s.top;(u||c)&&t(),n=s,r=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(r)};function op(e,t){const n=ur(e),r=v.useRef(0);return v.useEffect(()=>()=>window.clearTimeout(r.current),[]),v.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function ys(e,t){const n=ur(t);ta(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var LI=xI,yK=CI,SK=kI;const Nr=v.forwardRef(({className:e,children:t,...n},r)=>m.jsxs(LI,{ref:r,className:it("relative overflow-hidden",e),...n,children:[m.jsx(yK,{className:"h-full w-full rounded-[inherit]",children:t}),m.jsx(JS,{}),m.jsx(SK,{})]}));Nr.displayName=LI.displayName;const JS=v.forwardRef(({className:e,orientation:t="vertical",...n},r)=>m.jsx(KS,{ref:r,orientation:t,className:it("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:m.jsx(RI,{className:"relative flex-1 rounded-full bg-border"})}));JS.displayName=KS.displayName;const UN=[{value:"todo",label:"To Do",lightColor:"bg-gray-100 text-gray-700",darkColor:"bg-gray-700 text-gray-300"},{value:"in-progress",label:"In Progress",lightColor:"bg-blue-100 text-blue-700",darkColor:"bg-blue-900/50 text-blue-300"},{value:"in-review",label:"In Review",lightColor:"bg-purple-100 text-purple-700",darkColor:"bg-purple-900/50 text-purple-300"},{value:"done",label:"Done",lightColor:"bg-green-100 text-green-700",darkColor:"bg-green-900/50 text-green-300"},{value:"blocked",label:"Blocked",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}],PN=[{value:"low",label:"Low",lightColor:"bg-gray-100 text-gray-600",darkColor:"bg-gray-700 text-gray-300"},{value:"medium",label:"Medium",lightColor:"bg-yellow-100 text-yellow-700",darkColor:"bg-yellow-900/50 text-yellow-300"},{value:"high",label:"High",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}];function TK({isOpen:e,allTasks:t,onClose:n,onCreated:r}){const{isDark:o}=In(),{currentUser:s}=gR(),u=v.useRef(null),c=v.useRef(null),p=v.useRef(null),[f,g]=v.useState(""),[h,y]=v.useState(""),[T,x]=v.useState("todo"),[C,w]=v.useState("medium"),[N,R]=v.useState(""),[D,L]=v.useState([]),[O,I]=v.useState(""),[B,j]=v.useState([]),[G,z]=v.useState(!1),[ee,X]=v.useState(null),[oe,ue]=v.useState(!1),[ie,W]=v.useState(""),[re,J]=v.useState(!1),[ae,P]=v.useState(""),[V,H]=v.useState(!1),[_,ne]=v.useState(!1),se=v.useRef(null);v.useEffect(()=>{e?(u.current?.showModal(),setTimeout(()=>p.current?.focus(),100)):(u.current?.close(),g(""),y(""),x("todo"),w("medium"),R(""),L([]),I(""),j([]),X(null),ue(!1),W(""),J(!1),P(""),H(!1),ne(!1))},[e]),v.useEffect(()=>{re&&se.current&&se.current.focus()},[re]);const q=we=>{c.current&&!c.current.contains(we.target)&&n()},Ee=v.useCallback(we=>{we.key==="Escape"&&!re&&!V&&n()},[n,re,V]),de=()=>{ie.trim()&&(j([...B,{id:crypto.randomUUID(),text:ie.trim()}]),W(""),J(!1))},Te=we=>{j(B.filter(st=>st.id!==we))},ze=()=>{ae.trim()&&(D.includes(ae.trim())||L([...D,ae.trim()]),P(""),H(!1))},Qe=we=>{L(D.filter(st=>st!==we))},pe=async we=>{if(we.preventDefault(),X(null),!f.trim()){X("Title is required");return}z(!0);try{const st={title:f.trim(),description:h.trim()||void 0,status:T,priority:C,labels:D,assignee:N.trim()||void 0,parent:O||void 0,acceptanceCriteria:B.map(k=>({text:k.text,completed:!1}))};await hL(st),ue(!0),setTimeout(()=>{r(),n()},800)}catch(st){X(st instanceof Error?st.message:"Failed to create task")}finally{z(!1)}},He=UN.find(we=>we.value===T),$e=PN.find(we=>we.value===C),xe=O?t.find(we=>we.id===O):null,rt=o?"bg-gray-800":"bg-gray-100",Me=o?"bg-gray-700":"bg-white",Je=o?"bg-gray-750":"bg-gray-50",Ze=o?"text-gray-300":"text-gray-700",Ke=o?"text-gray-400":"text-gray-500",It=o?"border-gray-600":"border-gray-200",$t=o?"bg-gray-600 border-gray-500 text-gray-100 placeholder-gray-400":"bg-white border-gray-200 text-gray-900 placeholder-gray-400",ot=o?"hover:bg-gray-600":"hover:bg-gray-100";return m.jsx("dialog",{ref:u,className:"fixed inset-0 bg-transparent p-0 m-0 max-w-none w-full h-full backdrop:bg-black backdrop:bg-opacity-60",onClick:q,onKeyDown:Ee,"aria-labelledby":"create-task-title",children:m.jsx("div",{className:"flex justify-center pt-12 pb-8 px-4 min-h-full",children:m.jsxs("div",{ref:c,className:`${rt} rounded-xl shadow-2xl w-full max-w-6xl max-h-[calc(100vh-80px)] overflow-hidden flex flex-col`,children:[m.jsxs("div",{className:"bg-gradient-to-r from-green-500 to-green-600 px-6 py-4 flex items-start justify-between",children:[m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsx("span",{className:"text-green-100 text-sm font-medium",children:"New Task"}),m.jsx("input",{ref:p,type:"text",value:f,onChange:we=>g(we.target.value),placeholder:"Enter task title...",className:"w-full text-xl font-bold bg-white/20 text-white placeholder-white/60 border-0 rounded px-2 py-1 mt-1 focus:outline-none focus:ring-2 focus:ring-white/50",disabled:G})]}),m.jsx("button",{type:"button",onClick:n,className:"text-white/80 hover:text-white hover:bg-white/20 rounded-full p-2 ml-4 transition-colors","aria-label":"Close",children:m.jsx(Eu,{className:"w-5 h-5"})})]}),(oe||ee)&&m.jsxs("div",{className:"px-6 pt-4",children:[oe&&m.jsx("div",{className:`${o?"bg-green-900/50 border-green-700 text-green-300":"bg-green-50 border-green-200 text-green-700"} border px-4 py-2 rounded-lg text-sm`,children:"Task created successfully!"}),ee&&m.jsx("div",{className:`${o?"bg-red-900/50 border-red-700 text-red-300":"bg-red-50 border-red-200 text-red-700"} border px-4 py-2 rounded-lg text-sm`,children:ee})]}),m.jsx("form",{onSubmit:pe,className:"flex-1 flex flex-col min-h-0 overflow-hidden",children:m.jsxs("div",{className:"flex flex-col md:flex-row flex-1 min-h-0 overflow-hidden",children:[m.jsx(Nr,{className:"flex-1 min-h-0",children:m.jsxs("div",{className:"p-6 space-y-6",children:[m.jsxs("section",{children:[m.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[m.jsx("span",{className:Ze,children:m.jsx(T2,{className:"w-5 h-5"})}),m.jsx("h3",{className:`font-semibold ${Ze}`,children:"Description"})]}),m.jsx(Vi,{markdown:h,onChange:y,placeholder:"Add a more detailed description...",readOnly:G})]}),m.jsxs("section",{children:[m.jsx("div",{className:"flex items-center justify-between mb-3",children:m.jsxs("div",{className:"flex items-center gap-2",children:[m.jsx("span",{className:Ze,children:m.jsx(ab,{className:"w-5 h-5"})}),m.jsx("h3",{className:`font-semibold ${Ze}`,children:"Acceptance Criteria"}),B.length>0&&m.jsxs("span",{className:`text-sm ${Ke}`,children:["(",B.length,")"]})]})}),m.jsx("div",{className:"space-y-2",children:B.map(we=>m.jsxs("div",{className:`flex items-start gap-2 ${Me} rounded-lg px-3 py-2 group hover:shadow-sm transition-shadow`,children:[m.jsx("input",{type:"checkbox",checked:!1,disabled:!0,className:"mt-1 w-4 h-4 rounded cursor-not-allowed opacity-50"}),m.jsx("span",{className:`flex-1 text-sm ${Ze}`,children:we.text}),m.jsx("button",{type:"button",onClick:()=>Te(we.id),className:`opacity-0 group-hover:opacity-100 ${Ke} hover:text-red-500 p-1 transition-all`,title:"Delete",children:m.jsx(Md,{className:"w-4 h-4"})})]},we.id))}),re?m.jsxs("div",{className:`mt-2 ${Me} rounded-lg px-3 py-2`,children:[m.jsx("input",{ref:se,type:"text",value:ie,onChange:we=>W(we.target.value),onKeyDown:we=>{we.key==="Enter"&&ie.trim()&&(we.preventDefault(),de()),we.key==="Escape"&&(W(""),J(!1))},placeholder:"Add an item...",className:`w-full border ${It} rounded px-2 py-1.5 text-sm focus:outline-none focus:ring-2 focus:ring-green-500 ${$t}`,disabled:G}),m.jsxs("div",{className:"flex gap-2 mt-2",children:[m.jsx("button",{type:"button",onClick:de,className:"px-3 py-1 bg-green-600 text-white text-sm rounded hover:bg-green-700 transition-colors",disabled:!ie.trim()||G,children:"Add"}),m.jsx("button",{type:"button",onClick:()=>{W(""),J(!1)},className:`px-3 py-1 ${Ze} text-sm ${ot} rounded transition-colors`,children:"Cancel"})]})]}):m.jsxs("button",{type:"button",onClick:()=>J(!0),className:`mt-2 flex items-center gap-1 text-sm ${Ke} hover:${Ze} ${ot} px-3 py-2 rounded-lg transition-colors w-full`,disabled:G,children:[m.jsx(Da,{className:"w-4 h-4"}),m.jsx("span",{children:"Add an item"})]})]})]})}),m.jsx(Nr,{className:`w-full md:w-64 ${Je} border-t md:border-t-0 md:border-l ${It}`,children:m.jsxs("div",{className:"p-4 space-y-4",children:[m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Ke} uppercase tracking-wide mb-2`,children:"Status"}),m.jsx("select",{value:T,onChange:we=>x(we.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-green-500 ${o?He?.darkColor:He?.lightColor}`,disabled:G,children:UN.map(we=>m.jsx("option",{value:we.value,children:we.label},we.value))})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Ke} uppercase tracking-wide mb-2`,children:"Priority"}),m.jsx("select",{value:C,onChange:we=>w(we.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-green-500 ${o?$e?.darkColor:$e?.lightColor}`,disabled:G,children:PN.map(we=>m.jsx("option",{value:we.value,children:we.label},we.value))})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Ke} uppercase tracking-wide mb-2`,children:"Assignee"}),m.jsx(jR,{value:N,onChange:R,showGrabButton:!1,currentUser:s,container:c.current})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Ke} uppercase tracking-wide mb-2`,children:"Labels"}),m.jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:D.map(we=>m.jsxs("span",{className:`inline-flex items-center gap-1 text-xs ${o?"bg-blue-900/50 text-blue-300":"bg-blue-100 text-blue-700"} px-2 py-1 rounded-full group`,children:[we,m.jsx("button",{type:"button",onClick:()=>Qe(we),className:"opacity-0 group-hover:opacity-100 hover:text-red-500 transition-opacity",title:"Remove label",children:"x"})]},we))}),V?m.jsxs("div",{children:[m.jsx("input",{type:"text",value:ae,onChange:we=>P(we.target.value),onKeyDown:we=>{we.key==="Enter"&&ae.trim()&&(we.preventDefault(),ze()),we.key==="Escape"&&(P(""),H(!1))},placeholder:"Label name",className:`w-full border ${It} rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-green-500 ${$t}`,disabled:G}),m.jsxs("div",{className:"flex gap-2 mt-2",children:[m.jsx("button",{type:"button",onClick:ze,className:"px-3 py-1 bg-green-600 text-white text-sm rounded hover:bg-green-700 transition-colors",disabled:!ae.trim()||G,children:"Add"}),m.jsx("button",{type:"button",onClick:()=>{P(""),H(!1)},className:`px-3 py-1 ${Ze} text-sm ${ot} rounded transition-colors`,children:"Cancel"})]})]}):m.jsxs("button",{type:"button",onClick:()=>H(!0),className:`flex items-center gap-1 text-sm ${Ke} hover:${Ze} ${ot} px-2 py-1.5 rounded transition-colors`,disabled:G,children:[m.jsx(Da,{className:"w-4 h-4"}),m.jsx("span",{children:"Add label"})]})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Ke} uppercase tracking-wide mb-2`,children:"Parent Task"}),_?m.jsxs("div",{children:[m.jsxs("select",{value:O,onChange:we=>{I(we.target.value),ne(!1)},className:`w-56 border ${It} rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-green-500 ${$t}`,disabled:G,children:[m.jsx("option",{value:"",children:"None"}),t.map(we=>{const st=`#${we.id} - ${we.title}`,k=st.length>60?st.substring(0,60)+"...":st;return m.jsx("option",{value:we.id,title:st,children:k},we.id)})]}),m.jsx("button",{type:"button",onClick:()=>ne(!1),className:`mt-2 px-3 py-1 ${Ze} text-sm ${ot} rounded transition-colors`,children:"Cancel"})]}):xe?m.jsxs("button",{type:"button",onClick:()=>ne(!0),className:`w-56 flex items-center gap-2 ${Me} rounded-lg px-3 py-2 text-sm text-left ${ot} transition-colors border ${It}`,disabled:G,children:[m.jsx("span",{className:Ke,children:m.jsx(p2,{className:"w-4 h-4"})}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsxs("span",{className:`text-xs ${Ke} font-mono`,children:["#",xe.id]}),m.jsx("p",{className:`${Ze} truncate`,children:xe.title})]})]}):m.jsxs("button",{type:"button",onClick:()=>ne(!0),className:`flex items-center gap-1 text-sm ${Ke} hover:${Ze} ${ot} px-2 py-1.5 rounded transition-colors`,disabled:G,children:[m.jsx(Da,{className:"w-4 h-4"}),m.jsx("span",{children:"Set parent"})]})]})]})})]})}),m.jsxs("div",{className:`border-t ${It} px-6 py-4 ${Je} flex justify-end gap-3`,children:[m.jsx("button",{type:"button",onClick:n,className:`px-4 py-2 text-sm ${Ze} ${ot} rounded-lg transition-colors`,disabled:G,children:"Cancel"}),m.jsx("button",{type:"button",onClick:pe,className:"px-6 py-2 text-sm bg-green-600 text-white rounded-lg hover:bg-green-700 disabled:opacity-50 transition-colors font-medium",disabled:G||oe||!f.trim(),children:G?"Creating...":"Create Task"})]})]})})})}const jN={todo:"bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300","in-progress":"bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300","in-review":"bg-purple-100 text-purple-700 dark:bg-purple-900 dark:text-purple-300",done:"bg-green-100 text-green-700 dark:bg-green-900 dark:text-green-300",blocked:"bg-red-100 text-red-700 dark:bg-red-900 dark:text-red-300","on-hold":"bg-yellow-100 text-yellow-700 dark:bg-yellow-900 dark:text-yellow-300"},vK={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked","on-hold":"On Hold"};function xK({open:e,onOpenChange:t,onTaskSelect:n,onDocSelect:r}){const[o,s]=v.useState(""),[u,c]=v.useState({tasks:[],docs:[]}),[p,f]=v.useState(!1);v.useEffect(()=>{if(!e){s(""),c({tasks:[],docs:[]});return}if(!o.trim()){c({tasks:[],docs:[]});return}f(!0);const y=setTimeout(()=>{fetch(`/api/search?q=${encodeURIComponent(o)}`).then(T=>T.json()).then(T=>{c({tasks:T.tasks||[],docs:T.docs||[]})}).catch(T=>{console.error("Search failed:",T),c({tasks:[],docs:[]})}).finally(()=>{f(!1)})},300);return()=>clearTimeout(y)},[o,e]);const g=y=>{n(y),t(!1),s("")},h=y=>{r(y),t(!1),s("")};return m.jsx(wB,{open:e,onOpenChange:t,children:m.jsx(UR,{className:"overflow-hidden p-0 max-w-2xl",hideClose:!0,children:m.jsxs(Db,{shouldFilter:!1,children:[m.jsx(Ib,{placeholder:"Search tasks and docs...",value:o,onValueChange:s}),m.jsxs(Ob,{children:[m.jsx(Lb,{children:p?"Searching...":o?"No results found.":"Type to search..."}),u.tasks.length>0&&m.jsx(ls,{heading:"Tasks",children:u.tasks.slice(0,8).map(y=>{const T=jN[y.status]||jN.todo,x=vK[y.status]||y.status;return m.jsxs(Hi,{value:`task-${y.id}`,onSelect:()=>g(y),children:[m.jsx(b2,{className:"mr-2 h-4 w-4 shrink-0"}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[m.jsxs("span",{className:"text-xs font-mono text-muted-foreground",children:["#",y.id]}),m.jsx("span",{className:`text-xs px-2 py-0.5 rounded-full font-medium ${T}`,children:x})]}),m.jsx("div",{className:"font-medium truncate",children:y.title})]})]},y.id)})}),u.tasks.length>0&&u.docs.length>0&&m.jsx($d,{}),u.docs.length>0&&m.jsx(ls,{heading:"Documentation",children:u.docs.slice(0,8).map(y=>{const T=y.metadata?.title||y.filename;return m.jsxs(Hi,{value:`doc-${y.path}`,onSelect:()=>h(y),children:[m.jsx(fi,{className:"mr-2 h-4 w-4 shrink-0"}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsx("div",{className:"font-medium truncate mb-1",children:T}),m.jsx("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:m.jsx("span",{className:"truncate",children:y.path})})]})]},y.path)})})]})]})})})}const AK=[{value:"all",label:"All"},{value:"status",label:"Status"},{value:"assignee",label:"Assignee"},{value:"content",label:"Content"}];function CK(e){const t=e.changes;if(t.length===0)return"Updated";const n=t.find(u=>u.field==="status");if(n){const u=String(n.newValue);return u==="done"?"Completed":u==="in-progress"?"Started working on":u==="in-review"?"Submitted for review":u==="blocked"?"Blocked":`Changed status to ${u}`}const r=t.find(u=>u.field==="assignee");if(r){const u=r.newValue;return u?`Assigned to ${u}`:"Unassigned"}if(t.find(u=>u.field==="title"))return"Updated title";const s=t.find(u=>u.field==="priority");return s?`Set priority to ${s.newValue}`:t.some(u=>u.field==="description")?"Updated description":t.some(u=>u.field==="acceptanceCriteria")?"Updated acceptance criteria":t.some(u=>u.field==="implementationPlan")?"Updated plan":t.some(u=>u.field==="implementationNotes")?"Updated notes":t.some(u=>u.field==="labels")?"Updated labels":`Updated ${t.length} field(s)`}function wK(e){const n=new Date().getTime()-e.getTime(),r=Math.floor(n/6e4),o=Math.floor(n/36e5),s=Math.floor(n/864e5);return r<1?"just now":r<60?`${r}m ago`:o<24?`${o}h ago`:s<7?`${s}d ago`:e.toLocaleDateString()}function NK(e,t){return e.some(n=>n.field==="status"&&n.newValue==="done")?t?"bg-green-900/30 text-green-400":"bg-green-100 text-green-700":e.some(n=>n.field==="status"&&n.newValue==="in-progress")?t?"bg-blue-900/30 text-blue-400":"bg-blue-100 text-blue-700":e.some(n=>n.field==="status"&&n.newValue==="blocked")?t?"bg-red-900/30 text-red-400":"bg-red-100 text-red-700":e.some(n=>n.field==="assignee")?t?"bg-purple-900/30 text-purple-400":"bg-purple-100 text-purple-700":t?"bg-gray-700 text-gray-300":"bg-gray-100 text-gray-700"}function _K({limit:e=20,showFilter:t=!0,onTaskClick:n}){const{isDark:r}=In(),[o,s]=v.useState([]),[u,c]=v.useState(!0),[p,f]=v.useState("all"),[g,h]=v.useState(!1),y=v.useCallback(async()=>{try{const L=p==="all"?void 0:p,O=await ka.getActivities({limit:e,type:L});s(O)}catch(L){console.error("Failed to load activities:",L)}finally{c(!1),h(!1)}},[e,p]);v.useEffect(()=>{y()},[y]),v.useEffect(()=>{const L=cf(O=>{O.type==="tasks:updated"&&y()});return()=>{L&&L.close()}},[y]);const T=()=>{h(!0),y()},x=L=>{n?n(L):window.location.hash=`/kanban/${L}`},C=r?"text-gray-300":"text-gray-700",w=r?"text-gray-400":"text-gray-500",N=r?"bg-gray-700":"bg-white",R=r?"border-gray-600":"border-gray-200",D=r?"hover:bg-gray-600":"hover:bg-gray-50";return m.jsxs("div",{className:"flex flex-col h-full",children:[m.jsxs("div",{className:"flex items-center justify-between mb-3",children:[m.jsxs("div",{className:`flex items-center gap-2 ${C}`,children:[m.jsx(iC,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"Recent Activity"})]}),m.jsx(ea,{variant:"ghost",size:"icon",onClick:T,disabled:g,className:"h-8 w-8",children:m.jsx(T6,{className:`w-4 h-4 ${g?"animate-spin":""}`})})]}),t&&m.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[m.jsx(ib,{className:`w-4 h-4 ${w}`}),m.jsx("select",{value:p,onChange:L=>f(L.target.value),className:`text-sm rounded px-2 py-1 ${N} ${R} border ${C} flex-1`,children:AK.map(L=>m.jsx("option",{value:L.value,children:L.label},L.value))})]}),m.jsx(Nr,{className:"flex-1",children:m.jsx("div",{className:"space-y-1.5 pr-3",children:u?m.jsx("div",{className:`text-sm ${w} py-4 text-center`,children:"Loading activities..."}):o.length===0?m.jsx("div",{className:`text-sm ${w} py-4 text-center`,children:"No recent activity"}):o.map((L,O)=>m.jsx("div",{role:"button",tabIndex:0,onClick:I=>{I.preventDefault(),I.stopPropagation(),x(L.taskId)},onKeyDown:I=>{(I.key==="Enter"||I.key===" ")&&(I.preventDefault(),x(L.taskId))},className:`w-full ${N} rounded p-2 text-left ${D} transition-colors border ${R} cursor-pointer select-none`,children:m.jsxs("div",{className:"flex items-center gap-2",children:[L.author?m.jsx(lu,{name:L.author,size:"xs"}):m.jsx("div",{className:`w-5 h-5 rounded-full flex items-center justify-center shrink-0 ${NK(L.changes,r)}`,children:m.jsx(iC,{className:"w-2.5 h-2.5"})}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsxs("div",{className:"flex items-center gap-1.5",children:[m.jsx("span",{className:`text-xs font-medium ${C} truncate`,children:CK(L)}),m.jsx("span",{className:`text-[10px] ${w} shrink-0`,children:wK(L.timestamp)})]}),m.jsxs("div",{className:`text-[11px] ${w} truncate`,children:[m.jsxs("span",{className:"font-medium",children:["#",L.taskId]})," ",L.taskTitle]})]})]})},`${L.taskId}-${L.version}-${O}`))})})]})}function RK(){const{isDark:e}=In(),[t,n]=v.useState(!1),[r,o]=v.useState(!1),[s,u]=v.useState(()=>{const f=localStorage.getItem("knowns-last-activity-check");return f?new Date(f):new Date}),c=v.useCallback(async()=>{try{const f=await ka.getActivities({limit:1});f.length>0&&new Date(f[0].timestamp)>s&&n(!0)}catch(f){console.error("Failed to check activities:",f)}},[s]);v.useEffect(()=>{c()},[c]),v.useEffect(()=>{const f=cf(g=>{g.type==="tasks:updated"&&!r&&n(!0)});return()=>{f&&f.close()}},[r]);const p=f=>{if(o(f),f){n(!1);const g=new Date;u(g),localStorage.setItem("knowns-last-activity-check",g.toISOString())}};return m.jsxs(NR,{open:r,onOpenChange:p,children:[m.jsx(_R,{asChild:!0,children:m.jsxs(ea,{variant:"ghost",size:"icon",className:"relative h-8 w-8","aria-label":"Notifications",children:[m.jsx(IL,{className:"h-4 w-4"}),t&&m.jsx("span",{className:"absolute top-1 right-1 h-2 w-2 rounded-full bg-blue-500 animate-pulse"})]})}),m.jsx(Rb,{className:`w-80 p-0 ${e?"bg-gray-800 border-gray-700":""}`,align:"end",sideOffset:8,children:m.jsxs("div",{className:"flex flex-col h-[400px]",children:[m.jsx("div",{className:`px-4 py-3 border-b ${e?"border-gray-700":"border-gray-200"}`,children:m.jsx("h3",{className:`font-semibold text-sm ${e?"text-gray-100":"text-gray-900"}`,children:"Recent Activity"})}),m.jsx("div",{className:"flex-1 overflow-hidden p-2",children:m.jsx(_K,{limit:20,showFilter:!1,onTaskClick:f=>{o(!1),window.location.hash=`/kanban/${f}`}})})]})})]})}const mh=["todo","in-progress","in-review","done","blocked","on-hold","urgent"],kK=["gray","blue","green","yellow","red","purple","orange","pink","cyan","indigo"];function DK(){const{isDark:e}=In(),[t,n]=v.useState({}),[r,o]=v.useState(!0),[s,u]=v.useState(!1),[c,p]=v.useState(null),[f,g]=v.useState("form"),[h,y]=v.useState(""),[T,x]=v.useState(null),[C,w]=v.useState(""),N=e?"bg-gray-800":"bg-white",R=e?"text-gray-200":"text-gray-900",D=e?"text-gray-400":"text-gray-600",L=e?"border-gray-700":"border-gray-200",O=e?"bg-gray-700":"bg-white";v.useEffect(()=>{Yi().then(X=>{n(X),y(JSON.stringify(X,null,2)),o(!1)}).catch(X=>{console.error("Failed to load config:",X),o(!1)})},[]),v.useEffect(()=>{f==="form"&&y(JSON.stringify(t,null,2))},[t,f]);const I=async()=>{u(!0),p(null);try{let X=t;if(f==="json")try{X=JSON.parse(h),n(X),x(null)}catch{x("Invalid JSON syntax"),u(!1);return}await d2(X),p({type:"success",text:"Configuration saved successfully!"}),setTimeout(()=>p(null),3e3)}catch(X){p({type:"error",text:X instanceof Error?X.message:"Failed to save config"})}finally{u(!1)}},B=()=>{if(!C.trim())return;const X=C.toLowerCase().replace(/\s+/g,"-"),oe=t.statuses||mh;if(oe.includes(X)){p({type:"error",text:"Status already exists"});return}n({...t,statuses:[...oe,X],statusColors:{...t.statusColors||{},[X]:"gray"}}),w("")},j=X=>{const oe=t.statuses||mh,ue={...t.statusColors||{}};delete ue[X],n({...t,statuses:oe.filter(ie=>ie!==X),statusColors:ue,visibleColumns:(t.visibleColumns||[]).filter(ie=>ie!==X)})},G=(X,oe)=>{n({...t,statusColors:{...t.statusColors||{},[X]:oe}})};if(r)return m.jsx("div",{className:"p-6 flex items-center justify-center h-64",children:m.jsx("div",{className:`text-lg ${D}`,children:"Loading configuration..."})});const z=t.statuses||mh,ee=t.statusColors||{};return m.jsx(Nr,{className:"h-full",children:m.jsxs("div",{className:"p-6 max-w-3xl",children:[m.jsxs("div",{className:"mb-6 flex items-center justify-between shrink-0",children:[m.jsxs("div",{className:"flex items-center gap-3",children:[m.jsx(S2,{className:"w-6 h-6"}),m.jsx("h1",{className:`text-2xl font-bold ${R}`,children:"Configuration"})]}),m.jsxs("div",{className:`flex rounded-lg border ${L} overflow-hidden`,children:[m.jsxs("button",{type:"button",onClick:()=>g("form"),className:`px-3 py-1.5 text-sm flex items-center gap-1.5 transition-colors ${f==="form"?"bg-blue-600 text-white":`${e?"bg-gray-700 text-gray-300 hover:bg-gray-600":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`}`,children:[m.jsx(y6,{className:"w-4 h-4"}),"Form"]}),m.jsxs("button",{type:"button",onClick:()=>g("json"),className:`px-3 py-1.5 text-sm flex items-center gap-1.5 transition-colors ${f==="json"?"bg-blue-600 text-white":`${e?"bg-gray-700 text-gray-300 hover:bg-gray-600":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`}`,children:[m.jsx($L,{className:"w-4 h-4"}),"JSON"]})]})]}),c&&m.jsx("div",{className:`mb-6 p-4 rounded-lg ${c.type==="success"?"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200":"bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200"}`,children:c.text}),f==="json"?m.jsxs("div",{className:`${N} rounded-lg border ${L} p-6 space-y-4`,children:[m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"config.json"}),m.jsx("textarea",{value:h,onChange:X=>{y(X.target.value),x(null)},className:`w-full h-96 px-3 py-2 rounded-lg border ${L} ${O} ${R} font-mono text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`,spellCheck:!1}),T&&m.jsx("p",{className:"mt-2 text-sm text-red-500",children:T})]}),m.jsx("div",{className:"pt-4 border-t border-gray-700",children:m.jsxs("button",{type:"button",onClick:I,disabled:s,className:"px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-lg hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2 transition-colors",children:[m.jsx(Ld,{className:"w-4 h-4"}),s?"Saving...":"Save Configuration"]})})]}):m.jsxs("div",{className:`${N} rounded-lg border ${L} p-6 space-y-6`,children:[m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Project Name"}),m.jsx("input",{type:"text",value:t.name||"",onChange:X=>n({...t,name:X.target.value}),placeholder:"My Project",className:`w-full px-3 py-2 rounded-lg border ${L} ${O} ${R} focus:outline-none focus:ring-2 focus:ring-blue-500`}),m.jsx("p",{className:`mt-1 text-xs ${D}`,children:"Name of your project"})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Default Assignee"}),m.jsx("input",{type:"text",value:t.defaultAssignee||"",onChange:X=>n({...t,defaultAssignee:X.target.value}),placeholder:"@username",className:`w-full px-3 py-2 rounded-lg border ${L} ${O} ${R} focus:outline-none focus:ring-2 focus:ring-blue-500`}),m.jsx("p",{className:`mt-1 text-xs ${D}`,children:"Default assignee for new tasks (e.g., @claude)"})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Default Priority"}),m.jsxs("select",{value:t.defaultPriority||"medium",onChange:X=>n({...t,defaultPriority:X.target.value}),className:`w-full px-3 py-2 rounded-lg border ${L} ${O} ${R} focus:outline-none focus:ring-2 focus:ring-blue-500`,children:[m.jsx("option",{value:"low",children:"Low"}),m.jsx("option",{value:"medium",children:"Medium"}),m.jsx("option",{value:"high",children:"High"})]}),m.jsx("p",{className:`mt-1 text-xs ${D}`,children:"Default priority for new tasks"})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Default Labels"}),m.jsx("input",{type:"text",value:t.defaultLabels?.join(", ")||"",onChange:X=>n({...t,defaultLabels:X.target.value.split(",").map(oe=>oe.trim()).filter(Boolean)}),placeholder:"frontend, backend, ui",className:`w-full px-3 py-2 rounded-lg border ${L} ${O} ${R} focus:outline-none focus:ring-2 focus:ring-blue-500`}),m.jsx("p",{className:`mt-1 text-xs ${D}`,children:"Comma-separated list of default labels for new tasks"})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Time Format"}),m.jsxs("select",{value:t.timeFormat||"24h",onChange:X=>n({...t,timeFormat:X.target.value}),className:`w-full px-3 py-2 rounded-lg border ${L} ${O} ${R} focus:outline-none focus:ring-2 focus:ring-blue-500`,children:[m.jsx("option",{value:"12h",children:"12-hour (AM/PM)"}),m.jsx("option",{value:"24h",children:"24-hour"})]}),m.jsx("p",{className:`mt-1 text-xs ${D}`,children:"Time display format"})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Default Editor"}),m.jsx("input",{type:"text",value:t.editor||"",onChange:X=>n({...t,editor:X.target.value}),placeholder:"code, vim, nano",className:`w-full px-3 py-2 rounded-lg border ${L} ${O} ${R} focus:outline-none focus:ring-2 focus:ring-blue-500`}),m.jsx("p",{className:`mt-1 text-xs ${D}`,children:"Default editor command for editing files"})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Task Statuses"}),m.jsx("div",{className:"space-y-2 mb-3",children:z.map(X=>m.jsxs("div",{className:`flex items-center gap-3 p-2 rounded-lg ${e?"bg-gray-700":"bg-gray-50"}`,children:[m.jsx("span",{className:`flex-1 font-mono text-sm ${R}`,children:X}),m.jsx("select",{value:ee[X]||"gray",onChange:oe=>G(X,oe.target.value),className:`px-2 py-1 rounded border ${L} ${O} ${R} text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`,children:kK.map(oe=>m.jsx("option",{value:oe,children:oe},oe))}),m.jsx("button",{type:"button",onClick:()=>j(X),className:"p-1 text-red-500 hover:text-red-600 hover:bg-red-100 dark:hover:bg-red-900/30 rounded transition-colors",title:"Remove status",children:m.jsx(Md,{className:"w-4 h-4"})})]},X))}),m.jsxs("div",{className:"flex gap-2",children:[m.jsx("input",{type:"text",value:C,onChange:X=>w(X.target.value),placeholder:"new-status",className:`flex-1 px-3 py-2 rounded-lg border ${L} ${O} ${R} focus:outline-none focus:ring-2 focus:ring-blue-500`,onKeyDown:X=>X.key==="Enter"&&B()}),m.jsxs("button",{type:"button",onClick:B,className:"px-3 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 flex items-center gap-1 transition-colors",children:[m.jsx(Da,{className:"w-4 h-4"}),"Add"]})]}),m.jsx("p",{className:`mt-2 text-xs ${D}`,children:"Define custom task statuses and their colors for the Kanban board"})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-sm font-medium ${R} mb-2`,children:"Visible Kanban Columns"}),m.jsx("div",{className:"space-y-2",children:z.map(X=>{const oe=t.visibleColumns?.includes(X)??!0,ue=X.split("-").map(ie=>ie.charAt(0).toUpperCase()+ie.slice(1)).join(" ");return m.jsxs("label",{className:"flex items-center gap-2 cursor-pointer hover:opacity-80 transition-opacity",children:[m.jsx("input",{type:"checkbox",checked:oe,onChange:ie=>{const W=t.visibleColumns||z,re=ie.target.checked?[...W,X]:W.filter(J=>J!==X);n({...t,visibleColumns:re})},className:"w-4 h-4 rounded border-gray-600 text-blue-600 focus:ring-blue-500 focus:ring-offset-gray-800"}),m.jsx("span",{className:R,children:ue})]},X)})}),m.jsx("p",{className:`mt-2 text-xs ${D}`,children:"Select which columns to show in the Kanban board"})]}),m.jsx("div",{className:"pt-4 border-t border-gray-700",children:m.jsxs("button",{type:"button",onClick:I,disabled:s,className:"px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-lg hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2 transition-colors",children:[m.jsx(Ld,{className:"w-4 h-4"}),s?"Saving...":"Save Configuration"]})})]})]})})}function IK(){const{isDark:e}=In(),[t,n]=v.useState([]),[r,o]=v.useState(!0),[s,u]=v.useState(null),[c,p]=v.useState(!1),[f,g]=v.useState(""),[h,y]=v.useState(!1),[T,x]=v.useState(!1),[C,w]=v.useState(""),[N,R]=v.useState(""),[D,L]=v.useState(""),[O,I]=v.useState(""),[B,j]=v.useState(""),[G,z]=v.useState(!1),[ee,X]=v.useState(new Set(["(root)"])),[oe,ue]=v.useState(!1),ie=v.useRef(null),W=e?"bg-gray-800":"bg-white",re=e?"text-gray-200":"text-gray-900",J=e?"text-gray-400":"text-gray-600",ae=e?"border-gray-700":"border-gray-200",P=e?"hover:bg-gray-700":"hover:bg-gray-50";v.useEffect(()=>{H();const pe=cf(He=>{(He.type==="docs:updated"||He.type==="docs:refresh")&&H()});return()=>{pe&&pe.close()}},[]);const V=v.useCallback(()=>{if(t.length===0)return;const He=window.location.hash.match(/^#\/docs\/(.+)$/);if(He){const xe=decodeURIComponent(He[1]).replace(/^\.\//,"").replace(/^\//,""),rt=t.find(Me=>Me.path===xe||Me.path.endsWith(`/${xe}`)||Me.filename===xe);rt&&rt!==s&&(u(rt),p(!1))}},[t,s]);v.useEffect(()=>{V()},[V]),v.useEffect(()=>{if(!s||!s.folder)return;const pe=s.folder.split("/"),He=[];let $e="";for(const xe of pe)$e=$e?`${$e}/${xe}`:xe,He.push($e);X(xe=>{const rt=new Set(xe);for(const Me of He)rt.add(Me);return rt})},[s]),v.useEffect(()=>(window.addEventListener("hashchange",V),()=>window.removeEventListener("hashchange",V)),[V]),v.useEffect(()=>{const pe=$e=>{let xe=$e.target;for(;xe&&xe.tagName!=="A"&&xe!==ie.current;)xe=xe.parentElement;if(xe&&xe.tagName==="A"){const Me=xe.getAttribute("href");if(Me&&/^task-\d+(.md)?$/.test(Me)){$e.preventDefault();const Je=Me.replace(".md","");window.location.hash=`/tasks?task=${Je}`;return}if(Me&&(Me.endsWith(".md")||Me.includes(".md#"))){$e.preventDefault();let Je=Me.replace(/^\.\//,"").replace(/^\//,"");Je=Je.split("#")[0],window.location.hash=`/docs/${Je}`}}},He=ie.current;if(He)return He.addEventListener("click",pe),()=>He.removeEventListener("click",pe)},[t,s]);const H=()=>{EL().then(pe=>{n(pe),o(!1)}).catch(pe=>{console.error("Failed to load docs:",pe),o(!1)})},_=async()=>{if(!C.trim()){alert("Please enter a title");return}z(!0);try{const pe=D.split(",").map(He=>He.trim()).filter(He=>He);await SL({title:C,description:N,tags:pe,folder:O,content:B}),w(""),R(""),L(""),I(""),j(""),x(!1),H()}catch(pe){console.error("Failed to create doc:",pe),alert("Failed to create document. Please try again.")}finally{z(!1)}},ne=()=>{s&&(g(s.content),p(!0))},se=()=>{if(s){const pe=`${window.location.origin}${window.location.pathname}#/docs/${s.path}`;navigator.clipboard.writeText(pe).then(()=>{ue(!0),setTimeout(()=>ue(!1),2e3)})}},q=async()=>{if(s){y(!0);try{const pe=await TL(s.path,{content:f});n(He=>He.map($e=>$e.path===s.path?{...$e,content:f,metadata:{...$e.metadata,updatedAt:new Date().toISOString()}}:$e)),u(He=>He&&{...He,content:f}),p(!1)}catch(pe){console.error("Failed to save doc:",pe),alert(pe instanceof Error?pe.message:"Failed to save document")}finally{y(!1)}}},Ee=()=>{p(!1),g("")},de=pe=>{X(He=>{const $e=new Set(He);return $e.has(pe)?$e.delete(pe):$e.add(pe),$e})},Te=()=>{const pe={name:"(root)",path:"",docs:[],children:new Map};for(const He of t)if(!He.folder)pe.docs.push(He);else{const $e=He.folder.split("/");let xe=pe;for(let rt=0;rt<$e.length;rt++){const Me=$e[rt],Je=$e.slice(0,rt+1).join("/");xe.children.has(Me)||xe.children.set(Me,{name:Me,path:Je,docs:[],children:new Map}),xe=xe.children.get(Me)}xe.docs.push(He)}return pe},ze=pe=>{let He=pe.docs.length;for(const $e of pe.children.values())He+=ze($e);return He},Qe=(pe,He=0)=>{const $e=[],xe=He===0||ee.has(pe.path),rt=`${He*16}px`;if(He>0){const Me=ze(pe);$e.push(m.jsxs("button",{type:"button",onClick:()=>de(pe.path),className:`w-full flex items-center gap-2 px-3 py-2 ${P} ${re} transition-colors`,style:{paddingLeft:rt},children:[xe?m.jsx(m2,{className:"w-4 h-4"}):m.jsx(g2,{className:"w-4 h-4"}),xe?m.jsx(e6,{className:"w-4 h-4"}):m.jsx(oC,{className:"w-4 h-4"}),m.jsx("span",{className:"text-sm font-medium",children:pe.name}),m.jsxs("span",{className:`text-xs ${J}`,children:["(",Me,")"]})]},`folder-${pe.path}`))}if(xe||He===0){const Me=Array.from(pe.children.values()).sort((Ze,Ke)=>Ze.name.localeCompare(Ke.name));for(const Ze of Me)$e.push(...Qe(Ze,He+1));const Je=[...pe.docs].sort((Ze,Ke)=>Ze.metadata.title.localeCompare(Ke.metadata.title));for(const Ze of Je)$e.push(m.jsxs("button",{type:"button",onClick:()=>{window.location.hash=`/docs/${Ze.path}`},className:`w-full text-left px-3 py-2 flex items-center gap-2 ${P} ${re} transition-colors ${s?.path===Ze.path?e?"bg-gray-700":"bg-gray-100":""}`,style:{paddingLeft:`${(He+1)*16}px`},children:[m.jsx(fi,{className:"w-5 h-5"}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsx("div",{className:"text-sm font-medium truncate",children:Ze.metadata.title}),Ze.metadata.description&&m.jsx("div",{className:`text-xs ${J} truncate`,children:Ze.metadata.description})]})]},`doc-${Ze.path}`))}return $e};return r?m.jsx("div",{className:"p-6 flex items-center justify-center h-64",children:m.jsx("div",{className:`text-lg ${J}`,children:"Loading documentation..."})}):m.jsxs("div",{className:"p-6 h-full flex flex-col overflow-hidden",children:[m.jsxs("div",{className:"mb-6 flex items-center justify-between",children:[m.jsx("h1",{className:`text-2xl font-bold ${re}`,children:"Documentation"}),m.jsxs("button",{type:"button",onClick:()=>x(!0),className:"px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 flex items-center gap-2 transition-colors",children:[m.jsx(Da,{className:"w-4 h-4"}),"New Document"]})]}),m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 flex-1 min-h-0 overflow-hidden",children:[m.jsxs("div",{className:"lg:col-span-1 flex flex-col min-h-0 overflow-hidden",children:[m.jsxs("div",{className:`${W} rounded-lg border ${ae} overflow-hidden flex flex-col flex-1 min-h-0`,children:[m.jsx("div",{className:`p-4 border-b ${ae} shrink-0`,children:m.jsxs("h2",{className:`font-semibold ${re}`,children:["All Documents (",t.length,")"]})}),m.jsx(Nr,{className:"flex-1",children:Qe(Te())})]}),t.length===0&&m.jsxs("div",{className:`${W} rounded-lg border ${ae} p-8 text-center`,children:[m.jsx(fi,{className:"w-5 h-5"}),m.jsx("p",{className:`mt-2 ${J}`,children:"No documentation found"}),m.jsxs("p",{className:`text-sm ${J} mt-1`,children:["Create a doc with: ",m.jsx("code",{className:"font-mono",children:'knowns doc create "Title"'})]})]})]}),m.jsx("div",{className:"lg:col-span-2 flex flex-col min-h-0 overflow-hidden",children:s?m.jsxs("div",{className:`${W} rounded-lg border ${ae} overflow-hidden flex flex-col flex-1 min-h-0`,children:[m.jsxs("div",{className:"p-6 border-b border-gray-700 flex items-start justify-between shrink-0",children:[m.jsxs("div",{className:"flex-1",children:[m.jsx("h2",{className:`text-2xl font-bold ${re} mb-2`,children:s.metadata.title}),s.metadata.description&&m.jsx("p",{className:`${J} mb-2`,children:s.metadata.description}),m.jsxs("button",{type:"button",onClick:se,className:`flex items-center gap-2 px-2 py-1 rounded text-xs ${J} ${P} transition-colors group`,title:"Click to copy URL",children:[m.jsx(oC,{className:"w-4 h-4"}),m.jsxs("span",{className:"font-mono",children:["/docs/",s.path]}),m.jsx("span",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:oe?"✓":m.jsx(qL,{className:"w-4 h-4"})})]}),m.jsxs("div",{className:`text-sm ${J} mt-2`,children:["Last updated: ",new Date(s.metadata.updatedAt).toLocaleString()]})]}),m.jsx("div",{className:"flex gap-2 ml-4",children:c?m.jsxs(m.Fragment,{children:[m.jsxs("button",{type:"button",onClick:q,disabled:h,className:"px-3 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 disabled:opacity-50 flex items-center gap-2 transition-colors",children:[m.jsx(Ld,{className:"w-4 h-4"}),h?"Saving...":"Save"]}),m.jsxs("button",{type:"button",onClick:Ee,disabled:h,className:`px-3 py-2 ${e?"bg-gray-700 hover:bg-gray-600":"bg-gray-200 hover:bg-gray-300"} ${re} text-sm font-medium rounded-lg disabled:opacity-50 flex items-center gap-2 transition-colors`,children:[m.jsx(Eu,{className:"w-4 h-4"}),"Cancel"]})]}):m.jsxs("button",{type:"button",onClick:ne,className:"px-3 py-2 bg-blue-600 text-white text-sm font-medium rounded-lg hover:bg-blue-700 flex items-center gap-2 transition-colors",children:[m.jsx(E2,{className:"w-4 h-4"}),"Edit"]})})]}),c?m.jsx("div",{className:"flex-1 p-6 overflow-hidden",children:m.jsx(Vi,{markdown:f,onChange:g,placeholder:"Write your documentation here...",height:"100%"})}):m.jsx(Nr,{className:"flex-1",children:m.jsx("div",{className:"p-6",children:m.jsx(au,{markdown:s.content||"",className:re})})})]}):m.jsxs("div",{className:`${W} rounded-lg border ${ae} p-12 text-center`,children:[m.jsx(fi,{className:"w-5 h-5"}),m.jsx("p",{className:`mt-4 ${J}`,children:"Select a document to view its content"})]})})]}),T&&m.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",children:m.jsxs("div",{className:`${W} rounded-lg shadow-xl max-w-4xl w-full h-[90vh] flex flex-col`,children:[m.jsx("div",{className:`p-6 border-b ${ae} shrink-0`,children:m.jsx("h2",{className:`text-xl font-bold ${re}`,children:"Create New Document"})}),m.jsxs("div",{className:"p-6 space-y-4 flex-1 flex flex-col overflow-hidden",children:[m.jsxs("div",{className:"shrink-0",children:[m.jsx("label",{className:`block text-sm font-medium ${re} mb-2`,children:"Title *"}),m.jsx("input",{type:"text",value:C,onChange:pe=>w(pe.target.value),placeholder:"Document title",className:`w-full px-3 py-2 rounded-lg border ${ae} ${e?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`})]}),m.jsxs("div",{className:"shrink-0",children:[m.jsx("label",{className:`block text-sm font-medium ${re} mb-2`,children:"Description"}),m.jsx("input",{type:"text",value:N,onChange:pe=>R(pe.target.value),placeholder:"Brief description",className:`w-full px-3 py-2 rounded-lg border ${ae} ${e?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`})]}),m.jsxs("div",{className:"shrink-0",children:[m.jsx("label",{className:`block text-sm font-medium ${re} mb-2`,children:"Folder (optional)"}),m.jsx("input",{type:"text",value:O,onChange:pe=>I(pe.target.value),placeholder:"api/auth, guides, etc. (leave empty for root)",className:`w-full px-3 py-2 rounded-lg border ${ae} ${e?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`})]}),m.jsxs("div",{className:"shrink-0",children:[m.jsx("label",{className:`block text-sm font-medium ${re} mb-2`,children:"Tags (comma-separated)"}),m.jsx("input",{type:"text",value:D,onChange:pe=>L(pe.target.value),placeholder:"guide, tutorial, api",className:`w-full px-3 py-2 rounded-lg border ${ae} ${e?"bg-gray-700 text-gray-200":"bg-white text-gray-900"} focus:outline-none focus:ring-2 focus:ring-blue-500`})]}),m.jsxs("div",{className:"flex-1 flex flex-col min-h-0",children:[m.jsx("label",{className:`block text-sm font-medium ${re} mb-2`,children:"Content"}),m.jsx("div",{className:"flex-1 min-h-[400px]",children:m.jsx(Vi,{markdown:B,onChange:j,placeholder:"Write your documentation here...",height:"100%"})})]})]}),m.jsxs("div",{className:`p-6 border-t ${ae} flex justify-end gap-3 shrink-0`,children:[m.jsx("button",{type:"button",onClick:()=>{x(!1),w(""),R(""),L(""),I(""),j("")},disabled:G,className:`px-4 py-2 ${e?"bg-gray-700 hover:bg-gray-600":"bg-gray-200 hover:bg-gray-300"} ${re} text-sm font-medium rounded-lg disabled:opacity-50 transition-colors`,children:"Cancel"}),m.jsx("button",{type:"button",onClick:_,disabled:G||!C.trim(),className:"px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 disabled:opacity-50 transition-colors",children:G?"Creating...":"Create Document"})]})]})})]})}function MI(e){const t=e;return{bg:`bg-${t}-100`,darkBg:`bg-${t}-900/50`,text:`text-${t}-700`,darkText:`text-${t}-300`,columnBg:`bg-${t}-50`,columnBorder:`border-${t}-200`,columnBgDark:`bg-${t}-900/30`,columnBorderDark:`border-${t}-800`}}const FI={bg:"bg-gray-100",darkBg:"bg-gray-700",text:"text-gray-700",darkText:"text-gray-300",columnBg:"bg-gray-50",columnBorder:"border-gray-200",columnBgDark:"bg-gray-800",columnBorderDark:"border-gray-700"},BI={todo:"gray","in-progress":"blue","in-review":"purple",done:"green",blocked:"red","on-hold":"yellow",urgent:"orange"},HN={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked","on-hold":"On Hold",urgent:"Urgent"};function OK(e){return HN[e]?HN[e]:e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function LK({task:e,onClick:t}){const{isDark:n}=In(),[r,o]=v.useState(BI);v.useEffect(()=>{Yi().then(h=>{h?.statusColors&&o(h.statusColors)}).catch(h=>console.error("Failed to load status colors:",h))},[]);const s=r[e.status]?MI(r[e.status]):FI,u=h=>{h.dataTransfer.setData("taskId",e.id),h.dataTransfer.effectAllowed="move"},c=h=>{h.defaultPrevented||t?.()},p=e.acceptanceCriteria.filter(h=>h.completed).length,f=e.acceptanceCriteria.length,g=n?`${s.darkBg} ${s.darkText}`:`${s.bg} ${s.text}`;return m.jsxs("button",{type:"button",className:`task-card rounded-lg shadow hover:shadow-md p-3 cursor-pointer active:cursor-grabbing select-none w-full text-left ${n?"bg-gray-700 hover:bg-gray-650":"bg-white"}`,draggable:!0,onDragStart:u,onClick:c,"aria-label":`Task ${e.id}: ${e.title}`,children:[m.jsxs("div",{className:"flex items-center justify-between gap-2 mb-1",children:[m.jsxs("span",{className:`text-xs font-mono shrink-0 ${n?"text-gray-500":"text-gray-400"}`,children:["#",e.id]}),m.jsxs("div",{className:"flex items-center gap-1 flex-wrap justify-end",children:[m.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${g}`,children:OK(e.status)}),e.priority==="high"&&m.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${n?"bg-red-900/50 text-red-300":"bg-red-100 text-red-700"}`,children:"HIGH"}),e.priority==="medium"&&m.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${n?"bg-yellow-900/50 text-yellow-300":"bg-yellow-100 text-yellow-700"}`,children:"MED"})]})]}),m.jsx("h3",{className:`font-medium text-sm mb-2 line-clamp-2 ${n?"text-gray-100":"text-gray-900"}`,children:e.title}),f>0&&m.jsxs("div",{className:`flex items-center gap-2 text-xs mb-2 ${n?"text-gray-400":"text-gray-500"}`,children:[m.jsx(h2,{className:"w-3 h-3","aria-hidden":"true"}),m.jsxs("span",{children:[p,"/",f]})]}),e.labels.length>0&&m.jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:e.labels.map(h=>m.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded ${n?"bg-blue-900/50 text-blue-300":"bg-blue-100 text-blue-700"}`,children:h},h))}),e.assignee&&m.jsxs("div",{className:`flex items-center gap-1.5 text-xs mt-2 ${n?"text-gray-400":"text-gray-600"}`,children:[m.jsx(lu,{name:e.assignee,size:"sm"}),m.jsx("span",{children:e.assignee})]})]})}const zN={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked","on-hold":"On Hold",urgent:"Urgent"};function MK(e){return zN[e]?zN[e]:e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function FK({status:e,tasks:t,onDrop:n,onTaskClick:r}){const{isDark:o}=In(),[s,u]=v.useState(!1),[c,p]=v.useState(BI);v.useEffect(()=>{Yi().then(x=>{x?.statusColors&&p(x.statusColors)}).catch(x=>console.error("Failed to load status colors:",x))},[]);const f=c[e]?MI(c[e]):FI,g=o?`${f.columnBgDark} ${f.columnBorderDark}`:`${f.columnBg} ${f.columnBorder}`,h=x=>{x.preventDefault(),x.dataTransfer.dropEffect="move",u(!0)},y=()=>{u(!1)},T=x=>{x.preventDefault(),u(!1);const C=x.dataTransfer.getData("taskId");C&&n(C,e)};return m.jsxs("div",{className:`rounded-lg border-2 p-4 min-w-[380px] max-w-[420px] flex-shrink-0 transition-colors flex flex-col max-h-[calc(100vh-220px)] ${g} ${s?"ring-2 ring-blue-400 border-blue-400":""}`,onDragOver:h,onDragLeave:y,onDrop:T,children:[m.jsxs("div",{className:"flex items-center justify-between mb-3 shrink-0",children:[m.jsx("h2",{className:`font-bold text-sm uppercase tracking-wide ${o?"text-gray-300":"text-gray-700"}`,children:MK(e)}),m.jsx("span",{className:`text-xs rounded-full px-2 py-1 font-medium ${o?"text-gray-400 bg-gray-700":"text-gray-500 bg-white"}`,children:t.length})]}),m.jsx(Nr,{className:"flex-1 -mr-2 pr-2",children:m.jsx("div",{className:"space-y-2 stagger-animation",children:t.length===0?m.jsx("div",{className:`text-center py-8 text-sm ${o?"text-gray-500":"text-gray-400"}`,children:"No tasks"}):t.map(x=>m.jsx(LK,{task:x,onClick:()=>r(x)},x.id))})})]})}var sp="Collapsible",[BK]=xs(sp),[UK,eT]=BK(sp),UI=v.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:s,onOpenChange:u,...c}=e,[p,f]=df({prop:r,defaultProp:o??!1,onChange:u,caller:sp});return m.jsx(UK,{scope:n,disabled:s,contentId:wr(),open:p,onOpenToggle:v.useCallback(()=>f(g=>!g),[f]),children:m.jsx(kt.div,{"data-state":nT(p),"data-disabled":s?"":void 0,...c,ref:t})})});UI.displayName=sp;var PI="CollapsibleTrigger",jI=v.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=eT(PI,n);return m.jsx(kt.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":nT(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Pt(e.onClick,o.onOpenToggle)})});jI.displayName=PI;var tT="CollapsibleContent",HI=v.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=eT(tT,e.__scopeCollapsible);return m.jsx(fr,{present:n||o.open,children:({present:s})=>m.jsx(PK,{...r,ref:t,present:s})})});HI.displayName=tT;var PK=v.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...s}=e,u=eT(tT,n),[c,p]=v.useState(r),f=v.useRef(null),g=pn(t,f),h=v.useRef(0),y=h.current,T=v.useRef(0),x=T.current,C=u.open||c,w=v.useRef(C),N=v.useRef(void 0);return v.useEffect(()=>{const R=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(R)},[]),ta(()=>{const R=f.current;if(R){N.current=N.current||{transitionDuration:R.style.transitionDuration,animationName:R.style.animationName},R.style.transitionDuration="0s",R.style.animationName="none";const D=R.getBoundingClientRect();h.current=D.height,T.current=D.width,w.current||(R.style.transitionDuration=N.current.transitionDuration,R.style.animationName=N.current.animationName),p(r)}},[u.open,r]),m.jsx(kt.div,{"data-state":nT(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!C,...s,ref:g,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:C&&o})});function nT(e){return e?"open":"closed"}var jK=UI;const HK=jK,zK=jI,$K=HI;var Hl={},gh={exports:{}},hh,$N;function GK(){if($N)return hh;$N=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return hh=e,hh}var bh,GN;function VK(){if(GN)return bh;GN=1;var e=GK();function t(){}function n(){}return n.resetWarningCache=t,bh=function(){function r(u,c,p,f,g,h){if(h!==e){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},bh}var VN;function YK(){return VN||(VN=1,gh.exports=VK()()),gh.exports}var Eh={exports:{}};var YN;function qK(){return YN||(YN=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(s=o(s,r(c)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var u="";for(var c in s)t.call(s,c)&&s[c]&&(u=o(u,c));return u}function o(s,u){return u?s?s+" "+u:s+u:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Eh)),Eh.exports}var ji={},Yl={exports:{}};var WK=Yl.exports,qN;function XK(){return qN||(qN=1,(function(e,t){(function(n,r){r(t)})(WK,function(n){function r(){}r.prototype={diff:function(U,K){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ne=le.callback;typeof le=="function"&&(Ne=le,le={}),this.options=le;var Ae=this;function Fe(Ve){return Ne?(setTimeout(function(){Ne(void 0,Ve)},0),!0):Ve}U=this.castInput(U),K=this.castInput(K),U=this.removeEmpty(this.tokenize(U)),K=this.removeEmpty(this.tokenize(K));var De=K.length,Re=U.length,je=1,be=De+Re,Ie=[{newPos:-1,components:[]}],fe=this.extractCommon(Ie[0],K,U,0);if(Ie[0].newPos+1>=De&&fe+1>=Re)return Fe([{value:this.join(K),count:K.length}]);function Oe(){for(var Ve=-1*je;Ve<=je;Ve+=2){var Nt=void 0,tt=Ie[Ve-1],lt=Ie[Ve+1],Wt=(lt?lt.newPos:0)-Ve;tt&&(Ie[Ve-1]=void 0);var vt=tt&&tt.newPos+1<De,an=lt&&0<=Wt&&Wt<Re;if(!vt&&!an){Ie[Ve]=void 0;continue}if(!vt||an&&tt.newPos<lt.newPos?(Nt=s(lt),Ae.pushComponent(Nt.components,void 0,!0)):(Nt=tt,Nt.newPos++,Ae.pushComponent(Nt.components,!0,void 0)),Wt=Ae.extractCommon(Nt,K,U,Ve),Nt.newPos+1>=De&&Wt+1>=Re)return Fe(o(Ae,Nt.components,K,U,Ae.useLongestToken));Ie[Ve]=Nt}je++}if(Ne)(function Ve(){setTimeout(function(){if(je>be)return Ne();Oe()||Ve()},0)})();else for(;je<=be;){var Xe=Oe();if(Xe)return Xe}},pushComponent:function(U,K,le){var Ne=U[U.length-1];Ne&&Ne.added===K&&Ne.removed===le?U[U.length-1]={count:Ne.count+1,added:K,removed:le}:U.push({count:1,added:K,removed:le})},extractCommon:function(U,K,le,Ne){for(var Ae=K.length,Fe=le.length,De=U.newPos,Re=De-Ne,je=0;De+1<Ae&&Re+1<Fe&&this.equals(K[De+1],le[Re+1]);)De++,Re++,je++;return je&&U.components.push({count:je}),U.newPos=De,Re},equals:function(U,K){return this.options.comparator?this.options.comparator(U,K):U===K||this.options.ignoreCase&&U.toLowerCase()===K.toLowerCase()},removeEmpty:function(U){for(var K=[],le=0;le<U.length;le++)U[le]&&K.push(U[le]);return K},castInput:function(U){return U},tokenize:function(U){return U.split("")},join:function(U){return U.join("")}};function o(k,U,K,le,Ne){for(var Ae=0,Fe=U.length,De=0,Re=0;Ae<Fe;Ae++){var je=U[Ae];if(je.removed){if(je.value=k.join(le.slice(Re,Re+je.count)),Re+=je.count,Ae&&U[Ae-1].added){var Ie=U[Ae-1];U[Ae-1]=U[Ae],U[Ae]=Ie}}else{if(!je.added&&Ne){var be=K.slice(De,De+je.count);be=be.map(function(Oe,Xe){var Ve=le[Re+Xe];return Ve.length>Oe.length?Ve:Oe}),je.value=k.join(be)}else je.value=k.join(K.slice(De,De+je.count));De+=je.count,je.added||(Re+=je.count)}}var fe=U[Fe-1];return Fe>1&&typeof fe.value=="string"&&(fe.added||fe.removed)&&k.equals("",fe.value)&&(U[Fe-2].value+=fe.value,U.pop()),U}function s(k){return{newPos:k.newPos,components:k.components.slice(0)}}var u=new r;function c(k,U,K){return u.diff(k,U,K)}function p(k,U){if(typeof k=="function")U.callback=k;else if(k)for(var K in k)k.hasOwnProperty(K)&&(U[K]=k[K]);return U}var f=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,g=/\S/,h=new r;h.equals=function(k,U){return this.options.ignoreCase&&(k=k.toLowerCase(),U=U.toLowerCase()),k===U||this.options.ignoreWhitespace&&!g.test(k)&&!g.test(U)},h.tokenize=function(k){for(var U=k.split(/(\s+|[()[\]{}'"]|\b)/),K=0;K<U.length-1;K++)!U[K+1]&&U[K+2]&&f.test(U[K])&&f.test(U[K+2])&&(U[K]+=U[K+2],U.splice(K+1,2),K--);return U};function y(k,U,K){return K=p(K,{ignoreWhitespace:!0}),h.diff(k,U,K)}function T(k,U,K){return h.diff(k,U,K)}var x=new r;x.tokenize=function(k){var U=[],K=k.split(/(\n|\r\n)/);K[K.length-1]||K.pop();for(var le=0;le<K.length;le++){var Ne=K[le];le%2&&!this.options.newlineIsToken?U[U.length-1]+=Ne:(this.options.ignoreWhitespace&&(Ne=Ne.trim()),U.push(Ne))}return U};function C(k,U,K){return x.diff(k,U,K)}function w(k,U,K){var le=p(K,{ignoreWhitespace:!0});return x.diff(k,U,le)}var N=new r;N.tokenize=function(k){return k.split(/(\S.+?[.!?])(?=\s+|$)/)};function R(k,U,K){return N.diff(k,U,K)}var D=new r;D.tokenize=function(k){return k.split(/([{}:;,]|\s+)/)};function L(k,U,K){return D.diff(k,U,K)}function O(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(U){return typeof U}:O=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},O(k)}function I(k){return B(k)||j(k)||G()}function B(k){if(Array.isArray(k)){for(var U=0,K=new Array(k.length);U<k.length;U++)K[U]=k[U];return K}}function j(k){if(Symbol.iterator in Object(k)||Object.prototype.toString.call(k)==="[object Arguments]")return Array.from(k)}function G(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var z=Object.prototype.toString,ee=new r;ee.useLongestToken=!0,ee.tokenize=x.tokenize,ee.castInput=function(k){var U=this.options,K=U.undefinedReplacement,le=U.stringifyReplacer,Ne=le===void 0?function(Ae,Fe){return typeof Fe>"u"?K:Fe}:le;return typeof k=="string"?k:JSON.stringify(oe(k,null,null,Ne),Ne," ")},ee.equals=function(k,U){return r.prototype.equals.call(ee,k.replace(/,([\r\n])/g,"$1"),U.replace(/,([\r\n])/g,"$1"))};function X(k,U,K){return ee.diff(k,U,K)}function oe(k,U,K,le,Ne){U=U||[],K=K||[],le&&(k=le(Ne,k));var Ae;for(Ae=0;Ae<U.length;Ae+=1)if(U[Ae]===k)return K[Ae];var Fe;if(z.call(k)==="[object Array]"){for(U.push(k),Fe=new Array(k.length),K.push(Fe),Ae=0;Ae<k.length;Ae+=1)Fe[Ae]=oe(k[Ae],U,K,le,Ne);return U.pop(),K.pop(),Fe}if(k&&k.toJSON&&(k=k.toJSON()),O(k)==="object"&&k!==null){U.push(k),Fe={},K.push(Fe);var De=[],Re;for(Re in k)k.hasOwnProperty(Re)&&De.push(Re);for(De.sort(),Ae=0;Ae<De.length;Ae+=1)Re=De[Ae],Fe[Re]=oe(k[Re],U,K,le,Re);U.pop(),K.pop()}else Fe=k;return Fe}var ue=new r;ue.tokenize=function(k){return k.slice()},ue.join=ue.removeEmpty=function(k){return k};function ie(k,U,K){return ue.diff(k,U,K)}function W(k){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=k.split(/\r\n|[\n\v\f\r\x85]/),le=k.match(/\r\n|[\n\v\f\r\x85]/g)||[],Ne=[],Ae=0;function Fe(){var je={};for(Ne.push(je);Ae<K.length;){var be=K[Ae];if(/^(\-\-\-|\+\+\+|@@)\s/.test(be))break;var Ie=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(be);Ie&&(je.index=Ie[1]),Ae++}for(De(je),De(je),je.hunks=[];Ae<K.length;){var fe=K[Ae];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(fe))break;if(/^@@/.test(fe))je.hunks.push(Re());else{if(fe&&U.strict)throw new Error("Unknown line "+(Ae+1)+" "+JSON.stringify(fe));Ae++}}}function De(je){var be=/^(---|\+\+\+)\s+(.*)$/.exec(K[Ae]);if(be){var Ie=be[1]==="---"?"old":"new",fe=be[2].split(" ",2),Oe=fe[0].replace(/\\\\/g,"\\");/^".*"$/.test(Oe)&&(Oe=Oe.substr(1,Oe.length-2)),je[Ie+"FileName"]=Oe,je[Ie+"Header"]=(fe[1]||"").trim(),Ae++}}function Re(){for(var je=Ae,be=K[Ae++],Ie=be.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),fe={oldStart:+Ie[1],oldLines:+Ie[2]||1,newStart:+Ie[3],newLines:+Ie[4]||1,lines:[],linedelimiters:[]},Oe=0,Xe=0;Ae<K.length&&!(K[Ae].indexOf("--- ")===0&&Ae+2<K.length&&K[Ae+1].indexOf("+++ ")===0&&K[Ae+2].indexOf("@@")===0);Ae++){var Ve=K[Ae].length==0&&Ae!=K.length-1?" ":K[Ae][0];if(Ve==="+"||Ve==="-"||Ve===" "||Ve==="\\")fe.lines.push(K[Ae]),fe.linedelimiters.push(le[Ae]||`
|
|
143
|
-
`),Ve==="+"?Oe++:Ve==="-"?Xe++:Ve===" "&&(Oe++,Xe++);else break}if(!Oe&&fe.newLines===1&&(fe.newLines=0),!Xe&&fe.oldLines===1&&(fe.oldLines=0),U.strict){if(Oe!==fe.newLines)throw new Error("Added line count did not match for hunk at line "+(je+1));if(Xe!==fe.oldLines)throw new Error("Removed line count did not match for hunk at line "+(je+1))}return fe}for(;Ae<K.length;)Fe();return Ne}function re(k,U,K){var le=!0,Ne=!1,Ae=!1,Fe=1;return function De(){if(le&&!Ae){if(Ne?Fe++:le=!1,k+Fe<=K)return Fe;Ae=!0}if(!Ne)return Ae||(le=!0),U<=k-Fe?-Fe++:(Ne=!0,De())}}function J(k,U){var K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof U=="string"&&(U=W(U)),Array.isArray(U)){if(U.length>1)throw new Error("applyPatch only works with a single input.");U=U[0]}var le=k.split(/\r\n|[\n\v\f\r\x85]/),Ne=k.match(/\r\n|[\n\v\f\r\x85]/g)||[],Ae=U.hunks,Fe=K.compareLine||function(co,zn,Zt,Qt){return zn===Qt},De=0,Re=K.fuzzFactor||0,je=0,be=0,Ie,fe;function Oe(co,zn){for(var Zt=0;Zt<co.lines.length;Zt++){var Qt=co.lines[Zt],Hr=Qt.length>0?Qt[0]:" ",Ps=Qt.length>0?Qt.substr(1):Qt;if(Hr===" "||Hr==="-"){if(!Fe(zn+1,le[zn],Hr,Ps)&&(De++,De>Re))return!1;zn++}}return!0}for(var Xe=0;Xe<Ae.length;Xe++){for(var Ve=Ae[Xe],Nt=le.length-Ve.oldLines,tt=0,lt=be+Ve.oldStart-1,Wt=re(lt,je,Nt);tt!==void 0;tt=Wt())if(Oe(Ve,lt+tt)){Ve.offset=be+=tt;break}if(tt===void 0)return!1;je=Ve.offset+Ve.oldStart+Ve.oldLines}for(var vt=0,an=0;an<Ae.length;an++){var Xt=Ae[an],Kt=Xt.oldStart+Xt.offset+vt-1;vt+=Xt.newLines-Xt.oldLines,Kt<0&&(Kt=0);for(var jn=0;jn<Xt.lines.length;jn++){var on=Xt.lines[jn],Hn=on.length>0?on[0]:" ",yi=on.length>0?on.substr(1):on,Si=Xt.linedelimiters[jn];if(Hn===" ")Kt++;else if(Hn==="-")le.splice(Kt,1),Ne.splice(Kt,1);else if(Hn==="+")le.splice(Kt,0,yi),Ne.splice(Kt,0,Si),Kt++;else if(Hn==="\\"){var ua=Xt.lines[jn-1]?Xt.lines[jn-1][0]:null;ua==="+"?Ie=!0:ua==="-"&&(fe=!0)}}}if(Ie)for(;!le[le.length-1];)le.pop(),Ne.pop();else fe&&(le.push(""),Ne.push(`
|
|
144
|
-
`));for(var jr=0;jr<le.length-1;jr++)le[jr]=le[jr]+Ne[jr];return le.join("")}function ae(k,U){typeof k=="string"&&(k=W(k));var K=0;function le(){var Ne=k[K++];if(!Ne)return U.complete();U.loadFile(Ne,function(Ae,Fe){if(Ae)return U.complete(Ae);var De=J(Fe,Ne,U);U.patched(Ne,De,function(Re){if(Re)return U.complete(Re);le()})})}le()}function P(k,U,K,le,Ne,Ae,Fe){Fe||(Fe={}),typeof Fe.context>"u"&&(Fe.context=4);var De=C(K,le,Fe);De.push({value:"",lines:[]});function Re(tt){return tt.map(function(lt){return" "+lt})}for(var je=[],be=0,Ie=0,fe=[],Oe=1,Xe=1,Ve=function(lt){var Wt=De[lt],vt=Wt.lines||Wt.value.replace(/\n$/,"").split(`
|
|
145
|
-
`);if(Wt.lines=vt,Wt.added||Wt.removed){var an;if(!be){var Xt=De[lt-1];be=Oe,Ie=Xe,Xt&&(fe=Fe.context>0?Re(Xt.lines.slice(-Fe.context)):[],be-=fe.length,Ie-=fe.length)}(an=fe).push.apply(an,I(vt.map(function(jr){return(Wt.added?"+":"-")+jr}))),Wt.added?Xe+=vt.length:Oe+=vt.length}else{if(be)if(vt.length<=Fe.context*2&<<De.length-2){var Kt;(Kt=fe).push.apply(Kt,I(Re(vt)))}else{var jn,on=Math.min(vt.length,Fe.context);(jn=fe).push.apply(jn,I(Re(vt.slice(0,on))));var Hn={oldStart:be,oldLines:Oe-be+on,newStart:Ie,newLines:Xe-Ie+on,lines:fe};if(lt>=De.length-2&&vt.length<=Fe.context){var yi=/\n$/.test(K),Si=/\n$/.test(le),ua=vt.length==0&&fe.length>Hn.oldLines;!yi&&ua&&fe.splice(Hn.oldLines,0,"\"),(!yi&&!ua||!Si)&&fe.push("\")}je.push(Hn),be=0,Ie=0,fe=[]}Oe+=vt.length,Xe+=vt.length}},Nt=0;Nt<De.length;Nt++)Ve(Nt);return{oldFileName:k,newFileName:U,oldHeader:Ne,newHeader:Ae,hunks:je}}function V(k,U,K,le,Ne,Ae,Fe){var De=P(k,U,K,le,Ne,Ae,Fe),Re=[];k==U&&Re.push("Index: "+k),Re.push("==================================================================="),Re.push("--- "+De.oldFileName+(typeof De.oldHeader>"u"?"":" "+De.oldHeader)),Re.push("+++ "+De.newFileName+(typeof De.newHeader>"u"?"":" "+De.newHeader));for(var je=0;je<De.hunks.length;je++){var be=De.hunks[je];Re.push("@@ -"+be.oldStart+","+be.oldLines+" +"+be.newStart+","+be.newLines+" @@"),Re.push.apply(Re,be.lines)}return Re.join(`
|
|
146
|
-
`)+`
|
|
147
|
-
`}function H(k,U,K,le,Ne,Ae){return V(k,k,U,K,le,Ne,Ae)}function _(k,U){return k.length!==U.length?!1:ne(k,U)}function ne(k,U){if(U.length>k.length)return!1;for(var K=0;K<U.length;K++)if(U[K]!==k[K])return!1;return!0}function se(k){var U=$t(k.lines),K=U.oldLines,le=U.newLines;K!==void 0?k.oldLines=K:delete k.oldLines,le!==void 0?k.newLines=le:delete k.newLines}function q(k,U,K){k=Ee(k,K),U=Ee(U,K);var le={};(k.index||U.index)&&(le.index=k.index||U.index),(k.newFileName||U.newFileName)&&(de(k)?de(U)?(le.oldFileName=Te(le,k.oldFileName,U.oldFileName),le.newFileName=Te(le,k.newFileName,U.newFileName),le.oldHeader=Te(le,k.oldHeader,U.oldHeader),le.newHeader=Te(le,k.newHeader,U.newHeader)):(le.oldFileName=k.oldFileName,le.newFileName=k.newFileName,le.oldHeader=k.oldHeader,le.newHeader=k.newHeader):(le.oldFileName=U.oldFileName||k.oldFileName,le.newFileName=U.newFileName||k.newFileName,le.oldHeader=U.oldHeader||k.oldHeader,le.newHeader=U.newHeader||k.newHeader)),le.hunks=[];for(var Ne=0,Ae=0,Fe=0,De=0;Ne<k.hunks.length||Ae<U.hunks.length;){var Re=k.hunks[Ne]||{oldStart:1/0},je=U.hunks[Ae]||{oldStart:1/0};if(ze(Re,je))le.hunks.push(Qe(Re,Fe)),Ne++,De+=Re.newLines-Re.oldLines;else if(ze(je,Re))le.hunks.push(Qe(je,De)),Ae++,Fe+=je.newLines-je.oldLines;else{var be={oldStart:Math.min(Re.oldStart,je.oldStart),oldLines:0,newStart:Math.min(Re.newStart+Fe,je.oldStart+De),newLines:0,lines:[]};pe(be,Re.oldStart,Re.lines,je.oldStart,je.lines),Ae++,Ne++,le.hunks.push(be)}}return le}function Ee(k,U){if(typeof k=="string"){if(/^@@/m.test(k)||/^Index:/m.test(k))return W(k)[0];if(!U)throw new Error("Must provide a base reference or pass in a patch");return P(void 0,void 0,U,k)}return k}function de(k){return k.newFileName&&k.newFileName!==k.oldFileName}function Te(k,U,K){return U===K?U:(k.conflict=!0,{mine:U,theirs:K})}function ze(k,U){return k.oldStart<U.oldStart&&k.oldStart+k.oldLines<U.oldStart}function Qe(k,U){return{oldStart:k.oldStart,oldLines:k.oldLines,newStart:k.newStart+U,newLines:k.newLines,lines:k.lines}}function pe(k,U,K,le,Ne){var Ae={offset:U,lines:K,index:0},Fe={offset:le,lines:Ne,index:0};for(rt(k,Ae,Fe),rt(k,Fe,Ae);Ae.index<Ae.lines.length&&Fe.index<Fe.lines.length;){var De=Ae.lines[Ae.index],Re=Fe.lines[Fe.index];if((De[0]==="-"||De[0]==="+")&&(Re[0]==="-"||Re[0]==="+"))He(k,Ae,Fe);else if(De[0]==="+"&&Re[0]===" "){var je;(je=k.lines).push.apply(je,I(Je(Ae)))}else if(Re[0]==="+"&&De[0]===" "){var be;(be=k.lines).push.apply(be,I(Je(Fe)))}else De[0]==="-"&&Re[0]===" "?$e(k,Ae,Fe):Re[0]==="-"&&De[0]===" "?$e(k,Fe,Ae,!0):De===Re?(k.lines.push(De),Ae.index++,Fe.index++):xe(k,Je(Ae),Je(Fe))}Me(k,Ae),Me(k,Fe),se(k)}function He(k,U,K){var le=Je(U),Ne=Je(K);if(Ke(le)&&Ke(Ne)){if(ne(le,Ne)&&It(K,le,le.length-Ne.length)){var Ae;(Ae=k.lines).push.apply(Ae,I(le));return}else if(ne(Ne,le)&&It(U,Ne,Ne.length-le.length)){var Fe;(Fe=k.lines).push.apply(Fe,I(Ne));return}}else if(_(le,Ne)){var De;(De=k.lines).push.apply(De,I(le));return}xe(k,le,Ne)}function $e(k,U,K,le){var Ne=Je(U),Ae=Ze(K,Ne);if(Ae.merged){var Fe;(Fe=k.lines).push.apply(Fe,I(Ae.merged))}else xe(k,le?Ae:Ne,le?Ne:Ae)}function xe(k,U,K){k.conflict=!0,k.lines.push({conflict:!0,mine:U,theirs:K})}function rt(k,U,K){for(;U.offset<K.offset&&U.index<U.lines.length;){var le=U.lines[U.index++];k.lines.push(le),U.offset++}}function Me(k,U){for(;U.index<U.lines.length;){var K=U.lines[U.index++];k.lines.push(K)}}function Je(k){for(var U=[],K=k.lines[k.index][0];k.index<k.lines.length;){var le=k.lines[k.index];if(K==="-"&&le[0]==="+"&&(K="+"),K===le[0])U.push(le),k.index++;else break}return U}function Ze(k,U){for(var K=[],le=[],Ne=0,Ae=!1,Fe=!1;Ne<U.length&&k.index<k.lines.length;){var De=k.lines[k.index],Re=U[Ne];if(Re[0]==="+")break;if(Ae=Ae||De[0]!==" ",le.push(Re),Ne++,De[0]==="+")for(Fe=!0;De[0]==="+";)K.push(De),De=k.lines[++k.index];Re.substr(1)===De.substr(1)?(K.push(De),k.index++):Fe=!0}if((U[Ne]||"")[0]==="+"&&Ae&&(Fe=!0),Fe)return K;for(;Ne<U.length;)le.push(U[Ne++]);return{merged:le,changes:K}}function Ke(k){return k.reduce(function(U,K){return U&&K[0]==="-"},!0)}function It(k,U,K){for(var le=0;le<K;le++){var Ne=U[U.length-K+le].substr(1);if(k.lines[k.index+le]!==" "+Ne)return!1}return k.index+=K,!0}function $t(k){var U=0,K=0;return k.forEach(function(le){if(typeof le!="string"){var Ne=$t(le.mine),Ae=$t(le.theirs);U!==void 0&&(Ne.oldLines===Ae.oldLines?U+=Ne.oldLines:U=void 0),K!==void 0&&(Ne.newLines===Ae.newLines?K+=Ne.newLines:K=void 0)}else K!==void 0&&(le[0]==="+"||le[0]===" ")&&K++,U!==void 0&&(le[0]==="-"||le[0]===" ")&&U++}),{oldLines:U,newLines:K}}function ot(k){for(var U=[],K,le,Ne=0;Ne<k.length;Ne++)K=k[Ne],K.added?le=1:K.removed?le=-1:le=0,U.push([le,K.value]);return U}function we(k){for(var U=[],K=0;K<k.length;K++){var le=k[K];le.added?U.push("<ins>"):le.removed&&U.push("<del>"),U.push(st(le.value)),le.added?U.push("</ins>"):le.removed&&U.push("</del>")}return U.join("")}function st(k){var U=k;return U=U.replace(/&/g,"&"),U=U.replace(/</g,"<"),U=U.replace(/>/g,">"),U=U.replace(/"/g,"""),U}n.Diff=r,n.diffChars=c,n.diffWords=y,n.diffWordsWithSpace=T,n.diffLines=C,n.diffTrimmedLines=w,n.diffSentences=R,n.diffCss=L,n.diffJson=X,n.diffArrays=ie,n.structuredPatch=P,n.createTwoFilesPatch=V,n.createPatch=H,n.applyPatch=J,n.applyPatches=ae,n.parsePatch=W,n.merge=q,n.convertChangesToDMP=ot,n.convertChangesToXML=we,n.canonicalize=oe,Object.defineProperty(n,"__esModule",{value:!0})})})(Yl,Yl.exports)),Yl.exports}var WN;function KK(){return WN||(WN=1,(function(e){var t=ji&&ji.__read||function(g,h){var y=typeof Symbol=="function"&&g[Symbol.iterator];if(!y)return g;var T=y.call(g),x,C=[],w;try{for(;(h===void 0||h-- >0)&&!(x=T.next()).done;)C.push(x.value)}catch(N){w={error:N}}finally{try{x&&!x.done&&(y=T.return)&&y.call(T)}finally{if(w)throw w.error}}return C},n=ji&&ji.__spread||function(){for(var g=[],h=0;h<arguments.length;h++)g=g.concat(t(arguments[h]));return g};Object.defineProperty(e,"__esModule",{value:!0});var r=XK(),o=r,s;(function(g){g[g.DEFAULT=0]="DEFAULT",g[g.ADDED=1]="ADDED",g[g.REMOVED=2]="REMOVED"})(s=e.DiffType||(e.DiffType={}));var u;(function(g){g.CHARS="diffChars",g.WORDS="diffWords",g.WORDS_WITH_SPACE="diffWordsWithSpace",g.LINES="diffLines",g.TRIMMED_LINES="diffTrimmedLines",g.SENTENCES="diffSentences",g.CSS="diffCss"})(u=e.DiffMethod||(e.DiffMethod={}));var c=function(g){var h=g.split(`
|
|
148
|
-
`),y=h.every(function(C){return!C});if(y)return h.length===2?[]:(h.pop(),h);var T=h[h.length-1],x=h[0];return T||h.pop(),x||h.shift(),h},p=function(g,h,y){y===void 0&&(y=u.CHARS);var T=o[y](g,h),x={left:[],right:[]};return T.forEach(function(C){var w=C.added,N=C.removed,R=C.value,D={};return w&&(D.type=s.ADDED,D.value=R,x.right.push(D)),N&&(D.type=s.REMOVED,D.value=R,x.left.push(D)),!N&&!w&&(D.type=s.DEFAULT,D.value=R,x.right.push(D),x.left.push(D)),D}),x},f=function(g,h,y,T,x){y===void 0&&(y=!1),T===void 0&&(T=u.CHARS),x===void 0&&(x=0);var C=r.diffLines(g.trimRight(),h.trimRight(),{newlineIsToken:!0,ignoreWhitespace:!1,ignoreCase:!1}),w=x,N=x,R=[],D=0,L=[],O=[],I=function(B,j,G,z,ee){var X=c(B);return X.map(function(oe,ue){var ie={},W={};if(!(O.includes(j+"-"+ue)||ee&&ue!==0)){if(G||z)if(L.includes(D)||L.push(D),z){N+=1,ie.lineNumber=N,ie.type=s.REMOVED,ie.value=oe||" ";var re=C[j+1];if(re&&re.added){var J=c(re.value)[ue];if(J){var ae=I(re.value,j,!0,!1,!0)[0].right,P=ae.value,V=ae.lineNumber,H=ae.type;if(O.push(j+1+"-"+ue),W.lineNumber=V,W.type=H,y)W.value=P;else{var _=p(oe,P,T);W.value=_.right,ie.value=_.left}}}}else w+=1,W.lineNumber=w,W.type=s.ADDED,W.value=oe;else N+=1,w+=1,ie.lineNumber=N,ie.type=s.DEFAULT,ie.value=oe,W.lineNumber=w,W.type=s.DEFAULT,W.value=oe;return D+=1,{right:W,left:ie}}}).filter(Boolean)};return C.forEach(function(B,j){var G=B.added,z=B.removed,ee=B.value;R=n(R,I(ee,j,G,z))}),{lineInformation:R,diffLines:L}};e.computeLineInformation=f})(ji)),ji}var oi={};function ZK(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function QK(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}var JK=(function(){function e(n){this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.before=null}var t=e.prototype;return t.insert=function(r){if(this.ctr%(this.isSpeedy?65e3:1)===0){var o=QK(this),s;this.tags.length===0?s=this.before:s=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(o,s),this.tags.push(o)}var u=this.tags[this.tags.length-1];if(this.isSpeedy){var c=ZK(u);try{var p=r.charCodeAt(1)===105&&r.charCodeAt(0)===64;c.insertRule(r,p?0:c.cssRules.length)}catch{}}else u.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e})();function eZ(e){function t(H,_,ne,se,q){for(var Ee=0,de=0,Te=0,ze=0,Qe,pe,He=0,$e=0,xe,rt=xe=Qe=0,Me=0,Je=0,Ze=0,Ke=0,It=ne.length,$t=It-1,ot,we="",st="",k="",U="",K;Me<It;){if(pe=ne.charCodeAt(Me),Me===$t&&de+ze+Te+Ee!==0&&(de!==0&&(pe=de===47?10:47),ze=Te=Ee=0,It++,$t++),de+ze+Te+Ee===0){if(Me===$t&&(0<Je&&(we=we.replace(y,"")),0<we.trim().length)){switch(pe){case 32:case 9:case 59:case 13:case 10:break;default:we+=ne.charAt(Me)}pe=59}switch(pe){case 123:for(we=we.trim(),Qe=we.charCodeAt(0),xe=1,Ke=++Me;Me<It;){switch(pe=ne.charCodeAt(Me)){case 123:xe++;break;case 125:xe--;break;case 47:switch(pe=ne.charCodeAt(Me+1)){case 42:case 47:e:{for(rt=Me+1;rt<$t;++rt)switch(ne.charCodeAt(rt)){case 47:if(pe===42&&ne.charCodeAt(rt-1)===42&&Me+2!==rt){Me=rt+1;break e}break;case 10:if(pe===47){Me=rt+1;break e}}Me=rt}}break;case 91:pe++;case 40:pe++;case 34:case 39:for(;Me++<$t&&ne.charCodeAt(Me)!==pe;);}if(xe===0)break;Me++}switch(xe=ne.substring(Ke,Me),Qe===0&&(Qe=(we=we.replace(h,"").trim()).charCodeAt(0)),Qe){case 64:switch(0<Je&&(we=we.replace(y,"")),pe=we.charCodeAt(1),pe){case 100:case 109:case 115:case 45:Je=_;break;default:Je=W}if(xe=t(_,Je,xe,pe,q+1),Ke=xe.length,0<J&&(Je=n(W,we,Ze),K=c(3,xe,Je,_,oe,X,Ke,pe,q,se),we=Je.join(""),K!==void 0&&(Ke=(xe=K.trim()).length)===0&&(pe=0,xe="")),0<Ke)switch(pe){case 115:we=we.replace(I,u);case 100:case 109:case 45:xe=we+"{"+xe+"}";break;case 107:we=we.replace(R,"$1 $2"),xe=we+"{"+xe+"}",xe=ie===1||ie===2&&s("@"+xe,3)?"@-webkit-"+xe+"@"+xe:"@"+xe;break;default:xe=we+xe,se===112&&(xe=(st+=xe,""))}else xe="";break;default:xe=t(_,n(_,we,Ze),xe,se,q+1)}k+=xe,xe=Ze=Je=rt=Qe=0,we="",pe=ne.charCodeAt(++Me);break;case 125:case 59:if(we=(0<Je?we.replace(y,""):we).trim(),1<(Ke=we.length))switch(rt===0&&(Qe=we.charCodeAt(0),Qe===45||96<Qe&&123>Qe)&&(Ke=(we=we.replace(" ",":")).length),0<J&&(K=c(1,we,_,H,oe,X,st.length,se,q,se))!==void 0&&(Ke=(we=K.trim()).length)===0&&(we="\0\0"),Qe=we.charCodeAt(0),pe=we.charCodeAt(1),Qe){case 0:break;case 64:if(pe===105||pe===99){U+=we+ne.charAt(Me);break}default:we.charCodeAt(Ke-1)!==58&&(st+=o(we,Qe,pe,we.charCodeAt(2)))}Ze=Je=rt=Qe=0,we="",pe=ne.charCodeAt(++Me)}}switch(pe){case 13:case 10:de===47?de=0:1+Qe===0&&se!==107&&0<we.length&&(Je=1,we+="\0"),0<J*P&&c(0,we,_,H,oe,X,st.length,se,q,se),X=1,oe++;break;case 59:case 125:if(de+ze+Te+Ee===0){X++;break}default:switch(X++,ot=ne.charAt(Me),pe){case 9:case 32:if(ze+Ee+de===0)switch(He){case 44:case 58:case 9:case 32:ot="";break;default:pe!==32&&(ot=" ")}break;case 0:ot="\\0";break;case 12:ot="\\f";break;case 11:ot="\\v";break;case 38:ze+de+Ee===0&&(Je=Ze=1,ot="\f"+ot);break;case 108:if(ze+de+Ee+ue===0&&0<rt)switch(Me-rt){case 2:He===112&&ne.charCodeAt(Me-3)===58&&(ue=He);case 8:$e===111&&(ue=$e)}break;case 58:ze+de+Ee===0&&(rt=Me);break;case 44:de+Te+ze+Ee===0&&(Je=1,ot+="\r");break;case 34:case 39:de===0&&(ze=ze===pe?0:ze===0?pe:ze);break;case 91:ze+de+Te===0&&Ee++;break;case 93:ze+de+Te===0&&Ee--;break;case 41:ze+de+Ee===0&&Te--;break;case 40:ze+de+Ee===0&&(Qe===0&&(2*He+3*$e===533||(Qe=1)),Te++);break;case 64:de+Te+ze+Ee+rt+xe===0&&(xe=1);break;case 42:case 47:if(!(0<ze+Ee+Te))switch(de){case 0:switch(2*pe+3*ne.charCodeAt(Me+1)){case 235:de=47;break;case 220:Ke=Me,de=42}break;case 42:pe===47&&He===42&&Ke+2!==Me&&(ne.charCodeAt(Ke+2)===33&&(st+=ne.substring(Ke,Me+1)),ot="",de=0)}}de===0&&(we+=ot)}$e=He,He=pe,Me++}if(Ke=st.length,0<Ke){if(Je=_,0<J&&(K=c(2,st,Je,H,oe,X,Ke,se,q,se),K!==void 0&&(st=K).length===0))return U+st+k;if(st=Je.join(",")+"{"+st+"}",ie*ue!==0){switch(ie!==2||s(st,2)||(ue=0),ue){case 111:st=st.replace(L,":-moz-$1")+st;break;case 112:st=st.replace(D,"::-webkit-input-$1")+st.replace(D,"::-moz-$1")+st.replace(D,":-ms-input-$1")+st}ue=0}}return U+st+k}function n(H,_,ne){var se=_.trim().split(w);_=se;var q=se.length,Ee=H.length;switch(Ee){case 0:case 1:var de=0;for(H=Ee===0?"":H[0]+" ";de<q;++de)_[de]=r(H,_[de],ne).trim();break;default:var Te=de=0;for(_=[];de<q;++de)for(var ze=0;ze<Ee;++ze)_[Te++]=r(H[ze]+" ",se[de],ne).trim()}return _}function r(H,_,ne){var se=_.charCodeAt(0);switch(33>se&&(se=(_=_.trim()).charCodeAt(0)),se){case 38:return _.replace(N,"$1"+H.trim());case 58:return H.trim()+_.replace(N,"$1"+H.trim());default:if(0<1*ne&&0<_.indexOf("\f"))return _.replace(N,(H.charCodeAt(0)===58?"":"$1")+H.trim())}return H+_}function o(H,_,ne,se){var q=H+";",Ee=2*_+3*ne+4*se;if(Ee===944){H=q.indexOf(":",9)+1;var de=q.substring(H,q.length-1).trim();return de=q.substring(0,H).trim()+de+";",ie===1||ie===2&&s(de,1)?"-webkit-"+de+de:de}if(ie===0||ie===2&&!s(q,1))return q;switch(Ee){case 1015:return q.charCodeAt(10)===97?"-webkit-"+q+q:q;case 951:return q.charCodeAt(3)===116?"-webkit-"+q+q:q;case 963:return q.charCodeAt(5)===110?"-webkit-"+q+q:q;case 1009:if(q.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+q+q;case 978:return"-webkit-"+q+"-moz-"+q+q;case 1019:case 983:return"-webkit-"+q+"-moz-"+q+"-ms-"+q+q;case 883:if(q.charCodeAt(8)===45)return"-webkit-"+q+q;if(0<q.indexOf("image-set(",11))return q.replace(ee,"$1-webkit-$2")+q;break;case 932:if(q.charCodeAt(4)===45)switch(q.charCodeAt(5)){case 103:return"-webkit-box-"+q.replace("-grow","")+"-webkit-"+q+"-ms-"+q.replace("grow","positive")+q;case 115:return"-webkit-"+q+"-ms-"+q.replace("shrink","negative")+q;case 98:return"-webkit-"+q+"-ms-"+q.replace("basis","preferred-size")+q}return"-webkit-"+q+"-ms-"+q+q;case 964:return"-webkit-"+q+"-ms-flex-"+q+q;case 1023:if(q.charCodeAt(8)!==99)break;return de=q.substring(q.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+de+"-webkit-"+q+"-ms-flex-pack"+de+q;case 1005:return x.test(q)?q.replace(T,":-webkit-")+q.replace(T,":-moz-")+q:q;case 1e3:switch(de=q.substring(13).trim(),_=de.indexOf("-")+1,de.charCodeAt(0)+de.charCodeAt(_)){case 226:de=q.replace(O,"tb");break;case 232:de=q.replace(O,"tb-rl");break;case 220:de=q.replace(O,"lr");break;default:return q}return"-webkit-"+q+"-ms-"+de+q;case 1017:if(q.indexOf("sticky",9)===-1)break;case 975:switch(_=(q=H).length-10,de=(q.charCodeAt(_)===33?q.substring(0,_):q).substring(H.indexOf(":",7)+1).trim(),Ee=de.charCodeAt(0)+(de.charCodeAt(7)|0)){case 203:if(111>de.charCodeAt(8))break;case 115:q=q.replace(de,"-webkit-"+de)+";"+q;break;case 207:case 102:q=q.replace(de,"-webkit-"+(102<Ee?"inline-":"")+"box")+";"+q.replace(de,"-webkit-"+de)+";"+q.replace(de,"-ms-"+de+"box")+";"+q}return q+";";case 938:if(q.charCodeAt(5)===45)switch(q.charCodeAt(6)){case 105:return de=q.replace("-items",""),"-webkit-"+q+"-webkit-box-"+de+"-ms-flex-"+de+q;case 115:return"-webkit-"+q+"-ms-flex-item-"+q.replace(j,"")+q;default:return"-webkit-"+q+"-ms-flex-line-pack"+q.replace("align-content","").replace(j,"")+q}break;case 973:case 989:if(q.charCodeAt(3)!==45||q.charCodeAt(4)===122)break;case 931:case 953:if(z.test(H)===!0)return(de=H.substring(H.indexOf(":")+1)).charCodeAt(0)===115?o(H.replace("stretch","fill-available"),_,ne,se).replace(":fill-available",":stretch"):q.replace(de,"-webkit-"+de)+q.replace(de,"-moz-"+de.replace("fill-",""))+q;break;case 962:if(q="-webkit-"+q+(q.charCodeAt(5)===102?"-ms-"+q:"")+q,ne+se===211&&q.charCodeAt(13)===105&&0<q.indexOf("transform",10))return q.substring(0,q.indexOf(";",27)+1).replace(C,"$1-webkit-$2")+q}return q}function s(H,_){var ne=H.indexOf(_===1?":":"{"),se=H.substring(0,_!==3?ne:10);return ne=H.substring(ne+1,H.length-1),ae(_!==2?se:se.replace(G,"$1"),ne,_)}function u(H,_){var ne=o(_,_.charCodeAt(0),_.charCodeAt(1),_.charCodeAt(2));return ne!==_+";"?ne.replace(B," or ($1)").substring(4):"("+_+")"}function c(H,_,ne,se,q,Ee,de,Te,ze,Qe){for(var pe=0,He=_,$e;pe<J;++pe)switch($e=re[pe].call(g,H,He,ne,se,q,Ee,de,Te,ze,Qe)){case void 0:case!1:case!0:case null:break;default:He=$e}if(He!==_)return He}function p(H){switch(H){case void 0:case null:J=re.length=0;break;default:if(typeof H=="function")re[J++]=H;else if(typeof H=="object")for(var _=0,ne=H.length;_<ne;++_)p(H[_]);else P=!!H|0}return p}function f(H){return H=H.prefix,H!==void 0&&(ae=null,H?typeof H!="function"?ie=1:(ie=2,ae=H):ie=0),f}function g(H,_){var ne=H;if(33>ne.charCodeAt(0)&&(ne=ne.trim()),V=ne,ne=[V],0<J){var se=c(-1,_,ne,ne,oe,X,0,0,0,0);se!==void 0&&typeof se=="string"&&(_=se)}var q=t(W,ne,_,0,0);return 0<J&&(se=c(-2,q,ne,ne,oe,X,q.length,0,0,0),se!==void 0&&(q=se)),V="",ue=0,X=oe=1,q}var h=/^\0+/g,y=/[\0\r\f]/g,T=/: */g,x=/zoo|gra/,C=/([,: ])(transform)/g,w=/,\r+?/g,N=/([\t\r\n ])*\f?&/g,R=/@(k\w+)\s*(\S*)\s*/,D=/::(place)/g,L=/:(read-only)/g,O=/[svh]\w+-[tblr]{2}/,I=/\(\s*(.*)\s*\)/g,B=/([\s\S]*?);/g,j=/-self|flex-/g,G=/[^]*?(:[rp][el]a[\w-]+)[^]*/,z=/stretch|:\s*\w+\-(?:conte|avail)/,ee=/([^-])(image-set\()/,X=1,oe=1,ue=0,ie=1,W=[],re=[],J=0,ae=null,P=0,V="";return g.use=p,g.set=f,e!==void 0&&f(e),g}var nb="/*|*/",tZ=nb+"}";function nZ(e){e&&sf.current.insert(e+"}")}var sf={current:null},rZ=function(t,n,r,o,s,u,c,p,f,g){switch(t){case 1:{switch(n.charCodeAt(0)){case 64:return sf.current.insert(n+";"),"";case 108:if(n.charCodeAt(2)===98)return""}break}case 2:{if(p===0)return n+nb;break}case 3:switch(p){case 102:case 112:return sf.current.insert(r[0]+n),"";default:return n+(g===0?nb:"")}case-2:n.split(tZ).forEach(nZ)}},aZ=function(t){t===void 0&&(t={});var n=t.key||"css",r;t.prefix!==void 0&&(r={prefix:t.prefix});var o=new eZ(r),s={},u;{u=t.container||document.head;var c=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(c,function(g){var h=g.getAttribute("data-emotion-"+n);h.split(" ").forEach(function(y){s[y]=!0}),g.parentNode!==u&&u.appendChild(g)})}var p;o.use(t.stylisPlugins)(rZ),p=function(h,y,T,x){var C=y.name;sf.current=T,o(h,y.styles),x&&(f.inserted[C]=!0)};var f={key:n,sheet:new JK({key:n,container:u,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:s,registered:{},insert:p};return f};function iZ(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var oZ={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function sZ(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var lZ=/[A-Z]|^ms/g,uZ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zI=function(t){return t.charCodeAt(1)===45},XN=function(t){return t!=null&&typeof t!="boolean"},yh=sZ(function(e){return zI(e)?e:e.replace(lZ,"-$&").toLowerCase()}),KN=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(uZ,function(r,o,s){return di={name:o,styles:s,next:di},o})}return oZ[t]!==1&&!zI(t)&&typeof n=="number"&&n!==0?n+"px":n};function lf(e,t,n,r){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return di={name:n.name,styles:n.styles,next:di},n.name;if(n.styles!==void 0){var o=n.next;if(o!==void 0)for(;o!==void 0;)di={name:o.name,styles:o.styles,next:di},o=o.next;var s=n.styles+";";return s}return cZ(e,t,n)}}if(t==null)return n;var u=t[n];return u!==void 0&&!r?u:n}function cZ(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=lf(e,t,n[o],!1);else for(var s in n){var u=n[s];if(typeof u!="object")t!=null&&t[u]!==void 0?r+=s+"{"+t[u]+"}":XN(u)&&(r+=yh(s)+":"+KN(s,u)+";");else if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var c=0;c<u.length;c++)XN(u[c])&&(r+=yh(s)+":"+KN(s,u[c])+";");else{var p=lf(e,t,u,!1);switch(s){case"animation":case"animationName":{r+=yh(s)+":"+p+";";break}default:r+=s+"{"+p+"}"}}}return r}var ZN=/label:\s*([^\s;\n{]+)\s*;/g,di,Sh=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,s="";di=void 0;var u=t[0];u==null||u.raw===void 0?(o=!1,s+=lf(r,n,u,!1)):s+=u[0];for(var c=1;c<t.length;c++)s+=lf(r,n,t[c],s.charCodeAt(s.length-1)===46),o&&(s+=u[c]);ZN.lastIndex=0;for(var p="",f;(f=ZN.exec(s))!==null;)p+="-"+f[1];var g=iZ(s)+p;return{name:g,styles:s,next:di}};function $I(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]):r+=o+" "}),r}var dZ=function(t,n,r){var o=t.key+"-"+n.name;if(t.registered[o]===void 0&&(t.registered[o]=n.styles),t.inserted[n.name]===void 0){var s=n;do t.insert("."+o,s,t.sheet,!0),s=s.next;while(s!==void 0)}};function QN(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function JN(e,t,n){var r=[],o=$I(e,r,n);return r.length<2?n:o+t(r)}var fZ=function(t){var n=aZ(t);n.sheet.speedy=function(c){this.isSpeedy=c},n.compat=!0;var r=function(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];var h=Sh(f,n.registered,void 0);return dZ(n,h),n.key+"-"+h.name},o=function(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];var h=Sh(f,n.registered),y="animation-"+h.name;return QN(n,{name:h.name,styles:"@keyframes "+y+"{"+h.styles+"}"}),y},s=function(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];var h=Sh(f,n.registered);QN(n,h)},u=function(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];return JN(n.registered,r,pZ(f))};return{css:r,cx:u,injectGlobal:s,keyframes:o,hydrate:function(p){p.forEach(function(f){n.inserted[f]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:$I.bind(null,n.registered),merge:JN.bind(null,n.registered,r)}},pZ=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var u in o)o[u]&&u&&(s&&(s+=" "),s+=u)}break}default:s=o}s&&(n&&(n+=" "),n+=s)}}return n},la=fZ(),mZ=la.flush,gZ=la.hydrate,hZ=la.cx,bZ=la.merge,EZ=la.getRegisteredStyles,yZ=la.injectGlobal,SZ=la.keyframes,TZ=la.css,vZ=la.sheet,xZ=la.cache;const AZ=Object.freeze(Object.defineProperty({__proto__:null,cache:xZ,css:TZ,cx:hZ,flush:mZ,getRegisteredStyles:EZ,hydrate:gZ,injectGlobal:yZ,keyframes:SZ,merge:bZ,sheet:vZ},Symbol.toStringTag,{value:"Module"})),CZ=u2(AZ);var e2;function wZ(){if(e2)return oi;e2=1;var e=oi&&oi.__assign||function(){return e=Object.assign||function(r){for(var o,s=1,u=arguments.length;s<u;s++){o=arguments[s];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(r[c]=o[c])}return r},e.apply(this,arguments)},t=oi&&oi.__rest||function(r,o){var s={};for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&o.indexOf(u)<0&&(s[u]=r[u]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,u=Object.getOwnPropertySymbols(r);c<u.length;c++)o.indexOf(u[c])<0&&Object.prototype.propertyIsEnumerable.call(r,u[c])&&(s[u[c]]=r[u[c]]);return s};Object.defineProperty(oi,"__esModule",{value:!0});var n=CZ;return oi.default=(function(r,o){var s,u,c,p,f,g,h;o===void 0&&(o=!1);var y=r.variables,T=y===void 0?{}:y,x=t(r,["variables"]),C={light:e({diffViewerBackground:"#fff",diffViewerColor:"212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee"},T.light||{}),dark:e({diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#044B53",addedColor:"white",removedBackground:"#632F34",removedColor:"white",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f",addedGutterBackground:"#034148",removedGutterBackground:"#632b30",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#21232b",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#464c67",addedGutterColor:"#8c8c8c",removedGutterColor:"#8c8c8c",codeFoldContentColor:"#555a7b",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#555a7b",diffViewerTitleBorderColor:"#353846"},T.dark||{})},w=o?C.dark:C.light,N=n.css({width:"100%",label:"content"}),R=n.css((s={},s["."+N]={width:"50%"},s.label="split-view",s)),D=n.css({width:"100%",background:w.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"25px"},label:"diff-container",borderCollapse:"collapse"}),L=n.css({color:w.codeFoldContentColor,label:"code-fold-content"}),O=n.css({color:w.diffViewerColor,label:"content-text"}),I=n.css((u={background:w.diffViewerTitleBackground,padding:10,borderBottom:"1px solid "+w.diffViewerTitleBorderColor,label:"title-block",":last-child":{borderLeft:"1px solid "+w.diffViewerTitleBorderColor}},u["."+O]={color:w.diffViewerTitleColor},u)),B=n.css({color:w.gutterColor,label:"line-number"}),j=n.css((c={background:w.removedBackground,color:w.removedColor,pre:{color:w.removedColor}},c["."+B]={color:w.removedGutterColor},c.label="diff-removed",c)),G=n.css((p={background:w.addedBackground,color:w.addedColor,pre:{color:w.addedColor}},p["."+B]={color:w.addedGutterColor},p.label="diff-added",p)),z=n.css({padding:2,display:"inline-flex",borderRadius:1,label:"word-diff"}),ee=n.css({background:w.wordAddedBackground,label:"word-added"}),X=n.css({background:w.wordRemovedBackground,label:"word-removed"}),oe=n.css({backgroundColor:w.codeFoldGutterBackground,label:"code-fold-gutter"}),ue=n.css({backgroundColor:w.codeFoldBackground,height:40,fontSize:14,fontWeight:700,label:"code-fold",a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),ie=n.css({backgroundColor:w.emptyLineBackground,label:"empty-line"}),W=n.css((f={width:25,paddingLeft:10,paddingRight:10,userSelect:"none",label:"marker"},f["&."+G]={pre:{color:w.addedColor}},f["&."+j]={pre:{color:w.removedColor}},f)),re=n.css((g={background:w.highlightBackground,label:"highlighted-line"},g["."+ee+", ."+X]={backgroundColor:"initial"},g)),J=n.css({label:"highlighted-gutter"}),ae=n.css((h={userSelect:"none",minWidth:50,padding:"0 10px",label:"gutter",textAlign:"right",background:w.gutterBackground,"&:hover":{cursor:"pointer",background:w.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5}},h["&."+G]={background:w.addedGutterBackground},h["&."+j]={background:w.removedGutterBackground},h["&."+J]={background:w.highlightGutterBackground,"&:hover":{background:w.highlightGutterBackground}},h)),P=n.css({"&:hover":{background:w.gutterBackground,cursor:"initial"},label:"empty-gutter"}),V=n.css({verticalAlign:"baseline",label:"line"}),H={diffContainer:D,diffRemoved:j,diffAdded:G,splitView:R,marker:W,highlightedGutter:J,highlightedLine:re,gutter:ae,line:V,wordDiff:z,wordAdded:ee,wordRemoved:X,codeFoldGutter:oe,codeFold:ue,emptyGutter:P,emptyLine:ie,lineNumber:B,contentText:O,content:N,codeFoldContent:L,titleBlock:I},_=Object.keys(x).reduce(function(ne,se){var q;return e({},ne,(q={},q[se]=n.css(x[se]),q))},{});return Object.keys(H).reduce(function(ne,se){var q;return e({},ne,(q={},q[se]=_[se]?n.cx(H[se],_[se]):H[se],q))},{})}),oi}var t2=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function NZ(e,t){return!!(e===t||t2(e)&&t2(t))}function _Z(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!NZ(e[n],t[n]))return!1;return!0}function RZ(e,t){t===void 0&&(t=_Z);var n,r=[],o,s=!1;function u(){for(var c=[],p=0;p<arguments.length;p++)c[p]=arguments[p];return s&&n===this&&t(c,r)||(o=e.apply(this,c),s=!0,n=this,r=c),o}return u}const kZ=Object.freeze(Object.defineProperty({__proto__:null,default:RZ},Symbol.toStringTag,{value:"Module"})),DZ=u2(kZ);var n2;function IZ(){return n2||(n2=1,(function(e){var t=Hl&&Hl.__extends||(function(){var h=function(y,T){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,C){x.__proto__=C}||function(x,C){for(var w in C)C.hasOwnProperty(w)&&(x[w]=C[w])},h(y,T)};return function(y,T){h(y,T);function x(){this.constructor=y}y.prototype=T===null?Object.create(T):(x.prototype=T.prototype,new x)}})();Object.defineProperty(e,"__esModule",{value:!0});var n=uf(),r=YK(),o=qK(),s=KK();e.DiffMethod=s.DiffMethod;var u=wZ(),c=DZ,p=c.default||c,f;(function(h){h.LEFT="L",h.RIGHT="R"})(f=e.LineNumberPrefix||(e.LineNumberPrefix={}));var g=(function(h){t(y,h);function y(T){var x=h.call(this,T)||this;return x.resetCodeBlocks=function(){return x.state.expandedBlocks.length>0?(x.setState({expandedBlocks:[]}),!0):!1},x.onBlockExpand=function(C){var w=x.state.expandedBlocks.slice();w.push(C),x.setState({expandedBlocks:w})},x.computeStyles=p(u.default),x.onLineNumberClickProxy=function(C){return x.props.onLineNumberClick?function(w){return x.props.onLineNumberClick(C,w)}:function(){}},x.renderWordDiff=function(C,w){return C.map(function(N,R){var D;return n.createElement("span",{key:R,className:o.default(x.styles.wordDiff,(D={},D[x.styles.wordAdded]=N.type===s.DiffType.ADDED,D[x.styles.wordRemoved]=N.type===s.DiffType.REMOVED,D))},w?w(N.value):N.value)})},x.renderLine=function(C,w,N,R,D,L){var O,I,B,j,G=N+"-"+C,z=L+"-"+D,ee=x.props.highlightLines.includes(G)||x.props.highlightLines.includes(z),X=w===s.DiffType.ADDED,oe=w===s.DiffType.REMOVED,ue;return Array.isArray(R)?ue=x.renderWordDiff(R,x.props.renderContent):x.props.renderContent?ue=x.props.renderContent(R):ue=R,n.createElement(n.Fragment,null,!x.props.hideLineNumbers&&n.createElement("td",{onClick:C&&x.onLineNumberClickProxy(G),className:o.default(x.styles.gutter,(O={},O[x.styles.emptyGutter]=!C,O[x.styles.diffAdded]=X,O[x.styles.diffRemoved]=oe,O[x.styles.highlightedGutter]=ee,O))},n.createElement("pre",{className:x.styles.lineNumber},C)),!x.props.splitView&&!x.props.hideLineNumbers&&n.createElement("td",{onClick:D&&x.onLineNumberClickProxy(z),className:o.default(x.styles.gutter,(I={},I[x.styles.emptyGutter]=!D,I[x.styles.diffAdded]=X,I[x.styles.diffRemoved]=oe,I[x.styles.highlightedGutter]=ee,I))},n.createElement("pre",{className:x.styles.lineNumber},D)),n.createElement("td",{className:o.default(x.styles.marker,(B={},B[x.styles.emptyLine]=!ue,B[x.styles.diffAdded]=X,B[x.styles.diffRemoved]=oe,B[x.styles.highlightedLine]=ee,B))},n.createElement("pre",null,X&&"+",oe&&"-")),n.createElement("td",{className:o.default(x.styles.content,(j={},j[x.styles.emptyLine]=!ue,j[x.styles.diffAdded]=X,j[x.styles.diffRemoved]=oe,j[x.styles.highlightedLine]=ee,j))},n.createElement("pre",{className:x.styles.contentText},ue)))},x.renderSplitView=function(C,w){var N=C.left,R=C.right;return n.createElement("tr",{key:w,className:x.styles.line},x.renderLine(N.lineNumber,N.type,f.LEFT,N.value),x.renderLine(R.lineNumber,R.type,f.RIGHT,R.value))},x.renderInlineView=function(C,w){var N=C.left,R=C.right,D;return N.type===s.DiffType.REMOVED&&R.type===s.DiffType.ADDED?n.createElement(n.Fragment,{key:w},n.createElement("tr",{className:x.styles.line},x.renderLine(N.lineNumber,N.type,f.LEFT,N.value,null)),n.createElement("tr",{className:x.styles.line},x.renderLine(null,R.type,f.RIGHT,R.value,R.lineNumber))):(N.type===s.DiffType.REMOVED&&(D=x.renderLine(N.lineNumber,N.type,f.LEFT,N.value,null)),N.type===s.DiffType.DEFAULT&&(D=x.renderLine(N.lineNumber,N.type,f.LEFT,N.value,R.lineNumber,f.RIGHT)),R.type===s.DiffType.ADDED&&(D=x.renderLine(null,R.type,f.RIGHT,R.value,R.lineNumber)),n.createElement("tr",{key:w,className:x.styles.line},D))},x.onBlockClickProxy=function(C){return function(){return x.onBlockExpand(C)}},x.renderSkippedLineIndicator=function(C,w,N,R){var D,L=x.props,O=L.hideLineNumbers,I=L.splitView,B=x.props.codeFoldMessageRenderer?x.props.codeFoldMessageRenderer(C,N,R):n.createElement("pre",{className:x.styles.codeFoldContent},"Expand ",C," lines ..."),j=n.createElement("td",null,n.createElement("a",{onClick:x.onBlockClickProxy(w),tabIndex:0},B)),G=!I&&!O;return n.createElement("tr",{key:N+"-"+R,className:x.styles.codeFold},!O&&n.createElement("td",{className:x.styles.codeFoldGutter}),n.createElement("td",{className:o.default((D={},D[x.styles.codeFoldGutter]=G,D))}),G?n.createElement(n.Fragment,null,n.createElement("td",null),j):n.createElement(n.Fragment,null,j,n.createElement("td",null)),n.createElement("td",null),n.createElement("td",null))},x.renderDiff=function(){var C=x.props,w=C.oldValue,N=C.newValue,R=C.splitView,D=C.disableWordDiff,L=C.compareMethod,O=C.linesOffset,I=s.computeLineInformation(w,N,D,L,O),B=I.lineInformation,j=I.diffLines,G=x.props.extraLinesSurroundingDiff<0?0:x.props.extraLinesSurroundingDiff,z=[];return B.map(function(ee,X){var oe=j[0],ue=oe-X;if(x.props.showDiffOnly&&(ue===-G&&(z=[],j.shift()),ee.left.type===s.DiffType.DEFAULT&&(ue>G||typeof oe>"u")&&!x.state.expandedBlocks.includes(oe)))return z.push(X+1),X===B.length-1&&z.length>1?x.renderSkippedLineIndicator(z.length,oe,ee.left.lineNumber,ee.right.lineNumber):null;var ie=R?x.renderSplitView(ee,X):x.renderInlineView(ee,X);if(ue===G&&z.length>0){var W=z.length;return z=[],n.createElement(n.Fragment,{key:X},x.renderSkippedLineIndicator(W,oe,ee.left.lineNumber,ee.right.lineNumber),ie)}return ie})},x.render=function(){var C,w=x.props,N=w.oldValue,R=w.newValue,D=w.useDarkTheme,L=w.leftTitle,O=w.rightTitle,I=w.splitView,B=w.hideLineNumbers;if(typeof N!="string"||typeof R!="string")throw Error('"oldValue" and "newValue" should be strings');x.styles=x.computeStyles(x.props.styles,D);var j=x.renderDiff(),G=B?2:3,z=B?2:4,ee=(L||O)&&n.createElement("tr",null,n.createElement("td",{colSpan:I?G:z,className:x.styles.titleBlock},n.createElement("pre",{className:x.styles.contentText},L)),I&&n.createElement("td",{colSpan:G,className:x.styles.titleBlock},n.createElement("pre",{className:x.styles.contentText},O)));return n.createElement("table",{className:o.default(x.styles.diffContainer,(C={},C[x.styles.splitView]=I,C))},n.createElement("tbody",null,ee,j))},x.state={expandedBlocks:[]},x}return y.defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:s.DiffMethod.CHARS,styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0},y.propTypes={oldValue:r.string.isRequired,newValue:r.string.isRequired,splitView:r.bool,disableWordDiff:r.bool,compareMethod:r.oneOf(Object.values(s.DiffMethod)),renderContent:r.func,onLineNumberClick:r.func,extraLinesSurroundingDiff:r.number,styles:r.object,hideLineNumbers:r.bool,showDiffOnly:r.bool,highlightLines:r.arrayOf(r.string),leftTitle:r.oneOfType([r.string,r.element]),rightTitle:r.oneOfType([r.string,r.element]),linesOffset:r.number},y})(n.Component);e.default=g})(Hl)),Hl}var OZ=IZ();const LZ=Ji(OZ),MZ={WORDS:"diffWords"},FZ={title:"Title",description:"Description",status:"Status",priority:"Priority",assignee:"Assignee",labels:"Labels",acceptanceCriteria:"Acceptance Criteria",implementationPlan:"Implementation Plan",implementationNotes:"Implementation Notes"};function r2(e){return e==null?"":typeof e=="string"?e:Array.isArray(e)?e.length>0&&typeof e[0]=="object"&&"text"in e[0]?e.map((t,n)=>`${n+1}. [${t.completed?"x":" "}] ${t.text}`).join(`
|
|
149
|
-
`):e.join(", "):typeof e=="object"?JSON.stringify(e,null,2):String(e)}function BZ({changes:e,viewType:t="unified",showToggle:n=!0}){const{isDark:r}=In(),[o,s]=v.useState(t),u=r?"text-gray-300":"text-gray-700",c=r?"bg-gray-800":"bg-gray-50",p=r?"border-gray-600":"border-gray-200",f={variables:{dark:{diffViewerBackground:"#1f2937",diffViewerColor:"#d1d5db",addedBackground:"rgba(34, 197, 94, 0.2)",addedColor:"#86efac",removedBackground:"rgba(239, 68, 68, 0.2)",removedColor:"#fca5a5",wordAddedBackground:"rgba(34, 197, 94, 0.4)",wordRemovedBackground:"rgba(239, 68, 68, 0.4)",addedGutterBackground:"rgba(34, 197, 94, 0.3)",removedGutterBackground:"rgba(239, 68, 68, 0.3)",gutterBackground:"#374151",gutterBackgroundDark:"#1f2937",highlightBackground:"rgba(59, 130, 246, 0.3)",highlightGutterBackground:"rgba(59, 130, 246, 0.2)",codeFoldGutterBackground:"#374151",codeFoldBackground:"#1f2937",emptyLineBackground:"#1f2937",gutterColor:"#9ca3af",addedGutterColor:"#86efac",removedGutterColor:"#fca5a5",codeFoldContentColor:"#9ca3af",diffViewerTitleBackground:"#374151",diffViewerTitleColor:"#d1d5db",diffViewerTitleBorderColor:"#4b5563"}}},g={variables:{light:{diffViewerBackground:"#ffffff",diffViewerColor:"#374151",addedBackground:"rgba(187, 247, 208, 0.5)",addedColor:"#166534",removedBackground:"rgba(254, 202, 202, 0.5)",removedColor:"#991b1b",wordAddedBackground:"rgba(187, 247, 208, 0.8)",wordRemovedBackground:"rgba(254, 202, 202, 0.8)",addedGutterBackground:"rgba(187, 247, 208, 0.7)",removedGutterBackground:"rgba(254, 202, 202, 0.7)",gutterBackground:"#f3f4f6",gutterBackgroundDark:"#e5e7eb",highlightBackground:"rgba(59, 130, 246, 0.1)",highlightGutterBackground:"rgba(59, 130, 246, 0.1)",codeFoldGutterBackground:"#f3f4f6",codeFoldBackground:"#f9fafb",emptyLineBackground:"#f9fafb",gutterColor:"#6b7280",addedGutterColor:"#166534",removedGutterColor:"#991b1b",codeFoldContentColor:"#6b7280",diffViewerTitleBackground:"#f3f4f6",diffViewerTitleColor:"#374151",diffViewerTitleBorderColor:"#e5e7eb"}}};return e.length===0?m.jsx("div",{className:`text-sm ${u} text-center py-4`,children:"No changes to display"}):m.jsxs("div",{className:"space-y-4",children:[n&&m.jsxs("div",{className:"flex items-center justify-end gap-2",children:[m.jsxs(ea,{variant:o==="unified"?"secondary":"ghost",size:"sm",onClick:()=>s("unified"),title:"Unified view",children:[m.jsx(D6,{className:"w-4 h-4 mr-1"}),"Unified"]}),m.jsxs(ea,{variant:o==="split"?"secondary":"ghost",size:"sm",onClick:()=>s("split"),title:"Split view",children:[m.jsx(VL,{className:"w-4 h-4 mr-1"}),"Split"]})]}),e.map((h,y)=>{const T=r2(h.oldValue),x=r2(h.newValue),C=FZ[h.field]||h.field;return m.jsxs("div",{className:`rounded-lg border ${p} overflow-hidden`,children:[m.jsx("div",{className:`px-3 py-2 ${c} border-b ${p} font-medium text-sm ${u}`,children:C}),m.jsx("div",{className:"text-xs",children:m.jsx(LZ,{oldValue:T,newValue:x,splitView:o==="split",useDarkTheme:r,styles:r?f:g,compareMethod:MZ.WORDS,extraLinesSurroundingDiff:5,hideLineNumbers:!1,showDiffOnly:!1})})]},`${h.field}-${y}`)})]})}const UZ={title:"Title",description:"Description",status:"Status",priority:"Priority",assignee:"Assignee",labels:"Labels",acceptanceCriteria:"Acceptance Criteria",implementationPlan:"Implementation Plan",implementationNotes:"Implementation Notes"},PZ=[{value:"all",label:"All Changes"},{value:"status",label:"Status"},{value:"assignee",label:"Assignee"},{value:"content",label:"Content"}];function jZ(e){return e==="status"?"status":e==="assignee"?"assignee":"content"}function HZ(e){const n=new Date().getTime()-e.getTime(),r=Math.floor(n/6e4),o=Math.floor(n/36e5),s=Math.floor(n/864e5);return r<1?"just now":r<60?`${r}m ago`:o<24?`${o}h ago`:s<7?`${s}d ago`:e.toLocaleDateString()}function zZ(e){if(e.length===0)return"No changes";if(e.length===1){const t=e[0];return`Changed ${UZ[t.field]||t.field}`}return`Changed ${e.length} fields`}function $Z({taskId:e,onRestore:t}){const{isDark:n}=In(),[r,o]=v.useState([]),[s,u]=v.useState(!0),[c,p]=v.useState(!1),[f,g]=v.useState("all"),[h,y]=v.useState(new Set);v.useEffect(()=>{c&&e&&(u(!0),ka.getTaskHistory(e).then(L=>{o(L.sort((O,I)=>I.version-O.version))}).catch(L=>{console.error("Failed to load task history:",L)}).finally(()=>{u(!1)}))},[e,c]);const T=v.useMemo(()=>f==="all"?r:r.filter(L=>L.changes.some(O=>jZ(O.field)===f)),[r,f]),x=L=>{y(O=>{const I=new Set(O);return I.has(L)?I.delete(L):I.add(L),I})},C=n?"text-gray-300":"text-gray-700",w=n?"text-gray-400":"text-gray-500",N=n?"bg-gray-700":"bg-white",R=n?"border-gray-600":"border-gray-200",D=n?"hover:bg-gray-600":"hover:bg-gray-50";return m.jsxs(HK,{open:c,onOpenChange:p,children:[m.jsxs("div",{className:`flex items-center gap-2 mb-3 ${C}`,children:[m.jsx(zK,{asChild:!0,children:m.jsx(ea,{variant:"ghost",size:"sm",className:"p-0 h-auto",children:c?m.jsx(m2,{className:"w-5 h-5"}):m.jsx(g2,{className:"w-5 h-5"})})}),m.jsx(i6,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"History"}),r.length>0&&m.jsxs("span",{className:`text-sm ${w}`,children:["(",r.length," changes)"]})]}),m.jsxs($K,{children:[r.length>0&&m.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[m.jsx(ib,{className:`w-4 h-4 ${w}`}),m.jsx("select",{value:f,onChange:L=>g(L.target.value),className:`text-sm rounded px-2 py-1 ${N} ${R} border ${C}`,children:PZ.map(L=>m.jsx("option",{value:L.value,children:L.label},L.value))})]}),s?m.jsx("div",{className:`text-sm ${w} py-4 text-center`,children:"Loading history..."}):T.length===0?m.jsx("div",{className:`text-sm ${w} py-4 text-center`,children:"No history available"}):m.jsxs("div",{className:"space-y-2 relative",children:[m.jsx("div",{className:`absolute left-3 top-2 bottom-2 w-0.5 ${n?"bg-gray-600":"bg-gray-200"}`}),T.map(L=>{const O=h.has(L.version);return m.jsxs("div",{className:"relative pl-8",children:[m.jsx("div",{className:`absolute left-1.5 top-3 w-3 h-3 rounded-full border-2 ${n?"bg-gray-800 border-blue-400":"bg-white border-blue-500"}`}),m.jsxs("button",{type:"button",onClick:()=>x(L.version),className:`w-full ${N} rounded-lg p-3 text-left ${D} transition-colors border ${R}`,children:[m.jsxs("div",{className:"flex items-start justify-between gap-2",children:[m.jsxs("div",{className:"flex items-center gap-2",children:[L.author&&m.jsx(lu,{name:L.author,size:"sm"}),m.jsxs("div",{children:[m.jsx("div",{className:`text-sm font-medium ${C}`,children:zZ(L.changes)}),m.jsxs("div",{className:`text-xs ${w}`,children:[L.author&&m.jsxs("span",{children:[L.author," • "]}),HZ(L.timestamp)]})]})]}),m.jsxs("div",{className:`text-xs ${w}`,children:["v",L.version]})]}),O&&m.jsxs("div",{className:"mt-3 pt-3 border-t border-dashed",onClick:I=>I.stopPropagation(),children:[m.jsx(BZ,{changes:L.changes,viewType:"unified",showToggle:!1}),t&&L.version>1&&m.jsx("div",{className:"mt-3 flex justify-end",children:m.jsxs(ea,{variant:"outline",size:"sm",onClick:I=>{I.stopPropagation(),t(L)},className:"text-xs",children:[m.jsx(x6,{className:"w-3 h-3 mr-1"}),"Restore to v",L.version]})})]})]})]},L.id)})]})]})]})}function GZ({task:e,onUpdate:t}){const{isDark:n}=In(),[r,o]=v.useState(!1),[s,u]=v.useState(!1),[c,p]=v.useState(0),[f,g]=v.useState(null),[h,y]=v.useState(!1),[T,x]=v.useState(""),[C,w]=v.useState(""),[N,R]=v.useState(""),[D,L]=v.useState(!1),O=n?"bg-gray-700":"bg-gray-50",I=n?"text-gray-100":"text-gray-900",B=n?"text-gray-300":"text-gray-700",j=n?"text-gray-400":"text-gray-500",G=n?"border-gray-600":"border-gray-300",z=n?"bg-gray-600 border-gray-500 text-gray-100":"bg-white border-gray-300 text-gray-900";v.useEffect(()=>{const ae=e.timeEntries.find(P=>!P.endedAt);ae?(o(!0),g(ae.startedAt),p(Date.now()-ae.startedAt.getTime())):(o(!1),g(null),p(0))},[e.timeEntries]),v.useEffect(()=>{let ae;return r&&!s&&f&&(ae=window.setInterval(()=>{p(Date.now()-f.getTime())},1e3)),()=>{ae&&clearInterval(ae)}},[r,s,f]);const ee=async()=>{L(!0);try{const ae={id:crypto.randomUUID(),startedAt:new Date,duration:0},P=await Td(e.id,{timeEntries:[...e.timeEntries,ae]});t(P)}catch(ae){console.error("Failed to start timer:",ae)}finally{L(!1)}},X=async()=>{const ae=e.timeEntries.find(P=>!P.endedAt);if(ae){L(!0);try{const P=new Date,V=P.getTime()-ae.startedAt.getTime(),H=e.timeEntries.map(se=>se.id===ae.id?{...se,endedAt:P,duration:V}:se),_=H.reduce((se,q)=>se+q.duration,0),ne=await Td(e.id,{timeEntries:H,timeSpent:_});t(ne),u(!1)}catch(P){console.error("Failed to stop timer:",P)}finally{L(!1)}}},oe=()=>{u(!0)},ue=()=>{u(!1)},ie=async ae=>{ae.preventDefault();const P=Number.parseInt(T,10)||0,V=Number.parseInt(C,10)||0,H=(P*60+V)*60*1e3;if(!(H<=0)){L(!0);try{const _=new Date,ne=new Date(_.getTime()-H),se={id:crypto.randomUUID(),startedAt:ne,endedAt:_,duration:H,note:N.trim()||void 0},q=[...e.timeEntries,se],Ee=q.reduce((Te,ze)=>Te+ze.duration,0),de=await Td(e.id,{timeEntries:q,timeSpent:Ee});t(de),x(""),w(""),R(""),y(!1)}catch(_){console.error("Failed to add manual time:",_)}finally{L(!1)}}},W=v.useCallback(ae=>{const P=Math.floor(ae/1e3),V=Math.floor(P/3600),H=Math.floor(P%3600/60),_=P%60;return`${V.toString().padStart(2,"0")}:${H.toString().padStart(2,"0")}:${_.toString().padStart(2,"0")}`},[]),re=v.useCallback(ae=>{const P=Math.floor(ae/36e5),V=Math.floor(ae%36e5/6e4);return P>0?`${P}h ${V}m`:`${V}m`},[]),J=e.timeEntries.filter(ae=>ae.endedAt);return m.jsxs("div",{className:"space-y-4",children:[m.jsx("div",{className:`flex items-center justify-between ${O} rounded-lg p-4`,children:m.jsxs("div",{className:"text-center flex-1",children:[m.jsx("div",{className:`text-3xl font-mono font-bold ${I}`,children:W(c)}),m.jsx("div",{className:`text-xs ${j} mt-1`,children:r?s?"Paused":"Running":"Ready"})]})}),m.jsxs("div",{className:"flex justify-center gap-2",children:[r?m.jsxs(m.Fragment,{children:[s?m.jsxs("button",{type:"button",onClick:ue,disabled:D,className:"px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 disabled:opacity-50 flex items-center gap-2",children:[m.jsx(lC,{className:"w-4 h-4","aria-hidden":"true"}),"Resume"]}):m.jsxs("button",{type:"button",onClick:oe,disabled:D,className:"px-4 py-2 bg-yellow-600 text-white rounded hover:bg-yellow-700 disabled:opacity-50 flex items-center gap-2",children:[m.jsx(m6,{className:"w-4 h-4","aria-hidden":"true"}),"Pause"]}),m.jsxs("button",{type:"button",onClick:X,disabled:D,className:"px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 disabled:opacity-50 flex items-center gap-2",children:[m.jsx(N6,{className:"w-4 h-4","aria-hidden":"true"}),"Stop"]})]}):m.jsxs("button",{type:"button",onClick:ee,disabled:D,className:"px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 disabled:opacity-50 flex items-center gap-2",children:[m.jsx(lC,{className:"w-4 h-4","aria-hidden":"true"}),"Start"]}),m.jsx("button",{type:"button",onClick:()=>y(!h),className:`px-4 py-2 border ${G} rounded ${n?"hover:bg-gray-600 text-gray-300":"hover:bg-gray-50 text-gray-700"} text-sm`,disabled:D,children:"+ Manual Entry"})]}),h&&m.jsxs("form",{onSubmit:ie,className:`${O} rounded-lg p-4 space-y-3`,children:[m.jsxs("div",{className:"flex gap-4",children:[m.jsxs("div",{children:[m.jsx("label",{htmlFor:"manual-hours",className:`block text-xs ${j} mb-1`,children:"Hours"}),m.jsx("input",{id:"manual-hours",type:"number",min:"0",value:T,onChange:ae=>x(ae.target.value),className:`w-20 border rounded px-2 py-1 text-sm ${z}`,placeholder:"0",disabled:D})]}),m.jsxs("div",{children:[m.jsx("label",{htmlFor:"manual-minutes",className:`block text-xs ${j} mb-1`,children:"Minutes"}),m.jsx("input",{id:"manual-minutes",type:"number",min:"0",max:"59",value:C,onChange:ae=>w(ae.target.value),className:`w-20 border rounded px-2 py-1 text-sm ${z}`,placeholder:"0",disabled:D})]})]}),m.jsxs("div",{children:[m.jsx("label",{htmlFor:"manual-note",className:`block text-xs ${j} mb-1`,children:"Note (optional)"}),m.jsx("input",{id:"manual-note",type:"text",value:N,onChange:ae=>R(ae.target.value),className:`w-full border rounded px-2 py-1 text-sm ${z}`,placeholder:"What did you work on?",disabled:D})]}),m.jsxs("div",{className:"flex gap-2",children:[m.jsx("button",{type:"submit",className:"px-3 py-1 bg-blue-600 text-white rounded text-sm hover:bg-blue-700 disabled:opacity-50",disabled:D,children:"Add Time"}),m.jsx("button",{type:"button",onClick:()=>y(!1),className:`px-3 py-1 border ${G} rounded text-sm ${n?"hover:bg-gray-600 text-gray-300":"hover:bg-gray-100 text-gray-700"}`,disabled:D,children:"Cancel"})]})]}),m.jsxs("div",{className:`flex justify-between items-center py-2 border-t ${G}`,children:[m.jsx("span",{className:`text-sm font-medium ${B}`,children:"Total Time Spent"}),m.jsx("span",{className:`text-lg font-bold ${I}`,children:re(e.timeSpent)})]}),J.length>0&&m.jsxs("div",{children:[m.jsx("h4",{className:`text-sm font-medium ${B} mb-2`,children:"Time Log"}),m.jsx("div",{className:"space-y-1 max-h-40 overflow-y-auto",children:J.slice().reverse().map(ae=>m.jsxs("div",{className:"flex justify-between items-center text-sm py-1",children:[m.jsxs("div",{className:"flex-1",children:[m.jsxs("span",{className:j,children:[ae.startedAt.toLocaleDateString()," ",ae.startedAt.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})]}),ae.note&&m.jsxs("span",{className:`${n?"text-gray-500":"text-gray-400"} ml-2`,children:["- ",ae.note]})]}),m.jsx("span",{className:`font-medium ${I}`,children:re(ae.duration)})]},ae.id))})]})]})}const a2=[{value:"todo",label:"To Do",lightColor:"bg-gray-100 text-gray-700",darkColor:"bg-gray-700 text-gray-300"},{value:"in-progress",label:"In Progress",lightColor:"bg-blue-100 text-blue-700",darkColor:"bg-blue-900/50 text-blue-300"},{value:"in-review",label:"In Review",lightColor:"bg-purple-100 text-purple-700",darkColor:"bg-purple-900/50 text-purple-300"},{value:"done",label:"Done",lightColor:"bg-green-100 text-green-700",darkColor:"bg-green-900/50 text-green-300"},{value:"blocked",label:"Blocked",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}],i2=[{value:"low",label:"Low",lightColor:"bg-gray-100 text-gray-600",darkColor:"bg-gray-700 text-gray-300"},{value:"medium",label:"Medium",lightColor:"bg-yellow-100 text-yellow-700",darkColor:"bg-yellow-900/50 text-yellow-300"},{value:"high",label:"High",lightColor:"bg-red-100 text-red-700",darkColor:"bg-red-900/50 text-red-300"}];function GI({task:e,allTasks:t,onClose:n,onUpdate:r,onDelete:o,onNavigateToTask:s}){const{isDark:u}=In(),{currentUser:c}=gR(),p=v.useRef(null),f=v.useRef(null),[g,h]=v.useState(!1),[y,T]=v.useState(""),[x,C]=v.useState(!1),[w,N]=v.useState(""),[R,D]=v.useState(!1),[L,O]=v.useState(""),[I,B]=v.useState(!1),[j,G]=v.useState(""),[z,ee]=v.useState(!1),[X,oe]=v.useState(""),[ue,ie]=v.useState(!1),[W,re]=v.useState(null),[J,ae]=v.useState(""),[P,V]=v.useState(""),[H,_]=v.useState(!1),[ne,se]=v.useState(!1),[q,Ee]=v.useState(""),de=v.useRef(null),Te=v.useRef(null);v.useEffect(()=>{e?(T(e.title),N(e.description||""),O(e.implementationPlan||""),G(e.implementationNotes||""),Ee(e.assignee||""),p.current?.showModal()):(p.current?.close(),h(!1),C(!1),D(!1),B(!1),ie(!1),re(null),_(!1),se(!1))},[e]),v.useEffect(()=>{const fe=Xe=>{let Ve=Xe.target;for(;Ve&&Ve.tagName!=="A"&&Ve!==f.current;)Ve=Ve.parentElement;if(Ve&&Ve.tagName==="A"){const tt=Ve.getAttribute("href");if(tt&&tt.startsWith("#/")){n();return}if(tt&&/^(task-)?\d+(\.md)?$/.test(tt)){Xe.preventDefault();const lt=tt.replace(/^task-/,"").replace(/\.md$/,"");window.location.hash=`/kanban/${lt}`,n();return}if(tt&&(tt.endsWith(".md")||tt.includes(".md#"))){Xe.preventDefault();const lt=tt.replace(/^\.\//,"").replace(/^\//,"");window.location.hash=`/docs/${lt}`,n()}}},Oe=f.current;if(Oe)return Oe.addEventListener("click",fe),()=>Oe.removeEventListener("click",fe)},[t,s,n]),v.useEffect(()=>{g&&de.current&&de.current.focus()},[g]),v.useEffect(()=>{ue&&Te.current&&Te.current.focus()},[ue]);const ze=fe=>{f.current&&!f.current.contains(fe.target)&&n()},Qe=v.useCallback(fe=>{fe.key==="Escape"&&!g&&!x&&!R&&!I&&!ue&&!H&&n()},[n,g,x,R,I,ue,H]),pe=async fe=>{if(e){ee(!0);try{const Oe=await Td(e.id,fe);r(Oe)}catch(Oe){console.error("Failed to update task:",Oe)}finally{ee(!1)}}},He=()=>{y.trim()&&y!==e?.title&&pe({title:y.trim()}),h(!1)},$e=()=>{w!==e?.description&&pe({description:w||void 0}),C(!1)},xe=()=>{L!==e?.implementationPlan&&pe({implementationPlan:L||void 0}),D(!1)},rt=()=>{j!==e?.implementationNotes&&pe({implementationNotes:j||void 0}),B(!1)},Me=fe=>pe({status:fe}),Je=fe=>pe({priority:fe}),Ze=fe=>{if(!e)return;const Oe=e.acceptanceCriteria.map((Xe,Ve)=>Ve===fe?{...Xe,completed:!Xe.completed}:Xe);pe({acceptanceCriteria:Oe})},Ke=()=>{!e||!X.trim()||(pe({acceptanceCriteria:[...e.acceptanceCriteria,{text:X.trim(),completed:!1}]}),oe(""),ie(!1))},It=fe=>{e&&pe({acceptanceCriteria:e.acceptanceCriteria.filter((Oe,Xe)=>Xe!==fe)})},$t=fe=>{if(!e)return;const Oe=e.acceptanceCriteria[fe];Oe&&(re(fe),ae(Oe.text))},ot=()=>{if(!e||W===null)return;const fe=e.acceptanceCriteria[W];fe&&(J.trim()&&J!==fe.text&&pe({acceptanceCriteria:e.acceptanceCriteria.map((Oe,Xe)=>Xe===W?{...Oe,text:J.trim()}:Oe)}),re(null),ae(""))},we=()=>{!e||!P.trim()||(e.labels.includes(P.trim())||pe({labels:[...e.labels,P.trim()]}),V(""),_(!1))},st=fe=>{e&&pe({labels:e.labels.filter(Oe=>Oe!==fe)})};if(!e)return null;const k=e.acceptanceCriteria.filter(fe=>fe.completed).length,U=e.acceptanceCriteria.length,K=U>0?k/U*100:0,le=a2.find(fe=>fe.value===e.status),Ne=i2.find(fe=>fe.value===e.priority),Ae=u?"bg-gray-800":"bg-gray-100",Fe=u?"bg-gray-700":"bg-white",De=u?"text-gray-300":"text-gray-700",Re=u?"text-gray-400":"text-gray-500",je=u?"border-gray-600":"border-gray-200",be=u?"bg-gray-600 border-gray-500 text-gray-100":"bg-white border-gray-300 text-gray-900",Ie=u?"hover:bg-gray-600":"hover:bg-gray-50";return m.jsx("dialog",{ref:p,className:"fixed inset-0 bg-transparent p-0 m-0 max-w-none w-full h-full backdrop:bg-black backdrop:bg-opacity-60",onKeyDown:Qe,"aria-labelledby":"modal-title",children:m.jsx("div",{className:"flex justify-center pt-12 pb-8 px-4 min-h-full",onClick:ze,children:m.jsxs("div",{ref:f,className:`${Ae} rounded-xl shadow-2xl w-full max-w-6xl max-h-[calc(100vh-80px)] overflow-hidden flex flex-col`,onClick:fe=>fe.stopPropagation(),children:[m.jsxs("div",{className:"bg-gradient-to-r from-blue-500 to-blue-600 px-6 py-4 flex items-start justify-between",children:[m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsxs("span",{className:"text-blue-100 text-sm font-mono",children:["#",e.id]}),g?m.jsx("input",{ref:de,type:"text",value:y,onChange:fe=>T(fe.target.value),onBlur:He,onKeyDown:fe=>{fe.key==="Enter"&&He(),fe.key==="Escape"&&(T(e.title),h(!1))},className:"w-full text-xl font-bold bg-white/20 text-white placeholder-white/60 border-0 rounded px-2 py-1 mt-1 focus:outline-none focus:ring-2 focus:ring-white/50"}):m.jsx("h2",{id:"modal-title",className:"text-xl font-bold text-white mt-1 cursor-pointer hover:bg-white/10 rounded px-2 py-1 -mx-2 truncate",onClick:()=>h(!0),onKeyDown:fe=>fe.key==="Enter"&&h(!0),children:e.title})]}),m.jsx("button",{type:"button",onClick:n,className:"text-white/80 hover:text-white hover:bg-white/20 rounded-full p-2 ml-4 transition-colors","aria-label":"Close modal",children:m.jsx(Eu,{className:"w-5 h-5"})})]}),m.jsxs("div",{className:"flex flex-col md:flex-row flex-1 min-h-0 overflow-hidden",children:[m.jsx(Nr,{className:"flex-1 min-h-0",children:m.jsxs("div",{className:"p-6 space-y-6",children:[m.jsxs("section",{children:[m.jsxs("div",{className:`flex items-center gap-2 mb-3 ${De}`,children:[m.jsx(T2,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"Description"})]}),x?m.jsxs("div",{children:[m.jsx(Vi,{markdown:w,onChange:N,placeholder:"Add a more detailed description...",readOnly:z}),m.jsxs("div",{className:"flex gap-2 mt-2",children:[m.jsx("button",{type:"button",onClick:$e,className:"px-4 py-1.5 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:z,children:"Save"}),m.jsx("button",{type:"button",onClick:()=>{N(e.description||""),C(!1)},className:`px-4 py-1.5 ${Re} text-sm ${Ie} rounded`,children:"Cancel"})]})]}):m.jsx("div",{className:`${Fe} rounded-lg px-3 py-2 min-h-20 cursor-pointer ${Ie} transition-colors border ${je} overflow-hidden`,onClick:()=>C(!0),tabIndex:0,role:"button",children:e.description?m.jsx(au,{markdown:e.description,className:`text-sm ${De}`}):m.jsx("span",{className:`${Re} italic text-sm`,children:"Add description..."})})]}),m.jsxs("section",{children:[m.jsxs("div",{className:`flex items-center gap-2 mb-3 ${De}`,children:[m.jsx(ab,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"Acceptance Criteria"}),U>0&&m.jsxs("span",{className:`text-sm ${Re}`,children:["(",k,"/",U,")"]})]}),U>0&&m.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[m.jsxs("span",{className:`text-xs ${Re} w-8`,children:[Math.round(K),"%"]}),m.jsx("div",{className:`flex-1 h-2 ${u?"bg-gray-600":"bg-gray-200"} rounded-full overflow-hidden`,children:m.jsx("div",{className:`h-full transition-all ${K===100?"bg-green-500":"bg-blue-500"}`,style:{width:`${K}%`}})})]}),m.jsx("div",{className:"space-y-2",children:e.acceptanceCriteria.map((fe,Oe)=>m.jsxs("div",{className:`flex items-start gap-2 ${Fe} rounded-lg px-3 py-2 group ${Ie}`,children:[m.jsx("input",{type:"checkbox",checked:fe.completed,onChange:()=>Ze(Oe),className:"mt-1 w-4 h-4 rounded cursor-pointer accent-blue-600",disabled:z}),W===Oe?m.jsx("input",{type:"text",value:J,onChange:Xe=>ae(Xe.target.value),onBlur:ot,onKeyDown:Xe=>{Xe.key==="Enter"&&ot(),Xe.key==="Escape"&&(re(null),ae(""))},className:`flex-1 ${be} rounded px-2 py-0.5 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`}):m.jsx("span",{className:`flex-1 text-sm cursor-pointer ${fe.completed?`${Re} line-through`:De}`,onClick:()=>$t(Oe),tabIndex:0,role:"button",children:fe.text}),m.jsx("button",{type:"button",onClick:()=>It(Oe),className:`opacity-0 group-hover:opacity-100 ${Re} hover:text-red-500 p-1 transition-all`,children:m.jsx(Md,{className:"w-4 h-4"})})]},`ac-${Oe}`))}),ue?m.jsxs("div",{className:`mt-2 ${Fe} rounded-lg px-3 py-2`,children:[m.jsx("input",{ref:Te,type:"text",value:X,onChange:fe=>oe(fe.target.value),onKeyDown:fe=>{fe.key==="Enter"&&X.trim()&&Ke(),fe.key==="Escape"&&(oe(""),ie(!1))},placeholder:"Add an item...",className:`w-full ${be} rounded px-2 py-1.5 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`}),m.jsxs("div",{className:"flex gap-2 mt-2",children:[m.jsx("button",{type:"button",onClick:Ke,className:"px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:!X.trim(),children:"Add"}),m.jsx("button",{type:"button",onClick:()=>{oe(""),ie(!1)},className:`px-3 py-1 ${Re} text-sm ${Ie} rounded`,children:"Cancel"})]})]}):m.jsxs("button",{type:"button",onClick:()=>ie(!0),className:`mt-2 flex items-center gap-1 text-sm ${Re} ${Ie} px-3 py-2 rounded-lg w-full`,children:[m.jsx(Da,{className:"w-4 h-4"}),m.jsx("span",{children:"Add an item"})]})]}),m.jsxs("section",{children:[m.jsxs("div",{className:`flex items-center gap-2 mb-3 ${De}`,children:[m.jsx(fi,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"Implementation Plan"})]}),R?m.jsxs("div",{children:[m.jsx(Vi,{markdown:L,onChange:O,placeholder:`1. First step
|
|
150
|
-
2. Second step
|
|
151
|
-
3. Third step...`,readOnly:z}),m.jsxs("div",{className:"flex gap-2 mt-2",children:[m.jsx("button",{type:"button",onClick:xe,className:"px-4 py-1.5 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:z,children:"Save"}),m.jsx("button",{type:"button",onClick:()=>{O(e.implementationPlan||""),D(!1)},className:`px-4 py-1.5 ${Re} text-sm ${Ie} rounded`,children:"Cancel"})]})]}):m.jsx("div",{className:`${Fe} rounded-lg px-3 py-2 min-h-16 cursor-pointer ${Ie} border ${je} overflow-hidden`,onClick:()=>D(!0),tabIndex:0,role:"button",children:e.implementationPlan?m.jsx(au,{markdown:e.implementationPlan,className:`text-sm ${De}`}):m.jsx("span",{className:`${Re} italic text-sm`,children:"Add implementation plan..."})})]}),m.jsxs("section",{children:[m.jsxs("div",{className:`flex items-center gap-2 mb-3 ${De}`,children:[m.jsx(E2,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"Implementation Notes"})]}),I?m.jsxs("div",{children:[m.jsx(Vi,{markdown:j,onChange:G,placeholder:"Add implementation notes...",readOnly:z}),m.jsxs("div",{className:"flex gap-2 mt-2",children:[m.jsx("button",{type:"button",onClick:rt,className:"px-4 py-1.5 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:z,children:"Save"}),m.jsx("button",{type:"button",onClick:()=>{G(e.implementationNotes||""),B(!1)},className:`px-4 py-1.5 ${Re} text-sm ${Ie} rounded`,children:"Cancel"})]})]}):m.jsx("div",{className:`${Fe} rounded-lg px-3 py-2 min-h-16 cursor-pointer ${Ie} border ${je} overflow-hidden`,onClick:()=>B(!0),tabIndex:0,role:"button",children:e.implementationNotes?m.jsx(au,{markdown:e.implementationNotes,className:`text-sm ${De}`}):m.jsx("span",{className:`${Re} italic text-sm`,children:"Add notes..."})})]}),(()=>{const fe=/\[([^\]]+)\]\(([^)]+)\)/g,Oe=[],Xe=[e.description||"",e.implementationPlan||"",e.implementationNotes||""].join(`
|
|
152
|
-
`);let Ve;for(;(Ve=fe.exec(Xe))!==null;){const tt=Ve[2];if(tt.startsWith("http://")||tt.startsWith("https://")||tt.startsWith("../")||/^(task-)?\d+(\.md)?$/.test(tt))continue;let lt=tt;lt=lt.replace(/^\.\//,""),lt.endsWith(".md")||(lt=`${lt}.md`),Oe.push({text:Ve[1],filename:lt})}if(Oe.length===0)return null;const Nt=Array.from(new Map(Oe.map(tt=>[tt.filename,tt])).values());return m.jsxs("section",{children:[m.jsxs("div",{className:`flex items-center gap-2 mb-3 ${De}`,children:[m.jsx(fi,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"Related Documentation"}),m.jsxs("span",{className:`text-sm ${Re}`,children:["(",Nt.length,")"]})]}),m.jsx("div",{className:"space-y-2",children:Nt.map((tt,lt)=>m.jsxs("div",{className:`${Fe} rounded-lg px-3 py-2 flex items-center gap-2 ${je} border`,children:[m.jsx("span",{className:"text-blue-500",children:"📄"}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsx("p",{className:`text-sm font-medium ${De} truncate`,children:tt.text}),m.jsxs("p",{className:`text-xs ${Re} font-mono truncate`,children:["@.knowns/docs/",tt.filename]})]})]},lt))})]})})(),m.jsxs("section",{children:[m.jsxs("div",{className:`flex items-center gap-2 mb-3 ${De}`,children:[m.jsx(HL,{className:"w-5 h-5"}),m.jsx("h3",{className:"font-semibold",children:"Time Tracking"})]}),m.jsx("div",{className:`${Fe} rounded-lg p-3`,children:m.jsx(GZ,{task:e,onUpdate:r})})]}),m.jsx("section",{children:m.jsx($Z,{taskId:e.id})})]})}),m.jsx(Nr,{className:`w-full md:w-64 md:max-w-64 ${u?"bg-gray-750":"bg-gray-50"} border-t md:border-t-0 md:border-l ${je}`,children:m.jsxs("div",{className:"p-4 space-y-4 max-w-full overflow-hidden",children:[m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Re} uppercase tracking-wide mb-2`,children:"Status"}),m.jsx("select",{value:e.status,onChange:fe=>Me(fe.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500 ${u?le?.darkColor:le?.lightColor}`,disabled:z,children:a2.map(fe=>m.jsx("option",{value:fe.value,children:fe.label},fe.value))})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Re} uppercase tracking-wide mb-2`,children:"Priority"}),m.jsx("select",{value:e.priority,onChange:fe=>Je(fe.target.value),className:`w-full rounded-lg px-3 py-2 text-sm font-medium border-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500 ${u?Ne?.darkColor:Ne?.lightColor}`,disabled:z,children:i2.map(fe=>m.jsx("option",{value:fe.value,children:fe.label},fe.value))})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Re} uppercase tracking-wide mb-2`,children:"Assignee"}),m.jsx(jR,{value:e.assignee||"",onChange:fe=>{Ee(fe),pe({assignee:fe||void 0})},currentUser:c,showGrabButton:!1,container:f.current})]}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Re} uppercase tracking-wide mb-2`,children:"Labels"}),m.jsx("div",{className:"flex flex-wrap gap-1 mb-2",children:e.labels.map(fe=>m.jsxs("span",{className:`inline-flex items-center gap-1 text-xs ${u?"bg-blue-900/50 text-blue-300":"bg-blue-100 text-blue-700"} px-2 py-1 rounded-full group`,children:[fe,m.jsx("button",{type:"button",onClick:()=>st(fe),className:"opacity-0 group-hover:opacity-100 hover:text-red-500",children:"×"})]},fe))}),H?m.jsxs("div",{children:[m.jsx("input",{type:"text",value:P,onChange:fe=>V(fe.target.value),onKeyDown:fe=>{fe.key==="Enter"&&P.trim()&&we(),fe.key==="Escape"&&(V(""),_(!1))},placeholder:"Label name",className:`w-full ${be} rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500`}),m.jsxs("div",{className:"flex gap-2 mt-2",children:[m.jsx("button",{type:"button",onClick:we,className:"px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700",disabled:!P.trim(),children:"Add"}),m.jsx("button",{type:"button",onClick:()=>{V(""),_(!1)},className:`px-3 py-1 ${Re} text-sm ${Ie} rounded`,children:"Cancel"})]})]}):m.jsxs("button",{type:"button",onClick:()=>_(!0),className:`flex items-center gap-1 text-sm ${Re} ${Ie} px-2 py-1.5 rounded`,children:[m.jsx(Da,{className:"w-4 h-4"}),m.jsx("span",{children:"Add label"})]})]}),e.parent&&(()=>{const fe=t.find(Oe=>Oe.id===e.parent);return fe?m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Re} uppercase tracking-wide mb-2`,children:"Parent Task"}),m.jsxs("div",{title:`#${fe.id} ${fe.title}`,role:"button",tabIndex:0,onClick:()=>s?.(fe.id),onKeyDown:Oe=>Oe.key==="Enter"&&s?.(fe.id),className:`w-56 flex items-center gap-2 ${Fe} rounded-lg px-3 py-2 text-sm text-left ${Ie} border ${je} overflow-hidden cursor-pointer`,children:[m.jsx(p2,{className:"w-4 h-4"}),m.jsxs("div",{className:"flex-1 min-w-0 overflow-hidden",children:[m.jsxs("span",{className:`text-xs ${Re} font-mono`,children:["#",fe.id]}),m.jsx("p",{className:`${De} truncate`,children:fe.title})]})]})]}):null})(),e.subtasks.length>0&&m.jsxs("div",{children:[m.jsxs("label",{className:`block text-xs font-semibold ${Re} uppercase tracking-wide mb-2`,children:["Subtasks (",e.subtasks.length,")"]}),m.jsx("div",{className:"space-y-1 max-h-48 overflow-y-auto",children:e.subtasks.map(fe=>{const Oe=t.find(Xe=>Xe.id===fe);return Oe?m.jsxs("button",{title:`#${Oe.id} ${Oe.title}`,type:"button",onClick:()=>s?.(fe),className:`w-56 flex items-center gap-2 ${Fe} rounded-lg px-3 py-2 text-sm text-left ${Ie} border ${je} overflow-hidden`,children:[m.jsx("span",{className:`w-2 h-2 rounded-full ${Oe.status==="done"?"bg-green-500":"bg-gray-400"}`}),m.jsxs("div",{className:"flex-1 min-w-0 overflow-hidden",children:[m.jsxs("span",{className:`text-xs ${Re} font-mono`,children:["#",Oe.id]}),m.jsx("p",{className:`truncate ${Oe.status==="done"?`${Re} line-through`:De}`,children:Oe.title})]})]},fe):null})})]}),m.jsx("hr",{className:je}),m.jsxs("div",{children:[m.jsx("label",{className:`block text-xs font-semibold ${Re} uppercase tracking-wide mb-2`,children:"Actions"}),m.jsxs("div",{className:"space-y-1",children:[m.jsxs("button",{type:"button",onClick:()=>pe({status:"done"}),className:`w-full flex items-center gap-2 px-3 py-2 text-sm text-left ${Re} ${Ie} rounded-lg`,disabled:z||e.status==="done",children:[m.jsx(RL,{className:"w-4 h-4"}),m.jsx("span",{children:"Mark as Done"})]}),o&&m.jsxs("button",{type:"button",onClick:()=>{confirm("Delete this task?")&&o(e.id)},className:`w-full flex items-center gap-2 px-3 py-2 text-sm text-left text-red-500 ${u?"hover:bg-red-900/30":"hover:bg-red-50"} rounded-lg`,disabled:z,children:[m.jsx(Md,{className:"w-4 h-4"}),m.jsx("span",{children:"Delete Task"})]})]})]})]})})]}),m.jsxs("div",{className:`border-t ${je} px-6 py-3 ${u?"bg-gray-750":"bg-gray-50"} text-xs ${Re} flex justify-between`,children:[m.jsxs("span",{children:["Created: ",new Date(e.createdAt).toLocaleString()]}),m.jsxs("span",{children:["Updated: ",new Date(e.updatedAt).toLocaleString()]})]})]})})})}const o2={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked","on-hold":"On Hold"};function VZ(e){return o2[e]?o2[e]:e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function YZ({tasks:e,loading:t,onTasksUpdate:n}){const{isDark:r}=In(),[o,s]=v.useState([]),[u,c]=v.useState(new Set),p=()=>{const I=window.location.hash.slice(1).match(/^\/kanban\/([^?]+)/);if(!I)return null;const B=I[1];return e.find(j=>j.id===B)||null},[f,g]=v.useState(p());v.useEffect(()=>{const O=()=>{g(p())};return g(p()),window.addEventListener("hashchange",O),()=>window.removeEventListener("hashchange",O)},[e]),v.useEffect(()=>{Yi().then(O=>{const I=O?.statuses||["todo","in-progress","in-review","done","blocked"];s(I);const B=new Set(I);O?.visibleColumns?c(new Set(O.visibleColumns)):c(B)}).catch(O=>console.error("Failed to load config:",O))},[]);const h=async O=>{try{const I=await Yi();I.visibleColumns=[...O],await d2(I)}catch(I){console.error("Failed to save config:",I)}},y=O=>{c(I=>{const B=new Set(I);return B.has(O)?B.delete(O):B.add(O),h(B),B})},T=async(O,I)=>{const B=e.find(j=>j.id===O);if(!(!B||B.status===I)){n(e.map(j=>j.id===O?{...j,status:I}:j));try{await ka.updateTask(O,{status:I})}catch(j){console.error("Failed to update task:",j),ka.getTasks().then(n).catch(console.error)}}};if(t)return m.jsx("div",{className:"flex items-center justify-center h-64",children:m.jsxs("div",{className:"text-center",children:[m.jsx("div",{className:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"}),m.jsx("p",{className:"mt-2 text-gray-600",children:"Loading tasks..."})]})});const x=O=>{window.location.hash=`/kanban/${O.id}`},C=()=>{window.location.hash="/"},w=O=>{n(e.map(I=>I.id===O.id?O:I))},N=O=>{window.location.hash=`/kanban/${O}`},R=r?"bg-gray-800":"bg-white",D=r?"text-gray-400":"text-gray-600",L=r?"border-gray-700":"border-gray-200";return m.jsxs("div",{className:"flex flex-col h-full",children:[m.jsx("div",{className:`shrink-0 ${R} rounded-lg p-4 mb-4 border ${L}`,children:m.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[m.jsx("span",{className:`text-sm font-medium ${D}`,children:"Show Columns:"}),o.map(O=>{const I=u.has(O);return m.jsx("label",{className:"flex items-center gap-2 cursor-pointer hover:opacity-80 transition-opacity",children:m.jsxs("button",{type:"button",onClick:()=>y(O),className:`flex items-center gap-2 px-3 py-1.5 rounded-lg transition-colors ${I?r?"bg-blue-900 text-blue-200":"bg-blue-100 text-blue-700":r?"bg-gray-700 text-gray-400":"bg-gray-100 text-gray-500"}`,children:[I?m.jsx(ZL,{className:"w-4 h-4"}):m.jsx(XL,{className:"w-4 h-4"}),m.jsx("span",{className:"text-sm font-medium",children:VZ(O)})]})},O)})]})}),m.jsxs(Nr,{className:"flex-1",children:[m.jsx("div",{className:"flex gap-4 pb-4 min-h-full",children:o.filter(O=>u.has(O)).map(O=>m.jsx(FK,{status:O,tasks:e.filter(I=>I.status===O),onDrop:T,onTaskClick:x},O))}),u.size===0&&m.jsx("div",{className:"text-center py-12",children:m.jsx("p",{className:`text-lg ${D}`,children:"No columns visible. Please select at least one column to display."})}),m.jsx(JS,{orientation:"horizontal"})]}),m.jsx(GI,{task:f,allTasks:e,onClose:C,onUpdate:w,onNavigateToTask:N})]})}function s2({tasks:e,loading:t,onTasksUpdate:n,onNewTask:r}){const{isDark:o}=In(),s=o?"text-gray-200":"text-gray-900";return m.jsxs("div",{className:"flex flex-col h-full overflow-hidden",children:[m.jsx("div",{className:"shrink-0 p-6 pb-0",children:m.jsxs("div",{className:"mb-4 flex items-center justify-between gap-4",children:[m.jsx("h1",{className:`text-2xl font-bold ${s}`,children:"Kanban Board"}),m.jsxs("button",{type:"button",onClick:r,className:"shrink-0 px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 flex items-center gap-2 transition-colors",children:[m.jsx(Da,{className:"w-4 h-4"}),"New Task"]})]})}),m.jsx("div",{className:"flex-1 overflow-hidden px-6 pb-6",children:m.jsx(YZ,{tasks:e,loading:t,onTasksUpdate:n})})]})}const qZ={todo:"○","in-progress":"◒","in-review":"◎",done:"◉",blocked:"⊗","on-hold":"⊙",urgent:"⚡"},l2={todo:"To Do","in-progress":"In Progress","in-review":"In Review",done:"Done",blocked:"Blocked","on-hold":"On Hold",urgent:"Urgent"};function WZ(e){return qZ[e]||"●"}function XZ(e){return l2[e]?l2[e]:e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function KZ({tasks:e,loading:t,onTasksUpdate:n,selectedTask:r,onTaskClose:o,onNewTask:s}){const{isDark:u}=In(),[c,p]=v.useState("all"),[f,g]=v.useState("all"),[h,y]=v.useState(null),[T,x]=v.useState(new Set);v.useEffect(()=>{r&&y(r)},[r]);const C=u?"bg-gray-800":"bg-white",w=u?"text-gray-200":"text-gray-900",N=u?"text-gray-400":"text-gray-600",R=u?"border-gray-700":"border-gray-200",D=e.filter(B=>B.subtasks&&B.subtasks.length>0);let L=c==="all"?e:e.filter(B=>B.status===c);f==="root"?L=L.filter(B=>!B.parent):f!=="all"&&(L=L.filter(B=>B.parent===f));const O={todo:[],"in-progress":[],"in-review":[],blocked:[],done:[]};for(const B of L)O[B.status]&&O[B.status].push(B);const I={high:0,medium:1,low:2};for(const B in O)O[B].sort((j,G)=>{const z=I[j.priority]-I[G.priority];return z!==0?z:j.id.localeCompare(G.id,void 0,{numeric:!0})});return t?m.jsx("div",{className:"p-6 flex items-center justify-center h-64",children:m.jsx("div",{className:`text-lg ${N}`,children:"Loading tasks..."})}):m.jsxs("div",{className:"p-6 h-full flex flex-col overflow-hidden",children:[m.jsxs("div",{className:"mb-6 flex items-center justify-between gap-4",children:[m.jsxs("div",{className:"flex-1",children:[m.jsx("h1",{className:`text-2xl font-bold ${w} mb-4`,children:"All Tasks"}),m.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[m.jsx(ib,{className:"w-4 h-4"}),m.jsxs("select",{value:c,onChange:B=>p(B.target.value),className:`px-3 py-2 rounded-lg border ${R} ${C} ${w} focus:outline-none focus:ring-2 focus:ring-blue-500`,children:[m.jsx("option",{value:"all",children:"All Status"}),m.jsx("option",{value:"todo",children:"To Do"}),m.jsx("option",{value:"in-progress",children:"In Progress"}),m.jsx("option",{value:"in-review",children:"In Review"}),m.jsx("option",{value:"blocked",children:"Blocked"}),m.jsx("option",{value:"done",children:"Done"})]}),m.jsxs("select",{value:f,onChange:B=>g(B.target.value),className:`px-3 py-2 rounded-lg border ${R} ${C} ${w} focus:outline-none focus:ring-2 focus:ring-blue-500`,children:[m.jsx("option",{value:"all",children:"All Tasks"}),m.jsx("option",{value:"root",children:"Root Tasks Only"}),D.map(B=>{const j=`Subtasks of #${B.id}: ${B.title}`,G=j.length>60?j.substring(0,60)+"...":j;return m.jsx("option",{value:B.id,title:j,children:G},B.id)})]}),m.jsxs("span",{className:N,children:[L.length," ",L.length===1?"task":"tasks"]})]})]}),m.jsxs("button",{type:"button",onClick:s,className:"shrink-0 px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 flex items-center gap-2 transition-colors ml-4",children:[m.jsx(Da,{className:"w-4 h-4"}),"New Task"]})]}),m.jsx(Nr,{className:"flex-1",children:m.jsxs("div",{className:"space-y-6 pr-4",children:[Object.entries(O).map(([B,j])=>j.length===0?null:m.jsxs("div",{children:[m.jsxs("h2",{className:`text-lg font-semibold ${w} mb-3`,children:[XZ(B)," (",j.length,")"]}),m.jsx("div",{className:"space-y-2",children:j.map(G=>{const z=T.has(G.id),ee=G.parent?e.find(X=>X.id===G.parent):null;return m.jsx("div",{className:`${C} rounded-lg p-4 border ${R} transition-colors`,children:m.jsxs("div",{className:"flex items-start gap-3",children:[m.jsx("span",{className:"text-xl mt-0.5",children:WZ(G.status)}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsxs("div",{className:"flex items-center gap-2 mb-1 flex-wrap",children:[m.jsx("span",{className:`text-xs ${N} font-mono`,children:G.id}),m.jsx("span",{className:`text-xs px-2 py-0.5 rounded ${G.priority==="high"?"bg-red-100 text-red-700 dark:bg-red-900 dark:text-red-200":G.priority==="medium"?"bg-yellow-100 text-yellow-700 dark:bg-yellow-900 dark:text-yellow-200":"bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300"}`,children:G.priority.toUpperCase()}),ee&&m.jsxs("span",{className:`text-xs px-2 py-0.5 rounded ${u?"bg-purple-900 text-purple-200":"bg-purple-100 text-purple-700"}`,children:["Subtask of #",ee.id]}),G.subtasks&&G.subtasks.length>0&&m.jsxs("span",{className:`text-xs px-2 py-0.5 rounded ${u?"bg-green-900 text-green-200":"bg-green-100 text-green-700"}`,children:[G.subtasks.length," subtask",G.subtasks.length>1?"s":""]})]}),m.jsx("button",{type:"button",onClick:()=>{window.location.hash=`/kanban/${G.id}`},className:`font-medium ${w} mb-1 hover:underline text-left w-full`,children:G.title}),G.description&&m.jsxs("div",{className:`text-sm ${N} mt-2`,children:[m.jsx("p",{className:z?"":"line-clamp-2",children:G.description}),G.description.length>100&&m.jsx("button",{type:"button",onClick:X=>{X.stopPropagation();const oe=new Set(T);z?oe.delete(G.id):oe.add(G.id),x(oe)},className:`text-xs ${u?"text-blue-400 hover:text-blue-300":"text-blue-600 hover:text-blue-700"} mt-1 font-medium`,children:z?"Show less":"Show more"})]}),G.acceptanceCriteria.length>0&&m.jsxs("div",{className:`flex items-center gap-2 mt-2 text-xs ${N}`,children:[m.jsx(h2,{className:"w-3 h-3"}),m.jsxs("span",{children:[G.acceptanceCriteria.filter(X=>X.completed).length,"/",G.acceptanceCriteria.length," criteria"]})]}),G.labels.length>0&&m.jsx("div",{className:"flex gap-1 mt-2 flex-wrap",children:G.labels.map(X=>m.jsx("span",{className:`text-xs px-2 py-0.5 rounded ${u?"bg-blue-900 text-blue-200":"bg-blue-100 text-blue-700"}`,children:X},X))})]}),G.assignee&&m.jsx("span",{className:`text-sm ${N} font-mono shrink-0`,children:G.assignee})]})},G.id)})})]},B)),L.length===0&&m.jsx("div",{className:"text-center py-12",children:m.jsx("p",{className:`text-lg ${N}`,children:"No tasks found"})})]})}),h&&m.jsx(GI,{task:h,allTasks:e,onClose:()=>{y(null),o&&o()},onUpdate:n})]})}const VI=v.createContext({isDark:!1,toggle:()=>{}}),In=()=>v.useContext(VI);function ZZ(){const[e,t]=v.useState([]),[n,r]=v.useState(!0),[o,s]=v.useState(!1),[u,c]=v.useState(!1),[p,f]=v.useState("Knowns"),[g,h]=v.useState(()=>{if(typeof window<"u"){const j=localStorage.getItem("theme");return j?j==="dark":window.matchMedia("(prefers-color-scheme: dark)").matches}return!1}),y=()=>{const j=window.location.hash.slice(1);return j.startsWith("/tasks")?"tasks":j.startsWith("/docs")?"docs":j.startsWith("/config")?"config":(j.startsWith("/kanban")||j==="/"||j==="","kanban")},T=j=>{const G=window.location.hash.slice(1),z="(?:kanban|tasks)",ee=G.match(new RegExp(`^/${z}/([^?]+)`))||G.match(/[?&]id=([^&]+)/);return ee?ee[1]:null},[x,C]=v.useState(y()),[w,N]=v.useState(window.location.hash);v.useEffect(()=>{const j=()=>{C(y()),N(window.location.hash)};return window.addEventListener("hashchange",j),()=>window.removeEventListener("hashchange",j)},[y]),v.useEffect(()=>{g?(document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark")):(document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"))},[g]),v.useEffect(()=>{const j=G=>{(G.metaKey||G.ctrlKey)&&G.key==="k"&&(G.preventDefault(),c(z=>!z))};return window.addEventListener("keydown",j),()=>window.removeEventListener("keydown",j)},[]),v.useEffect(()=>{Yi().then(G=>{G?.name&&f(G.name)}).catch(G=>console.error("Failed to load config:",G)),ka.getTasks().then(G=>{t(G),r(!1)}).catch(G=>{console.error("Failed to load tasks:",G),r(!1)});const j=cf(G=>{G.type==="tasks:updated"&&G.task?t(z=>{const ee=z.findIndex(X=>X.id===G.task?.id);if(ee>=0){const X=[...z];return X[ee]=G.task,X}return[...z,G.task]}):G.type==="tasks:refresh"&&ka.getTasks().then(t).catch(console.error)});return()=>{j&&j.close()}},[]);const R=()=>{ka.getTasks().then(t).catch(console.error)},D=j=>{t(j)},L=()=>h(j=>!j),O=j=>{window.location.hash=`/kanban/${j.id}`},I=j=>{j?.path?window.location.hash=`/docs/${j.path}`:j?.filename?window.location.hash=`/docs/${j.filename}`:window.location.hash="/docs"},B=()=>{switch(x){case"kanban":return m.jsx(s2,{tasks:e,loading:n,onTasksUpdate:D,onNewTask:()=>s(!0)});case"tasks":{const j=T(),G=j?e.find(z=>z.id===j):null;return m.jsx(KZ,{tasks:e,loading:n,onTasksUpdate:R,selectedTask:G,onTaskClose:()=>{window.location.hash="/tasks"},onNewTask:()=>s(!0)})}case"docs":return m.jsx(IK,{});case"config":return m.jsx(DK,{});default:return m.jsx(s2,{tasks:e,loading:n,onTasksUpdate:D,onNewTask:()=>s(!0)})}};return m.jsx(VI.Provider,{value:{isDark:g,toggle:L},children:m.jsx(F8,{children:m.jsxs(aR,{children:[m.jsx(M8,{currentPage:x,isDark:g,onToggleTheme:L,onSearchClick:()=>c(!0)}),m.jsxs("main",{className:"flex flex-1 flex-col bg-background overflow-hidden",children:[m.jsxs("header",{className:"flex h-12 shrink-0 items-center gap-2 border-b px-4",children:[m.jsx(oR,{className:"-ml-1"}),m.jsx(ub,{orientation:"vertical",className:"mr-2 h-4"}),m.jsx("div",{className:"flex flex-1 items-center gap-2 text-sm",children:m.jsx("span",{className:`font-semibold ${g?"text-gray-100":"text-gray-900"}`,children:p})}),m.jsx(RK,{})]}),m.jsx("div",{className:"flex-1 w-full overflow-y-auto overflow-x-hidden",children:B()})]}),m.jsx(TK,{isOpen:o,allTasks:e,onClose:()=>s(!1),onCreated:R}),m.jsx(xK,{open:u,onOpenChange:c,onTaskSelect:O,onDocSelect:I})]})})})}const YI=document.getElementById("root");if(!YI)throw new Error("Root element not found");pL.createRoot(YI).render(m.jsx(ZZ,{}));
|