diff --git a/assets/bootstrap-DaH2mGgW.js b/assets/bootstrap-T6MQIkj_.js similarity index 88% rename from assets/bootstrap-DaH2mGgW.js rename to assets/bootstrap-T6MQIkj_.js index 1c408e1..c4f7b54 100644 --- a/assets/bootstrap-DaH2mGgW.js +++ b/assets/bootstrap-T6MQIkj_.js @@ -261,7 +261,7 @@ function XD(){return XD=Object.assign?Object.assign.bind():function(e){for(var t * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ZF(){return ZF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Promise((()=>{}));const JF=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(w0){}function e$(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ZF({},t,{errors:t$(t.errors)})),t}function t$(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&"RouteErrorResponse"===o.__type)n[r]=new Pj(o.status,o.statusText,o.data,!0===o.internal);else if(o&&"Error"===o.__type){if(o.__subType){let e=window[o.__subType];if("function"==typeof e)try{let t=new e(o.message);t.stack="",n[r]=t}catch(w0){}}if(null==n[r]){let e=new Error(o.message);e.stack="",n[r]=e}}else n[r]=o;return n}const n$=U.createContext({isTransitioning:!1}),r$=U.createContext(new Map),o$=V.startTransition,a$=hd.flushSync;function i$(e){a$?a$(e):e()}class s${constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function l$(e){let{fallbackElement:t,router:n,future:r}=e,[o,a]=U.useState(n.state),[i,s]=U.useState(),[l,u]=U.useState({isTransitioning:!1}),[c,d]=U.useState(),[p,f]=U.useState(),[m,h]=U.useState(),g=U.useRef(new Map),{v7_startTransition:b}=r||{},v=U.useCallback((e=>{b?function(e){o$?o$(e):e()}(e):e()}),[b]),y=U.useCallback(((e,t)=>{let{deletedFetchers:r,unstable_flushSync:o,unstable_viewTransitionOpts:i}=t;r.forEach((e=>g.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}));let l=null==n.window||"function"!=typeof n.window.document.startViewTransition;if(i&&!l){if(o){i$((()=>{p&&(c&&c.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})}));let t=n.window.document.startViewTransition((()=>{i$((()=>a(e)))}));return t.finished.finally((()=>{i$((()=>{d(void 0),f(void 0),s(void 0),u({isTransitioning:!1})}))})),void i$((()=>f(t)))}p?(c&&c.resolve(),p.skipTransition(),h({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(s(e),u({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))}else o?i$((()=>a(e))):v((()=>a(e)))}),[n.window,p,c,g,v]);U.useLayoutEffect((()=>n.subscribe(y)),[n,y]),U.useEffect((()=>{l.isTransitioning&&!l.flushSync&&d(new s$)}),[l]),U.useEffect((()=>{if(c&&i&&n.window){let e=i,t=c.promise,r=n.window.document.startViewTransition((async()=>{v((()=>a(e))),await t}));r.finished.finally((()=>{d(void 0),f(void 0),s(void 0),u({isTransitioning:!1})})),f(r)}}),[v,i,c,n.window]),U.useEffect((()=>{c&&i&&o.location.key===i.location.key&&c.resolve()}),[c,p,o.location,i]),U.useEffect((()=>{!l.isTransitioning&&m&&(s(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),h(void 0))}),[l.isTransitioning,m]),U.useEffect((()=>{}),[]);let w=U.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),S=n.basename||"/",x=U.useMemo((()=>({router:n,navigator:w,static:!1,basename:S})),[n,w,S]);return U.createElement(U.Fragment,null,U.createElement(CF.Provider,{value:x},U.createElement(kF.Provider,{value:o},U.createElement(r$.Provider,{value:g.current},U.createElement(n$.Provider,{value:l},U.createElement(YF,{basename:S,location:o.location,navigationType:o.historyAction,navigator:w,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?U.createElement(u$,{routes:n.routes,future:n.future,state:o}):t))))),null)}function u$(e){let{routes:t,future:n,state:r}=e;return FF(t,void 0,r,n)}const c$="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,d$=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,p$=U.forwardRef((function(e,t){let n,{onClick:r,relative:o,reloadDocument:a,replace:i,state:s,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=e,p=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,JF),{basename:f}=U.useContext(RF),m=!1;if("string"==typeof u&&d$.test(u)&&(n=u,c$))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=Cj(t.pathname,f);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:m=!0}catch(w0){}let h=AF(u,{relative:o}),g=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:s}=void 0===t?{}:t,l=LF(),u=NF(),c=jF(e,{relative:i});return U.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:rj(u)===rj(c);l(e,{replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:s})}}),[u,l,c,r,o,n,e,a,i,s])}(u,{replace:i,state:s,target:l,preventScrollReset:c,relative:o,unstable_viewTransition:d});return U.createElement("a",ZF({},p,{href:n||h,onClick:m||a?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:l}))}));var f$,m$,h$,g$;function b$(e){let t=U.useRef(QF(e)),n=U.useRef(!1),r=NF(),o=U.useMemo((()=>function(e,t){let n=QF(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))})),n}(r.search,n.current?null:t.current)),[r.search]),a=LF(),i=U.useCallback(((e,t)=>{const r=QF("function"==typeof e?e(o):e);n.current=!0,a("?"+r,t)}),[a,o]);return[o,i]}(m$=f$||(f$={})).UseScrollRestoration="useScrollRestoration",m$.UseSubmit="useSubmit",m$.UseSubmitFetcher="useSubmitFetcher",m$.UseFetcher="useFetcher",m$.useViewTransitionState="useViewTransitionState",(g$=h$||(h$={})).UseFetcher="useFetcher",g$.UseFetchers="useFetchers",g$.UseScrollRestoration="useScrollRestoration";const v$=e=>H.forwardRef(((t,n)=>{let{href:r,...o}=t;const a=AF(r);return"string"!=typeof r&&(r="#"),"#"===r||r.startsWith("http://")||r.startsWith("https://")?te.jsx("a",{href:r,ref:n,...o}):(e.openLinksInNewWindow&&(o={...o,target:"_blank"}),e.baseUrl?te.jsx("a",{href:e.baseUrl+a,ref:n,...o}):te.jsx(p$,{ref:n,to:r,...o}))})),y$=({children:e})=>{const t=mg("(prefers-color-scheme: dark)")?"dark":"light",n=U.useContext(KD),r=fv({palette:{mode:t,primary:{main:"#00617B"},secondary:{main:"#873C00"}},components:{MuiLink:{defaultProps:{component:v$(n)}},MuiButtonBase:{defaultProps:{LinkComponent:v$(n)}}}});return te.jsx(Kv,{theme:r,children:e})},w$=kD({name:"application",initialState:{baseUrl:"",preferredPageSize:20,toolbarOpen:!0,favoriteUrls:[],autoLatest:!1,iframeHeight:400},reducers:{changeBaseUrl(e,t){e.baseUrl=t.payload},setToolbarOpen(e,t){e.toolbarOpen=t.payload},setPreferredPageSize(e,t){e.preferredPageSize=t.payload},addFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);e.favoriteUrls=Array.from(n.add(t.payload).values())},removeFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);n.delete(t.payload),e.favoriteUrls=Array.from(n.values())},changeAutoLatest:(e,t)=>{e.autoLatest=t.payload},setIFrameHeight:(e,t)=>{e.iframeHeight=t.payload}}}),{changeBaseUrl:S$,changeAutoLatest:x$,setToolbarOpen:E$,setPreferredPageSize:C$,addFavoriteUrl:k$,removeFavoriteUrl:R$,setIFrameHeight:T$}=w$.actions,I$=kD({name:"notifications",initialState:{notifications:[]},reducers:{removeNotification(e,t){e.notifications[t.payload].shown=!1},addNotification:(e,t)=>{e.notifications=[...e.notifications,{...t.payload,shown:!0}]}}}),{addNotification:_$,removeNotification:A$}=I$.actions;var O$="persist:",N$="persist/FLUSH",P$="persist/REHYDRATE",L$="persist/PAUSE",M$="persist/PERSIST",D$="persist/PURGE",j$="persist/REGISTER";function F$(e){return(F$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z$(e,t,n,r){r.debug;var o=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Z$(e,t){var n=void 0!==e.version?e.version:-1;e.debug;var r=void 0===e.stateReconciler?z$:e.stateReconciler,o=e.getStoredState||V$,a=void 0!==e.timeout?e.timeout:5e3,i=null,s=!1,l=!0,u=function(e){return e._persist.rehydrated&&i&&!l&&i.update(e),e};return function(c,d){var p=c||{},f=p._persist,m=X$(p,["_persist"]);if(d.type===M$){var h=!1,g=function(t,n){h||(d.rehydrate(e.key,t,n),h=!0)};if(a&&setTimeout((function(){!h&&g(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))}),a),l=!1,i||(i=U$(e)),f)return K$({},t(m,d),{_persist:f});if("function"!=typeof d.rehydrate||"function"!=typeof d.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return d.register(e.key),o(e).then((function(t){var r=e.migrate||function(e,t){return Promise.resolve(e)};r(t,n).then((function(e){g(e)}),(function(e){g(void 0,e)}))}),(function(e){g(void 0,e)})),K$({},t(m,d),{_persist:{version:n,rehydrated:!1}})}if(d.type===D$)return s=!0,d.result(function(e){var t=e.storage,n="".concat(void 0!==e.keyPrefix?e.keyPrefix:O$).concat(e.key);return t.removeItem(n,W$)}(e)),K$({},t(m,d),{_persist:f});if(d.type===N$)return d.result(i&&i.flush()),K$({},t(m,d),{_persist:f});if(d.type===L$)l=!0;else if(d.type===P$){if(s)return K$({},m,{_persist:K$({},f,{rehydrated:!0})});if(d.key===e.key){var b=t(m,d),v=d.payload,y=K$({},!1!==r&&void 0!==v?r(v,c,b,e):b,{_persist:K$({},f,{rehydrated:!0})});return u(y)}}if(!f)return t(c,d);var w=t(m,d);return w===m?c:u(K$({},w,{_persist:f}))}}function Q$(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var J$=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),eB=()=>Math.random().toString(36).substring(7).split("").join("."),tB={INIT:`@@redux/INIT${eB()}`,REPLACE:`@@redux/REPLACE${eB()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${eB()}`};function nB(e,t,n){if("function"!=typeof e)throw new Error(Q$(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Q$(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Q$(1));return n(nB)(e,t)}let r=e,o=t,a=new Map,i=a,s=0,l=!1;function u(){i===a&&(i=new Map,a.forEach(((e,t)=>{i.set(t,e)})))}function c(){if(l)throw new Error(Q$(3));return o}function d(e){if("function"!=typeof e)throw new Error(Q$(4));if(l)throw new Error(Q$(5));let t=!0;u();const n=s++;return i.set(n,e),function(){if(t){if(l)throw new Error(Q$(6));t=!1,u(),i.delete(n),a=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(Q$(7));if(void 0===e.type)throw new Error(Q$(8));if("string"!=typeof e.type)throw new Error(Q$(17));if(l)throw new Error(Q$(9));try{l=!0,o=r(o,e)}finally{l=!1}return(a=i).forEach((e=>{e()})),e}p({type:tB.INIT});return{dispatch:p,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Q$(10));r=e,p({type:tB.REPLACE})},[J$]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(Q$(11));function n(){const e=t;e.next&&e.next(c())}n();return{unsubscribe:e(n)}},[J$](){return this}}}}}function rB(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:sB,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case j$:return aB({},e,{registry:[].concat(rB(e.registry),[t.key])});case P$:var n=e.registry.indexOf(t.key),r=rB(e.registry);return r.splice(n,1),aB({},e,{registry:r,bootstrapped:0===r.length});default:return e}};var uB={},cB={};function dB(e){return(dB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pB(){}cB.__esModule=!0,cB.default=function(e){var t="".concat(e,"Storage");return function(e){if("object"!==("undefined"==typeof self?"undefined":dB(self))||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch(w0){return!1}return!0}(t)?self[t]:fB};var fB={getItem:pB,setItem:pB,removeItem:pB};uB.__esModule=!0,uB.default=function(e){var t=(0,hB.default)(e);return{getItem:function(e){return new Promise((function(n,r){n(t.getItem(e))}))},setItem:function(e,n){return new Promise((function(r,o){r(t.setItem(e,n))}))},removeItem:function(e){return new Promise((function(n,r){n(t.removeItem(e))}))}}};var mB,hB=(mB=cB)&&mB.__esModule?mB:{default:mB};var gB,bB=function(e){return e&&e.__esModule?e:{default:e}}(uB);gB=(0,bB.default)("local");var vB={};function yB(e){return e||(e=0),new Promise((function(t){return setTimeout(t,e)}))}function wB(){return Math.random().toString(36).substring(2)}var SB=0,xB=0;function EB(){var e=(new Date).getTime();return e===SB?1e3*e+ ++xB:(SB=e,xB=0,1e3*e)}var CB="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);const kB={create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),Promise.resolve()}catch(n){return Promise.reject(n)}},canBeUsed:function(){if(CB&&"undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:EB};var RB=function(){function e(e){this.ttl=e,this.set=new Set,this.timeMap=new Map}return e.prototype.has=function(e){return this.set.has(e)},e.prototype.add=function(e){var t=this;this.timeMap.set(e,TB()),this.set.add(e),setTimeout((function(){!function(e){var t=TB()-e.ttl,n=e.set[Symbol.iterator]();for(;;){var r=n.next().value;if(!r)return;if(!(e.timeMap.get(r)0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var _B="pubkey.broadcast-channel-0-",AB="messages";function OB(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function NB(e,t){var n=e.transaction(AB).objectStore(AB),r=[];return new Promise((function(e){(function(){try{var e=IDBKeyRange.bound(t+1,1/0);return n.openCursor(e)}catch(w0){return n.openCursor()}}()).onsuccess=function(n){var o=n.target.result;o?o.value.ide.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time0||e._addEL.internal.length>0}function QB(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&ZB(e)){var t=function(t){e._addEL[t.type].forEach((function(e){t.time>=e.time&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function JB(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!ZB(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}YB._pubkey=!0,YB.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return XB(this,"message",e)},postInternal:function(e){return XB(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};JB(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,QB(this,"message",t)):this._onML=null},addEventListener:function(e,t){QB(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){JB(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){this.closed=!0;var t=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};const ez={add:function(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",(function(){e()}),!0),window.addEventListener("unload",(function(){e()}),!0)}}};var tz="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?{}:ez,nz=new Set,rz=!1;function oz(){var e=[];return nz.forEach((function(t){e.push(t()),nz.delete(t)})),Promise.all(e)}const az={add:function(e){if(rz||(rz=!0,tz.add(oz)),"function"!=typeof e)throw new Error("Listener is no function");return nz.add(e),{remove:function(){return nz.delete(e)},run:function(){return nz.delete(e),e()}}},runAll:oz,removeAll:function(){nz.clear()},getSize:function(){return nz.size}};var iz=function(e,t){this._channel=e,this._options=t,this.isLeader=!1,this.isDead=!1,this.token=wB(),this._isApl=!1,this._reApply=!1,this._unl=[],this._lstns=[],this._invs=[],this._dpL=function(){},this._dpLC=!1};function sz(e,t){var n={context:"leader",action:t,token:e.token};return e._channel.postInternal(n)}function lz(e){e.isLeader=!0;var t=az.add((function(){return e.die()}));e._unl.push(t);var n=function(t){"leader"===t.context&&"apply"===t.action&&sz(e,"tell"),"leader"!==t.context||"tell"!==t.action||e._dpLC||(e._dpLC=!0,e._dpL(),sz(e,"tell"))};return e._channel.addEventListener("internal",n),e._lstns.push(n),sz(e,"tell")}iz.prototype={applyOnce:function(){var e=this;if(this.isLeader)return Promise.resolve(!1);if(this.isDead)return Promise.resolve(!1);if(this._isApl)return this._reApply=!0,Promise.resolve(!1);this._isApl=!0;var t=!1,n=function(n){"leader"===n.context&&n.token!=e.token&&("apply"===n.action&&n.token>e.token&&(t=!0),"tell"===n.action&&(t=!0))};return this._channel.addEventListener("internal",n),sz(this,"apply").then((function(){return yB(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):sz(e,"apply")})).then((function(){return yB(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):sz(e)})).then((function(){return lz(e)})).then((function(){return!0})).catch((function(){return!1})).then((function(t){return e._channel.removeEventListener("internal",n),e._isApl=!1,!t&&e._reApply?(e._reApply=!1,e.applyOnce()):t}))},awaitLeadership:function(){var e;return this._aLP||(this._aLP=(e=this).isLeader?Promise.resolve():new Promise((function(t){var n=!1;function r(){n||(n=!0,clearInterval(o),e._channel.removeEventListener("internal",a),t(!0))}e.applyOnce().then((function(){e.isLeader&&r()}));var o=setInterval((function(){e.applyOnce().then((function(){e.isLeader&&r()}))}),e._options.fallbackInterval);e._invs.push(o);var a=function(t){"leader"===t.context&&"death"===t.action&&e.applyOnce().then((function(){e.isLeader&&r()}))};e._channel.addEventListener("internal",a),e._lstns.push(a)}))),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var e=this;if(!this.isDead)return this.isDead=!0,this._lstns.forEach((function(t){return e._channel.removeEventListener("internal",t)})),this._invs.forEach((function(e){return clearInterval(e)})),this._unl.forEach((function(e){e.remove()})),sz(this,"death")}};const uz=o(Object.freeze(Object.defineProperty({__proto__:null,BroadcastChannel:YB,beLeader:lz,clearNodeFolder:function(e){var t=qB(e=IB(e));return"node"===t.type?t.clearNodeFolder().then((function(){return!0})):Promise.resolve(!1)},createLeaderElection:function(e,t){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");t=function(e,t){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=t.method.averageResponseTime(t.options)),e}(t,e);var n=new iz(e,t);return e._befC.push((function(){return n.die()})),e._leaderElector=n,n},enforceOptions:function(e){KB=e}},Symbol.toStringTag,{value:"Module"})));var cz,dz;Object.defineProperty(vB,"__esModule",{value:!0});var pz=vB.initMessageListener=vB.initStateWithPrevTab=dz=vB.withReduxStateSync=vB.createReduxStateSync=cz=vB.createStateSyncMiddleware=vB.WINDOW_STATE_SYNC_ID=vB.INIT_MESSAGE_LISTENER=vB.RECEIVE_INIT_STATE=vB.SEND_INIT_STATE=vB.GET_INIT_STATE=void 0;vB.generateUuidForAction=kz,vB.isActionAllowed=Rz,vB.isActionSynced=function(e){return!!e.$isSync},vB.MessageListener=Tz;var fz=uz,mz=0,hz=vB.GET_INIT_STATE="&_GET_INIT_STATE",gz=vB.SEND_INIT_STATE="&_SEND_INIT_STATE",bz=vB.RECEIVE_INIT_STATE="&_RECEIVE_INIT_STATE",vz=vB.INIT_MESSAGE_LISTENER="&_INIT_MESSAGE_LISTENER",yz={channel:"redux_state_sync",predicate:null,blacklist:[],whitelist:[],broadcastChannelOption:void 0,prepareState:function(e){return e},receiveState:function(e,t){return t}},wz=function(){return{type:gz}},Sz=function(e){return{type:bz,payload:e}};function xz(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function Ez(){return""+xz()+xz()+"-"+xz()+"-"+xz()+"-"+xz()+"-"+xz()+xz()+xz()}var Cz=vB.WINDOW_STATE_SYNC_ID=Ez();function kz(e){var t=e;return t.$uuid=Ez(),t.$wuid=Cz,t}function Rz(e){var t=e.predicate,n=e.blacklist,r=e.whitelist,o=function(){return!0};return t&&"function"==typeof t?o=t:Array.isArray(n)?o=function(e){return n.indexOf(e.type)<0}:Array.isArray(r)&&(o=function(e){return r.indexOf(e.type)>=0}),o}function Tz(e){var t=e.channel,n=e.dispatch,r=e.allowed,o=!1,a={};this.handleOnMessage=function(e){e.$wuid!==Cz&&e.type!==bz&&e.$uuid&&e.$uuid!==mz&&(e.type!==hz||a[e.$wuid]?e.type!==gz||a[e.$wuid]?r(e)&&(mz=e.$uuid,n(Object.assign(e,{$isSync:!0}))):o||(o=!0,n(Sz(e.payload))):(a[e.$wuid]=!0,n(wz())))},this.messageChannel=t,this.messageChannel.onmessage=this.handleOnMessage}cz=vB.createStateSyncMiddleware=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yz,t=Rz(e),n=new fz.BroadcastChannel(e.channel,e.broadcastChannelOption),r=e.prepareState||yz.prepareState,o=null;return function(e){var a=e.getState,i=e.dispatch;return function(e){return function(s){if(o||(o=new Tz({channel:n,dispatch:i,allowed:t})),s&&!s.$uuid){var l=kz(s);mz=l.$uuid;try{if(s.type===gz)return a()&&(l.payload=r(a()),n.postMessage(l)),e(s);(t(l)||s.type===hz)&&n.postMessage(l)}catch(w0){console.error("Your browser doesn't support cross tab communication")}}return e(Object.assign(s,{$isSync:void 0!==s.$isSync&&s.$isSync}))}}}};var Iz=vB.createReduxStateSync=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yz.receiveState;return function(n,r){var o=n;return r.type===bz&&(o=t(n,r.payload)),e(o,r)}};dz=vB.withReduxStateSync=Iz,vB.initStateWithPrevTab=function(e){(0,e.dispatch)({type:hz})},pz=vB.initMessageListener=function(e){(0,e.dispatch)({type:vz})};const _z={key:w$.name,version:1,storage:gB},Az={key:I$.name,version:1,storage:gB},Oz={[w$.name]:Z$(_z,dz(w$.reducer)),[I$.name]:Z$(Az,I$.reducer)},Nz=[cz({whitelist:[w$.actions.setToolbarOpen.type,w$.actions.changeBaseUrl.type]})],Pz=ey(ee.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),Lz=ey(ee.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),Mz=ey(ee.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight"),Dz=ey(ee.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),jz=ey(ee.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),Fz=ey(ee.jsx("path",{d:"M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5M19 3l-6 6 2 2 7-7V3z"}),"ContentCut"),$z=ey(ee.jsx("path",{d:"M9.5 14v-1H11v.5h2v-1h-2.5c-.55 0-1-.45-1-1V10c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1H13v-.5h-2v1h2.5c.55 0 1 .45 1 1V14c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1m7.5 1h3c.55 0 1-.45 1-1v-1.5c0-.55-.45-1-1-1h-2.5v-1h2v.5H21v-1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v1.5c0 .55.45 1 1 1h2.5v1h-2V13H16v1c0 .55.45 1 1 1m-9-5c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-1H6.5v.5h-2v-3h2v.5H8z"}),"Css"),Bz=ey(ee.jsx("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject"),zz=ey([ee.jsx("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),ee.jsx("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 8h-8V7h8zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4z"},"1")],"DynamicFeed"),Uz=ey(ee.jsx("path",{d:"M12 3c-.46 0-.93.04-1.4.14-2.76.53-4.96 2.76-5.48 5.52-.48 2.61.48 5.01 2.22 6.56.43.38.66.91.66 1.47V19c0 1.1.9 2 2 2h.28c.35.6.98 1 1.72 1s1.38-.4 1.72-1H14c1.1 0 2-.9 2-2v-2.31c0-.55.22-1.09.64-1.46C18.09 13.95 19 12.08 19 10c0-3.87-3.13-7-7-7m2 16h-4v-1h4zm0-2h-4v-1h4zm-1.5-5.59V14h-1v-2.59L9.67 9.59l.71-.71L12 10.5l1.62-1.62.71.71z"}),"EmojiObjects"),Hz=ey(ee.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),Vz=ey(ee.jsx("path",{d:"M15 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V7zM6 20V4h8v4h4v12zm10-10v5c0 2.21-1.79 4-4 4s-4-1.79-4-4V8.5c0-1.47 1.26-2.64 2.76-2.49 1.3.13 2.24 1.32 2.24 2.63V15h-2V8.5c0-.28-.22-.5-.5-.5s-.5.22-.5.5V15c0 1.1.9 2 2 2s2-.9 2-2v-5z"}),"FilePresent"),Gz=ey(ee.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"Folder"),Wz=ey(ee.jsx("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp"),qz=ey(ee.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),Kz=ey(ee.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline"),Yz=ey(ee.jsx("path",{d:"M3.5 9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2zm14 0H13c-.55 0-1 .45-1 1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5c0-.55-.45-1-1-1M11 9H6v1.5h1.75V15h1.5v-4.5H11zm13 6v-1.5h-2.5V9H20v6z"}),"Html"),Xz=ey(ee.jsx("path",{d:"M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5zm2.5-.5h1.5V15H10v-4.5h1.5V9H7zm5.5 0H14V15h1.5v-4.5H17V9h-4.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5m0 2.5h-2v-1h2z"}),"Http"),Zz=ey(ee.jsx("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image"),Qz=ey(ee.jsx("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"Input"),Jz=ey(ee.jsx("path",{d:"M12 14v-1h1.5v.5h2v-1H13c-.55 0-1-.45-1-1V10c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1h-1.5v-.5h-2v1H16c.55 0 1 .45 1 1V14c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1M9 9v4.5H7.5v-1H6v1c0 .83.67 1.5 1.5 1.5H9c.83 0 1.5-.67 1.5-1.5V9z"}),"Javascript"),eU=ey(ee.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link"),tU=ey(ee.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew"),nU=ey(ee.jsx("path",{d:"M13 9h1.5v6H13v-2.5h-2V15H9.5V9H11v2h2zm-5 1.5v1c0 .8-.7 1.5-1.5 1.5h-2v2H3V9h3.5c.8 0 1.5.7 1.5 1.5m-1.5 0h-2v1h2zm15 0v1c0 .8-.7 1.5-1.5 1.5h-2v2h-1.5V9H20c.8 0 1.5.7 1.5 1.5m-1.5 0h-2v1h2z"}),"Php"),rU=ey(ee.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5zm4-3H19v1h1.5V11H19v2h-1.5V7h3zM9 9.5h1v-1H9zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm10 5.5h1v-3h-1z"}),"PictureAsPdf"),oU=ey(ee.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh"),aU=ey(ee.jsx("path",{d:"M19 13H5v-2h14z"}),"Remove"),iU=ey(ee.jsx("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2z"}),"Repeat"),sU=ey(ee.jsx("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82"}),"Route"),lU=ey(ee.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),uU=ey(ee.jsx("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),cU=ey(ee.jsx("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline"),dU=ey(ee.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync"),pU=ey(ee.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal"),fU=ey(ee.jsx("path",{d:"m20.41 8.41-4.83-4.83c-.37-.37-.88-.58-1.41-.58H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.42M7 7h7v2H7zm10 10H7v-2h10zm0-4H7v-2h10z"}),"TextSnippet"),mU=ey(ee.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo");var hU={},gU={};const bU=o(ny);var vU;function yU(){return vU||(vU=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=bU}(gU)),gU}var wU=Rb;Object.defineProperty(hU,"__esModule",{value:!0});var SU=hU.default=void 0,xU=wU(yU()),EU=ee;SU=hU.default=(0,xU.default)((0,EU.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");var CU,kU,RU=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=200&&e.status<=299},qU=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function KU(e){if(!gD(e))return e;for(var t=MU({},e),n=0,r=Object.entries(t);n=c)}var c=OD(n+"/executeQuery",l,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[VD]=!0,e},condition:function(e,t){var r,a,i,s=(0,t.getState)(),l=null==(a=null==(r=s[n])?void 0:r.queries)?void 0:a[e.queryCacheKey],c=null==l?void 0:l.fulfilledTimeStamp,d=e.originalArgs,p=null==l?void 0:l.originalArgs,f=o[e.endpointName];return!(!uH(e)&&("pending"===(null==l?void 0:l.status)||!u(e,s)&&(!oH(f)||!(null==(i=null==f?void 0:f.forceRefetch)?void 0:i.call(f,{currentArg:d,previousArg:p,endpointState:l,state:s})))&&c))},dispatchConditionRejection:!0}),d=OD(n+"/executeMutation",l,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[VD]=!0,e}});function p(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:c,mutationThunk:d,prefetch:function(e,t,n){return function(r,o){var a=function(e){return"force"in e}(n)&&n.force,s=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,l=function(n){return void 0===n&&(n=!0),i.endpoints[e].initiate(t,{forceRefetch:n})},u=i.endpoints[e].select(t)(o());if(a)r(l());else if(s){var c=null==u?void 0:u.fulfilledTimeStamp;if(!c)return void r(l());(Number(new Date)-Number(new Date(c)))/1e3>=s&&r(l())}else r(l(!1))}},updateQueryData:function(e,t,n,r){return void 0===r&&(r=!0),function(o,a){var s,l,u,c=i.endpoints[e].select(t)(a()),d={patches:[],inversePatches:[],undo:function(){return o(i.util.patchQueryData(e,t,d.inversePatches,r))}};if(c.status===CU.uninitialized)return d;if("data"in c)if(zL(c.data)){var p=DM(c.data,n),f=p[0],m=p[1],h=p[2];(s=d.patches).push.apply(s,m),(l=d.inversePatches).push.apply(l,h),u=f}else u=n(c.data),d.patches.push({op:"replace",path:[],value:u}),d.inversePatches.push({op:"replace",path:[],value:c.data});return o(i.util.patchQueryData(e,t,d.patches,r)),d}},upsertQueryData:function(e,t,n){return function(r){var o;return r(i.endpoints[e].initiate(t,((o={subscribe:!1,forceRefetch:!0})[lH]=function(){return{data:n}},o)))}},patchQueryData:function(e,t,n,r){return function(l,u){var c=o[e],d=a({queryArgs:t,endpointDefinition:c,endpointName:e});if(l(i.internalActions.queryResultPatched({queryCacheKey:d,patches:n})),r){var p=i.endpoints[e].select(t)(u()),f=aH(c.providesTags,p.data,void 0,t,{},s);l(i.internalActions.updateProvidedBy({queryCacheKey:d,providedTags:f}))}}},buildMatchThunkActions:function(e,t){return{matchPending:MD(FD(e),p(t)),matchFulfilled:MD(zD(e),p(t)),matchRejected:MD($D(e),p(t))}}}}({baseQuery:r,reducerPath:o,context:n,api:e,serializeQueryArgs:a,assertTagType:c}),p=d.queryThunk,f=d.mutationThunk,m=d.patchQueryData,h=d.updateQueryData,g=d.upsertQueryData,b=d.prefetch,v=d.buildMatchThunkActions,y=gH({context:n,queryThunk:p,mutationThunk:f,reducerPath:o,assertTagType:c,config:{refetchOnFocus:l,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:i,reducerPath:o}}),w=y.reducer,S=y.actions;DH(e.util,{patchQueryData:m,updateQueryData:h,upsertQueryData:g,prefetch:b,resetApiState:S.resetApiState}),DH(e.internalActions,S);var x=MH({reducerPath:o,context:n,queryThunk:p,mutationThunk:f,api:e,assertTagType:c}),E=x.middleware,C=x.actions;DH(e.util,C),DH(e,{reducer:w,middleware:E});var k=SH({serializeQueryArgs:a,reducerPath:o}),R=k.buildQuerySelector,T=k.buildMutationSelector,I=k.selectInvalidatedBy;DH(e.util,{selectInvalidatedBy:I});var _=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,o=e.api,a=e.context,i=new Map,s=new Map,l=o.internalActions,u=l.unsubscribeQueryResult,c=l.removeMutationResult,d=l.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var a=function(s,l){var c=void 0===l?{}:l,p=c.subscribe,f=void 0===p||p,m=c.forceRefetch,h=c.subscriptionOptions,g=c[lH];return function(l,c){var p,b,v=t({queryArgs:s,endpointDefinition:r,endpointName:e}),y=n(((p={type:"query",subscribe:f,forceRefetch:m,subscriptionOptions:h,endpointName:e,originalArgs:s,queryCacheKey:v})[lH]=g,p)),w=o.endpoints[e].select(s),S=l(y),x=w(c()),E=S.requestId,C=S.abort,k=x.requestId!==E,R=null==(b=i.get(l))?void 0:b[v],T=function(){return w(c())},I=Object.assign(g?S.then(T):k&&!R?Promise.resolve(x):Promise.all([R,S]).then(T),{arg:s,requestId:E,subscriptionOptions:h,queryCacheKey:v,abort:C,unwrap:function(){return FU(this,null,(function(){var e;return RU(this,(function(t){switch(t.label){case 0:return[4,I];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}}))}))},refetch:function(){return l(a(s,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){f&&l(u({queryCacheKey:v,requestId:E}))},updateSubscriptionOptions:function(t){I.subscriptionOptions=t,l(d({endpointName:e,requestId:E,queryCacheKey:v,options:t}))}});if(!R&&!k&&!g){var _=i.get(l)||{};_[v]=I,i.set(l,_),I.then((function(){delete _[v],Object.keys(_).length||i.delete(l)}))}return I}};return a},buildInitiateMutation:function(e){return function(t,n){var o=void 0===n?{}:n,a=o.track,i=void 0===a||a,l=o.fixedCacheKey;return function(n,o){var a=r({type:"mutation",endpointName:e,originalArgs:t,track:i,fixedCacheKey:l}),u=n(a),d=u.requestId,p=u.abort,f=u.unwrap,m=u.unwrap().then((function(e){return{data:e}})).catch((function(e){return{error:e}})),h=function(){n(c({requestId:d,fixedCacheKey:l}))},g=Object.assign(m,{arg:u.arg,requestId:d,abort:p,unwrap:f,unsubscribe:h,reset:h}),b=s.get(n)||{};return s.set(n,b),b[d]=g,g.then((function(){delete b[d],Object.keys(b).length||s.delete(n)})),l&&(b[l]=g,g.then((function(){b[l]===g&&(delete b[l],Object.keys(b).length||s.delete(n))}))),g}}},getRunningQueryThunk:function(e,n){return function(r){var o,s=a.endpointDefinitions[e],l=t({queryArgs:n,endpointDefinition:s,endpointName:e});return null==(o=i.get(r))?void 0:o[l]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=s.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(i.get(e)||{}).filter(sH)}},getRunningMutationsThunk:function(){return function(e){return Object.values(s.get(e)||{}).filter(sH)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap((function(e){return e?Object.values(e):[]}))};return TU(TU([],e(i)),e(s)).filter(sH)},removalWarning:p};function p(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}}({queryThunk:p,mutationThunk:f,api:e,serializeQueryArgs:a,context:n}),A=_.buildInitiateQuery,O=_.buildInitiateMutation,N=_.getRunningMutationThunk,P=_.getRunningMutationsThunk,L=_.getRunningQueriesThunk,M=_.getRunningQueryThunk,D=_.getRunningOperationPromises,j=_.removalWarning;return DH(e.util,{getRunningOperationPromises:D,getRunningOperationPromise:j,getRunningMutationThunk:N,getRunningMutationsThunk:P,getRunningQueryThunk:M,getRunningQueriesThunk:L}),{name:jH,injectEndpoint:function(t,n){var r,o=e;null!=(r=o.endpoints)[t]||(r[t]={}),oH(n)?DH(o.endpoints[t],{name:t,select:R(t,n),initiate:A(t,n)},v(p,t)):function(e){return e.type===YU.mutation}(n)&&DH(o.endpoints[t],{name:t,select:T(),initiate:O(t)},v(f,t))}}}},function(e){var t=void 0===e?{}:e,n=t.batch,r=void 0===n?gd.batch:n,o=t.useDispatch,a=void 0===o?gd.useDispatch:o,i=t.useSelector,s=void 0===i?gd.useSelector:i,l=t.useStore,u=void 0===l?gd.useStore:l,c=t.unstable__sideEffectsInRender,d=void 0!==c&&c;return{name:oV,init:function(e,t,n){var o=t.serializeQueryArgs,i=e,l=function(e){var t=e.api,n=e.moduleOptions,r=n.batch,o=n.useDispatch,a=n.useSelector,i=n.useStore,s=n.unstable__sideEffectsInRender,l=e.serializeQueryArgs,u=e.context,c=s?function(e){return e()}:U.useEffect;return{buildQueryHooks:function(e){var n=function(n,r){var a=void 0===r?{}:r,i=a.refetchOnReconnect,s=a.refetchOnFocus,l=a.refetchOnMountOrArgChange,d=a.skip,p=void 0!==d&&d,f=a.pollingInterval,m=void 0===f?0:f,h=t.endpoints[e].initiate,g=o(),b=qH(p?bH:n,QH,u.endpointDefinitions[e],e),v=YH({refetchOnReconnect:i,refetchOnFocus:s,pollingInterval:m}),y=U.useRef(!1),w=U.useRef(),S=w.current||{},x=S.queryCacheKey,E=S.requestId,C=!1;if(x&&E){var k=g(t.internalActions.internal_probeSubscription({queryCacheKey:x,requestId:E}));C=!!k}var R=!C&&y.current;return c((function(){y.current=C})),c((function(){R&&(w.current=void 0)}),[R]),c((function(){var e,t=w.current;if(b===bH)return null==t||t.unsubscribe(),void(w.current=void 0);var n=null==(e=w.current)?void 0:e.subscriptionOptions;if(t&&t.arg===b)v!==n&&t.updateSubscriptionOptions(v);else{null==t||t.unsubscribe();var r=g(h(b,{subscriptionOptions:v,forceRefetch:l}));w.current=r}}),[g,h,l,b,v,R]),U.useEffect((function(){return function(){var e;null==(e=w.current)||e.unsubscribe(),w.current=void 0}}),[]),U.useMemo((function(){return{refetch:function(){var e;if(!w.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=w.current)?void 0:e.refetch()}}}),[])},s=function(n){var a=void 0===n?{}:n,i=a.refetchOnReconnect,s=a.refetchOnFocus,l=a.pollingInterval,u=void 0===l?0:l,d=t.endpoints[e].initiate,p=o(),f=U.useState(KH),m=f[0],h=f[1],g=U.useRef(),b=YH({refetchOnReconnect:i,refetchOnFocus:s,pollingInterval:u});c((function(){var e,t,n=null==(e=g.current)?void 0:e.subscriptionOptions;b!==n&&(null==(t=g.current)||t.updateSubscriptionOptions(b))}),[b]);var v=U.useRef(b);c((function(){v.current=b}),[b]);var y=U.useCallback((function(e,t){var n;return void 0===t&&(t=!1),r((function(){var r;null==(r=g.current)||r.unsubscribe(),g.current=n=p(d(e,{subscriptionOptions:v.current,forceRefetch:!t})),h(e)})),n}),[p,d]);return U.useEffect((function(){return function(){var e;null==(e=null==g?void 0:g.current)||e.unsubscribe()}}),[]),U.useEffect((function(){m===KH||g.current||y(m,!0)}),[m,y]),U.useMemo((function(){return[y,m]}),[y,m])},p=function(n,r){var o=void 0===r?{}:r,s=o.skip,c=void 0!==s&&s,p=o.selectFromResult,f=t.endpoints[e].select,m=qH(c?bH:n,l,u.endpointDefinitions[e],e),h=U.useRef(),g=U.useMemo((function(){return JM([f(m),function(e,t){return t},function(e){return m}],d)}),[f,m]),b=U.useMemo((function(){return p?JM([g],p):g}),[g,p]),v=a((function(e){return b(e,h.current)}),gd.shallowEqual),y=i(),w=g(y.getState(),h.current);return JH((function(){h.current=w}),[w]),v};return{useQueryState:p,useQuerySubscription:n,useLazyQuerySubscription:s,useLazyQuery:function(e){var t=s(e),n=t[0],r=t[1],o=p(r,WH(GH({},e),{skip:r===KH})),a=U.useMemo((function(){return{lastArg:r}}),[r]);return U.useMemo((function(){return[n,o,a]}),[n,o,a])},useQuery:function(e,t){var r=n(e,t),o=p(e,GH({selectFromResult:e===bH||(null==t?void 0:t.skip)?void 0:tV},t)),a=o.data,i=o.status,s=o.isLoading,l=o.isSuccess,u=o.isError,c=o.error;return U.useDebugValue({data:a,status:i,isLoading:s,isSuccess:l,isError:u,error:c}),U.useMemo((function(){return GH(GH({},o),r)}),[o,r])}}},buildMutationHook:function(e){return function(n){var i=void 0===n?{}:n,s=i.selectFromResult,l=void 0===s?eV:s,u=i.fixedCacheKey,c=t.endpoints[e],d=c.select,p=c.initiate,f=o(),m=U.useState(),h=m[0],g=m[1];U.useEffect((function(){return function(){(null==h?void 0:h.arg.fixedCacheKey)||null==h||h.reset()}}),[h]);var b=U.useCallback((function(e){var t=f(p(e,{fixedCacheKey:u}));return g(t),t}),[f,p,u]),v=(h||{}).requestId,y=U.useMemo((function(){return JM([d({fixedCacheKey:u,requestId:null==h?void 0:h.requestId})],l)}),[d,h,l,u]),w=a(y,gd.shallowEqual),S=null==u?null==h?void 0:h.arg.originalArgs:void 0,x=U.useCallback((function(){r((function(){h&&g(void 0),u&&f(t.internalActions.removeMutationResult({requestId:v,fixedCacheKey:u}))}))}),[f,u,h,v]),E=w.endpointName,C=w.data,k=w.status,R=w.isLoading,T=w.isSuccess,I=w.isError,_=w.error;U.useDebugValue({endpointName:E,data:C,status:k,isLoading:R,isSuccess:T,isError:I,error:_});var A=U.useMemo((function(){return WH(GH({},w),{originalArgs:S,reset:x})}),[w,S,x]);return U.useMemo((function(){return[b,A]}),[b,A])}},usePrefetch:function(e,n){var r=o(),a=YH(n);return U.useCallback((function(n,o){return r(t.util.prefetch(e,n,GH(GH({},a),o)))}),[e,r,a])}};function d(e,t,n){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var r=t.endpointName,o=u.endpointDefinitions[r];l({queryArgs:t.originalArgs,endpointDefinition:o,endpointName:r})===l({queryArgs:n,endpointDefinition:o,endpointName:r})&&(t=void 0)}var a=e.isSuccess?e.data:null==t?void 0:t.data;void 0===a&&(a=e.data);var i=void 0!==a,s=e.isLoading,c=!i&&s,d=e.isSuccess||s&&i;return WH(GH({},e),{data:a,currentData:e.data,isFetching:s,isLoading:c,isSuccess:d})}}({api:e,moduleOptions:{batch:r,useDispatch:a,useSelector:s,useStore:u,unstable__sideEffectsInRender:d},serializeQueryArgs:o,context:n}),c=l.buildQueryHooks,p=l.buildMutationHook,f=l.usePrefetch;return rV(i,{usePrefetch:f}),rV(n,{batch:r}),{injectEndpoint:function(t,n){if(function(e){return e.type===XH.query}(n)){var r=c(t),o=r.useQuery,a=r.useLazyQuery,s=r.useLazyQuerySubscription,l=r.useQueryState,u=r.useQuerySubscription;rV(i.endpoints[t],{useQuery:o,useLazyQuery:a,useLazyQuerySubscription:s,useQueryState:l,useQuerySubscription:u}),e["use"+nV(t)+"Query"]=o,e["useLazy"+nV(t)+"Query"]=a}else if(function(e){return e.type===XH.mutation}(n)){var d=p(t);rV(i.endpoints[t],{useMutation:d}),e["use"+nV(t)+"Mutation"]=d}}}}}}());const iV=e=>async(t,n,r)=>{const o=function(e){var t=this;void 0===e&&(e={});var n=e,r=n.baseUrl,o=n.prepareHeaders,a=void 0===o?function(e){return e}:o,i=n.fetchFn,s=void 0===i?GU:i,l=n.paramsSerializer,u=n.isJsonContentType,c=void 0===u?qU:u,d=n.jsonContentType,p=void 0===d?"application/json":d,f=n.jsonReplacer,m=n.timeout,h=n.responseHandler,g=n.validateStatus,b=jU(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return"undefined"==typeof fetch&&s===GU&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(e,n){return FU(t,null,(function(){var t,o,i,u,d,y,w,S,x,E,C,k,R,T,I,_,A,O,N,P,L,M,D,j,F,$,B,z,U,H,V,G,W,q,K,Y;return RU(this,(function(X){switch(X.label){case 0:return t=n.signal,o=n.getState,i=n.extra,u=n.endpoint,d=n.forced,y=n.type,x=(S="string"==typeof e?{url:e}:e).url,E=S.headers,C=void 0===E?new Headers(b.headers):E,k=S.params,R=void 0===k?void 0:k,T=S.responseHandler,I=void 0===T?null!=h?h:"json":T,_=S.validateStatus,A=void 0===_?null!=g?g:WU:_,O=S.timeout,N=void 0===O?m:O,P=jU(S,["url","headers","params","responseHandler","validateStatus","timeout"]),L=MU(DU(MU({},b),{signal:t}),P),C=new Headers(KU(C)),M=L,[4,a(C,{getState:o,extra:i,endpoint:u,forced:d,type:y})];case 1:M.headers=X.sent()||C,D=function(e){return"object"==typeof e&&(gD(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!L.headers.has("content-type")&&D(L.body)&&L.headers.set("content-type",p),D(L.body)&&c(L.headers)&&(L.body=JSON.stringify(L.body,f)),R&&(j=~x.indexOf("?")?"&":"?",F=l?l(R):new URLSearchParams(KU(R)),x+=j+F),x=zU(r,x),$=new Request(x,L),B=new Request(x,L),w={request:B},U=!1,H=N&&setTimeout((function(){U=!0,n.abort()}),N),X.label=2;case 2:return X.trys.push([2,4,5,6]),[4,s($)];case 3:return z=X.sent(),[3,6];case 4:return V=X.sent(),[2,{error:{status:U?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(V)},meta:w}];case 5:return H&&clearTimeout(H),[7];case 6:G=z.clone(),w.response=G,q="",X.label=7;case 7:return X.trys.push([7,9,,10]),[4,Promise.all([v(z,I).then((function(e){return W=e}),(function(e){return K=e})),G.text().then((function(e){return q=e}),(function(){}))])];case 8:if(X.sent(),K)throw K;return[3,10];case 9:return Y=X.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:z.status,data:q,error:String(Y)},meta:w}];case 10:return[2,A(z,W)?{data:W,meta:w}:{error:{status:z.status,data:W},meta:w}]}}))}))};function v(e,t){return FU(this,null,(function(){var n;return RU(this,(function(r){switch(r.label){case 0:return"function"==typeof t?[2,t(e)]:("content-type"===t&&(t=c(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}}))}))}}({baseUrl:(n.getState().application?.baseUrl||"").replace(/\/$/,"")+e,referrerPolicy:"no-referrer",headers:{Accept:"application/json","Content-Type":"application/json"}});return o(t,n,r)},sV=aV({reducerPath:"api.debug",tagTypes:["debug/list"],baseQuery:iV("/debug/api/"),endpoints:e=>({getDebug:e.query({query:()=>"",transformResponse:e=>e.data||[],providesTags:["debug/list"]}),getObject:e.query({query:e=>`object/${e.debugEntryId}/${e.objectId}`,transformResponse:e=>e.data}),getCollectorInfo:e.query({query:e=>`view/${e.id}?collector=${e.collector}`,transformResponse:e=>e.data||[],transformErrorResponse:e=>e.data})})}),{useGetDebugQuery:lV,useLazyGetDebugQuery:uV,useGetObjectQuery:cV,useLazyGetObjectQuery:dV,useLazyGetCollectorInfoQuery:pV}=sV,fV=aV({reducerPath:"api.gii",baseQuery:iV("/gii/api"),endpoints:e=>({getGenerators:e.query({query:()=>"/generator",transformResponse:e=>e.generators||[]}),postPreview:e.mutation({query:({generator:e,parameters:t})=>({url:`/generator/${e}/preview`,method:"POST",body:{parameters:t}})}),postGenerate:e.mutation({query:({generator:e,parameters:t,answers:n})=>({url:`/generator/${e}/generate`,method:"POST",body:{parameters:t,answers:n}})}),postDiff:e.mutation({query:({generator:e,parameters:t,fileId:n})=>({url:`/generator/${e}/diff?file=${n}`,method:"POST",body:{parameters:t}})})})}),{useGetGeneratorsQuery:mV,useLazyGetGeneratorsQuery:hV,usePostPreviewMutation:gV,usePostGenerateMutation:bV,usePostDiffMutation:vV}=fV,yV=aV({reducerPath:"api.inspector",keepUnusedDataFor:0,tagTypes:["inspector/composer"],baseQuery:iV("/inspect/api/"),endpoints:e=>({getParameters:e.query({query:()=>"params",transformResponse:e=>e.data||[]}),getConfiguration:e.query({query:(e="di")=>`config?group=${e}`,transformResponse:e=>e.data}),getClasses:e.query({query:()=>"classes",transformResponse:e=>e.data||[]}),getObject:e.query({query:e=>`object?classname=${e}`,transformResponse:e=>e.data}),getCommands:e.query({query:e=>"command",transformResponse:e=>e.data||[]}),runCommand:e.mutation({query:e=>({url:`command?command=${e}`,method:"POST"}),transformResponse:e=>e.data}),getFiles:e.query({query:e=>`files?path=${e}`,transformResponse:e=>e.data||[]}),getClass:e.query({query:({className:e,methodName:t=""})=>`files?class=${e}&method=${t}`,transformResponse:e=>e.data||[]}),getTranslations:e.query({query:()=>"translations",transformResponse:e=>e.data||[]}),putTranslations:e.mutation({query:e=>({method:"PUT",url:"translations",body:e}),transformResponse:e=>e.data||[]}),getTable:e.query({query:e=>e?`table/${e}`:"table",transformResponse:e=>e.data||[]}),doRequest:e.mutation({query:e=>({method:"PUT",url:`request?debugEntryId=${e.id}`}),transformResponse:e=>e.data||[]}),postCurlBuild:e.mutation({query:e=>({method:"POST",url:`curl/build?debugEntryId=${e}`}),transformResponse:e=>e.data}),getRoutes:e.query({query:()=>"routes",transformResponse:e=>e.data||[]}),getCheckRoute:e.query({query:e=>`route/check?route=${e}`,transformResponse:e=>e.data}),getEvents:e.query({query:()=>"events",transformResponse:e=>e.data}),getPhpInfo:e.query({query:()=>"phpinfo",transformResponse:e=>e.data||[]}),getComposer:e.query({query:()=>"composer",transformResponse:e=>e.data,providesTags:["inspector/composer"]}),getComposerInspect:e.query({query:e=>`composer/inspect?package=${e}`,transformResponse:e=>e.data,providesTags:["inspector/composer"]}),getCache:e.query({query:e=>`cache?key=${e}`,transformResponse:e=>e.data}),deleteCache:e.mutation({query:e=>({url:`cache?key=${e}`,method:"DELETE"}),transformResponse:e=>e.data}),clearCache:e.mutation({query:()=>({url:"cache/clear",method:"POST"}),transformResponse:e=>e.data}),postComposerRequirePackage:e.mutation({query:({packageName:e,version:t,isDev:n})=>({url:"composer/require",method:"POST",body:{package:e,version:t,isDev:n}}),transformResponse:e=>e.data,invalidatesTags:["inspector/composer"]})})}),{useGetParametersQuery:wV,useLazyGetParametersQuery:SV,useGetConfigurationQuery:xV,useGetObjectQuery:EV,useGetClassesQuery:CV,useLazyGetObjectQuery:kV,useLazyGetFilesQuery:RV,useLazyGetClassQuery:TV,useLazyGetCommandsQuery:IV,useRunCommandMutation:_V,useGetTranslationsQuery:AV,usePutTranslationsMutation:OV,useDoRequestMutation:NV,useGetRoutesQuery:PV,useLazyGetCheckRouteQuery:LV,useGetTableQuery:MV,useGetPhpInfoQuery:DV,useGetComposerQuery:jV,useGetCacheQuery:FV,useDeleteCacheMutation:$V,useLazyGetCacheQuery:BV,useClearCacheMutation:zV,useLazyGetComposerInspectQuery:UV,useGetComposerInspectQuery:HV,usePostComposerRequirePackageMutation:VV,usePostCurlBuildMutation:GV,useGetEventsQuery:WV}=yV,qV=kD({name:"store.debug",initialState:{entry:null,currentPageRequestIds:[]},reducers:{changeEntryAction:(e,t)=>{e.entry=t.payload},addCurrentPageRequestId:(e,t)=>{e.currentPageRequestIds=[...e.currentPageRequestIds,t.payload].slice(0,100)}}}),{changeEntryAction:KV,addCurrentPageRequestId:YV}=qV.actions,XV=()=>gd.useSelector((e=>e[qV.name]?.entry)),ZV={key:qV.name,version:1,whitelist:["entry"],storage:gB},QV={[qV.name]:Z$(ZV,qV.reducer),[sV.reducerPath]:sV.reducer},JV=[sV.middleware],eG=kD({name:"store.frames2",initialState:{frames:{}},reducers:{addFrame:(e,t)=>{e.frames={...e.frames,[t.payload]:t.payload}},updateFrame:(e,t)=>{e.frames=t.payload},deleteFrame:(e,t)=>{const n=Object.entries(e.frames).filter((([e,n])=>e!=t.payload));e.frames=Object.fromEntries(n)}}}),{addFrame:tG,updateFrame:nG,deleteFrame:rG}=eG.actions,oG=()=>gd.useSelector((e=>e[eG.name].frames)),aG={key:eG.name,version:1,storage:gB},iG={[eG.name]:Z$(aG,eG.reducer)},sG=[],lG={[fV.reducerPath]:fV.reducer},uG=[fV.middleware],cG=aV({reducerPath:"api.inspector.git",keepUnusedDataFor:0,tagTypes:["git/summary","git/log"],baseQuery:iV("/inspect/api/git/"),endpoints:e=>({getSummary:e.query({query:()=>"summary",providesTags:["git/summary"],transformResponse:e=>e.data}),getLog:e.query({query:()=>"log",providesTags:["git/log"],transformResponse:e=>e.data}),checkout:e.mutation({query:({branch:e})=>({url:"checkout",method:"POST",body:{branch:e}}),invalidatesTags:[{type:"git/summary"}]}),command:e.mutation({query:({command:e})=>({url:`command?command=${e}`,method:"POST"}),invalidatesTags:[{type:"git/summary"}]})})}),{useGetSummaryQuery:dG,useGetLogQuery:pG,useCommandMutation:fG,useCheckoutMutation:mG}=cG,hG={[yV.reducerPath]:yV.reducer,[cG.reducerPath]:cG.reducer},gG=[yV.middleware,cG.middleware],bG=kD({name:"store.openApi",initialState:{entries:{}},reducers:{addApiEntry:(e,t)=>{e.entries={...e.entries,[t.payload]:t.payload}},updateApiEntry:(e,t)=>{e.entries=t.payload},deleteApiEntry:(e,t)=>{const n=Object.entries(e.entries).filter((([e,n])=>e!=t.payload));e.entries=Object.fromEntries(n)}}}),{addApiEntry:vG,updateApiEntry:yG,deleteApiEntry:wG}=bG.actions,SG=()=>gd.useSelector((e=>e[bG.name].entries)),xG={key:bG.name,version:1,storage:gB},EG={[bG.name]:Z$(xG,bG.reducer)},CG=[],kG=e=>t=>n=>(BD(n)&&(console.log("action.payload.error",n,e,t),"FETCH_ERROR"===n.payload.status&&e.dispatch(_$({title:n.payload.error,text:`An error occurred during the request to ${n.meta.baseQueryMeta.request.url}`,color:"error"}))),t(n)),RG=WM({...Oz,...hG,...QV,...lG,...EG,...iG}),TG=e=>{const t=xD({reducer:RG,middleware:e=>e({serializableCheck:{ignoredActions:[N$,P$,L$,M$,D$,j$]}}).concat([...Nz,...gG,...JV,...uG,...CG,...sG,kG]),devTools:!1,preloadedState:e});rH(t.dispatch),pz(t);const n=function(e,t,n){var r=n||!1,o=nB(lB,sB,t&&t.enhancer?t.enhancer:void 0),a=function(e){o.dispatch({type:j$,key:e})},i=function(t,n,a){var i={type:P$,payload:n,err:a,key:t};e.dispatch(i),o.dispatch(i),r&&s.getState().bootstrapped&&(r(),r=!1)},s=aB({},o,{purge:function(){var t=[];return e.dispatch({type:D$,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:N$,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:L$})},persist:function(){e.dispatch({type:M$,register:a,rehydrate:i})}});return t&&t.manualPersist||s.persist(),s}(t);return{store:t,persistor:n}},IG=gd.useSelector;function _G(){const e=IG((e=>e.application.baseUrl)),t=gd.useDispatch(),[n]=uV(),[r]=SV(),[o]=hV(),a=IG((e=>e.application.baseUrl)),[i,s]=U.useState(String(a)),[l,u]=U.useState({debug:!1,inspector:!1,gii:!1}),c=IG((e=>e.application.favoriteUrls));async function d(){n().then((e=>u((t=>({...t,debug:e.isSuccess}))))).catch((()=>u((e=>({...e,debug:!1}))))),r().then((e=>u((t=>({...t,inspector:e.isSuccess}))))).catch((()=>u((e=>({...e,inspector:!1}))))),o().then((e=>u((t=>({...t,gii:e.isSuccess}))))).catch((()=>u((e=>({...e,gii:!1})))))}const p=async e=>{s(e),t(S$(e)),await d()};return U.useEffect((()=>{d()}),[]),te.jsxs(fI,{container:!0,spacing:2,children:[te.jsxs(fI,{item:!0,md:6,xs:12,children:[te.jsx("h2",{children:"Yii Dev Panel"}),te.jsxs(uS,{children:["Default backend url is: ",te.jsx("b",{children:e})]}),te.jsx("h3",{children:"API Statuses"}),Object.entries(l).map(((e,t)=>te.jsxs(H.Fragment,{children:[te.jsx(uS,{}),e[1]?te.jsxs(nS,{severity:"success",children:[te.jsx("span",{style:{textTransform:"capitalize"},children:e[0]}),": connected"]}):te.jsxs(nS,{severity:"error",children:[te.jsx("span",{style:{textTransform:"capitalize"},children:e[0]}),": disconnected"]})]},t))),te.jsxs(Ly,{component:"form",onSubmit:async e=>{e.preventDefault(),await p(i)},sx:{p:[.5,1],my:2,display:"flex",alignItems:"center"},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:i,value:i,onChange:e=>s(e.target.value)}),te.jsx(Uw,{type:"button",sx:{p:2},onClick:()=>t(k$(i)),children:te.jsx(cU,{})}),te.jsx(Uw,{type:"submit",sx:{p:2},children:te.jsx(SU,{})})]})]}),te.jsx(fI,{item:!0,md:6,xs:12,children:c.length>0&&te.jsxs(te.Fragment,{children:[te.jsx("h3",{children:"Favorites"}),te.jsx(f_,{children:c.map(((e,n)=>te.jsxs(A_,{children:[te.jsx(V_,{children:e}),te.jsxs(k_,{children:[te.jsx(Uw,{href:e,children:te.jsx(tU,{})}),te.jsx(Uw,{type:"submit",sx:{p:2},onClick:()=>t(R$(e)),children:te.jsx(uU,{})}),te.jsx(Uw,{type:"submit",sx:{p:2},onClick:()=>p(e),children:te.jsx(SU,{})})]})]},n)))})]})})]})}const AG=({indicatorSize:e=40})=>te.jsx(hR,{size:e,sx:{position:"absolute",top:"50%",left:"50%",marginTop:-e/2+"px",marginLeft:-e/2+"px"}}),OG=({module:e,props:t,scope:n,url:r})=>{const o=(({url:e})=>{const[t,n]=H.useState(!1),[r,o]=H.useState(!1);return H.useEffect((()=>{if(!e)return;const t=document.createElement("script");return t.src=e,t.type="text/javascript",t.async=!0,n(!1),o(!1),t.onload=()=>{console.debug(`Dynamic Script Loaded: ${e}`),n(!0)},t.onerror=()=>{console.error(`Dynamic Script Error: ${e}`),n(!1),o(!0)},document.head.appendChild(t),()=>{console.debug(`Dynamic Script Unloaded: ${e}`),document.head.removeChild(t)}}),[e]),{ready:t,failed:r}})({url:e&&r});if(!e)return te.jsx(nS,{severity:"error",children:"Module name cannot be empty"});if(!o.ready)return te.jsx(AG,{});if(o.failed)return te.jsxs(nS,{severity:"error",children:["Failed to load dynamic script: ",r]});const a=H.lazy(((e,t)=>async()=>{await __webpack_init_sharing__("default");const n=window[e];return await n.init(__webpack_share_scopes__.default),(await window[e].get(t))()})(n,e));return te.jsx(U.Suspense,{fallback:te.jsx(AG,{}),children:te.jsx(a,{...t})})},NG={cache:{get:[{key:"123",count:2}],set:[{key:"123",value:{1:2,2:"object@stdClass#6692"},ttl:null,count:2}]}},PG=[{severity:"error",text:"Error text"},{severity:"success",text:"Success text"}];function LG(){return te.jsxs(H.Suspense,{fallback:te.jsx(AG,{}),children:[te.jsx(OG,{url:"http://localhost:3002/external.js",module:"./LogPanel",scope:"remote",props:{data:PG}}),te.jsx(OG,{url:"http://localhost:3002/external.js",module:"./CachePanel",scope:"remote",props:{data:NG}})]})}const MG={routes:[{index:!0,element:te.jsx(_G,{})},{path:"shared",element:te.jsx(LG,{})}],reducers:Oz,middlewares:Nz,standaloneModule:!1},DG=U.createContext(void 0);function jG(){const e=U.useContext(DG);if(void 0===e)throw new Error(["MUI: Could not find the data grid context.","It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return e}const FG=U.createContext(void 0),$G=()=>{const e=U.useContext(FG);if(!e)throw new Error("MUI: useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component.");return e};function BG(e){return Ch("MuiDataGrid",e)}const zG=kh("MuiDataGrid",["actionsCell","aggregationColumnHeader","aggregationColumnHeader--alignLeft","aggregationColumnHeader--alignCenter","aggregationColumnHeader--alignRight","autoHeight","booleanCell","cell--editable","cell--editing","cell--textCenter","cell--textLeft","cell--textRight","cell--withRenderer","cell","cellContent","cellCheckbox","cellSkeleton","checkboxInput","columnHeader--alignCenter","columnHeader--alignLeft","columnHeader--alignRight","columnHeader--dragging","columnHeader--moving","columnHeader--numeric","columnHeader--sortable","columnHeader--sorted","columnHeader--filtered","columnHeader","columnHeaderCheckbox","columnHeaderDraggableContainer","columnHeaderDropZone","columnHeaderTitle","columnHeaderTitleContainer","columnHeaderTitleContainerContent","columnGroupHeader","columnHeader--filledGroup","columnHeader--emptyGroup","columnHeader--showColumnBorder","columnHeaders","columnHeadersInner","columnHeadersInner--scrollable","columnSeparator--resizable","columnSeparator--resizing","columnSeparator--sideLeft","columnSeparator--sideRight","columnSeparator","columnsPanel","columnsPanelRow","detailPanel","detailPanels","detailPanelToggleCell","detailPanelToggleCell--expanded","footerCell","panel","panelHeader","panelWrapper","panelContent","panelFooter","paper","editBooleanCell","editInputCell","filterForm","filterFormDeleteIcon","filterFormLinkOperatorInput","filterFormColumnInput","filterFormOperatorInput","filterFormValueInput","filterIcon","footerContainer","iconButtonContainer","iconSeparator","main","menu","menuIcon","menuIconButton","menuOpen","menuList","overlay","root","root--densityStandard","root--densityComfortable","root--densityCompact","row","row--editable","row--editing","row--lastVisible","row--dragging","row--dynamicHeight","row--detailPanelExpanded","rowReorderCellPlaceholder","rowCount","rowReorderCellContainer","rowReorderCell","rowReorderCell--draggable","scrollArea--left","scrollArea--right","scrollArea","selectedRowCount","sortIcon","toolbarContainer","toolbarFilterList","virtualScroller","virtualScrollerContent","virtualScrollerContent--overflowed","virtualScrollerRenderZone","pinnedColumns","pinnedColumns--left","pinnedColumns--right","pinnedColumnHeaders","pinnedColumnHeaders--left","pinnedColumnHeaders--right","withBorder","treeDataGroupingCell","treeDataGroupingCellToggle","groupingCriteriaCell","groupingCriteriaCellToggle","pinnedRows","pinnedRows--top","pinnedRows--bottom","pinnedRowsRenderZone"]),UG=e=>{const{classes:t}=e;return eb({root:["main"]},BG,t)},HG=Wv("div",{name:"MuiDataGrid",slot:"Main",overridesResolver:(e,t)=>t.main})((()=>({position:"relative",flexGrow:1,display:"flex",flexDirection:"column",overflow:"hidden"})));function VG(e){const t=$G(),n=UG(t);return ee.jsx(HG,{className:n.root,ownerState:t,children:e.children})}function GG(e,t){var n=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},r=function(e){if(!(e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var r=this;n(this),this.__resizeRAF__&&t.cancelAnimationFrame(this.__resizeRAF__),this.__resizeRAF__=t.requestAnimationFrame((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(r)&&(r.__resizeLast__.width=r.offsetWidth,r.__resizeLast__.height=r.offsetHeight,r.__resizeListeners__.forEach((function(t){t.call(r,e)})))}))}},o=!1,a="",i="animationstart",s="Webkit Moz O ms".split(" "),l="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),u=document.createElement("fakeelement");if(void 0!==u.style.animationName&&(o=!0),!1===o)for(var c=0;c div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .Mui-resizeTriggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o="ShadowRoot"===n.constructor.name?n:t.head||t.getElementsByTagName("head")[0],a=t.createElement("style");a.id="muiDetectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(t.createTextNode(r)),o.appendChild(a)}}(s,o.getRootNode()),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=s.createElement("div")).className="Mui-resizeTriggers",o.__resizeTriggers__.innerHTML='
',o.appendChild(o.__resizeTriggers__),n(o),o.addEventListener("scroll",r,!0),i&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName==d&&n(o)},o.__resizeTriggers__.addEventListener(i,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(a)},removeResizeListener:function(e,t){if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",r,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(i,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(w0){}}}}}const WG=["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style"],qG=U.forwardRef((function(e,t){const{children:n,defaultHeight:r=null,defaultWidth:o=null,disableHeight:a=!1,disableWidth:i=!1,nonce:s,onResize:l,style:u}=e,c=_d(e,WG),[d,p]=U.useState({height:r,width:o}),f=U.useRef(null),m=U.useRef(null),h=Pg((()=>{if(m.current){const e=m.current.offsetHeight||0,t=m.current.offsetWidth||0,n=Tg(m.current).getComputedStyle(m.current),r=parseInt(n.paddingLeft,10)||0,o=parseInt(n.paddingRight,10)||0,s=e-(parseInt(n.paddingTop,10)||0)-(parseInt(n.paddingBottom,10)||0),u=t-r-o;(!a&&d.height!==s||!i&&d.width!==u)&&(p({height:s,width:u}),l&&l({height:s,width:u}))}}));cg((()=>{var e;if(m.current=f.current.parentElement,!m)return;const t=Tg(null!=(e=m.current)?e:void 0),n=GG(s,t);return n.addResizeListener(m.current,h),h(),()=>{n.removeResizeListener(m.current,h)}}),[s,h]);const g={overflow:"visible"},b={};a||(g.height=0,b.height=d.height),i||(g.width=0,b.width=d.width);const v=Lg(f,t);return ee.jsx("div",Id({ref:v,style:Id({},g,u)},c,{children:null===d.height&&null===d.width?null:n(b)}))})),KG=(e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e;return()=>{n||(n=!0,"error"===t?console.error(r):console.warn(r))}},YG=(e,t)=>e;KG(["MUI: `useGridSelector` has been called before the initialization of the state.","This hook can only be used inside the context of the grid."]);const XG=(e,t)=>function(e){return e.acceptsApiRef}(t)?t(e):t(e.current.state),ZG={cache:null};KG(["MUI: A selector was called without passing the instance ID, which may impact the performance of the grid.","To fix, call it with `apiRef`, e.g. `mySelector(apiRef)`, or pass the instance ID explicitly, e.g `mySelector(state, apiRef.current.instanceId)`."]);const QG=(...e)=>{null===ZG.cache&&(ZG.cache={});const t=(...t)=>{const[n,r]=t,o=!!n.current,a=o?n.current.instanceId:null!=r?r:"default",i=o?n.current.state:n;null===ZG.cache&&(ZG.cache={});const{cache:s}=ZG;if(s[a]&&s[a].get(e))return s[a].get(e)(i,a);const l=JM(...e);return s[a]||(s[a]=new Map),s[a].set(e,l),l(i,a)};return t.acceptsApiRef=!0,t},JG=e=>e.rows,eW=QG(JG,(e=>e.totalRowCount)),tW=QG(JG,(e=>e.loading)),nW=QG(JG,(e=>e.totalTopLevelRowCount)),rW=QG(JG,(e=>e.idRowsLookup)),oW=QG(JG,(e=>e.idToIdLookup)),aW=QG(JG,(e=>e.tree)),iW=QG(JG,(e=>e.groupingName)),sW=QG(JG,(e=>e.treeDepth)),lW=QG(JG,(e=>e.ids)),uW=QG(JG,(e=>null==e?void 0:e.additionalRowGroups)),cW=QG(uW,(e=>null==e?void 0:e.pinnedRows)),dW=QG(cW,(e=>{var t,n;return((null==e||null==(t=e.top)?void 0:t.length)||0)+((null==e||null==(n=e.bottom)?void 0:n.length)||0)})),pW=e=>e.sorting,fW=QG(pW,(e=>e.sortedRows)),mW=QG(fW,rW,((e,t)=>e.map((e=>({id:e,model:t[e]}))))),hW=QG(pW,(e=>e.sortModel)),gW=QG(hW,(e=>e.reduce(((t,n,r)=>(t[n.field]={sortDirection:n.sort,sortIndex:e.length>1?r+1:void 0},t)),{}))),bW=e=>e.columns,vW=QG(bW,(e=>e.all)),yW=QG(bW,(e=>e.lookup)),wW=QG(vW,yW,((e,t)=>e.map((e=>t[e])))),SW=QG(bW,(e=>e.columnVisibilityModel)),xW=QG(wW,SW,((e,t)=>e.filter((e=>!1!==t[e.field]))));QG(xW,(e=>e.map((e=>e.field))));const EW=QG(xW,(e=>{const t=[];let n=0;for(let r=0;r{const n=e.length;return 0===n?0:t[n-1]+e[n-1].computedWidth})),kW=QG(wW,(e=>e.filter((e=>e.filterable)))),RW=QG(wW,(e=>e.reduce(((e,t)=>(t.filterable&&(e[t.field]=t),e)),{})));YG(QG(kW,(e=>e.map((e=>e.field))))),YG(QG(xW,(e=>e.length)));const TW=YG(QG(EW,CW,((e,t)=>({totalWidth:t,positions:e})))),IW=e=>e.filter,_W=QG(IW,(e=>e.filterModel));QG(_W,(e=>e.quickFilterValues));const AW=QG(IW,(e=>e.visibleRowsLookup)),OW=QG(IW,(e=>e.filteredRowsLookup));QG(IW,(e=>e.filteredDescendantCountLookup));const NW=QG(AW,mW,((e,t)=>t.filter((t=>!1!==e[t.id])))),PW=QG(NW,(e=>e.map((e=>e.id)))),LW=QG(OW,mW,((e,t)=>t.filter((t=>!1!==e[t.id])))),MW=QG(LW,(e=>e.map((e=>e.id)))),DW=QG(NW,aW,sW,((e,t,n)=>n<2?e:e.filter((e=>{var n;return 0===(null==(n=t[e.id])?void 0:n.depth)})))),jW=QG(NW,(e=>e.length)),FW=QG(DW,(e=>e.length)),$W=QG(_W,yW,((e,t)=>{var n;return null==(n=e.items)?void 0:n.filter((e=>{var n,r;if(!e.columnField)return!1;const o=t[e.columnField];if(null==o||!o.filterOperators||0===(null==o||null==(n=o.filterOperators)?void 0:n.length))return!1;const a=o.filterOperators.find((t=>t.value===e.operatorValue));return!!a&&(!a.InputComponent||null!=e.value&&""!==(null==(r=e.value)?void 0:r.toString()))}))})),BW=QG($W,(e=>e.reduce(((e,t)=>(e[t.columnField]?e[t.columnField].push(t):e[t.columnField]=[t],e)),{}))),zW=e=>e.density,UW=QG(zW,(e=>e.value)),HW=QG(zW,(e=>e.rowHeight)),VW=QG(zW,(e=>e.headerHeight)),GW=QG(zW,(e=>e.headerGroupingMaxDepth)),WW=QG(zW,(e=>e.factor)),qW=QG(zW,(e=>e.headerHeight*(1+e.headerGroupingMaxDepth)));function KW(e){var t,n;const r=jG(),o=$G(),a=XG(r,qW),[i,s]=U.useState((()=>{var e,t;return null!=(e=null==(t=r.current.getRootDimensions())?void 0:t.viewportInnerSize)?e:null})),l=U.useCallback((()=>{var e,t;s(null!=(e=null==(t=r.current.getRootDimensions())?void 0:t.viewportInnerSize)?e:null)}),[r]);cg((()=>r.current.subscribeEvent("viewportInnerSizeChange",l)),[r,l]);let u=null!=(t=null==i?void 0:i.height)?t:0;return o.autoHeight&&0===u&&(u="auto"),i?ee.jsx("div",Id({style:{height:u,width:null!=(n=null==i?void 0:i.width)?n:0,position:"absolute",top:a,bottom:"auto"===u?0:void 0}},e)):null}function YW(){const e=jG(),t=$G(),n=XG(e,eW),r=XG(e,jW),o=XG(e,tW),a=!o&&n>0&&0===r;let i=null;var s,l,u;o||0!==n||(i=ee.jsx(t.components.NoRowsOverlay,Id({},null==(s=t.componentsProps)?void 0:s.noRowsOverlay)));a&&(i=ee.jsx(t.components.NoResultsOverlay,Id({},null==(l=t.componentsProps)?void 0:l.noResultsOverlay)));o&&(i=ee.jsx(t.components.LoadingOverlay,Id({},null==(u=t.componentsProps)?void 0:u.loadingOverlay)));return null===i?null:ee.jsx(KW,{children:i})}function XW(e){const{children:t,VirtualScrollerComponent:n,ColumnHeadersComponent:r}=e,o=jG(),a=$G(),i=XG(o,qW),[s,l]=U.useState(a.disableVirtualization),u=U.useCallback((()=>{l(!0)}),[]),c=U.useCallback((()=>{l(!1)}),[]);U.useEffect((()=>{l(a.disableVirtualization)}),[a.disableVirtualization]),o.current.unstable_disableVirtualization=u,o.current.unstable_enableVirtualization=c;const d=U.useRef(null),p=U.useRef(null),f=U.useRef(null),m=U.useRef(null);o.current.columnHeadersContainerElementRef=p,o.current.columnHeadersElementRef=d,o.current.windowRef=f,o.current.renderingZoneRef=m;const h=U.useCallback((e=>{o.current.publishEvent("resize",e)}),[o]);return ee.jsxs(VG,{children:[ee.jsx(YW,{}),ee.jsx(r,{ref:p,innerRef:d}),ee.jsx(qG,{nonce:a.nonce,disableHeight:a.autoHeight,onResize:h,children:e=>{const t={width:e.width,height:e.height?e.height-i:"auto",marginTop:i};return ee.jsx(n,{ref:f,style:t,disableVirtualization:s})}}),t]})}function ZW(e,t){const n=U.useRef(null);if(n.current)return n.current;const r=e.current.getLogger(t);return n.current=r,r}let QW=class extends U.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){this.props.api.current&&(this.logError(e),this.props.api.current.showError({error:e,errorInfo:t}))}logError(e,t){this.props.logger.error(`An unexpected error occurred. Error: ${e&&e.message}. `,e,t)}render(){var e;return this.props.hasError||null!=(e=this.state)&&e.hasError?this.props.render(this.state):this.props.children}};function JW(e){const{children:t}=e,n=jG(),r=ZW(n,"GridErrorHandler"),o=$G(),a=n.current.state.error;return ee.jsx(QW,{hasError:null!=a,api:n,logger:r,render:e=>{var t;return ee.jsx(VG,{children:ee.jsx(o.components.ErrorOverlay,Id({},e,a,null==(t=o.componentsProps)?void 0:t.errorOverlay))})},children:t})}function eq(){var e;const t=jG(),n=$G(),r=U.useRef(null);return t.current.footerRef=r,n.hideFooter?null:ee.jsx("div",{ref:r,children:ee.jsx(n.components.Footer,Id({},null==(e=n.componentsProps)?void 0:e.footer))})}function tq(){var e;const t=jG(),n=$G(),r=U.useRef(null);return t.current.headerRef=r,ee.jsx("div",{ref:r,children:ee.jsx(n.components.Header,Id({},null==(e=n.componentsProps)?void 0:e.header))})}function nq(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;te.focus,bq=QG(gq,(e=>e.cell)),vq=QG(gq,(e=>e.columnHeader)),yq=e=>e.tabIndex,wq=QG(yq,(e=>e.cell)),Sq=QG(yq,(e=>e.columnHeader)),xq=["align","children","colIndex","colDef","cellMode","field","formattedValue","hasFocus","height","isEditable","rowId","tabIndex","value","width","className","showRightBorder","extendRowFullWidth","row","colSpan","disableDragEvents","onClick","onDoubleClick","onMouseDown","onMouseUp","onKeyDown","onDragEnter","onDragOver"];let Eq;const Cq=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","hasFocus","tabIndex","getValue"],kq=e=>{const{value:t}=e,n=_d(e,Cq),r=jG(),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["booleanCell"]},BG,t)})({classes:o.classes}),i=U.useMemo((()=>t?o.components.BooleanCellTrueIcon:o.components.BooleanCellFalseIcon),[o.components.BooleanCellFalseIcon,o.components.BooleanCellTrueIcon,t]);return ee.jsx(i,Id({fontSize:"small",className:a.root,titleAccess:r.current.getLocaleText(t?"booleanCellTrueLabel":"booleanCellFalseLabel"),"data-value":Boolean(t)},n))},Rq=U.memo(kq),Tq=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","isValidating","isProcessingProps","error","onValueChange"];function Iq(e){var t;const{id:n,value:r,field:o,className:a,hasFocus:i,onValueChange:s}=e,l=_d(e,Tq),u=jG(),c=U.useRef(null),d=Og(),[p,f]=U.useState(r),m=$G(),h=(e=>{const{classes:t}=e;return eb({root:["editBooleanCell"]},BG,t)})({classes:m.classes}),g=U.useCallback((async e=>{const t=e.target.checked;s&&await s(e,t),f(t),await u.current.setEditCellValue({id:n,field:o,value:t},e)}),[u,o,n,s]);return U.useEffect((()=>{f(r)}),[r]),cg((()=>{i&&c.current.focus()}),[i]),ee.jsx("label",Id({htmlFor:d,className:rq(h.root,a)},l,{children:ee.jsx(m.components.BaseCheckbox,Id({id:d,inputRef:c,checked:Boolean(p),onChange:g,size:"small"},null==(t=m.componentsProps)?void 0:t.baseCheckbox))}))}const _q=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue","inputProps","isValidating","isProcessingProps","onValueChange"],Aq=Wv(iC)({fontSize:"inherit"});function Oq(e){const{id:t,value:n,field:r,colDef:o,hasFocus:a,inputProps:i,onValueChange:s}=e,l=_d(e,_q),u="dateTime"===o.type,c=jG(),d=U.useRef(),p=U.useMemo((()=>{let e,t;if(e=null==n?null:n instanceof Date?n:new Date((null!=n?n:"").toString()),null==e||Number.isNaN(e.getTime()))t="";else{t=new Date(e.getTime()-60*e.getTimezoneOffset()*1e3).toISOString().substr(0,u?16:10)}return{parsed:e,formatted:t}}),[n,u]),[f,m]=U.useState(p),h=(e=>{const{classes:t}=e;return eb({root:["editInputCell"]},BG,t)})({classes:$G().classes}),g=U.useCallback((async e=>{const n=e.target.value;let o;if(""===n)o=null;else{const[e,t]=n.split("T"),[r,a,i]=e.split("-");if(o=new Date,o.setFullYear(Number(r),Number(a)-1,Number(i)),o.setHours(0,0,0,0),t){const[e,n]=t.split(":");o.setHours(Number(e),Number(n),0,0)}}s&&await s(e,o),m({parsed:o,formatted:n}),c.current.setEditCellValue({id:t,field:r,value:o},e)}),[c,r,t,s]);return U.useEffect((()=>{m((e=>{var t,n;return p.parsed!==e.parsed&&(null==(t=p.parsed)?void 0:t.getTime())!==(null==(n=e.parsed)?void 0:n.getTime())?p:e}))}),[p]),cg((()=>{a&&d.current.focus()}),[a]),ee.jsx(Aq,Id({inputRef:d,fullWidth:!0,className:h.root,type:u?"datetime-local":"date",inputProps:Id({max:u?"9999-12-31T23:59":"9999-12-31"},i),value:f.formatted,onChange:g},l))}const Nq=e=>ee.jsx(Oq,Id({},e)),Pq=ey(ee.jsx("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward"),Lq=ey(ee.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),Mq=ey(ee.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight"),Dq=ey(ee.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),jq=ey(ee.jsx("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList"),Fq=ey(ee.jsx("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"}),"FilterAlt"),$q=ey(ee.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");ey(ee.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu"),ey(ee.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");const Bq=ey(ee.jsx("path",{d:"M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"}),"ColumnIcon"),zq=ey(ee.jsx("path",{d:"M11 19V5h2v14z"}),"Separator"),Uq=ey(ee.jsx("path",{d:"M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"}),"ViewHeadline"),Hq=ey(ee.jsx("path",{d:"M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"}),"TableRows"),Vq=ey(ee.jsx("path",{d:"M4 18h17v-6H4v6zM4 5v6h17V5H4z"}),"ViewStream"),Gq=ey(ee.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"TripleDotsVertical"),Wq=ey(ee.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),qq=ey(ee.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),Kq=ey(ee.jsx("path",{d:"M19 13H5v-2h14v2z"}),"Remove"),Yq=ey(ee.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Load"),Xq=ey(ee.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"Drag"),Zq=ey(ee.jsx("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),Qq=ey(ee.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),Jq=ey(ee.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");function eK(e){return"object"==typeof e&&null!==e?e.value:e}function tK(e,t){if(void 0===t)return;const n=t.find((t=>{const n=eK(t);return String(n)===String(e)}));return eK(n)}const nK=["item","applyValue","type","apiRef","focusElementRef"],rK=({valueOptions:e,valueFormatter:t,field:n},r,o)=>("function"==typeof e?["",...e({field:n})]:["",...e||[]]).map((e=>{const a="object"==typeof e,i=a?e.value:e,s=a?e.value:e,l=t&&""!==e?t({value:e,field:n,api:r}):e,u=a?e.label:l;return ee.jsx(o,{value:s,children:u},i)})),oK=500;function aK(e){var t,n,r,o,a;const{item:i,applyValue:s,type:l,apiRef:u,focusElementRef:c}=e,d=_d(e,nK),p=U.useRef(),[f,m]=U.useState(null!=(t=i.value)?t:""),[h,g]=U.useState(!1),b=Og(),v=$G(),y=null==(r=((null==(n=v.componentsProps)?void 0:n.baseSelect)||{}).native)||r,w="singleSelect"===l?{select:!0,SelectProps:Id({native:y},null==(o=v.componentsProps)?void 0:o.baseSelect),children:rK(u.current.getColumn(i.columnField),u.current,y?"option":xA)}:{},S=U.useCallback((e=>{let t=e.target.value;if("singleSelect"===l){const e=u.current.getColumn(i.columnField),n="function"==typeof e.valueOptions?e.valueOptions({field:e.field}):e.valueOptions;t=tK(t,n)}clearTimeout(p.current),m(String(t)),g(!0),p.current=setTimeout((()=>{s(Id({},i,{value:t})),g(!1)}),oK)}),[u,s,i,l]);U.useEffect((()=>()=>{clearTimeout(p.current)}),[]),U.useEffect((()=>{var e;const t=null!=(e=i.value)?e:"";m(String(t))}),[i.value]);const x=h?{endAdornment:ee.jsx(Yq,{})}:d.InputProps;return ee.jsx(v.components.BaseTextField,Id({id:b,label:u.current.getLocaleText("filterPanelInputLabel"),placeholder:u.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:S,variant:"standard",type:l||"text",InputProps:x,InputLabelProps:{shrink:!0},inputRef:c},w,d,null==(a=v.componentsProps)?void 0:a.baseTextField))}const iK=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue","isValidating","debounceMs","isProcessingProps","onValueChange"],sK=Wv(iC,{name:"MuiDataGrid",slot:"EditInputCell",overridesResolver:(e,t)=>t.editInputCell})((({theme:e})=>Id({},e.typography.body2,{padding:"1px 0","& input":{padding:"0 16px",height:"100%"}}))),lK=U.forwardRef(((e,t)=>{var n,r;const o=$G(),{id:a,value:i,field:s,colDef:l,hasFocus:u,debounceMs:c=(null!=(n=o.experimentalFeatures)&&n.newEditingApi?200:oK),isProcessingProps:d,onValueChange:p}=e,f=_d(e,iK),m=jG(),h=U.useRef(),[g,b]=U.useState(i),v=(e=>{const{classes:t}=e;return eb({root:["editInputCell"]},BG,t)})(o),y=U.useCallback((async e=>{var t;const n=e.target.value;p&&await p(e,n);const r=m.current.getColumn(s);let i=n;r.valueParser&&null!=(t=o.experimentalFeatures)&&t.newEditingApi&&(i=r.valueParser(n,m.current.getCellParams(a,s))),b(i),m.current.setEditCellValue({id:a,field:s,value:i,debounceMs:c,unstable_skipValueParser:!0},e)}),[m,c,s,a,p,null==(r=o.experimentalFeatures)?void 0:r.newEditingApi]),w=m.current.unstable_getEditCellMeta?m.current.unstable_getEditCellMeta(a,s):{};return U.useEffect((()=>{"debouncedSetEditCellValue"!==w.changeReason&&b(i)}),[w.changeReason,i]),cg((()=>{u&&h.current.focus()}),[u]),ee.jsx(sK,Id({ref:t,inputRef:h,className:v.root,ownerState:o,fullWidth:!0,type:"number"===l.type?l.type:"text",value:null!=g?g:"",onChange:y,endAdornment:d?ee.jsx(Yq,{}):void 0},f))})),uK=e=>"Escape"===e,cK=e=>"Enter"===e,dK=e=>"Tab"===e,pK=e=>" "===e,fK=e=>"Delete"===e||"Backspace"===e;function mK(e){return 1===e.key.length&&!1===e.ctrlKey&&!1===e.metaKey}const hK=["Enter","Escape","Tab"],gK=["Enter","Tab"],bK=e=>gK.indexOf(e)>-1,vK=e=>(e=>"Home"===e||"End"===e)(e)||(e=>0===e.indexOf("Arrow"))(e)||(e=>0===e.indexOf("Page"))(e)||pK(e),yK=e=>!!e.key,wK=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","isValidating","isProcessingProps","error","onValueChange","initialOpen"];function SK(e){var t,n,r;const o=$G(),{id:a,value:i,api:s,field:l,row:u,colDef:c,hasFocus:d,error:p,onValueChange:f,initialOpen:m=o.editMode===oq.Cell}=e,h=_d(e,wK),g=jG(),b=U.useRef(),v=U.useRef(),[y,w]=U.useState(m),S=null!=(n=((null==(t=o.componentsProps)?void 0:t.baseSelect)||{}).native)&&n;let x;x="function"==typeof c.valueOptions?c.valueOptions({id:a,row:u,field:l}):c.valueOptions,c.valueFormatter&&(x=x.map((e=>{if("object"==typeof e)return e;const t={field:l,api:s,value:e};return{value:e,label:String(c.valueFormatter(t))}})));return cg((()=>{d&&v.current.focus()}),[d]),ee.jsx(o.components.BaseSelect,Id({ref:b,inputRef:v,value:i,onChange:async e=>{var t;w(!1);const n=tK(e.target.value,x);f&&await f(e,n);const r=await g.current.setEditCellValue({id:a,field:l,value:n},e);if(null!=(t=o.experimentalFeatures)&&t.newEditingApi)return;if(o.editMode===oq.Row||!1===r)return;if(await Promise.resolve(g.current.commitCellChange({id:a,field:l},e))&&(g.current.setCellMode(a,l,"view"),e.key)){const t=g.current.getCellParams(a,l);g.current.publishEvent("cellNavigationKeyDown",t,e)}},open:y,onOpen:e=>{(function(e){return!!e.key})(e)&&"Enter"===e.key||w(!0)},MenuProps:{onClose:(e,t)=>{var n;o.editMode!==oq.Row?("backdropClick"===t||uK(e.key))&&(null!=(n=o.experimentalFeatures)&&n.newEditingApi?g.current.stopCellEditMode({id:a,field:l,ignoreModifications:!0}):g.current.setCellMode(a,l,"view")):w(!1)}},error:p,native:S,fullWidth:!0},h,null==(r=o.componentsProps)?void 0:r.baseSelect,{children:x.map((e=>((e,t)=>{const n="object"==typeof e,r=n?e.value:e,o=n?e.value:e,a=n?e.label:e;return ee.jsx(t,{value:o,children:a},r)})(e,S?"option":xA)))}))}const xK=["open","target","onClickAway","children","position","className","onExited"],EK=Wv(AE,{name:"MuiDataGrid",slot:"Menu",overridesResolver:(e,t)=>t.menu})((({theme:e})=>({zIndex:e.zIndex.modal,[`& .${zG.menuList}`]:{outline:0}}))),CK={"bottom-start":"top left","bottom-end":"top right"},kK=e=>{var t;const{open:n,target:r,onClickAway:o,children:a,position:i,className:s,onExited:l}=e,u=_d(e,xK),c=jG(),d=U.useRef(r),p=U.useRef(n),f=$G(),m=(e=>{const{classes:t}=e;return eb({root:["menu"]},BG,t)})(f);U.useEffect((()=>{p.current&&d.current&&d.current.focus();const e=n?"menuOpen":"menuClose";c.current.publishEvent(e,{target:r}),p.current=n,d.current=r}),[c,n,r]);return ee.jsx(EK,Id({as:f.components.BasePopper,className:rq(s,m.root),ownerState:f,open:n,anchorEl:r,transition:!0,placement:i},u,null==(t=f.componentsProps)?void 0:t.basePopper,{children:({TransitionProps:e,placement:t})=>{return ee.jsx(CS,{onClickAway:o,mouseEvent:"onMouseDown",children:ee.jsx(yI,Id({},e,{style:{transformOrigin:CK[t]},onExited:(n=null==e?void 0:e.onExited,e=>{n&&n(),l&&l(e)}),children:ee.jsx(Ly,{children:a})}))});var n}}))},RK=["colDef","id","api","hasFocus","isEditable","field","value","formattedValue","row","rowNode","cellMode","getValue","tabIndex","position","focusElementRef"],TK=e=>{const{colDef:t,id:n,hasFocus:r,tabIndex:o,position:a="bottom-end",focusElementRef:i}=e,s=_d(e,RK),[l,u]=U.useState(-1),[c,d]=U.useState(!1),p=jG(),f=U.useRef(null),m=U.useRef(null),h=U.useRef(!1),g=U.useRef({}),b=Og(),v=Og(),y=$G();if(U.useLayoutEffect((()=>{r||Object.entries(g.current).forEach((([e,t])=>{null==t||t.stop({},(()=>{delete g.current[e]}))}))}),[r]),U.useEffect((()=>{if(l<0||!f.current)return;if(l>=f.current.children.length)return;f.current.children[l].focus({preventScroll:!0})}),[l]),U.useEffect((()=>{r||(u(-1),h.current=!1)}),[r]),U.useImperativeHandle(i,(()=>({focus(){h.current||u(0)}})),[]),!(e=>"function"==typeof e.getActions)(t))throw new Error("MUI: Missing the `getActions` property in the `GridColDef`.");const w=t.getActions(p.current.getRowParams(n)),S=w.filter((e=>!e.props.showInMenu)),x=w.filter((e=>e.props.showInMenu)),E=S.length+(x.length?1:0);U.useEffect((()=>{l>=E&&u(E-1)}),[l,E]);const C=()=>{d(!1)},k=e=>t=>{g.current[e]=t},R=(e,t)=>n=>{u(e),h.current=!0,t&&t(n)};return ee.jsxs("div",Id({role:"menu",ref:f,tabIndex:-1,className:zG.actionsCell,onKeyDown:e=>{if(E<=1)return;let t=l;"ArrowRight"===e.key?t+=1:"ArrowLeft"===e.key&&(t-=1),t<0||t>=E||t!==l&&(e.preventDefault(),e.stopPropagation(),u(t))}},s,{children:[S.map(((e,t)=>U.cloneElement(e,{key:t,touchRippleRef:k(t),onClick:R(t,e.props.onClick),tabIndex:l===t?o:-1}))),x.length>0&&v&&ee.jsx(Uw,{ref:m,id:v,"aria-label":p.current.getLocaleText("actionsCellMore"),"aria-controls":b,"aria-expanded":c?"true":void 0,"aria-haspopup":"true",role:"menuitem",size:"small",onClick:()=>{d(!0),u(E-1),h.current=!0},touchRippleRef:k(v),tabIndex:l===S.length?o:-1,children:ee.jsx(y.components.MoreActionsIcon,{fontSize:"small"})}),x.length>0&&ee.jsx(kK,{onClickAway:C,onClick:C,open:c,target:m.current,position:a,children:ee.jsx(X_,{id:b,className:zG.menuList,onKeyDown:e=>{"Tab"===e.key&&e.preventDefault(),["Tab","Enter","Escape"].includes(e.key)&&C()},"aria-labelledby":v,variant:"menu",autoFocusItem:!0,children:x.map(((e,t)=>U.cloneElement(e,{key:t})))})})]}))},IK=["field","align","width","contentWidth"];const _K=Wv("div",{name:"MuiDataGrid",slot:"Root",overridesResolver:(e,t)=>[{[`&.${zG.autoHeight}`]:t.autoHeight},{[`&.${zG.aggregationColumnHeader}`]:t.aggregationColumnHeader},{[`&.${zG["aggregationColumnHeader--alignLeft"]}`]:t["aggregationColumnHeader--alignLeft"]},{[`&.${zG["aggregationColumnHeader--alignCenter"]}`]:t["aggregationColumnHeader--alignCenter"]},{[`&.${zG["aggregationColumnHeader--alignRight"]}`]:t["aggregationColumnHeader--alignRight"]},{[`&.${zG.aggregationColumnHeaderLabel}`]:t.aggregationColumnHeaderLabel},{[`& .${zG.editBooleanCell}`]:t.editBooleanCell},{[`& .${zG["cell--editing"]}`]:t["cell--editing"]},{[`& .${zG["cell--textCenter"]}`]:t["cell--textCenter"]},{[`& .${zG["cell--textLeft"]}`]:t["cell--textLeft"]},{[`& .${zG["cell--textRight"]}`]:t["cell--textRight"]},{[`& .${zG["cell--withRenderer"]}`]:t["cell--withRenderer"]},{[`& .${zG.cell}`]:t.cell},{[`& .${zG.cellContent}`]:t.cellContent},{[`& .${zG.cellCheckbox}`]:t.cellCheckbox},{[`& .${zG.cellSkeleton}`]:t.cellSkeleton},{[`& .${zG.checkboxInput}`]:t.checkboxInput},{[`& .${zG["columnHeader--alignCenter"]}`]:t["columnHeader--alignCenter"]},{[`& .${zG["columnHeader--alignLeft"]}`]:t["columnHeader--alignLeft"]},{[`& .${zG["columnHeader--alignRight"]}`]:t["columnHeader--alignRight"]},{[`& .${zG["columnHeader--dragging"]}`]:t["columnHeader--dragging"]},{[`& .${zG["columnHeader--moving"]}`]:t["columnHeader--moving"]},{[`& .${zG["columnHeader--numeric"]}`]:t["columnHeader--numeric"]},{[`& .${zG["columnHeader--sortable"]}`]:t["columnHeader--sortable"]},{[`& .${zG["columnHeader--sorted"]}`]:t["columnHeader--sorted"]},{[`& .${zG.columnHeader}`]:t.columnHeader},{[`& .${zG.columnHeaderCheckbox}`]:t.columnHeaderCheckbox},{[`& .${zG.columnHeaderDraggableContainer}`]:t.columnHeaderDraggableContainer},{[`& .${zG.columnHeaderTitleContainer}`]:t.columnHeaderTitleContainer},{[`& .${zG["columnSeparator--resizable"]}`]:t["columnSeparator--resizable"]},{[`& .${zG["columnSeparator--resizing"]}`]:t["columnSeparator--resizing"]},{[`& .${zG.columnSeparator}`]:t.columnSeparator},{[`& .${zG.filterIcon}`]:t.filterIcon},{[`& .${zG.iconSeparator}`]:t.iconSeparator},{[`& .${zG.menuIcon}`]:t.menuIcon},{[`& .${zG.menuIconButton}`]:t.menuIconButton},{[`& .${zG.menuOpen}`]:t.menuOpen},{[`& .${zG.menuList}`]:t.menuList},{[`& .${zG["row--editable"]}`]:t["row--editable"]},{[`& .${zG["row--editing"]}`]:t["row--editing"]},{[`& .${zG["row--dragging"]}`]:t["row--dragging"]},{[`& .${zG.row}`]:t.row},{[`& .${zG.rowReorderCellPlaceholder}`]:t.rowReorderCellPlaceholder},{[`& .${zG.rowReorderCell}`]:t.rowReorderCell},{[`& .${zG["rowReorderCell--draggable"]}`]:t["rowReorderCell--draggable"]},{[`& .${zG.sortIcon}`]:t.sortIcon},{[`& .${zG.withBorder}`]:t.withBorder},{[`& .${zG.treeDataGroupingCell}`]:t.treeDataGroupingCell},{[`& .${zG.treeDataGroupingCellToggle}`]:t.treeDataGroupingCellToggle},{[`& .${zG.detailPanelToggleCell}`]:t.detailPanelToggleCell},{[`& .${zG["detailPanelToggleCell--expanded"]}`]:t["detailPanelToggleCell--expanded"]},t.root]})((({theme:e})=>{const t="light"===e.palette.mode?xg(wg(e.palette.divider,1),.88):Sg(wg(e.palette.divider,1),.68);return Id({flex:1,boxSizing:"border-box",position:"relative",border:`1px solid ${t}`,borderRadius:e.shape.borderRadius,color:e.palette.text.primary},e.typography.body2,{outline:"none",height:"100%",display:"flex",flexDirection:"column",[`&.${zG.autoHeight}`]:{height:"auto",[`& .${zG["row--lastVisible"]} .${zG.cell}`]:{borderBottomColor:"transparent"}},[`& .${zG["virtualScrollerContent--overflowed"]} .${zG["row--lastVisible"]} .${zG.cell}`]:{borderBottomColor:"transparent"},[`& .${zG.columnHeader}, & .${zG.cell}`]:{WebkitTapHighlightColor:"transparent",lineHeight:null,padding:"0 10px",boxSizing:"border-box"},[`& .${zG.columnHeader}:focus-within, & .${zG.cell}:focus-within`]:{outline:`solid ${wg(e.palette.primary.main,.5)} 1px`,outlineWidth:1,outlineOffset:-1},[`& .${zG.columnHeader}:focus, & .${zG.cell}:focus`]:{outline:`solid ${e.palette.primary.main} 1px`},[`& .${zG.columnHeaderCheckbox}, & .${zG.cellCheckbox}`]:{padding:0,justifyContent:"center",alignItems:"center"},[`& .${zG.columnHeader}`]:{position:"relative",display:"flex",alignItems:"center"},[`& .${zG["columnHeader--sorted"]} .${zG.iconButtonContainer}, & .${zG["columnHeader--filtered"]} .${zG.iconButtonContainer}`]:{visibility:"visible",width:"auto"},[`& .${zG.columnHeader}:not(.${zG["columnHeader--sorted"]}) .${zG.sortIcon}`]:{opacity:0,transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.shorter})},[`& .${zG.columnHeader}:not(.${zG["columnHeader--sorted"]}):hover .${zG.sortIcon}`]:{opacity:.5},[`& .${zG.columnHeaderTitleContainer}`]:{display:"flex",alignItems:"center",minWidth:0,flex:1,whiteSpace:"nowrap",overflow:"hidden"},[`& .${zG.columnHeaderTitleContainerContent}`]:{overflow:"hidden",display:"flex",alignItems:"center"},[`& .${zG["columnHeader--filledGroup"]} .${zG.columnHeaderTitleContainer}`]:{borderBottom:`solid ${t} 1px`,boxSizing:"border-box"},[`& .${zG["columnHeader--filledGroup"]}.${zG["columnHeader--showColumnBorder"]} .${zG.columnHeaderTitleContainer}`]:{borderBottom:"none"},[`& .${zG["columnHeader--filledGroup"]}.${zG["columnHeader--showColumnBorder"]}`]:{borderBottom:`solid ${t} 1px`,boxSizing:"border-box"},[`& .${zG.sortIcon}, & .${zG.filterIcon}`]:{fontSize:"inherit"},[`& .${zG["columnHeader--sortable"]}`]:{cursor:"pointer"},[`& .${zG["columnHeader--alignCenter"]} .${zG.columnHeaderTitleContainer}`]:{justifyContent:"center"},[`& .${zG["columnHeader--alignRight"]} .${zG.columnHeaderDraggableContainer}, & .${zG["columnHeader--alignRight"]} .${zG.columnHeaderTitleContainer}`]:{flexDirection:"row-reverse"},[`& .${zG["columnHeader--alignCenter"]} .${zG.menuIcon}, & .${zG["columnHeader--alignRight"]} .${zG.menuIcon}`]:{marginRight:"auto",marginLeft:-6},[`& .${zG["columnHeader--alignRight"]} .${zG.menuIcon}, & .${zG["columnHeader--alignRight"]} .${zG.menuIcon}`]:{marginRight:"auto",marginLeft:-10},[`& .${zG["columnHeader--moving"]}`]:{backgroundColor:e.palette.action.hover},[`& .${zG.columnSeparator}`]:{position:"absolute",zIndex:100,display:"flex",flexDirection:"column",justifyContent:"center",color:t},[`& .${zG["columnSeparator--sideLeft"]}`]:{left:-12},[`& .${zG["columnSeparator--sideRight"]}`]:{right:-12},[`& .${zG["columnSeparator--resizable"]}`]:{cursor:"col-resize",touchAction:"none","&:hover":{color:e.palette.text.primary,"@media (hover: none)":{color:t}},[`&.${zG["columnSeparator--resizing"]}`]:{color:e.palette.text.primary},"& svg":{pointerEvents:"none"}},[`& .${zG.iconSeparator}`]:{color:"inherit"},[`& .${zG.menuIcon}`]:{width:0,visibility:"hidden",fontSize:20,marginRight:-10,display:"flex",alignItems:"center"},[`& .${zG.columnHeader}:hover`]:{[`& .${zG.iconButtonContainer}`]:{visibility:"visible",width:"auto"},[`& .${zG.menuIcon}`]:{width:"auto",visibility:"visible"}},[`.${zG.menuOpen}`]:{visibility:"visible",width:"auto"},[`& .${zG.row}`]:{display:"flex",width:"fit-content",breakInside:"avoid","&:hover, &.Mui-hovered":{backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},"&.Mui-selected":{backgroundColor:wg(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover, &.Mui-hovered":{backgroundColor:wg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:wg(e.palette.primary.main,e.palette.action.selectedOpacity)}}}},[`& .${zG.cell}`]:{display:"flex",alignItems:"center",borderBottom:`1px solid ${t}`},[`& .${zG.row}:not(.${zG["row--dynamicHeight"]}) > .${zG.cell}`]:{overflow:"hidden",whiteSpace:"nowrap"},[`& .${zG.cellContent}`]:{overflow:"hidden",textOverflow:"ellipsis"},[`& .${zG.cell}.${zG["cell--editing"]}`]:{padding:1,display:"flex",boxShadow:e.shadows[2],backgroundColor:e.palette.background.paper,"&:focus-within":{outline:`solid ${e.palette.primary.main} 1px`,outlineOffset:"-1px"}},[`& .${zG["row--editing"]}`]:{boxShadow:e.shadows[2]},[`& .${zG["row--editing"]} .${zG.cell}`]:{boxShadow:e.shadows[0],backgroundColor:e.palette.background.paper},[`& .${zG.editBooleanCell}`]:{display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center"},[`& .${zG.booleanCell}[data-value="true"]`]:{color:e.palette.text.secondary},[`& .${zG.booleanCell}[data-value="false"]`]:{color:e.palette.text.disabled},[`& .${zG.actionsCell}`]:{display:"inline-flex",alignItems:"center",gridGap:e.spacing(1)},[`& .${zG.rowReorderCell}`]:{display:"inline-flex",flex:1,alignItems:"center",justifyContent:"center",opacity:e.palette.action.disabledOpacity},[`& .${zG["rowReorderCell--draggable"]}`]:{cursor:"move",opacity:1},[`& .${zG.rowReorderCellContainer}`]:{padding:0,alignItems:"stretch"},[`& .${zG.withBorder}`]:{borderRight:`1px solid ${t}`},[`& .${zG["cell--textLeft"]}`]:{justifyContent:"flex-start"},[`& .${zG["cell--textRight"]}`]:{justifyContent:"flex-end"},[`& .${zG["cell--textCenter"]}`]:{justifyContent:"center"},[`& .${zG.columnHeaderDraggableContainer}`]:{display:"flex",width:"100%",height:"100%"},[`& .${zG.rowReorderCellPlaceholder}`]:{display:"none"},[`& .${zG["columnHeader--dragging"]}, & .${zG["row--dragging"]}`]:{background:e.palette.background.paper,padding:"0 12px",borderRadius:e.shape.borderRadius,opacity:e.palette.action.disabledOpacity},[`& .${zG["row--dragging"]}`]:{background:e.palette.background.paper,padding:"0 12px",borderRadius:e.shape.borderRadius,opacity:e.palette.action.disabledOpacity,[`& .${zG.rowReorderCellPlaceholder}`]:{display:"flex"}},[`& .${zG.treeDataGroupingCell}`]:{display:"flex",alignItems:"center",width:"100%"},[`& .${zG.treeDataGroupingCellToggle}`]:{flex:"0 0 28px",alignSelf:"stretch",marginRight:e.spacing(2)},[`& .${zG.groupingCriteriaCell}`]:{display:"flex",alignItems:"center",width:"100%"},[`& .${zG.groupingCriteriaCellToggle}`]:{flex:"0 0 28px",alignSelf:"stretch",marginRight:e.spacing(2)}})})),AK=["children","className"],OK=U.forwardRef((function(e,t){const n=$G(),{children:r,className:o}=e,a=_d(e,AK),i=jG(),s=XG(i,xW),l=XG(i,eW),u=XG(i,UW),c=XG(i,GW),d=U.useRef(null),p=Lg(d,t),f=XG(i,dW),m=Id({},n,{density:u}),h=(e=>{const{autoHeight:t,density:n,classes:r}=e;return eb({root:["root",t&&"autoHeight",`root--density${cm(n)}`]},BG,r)})(m);i.current.rootElementRef=d;const[g,b]=U.useState(!1);return cg((()=>{b(!0)}),[]),cg((()=>{g&&i.current.unstable_updateGridDimensionsRef()}),[i,g]),g?ee.jsx(_K,Id({ref:p,className:rq(o,h.root),ownerState:m,role:"grid","aria-colcount":s.length,"aria-rowcount":c+1+f+l,"aria-multiselectable":!n.disableMultipleSelection,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"]},a,{children:r})):null})),NK=["className"],PK=Wv("div",{name:"MuiDataGrid",slot:"FooterContainer",overridesResolver:(e,t)=>t.footerContainer})((({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:52,borderTop:`1px solid ${"light"===e.palette.mode?xg(wg(e.palette.divider,1),.88):Sg(wg(e.palette.divider,1),.68)}`}))),LK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,NK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["footerContainer"]},BG,t)})(o);return ee.jsx(PK,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),MK=["className"],DK=Wv("div",{name:"MuiDataGrid",slot:"Overlay",overridesResolver:(e,t)=>t.overlay})((({theme:e})=>({position:"absolute",top:0,zIndex:4,width:"100%",height:"100%",pointerEvents:"none",display:"flex",alignSelf:"center",alignItems:"center",justifyContent:"center",backgroundColor:wg(e.palette.background.default,e.palette.action.disabledOpacity)}))),jK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,MK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["overlay"]},BG,t)})(o);return ee.jsx(DK,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),FK=["className"],$K=Wv("div",{name:"MuiDataGrid",slot:"IconButtonContainer",overridesResolver:(e,t)=>t.iconButtonContainer})((()=>({display:"flex",visibility:"hidden",width:0}))),BK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,FK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["iconButtonContainer"]},BG,t)})(o);return ee.jsx($K,Id({ref:t,className:rq(a.root,n),ownerState:o},r))}));function zK(e){const{direction:t,index:n,sortingOrder:r}=e,o=jG(),a=$G(),i=(e=>{const{classes:t}=e;return eb({icon:["sortIcon"]},BG,t)})(Id({},e,{classes:a.classes})),s=function(e,t,n,r){let o;const a={};return"asc"===t?o=e.ColumnSortedAscendingIcon:"desc"===t?o=e.ColumnSortedDescendingIcon:(o=e.ColumnUnsortedIcon,a.sortingOrder=r),o?ee.jsx(o,Id({fontSize:"small",className:n},a)):null}(a.components,t,i.icon,r);if(!s)return null;const l=ee.jsx(Uw,{tabIndex:-1,"aria-label":o.current.getLocaleText("columnHeaderSortIconLabel"),title:o.current.getLocaleText("columnHeaderSortIconLabel"),size:"small",children:s});return ee.jsxs(BK,{children:[null!=n&&ee.jsx(rk,{badgeContent:n,color:"default",children:l}),null==n&&l]})}const UK=U.memo(zK),HK=U.memo((e=>{const{column:t,open:n,columnMenuId:r,columnMenuButtonId:o,iconButtonRef:a}=e,i=jG(),s=$G(),l=(e=>{const{classes:t,open:n}=e;return eb({root:["menuIcon",n&&"menuOpen"],button:["menuIconButton"]},BG,t)})(Id({},e,{classes:s.classes})),u=U.useCallback((e=>{e.preventDefault(),e.stopPropagation(),i.current.toggleColumnMenu(t.field)}),[i,t.field]);return ee.jsx("div",{className:l.root,children:ee.jsx(Uw,{ref:a,tabIndex:-1,className:l.button,"aria-label":i.current.getLocaleText("columnMenuLabel"),title:i.current.getLocaleText("columnMenuLabel"),size:"small",onClick:u,"aria-expanded":n?"true":void 0,"aria-haspopup":"true","aria-controls":r,id:o,children:ee.jsx(s.components.ColumnMenuIcon,{fontSize:"small"})})})}));function VK({columnMenuId:e,columnMenuButtonId:t,ContentComponent:n,contentComponentProps:r,field:o,open:a,target:i,onExited:s}){const l=jG(),u=l.current.getColumn(o),c=U.useCallback((e=>{e.stopPropagation(),l.current.hideColumnMenu()}),[l]);return i?ee.jsx(kK,{placement:"bottom-"+("right"===u.align?"start":"end"),open:a,target:i,onClickAway:c,onExited:s,children:ee.jsx(n,Id({currentColumn:u,hideMenu:c,open:a,id:e,labelledby:t},r))}):null}function GK(e){return e.replace(/["\\]/g,"\\$&")}function WK(e){return`.${zG.row}[data-id="${GK(String(e))}"]`}const qK=["className"],KK=Wv("div",{name:"MuiDataGrid",slot:"ColumnHeaderTitle",overridesResolver:(e,t)=>t.columnHeaderTitle})((({theme:e})=>({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:e.typography.fontWeightMedium}))),YK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,qK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["columnHeaderTitle"]},BG,t)})(o);return ee.jsx(KK,Id({ref:t,className:rq(a.root,n),ownerState:o},r))}));function XK(e){var t;const{label:n,description:r,columnWidth:o}=e,a=$G(),i=U.useRef(null),[s,l]=U.useState("");return U.useEffect((()=>{if(!r&&i&&i.current){const t=(e=i.current).scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth;l(t?n:"")}var e}),[i,o,r,n]),ee.jsx(a.components.BaseTooltip,Id({title:r||s},null==(t=a.componentsProps)?void 0:t.baseTooltip,{children:ee.jsx(YK,{ref:i,children:n})}))}const ZK=["resizable","resizing","height","side"];var QK,JK;(JK=QK||(QK={})).Left="left",JK.Right="right";function eY(e){const{height:t,side:n=QK.Right}=e,r=_d(e,ZK),o=$G(),a=(e=>{const{resizable:t,resizing:n,classes:r,side:o}=e;return eb({root:["columnSeparator",t&&"columnSeparator--resizable",n&&"columnSeparator--resizing",o&&`columnSeparator--side${cm(o)}`],icon:["iconSeparator"]},BG,r)})(Id({},e,{side:n,classes:o.classes})),i=U.useCallback((e=>{e.preventDefault(),e.stopPropagation()}),[]);return ee.jsx("div",Id({className:a.root,style:{minHeight:t,opacity:o.showColumnRightBorder?0:1}},r,{onClick:i,children:ee.jsx(o.components.ColumnResizeIcon,{className:a.icon})}))}const tY=U.memo(eY),nY=["classes","columnMenuOpen","colIndex","height","isResizing","sortDirection","hasFocus","tabIndex","separatorSide","isDraggable","headerComponent","description","elementId","width","columnMenuIconButton","columnMenu","columnTitleIconButtons","headerClassName","label","resizable","draggableContainerProps","columnHeaderSeparatorProps","disableHeaderSeparator"],rY=U.forwardRef((function(e,t){const{classes:n,columnMenuOpen:r,colIndex:o,height:a,isResizing:i,sortDirection:s,hasFocus:l,tabIndex:u,separatorSide:c,isDraggable:d,headerComponent:p,description:f,width:m,columnMenuIconButton:h=null,columnMenu:g=null,columnTitleIconButtons:b=null,headerClassName:v,label:y,resizable:w,draggableContainerProps:S,columnHeaderSeparatorProps:x,disableHeaderSeparator:E}=e,C=_d(e,nY),k=jG(),R=$G(),T=U.useRef(null),[I,_]=U.useState(r),A=Lg(T,t);let O="none";return null!=s&&(O="asc"===s?"ascending":"descending"),U.useEffect((()=>{I||_(r)}),[I,r]),U.useLayoutEffect((()=>{const e=k.current.state.columnMenu;if(l&&!e.open){const e=T.current.querySelector('[tabindex="0"]')||T.current;null==e||e.focus(),k.current.columnHeadersContainerElementRef.current.scrollLeft=0}}),[k,l]),ee.jsxs("div",Id({ref:A,className:rq(n.root,v),style:{height:a,width:m,minWidth:m,maxWidth:m},role:"columnheader",tabIndex:u,"aria-colindex":o+1,"aria-sort":O,"aria-label":null==p?y:void 0},C,{children:[ee.jsxs("div",Id({className:n.draggableContainer,draggable:d},S,{children:[ee.jsxs("div",{className:n.titleContainer,children:[ee.jsx("div",{className:n.titleContainerContent,children:void 0!==p?p:ee.jsx(XK,{label:y,description:f,columnWidth:m})}),b]}),h]})),!E&&ee.jsx(tY,Id({resizable:!R.disableColumnResize&&!!w,resizing:i,height:a,side:c},x)),g]}))}));function oY(e){var t,n,r,o,a;const{column:i,columnMenuOpen:s,colIndex:l,headerHeight:u,isResizing:c,isLastColumn:d,sortDirection:p,sortIndex:f,filterItemsCounter:m,hasFocus:h,tabIndex:g,extendRowFullWidth:b,disableReorder:v,separatorSide:y}=e,w=jG(),S=$G(),x=U.useRef(null),E=Og(),C=Og(),k=U.useRef(null),[R,T]=U.useState(s),{hasScrollX:I,hasScrollY:_}=null!=(t=w.current.getRootDimensions())?t:{hasScrollX:!1,hasScrollY:!1},A=U.useMemo((()=>!S.disableColumnReorder&&!v&&!i.disableReorder),[S.disableColumnReorder,v,i.disableReorder]);let O;i.renderHeader&&(O=i.renderHeader(w.current.getColumnHeaderParams(i.field)));const N=d?!(d&&I&&!_)&&!b:S.showColumnRightBorder,P=(e=>{const{column:t,classes:n,isDragging:r,sortDirection:o,showRightBorder:a,filterItemsCounter:i}=e,s=null!=o,l=null!=i&&i>0,u="number"===t.type;return eb({root:["columnHeader","left"===t.headerAlign&&"columnHeader--alignLeft","center"===t.headerAlign&&"columnHeader--alignCenter","right"===t.headerAlign&&"columnHeader--alignRight",t.sortable&&"columnHeader--sortable",r&&"columnHeader--moving",s&&"columnHeader--sorted",l&&"columnHeader--filtered",u&&"columnHeader--numeric",a&&"withBorder"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"],titleContainerContent:["columnHeaderTitleContainerContent"]},BG,n)})(Id({},e,{classes:S.classes,showRightBorder:N})),L=U.useCallback((e=>t=>{t.currentTarget.contains(t.target)&&w.current.publishEvent(e,w.current.getColumnHeaderParams(i.field),t)}),[w,i.field]),M=U.useMemo((()=>({onClick:L("columnHeaderClick"),onDoubleClick:L("columnHeaderDoubleClick"),onMouseOver:L("columnHeaderOver"),onMouseOut:L("columnHeaderOut"),onMouseEnter:L("columnHeaderEnter"),onMouseLeave:L("columnHeaderLeave"),onKeyDown:L("columnHeaderKeyDown"),onFocus:L("columnHeaderFocus"),onBlur:L("columnHeaderBlur")})),[L]),D=U.useMemo((()=>A?{onDragStart:L("columnHeaderDragStart"),onDragEnter:L("columnHeaderDragEnter"),onDragOver:L("columnHeaderDragOver"),onDragEnd:L("columnHeaderDragEnd")}:{}),[A,L]),j=U.useMemo((()=>({onMouseDown:L("columnSeparatorMouseDown")})),[L]);U.useEffect((()=>{R||T(s)}),[R,s]);const F=U.useCallback((()=>{T(!1)}),[]),$=!S.disableColumnMenu&&!i.disableColumnMenu&&ee.jsx(HK,{column:i,columnMenuId:E,columnMenuButtonId:C,open:R,iconButtonRef:k}),B=ee.jsx(VK,{columnMenuId:E,columnMenuButtonId:C,field:i.field,open:s,target:k.current,ContentComponent:S.components.ColumnMenu,contentComponentProps:null==(n=S.componentsProps)?void 0:n.columnMenu,onExited:F}),z=null!=(r=i.sortingOrder)?r:S.sortingOrder,H=ee.jsxs(U.Fragment,{children:[!S.disableColumnFilter&&ee.jsx(S.components.ColumnHeaderFilterIconButton,Id({field:i.field,counter:m},null==(o=S.componentsProps)?void 0:o.columnHeaderFilterIconButton)),i.sortable&&!i.hideSortIcons&&ee.jsx(UK,{direction:p,index:f,sortingOrder:z})]});U.useLayoutEffect((()=>{const e=w.current.state.columnMenu;if(h&&!e.open){const e=x.current.querySelector('[tabindex="0"]')||x.current;null==e||e.focus(),w.current.columnHeadersContainerElementRef.current.scrollLeft=0}}),[w,h]);const V="function"==typeof i.headerClassName?i.headerClassName({field:i.field,colDef:i}):i.headerClassName,G=null!=(a=i.headerName)?a:i.field;return ee.jsx(rY,Id({ref:x,classes:P,columnMenuOpen:s,colIndex:l,height:u,isResizing:c,sortDirection:p,hasFocus:h,tabIndex:g,separatorSide:y,isDraggable:A,headerComponent:O,description:i.description,elementId:i.field,width:i.computedWidth,columnMenuIconButton:$,columnTitleIconButtons:H,headerClassName:V,label:G,resizable:!S.disableColumnResize&&!!i.resizable,"data-field":i.field,columnMenu:B,draggableContainerProps:D,columnHeaderSeparatorProps:j},M))}const aY=e=>e.preferencePanel;var iY;!function(e){e.filters="filters",e.columns="columns"}(iY||(iY={}));const sY=["field","id","value","formattedValue","row","rowNode","colDef","isEditable","cellMode","hasFocus","tabIndex","getValue","api"],lY=U.forwardRef((function(e,t){var n;const{field:r,id:o,value:a,rowNode:i,hasFocus:s,tabIndex:l}=e,u=_d(e,sY),c=jG(),d=$G(),p=(e=>{const{classes:t}=e;return eb({root:["checkboxInput"]},BG,t)})({classes:d.classes}),f=U.useRef(null),m=U.useRef(),h=Lg(f,t),g=c.current.getCellElement(o,r);U.useLayoutEffect((()=>{0===l&&g&&(g.tabIndex=-1)}),[g,l]),U.useEffect((()=>{if(s){var e;const t=null==(e=f.current)?void 0:e.querySelector("input");null==t||t.focus({preventScroll:!0})}else m.current&&m.current.stop({})}),[s]);const b=U.useCallback((t=>{pK(t.key)&&t.stopPropagation(),vK(t.key)&&!t.shiftKey&&c.current.publishEvent("cellNavigationKeyDown",e,t)}),[c,e]);if("footer"===i.position)return null;const v=c.current.isRowSelectable(o),y=c.current.getLocaleText(a?"checkboxSelectionUnselectRow":"checkboxSelectionSelectRow");return i.isPinned?null:ee.jsx(d.components.BaseCheckbox,Id({ref:h,tabIndex:l,checked:a,onChange:e=>{const t={value:e.target.checked,id:o};c.current.publishEvent("rowSelectionCheckboxChange",t,e)},className:p.root,inputProps:{"aria-label":y},onKeyDown:b,disabled:!v,touchRippleRef:m},null==(n=d.componentsProps)?void 0:n.baseCheckbox,u))})),uY=lY,cY=e=>e.selection,dY=QG(cY,(e=>e.length)),pY=QG(cY,rW,((e,t)=>new Map(e.map((e=>[e,t[e]]))))),fY=QG(cY,(e=>e.reduce(((e,t)=>(e[t]=t,e)),{}))),mY=e=>e.pagination,hY=QG(mY,(e=>e.page)),gY=QG(mY,(e=>e.pageSize));QG(mY,(e=>e.pageCount));const bY=QG(mY,aW,sW,NW,DW,((e,t,n,r,o)=>{const a=o.length,i=Math.min(e.pageSize*e.page,a-1),s=Math.min(i+e.pageSize-1,a-1);if(-1===i||-1===s)return null;if(n<2)return{firstRowIndex:i,lastRowIndex:s};const l=o[i],u=s-i+1,c=r.findIndex((e=>e.id===l.id));let d=c,p=0;for(;d0)&&(d+=1),0===e&&(p+=1)}return{firstRowIndex:c,lastRowIndex:d-1}})),vY=QG(NW,bY,((e,t)=>t?e.slice(t.firstRowIndex,t.lastRowIndex+1):[])),yY=QG(PW,bY,((e,t)=>t?e.slice(t.firstRowIndex,t.lastRowIndex+1):[])),wY=["field","colDef"],SY=U.forwardRef((function(e,t){var n;const r=_d(e,wY),[,o]=U.useState(!1),a=jG(),i=$G(),s=(e=>{const{classes:t}=e;return eb({root:["checkboxInput"]},BG,t)})({classes:i.classes}),l=XG(a,Sq),u=XG(a,cY),c=XG(a,PW),d=XG(a,yY),p=U.useMemo((()=>"function"!=typeof i.isRowSelectable?u:u.filter((e=>!!a.current.getRow(e)&&i.isRowSelectable(a.current.getRowParams(e))))),[a,i.isRowSelectable,u]),f=U.useMemo((()=>(i.pagination&&i.checkboxSelectionVisibleOnly?d:c).reduce(((e,t)=>(e[t]=!0,e)),{})),[i.pagination,i.checkboxSelectionVisibleOnly,d,c]),m=U.useMemo((()=>p.filter((e=>f[e])).length),[p,f]),h=m>0&&m0,b=null!==l&&l.field===e.field?0:-1;U.useLayoutEffect((()=>{const t=a.current.getColumnHeaderElement(e.field);0===b&&t&&(t.tabIndex=-1)}),[b,a,e.field]);const v=U.useCallback((t=>{" "===t.key&&a.current.publishEvent("headerSelectionCheckboxChange",{value:!g}),vK(t.key)&&!t.shiftKey&&a.current.publishEvent("columnHeaderNavigationKeyDown",e,t)}),[a,e,g]),y=U.useCallback((()=>{o((e=>!e))}),[]);U.useEffect((()=>a.current.subscribeEvent("selectionChange",y)),[a,y]);const w=a.current.getLocaleText(g?"checkboxSelectionUnselectAllRows":"checkboxSelectionSelectAllRows");return ee.jsx(i.components.BaseCheckbox,Id({ref:t,indeterminate:h,checked:g,onChange:e=>{const t={value:e.target.checked};a.current.publishEvent("headerSelectionCheckboxChange",t)},className:s.root,inputProps:{"aria-label":w},tabIndex:b,onKeyDown:v},null==(n=i.componentsProps)?void 0:n.baseCheckbox,r))})),xY=e=>{const{onClick:t}=e,n=jG(),r=$G(),o=U.useCallback((e=>{t(e),n.current.showPreferences(iY.columns)}),[n,t]);return r.disableColumnSelector?null:ee.jsx(xA,{onClick:o,children:n.current.getLocaleText("columnMenuShowColumns")})},EY=e=>{const{column:t,onClick:n}=e,r=jG(),o=$G(),a=U.useCallback((e=>{n(e),r.current.showFilterPanel(null==t?void 0:t.field)}),[r,null==t?void 0:t.field,n]);return o.disableColumnFilter||null==t||!t.filterable?null:ee.jsx(xA,{onClick:a,children:r.current.getLocaleText("columnMenuFilter")})},CY=["hideMenu","currentColumn","open","id","labelledby","className","children"],kY=U.forwardRef((function(e,t){const{hideMenu:n,open:r,id:o,labelledby:a,className:i,children:s}=e,l=_d(e,CY),u=U.useCallback((e=>{var t;dK(e.key)&&e.preventDefault(),t=e.key,(dK(t)||uK(t))&&n(e)}),[n]);return ee.jsx(X_,Id({id:o,ref:t,className:rq(zG.menuList,i),"aria-labelledby":a,onKeyDown:u,autoFocus:r},l,{children:s}))})),RY=KG(["MUI: The `sortModel` can only contain a single item when the `disableMultipleColumnsSorting` prop is set to `true`.","If you are using the community version of the `DataGrid`, this prop is always `true`."],"error"),TY=(e,t)=>t&&e.length>1?(RY(),[e[0]]):e,IY=(e,t)=>n=>Id({},n,{sorting:Id({},n.sorting,{sortModel:TY(e,t)})}),_Y=(e,t)=>{const n=e.indexOf(t);return t&&-1!==n&&n+1!==e.length?e[n+1]:e[0]},AY=(e,t)=>null==e&&null!=t?-1:null==t&&null!=e?1:null==e&&null==t?0:null,OY=new Intl.Collator,NY=(e,t)=>{const n=AY(e,t);return null!==n?n:Number(e)-Number(t)},PY=(e,t)=>{const n=AY(e,t);return null!==n?n:e>t?1:eMath.max(t,Math.min(n,e));function jY(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)){const n=e.length;if(n!==t.length)return!1;for(let r=0;r{let t=e+=1831565813;return t=Math.imul(t^t>>>15,1|t),t^=t+Math.imul(t^t>>>7,61|t),((t^t>>>14)>>>0)/4294967296}}(e);return()=>t+(n-t)*r()}function $Y(e){return"function"==typeof structuredClone?structuredClone(e):JSON.parse(JSON.stringify(e))}const BY=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"];function zY(e){const{item:t,applyValue:n,type:r,apiRef:o,focusElementRef:a,color:i,error:s,helperText:l,size:u,variant:c}=e,d=_d(e,BY),p={color:i,error:s,helperText:l,size:u,variant:c},[f,m]=U.useState(t.value||[]),h=Og(),g=$G();U.useEffect((()=>{var e;const n=null!=(e=t.value)?e:[];m(n.map(String))}),[t.value]);const b=U.useCallback(((e,r)=>{m(r.map(String)),n(Id({},t,{value:[...r]}))}),[n,t]);return ee.jsx(PC,Id({multiple:!0,freeSolo:!0,options:[],filterOptions:(e,t)=>{const{inputValue:n}=t;return null==n||""===n?[]:[n]},id:h,value:f,onChange:b,renderTags:(e,t)=>e.map(((e,n)=>ee.jsx(VE,Id({variant:"outlined",size:"small",label:e},t({index:n}))))),renderInput:e=>{var t;return ee.jsx(g.components.BaseTextField,Id({},e,{label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:Id({},e.InputLabelProps,{shrink:!0}),inputRef:a,type:r||"text"},p,null==(t=g.componentsProps)?void 0:t.baseTextField))}},d))}const UY={width:100,minWidth:50,maxWidth:1/0,hide:!1,hideable:!0,sortable:!0,resizable:!0,filterable:!0,groupable:!0,pinnable:!0,aggregable:!0,editable:!1,sortComparator:(e,t)=>{const n=AY(e,t);return null!==n?n:"string"==typeof e?OY.compare(e.toString(),t.toString()):e-t},type:"string",align:"left",filterOperators:((e=!1)=>[{value:"contains",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(MY(n),"i");return({value:e})=>null!=e&&r.test(e.toString())},InputComponent:aK},{value:"equals",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return({value:e})=>null!=e&&0===r.compare(n,e.toString())},InputComponent:aK},{value:"startsWith",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(`^${MY(n)}.*$`,"i");return({value:e})=>null!=e&&r.test(e.toString())},InputComponent:aK},{value:"endsWith",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(`.*${MY(n)}$`,"i");return({value:e})=>null!=e&&r.test(e.toString())},InputComponent:aK},{value:"isEmpty",getApplyFilterFn:()=>({value:e})=>""===e||null==e,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>({value:e})=>""!==e&&null!=e,requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:t=>{if(!Array.isArray(t.value)||0===t.value.length)return null;const n=e?t.value:t.value.map((e=>e.trim())),r=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return({value:e})=>null!=e&&n.some((t=>0===r.compare(t,e.toString()||"")))},InputComponent:zY}])(),renderEditCell:e=>ee.jsx(lK,Id({},e)),getApplyQuickFilterFn:e=>{if(!e)return null;const t=new RegExp(MY(e),"i");return({value:e})=>null!=e&&t.test(e.toString())}},HY="actions",VY=Id({},UY,{sortable:!1,filterable:!1,aggregable:!1,width:100,align:"center",headerAlign:"center",headerName:"",disableColumnMenu:!0,disableExport:!0,renderCell:e=>ee.jsx(TK,Id({},e)),getApplyQuickFilterFn:void 0}),GY=["item","applyValue","apiRef","focusElementRef"];function WY(e){var t,n,r,o;const{item:a,applyValue:i,apiRef:s,focusElementRef:l}=e,u=_d(e,GY),[c,d]=U.useState(a.value||""),p=$G(),f=null==(n=((null==(t=p.componentsProps)?void 0:t.baseSelect)||{}).native)||n,m=f?"option":xA,h=U.useCallback((e=>{const t=e.target.value;d(t),i(Id({},a,{value:t}))}),[i,a]);return U.useEffect((()=>{d(a.value||"")}),[a.value]),ee.jsxs(p.components.BaseTextField,Id({label:s.current.getLocaleText("filterPanelInputLabel"),value:c,onChange:h,select:!0,variant:"standard",SelectProps:Id({native:f,displayEmpty:!0},null==(r=p.componentsProps)?void 0:r.baseSelect),InputLabelProps:{shrink:!0},inputRef:l},u,null==(o=p.componentsProps)?void 0:o.baseTextField,{children:[ee.jsx(m,{value:"",children:s.current.getLocaleText("filterValueAny")}),ee.jsx(m,{value:"true",children:s.current.getLocaleText("filterValueTrue")}),ee.jsx(m,{value:"false",children:s.current.getLocaleText("filterValueFalse")})]}))}const qY=Id({},UY,{type:"boolean",align:"center",headerAlign:"center",renderCell:e=>e.rowNode.isAutoGenerated?"":ee.jsx(Rq,Id({},e)),renderEditCell:e=>ee.jsx(Iq,Id({},e)),sortComparator:NY,valueFormatter:function({value:e,api:t}){return e?t.getLocaleText("booleanCellTrueLabel"):t.getLocaleText("booleanCellFalseLabel")},filterOperators:[{value:"is",getApplyFilterFn:e=>{if(!e.value)return null;const t="true"===e.value;return({value:e})=>Boolean(e)===t},InputComponent:WY}],getApplyQuickFilterFn:void 0,aggregable:!1}),KY="__check__",YY=Id({},qY,{field:KY,type:"checkboxSelection",width:50,resizable:!1,sortable:!1,filterable:!1,aggregable:!1,disableColumnMenu:!0,disableReorder:!0,disableExport:!0,getApplyQuickFilterFn:void 0,valueGetter:e=>void 0!==fY(e.api.state,e.api.instanceId)[e.id],renderHeader:e=>ee.jsx(SY,Id({},e)),renderCell:e=>ee.jsx(uY,Id({},e))}),XY=["item","applyValue","type","apiRef","focusElementRef","InputProps"];function ZY(e){var t,n;const{item:r,applyValue:o,type:a,apiRef:i,focusElementRef:s,InputProps:l}=e,u=_d(e,XY),c=U.useRef(),[d,p]=U.useState(null!=(t=r.value)?t:""),[f,m]=U.useState(!1),h=Og(),g=$G(),b=U.useCallback((e=>{const t=e.target.value;clearTimeout(c.current),p(String(t)),m(!0),c.current=setTimeout((()=>{o(Id({},r,{value:t})),m(!1)}),500)}),[o,r]);return U.useEffect((()=>()=>{clearTimeout(c.current)}),[]),U.useEffect((()=>{var e;const t=null!=(e=r.value)?e:"";p(String(t))}),[r.value]),ee.jsx(g.components.BaseTextField,Id({id:h,label:i.current.getLocaleText("filterPanelInputLabel"),placeholder:i.current.getLocaleText("filterPanelInputPlaceholder"),value:d,onChange:b,variant:"standard",type:a||"text",InputLabelProps:{shrink:!0},inputRef:s,InputProps:Id({},f?{endAdornment:ee.jsx(Yq,{})}:{},l,{inputProps:Id({max:"datetime-local"===a?"9999-12-31T23:59":"9999-12-31"},null==l?void 0:l.inputProps)})},u,null==(n=g.componentsProps)?void 0:n.baseTextField))}const QY=/(\d+)-(\d+)-(\d+)/,JY=/(\d+)-(\d+)-(\d+)T(\d+):(\d+)/;function eX(e,t,n,r){if(!e.value)return null;const[o,a,i,s,l]=e.value.match(n?JY:QY).slice(1).map(Number),u=new Date(o,a-1,i,s||0,l||0).getTime();return({value:e})=>{if(!e)return!1;const o=e instanceof Date?e:new Date(e.toString());if(r)return t(o.getTime(),u);const a=(e instanceof Date?new Date(o):o).setHours(n?o.getHours():0,n?o.getMinutes():0,0,0);return t(a,u)}}const tX=e=>[{value:"is",getApplyFilterFn:t=>eX(t,((e,t)=>e===t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"not",getApplyFilterFn:t=>eX(t,((e,t)=>e!==t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"after",getApplyFilterFn:t=>eX(t,((e,t)=>e>t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"onOrAfter",getApplyFilterFn:t=>eX(t,((e,t)=>e>=t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"before",getApplyFilterFn:t=>eX(t,((e,t)=>eeX(t,((e,t)=>e<=t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"isEmpty",getApplyFilterFn:()=>({value:e})=>null==e,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>({value:e})=>null!=e,requiresFilterValue:!1}];const nX=Id({},UY,{type:"date",sortComparator:PY,valueFormatter:function({value:e}){return e instanceof Date?e.toLocaleDateString():null!=e?e:""},filterOperators:tX(),renderEditCell:Nq,getApplyQuickFilterFn:void 0}),rX=Id({},UY,{type:"dateTime",sortComparator:PY,valueFormatter:function({value:e}){return e instanceof Date?e.toLocaleString():null!=e?e:""},filterOperators:tX(!0),renderEditCell:Nq,getApplyQuickFilterFn:void 0}),oX=e=>null==e?null:Number(e),aX=Id({},UY,{type:"number",align:"right",headerAlign:"right",sortComparator:NY,valueParser:e=>""===e?null:Number(e),valueFormatter:({value:e})=>function(e){return"number"==typeof e}(e)?e.toLocaleString():e||"",filterOperators:[{label:"=",value:"=",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>oX(t)===e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:"!=",value:"!=",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>oX(t)!==e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:">",value:">",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)>e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:">=",value:">=",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)>=e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:"<",value:"<",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)<=e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{value:"isEmpty",getApplyFilterFn:()=>({value:e})=>null==e,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>({value:e})=>null!=e,requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:e=>Array.isArray(e.value)&&0!==e.value.length?({value:t})=>null!=t&&e.value.includes(Number(t)):null,InputComponent:zY,InputComponentProps:{type:"number"}}],getApplyQuickFilterFn:e=>null==e||Number.isNaN(e)||""===e?null:({value:t})=>oX(t)===oX(e)}),iX=["item","applyValue","type","apiRef","focusElementRef"],sX=({valueOptions:e,valueFormatter:t,field:n},r,o)=>("function"==typeof e?["",...e({field:n})]:["",...e||[]]).map((e=>{const a="object"==typeof e,i=a?e.value:e,s=a?e.value:e,l=t&&""!==e?t({value:e,field:n,api:r}):e,u=a?e.label:l;return ee.jsx(o,{value:s,children:u},i)}));function lX(e){var t,n,r,o,a;const{item:i,applyValue:s,type:l,apiRef:u,focusElementRef:c}=e,d=_d(e,iX),[p,f]=U.useState(null!=(t=i.value)?t:""),m=Og(),h=$G(),g=null==(r=((null==(n=h.componentsProps)?void 0:n.baseSelect)||{}).native)||r,b=i.columnField?u.current.getColumn(i.columnField):null,v=U.useMemo((()=>{if(null!==b)return"function"==typeof b.valueOptions?b.valueOptions({field:b.field}):b.valueOptions}),[b]),y=U.useCallback((e=>{let t=e.target.value;t=tK(t,v),f(String(t)),s(Id({},i,{value:t}))}),[s,i,v]);return U.useEffect((()=>{var e;let t;if(void 0!==v){if(t=tK(i.value,v),t!==i.value)return void s(Id({},i,{value:t}))}else t=i.value;t=null!=(e=t)?e:"",f(String(t))}),[i,v,s]),ee.jsx(h.components.BaseTextField,Id({id:m,label:u.current.getLocaleText("filterPanelInputLabel"),placeholder:u.current.getLocaleText("filterPanelInputPlaceholder"),value:p,onChange:y,variant:"standard",type:l||"text",InputLabelProps:{shrink:!0},inputRef:c,select:!0,SelectProps:Id({native:g},null==(o=h.componentsProps)?void 0:o.baseSelect)},d,null==(a=h.componentsProps)?void 0:a.baseTextField,{children:sX(u.current.getColumn(i.columnField),u.current,g?"option":xA)}))}const uX=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"],cX=(e,t)=>eK(e)===eK(t),dX=vE();function pX(e){const{item:t,applyValue:n,apiRef:r,focusElementRef:o,color:a,error:i,helperText:s,size:l,variant:u="standard"}=e,c=_d(e,uX),d={color:a,error:i,helperText:s,size:l,variant:u},p=Og(),f=$G(),m=t.columnField?r.current.getColumn(t.columnField):null,h=U.useMemo((()=>null!=m&&m.valueOptions?"function"==typeof m.valueOptions?m.valueOptions({field:m.field}):m.valueOptions:[]),[m]),g=U.useMemo((()=>null==h?void 0:h.map(eK)),[h]),{valueFormatter:b,field:v}=r.current.getColumn(t.columnField),y=e=>"object"==typeof e?e.label:b&&""!==e?b({value:e,field:v,api:r.current}):e,w=U.useMemo((()=>{if(!Array.isArray(t.value))return[];if(void 0!==h){return t.value.map((e=>{const t=eK(e);return(null==g?void 0:g.findIndex((e=>e===t)))||0})).filter((e=>e>=0)).map((e=>h[e]))}return t.value}),[t.value,h,g]);U.useEffect((()=>{Array.isArray(t.value)&&w.length===t.value.length||n(Id({},t,{value:w.map(eK)}))}),[t,w,n]);const S=U.useCallback(((e,r)=>{n(Id({},t,{value:[...r.map(eK)]}))}),[n,t]);return ee.jsx(PC,Id({multiple:!0,options:h,isOptionEqualToValue:cX,filterOptions:dX,id:p,value:w,onChange:S,renderTags:(e,t)=>e.map(((e,n)=>ee.jsx(VE,Id({variant:"outlined",size:"small",label:y(e)},t({index:n}))))),renderInput:e=>{var t;return ee.jsx(f.components.BaseTextField,Id({},e,{label:r.current.getLocaleText("filterPanelInputLabel"),placeholder:r.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:Id({},e.InputLabelProps,{shrink:!0}),inputRef:o,type:"singleSelect"},d,null==(t=f.componentsProps)?void 0:t.baseTextField))}},c))}const fX=e=>null==e||"object"!=typeof e?e:e.value,mX=Id({},UY,{type:"singleSelect",renderEditCell:e=>ee.jsx(SK,Id({},e)),filterOperators:[{value:"is",getApplyFilterFn:e=>null==e.value||""===e.value?null:({value:t})=>fX(t)===fX(e.value),InputComponent:lX},{value:"not",getApplyFilterFn:e=>null==e.value||""===e.value?null:({value:t})=>fX(t)!==fX(e.value),InputComponent:lX},{value:"isAnyOf",getApplyFilterFn:e=>{if(!Array.isArray(e.value)||0===e.value.length)return null;const t=e.value.map(fX);return({value:e})=>t.includes(fX(e))},InputComponent:pX}],getApplyQuickFilterFn:(e,t,n)=>{if(!e)return null;const{valueOptions:r,valueFormatter:o,field:a}=t,i=[fX(e).toString()],s="function"==typeof r?r({field:a}):r||[];return s&&s.forEach((t=>{let r,s;"object"==typeof t?(r=t.value,s=t.label):(r=t,s=o?o({value:t,field:a,api:n.current}):t),s.slice(0,e.length).toLowerCase()===e.toLowerCase()&&(i.includes(r)||i.push(r.toString()))})),({value:e})=>null!=e&&i.includes(fX(e).toString())}}),hX="__default__",gX=["maxWidth","minWidth","width","flex"],bX=(e={})=>{const t=Id({},{string:UY,number:aX,date:nX,dateTime:rX,boolean:qY,singleSelect:mX,[HY]:VY,[hX]:UY});return Object.entries(e).forEach((([e,n])=>{t[e]?t[e]=Id({},t[e],n):t[e]=Id({},t[n.extendType||hX],n)})),t};const vX=(e,t)=>{const n={};let r=0,o=0;const a=[];e.all.forEach((t=>{const i=Id({},e.lookup[t]);if(!1===e.columnVisibilityModel[t])i.computedWidth=0;else{let e;i.flex&&i.flex>0?(r+=i.flex,e=0,a.push(i)):e=DY(i.width,i.minWidth,i.maxWidth),o+=e,i.computedWidth=e}n[t]=i}));const i=Math.max(t-o,0);if(r>0&&t>0){const e=function({initialFreeSpace:e,totalFlexUnits:t,flexColumns:n}){const r={all:{},frozenFields:[],freeze:e=>{const t=r.all[e];t&&!0!==t.frozen&&(r.all[e].frozen=!0,r.frozenFields.push(e))}};return function o(){if(r.frozenFields.length===n.length)return;const a={min:{},max:{}};let i=e,s=t,l=0;r.frozenFields.forEach((e=>{i-=r.all[e].computedWidth,s-=r.all[e].flex}));for(let e=0;et.maxWidth&&(l+=t.maxWidth-o,o=t.maxWidth,a.max[t.field]=!0),r.all[t.field]={frozen:!1,computedWidth:o,flex:t.flex}}l<0?Object.keys(a.max).forEach((e=>{r.freeze(e)})):l>0?Object.keys(a.min).forEach((e=>{r.freeze(e)})):n.forEach((({field:e})=>{r.freeze(e)})),o()}(),r.all}({initialFreeSpace:i,totalFlexUnits:r,flexColumns:a});Object.keys(e).forEach((t=>{n[t].computedWidth=e[t].computedWidth}))}return Id({},e,{lookup:n})},yX=({apiRef:e,columnsToUpsert:t,initialState:n,columnTypes:r,currentColumnVisibilityModel:o=SW(e),shouldRegenColumnVisibilityModelFromColumns:a,keepOnlyColumnsToUpsert:i=!1})=>{var s,l,u,c;const d=!e.current.state.columns;let p;if(d)p={all:[],lookup:{}};else{const t=bW(e.current.state);p={all:i?[]:[...t.all],lookup:Id({},t.lookup)}}let f={};i&&!d&&(f=Object.keys(p.lookup).reduce(((e,t)=>Id({},e,{[t]:!1})),{}));const m={};t.forEach((e=>{const{field:t}=e;m[t]=!0,f[t]=!0;let n=p.lookup[t];null==n?(n=Id({},((e,t)=>t&&e[t]?e[t]:e[hX])(r,e.type),{field:t,hasBeenResized:!1}),p.all.push(t)):i&&p.all.push(t);let o=n.hasBeenResized;gX.forEach((t=>{void 0!==e[t]&&(o=!0,-1===e[t]&&(e[t]=1/0))})),p.lookup[t]=Id({},n,{hide:null!=e.hide&&e.hide},e,{hasBeenResized:o})})),i&&!d&&Object.keys(p.lookup).forEach((e=>{f[e]||delete p.lookup[e]}));const h=Id({},p.lookup),g=e.current.unstable_applyPipeProcessors("hydrateColumns",p);let b={};if(a){let t=!1;const n=Id({},o);d?g.all.forEach((e=>{n[e]=!p.lookup[e].hide})):i&&Object.keys(n).forEach((e=>{g.lookup[e]||(delete n[e],t=!0)})),g.all.forEach((r=>{if(!m[r]&&h[r]===g.lookup[r])return;let a=o[r];if(void 0===a)if(d)a=!0;else{a=!!bW(e.current.state).lookup[r]}const i=!g.lookup[r].hide;i!==a&&(t=!0,n[r]=i)})),b=t||d?n:o}else b=o;const v=((e,t)=>{if(!t)return e;const{orderedFields:n=[],dimensions:r={}}=t,o=Object.keys(r);if(0===o.length&&0===n.length)return e;const a={},i=[];for(let u=0;u!a[e]))],l=Id({},e.lookup);for(let u=0;u{t[e]=-1===n?1/0:n})),l[e]=t}return{all:s,lookup:l}})(g,n),y=Id({},v,{columnVisibilityModel:b});return vX(y,null!=(s=null==(l=(u=e.current).getRootDimensions)||null==(c=l.call(u))?void 0:c.viewportInnerSize.width)?s:0)},wX=e=>t=>Id({},t,{columns:e});function SX({firstColumnToRender:e,apiRef:t,firstRowToRender:n,lastRowToRender:r,visibleRows:o}){let a=e;for(let i=n;i{const{column:t,onClick:n}=e,r=jG(),o=$G(),a=U.useRef(),i=1===xW(r).filter((e=>!0!==e.disableColumnMenu)).length,s=U.useCallback((e=>{i||(n(e),a.current=setTimeout((()=>{r.current.setColumnVisibility(null==t?void 0:t.field,!1)}),100))}),[r,null==t?void 0:t.field,n,i]);return U.useEffect((()=>()=>clearTimeout(a.current)),[]),o.disableColumnSelector||!1===t.hideable?null:ee.jsx(xA,{onClick:s,disabled:i,children:r.current.getLocaleText("columnMenuHideColumn")})};function CX(e){var t;const{column:n,onClick:r}=e,o=jG(),a=XG(o,hW),i=$G(),s=null!=(t=n.sortingOrder)?t:i.sortingOrder,l=U.useMemo((()=>{if(!n)return null;const e=a.find((e=>e.field===n.field));return null==e?void 0:e.sort}),[n,a]),u=U.useCallback((e=>{r(e);const t=e.currentTarget.getAttribute("data-value")||null;o.current.sortColumn(n,t)}),[o,n,r]);return n&&n.sortable?ee.jsxs(U.Fragment,{children:[s.includes(null)?ee.jsx(xA,{onClick:u,disabled:null==l,children:o.current.getLocaleText("columnMenuUnsort")}):null,s.includes("asc")?ee.jsx(xA,{onClick:u,"data-value":"asc",disabled:"asc"===l,children:o.current.getLocaleText("columnMenuSortAsc")}):null,s.includes("desc")?ee.jsx(xA,{onClick:u,"data-value":"desc",disabled:"desc"===l,children:o.current.getLocaleText("columnMenuSortDesc")}):null]}):null}const kX=U.forwardRef((function(e,t){const{hideMenu:n,currentColumn:r}=e,o=jG(),a=[ee.jsx(CX,{onClick:n,column:r}),ee.jsx(EY,{onClick:n,column:r}),ee.jsx(EX,{onClick:n,column:r}),ee.jsx(xY,{onClick:n,column:r})],i=o.current.unstable_applyPipeProcessors("columnMenu",a,r);return ee.jsx(kY,Id({ref:t},e,{children:i.map(((e,t)=>U.cloneElement(e,{key:t,onClick:n,column:r})))}))})),RX=["className"],TX=e=>{const{classes:t}=e;return eb({root:["panelContent"]},BG,t)},IX=Wv("div",{name:"MuiDataGrid",slot:"PanelContent",overridesResolver:(e,t)=>t.panelContent})({display:"flex",flexDirection:"column",overflow:"auto",flex:"1 1",maxHeight:400});function _X(e){const{className:t}=e,n=_d(e,RX),r=$G(),o=TX(r);return ee.jsx(IX,Id({className:rq(t,o.root),ownerState:r},n))}const AX=["className"],OX=e=>{const{classes:t}=e;return eb({root:["panelFooter"]},BG,t)},NX=Wv("div",{name:"MuiDataGrid",slot:"PanelFooter",overridesResolver:(e,t)=>t.panelFooter})((({theme:e})=>({padding:e.spacing(.5),display:"flex",justifyContent:"space-between"})));function PX(e){const{className:t}=e,n=_d(e,AX),r=$G(),o=OX(r);return ee.jsx(NX,Id({className:rq(t,o.root),ownerState:r},n))}const LX=["className"],MX=e=>{const{classes:t}=e;return eb({root:["panelHeader"]},BG,t)},DX=Wv("div",{name:"MuiDataGrid",slot:"PanelHeader",overridesResolver:(e,t)=>t.panelHeader})((({theme:e})=>({padding:e.spacing(1)})));function jX(e){const{className:t}=e,n=_d(e,LX),r=$G(),o=MX(r);return ee.jsx(DX,Id({className:rq(t,o.root),ownerState:r},n))}const FX=["className","slotProps"],$X=Wv("div",{name:"MuiDataGrid",slot:"PanelWrapper",overridesResolver:(e,t)=>t.panelWrapper})({display:"flex",flexDirection:"column",flex:1,"&:focus":{outline:0}}),BX=()=>!0,zX=U.forwardRef((function(e,t){const{className:n,slotProps:r={}}=e,o=_d(e,FX),a=$G(),i=(e=>{const{classes:t}=e;return eb({root:["panelWrapper"]},BG,t)})(a);return ee.jsx(IS,Id({open:!0,disableEnforceFocus:!0,isEnabled:BX},r.TrapFocus,{children:ee.jsx($X,Id({ref:t,tabIndex:-1,className:rq(n,i.root),ownerState:a},o))}))})),UX=["sort","searchPredicate","autoFocusSearchField"],HX=Wv("div",{name:"MuiDataGrid",slot:"ColumnsPanel",overridesResolver:(e,t)=>t.columnsPanel})({padding:"8px 0px 8px 8px"}),VX=Wv("div",{name:"MuiDataGrid",slot:"ColumnsPanelRow",overridesResolver:(e,t)=>t.columnsPanelRow})((({theme:e})=>({display:"flex",justifyContent:"space-between",padding:"1px 8px 1px 7px",[`& .${eP.root}`]:{marginRight:e.spacing(.5)}}))),GX=(Wv(Uw)({justifyContent:"flex-end"}),new Intl.Collator),WX=(e,t)=>(e.headerName||e.field).toLowerCase().indexOf(t)>-1;const qX=["children","className","classes"],KX=kh("MuiDataGrid",["panel","paper"]),YX=Wv(AE,{name:"MuiDataGrid",slot:"Panel",overridesResolver:(e,t)=>t.panel})((({theme:e})=>({zIndex:e.zIndex.modal}))),XX=Wv(Ly,{name:"MuiDataGrid",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>({backgroundColor:e.palette.background.paper,minWidth:300,maxHeight:450,display:"flex"}))),ZX=U.forwardRef(((e,t)=>{var n;const{children:r,className:o}=e,a=_d(e,qX),i=jG(),s=$G(),l=KX,[u,c]=U.useState(!1),d=U.useCallback((()=>{i.current.hidePreferences()}),[i]),p=U.useCallback((e=>{uK(e.key)&&i.current.hidePreferences()}),[i]),f=U.useMemo((()=>[{name:"flip",enabled:!1},{name:"isPlaced",enabled:!0,phase:"main",fn:()=>{c(!0)},effect:()=>()=>{c(!1)}}]),[]),m=null==(n=i.current.columnHeadersContainerElementRef)?void 0:n.current;return m?ee.jsx(YX,Id({ref:t,placement:"bottom-start",className:rq(o,l.panel),ownerState:s,anchorEl:m,modifiers:f},a,{children:ee.jsx(CS,{mouseEvent:"onMouseUp",onClickAway:d,children:ee.jsx(XX,{className:l.paper,ownerState:s,elevation:8,onKeyDown:p,children:u&&r})})})):null})),QX=U.forwardRef((function(e,t){var n,r,o;const a=jG(),i=XG(a,wW),s=$G(),l=XG(a,aY),u=a.current.unstable_applyPipeProcessors("preferencePanel",null,null!=(n=l.openedPanelValue)?n:iY.filters);return ee.jsx(s.components.Panel,Id({ref:t,as:s.components.BasePopper,open:i.length>0&&l.open},null==(r=s.componentsProps)?void 0:r.panel,e,null==(o=s.componentsProps)?void 0:o.basePopper,{children:u}))})),JX=["item","hasMultipleFilters","deleteFilter","applyFilterChanges","multiFilterOperator","showMultiFilterOperators","disableMultiFilterOperator","applyMultiFilterOperatorChanges","focusElementRef","linkOperators","columnsSort","deleteIconProps","linkOperatorInputProps","operatorInputProps","columnInputProps","valueInputProps","children"],eZ=["InputComponentProps"],tZ=Wv("div",{name:"MuiDataGrid",slot:"FilterForm",overridesResolver:(e,t)=>t.filterForm})((({theme:e})=>({display:"flex",padding:e.spacing(1)}))),nZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormDeleteIcon",overridesResolver:(e,t)=>t.filterFormDeleteIcon})((({theme:e})=>({flexShrink:0,justifyContent:"flex-end",marginRight:e.spacing(.5),marginBottom:e.spacing(.2)}))),rZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormLinkOperatorInput",overridesResolver:(e,t)=>t.filterFormLinkOperatorInput})({minWidth:55,marginRight:5,justifyContent:"end"}),oZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormColumnInput",overridesResolver:(e,t)=>t.filterFormColumnInput})({width:150}),aZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormOperatorInput",overridesResolver:(e,t)=>t.filterFormOperatorInput})({width:120}),iZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormValueInput",overridesResolver:(e,t)=>t.filterFormValueInput})({width:190}),sZ=e=>{switch(e){case uq.And:return"filterPanelOperatorAnd";case uq.Or:return"filterPanelOperatorOr";default:throw new Error("MUI: Invalid `linkOperator` property in the `GridFilterPanel`.")}},lZ=e=>e.headerName||e.field,uZ=new Intl.Collator,cZ=U.forwardRef((function(e,t){var n,r,o,a,i,s,l;const{item:u,hasMultipleFilters:c,deleteFilter:d,applyFilterChanges:p,multiFilterOperator:f,showMultiFilterOperators:m,disableMultiFilterOperator:h,applyMultiFilterOperatorChanges:g,focusElementRef:b,linkOperators:v=[uq.And,uq.Or],columnsSort:y,deleteIconProps:w={},linkOperatorInputProps:S={},operatorInputProps:x={},columnInputProps:E={},valueInputProps:C={}}=e,k=_d(e,JX),R=jG(),T=XG(R,kW),I=Og(),_=Og(),A=Og(),O=Og(),N=$G(),P=(e=>{const{classes:t}=e;return eb({root:["filterForm"],deleteIcon:["filterFormDeleteIcon"],linkOperatorInput:["filterFormLinkOperatorInput"],columnInput:["filterFormColumnInput"],operatorInput:["filterFormOperatorInput"],valueInput:["filterFormValueInput"]},BG,t)})(N),L=U.useRef(null),M=U.useRef(null),D=c&&v.length>0,j=(null==(n=N.componentsProps)?void 0:n.baseFormControl)||{},F=null==(o=((null==(r=N.componentsProps)?void 0:r.baseSelect)||{}).native)||o,$=F?"option":xA,{InputComponentProps:B}=C,z=_d(C,eZ),H=U.useMemo((()=>{switch(y){case"asc":return T.sort(((e,t)=>uZ.compare(lZ(e),lZ(t))));case"desc":return T.sort(((e,t)=>-uZ.compare(lZ(e),lZ(t))));default:return T}}),[T,y]),V=u.columnField?R.current.getColumn(u.columnField):null,G=U.useMemo((()=>{var e;return u.operatorValue&&V?null==(e=V.filterOperators)?void 0:e.find((e=>e.value===u.operatorValue)):null}),[u,V]),W=U.useCallback((e=>{const t=e.target.value,n=R.current.getColumn(t);if(n.field===V.field)return;const r=n.filterOperators.find((e=>e.value===u.operatorValue))||n.filterOperators[0],o=!r.InputComponent||r.InputComponent!==(null==G?void 0:G.InputComponent);p(Id({},u,{columnField:t,operatorValue:r.value,value:o?void 0:u.value}))}),[R,p,u,V,G]),q=U.useCallback((e=>{const t=e.target.value,n=null==V?void 0:V.filterOperators.find((e=>e.value===t)),r=!(null!=n&&n.InputComponent)||(null==n?void 0:n.InputComponent)!==(null==G?void 0:G.InputComponent);p(Id({},u,{operatorValue:t,value:r?void 0:u.value}))}),[p,u,V,G]),K=U.useCallback((e=>{const t=e.target.value===uq.And.toString()?uq.And:uq.Or;g(t)}),[g]);return U.useImperativeHandle(b,(()=>({focus:()=>{var e;null!=G&&G.InputComponent?null==L||null==(e=L.current)||e.focus():M.current.focus()}})),[G]),ee.jsxs(tZ,Id({ref:t,className:P.root,ownerState:N},k,{children:[ee.jsx(nZ,Id({variant:"standard",as:N.components.BaseFormControl},j,w,{className:rq(P.deleteIcon,j.className,w.className),ownerState:N,children:ee.jsx(Uw,{"aria-label":R.current.getLocaleText("filterPanelDeleteIconLabel"),title:R.current.getLocaleText("filterPanelDeleteIconLabel"),onClick:()=>{N.disableMultipleColumnsFiltering?void 0===u.value?d(u):p(Id({},u,{value:void 0})):d(u)},size:"small",children:ee.jsx(N.components.FilterPanelDeleteIcon,{fontSize:"small"})})})),ee.jsx(rZ,Id({variant:"standard",as:N.components.BaseFormControl},j,S,{sx:Id({display:D?"flex":"none",visibility:m?"visible":"hidden"},j.sx||{},S.sx||{}),className:rq(P.linkOperatorInput,j.className,S.className),ownerState:N,children:ee.jsx(N.components.BaseSelect,Id({inputProps:{"aria-label":R.current.getLocaleText("filterPanelLinkOperator")},value:f,onChange:K,disabled:!!h||1===v.length,native:F},null==(a=N.componentsProps)?void 0:a.baseSelect,{children:v.map((e=>ee.jsx($,{value:e.toString(),children:R.current.getLocaleText(sZ(e))},e.toString())))}))})),ee.jsxs(oZ,Id({variant:"standard",as:N.components.BaseFormControl},j,E,{className:rq(P.columnInput,j.className,E.className),ownerState:N,children:[ee.jsx(MI,{htmlFor:I,id:_,children:R.current.getLocaleText("filterPanelColumns")}),ee.jsx(N.components.BaseSelect,Id({labelId:_,id:I,label:R.current.getLocaleText("filterPanelColumns"),value:u.columnField||"",onChange:W,native:F},null==(i=N.componentsProps)?void 0:i.baseSelect,{children:H.map((e=>ee.jsx($,{value:e.field,children:lZ(e)},e.field)))}))]})),ee.jsxs(aZ,Id({variant:"standard",as:N.components.BaseFormControl},j,x,{className:rq(P.operatorInput,j.className,x.className),ownerState:N,children:[ee.jsx(MI,{htmlFor:A,id:O,children:R.current.getLocaleText("filterPanelOperators")}),ee.jsx(N.components.BaseSelect,Id({labelId:O,label:R.current.getLocaleText("filterPanelOperators"),id:A,value:u.operatorValue,onChange:q,native:F,inputRef:M},null==(s=N.componentsProps)?void 0:s.baseSelect,{children:null==V||null==(l=V.filterOperators)?void 0:l.map((e=>ee.jsx($,{value:e.value,children:e.label||R.current.getLocaleText(`filterOperator${cm(e.value)}`)},e.value)))}))]})),ee.jsx(iZ,Id({variant:"standard",as:N.components.BaseFormControl},j,z,{className:rq(P.valueInput,j.className,z.className),ownerState:N,children:null!=G&&G.InputComponent?ee.jsx(G.InputComponent,Id({apiRef:R,item:u,applyValue:p,focusElementRef:L},G.InputComponentProps,B)):null}))]}))})),dZ=["linkOperators","columnsSort","filterFormProps","children"],pZ=U.forwardRef((function(e,t){var n;const r=jG(),o=$G(),a=XG(r,_W),i=XG(r,kW),s=U.useRef(null),{linkOperators:l=[uq.And,uq.Or],columnsSort:u,filterFormProps:c}=e,d=_d(e,dZ),p=U.useCallback((e=>{r.current.upsertFilterItem(e)}),[r]),f=U.useCallback((e=>{r.current.setFilterLinkOperator(e)}),[r]),m=U.useCallback((()=>{const e=i.find((e=>{var t;return null==(t=e.filterOperators)?void 0:t.length}));return e?{columnField:e.field,operatorValue:e.filterOperators[0].value,id:Math.round(1e5*Math.random())}:null}),[i]),h=U.useMemo((()=>{if(a.items.length)return a.items;const e=m();return e?[e]:[]}),[a.items,m]),g=h.length>1,b=U.useCallback((e=>{const t=1===h.length;r.current.deleteFilterItem(e),t&&r.current.hideFilterPanel()}),[r,h.length]);return U.useEffect((()=>{l.length>0&&a.linkOperator&&!l.includes(a.linkOperator)&&f(l[0])}),[l,f,a.linkOperator]),U.useEffect((()=>{h.length>0&&s.current.focus()}),[h.length]),ee.jsxs(zX,Id({ref:t},d,{children:[ee.jsx(_X,{children:h.map(((e,t)=>ee.jsx(cZ,Id({item:e,applyFilterChanges:p,deleteFilter:b,hasMultipleFilters:g,showMultiFilterOperators:t>0,multiFilterOperator:a.linkOperator,disableMultiFilterOperator:1!==t,applyMultiFilterOperatorChanges:f,focusElementRef:t===h.length-1?s:null,linkOperators:l,columnsSort:u},c),null==e.id?t:e.id)))}),!o.disableMultipleColumnsFiltering&&ee.jsx(PX,{children:ee.jsx(o.components.BaseButton,Id({onClick:()=>{const e=m();e&&r.current.upsertFilterItems([...h,e])},startIcon:ee.jsx(qq,{})},null==(n=o.componentsProps)?void 0:n.baseButton,{children:r.current.getLocaleText("filterPanelAddFilter")}))})]}))})),fZ=["hideMenu","options"],mZ=["hideMenu","options"],hZ=e=>{const t=jG(),{hideMenu:n,options:r}=e,o=_d(e,fZ);return ee.jsx(xA,Id({onClick:()=>{t.current.exportDataAsCsv(r),null==n||n()}},o,{children:t.current.getLocaleText("toolbarExportCSV")}))},gZ=e=>{const t=jG(),{hideMenu:n,options:r}=e,o=_d(e,mZ);return ee.jsx(xA,Id({onClick:()=>{t.current.exportDataAsPrint(r),null==n||n()}},o,{children:t.current.getLocaleText("toolbarExportPrint")}))},bZ=()=>({items:[],linkOperator:uq.And,quickFilterValues:[],quickFilterLogicOperator:uq.And}),vZ=["className","rowCount","visibleRowCount"],yZ=Wv("div",{name:"MuiDataGrid",slot:"RowCount",overridesResolver:(e,t)=>t.rowCount})((({theme:e})=>({alignItems:"center",display:"flex",margin:e.spacing(0,2)}))),wZ=U.forwardRef((function(e,t){const{className:n,rowCount:r,visibleRowCount:o}=e,a=_d(e,vZ),i=jG(),s=$G(),l=(e=>{const{classes:t}=e;return eb({root:["rowCount"]},BG,t)})(s);if(0===r)return null;const u=ot.selectedRowCount})((({theme:e})=>({alignItems:"center",display:"flex",margin:e.spacing(0,2),visibility:"hidden",width:0,height:0,[e.breakpoints.up("sm")]:{visibility:"visible",width:"auto",height:"auto"}}))),EZ=U.forwardRef((function(e,t){const{className:n,selectedRowCount:r}=e,o=_d(e,SZ),a=jG(),i=$G(),s=(e=>{const{classes:t}=e;return eb({root:["selectedRowCount"]},BG,t)})(i),l=a.current.getLocaleText("footerRowSelected")(r);return ee.jsx(xZ,Id({ref:t,className:rq(s.root,n),ownerState:i},o,{children:l}))})),CZ=U.forwardRef((function(e,t){var n;const r=jG(),o=$G(),a=XG(r,nW),i=XG(r,dY),s=XG(r,FW),l=!o.hideFooterSelectedRowCount&&i>0?ee.jsx(EZ,{selectedRowCount:i}):ee.jsx("div",{}),u=o.hideFooterRowCount||o.pagination?null:ee.jsx(wZ,{rowCount:a,visibleRowCount:s}),c=o.pagination&&!o.hideFooterPagination&&o.components.Pagination&&ee.jsx(o.components.Pagination,Id({},null==(n=o.componentsProps)?void 0:n.pagination));return ee.jsxs(LK,Id({ref:t},e,{children:[l,u,c]}))})),kZ=U.forwardRef((function(e,t){var n,r;const o=$G();return ee.jsxs("div",Id({ref:t},e,{children:[ee.jsx(o.components.PreferencesPanel,Id({},null==(n=o.componentsProps)?void 0:n.preferencesPanel)),o.components.Toolbar&&ee.jsx(o.components.Toolbar,Id({},null==(r=o.componentsProps)?void 0:r.toolbar))]}))})),RZ=U.forwardRef((function(e,t){return ee.jsx(jK,Id({ref:t},e,{children:ee.jsx(hR,{})}))})),TZ=U.forwardRef((function(e,t){const n=jG().current.getLocaleText("noRowsLabel");return ee.jsx(jK,Id({ref:t},e,{children:n}))})),IZ=Wv(VP)((({theme:e})=>({[`& .${NP.selectLabel}`]:{display:"none",[e.breakpoints.up("sm")]:{display:"block"}},[`& .${NP.input}`]:{display:"none",[e.breakpoints.up("sm")]:{display:"inline-flex"}}}))),_Z=U.forwardRef((function(e,t){var n;const r=jG(),o=$G(),a=XG(r,mY),i=U.useMemo((()=>Math.floor(a.rowCount/(a.pageSize||1))),[a.rowCount,a.pageSize]),s=U.useCallback((e=>{const t=Number(e.target.value);r.current.setPageSize(t)}),[r]),l=U.useCallback(((e,t)=>{r.current.setPage(t)}),[r]);return ee.jsx(IZ,Id({ref:t,component:"div",count:a.rowCount,page:a.page<=i?a.page:i,rowsPerPageOptions:null!=(n=o.rowsPerPageOptions)&&n.includes(a.pageSize)?o.rowsPerPageOptions:[],rowsPerPage:a.pageSize,onPageChange:l,onRowsPerPageChange:s},r.current.getLocaleText("MuiTablePagination"),e))})),AZ=(e,t)=>{let n,r;return t.pagination&&"client"===t.paginationMode?(r=bY(e),n=vY(e)):(n=NW(e),r=0===n.length?null:{firstRowIndex:0,lastRowIndex:n.length-1}),{rows:n,range:r}},OZ=(e,t)=>{const n=AZ(e,t);return U.useMemo((()=>({rows:n.rows,range:n.range})),[n.rows,n.range])},NZ="__detail_panel_toggle__",PZ=["selected","rowId","row","index","style","position","rowHeight","className","visibleColumns","renderedColumns","containerWidth","firstColumnToRender","lastColumnToRender","cellFocus","cellTabIndex","editRowsState","isLastVisible","onClick","onDoubleClick","onMouseEnter","onMouseLeave"],LZ=["changeReason"],MZ=({width:e})=>{if(!e)return null;const t={width:e};return ee.jsx("div",{className:"MuiDataGrid-cell",style:t})},DZ=U.forwardRef((function(e,t){var n;const{selected:r,rowId:o,row:a,index:i,style:s,position:l,rowHeight:u,className:c,visibleColumns:d,renderedColumns:p,containerWidth:f,firstColumnToRender:m,cellFocus:h,cellTabIndex:g,editRowsState:b,isLastVisible:v=!1,onClick:y,onDoubleClick:w,onMouseEnter:S,onMouseLeave:x}=e,E=_d(e,PZ),C=jG(),k=U.useRef(null),R=$G(),T=OZ(C,R),I=XG(C,CW),_=XG(C,hW),A=XG(C,sW),O=XG(C,GW),N=Lg(k,t),P=i+O+2,{hasScrollX:L,hasScrollY:M}=null!=(n=C.current.getRootDimensions())?n:{hasScrollX:!1,hasScrollY:!1},D=(e=>{const{editable:t,editing:n,selected:r,isLastVisible:o,rowHeight:a,classes:i}=e;return eb({root:["row",r&&"selected",t&&"row--editable",n&&"row--editing",o&&"row--lastVisible","auto"===a&&"row--dynamicHeight"]},BG,i)})({selected:r,isLastVisible:v,classes:R.classes,editing:C.current.getRowMode(o)===iq.Edit,editable:R.editMode===oq.Row,rowHeight:u});U.useLayoutEffect((()=>{"auto"===u&&k.current&&"undefined"==typeof ResizeObserver&&C.current.unstable_storeRowHeightMeasurement(o,k.current.clientHeight,l)}),[C,u,o,l]),U.useLayoutEffect((()=>{if(T.range){const e=C.current.getRowIndexRelativeToVisibleRows(o);null!=e&&C.current.unstable_setLastMeasuredRowIndex(e)}const e=k.current;if(!e||"auto"!==u||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver((e=>{const[t]=e,n=t.borderBoxSize&&t.borderBoxSize.length>0?t.borderBoxSize[0].blockSize:t.contentRect.height;C.current.unstable_storeRowHeightMeasurement(o,n,l)}));return t.observe(e),()=>t.disconnect()}),[C,T.range,i,u,o,l]);const j=U.useCallback(((e,t)=>n=>{(1!==n.target.nodeType||n.currentTarget.contains(n.target))&&C.current.getRow(o)&&(C.current.publishEvent(e,C.current.getRowParams(o),n),t&&t(n))}),[C,o]),F=U.useCallback((e=>{const t=function(e,t){return e.closest(`.${t}`)}(e.target,zG.cell),n=null==t?void 0:t.getAttribute("data-field");if(n){if(n===YY.field)return;if(n===NZ)return;if("__reorder__"===n)return;if(C.current.getCellMode(o,n)===aq.Edit)return;if(C.current.getColumn(n).type===HY)return}j("rowClick",y)(e)}),[C,y,j,o]),$=U.useCallback(((e,t)=>{var n;const r=C.current.getCellParams(o,e.field),i=[],s=R.disableColumnReorder&&e.disableReorder||!R.rowReordering&&!!_.length&&A>1&&Object.keys(b).length>0;e.cellClassName&&i.push(rq("function"==typeof e.cellClassName?e.cellClassName(r):e.cellClassName));const l=b[o]?b[o][e.field]:null;let c=null;var d;null==l&&e.renderCell&&(c=e.renderCell(Id({},r,{api:C.current})),i.push(rq(zG["cell--withRenderer"],null==(d=R.classes)?void 0:d["cell--withRenderer"])));if(null!=l&&e.renderEditCell){var p;let t=a;C.current.unstable_getRowWithUpdatedValues&&(t=C.current.unstable_getRowWithUpdatedValues(o,e.field));const n=Id({},r,{row:t},_d(l,LZ),{api:C.current});c=e.renderEditCell(n),i.push(rq(zG["cell--editing"],null==(p=R.classes)?void 0:p["cell--editing"]))}R.getCellClassName&&i.push(R.getCellClassName(r));const f=null!==h&&h.id===o&&h.field===e.field,m=null!==g&&g.id===o&&g.field===e.field&&"view"===r.cellMode?0:-1;return ee.jsx(R.components.Cell,Id({value:r.value,field:e.field,width:t.width,rowId:o,height:u,showRightBorder:t.showRightBorder,formattedValue:r.formattedValue,align:e.align||"left",cellMode:r.cellMode,colIndex:t.indexRelativeToAllColumns,isEditable:r.isEditable,hasFocus:f,tabIndex:m,className:rq(i),colSpan:t.colSpan,disableDragEvents:s},null==(n=R.componentsProps)?void 0:n.cell,{children:c}),e.field)}),[C,g,b,h,R,a,u,o,A,_.length]),B=C.current.unstable_getRowInternalSizes(o);let z=u;if("auto"===z&&B){let e=0;const t=Object.entries(B).reduce(((t,[n,r])=>/^base[A-Z]/.test(n)?(e+=1,r>t?r:t):t),0);t>0&&e>1&&(z=t)}const H=Id({},s,{maxHeight:"auto"===u?"none":u,minHeight:z});if(null!=B&&B.spacingTop){H["border"===R.rowSpacingType?"borderTopWidth":"marginTop"]=B.spacingTop}if(null!=B&&B.spacingBottom){const e="border"===R.rowSpacingType?"borderBottomWidth":"marginBottom";let t=H[e];"number"!=typeof t&&(t=parseInt(t||"0",10)),t+=B.spacingBottom,H[e]=t}const V=C.current.unstable_applyPipeProcessors("rowClassName",[],o);if("function"==typeof R.getRowClassName){var G;const e=i-((null==(G=T.range)?void 0:G.firstRowIndex)||0),t=Id({},C.current.getRowParams(o),{isFirstVisible:0===e,isLastVisible:e===T.rows.length-1,indexRelativeToCurrentPage:e});V.push(R.getRowClassName(t))}const W=FY(1e4,20,80),q=[];for(let U=0;U0&&ee.jsx(MZ,{width:K})]}))}));let jZ=class{constructor(e=1e3){this.timeouts=new Map,this.cleanupTimeout=1e3,this.cleanupTimeout=e}register(e,t,n){this.timeouts||(this.timeouts=new Map);const r=setTimeout((()=>{"function"==typeof t&&t(),this.timeouts.delete(n.cleanupToken)}),this.cleanupTimeout);this.timeouts.set(n.cleanupToken,r)}unregister(e){const t=this.timeouts.get(e.cleanupToken);t&&(this.timeouts.delete(e.cleanupToken),clearTimeout(t))}reset(){this.timeouts&&(this.timeouts.forEach(((e,t)=>{this.unregister({cleanupToken:t})})),this.timeouts=void 0)}},FZ=class{constructor(){this.registry=new FinalizationRegistry((e=>{"function"==typeof e&&e()}))}register(e,t,n){this.registry.register(e,t,n)}unregister(e){this.registry.unregister(e)}reset(){}};var $Z;!function(e){e.DataGrid="DataGrid",e.DataGridPro="DataGridPro"}($Z||($Z={}));let BZ=class{};const zZ=function(e){let t=0;return function(n,r,o,a){null===e.registry&&(e.registry="undefined"!=typeof FinalizationRegistry?new FZ:new jZ);const[i]=U.useState(new BZ),s=U.useRef(null),l=U.useRef();l.current=o;const u=U.useRef(null);if(!s.current&&l.current){const o=(e,t,n)=>{var r;t.defaultMuiPrevented||(null==(r=l.current)||r.call(l,e,t,n))};s.current=n.current.subscribeEvent(r,o,a),t+=1,u.current={cleanupToken:t},e.registry.register(i,(()=>{var e;null==(e=s.current)||e.call(s),s.current=null,u.current=null}),u.current)}else!l.current&&s.current&&(s.current(),s.current=null,u.current&&(e.registry.unregister(u.current),u.current=null));U.useEffect((()=>{if(!s.current&&l.current){const e=(e,t,n)=>{var r;t.defaultMuiPrevented||(null==(r=l.current)||r.call(l,e,t,n))};s.current=n.current.subscribeEvent(r,e,a)}return u.current&&e.registry&&(e.registry.unregister(u.current),u.current=null),()=>{var e;null==(e=s.current)||e.call(s),s.current=null}}),[n,r,a])}}({registry:null}),UZ={isFirst:!0};function HZ(e,t,n){zZ(e,t,n,UZ)}const VZ=Wv("div",{name:"MuiDataGrid",slot:"ScrollArea",overridesResolver:(e,t)=>[{[`&.${zG["scrollArea--left"]}`]:t["scrollArea--left"]},{[`&.${zG["scrollArea--right"]}`]:t["scrollArea--right"]},t.scrollArea]})((()=>({position:"absolute",top:0,zIndex:101,width:20,bottom:0,[`&.${zG["scrollArea--left"]}`]:{left:0},[`&.${zG["scrollArea--right"]}`]:{right:0}})));function GZ(e){const{scrollDirection:t}=e,n=U.useRef(null),r=jG(),o=U.useRef(),[a,i]=U.useState(!1),s=XG(r,VW),l=U.useRef({left:0,top:0}),u=Id({},$G(),{scrollDirection:t}),c=(e=>{const{scrollDirection:t,classes:n}=e;return eb({root:["scrollArea",`scrollArea--${t}`]},BG,n)})(u),d=U.useCallback((e=>{l.current=e}),[]),p=U.useCallback((e=>{let a;if("left"===t)a=e.clientX-n.current.getBoundingClientRect().right;else{if("right"!==t)throw new Error("MUI: Wrong drag direction");a=Math.max(1,e.clientX-n.current.getBoundingClientRect().left)}a=1.5*(a-1)+1,clearTimeout(o.current),o.current=setTimeout((()=>{r.current.scroll({left:l.current.left+a,top:l.current.top})}))}),[t,r]);U.useEffect((()=>()=>{clearTimeout(o.current)}),[]);const f=U.useCallback((()=>{i((e=>!e))}),[]);return zZ(r,"rowsScroll",d),zZ(r,"columnHeaderDragStart",f),zZ(r,"columnHeaderDragEnd",f),a?ee.jsx(VZ,{ref:n,className:rq(c.root),ownerState:u,onDragOver:p,style:{height:s}}):null}const WZ=U.memo(GZ),qZ=({apiRef:e,props:t,children:n})=>ee.jsx(FG.Provider,{value:t,children:ee.jsx(DG.Provider,{value:e,children:n})}),KZ=function(){try{const e="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}()&&null!=window.localStorage.getItem("DEBUG"),YZ=()=>{},XZ={debug:YZ,info:YZ,warn:YZ,error:YZ},ZZ=["debug","info","warn","error"];function QZ(e,t,n=console){const r=ZZ.indexOf(t);if(-1===r)throw new Error(`MUI: Log level ${t} not recognized.`);return ZZ.reduce(((t,o,a)=>(t[o]=a>=r?(...t)=>{const[r,...a]=t;n[o](`MUI: ${e} - ${r}`,...a)}:YZ,t)),{})}function JZ(e,t,n){const r=U.useRef(t),[o]=U.useState(Object.keys(t)),a=U.useCallback((()=>{e.current&&o.forEach((t=>{e.current.hasOwnProperty(t)||(e.current[t]=(...e)=>r.current[t](...e))}))}),[o,e]);U.useEffect((()=>{r.current=t}),[t]),U.useEffect((()=>{a()}),[a]),a()}let eQ=class{constructor(){this.maxListeners=10,this.warnOnce=!1,this.events={}}on(e,t,n={}){let r=this.events[e];r||(r={highPriority:new Map,regular:new Map},this.events[e]=r),n.isFirst?r.highPriority.set(t,!0):r.regular.set(t,!0)}removeListener(e,t){this.events[e]&&(this.events[e].regular.delete(t),this.events[e].highPriority.delete(t))}removeAllListeners(){this.events={}}emit(e,...t){const n=this.events[e];if(!n)return;const r=Array.from(n.highPriority.keys()),o=Array.from(n.regular.keys());for(let a=r.length-1;a>=0;a-=1){const e=r[a];n.highPriority.has(e)&&e.apply(this,t)}for(let a=0;an.current),[n]);const r=U.useCallback(((...e)=>{const[r,o,a={}]=e;if(a.defaultMuiPrevented=!1,(e=>void 0!==e.isPropagationStopped)(a)&&a.isPropagationStopped())return;const i=t.signature===$Z.DataGridPro?{api:n.current}:{};n.current.unstable_eventManager.emit(r,o,a,i)}),[n,t.signature]),o=U.useCallback(((e,t,r)=>{n.current.unstable_eventManager.on(e,t,r);const o=n.current;return()=>{o.unstable_eventManager.removeListener(e,t)}}),[n]),a=U.useCallback((e=>{n.current.publishEvent("componentError",e)}),[n]);return JZ(n,{subscribeEvent:o,publishEvent:r,showError:a}),U.useEffect((()=>{const e=n.current;return()=>{var t;void 0!==(t=e.instanceId)?ZG.cache&&ZG.cache[t]&&delete ZG.cache[t]:ZG.cache=null,e.publishEvent("unmount")}}),[n]),n}const rQ=e=>{const t=U.useRef(!0);t.current&&(t.current=!1,e())},oQ=(e,t,n)=>{const r=U.useRef(),o=U.useRef(`mui-${Math.round(1e9*Math.random())}`),a=U.useCallback((()=>{r.current=e.current.unstable_registerPipeProcessor(t,o.current,n)}),[e,n,t]);rQ((()=>{a()}));const i=U.useRef(!0);U.useEffect((()=>(i.current?i.current=!1:a(),()=>{r.current&&(r.current(),r.current=null)})),[a])},aQ=(e,t,n)=>{const r=U.useRef(),o=U.useRef(`mui-${Math.round(1e9*Math.random())}`),a=U.useCallback((()=>{r.current=e.current.unstable_registerPipeApplier(t,o.current,n)}),[e,n,t]);rQ((()=>{a()}));const i=U.useRef(!0);U.useEffect((()=>(i.current?i.current=!1:a(),()=>{r.current&&(r.current(),r.current=null)})),[a])},iQ=(e,t,n,r)=>{const o=U.useCallback((()=>{e.current.unstable_registerStrategyProcessor(t,n,r)}),[e,r,n,t]);rQ((()=>{o()}));const a=U.useRef(!0);U.useEffect((()=>{a.current?a.current=!1:o()}),[o])},sQ="none",lQ={rowTreeCreation:"rowTree",filtering:"rowTree",sorting:"rowTree"},uQ=["stateId"],cQ=(e,t)=>{const n=nQ(e,t);return((e,t)=>{e.current.getLogger=U.useCallback((e=>KZ?QZ(e,"debug",t.logger):t.logLevel?QZ(e,t.logLevel.toString(),t.logger):XZ),[t.logLevel,t.logger])})(n,t),function(e,t){const n=U.useCallback((t=>{e.current.setState((e=>Id({},e,{error:t})))}),[e]);U.useEffect((()=>{t.error?n({error:t.error}):n(null)}),[n,t.error]),zZ(e,"componentError",n)}(n,t),((e,t)=>{const n=U.useRef({}),[,r]=U.useState(),o=U.useCallback((e=>{const{stateId:t}=e,r=_d(e,uQ);n.current[t]=Id({},r,{stateId:t})}),[]),a=U.useCallback(((r,o)=>{let a;if(a=LY(r)?r(e.current.state):r,e.current.state===a)return!1;let i=!1;const s=[];if(Object.keys(n.current).forEach((t=>{const r=n.current[t],o=r.stateSelector(e.current.state,e.current.instanceId),l=r.stateSelector(a,e.current.instanceId);l!==o&&(s.push({stateId:r.stateId,hasPropChanged:l!==r.propModel}),void 0!==r.propModel&&l!==r.propModel&&(i=!0))})),s.length>1)throw new Error(`You're not allowed to update several sub-state in one transaction. You already updated ${s[0].stateId}, therefore, you're not allowed to update ${s.map((e=>e.stateId)).join(", ")} in the same transaction.`);if(i||(e.current.state=a,e.current.publishEvent&&e.current.publishEvent("stateChange",a)),1===s.length){const{stateId:r,hasPropChanged:l}=s[0],u=n.current[r],c=u.stateSelector(a,e.current.instanceId);if(u.propOnChange&&l){const n=t.signature===$Z.DataGridPro?{api:e.current,reason:o}:{reason:o};u.propOnChange(c,n)}i||e.current.publishEvent(u.changeEvent,c,{reason:o})}return!i}),[e,t.signature]),i=U.useCallback(((t,n,r)=>e.current.setState((e=>Id({},e,{[t]:n(e[t])})),r)),[e]),s=U.useCallback((()=>r((()=>e.current.state))),[e]);JZ(e,{setState:a,forceUpdate:s,unstable_updateControlState:i,unstable_registerControlState:o})})(n,t),(e=>{const t=U.useRef({}),n=U.useCallback((e=>{e&&Object.values(e.appliers).forEach((e=>{e()}))}),[]),r=U.useCallback(((e,r,o)=>{t.current[e]||(t.current[e]={processors:new Map,appliers:{}});const a=t.current[e];return a.processors.get(r)!==o&&(a.processors.set(r,o),n(a)),()=>{t.current[e].processors.set(r,null)}}),[n]),o=U.useCallback(((e,n,r)=>(t.current[e]||(t.current[e]={processors:new Map,appliers:{}}),t.current[e].appliers[n]=r,()=>{const r=_d(t.current[e].appliers,[n].map(fb));t.current[e].appliers=r})),[]);JZ(e,{unstable_registerPipeProcessor:r,unstable_registerPipeApplier:o,unstable_requestPipeProcessorsApplication:U.useCallback((e=>{const r=t.current[e];n(r)}),[n]),unstable_applyPipeProcessors:U.useCallback(((...e)=>{const[n,r,o]=e;return t.current[n]?Array.from(t.current[n].processors.values()).reduce(((e,t)=>t?t(e,o):e),r):r}),[])})})(n),(e=>{const t=U.useRef(new Map),n=U.useRef({}),r=U.useCallback(((t,r,o)=>{const a=()=>{const e=_d(n.current[r],[t].map(fb));n.current[r]=e};n.current[r]||(n.current[r]={});const i=n.current[r],s=i[t];return i[t]=o,s&&s!==o?(t===e.current.unstable_getActiveStrategy(lQ[r])&&e.current.publishEvent("activeStrategyProcessorChange",r),a):a}),[e]),o=U.useCallback(((t,r)=>{const o=e.current.unstable_getActiveStrategy(lQ[t]);if(null==o)throw new Error("Can't apply a strategy processor before defining an active strategy");const a=n.current[t];if(!a||!a[o])throw new Error(`No processor found for processor "${t}" on strategy "${o}"`);return(0,a[o])(r)}),[e]),a=U.useCallback((e=>{var n;const r=Array.from(t.current.entries()).find((([,t])=>t.group===e&&t.isAvailable()));return null!=(n=null==r?void 0:r[0])?n:sQ}),[]),i=U.useCallback(((n,r,o)=>{t.current.set(r,{group:n,isAvailable:o}),e.current.publishEvent("strategyAvailabilityChange")}),[e]);JZ(e,{unstable_registerStrategyProcessor:r,unstable_applyStrategyProcessor:o,unstable_getActiveStrategy:a,unstable_setStrategyAvailability:i})})(n),((e,t)=>{const n=U.useCallback((e=>{if(null==t.localeText[e])throw new Error(`Missing translation for key ${e}.`);return t.localeText[e]}),[t.localeText]);e.current.getLocaleText=n})(n,t),n},dQ=(e,t,n)=>{const r=U.useRef(!1);r.current||(t.current.state=e(t.current.state,n,t),r.current=!0)};function pQ(e){const t=document.createElement("span");t.style.whiteSpace="pre",t.style.userSelect="all",t.style.opacity="0px",t.textContent=e,document.body.appendChild(t);const n=document.createRange();n.selectNode(t);const r=window.getSelection();r.removeAllRanges(),r.addRange(n);try{document.execCommand("copy")}finally{document.body.removeChild(t)}}const fQ=e=>{const t=U.useCallback(((t=!1)=>{if(0===e.current.getSelectedRows().size)return;const n=e.current.getDataAsCsv({includeHeaders:t,delimiter:"\t"});navigator.clipboard?navigator.clipboard.writeText(n).catch((()=>{pQ(n)})):pQ(n)}),[e]),n=U.useCallback((t=>{const n=t.ctrlKey||t.metaKey||t.altKey;var r,o;"C"===String.fromCharCode(t.keyCode)&&n&&(r=t.target,""!==(null==(o=window.getSelection())?void 0:o.toString())||r&&(r.selectionEnd||0)-(r.selectionStart||0)>0||e.current.unstable_copySelectedRowsToClipboard(t.altKey))}),[e]);((e,t,n,r,o)=>{const a=ZW(e,"useNativeEventListener"),[i,s]=U.useState(!1),l=U.useRef(r),u=U.useCallback((e=>l.current&&l.current(e)),[]);U.useEffect((()=>{l.current=r}),[r]),U.useEffect((()=>{let r;if(r=LY(t)?t():t&&t.current?t.current:null,r&&n&&!i){a.debug(`Binding native ${n} event`),r.addEventListener(n,u,o);const t=r;s(!0);const i=()=>{a.debug(`Clearing native ${n} event`),t.removeEventListener(n,u,o)};e.current.subscribeEvent("unmount",i)}}),[t,u,n,i,a,o,e])})(e,e.current.rootElementRef,"keydown",n);JZ(e,{unstable_copySelectedRowsToClipboard:t})},mQ=e=>e.columnMenu,hQ=e=>Id({},e,{columnMenu:{open:!1}}),gQ=(e,t,n)=>{var r,o,a,i,s,l,u;const c=!!t.columnVisibilityModel||!(null==(r=t.initialState)||null==(o=r.columns)||!o.columnVisibilityModel);n.current.unstable_caches.columns={isUsingColumnVisibilityModel:c};const d=bX(t.columnTypes);return Id({},e,{columns:yX({apiRef:n,columnTypes:d,columnsToUpsert:t.columns,initialState:null==(a=t.initialState)?void 0:a.columns,shouldRegenColumnVisibilityModelFromColumns:!c,currentColumnVisibilityModel:null!=(i=null!=(s=t.columnVisibilityModel)?s:null==(l=t.initialState)||null==(u=l.columns)?void 0:u.columnVisibilityModel)?i:{},keepOnlyColumnsToUpsert:!0})})};const bQ=QG((e=>e.columnGrouping),(e=>e.lookup)),vQ=["groupId","children"];const yQ=(e,t,n)=>{if(hq(e)){if(void 0!==n[e.field])throw new Error(["MUI: columnGroupingModel contains duplicated field",`column field ${e.field} occurrs two times in the grouping model:`,`- ${n[e.field].join(" > ")}`,`- ${t.join(" > ")}`].join("\n"));return void(n[e.field]=t)}const{groupId:r,children:o}=e;o.forEach((e=>{yQ(e,[...t,r],n)}))},wQ=e=>{if(!e)return{};const t={};return e.forEach((e=>{yQ(e,[],t)})),t},SQ=e=>{let t={};return e.forEach((e=>{if(hq(e))return;const{groupId:n,children:r}=e,o=_d(e,vQ);if(!n)throw new Error("MUI: An element of the columnGroupingModel does not have either `field` or `groupId`.");r||console.warn(`MUI: group groupId=${n} has no children.`);const a=Id({},o,{groupId:n}),i=SQ(r);if(void 0!==i[n]||void 0!==t[n])throw new Error(`MUI: The groupId ${n} is used multiple times in the columnGroupingModel.`);t=Id({},t,i,{[n]:a})})),Id({},t)},xQ=(e,t)=>{var n;return Id({},e,{columnGrouping:{lookup:SQ(null!=(n=t.columnGroupingModel)?n:[]),groupCollapsedModel:{}}})},EQ=(e,t,n,r)=>{switch(e){case mq.Compact:return{value:e,headerHeight:Math.floor(.7*t),rowHeight:Math.floor(.7*n),headerGroupingMaxDepth:r,factor:.7};case mq.Comfortable:return{value:e,headerHeight:Math.floor(1.3*t),rowHeight:Math.floor(1.3*n),headerGroupingMaxDepth:r,factor:1.3};default:return{value:e,headerHeight:t,rowHeight:n,headerGroupingMaxDepth:r,factor:1}}},CQ=(e,t)=>{let n;if(null==t.columnGroupingModel||0===Object.keys(t.columnGroupingModel).length)n=0;else{const r=wQ(t.columnGroupingModel),o=e.columns,a=o.all.filter((e=>!1!==o.columnVisibilityModel[e]));n=0===a.length?0:Math.max(...a.map((e=>{var t,n;return null!=(t=null==(n=r[e])?void 0:n.length)?t:0})))}return Id({},e,{density:EQ(t.density,t.headerHeight,t.rowHeight,n)})};const kQ=(e,t)=>{if("string"==typeof e){const n=e.replace(/"/g,'""');return[t,"\n","\r"].some((e=>n.includes(e)))?`"${n}"`:n}return e};KG(["MUI: When the value of a field is an object or a `renderCell` is provided, the CSV export might not display the value correctly.","You can provide a `valueFormatter` with a string representation to be used."]);function RQ(e){const{columns:t,rowIds:n,getCellParams:r,delimiterCharacter:o,includeHeaders:a}=e,i=n.reduce(((e,n)=>`${e}${((e,t,n,r)=>t.map((t=>{const o=n(e,t.field);return kQ(o.formattedValue,r)})))(n,t,r,o).join(o)}\r\n`),"").trim();if(!a)return i;const s=`${t.filter((e=>e.field!==YY.field)).map((e=>kQ(e.headerName||e.field,o))).join(o)}\r\n`;return`${s}${i}`.trim()}const TQ=({apiRef:e,options:t})=>{const n=wW(e);if(t.fields)return t.fields.map((e=>n.find((t=>t.field===e)))).filter((e=>!!e));return(t.allColumns?n:xW(e)).filter((e=>!e.disableExport))},IQ=({apiRef:e})=>{var t,n;const r=MW(e),o=aW(e),a=e.current.getSelectedRows(),i=r.filter((e=>{var t;return"body"===(null!=(t=o[e].position)?t:"body")})),s=cW(e),l=(null==s||null==(t=s.top)?void 0:t.map((e=>e.id)))||[],u=(null==s||null==(n=s.bottom)?void 0:n.map((e=>e.id)))||[];return i.unshift(...l),i.push(...u),a.size>0?i.filter((e=>a.has(e))):i},_Q=e=>{const t=ZW(e,"useGridCsvExport"),n=U.useCallback(((n={})=>{var r,o;t.debug("Get data as CSV");return RQ({columns:TQ({apiRef:e,options:n}),rowIds:(null!=(r=n.getRowsToExport)?r:IQ)({apiRef:e}),getCellParams:e.current.getCellParams,delimiterCharacter:n.delimiter||",",includeHeaders:null==(o=n.includeHeaders)||o})}),[t,e]),r=U.useCallback((e=>{t.debug("Export data as CSV");const r=n(e);!function(e,t="csv",n=document.title||"untitled"){const r=`${n}.${t}`;if("download"in HTMLAnchorElement.prototype){const t=URL.createObjectURL(e),n=document.createElement("a");return n.href=t,n.download=r,n.click(),void setTimeout((()=>{URL.revokeObjectURL(t)}))}throw new Error("MUI: exportAs not supported")}(new Blob([null!=e&&e.utf8WithBom?new Uint8Array([239,187,191]):"",r],{type:"text/csv"}),"csv",null==e?void 0:e.fileName)}),[t,n]);JZ(e,{getDataAsCsv:n,exportDataAsCsv:r});const o=U.useCallback(((e,t)=>{var n;return null!=(n=t.csvOptions)&&n.disableToolbarButton?e:[...e,{component:ee.jsx(hZ,{options:t.csvOptions}),componentName:"csvExport"}]}),[]);oQ(e,"exportMenu",o)},AQ=e=>e.rowsMeta;const OQ=(e,t)=>{const n=ZW(e,"useGridPrintExport"),r=U.useRef(null),o=U.useRef(null),a=U.useRef({});U.useEffect((()=>{r.current=Rg(e.current.rootElementRef.current)}),[e]);const i=U.useCallback(((t,n)=>new Promise((r=>{if(!t&&!n)return void r();const o=TQ({apiRef:e,options:{fields:t,allColumns:n}}).map((e=>e.field)),a=wW(e),i={};a.forEach((e=>{i[e.field]=o.includes(e.field)})),e.current.setColumnVisibilityModel(i),r()}))),[e]),s=U.useCallback((e=>{const t=document.createElement("iframe");return t.style.position="absolute",t.style.width="0px",t.style.height="0px",t.title=e||document.title,t}),[]),l=U.useCallback(((t,n)=>{var o,a;const i=Id({copyStyles:!0,hideToolbar:!1,hideFooter:!1},n),s=t.contentDocument;if(!s)return;const l=qW(e),u=AQ(e.current.state),c=e.current.rootElementRef.current,d=c.cloneNode(!0),p=d.querySelector(`.${zG.virtualScroller}`);p.style.height="auto",p.style.width="auto",p.parentElement.style.width="auto",p.parentElement.style.height="auto";d.querySelector(`.${zG.main}`).style.overflow="visible";const f=function(){const e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return e?parseInt(e[2],10):null}();f&&f>=108&&(d.style.contain="size");d.querySelector(`.${zG.columnHeaders}`).querySelector(`.${zG.columnHeadersInner}`).style.width="100%";let m=(null==(o=c.querySelector(`.${zG.toolbarContainer}`))?void 0:o.clientHeight)||0,h=(null==(a=c.querySelector(`.${zG.footerContainer}`))?void 0:a.clientHeight)||0;var g,b;i.hideToolbar&&(null==(g=d.querySelector(`.${zG.toolbarContainer}`))||g.remove(),m=0);i.hideFooter&&(null==(b=d.querySelector(`.${zG.footerContainer}`))||b.remove(),h=0);d.style.height=`${u.currentPageTotalHeight+l+m+h}px`;const v=document.createElement("div");v.appendChild(d),s.body.innerHTML=v.innerHTML;const y="function"==typeof i.pageStyle?i.pageStyle():i.pageStyle;if("string"==typeof y){const e=s.createElement("style");e.appendChild(s.createTextNode(y)),s.head.appendChild(e)}if(i.bodyClassName&&s.body.classList.add(...i.bodyClassName.split(" ")),i.copyStyles){const e=r.current.querySelectorAll("style, link[rel='stylesheet']");for(let t=0;t{var n,i;r.current.body.removeChild(t),e.current.restoreState(o.current||{}),null!=(n=o.current)&&null!=(i=n.columns)&&i.columnVisibilityModel||e.current.setColumnVisibilityModel(a.current),e.current.unstable_enableVirtualization(),o.current=null,a.current={}}),[e]),c=U.useCallback((async c=>{if(n.debug("Export data as Print"),!e.current.rootElementRef.current)throw new Error("MUI: No grid root element available.");if(o.current=e.current.exportState(),a.current=SW(e),t.pagination){const t=jW(e);e.current.setPageSize(t)}await i(null==c?void 0:c.fields,null==c?void 0:c.allColumns),e.current.unstable_disableVirtualization(),await new Promise((e=>{requestAnimationFrame((()=>{e()}))}));const d=s(null==c?void 0:c.fileName);d.onload=()=>{l(d,c);d.contentWindow.matchMedia("print").addEventListener("change",(e=>{!1===e.matches&&u(d)}))},r.current.body.appendChild(d)}),[t,n,e,s,l,u,i]);JZ(e,{exportDataAsPrint:c});const d=U.useCallback(((e,t)=>{var n;return null!=(n=t.printOptions)&&n.disableToolbarButton?e:[...e,{component:ee.jsx(gZ,{options:t.printOptions}),componentName:"printExport"}]}),[]);oQ(e,"exportMenu",d)},NQ=["rowsBeforePartialUpdates"];const PQ=(e,t,n)=>{const r=t?t(e):e.id;return function(e,t,n="A row was provided without id in the rows prop:"){if(null==e)throw new Error(["MUI: The data grid component requires all rows to have a unique `id` property.","Alternatively, you can use the `getRowId` prop to specify a custom id for each row.",n,JSON.stringify(t)].join("\n"))}(r,e,n),r},LQ=({rows:e,getRowId:t,loading:n,rowCount:r})=>{const o={rowsBeforePartialUpdates:e,loadingPropBeforePartialUpdates:n,rowCountPropBeforePartialUpdates:r,idRowsLookup:{},idToIdLookup:{},ids:[]};for(let a=0;a{const o=_d(e.current.unstable_caches.rows,NQ),a=null!=n?n:0,i=e.current.unstable_applyStrategyProcessor("rowTreeCreation",Id({},o,{previousTree:t})),s=e.current.unstable_applyPipeProcessors("hydrateRows",i),l=1===s.treeDepth?s.ids.length:Object.values(s.tree).filter((e=>null==e.parent&&!e.isPinned)).length;return Id({},s,{groupingResponseBeforeRowHydration:i,loading:r,totalRowCount:Math.max(a,s.ids.length),totalTopLevelRowCount:Math.max(a,l)})},DQ=(e,t,n)=>{var r;const o=null==(r=e[t])?void 0:r.children;if(null==o)return[];const a=[];for(let i=0;it+=e.current.unstable_getRowHeight(n.id)),0))||0,bottom:(null==r||null==(n=r.bottom)?void 0:n.reduce(((t,n)=>t+=e.current.unstable_getRowHeight(n.id)),0))||0}}const FQ=(e,t)=>{const n=Id({},e);if(null==n.id&&(n.id=Math.round(1e5*Math.random())),null==n.operatorValue){const e=yW(t)[n.columnField];n.operatorValue=e&&e.filterOperators[0].value}return n},$Q=KG(["MUI: The `filterModel` can only contain a single item when the `disableMultipleColumnsFiltering` prop is set to `true`.","If you are using the community version of the `DataGrid`, this prop is always `true`."],"error"),BQ=KG("MUI: The 'id' field is required on `filterModel.items` when you use multiple filters.","error"),zQ=KG(["MUI: One of your filtering item have no `operatorValue` provided.","This property will become required on `@mui/x-data-grid@6.X`."]),UQ=(e,t,n)=>{const r=e.items.length>1;let o;r&&t?($Q(),o=[e.items[0]]):o=e.items;const a=r&&o.some((e=>null==e.id)),i=o.some((e=>null==e.operatorValue));return a&&BQ(),i&&zQ(),i||a?Id({},e,{items:o.map((e=>FQ(e,n)))}):e.items!==o?Id({},e,{items:o}):e},HQ=(e,t,n)=>r=>Id({},r,{filterModel:UQ(e,t,n)}),VQ=(e,t)=>{if(!e.columnField||!e.operatorValue)return null;const n=t.current.getColumn(e.columnField);if(!n)return null;let r;if(n.valueParser){var o;const t=n.valueParser;r=Array.isArray(e.value)?null==(o=e.value)?void 0:o.map((e=>t(e))):t(e.value)}else r=e.value;const a=Id({},e,{value:r}),i=n.filterOperators;if(null==i||!i.length)throw new Error(`MUI: No filter operators found for column '${n.field}'.`);const s=i.find((e=>e.value===a.operatorValue));if(!s)throw new Error(`MUI: No filter operator found for column '${n.field}' and operator value '${a.operatorValue}'.`);const l=s.getApplyFilterFn(a,n);if("function"!=typeof l)return null;return{fn:e=>{const n=t.current.getCellParams(e,a.columnField);return l(n)},item:a}},GQ=(e,t)=>{const n=((e,t)=>{const{items:n}=e,r=n.map((e=>VQ(e,t))).filter((e=>!!e));return 0===r.length?null:(e,t)=>{const n={};return(t?r.filter((e=>t(e.item.columnField))):r).forEach((t=>{n[t.item.id]=t.fn(e)})),n}})(e,t),r=((e,t)=>{const{quickFilterValues:n=[]}=e;if(0===n.length)return null;const r=vW(t),o={};r.forEach((e=>{const r=t.current.getColumn(e),a=null==r?void 0:r.getApplyQuickFilterFn;a&&(o[e]=n.map((e=>a(e,r,t))))}));const a=n.filter(((e,t)=>Object.keys(o).some((e=>null!=o[e][t]))));return 0===a.length?null:(e,n)=>{const r={},i=[];Object.keys(o).forEach((o=>{n&&!n(o)||(r[o]=t.current.getCellParams(e,o),i.push(o))}));const s={};return a.forEach(((e,t)=>{const n=i.some((e=>{var n,a;return null!=o[e][t]&&(null==(n=(a=o[e])[t])?void 0:n.call(a,r[e]))}));s[e]=n})),s}})(e,t);return(e,t)=>({passingFilterItems:n&&n(e,t),passingQuickFilterValues:r&&r(e,t)})},WQ=(e,t,n,r)=>{var o,a;const i=n.items.filter((e=>null!==VQ(e,r))),s=e.filter((e=>null!=e)),l=t.filter((e=>null!=e)),u=null!=(o=n.quickFilterLogicOperator)?o:bZ().quickFilterLogicOperator,c=null!=(a=n.linkOperator)?a:bZ().linkOperator;if(s.length>0){const e=e=>s.some((t=>t[e.id]));if(c===uq.And){if(!i.every(e))return!1}else{if(!i.some(e))return!1}}if(l.length>0&&null!=n.quickFilterValues){const e=e=>l.some((t=>t[e]));if(u===uq.And){if(!n.quickFilterValues.every(e))return!1}else{if(!n.quickFilterValues.some(e))return!1}}return!0},qQ=(e,t,n)=>{var r,o,a,i;const s=null!=(r=null!=(o=t.filterModel)?o:null==(a=t.initialState)||null==(i=a.filter)?void 0:i.filterModel)?r:bZ();return Id({},e,{filter:{filterModel:UQ(s,t.disableMultipleColumnsFiltering,n),visibleRowsLookup:{},filteredDescendantCountLookup:{}}})},KQ=e=>Id({},e,{focus:{cell:null,columnHeader:null},tabIndex:{cell:null,columnHeader:null}});const YQ=(e,t)=>{const n=ZW(e,"useGridKeyboardNavigation"),r=OZ(e,t).rows,o=U.useMemo((()=>function(e,t){const n=cW(e)||{};return[...n.top||[],...t,...n.bottom||[]]}(e,r)),[e,r]),a=U.useCallback(((t,r,o="left")=>{const a=NW(e),i=e.current.unstable_getCellColSpanInfo(r,t);i&&i.spannedByColSpan&&("left"===o?t=i.leftVisibleCellIndex:"right"===o&&(t=i.rightVisibleCellIndex));const s=a.findIndex((e=>e.id===r));n.debug(`Navigating to cell row ${s}, col ${t}`),e.current.scrollToIndexes({colIndex:t,rowIndex:s});const l=e.current.getVisibleColumns()[t].field;e.current.setCellFocus(r,l)}),[e,n]),i=U.useCallback(((t,r)=>{n.debug(`Navigating to header col ${t}`),e.current.scrollToIndexes({colIndex:t});const o=e.current.getVisibleColumns()[t].field;e.current.setColumnHeaderFocus(o,r)}),[e,n]),s=U.useCallback((e=>o[e].id),[o]),l=U.useCallback(((t,n)=>{const r=e.current.getRootDimensions();if(0===o.length||!r)return;const l=e.current.unstable_getViewportPageSize(),u=t.field?e.current.getColumnIndex(t.field):0,c=o.findIndex((e=>e.id===t.id)),d=o.length-1,p=xW(e).length-1;let f=!0;switch(n.key){case"ArrowDown":case"Enter":c0?a(u,s(c-1)):i(u,n);break;case"ArrowRight":u0&&a(u-1,s(c));break;case"Tab":n.shiftKey&&u>0?a(u-1,s(c),"left"):!n.shiftKey&&u=0?a(u,s(e)):i(u,n);break}case"Home":n.ctrlKey||n.metaKey||n.shiftKey?a(0,s(0)):a(0,s(c));break;case"End":n.ctrlKey||n.metaKey||n.shiftKey?a(p,s(d)):a(p,s(c));break;default:f=!1}f&&n.preventDefault()}),[e,o,a,i,s]),u=U.useCallback(((t,n)=>{const r=n.currentTarget.querySelector(`.${zG.columnHeaderTitleContainerContent}`);if(!!r&&r.contains(n.target)&&t.field!==YY.field)return;if(!e.current.getRootDimensions())return;const l=e.current.unstable_getViewportPageSize(),u=t.field?e.current.getColumnIndex(t.field):0,c=o.length-1,d=xW(e).length-1;let p=!0;switch(n.key){case"ArrowDown":a(u,s(0));break;case"ArrowRight":u0&&i(u-1,n);break;case"PageDown":null!==c&&a(u,s(Math.min(0+l,c)));break;case"Home":i(0,n);break;case"End":i(d,n);break;case"Enter":(n.ctrlKey||n.metaKey)&&e.current.toggleColumnMenu(t.field);break;case" ":break;default:p=!1}p&&n.preventDefault()}),[e,o,a,i,s]),c=U.useCallback(((t,n)=>{if(!n.currentTarget.contains(n.target))return;const r=e.current.getCellParams(t.id,t.field);r.cellMode!==aq.Edit&&vK(n.key)&&e.current.publishEvent("cellNavigationKeyDown",r,n)}),[e]);zZ(e,"cellNavigationKeyDown",l),zZ(e,"columnHeaderKeyDown",u),zZ(e,"cellKeyDown",c)},XQ=e=>e?0:100,ZQ=e=>t=>Id({},t,{pagination:Id({},t.pagination,{pageSize:e})}),QQ=(e,t)=>t>0&&e>0?Math.ceil(e/t):0,JQ=e=>e.pageCount?Id({},e,{page:Math.max(Math.min(e.page,e.pageCount-1),0)}):e,eJ=e=>t=>Id({},t,{pagination:JQ(Id({},t.pagination,{page:e}))});KG(["MUI: the 'rowCount' prop is undefined while using paginationMode='server'","For more detail, see http://mui.com/components/data-grid/pagination/#basic-implementation"],"error");const tJ=(e,t)=>{var n,r,o,a,i,s,l,u;let c;return c=null!=t.pageSize?t.pageSize:null!=(null==(n=t.initialState)||null==(r=n.pagination)?void 0:r.pageSize)?t.initialState.pagination.pageSize:XQ(t.autoPageSize),Id({},e,{pagination:{pageSize:c,page:null!=(o=null!=(a=t.page)?a:null==(i=t.initialState)||null==(s=i.pagination)?void 0:s.page)?o:0,pageCount:QQ(null!=(l=t.rowCount)?l:0,c),rowCount:null!=(u=t.rowCount)?u:0}})},nJ=(e,t)=>{((e,t)=>{var n,r;const o=ZW(e,"useGridPageSize"),a=XG(e,HW);e.current.unstable_registerControlState({stateId:"pageSize",propModel:t.pageSize,propOnChange:t.onPageSizeChange,stateSelector:gY,changeEvent:"pageSizeChange"});const i=U.useCallback((t=>{t!==gY(e)&&(o.debug(`Setting page size to ${t}`),e.current.setState(ZQ(t)),e.current.forceUpdate())}),[e,o]);JZ(e,{setPageSize:i});const s=U.useCallback(((n,r)=>{var o,a;const i=gY(e);return r.exportOnlyDirtyModels&&null==t.pageSize&&null==(null==(o=t.initialState)||null==(a=o.pagination)?void 0:a.pageSize)&&i===XQ(t.autoPageSize)?n:Id({},n,{pagination:Id({},n.pagination,{pageSize:i})})}),[e,t.pageSize,null==(n=t.initialState)||null==(r=n.pagination)?void 0:r.pageSize,t.autoPageSize]),l=U.useCallback(((t,n)=>{var r;const o=null==(r=n.stateToRestore.pagination)?void 0:r.pageSize;return null!=o&&e.current.setState(ZQ(o)),t}),[e]);oQ(e,"exportState",s),oQ(e,"restoreState",l);const u=U.useCallback((()=>{const n=e.current.getRootDimensions();if(!t.autoPageSize||!n)return;const r=jQ(e),o=Math.floor((n.viewportInnerSize.height-r.top-r.bottom)/a);e.current.setPageSize(o)}),[e,t.autoPageSize,a]);zZ(e,"viewportInnerSizeChange",u),U.useEffect((()=>{null==t.pageSize||t.autoPageSize||e.current.setPageSize(t.pageSize)}),[e,t.autoPageSize,t.pageSize]),U.useEffect((()=>{u()}),[u])})(e,t),((e,t)=>{var n,r;const o=ZW(e,"useGridPage"),a=XG(e,FW);e.current.unstable_registerControlState({stateId:"page",propModel:t.page,propOnChange:t.onPageChange,stateSelector:hY,changeEvent:"pageChange"});const i=U.useCallback((t=>{o.debug(`Setting page to ${t}`),e.current.setState(eJ(t)),e.current.forceUpdate()}),[e,o]);JZ(e,{setPage:i});const s=U.useCallback(((n,r)=>{var o,a;const i=hY(e);return r.exportOnlyDirtyModels&&null==t.page&&null==(null==(o=t.initialState)||null==(a=o.pagination)?void 0:a.page)&&0===i?n:Id({},n,{pagination:Id({},n.pagination,{page:i})})}),[e,t.page,null==(n=t.initialState)||null==(r=n.pagination)?void 0:r.page]),l=U.useCallback(((t,n)=>{var r,o;const a=null!=(r=null==(o=n.stateToRestore.pagination)?void 0:o.page)?r:hY(e);return e.current.setState(eJ(a)),t}),[e]);oQ(e,"exportState",s),oQ(e,"restoreState",l),zZ(e,"pageSizeChange",(t=>{e.current.setState((e=>{const n=QQ(e.pagination.rowCount,t);return Id({},e,{pagination:JQ(Id({},e.pagination,{pageCount:n,page:e.pagination.page}))})})),e.current.forceUpdate()})),zZ(e,"pageChange",(()=>e.current.scrollToIndexes({rowIndex:hY(e)*gY(e)}))),U.useEffect((()=>{}),[t.rowCount,t.paginationMode]),U.useEffect((()=>{e.current.setState((e=>{const n=void 0!==t.rowCount?t.rowCount:a,r=QQ(n,e.pagination.pageSize),o=null==t.page?e.pagination.page:t.page;return Id({},e,{pagination:JQ(Id({},e.pagination,{page:o,rowCount:n,pageCount:r}))})})),e.current.forceUpdate()}),[a,t.rowCount,t.page,t.paginationMode,e])})(e,t)},rJ=(e,t)=>{var n,r;return Id({},e,{preferencePanel:null!=(n=null==(r=t.initialState)?void 0:r.preferencePanel)?n:{open:!1}})},oJ=e=>e.editRows;function aJ(e){return"function"==typeof e.then}const iJ=(e,t)=>{var n;const r=ZW(e,"useGridEditRows"),o=e=>(...n)=>{t.editMode===oq.Cell&&e(...n)},a=U.useCallback(((t,n,o)=>{e.current.getCellMode(t,n)!==o&&(r.debug(`Switching cell id: ${t} field: ${n} to mode: ${o}`),e.current.setState((r=>{const a=Id({},r.editRows);return a[t]=Id({},a[t]),o===aq.Edit?a[t][n]={value:e.current.getCellValue(t,n)}:(delete a[t][n],Object.keys(a[t]).length||delete a[t]),Id({},r,{editRows:a})})),e.current.forceUpdate(),e.current.publishEvent("cellModeChange",e.current.getCellParams(t,n)))}),[e,r]),i=U.useCallback(((t,n)=>{const r=oJ(e.current.state);return r[t]&&r[t][n]?aq.Edit:aq.View}),[e]),s=U.useCallback(((n,r={})=>{var o;const{id:a,field:i}=n;e.current.unstable_runPendingEditCellValueMutation(a,i);const s=e.current.getEditRowsModel();if(!s[a]||!s[a][i])throw new Error(`MUI: Cell at id: ${a} and field: ${i} is not in edit mode.`);const l=s[a][i],u=e.current.getColumn(i),c=e.current.getRow(a);if(null!=(o=t.experimentalFeatures)&&o.preventCommitWhileValidating){const e=s[a][i];if(e.isValidating||e.error)return!1}const d=Id({},n,{value:l.value});let p=!!l.error;if(!p&&"function"==typeof u.preProcessEditCellProps){const t=u.preProcessEditCellProps({id:a,row:c,props:l});if(aJ(t))return t.then((t=>(e.current.unstable_setEditCellProps({id:a,field:i,props:t}),!t.error&&(e.current.publishEvent("cellEditCommit",d,r),!0))));e.current.unstable_setEditCellProps({id:a,field:i,props:t}),p=!!t.error}return!p&&(e.current.publishEvent("cellEditCommit",d,r),!0)}),[e,null==(n=t.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),l=U.useCallback((t=>{const n=e.current.getColumn(t.field),r=e.current.getRow(t.id);return new Promise((o=>{let a={value:t.value};const i=e.current.getEditRowsModel()[t.id][t.field];if("function"!=typeof n.preProcessEditCellProps)return e.current.unstable_setEditCellProps(Id({},t,{props:a})),void o(!0);a=e.current.unstable_setEditCellProps(Id({},t,{props:Id({},i,{isValidating:!0})})),Promise.resolve(n.preProcessEditCellProps({id:t.id,row:r,props:Id({},a,{value:e.current.unstable_parseValue(t.id,t.field,t.value)})})).then((n=>{e.current.unstable_setEditCellProps(Id({},t,{props:Id({},n,{isValidating:!1})})),o(!n.error)}))}))}),[e]);JZ(e,{setCellMode:a,getCellMode:i,commitCellChange:s,unstable_setCellEditingEditCellValue:l});const u=U.useCallback((async(t,n)=>{if(229===n.which)return;const{id:r,field:o,cellMode:a,isEditable:i}=t;if(!i)return;const s=a===aq.Edit,l=n.ctrlKey||n.metaKey||n.altKey;if(s||!(e=>cK(e.key)||fK(e.key)||mK(e))(n)||l||" "===n.key&&n.shiftKey||e.current.publishEvent("cellEditStart",t,n),!s&&fK(n.key)&&(e.current.setEditCellValue({id:r,field:o,value:""}),e.current.commitCellChange({id:r,field:o},n),e.current.publishEvent("cellEditStop",t,n)),s&&bK(n.key)){const t={id:r,field:o};if(!(await e.current.commitCellChange(t,n)))return}var u;s&&(u=n.key,hK.indexOf(u)>-1)&&e.current.publishEvent("cellEditStop",t,n)}),[e]),c=U.useCallback(((t,n)=>{t.isEditable&&e.current.publishEvent("cellEditStart",t,n)}),[e]),d=async(t,n)=>{t.cellMode!==aq.View&&(await e.current.commitCellChange(t,n),e.current.publishEvent("cellEditStop",t,n))},p=Pg(((e,t)=>{d(e,t)})),f=Pg((()=>{const t=bq(e);if(!t)return;const n=e.current.getCellParams(t.id,t.field);d(n,{})})),m=U.useCallback(((t,n)=>{t.isEditable&&(e.current.setCellMode(t.id,t.field,aq.Edit),yK(n)&&mK(n)&&e.current.unstable_setEditCellProps({id:t.id,field:t.field,props:{value:""}}))}),[e]),h=U.useCallback(((t,n)=>{e.current.setCellMode(t.id,t.field,aq.View),yK(n)&&(bK(n.key)?e.current.publishEvent("cellNavigationKeyDown",t,n):("Escape"===n.key||fK(n.key))&&e.current.setCellFocus(t.id,t.field))}),[e]),g=U.useCallback((t=>{const{id:n,field:o}=t,a=e.current.getEditRowsModel(),{value:i}=a[n][o];r.debug(`Setting cell id: ${n} field: ${o} to value: ${null==i?void 0:i.toString()}`);const s=e.current.getRow(n);if(s){const n=e.current.getColumn(t.field);let r=Id({},s,{[o]:i});n.valueSetter&&(r=n.valueSetter({row:s,value:i})),e.current.updateRows([r])}}),[e,r]),b=U.useCallback((t=>{const n=e.current.getRow(t.id),r=e.current.getColumn(t.field),o=r.preProcessEditCellProps?r.preProcessEditCellProps({id:t.id,row:n,props:t.props}):t.props;aJ(o)?o.then((n=>{e.current.unstable_setEditCellProps(Id({},t,{props:n}))})):e.current.unstable_setEditCellProps(Id({},t,{props:o}))}),[e]);zZ(e,"cellKeyDown",o(u)),zZ(e,"cellDoubleClick",o(c)),zZ(e,"cellFocusOut",o(p)),zZ(e,"columnHeaderDragStart",o(f)),zZ(e,"cellEditStart",o(m)),zZ(e,"cellEditStop",o(h)),zZ(e,"cellEditCommit",o(g)),zZ(e,"editCellPropsChange",o(b)),HZ(e,"cellEditCommit",t.onCellEditCommit),HZ(e,"cellEditStart",t.onCellEditStart),HZ(e,"cellEditStop",t.onCellEditStop)},sJ=e=>Id({},e,{editRows:{}});function lJ(e,t){var n;const r=ZW(e,"useGridEditRows");iJ(e,t),((e,t)=>{var n,r;const o=U.useRef(null),a=U.useRef(null),i=XG(e,wW),s=e=>(...n)=>{t.editMode===oq.Row&&e(...n)},l=U.useCallback(((t,n)=>{n!==e.current.getRowMode(t)&&(e.current.setState((r=>{const o=Id({},r.editRows);return n===iq.Edit?(o[t]={},i.forEach((n=>{const r=e.current.getCellParams(t,n.field);r.isEditable&&(o[t][n.field]={value:r.value})}))):delete o[t],Id({},r,{editRows:o})})),e.current.forceUpdate())}),[e,i]),u=U.useCallback((n=>t.editMode===oq.Cell?iq.View:oJ(e.current.state)[n]?iq.Edit:iq.View),[e,t.editMode]),c=U.useCallback(((n,r={})=>{var o;if(t.editMode===oq.Cell)throw new Error("MUI: You can't commit changes when the edit mode is 'cell'.");e.current.unstable_runPendingEditCellValueMutation(n);const a=e.current.getEditRowsModel()[n];if(!a)throw new Error(`MUI: Row at id: ${n} is not being edited.`);if(null!=(o=t.experimentalFeatures)&&o.preventCommitWhileValidating&&!Object.keys(a).reduce(((e,t)=>e&&!a[t].isValidating&&!a[t].error),!0))return!1;if(Object.values(a).some((e=>!!e.error)))return!1;const i=Object.keys(a).filter((t=>"function"==typeof e.current.getColumn(t).preProcessEditCellProps));if(i.length>0){const t=e.current.getRow(n),o=i.map((async r=>{const o=e.current.getColumn(r),i=await Promise.resolve(o.preProcessEditCellProps({id:n,row:t,props:a[r]}));return e.current.unstable_setEditCellProps({id:n,field:r,props:i}),i.error}));return Promise.all(o).then((t=>!t.some((e=>!!e))&&(e.current.publishEvent("rowEditCommit",n,r),!0)))}return e.current.publishEvent("rowEditCommit",n,r),!0}),[e,t.editMode,null==(n=t.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),d=U.useCallback((t=>{const n=e.current.getEditRowsModel()[t.id],r=e.current.getRow(t.id);let o=!0;return new Promise((a=>{Object.keys(n).forEach((async a=>{const i=e.current.getColumn(a);let s=a===t.field?{value:t.value}:n[a];s=e.current.unstable_setEditCellProps({id:t.id,field:a,props:Id({},s,{isValidating:!0})}),i.preProcessEditCellProps&&(s=await Promise.resolve(i.preProcessEditCellProps({id:t.id,row:r,props:Id({},s,{value:a===t.field?e.current.unstable_parseValue(t.id,a,t.value):s.value})}))),s.error&&(o=!1),e.current.unstable_setEditCellProps({id:t.id,field:a,props:Id({},s,{isValidating:!1})})})),a(o)}))}),[e]);JZ(e,{setRowMode:l,getRowMode:u,commitRowChange:c,unstable_setRowEditingEditCellValue:d});const p=U.useCallback((async(n,r)=>{if(229===r.which)return;const{cellMode:o,isEditable:a}=n;if(!a)return;const i=o===aq.Edit,s=e.current.getRowParams(n.id);if(i)if("Enter"===r.key){var l;if(!(await e.current.commitRowChange(n.id))&&null!=(l=t.experimentalFeatures)&&l.preventCommitWhileValidating)return;e.current.publishEvent("rowEditStop",s,r)}else"Escape"===r.key&&e.current.publishEvent("rowEditStop",s,r);else"Enter"===r.key&&e.current.publishEvent("rowEditStart",s,r)}),[e,null==(r=t.experimentalFeatures)?void 0:r.preventCommitWhileValidating]),f=U.useCallback(((t,n)=>{if(!t.isEditable)return;const r=e.current.getRowParams(t.id);e.current.publishEvent("rowEditStart",r,n)}),[e]),m=U.useCallback((t=>{const n=e.current.getRow(t.id),r=e.current.getEditRowsModel()[t.id];Object.keys(r).forEach((async o=>{const a=e.current.getColumn(o);if(a.preProcessEditCellProps){const i=o===t.field?t.props:r[o],s=await Promise.resolve(a.preProcessEditCellProps({id:t.id,row:n,props:i}));e.current.unstable_setEditCellProps({id:t.id,field:o,props:s})}else o===t.field&&e.current.unstable_setEditCellProps(t)}))}),[e]),h=U.useCallback((t=>{e.current.setRowMode(t.id,iq.Edit)}),[e]),g=U.useCallback(((t,n)=>{e.current.setRowMode(t.id,iq.View),"Enter"===n.key&&e.current.publishEvent("cellNavigationKeyDown",t,n)}),[e]),b=U.useCallback((t=>{const n=e.current.getEditRowsModel()[t];if(!n)throw new Error(`MUI: Row at id: ${t} is not being edited.`);const r=e.current.getRow(t);if(r){let t=Id({},r);Object.keys(n).forEach((r=>{const o=e.current.getColumn(r),a=n[r].value;o.valueSetter?t=o.valueSetter({row:t,value:a}):t[r]=a})),e.current.updateRows([t])}}),[e]),v=U.useCallback((e=>{a.current=e}),[]),y=async(t,n)=>{t.cellMode!==aq.View&&(a.current=null,o.current=setTimeout((async()=>{var r;if((null==(r=a.current)?void 0:r.id)!==t.id){await e.current.commitRowChange(t.id,n);const r=e.current.getRowParams(t.id);e.current.publishEvent("rowEditStop",r,n)}})))},w=Pg(((e,t)=>{y(e,t)})),S=Pg((()=>{const t=bq(e);if(!t)return;const n=e.current.getCellParams(t.id,t.field);y(n,{})}));zZ(e,"cellKeyDown",s(p)),zZ(e,"cellDoubleClick",s(f)),zZ(e,"editCellPropsChange",s(m)),zZ(e,"rowEditStart",s(h)),zZ(e,"rowEditStop",s(g)),zZ(e,"rowEditCommit",s(b)),zZ(e,"cellFocusIn",s(v)),zZ(e,"cellFocusOut",s(w)),zZ(e,"columnHeaderDragStart",s(S)),HZ(e,"rowEditCommit",t.onRowEditCommit),HZ(e,"rowEditStart",t.onRowEditStart),HZ(e,"rowEditStop",t.onRowEditStop)})(e,t);const o=U.useRef({});e.current.unstable_registerControlState({stateId:"editRows",propModel:t.editRowsModel,propOnChange:t.onEditRowsModelChange,stateSelector:oJ,changeEvent:"editRowsModelChange"});const a=U.useCallback((e=>!e.rowNode.isAutoGenerated&&!e.rowNode.isPinned&&!!e.colDef.editable&&!!e.colDef.renderEditCell&&(!t.isCellEditable||t.isCellEditable(e))),[t.isCellEditable]),i=U.useCallback(((e,t)=>{if(o.current[e])if(t){if(o.current[e][t]){const[,n]=o.current[e][t];n()}}else Object.keys(o.current[e]).forEach((t=>{const[,n]=o.current[e][t];n()}))}),[]),s=U.useCallback(((n,r={})=>{((e,t,n,r)=>{if(!n)return void r();if(o.current[e]||(o.current[e]={}),o.current[e][t]){const[n]=o.current[e][t];clearTimeout(n)}const a=setTimeout((()=>{r(),delete o.current[e][t]}),n);o.current[e][t]=[a,()=>{r();const[n]=o.current[e][t];clearTimeout(n),delete o.current[e][t]}]})(n.id,n.field,n.debounceMs,(()=>{var o;if(null!=(o=t.experimentalFeatures)&&o.preventCommitWhileValidating)return"row"===t.editMode?e.current.unstable_setRowEditingEditCellValue(n):e.current.unstable_setCellEditingEditCellValue(n);const a={id:n.id,field:n.field,props:{value:n.value}};return e.current.publishEvent("editCellPropsChange",a,r)}))}),[e,t.editMode,null==(n=t.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),l=U.useCallback(((t,n,r)=>{const o=e.current.getColumn(n);return o.valueParser?o.valueParser(r,e.current.getCellParams(t,n)):r}),[e]),u=U.useCallback((t=>{const{id:n,field:o,props:a}=t;r.debug(`Setting cell props on id: ${n} field: ${o}`),e.current.setState((e=>{const t=Id({},e.editRows);return t[n]=Id({},e.editRows[n]),t[n][o]=Id({},a,{value:l(n,o,a.value)}),Id({},e,{editRows:t})})),e.current.forceUpdate();return oJ(e.current.state)[n][o]}),[e,r,l]),c=U.useCallback((t=>{oJ(e.current.state)!==t&&(r.debug("Setting editRows model"),e.current.setState((e=>Id({},e,{editRows:t}))),e.current.forceUpdate())}),[e,r]),d=U.useCallback((()=>oJ(e.current.state)),[e]),p=U.useCallback(((e,t)=>{const n=t.detail>1;e.isEditable&&e.cellMode===aq.View&&n&&t.preventDefault()}),[]);zZ(e,"cellMouseDown",p),HZ(e,"editCellPropsChange",t.onEditCellPropsChange);JZ(e,{isCellEditable:a,setEditRowsModel:c,getEditRowsModel:d,setEditCellValue:s,unstable_setEditCellProps:u,unstable_parseValue:l,unstable_runPendingEditCellValueMutation:i}),U.useEffect((()=>{void 0!==t.editRowsModel&&e.current.setEditRowsModel(t.editRowsModel)}),[e,t.editRowsModel])}const uJ=["id","field"],cJ=["id","field"],dJ=KG(["MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.","To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. ` ...} />`.","For more detail, see http://mui.com/components/data-grid/editing/#persistence."],"error"),pJ=["id"],fJ=["id"],mJ=KG(["MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.","To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. ` ...} />`.","For more detail, see http://mui.com/components/data-grid/editing/#persistence."],"error"),hJ=e=>Id({},e,{editRows:{}}),gJ=(e,t)=>{((e,t)=>{const[n,r]=U.useState({}),o=U.useRef(n),a=U.useRef({}),{processRowUpdate:i,onProcessRowUpdateError:s,cellModesModel:l,onCellModesModelChange:u,signature:c}=t,d=e=>(...n)=>{t.editMode===oq.Cell&&e(...n)},p=U.useCallback(((t,n)=>{const r=e.current.getCellParams(t,n);if(!e.current.isCellEditable(r))throw new Error(`MUI: The cell with id=${t} and field=${n} is not editable.`)}),[e]),f=U.useCallback(((t,n,r)=>{if(e.current.getCellMode(t,n)!==r)throw new Error(`MUI: The cell with id=${t} and field=${n} is not in ${r} mode.`)}),[e]),m=U.useCallback(((t,n)=>{if(!t.isEditable)return;if(t.cellMode===aq.Edit)return;const r=Id({},t,{reason:cq.cellDoubleClick});e.current.publishEvent("cellEditStart",r,n)}),[e]),h=U.useCallback(((t,n)=>{if(t.cellMode===aq.View)return;if(e.current.getCellMode(t.id,t.field)===aq.View)return;const r=Id({},t,{reason:dq.cellFocusOut});e.current.publishEvent("cellEditStop",r,n)}),[e]),g=U.useCallback(((t,n)=>{if(t.cellMode===aq.Edit){if(229===n.which)return;let r;if("Escape"===n.key?r=dq.escapeKeyDown:"Enter"===n.key?r=dq.enterKeyDown:"Tab"===n.key&&(r=n.shiftKey?dq.shiftTabKeyDown:dq.tabKeyDown,n.preventDefault()),r){const o=Id({},t,{reason:r});e.current.publishEvent("cellEditStop",o,n)}}else if(t.isEditable){let r;if(" "===n.key&&n.shiftKey)return;if(mK(n)||(n.ctrlKey||n.metaKey)&&"v"===n.key?r=cq.printableKeyDown:"Enter"===n.key?r=cq.enterKeyDown:"Delete"!==n.key&&"Backspace"!==n.key||(r=cq.deleteKeyDown),r){const o=Id({},t,{reason:r,key:n.key});e.current.publishEvent("cellEditStart",o,n)}}}),[e]),b=U.useCallback((t=>{const{id:n,field:r,reason:o,key:a}=t,i={id:n,field:r};o===cq.printableKeyDown?U.version.startsWith("18")?i.initialValue=a:i.deleteValue=!0:o===cq.deleteKeyDown&&(i.deleteValue=!0),e.current.startCellEditMode(i)}),[e]),v=U.useCallback((n=>{const{id:r,field:o,reason:a}=n;let i;e.current.unstable_runPendingEditCellValueMutation(r,o),a===dq.enterKeyDown?i="below":a===dq.tabKeyDown?i="right":a===dq.shiftTabKeyDown&&(i="left");let s="escapeKeyDown"===a;oJ(e.current.state)[r][o].isProcessingProps&&!t.disableIgnoreModificationsIfProcessingProps&&(s=!0),e.current.stopCellEditMode({id:r,field:o,ignoreModifications:s,cellToFocusAfter:i})}),[e,t.disableIgnoreModificationsIfProcessingProps]);zZ(e,"cellDoubleClick",d(m)),zZ(e,"cellFocusOut",d(h)),zZ(e,"cellKeyDown",d(g)),zZ(e,"cellEditStart",d(b)),zZ(e,"cellEditStop",d(v)),HZ(e,"cellEditStart",t.onCellEditStart),HZ(e,"cellEditStop",t.onCellEditStop);const y=U.useCallback(((t,n)=>{const r=oJ(e.current.state);return r[t]&&r[t][n]?aq.Edit:aq.View}),[e]),w=Pg((n=>{const a=n!==t.cellModesModel;if(u&&a){const t=c===$Z.DataGridPro?{api:e.current}:{};u(n,t)}t.cellModesModel&&a||(r(n),o.current=n,e.current.publishEvent("cellModesModelChange",n))})),S=U.useCallback(((e,t,n)=>{const r=Id({},o.current);if(null!==n)r[e]=Id({},r[e],{[t]:Id({},n)});else{const n=_d(r[e],[t].map(fb));r[e]=n,0===Object.keys(r[e]).length&&delete r[e]}w(r)}),[w]),x=U.useCallback(((t,n,r)=>{e.current.setState((e=>{const o=Id({},e.editRows);return null!==r?o[t]=Id({},o[t],{[n]:Id({},r)}):(delete o[t][n],0===Object.keys(o[t]).length&&delete o[t]),Id({},e,{editRows:o})})),e.current.forceUpdate()}),[e]),E=U.useCallback((e=>{const{id:t,field:n}=e,r=_d(e,uJ);p(t,n),f(t,n,aq.View),S(t,n,Id({mode:aq.Edit},r))}),[p,f,S]),C=Pg((t=>{const{id:n,field:r,deleteValue:o,initialValue:a}=t;let i=e.current.getCellValue(n,r);(o||a)&&(i=o?"":a),x(n,r,{value:i,error:!1,isProcessingProps:!1}),e.current.setCellFocus(n,r)})),k=U.useCallback((e=>{const{id:t,field:n}=e,r=_d(e,cJ);f(t,n,aq.Edit),S(t,n,Id({mode:aq.View},r))}),[f,S]),R=Pg((async t=>{const{id:n,field:r,ignoreModifications:o,cellToFocusAfter:l="none"}=t;f(n,r,aq.Edit),e.current.unstable_runPendingEditCellValueMutation(n,r);const u=()=>{x(n,r,null),S(n,r,null),"none"!==l&&e.current.unstable_moveFocusToRelativeCell(n,r,l)};if(o)return void u();const c=oJ(e.current.state),{error:d,isProcessingProps:p}=c[n][r];if(d||p)return a.current[n][r].mode=aq.Edit,void S(n,r,{mode:aq.Edit});const m=e.current.unstable_getRowWithUpdatedValuesFromCellEditing(n,r);if(i){const t=e=>{a.current[n][r].mode=aq.Edit,S(n,r,{mode:aq.Edit}),s?s(e):dJ()};try{const r=e.current.getRow(n);Promise.resolve(i(m,r)).then((t=>{e.current.updateRows([t]),u()})).catch(t)}catch(h){t(h)}}else e.current.updateRows([m]),u()})),T=U.useCallback((async t=>{var n,r;const{id:o,field:a,value:i,debounceMs:s,unstable_skipValueParser:l}=t;p(o,a),f(o,a,aq.Edit);const u=e.current.getColumn(a),c=e.current.getRow(o);let d=i;u.valueParser&&!l&&(d=u.valueParser(i,e.current.getCellParams(o,a)));let m=oJ(e.current.state),h=Id({},m[o][a],{value:d,changeReason:s?"debouncedSetEditCellValue":"setEditCellValue"});if(u.preProcessEditCellProps){const e=i!==m[o][a].value;h=Id({},h,{isProcessingProps:!0}),x(o,a,h),h=await Promise.resolve(u.preProcessEditCellProps({id:o,row:c,props:h,hasChanged:e}))}return e.current.getCellMode(o,a)!==aq.View&&(m=oJ(e.current.state),h=Id({},h,{isProcessingProps:!1}),h.value=u.preProcessEditCellProps?m[o][a].value:d,x(o,a,h),m=oJ(e.current.state),!(null!=(n=m[o])&&null!=(r=n[a])&&r.error))}),[e,p,f,x]),I=U.useCallback(((t,n)=>{const r=e.current.getColumn(n),o=oJ(e.current.state),{value:a}=o[t][n],i=e.current.getRow(t);return r.valueSetter?r.valueSetter({value:a,row:i}):Id({},i,{[n]:a})}),[e]);JZ(e,{getCellMode:y,startCellEditMode:E,stopCellEditMode:k,unstable_setCellEditingEditCellValue:T,unstable_getRowWithUpdatedValuesFromCellEditing:I}),U.useEffect((()=>{l&&w(l)}),[l,w]),U.useEffect((()=>{const t=oW(e),r=a.current;a.current=$Y(n),Object.entries(n).forEach((([e,n])=>{Object.entries(n).forEach((([n,o])=>{var a,i,s;const l=(null==(a=r[e])||null==(i=a[n])?void 0:i.mode)||aq.View,u=null!=(s=t[e])?s:e;o.mode===aq.Edit&&l===aq.View?C(Id({id:u,field:n},o)):o.mode===aq.View&&l===aq.Edit&&R(Id({id:u,field:n},o))}))}))}),[e,n,C,R])})(e,t),((e,t)=>{const[n,r]=U.useState({}),o=U.useRef(n),a=U.useRef({}),i=U.useRef(null),s=U.useRef(null),{processRowUpdate:l,onProcessRowUpdateError:u,rowModesModel:c,onRowModesModelChange:d,signature:p}=t,f=e=>(...n)=>{t.editMode===oq.Row&&e(...n)},m=U.useCallback(((t,n)=>{const r=e.current.getCellParams(t,n);if(!e.current.isCellEditable(r))throw new Error(`MUI: The cell with id=${t} and field=${n} is not editable.`)}),[e]),h=U.useCallback(((t,n)=>{if(e.current.getRowMode(t)!==n)throw new Error(`MUI: The row with id=${t} is not in ${n} mode.`)}),[e]),g=U.useCallback(((t,n)=>{if(!t.isEditable)return;if(e.current.getRowMode(t.id)===iq.Edit)return;const r=Id({},e.current.getRowParams(t.id),{field:t.field,reason:pq.cellDoubleClick});e.current.publishEvent("rowEditStart",r,n)}),[e]),b=U.useCallback((e=>{s.current=e}),[]),v=U.useCallback(((t,n)=>{t.isEditable&&e.current.getRowMode(t.id)!==iq.View&&(s.current=null,i.current=setTimeout((()=>{var r;if(i.current=null,(null==(r=s.current)?void 0:r.id)!==t.id){if(!e.current.getRow(t.id))return;if(e.current.getRowMode(t.id)===iq.View)return;const r=Id({},e.current.getRowParams(t.id),{field:t.field,reason:fq.rowFocusOut});e.current.publishEvent("rowEditStop",r,n)}})))}),[e]);U.useEffect((()=>()=>{clearTimeout(i.current)}),[]);const y=U.useCallback(((t,n)=>{if(t.cellMode===iq.Edit){if(229===n.which)return;let r;if("Escape"===n.key)r=fq.escapeKeyDown;else if("Enter"===n.key)r=fq.enterKeyDown;else if("Tab"===n.key){const o=vW(e).filter((n=>e.current.isCellEditable(e.current.getCellParams(t.id,n))));n.shiftKey?t.field===o[0]&&(r=fq.shiftTabKeyDown):t.field===o[o.length-1]&&(r=fq.tabKeyDown),r&&n.preventDefault()}if(r){const o=Id({},e.current.getRowParams(t.id),{reason:r,field:t.field});e.current.publishEvent("rowEditStop",o,n)}}else if(t.isEditable){let r;if(" "===n.key&&n.shiftKey)return;if(mK(n)||(n.ctrlKey||n.metaKey)&&"v"===n.key?r=pq.printableKeyDown:"Enter"===n.key?r=pq.enterKeyDown:"Delete"!==n.key&&"Backspace"!==n.key||(r=pq.deleteKeyDown),r){const o=Id({},e.current.getRowParams(t.id),{field:t.field,key:n.key,reason:r});e.current.publishEvent("rowEditStart",o,n)}}}),[e]),w=U.useCallback((t=>{const{id:n,field:r,reason:o,key:a}=t,i={id:n,fieldToFocus:r};o===pq.printableKeyDown?U.version.startsWith("18")?i.initialValue=a:i.deleteValue=!!r:o===pq.deleteKeyDown&&(i.deleteValue=!!r),e.current.startRowEditMode(i)}),[e]),S=U.useCallback((n=>{const{id:r,reason:o,field:a}=n;let i;e.current.unstable_runPendingEditCellValueMutation(r),o===fq.enterKeyDown?i="below":o===fq.tabKeyDown?i="right":o===fq.shiftTabKeyDown&&(i="left");let s="escapeKeyDown"===o;const l=oJ(e.current.state);s||t.disableIgnoreModificationsIfProcessingProps||(s=Object.values(l[r]).some((e=>e.isProcessingProps))),e.current.stopRowEditMode({id:r,ignoreModifications:s,field:a,cellToFocusAfter:i})}),[e,t.disableIgnoreModificationsIfProcessingProps]);zZ(e,"cellDoubleClick",f(g)),zZ(e,"cellFocusIn",f(b)),zZ(e,"cellFocusOut",f(v)),zZ(e,"cellKeyDown",f(y)),zZ(e,"rowEditStart",f(w)),zZ(e,"rowEditStop",f(S)),HZ(e,"rowEditStart",t.onRowEditStart),HZ(e,"rowEditStop",t.onRowEditStop);const x=U.useCallback((n=>{if(t.editMode===oq.Cell)return iq.View;const r=oJ(e.current.state);return r[n]&&Object.keys(r[n]).length>0?iq.Edit:iq.View}),[e,t.editMode]),E=Pg((n=>{const a=n!==t.rowModesModel;if(d&&a){const t=p===$Z.DataGridPro?{api:e.current}:{};d(n,t)}t.rowModesModel&&a||(r(n),o.current=n,e.current.publishEvent("rowModesModelChange",n))})),C=U.useCallback(((e,t)=>{const n=Id({},o.current);null!==t?n[e]=Id({},t):delete n[e],E(n)}),[E]),k=U.useCallback(((t,n)=>{e.current.setState((e=>{const r=Id({},e.editRows);return null!==n?r[t]=n:delete r[t],Id({},e,{editRows:r})})),e.current.forceUpdate()}),[e]),R=U.useCallback(((t,n,r)=>{e.current.setState((e=>{const o=Id({},e.editRows);return null!==r?o[t]=Id({},o[t],{[n]:Id({},r)}):(delete o[t][n],0===Object.keys(o[t]).length&&delete o[t]),Id({},e,{editRows:o})})),e.current.forceUpdate()}),[e]),T=U.useCallback((e=>{const{id:t}=e,n=_d(e,pJ);h(t,iq.View),C(t,Id({mode:iq.Edit},n))}),[h,C]),I=Pg((t=>{const{id:n,fieldToFocus:r,deleteValue:o,initialValue:a}=t,i=vW(e).reduce(((t,i)=>{if(!e.current.getCellParams(n,i).isEditable)return t;let s=e.current.getCellValue(n,i);return r===i&&(o||a)&&(s=o?"":a),t[i]={value:s,error:!1,isProcessingProps:!1},t}),{});k(n,i),r&&e.current.setCellFocus(n,r)})),_=U.useCallback((e=>{const{id:t}=e,n=_d(e,fJ);h(t,iq.Edit),C(t,Id({mode:iq.View},n))}),[h,C]),A=Pg((t=>{const{id:n,ignoreModifications:r,field:o,cellToFocusAfter:i="none"}=t;e.current.unstable_runPendingEditCellValueMutation(n);const s=()=>{"none"!==i&&o&&e.current.unstable_moveFocusToRelativeCell(n,o,i),k(n,null),C(n,null)};if(r)return void s();const c=oJ(e.current.state),d=e.current.getRow(n);if(Object.values(c[n]).some((e=>e.isProcessingProps)))return void(a.current[n].mode=iq.Edit);if(Object.values(c[n]).some((e=>e.error)))return a.current[n].mode=iq.Edit,void C(n,{mode:iq.Edit});const p=e.current.unstable_getRowWithUpdatedValuesFromRowEditing(n);if(l){const t=e=>{a.current[n].mode=iq.Edit,C(n,{mode:iq.Edit}),u?u(e):mJ()};try{Promise.resolve(l(p,d)).then((t=>{e.current.updateRows([t]),s()})).catch(t)}catch(f){t(f)}}else e.current.updateRows([p]),s()})),O=U.useCallback((t=>{const{id:n,field:r,value:o,debounceMs:a,unstable_skipValueParser:i}=t;m(n,r);const s=e.current.getColumn(r),l=e.current.getRow(n);let u=o;s.valueParser&&!i&&(u=s.valueParser(o,e.current.getCellParams(n,r)));let c=oJ(e.current.state),d=Id({},c[n][r],{value:u,changeReason:a?"debouncedSetEditCellValue":"setEditCellValue"});return s.preProcessEditCellProps||R(n,r,d),new Promise((t=>{const o=[];if(s.preProcessEditCellProps){const a=d.value!==c[n][r].value;d=Id({},d,{isProcessingProps:!0}),R(n,r,d);const i=_d(c[n],[r].map(fb)),p=Promise.resolve(s.preProcessEditCellProps({id:n,row:l,props:d,hasChanged:a,otherFieldsProps:i})).then((o=>{e.current.getRowMode(n)!==iq.View?(c=oJ(e.current.state),(o=Id({},o,{isProcessingProps:!1})).value=s.preProcessEditCellProps?c[n][r].value:u,R(n,r,o)):t(!1)}));o.push(p)}Object.entries(c[n]).forEach((([a,i])=>{if(a===r)return;const s=e.current.getColumn(a);if(!s.preProcessEditCellProps)return;i=Id({},i,{isProcessingProps:!0}),R(n,a,i),c=oJ(e.current.state);const u=_d(c[n],[a].map(fb)),d=Promise.resolve(s.preProcessEditCellProps({id:n,row:l,props:i,hasChanged:!1,otherFieldsProps:u})).then((r=>{e.current.getRowMode(n)!==iq.View?(r=Id({},r,{isProcessingProps:!1}),R(n,a,r)):t(!1)}));o.push(d)})),Promise.all(o).then((()=>{e.current.getRowMode(n)===iq.Edit?(c=oJ(e.current.state),t(!c[n][r].error)):t(!1)}))}))}),[e,m,R]),N=U.useCallback((t=>{const n=oJ(e.current.state);let r=Id({},e.current.getRow(t));return Object.entries(n[t]).forEach((([t,n])=>{const o=e.current.getColumn(t);o.valueSetter?r=o.valueSetter({value:n.value,row:r}):r[t]=n.value})),r}),[e]);JZ(e,{getRowMode:x,startRowEditMode:T,stopRowEditMode:_,unstable_setRowEditingEditCellValue:O,unstable_getRowWithUpdatedValuesFromRowEditing:N}),U.useEffect((()=>{c&&E(c)}),[c,E]),U.useEffect((()=>{const t=oW(e),r=a.current;a.current=$Y(n),Object.entries(n).forEach((([e,n])=>{var o,a;const i=(null==(o=r[e])?void 0:o.mode)||iq.View,s=null!=(a=t[e])?a:e;n.mode===iq.Edit&&i===iq.View?I(Id({id:s},n)):n.mode===iq.View&&i===iq.Edit&&A(Id({id:s},n))}))}),[e,n,I,A])})(e,t);const n=U.useRef({}),{isCellEditable:r}=t,o=U.useCallback((e=>!e.rowNode.isAutoGenerated&&(!!e.colDef.editable&&(!!e.colDef.renderEditCell&&(r?r(e):!e.rowNode.isPinned)))),[r]);U.useEffect((()=>{const e=n.current;return()=>{Object.entries(e).forEach((([t,n])=>{Object.keys(n).forEach((n=>{const[r]=e[t][n];clearTimeout(r),delete e[t][n]}))}))}}),[]);const a=U.useCallback(((e,t)=>{if(n.current[e])if(t){if(n.current[e][t]){const[,r]=n.current[e][t];r()}}else Object.keys(n.current[e]).forEach((t=>{const[,r]=n.current[e][t];r()}))}),[]),i=U.useCallback((r=>{const{id:o,field:a,debounceMs:i}=r;return new Promise((s=>{((e,t,r,o)=>{if(!r)return void o();if(n.current[e]||(n.current[e]={}),n.current[e][t]){const[r]=n.current[e][t];clearTimeout(r)}const a=setTimeout((()=>{o(),delete n.current[e][t]}),r);n.current[e][t]=[a,()=>{const[r]=n.current[e][t];clearTimeout(r),o(),delete n.current[e][t]}]})(o,a,i,(async()=>{const n=t.editMode===oq.Row?e.current.unstable_setRowEditingEditCellValue:e.current.unstable_setCellEditingEditCellValue;if(e.current.getCellMode(o,a)===aq.Edit){const e=await n(r);s(e)}}))}))}),[e,t.editMode]),s=U.useCallback(((n,r)=>t.editMode===oq.Cell?e.current.unstable_getRowWithUpdatedValuesFromCellEditing(n,r):e.current.unstable_getRowWithUpdatedValuesFromRowEditing(n)),[e,t.editMode]),l=U.useCallback(((t,n)=>({changeReason:oJ(e.current.state)[t][n].changeReason})),[e]);JZ(e,{isCellEditable:o,setEditCellValue:i,unstable_runPendingEditCellValueMutation:a,unstable_getRowWithUpdatedValues:s,unstable_getEditCellMeta:l})},bJ=(e,t,n)=>(n.current.unstable_caches.rows=LQ({rows:t.rows,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),Id({},e,{rows:MQ({apiRef:n,previousTree:null,rowCountProp:t.rowCount,loadingProp:t.loading})})),vJ=({ids:e,idRowsLookup:t,idToIdLookup:n,previousTree:r})=>{const o={};for(let a=0;a({field:t,colDef:e.current.getColumn(t)})),[e]),n=U.useCallback(((...t)=>e.current.getCellValue(...t)),[e]),r=U.useCallback((t=>{const r=e.current.getRow(t);if(!r)throw new Error(`No row with id #${t} found`);return{id:t,columns:e.current.getAllColumns(),row:r,getValue:n}}),[e,n]),o=U.useCallback(((t,r)=>{const o=e.current.getRow(t),a=e.current.getRowNode(t);if(!o||!a)throw new Error(`No row with id #${t} found`);const i=bq(e),s=wq(e);return{id:t,field:r,row:o,rowNode:a,value:o[r],colDef:e.current.getColumn(r),cellMode:e.current.getCellMode(t,r),getValue:n,api:e.current,hasFocus:null!==i&&i.field===r&&i.id===t,tabIndex:s&&s.field===r&&s.id===t?0:-1}}),[e,n]),a=U.useCallback(((t,r)=>{const o=e.current.getColumn(r),a=e.current.getCellValue(t,r),i=e.current.getRow(t),s=e.current.getRowNode(t);if(!i||!s)throw new Error(`No row with id #${t} found`);const l=bq(e),u=wq(e),c={id:t,field:r,row:i,rowNode:s,colDef:o,cellMode:e.current.getCellMode(t,r),getValue:n,hasFocus:null!==l&&l.field===r&&l.id===t,tabIndex:u&&u.field===r&&u.id===t?0:-1,value:a,formattedValue:a};return o&&o.valueFormatter&&(c.formattedValue=o.valueFormatter({id:t,field:c.field,value:c.value,api:e.current})),c.isEditable=o&&e.current.isCellEditable(c),c}),[e,n]),i=U.useCallback(((t,n)=>{const r=e.current.getColumn(n);if(!r||!r.valueGetter){const r=e.current.getRow(t);if(!r)throw new Error(`No row with id #${t} found`);return r[n]}return r.valueGetter(o(t,n))}),[e,o]),s=U.useCallback((t=>e.current.rootElementRef.current?function(e,t){return e.querySelector(`[role="columnheader"][data-field="${GK(t)}"]`)}(e.current.rootElementRef.current,t):null),[e]),l=U.useCallback((t=>e.current.rootElementRef.current?function(e,t){return e.querySelector(WK(t))}(e.current.rootElementRef.current,t):null),[e]),u=U.useCallback(((t,n)=>e.current.rootElementRef.current?function(e,{id:t,field:n}){const r=`${WK(t)} .${zG.cell}[data-field="${GK(n)}"]`;return e.querySelector(r)}(e.current.rootElementRef.current,{id:t,field:n}):null),[e]);JZ(e,{getCellValue:i,getCellParams:a,getCellElement:u,getRowParams:r,getRowElement:l,getColumnHeaderParams:t,getColumnHeaderElement:s})}KG(["MUI: You are calling getValue. This method is deprecated and will be removed in the next major version.","Instead, you can access the data from `params.row`."]);const wJ=(e,t)=>null==e||Array.isArray(e)?e:t&&t[0]===e?t:[e],SJ=(e,t)=>{var n;return Id({},e,{selection:null!=(n=wJ(t.selectionModel))?n:[]})},xJ={noRowsLabel:"No rows",noResultsOverlayLabel:"No results found.",errorOverlayDefaultLabel:"An error occurred.",toolbarDensity:"Density",toolbarDensityLabel:"Density",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comfortable",toolbarColumns:"Columns",toolbarColumnsLabel:"Select columns",toolbarFilters:"Filters",toolbarFiltersLabel:"Show filters",toolbarFiltersTooltipHide:"Hide filters",toolbarFiltersTooltipShow:"Show filters",toolbarFiltersTooltipActive:e=>1!==e?`${e} active filters`:`${e} active filter`,toolbarQuickFilterPlaceholder:"Search…",toolbarQuickFilterLabel:"Search",toolbarQuickFilterDeleteIconLabel:"Clear",toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Download as CSV",toolbarExportPrint:"Print",toolbarExportExcel:"Download as Excel",columnsPanelTextFieldLabel:"Find column",columnsPanelTextFieldPlaceholder:"Column title",columnsPanelDragIconLabel:"Reorder column",columnsPanelShowAllButton:"Show all",columnsPanelHideAllButton:"Hide all",filterPanelAddFilter:"Add filter",filterPanelDeleteIconLabel:"Delete",filterPanelLinkOperator:"Logic operator",filterPanelOperators:"Operator",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"Columns",filterPanelInputLabel:"Value",filterPanelInputPlaceholder:"Filter value",filterOperatorContains:"contains",filterOperatorEquals:"equals",filterOperatorStartsWith:"starts with",filterOperatorEndsWith:"ends with",filterOperatorIs:"is",filterOperatorNot:"is not",filterOperatorAfter:"is after",filterOperatorOnOrAfter:"is on or after",filterOperatorBefore:"is before",filterOperatorOnOrBefore:"is on or before",filterOperatorIsEmpty:"is empty",filterOperatorIsNotEmpty:"is not empty",filterOperatorIsAnyOf:"is any of",filterValueAny:"any",filterValueTrue:"true",filterValueFalse:"false",columnMenuLabel:"Menu",columnMenuShowColumns:"Show columns",columnMenuFilter:"Filter",columnMenuHideColumn:"Hide",columnMenuUnsort:"Unsort",columnMenuSortAsc:"Sort by ASC",columnMenuSortDesc:"Sort by DESC",columnHeaderFiltersTooltipActive:e=>1!==e?`${e} active filters`:`${e} active filter`,columnHeaderFiltersLabel:"Show filters",columnHeaderSortIconLabel:"Sort",footerRowSelected:e=>1!==e?`${e.toLocaleString()} rows selected`:`${e.toLocaleString()} row selected`,footerTotalRows:"Total Rows:",footerTotalVisibleRows:(e,t)=>`${e.toLocaleString()} of ${t.toLocaleString()}`,checkboxSelectionHeaderName:"Checkbox selection",checkboxSelectionSelectAllRows:"Select all rows",checkboxSelectionUnselectAllRows:"Unselect all rows",checkboxSelectionSelectRow:"Select row",checkboxSelectionUnselectRow:"Unselect row",booleanCellTrueLabel:"yes",booleanCellFalseLabel:"no",actionsCellMore:"more",pinToLeft:"Pin to left",pinToRight:"Pin to right",unpin:"Unpin",treeDataGroupingHeaderName:"Group",treeDataExpand:"see children",treeDataCollapse:"hide children",groupingColumnHeaderName:"Group",groupColumn:e=>`Group by ${e}`,unGroupColumn:e=>`Stop grouping by ${e}`,detailPanelToggle:"Detail panel toggle",expandDetailPanel:"Expand",collapseDetailPanel:"Collapse",MuiTablePagination:{},rowReorderingHeaderName:"Row reordering",aggregationMenuItemHeader:"Aggregation",aggregationFunctionLabelSum:"sum",aggregationFunctionLabelAvg:"avg",aggregationFunctionLabelMin:"min",aggregationFunctionLabelMax:"max",aggregationFunctionLabelSize:"size"},EJ=["sortingOrder"],CJ=U.memo((function(e){const{sortingOrder:t}=e,n=_d(e,EJ),r=$G(),[o]=t,a="asc"===o?r.components.ColumnSortedAscendingIcon:r.components.ColumnSortedDescendingIcon;return a?ee.jsx(a,Id({},n)):null})),kJ=["error","hasError","errorInfo"],RJ=U.forwardRef((function(e,t){const{error:n}=e,r=_d(e,kJ),o=jG(),a=o.current.getLocaleText("errorOverlayDefaultLabel"),i=XG(o,HW);return ee.jsx(jK,Id({ref:t,sx:{width:"100%",minHeight:2*i}},r,{children:(null==n?void 0:n.message)||a}))})),TJ=U.forwardRef((function(e,t){const n=jG().current.getLocaleText("noResultsOverlayLabel");return ee.jsx(jK,Id({ref:t},e,{children:n}))})),IJ=Id({},{BooleanCellTrueIcon:Qq,BooleanCellFalseIcon:Wq,ColumnMenuIcon:Gq,OpenFilterButtonIcon:jq,FilterPanelDeleteIcon:Wq,ColumnFilteredIcon:Fq,ColumnSelectorIcon:Bq,ColumnUnsortedIcon:CJ,ColumnSortedAscendingIcon:Pq,ColumnSortedDescendingIcon:Lq,ColumnResizeIcon:zq,DensityCompactIcon:Uq,DensityStandardIcon:Hq,DensityComfortableIcon:Vq,ExportIcon:Zq,MoreActionsIcon:Jq,TreeDataCollapseIcon:Dq,TreeDataExpandIcon:Mq,GroupingCriteriaCollapseIcon:Dq,GroupingCriteriaExpandIcon:Mq,DetailPanelExpandIcon:qq,DetailPanelCollapseIcon:Kq,RowReorderIcon:Xq,QuickFilterIcon:$q,QuickFilterClearIcon:Wq},{BaseCheckbox:eR,BaseTextField:vL,BaseFormControl:MT,BaseSelect:sO,BaseSwitch:lP,BaseButton:Ak,BaseTooltip:oN,BasePopper:AE,Cell:function(e){const{align:t,children:n,colIndex:r,cellMode:o,field:a,formattedValue:i,hasFocus:s,height:l,isEditable:u,rowId:c,tabIndex:d,value:p,width:f,className:m,showRightBorder:h,colSpan:g,disableDragEvents:b,onClick:v,onDoubleClick:y,onMouseDown:w,onMouseUp:S,onKeyDown:x,onDragEnter:E,onDragOver:C}=e,k=_d(e,xq),R=null==i?p:i,T=U.useRef(null),I=U.useRef(null),_=jG(),A=(e=>{const{align:t,showRightBorder:n,isEditable:r,classes:o}=e;return eb({root:["cell",`cell--text${cm(t)}`,r&&"cell--editable",n&&"withBorder"],content:["cellContent"]},BG,o)})({align:t,showRightBorder:h,isEditable:u,classes:$G().classes}),O=U.useCallback((e=>t=>{const n=_.current.getCellParams(c,a||"");_.current.publishEvent(e,n,t),S&&S(t)}),[_,a,S,c]),N=U.useCallback((e=>t=>{const n=_.current.getCellParams(c,a||"");_.current.publishEvent(e,n,t),w&&w(t)}),[_,a,w,c]),P=U.useCallback(((e,t)=>n=>{if(!n.currentTarget.contains(n.target))return;if(!_.current.getRow(c))return;const r=_.current.getCellParams(c,a||"");_.current.publishEvent(e,r,n),t&&t(n)}),[_,a,c]),L={minWidth:f,maxWidth:f,minHeight:l,maxHeight:"auto"===l?"none":l};U.useEffect((()=>{if(!s||o===aq.Edit)return;const e=Rg(_.current.rootElementRef.current);if(T.current&&!T.current.contains(e.activeElement)){const e=T.current.querySelector('[tabindex="0"]'),t=I.current||e||T.current;if(void 0===Eq&&document.createElement("div").focus({get preventScroll(){return Eq=!0,!1}}),Eq)t.focus({preventScroll:!0});else{const e=_.current.getScrollPosition();t.focus(),_.current.scroll(e)}}}),[s,o,_]);let M=k.onFocus;const D="actions"===_.current.getColumn(a).type,j=b?null:{onDragEnter:P("cellDragEnter",E),onDragOver:P("cellDragOver",C)};return ee.jsx("div",Id({ref:T,className:rq(m,A.root),role:"cell","data-field":a,"data-colindex":r,"aria-colindex":r+1,"aria-colspan":g,style:L,tabIndex:"view"!==o&&u||D?-1:d,onClick:P("cellClick",v),onDoubleClick:P("cellDoubleClick",y),onMouseDown:N("cellMouseDown"),onMouseUp:O("cellMouseUp"),onKeyDown:P("cellKeyDown",x)},j,k,{onFocus:M,children:(()=>{if(null==n){const e=null==R?void 0:R.toString();return ee.jsx("div",{title:e,className:A.content,children:e})}return U.isValidElement(n)&&D?U.cloneElement(n,{focusElementRef:I}):n})()}))},SkeletonCell:function(e){const{align:t,width:n,contentWidth:r}=e,o=_d(e,IK),a=(e=>{const{align:t,classes:n}=e;return eb({root:["cell","cellSkeleton",`cell--text${cm(t)}`]},BG,n)})({classes:$G().classes,align:t});return ee.jsx("div",Id({className:a.root,style:{width:n}},o,{children:ee.jsx(yO,{width:`${r}%`})}))},ColumnHeaderFilterIconButton:function(e){var t;const{counter:n,field:r,onClick:o}=e,a=jG(),i=$G(),s=(e=>{const{classes:t}=e;return eb({icon:["filterIcon"]},BG,t)})(Id({},e,{classes:i.classes})),l=U.useCallback((e=>{e.preventDefault(),e.stopPropagation();const{open:t,openedPanelValue:n}=aY(a.current.state);t&&n===iY.filters?a.current.hideFilterPanel():a.current.showFilterPanel(),o&&o(a.current.getColumnHeaderParams(r),e)}),[a,r,o]);if(!n)return null;const u=ee.jsx(Uw,{onClick:l,color:"default","aria-label":a.current.getLocaleText("columnHeaderFiltersLabel"),size:"small",tabIndex:-1,children:ee.jsx(i.components.ColumnFilteredIcon,{className:s.icon,fontSize:"small"})});return ee.jsx(i.components.BaseTooltip,Id({title:a.current.getLocaleText("columnHeaderFiltersTooltipActive")(n),enterDelay:1e3},null==(t=i.componentsProps)?void 0:t.baseTooltip,{children:ee.jsxs(BK,{children:[n>1&&ee.jsx(rk,{badgeContent:n,color:"default",children:u}),1===n&&u]})}))},ColumnMenu:kX,ErrorOverlay:RJ,Footer:CZ,Header:kZ,Toolbar:null,PreferencesPanel:QX,LoadingOverlay:RZ,NoResultsOverlay:TJ,NoRowsOverlay:TZ,Pagination:_Z,FilterPanel:pZ,ColumnsPanel:function(e){var t,n,r;const o=jG(),a=U.useRef(null),i=XG(o,wW),s=XG(o,SW),l=$G(),[u,c]=U.useState(""),d=(e=>{const{classes:t}=e;return eb({root:["columnsPanel"],columnsPanelRow:["columnsPanelRow"]},BG,t)})(l),{sort:p,searchPredicate:f=WX,autoFocusSearchField:m=!0}=e,h=_d(e,UX),g=U.useMemo((()=>{switch(p){case"asc":return[...i].sort(((e,t)=>GX.compare(e.headerName||e.field,t.headerName||t.field)));case"desc":return[...i].sort(((e,t)=>-GX.compare(e.headerName||e.field,t.headerName||t.field)));default:return i}}),[i,p]),b=e=>{const{name:t}=e.target;o.current.setColumnVisibility(t,!1===s[t])},v=U.useCallback((e=>{if(o.current.unstable_caches.columns.isUsingColumnVisibilityModel){const t=Id({},SW(o));return i.forEach((n=>{n.hideable&&(e?delete t[n.field]:t[n.field]=!1)})),o.current.setColumnVisibilityModel(t)}return o.current.updateColumns(i.map((t=>!1!==t.hideable?{field:t.field,hide:!e}:t)))}),[o,i]),y=U.useCallback((e=>{c(e.target.value)}),[]),w=U.useMemo((()=>{if(!u)return g;const e=u.toLowerCase();return g.filter((t=>f(t,e)))}),[g,u,f]),S=U.useRef(null);U.useEffect((()=>{m?a.current.focus():S.current&&"function"==typeof S.current.focus&&S.current.focus()}),[m]);let x=!1;const E=e=>!1===x&&!1!==e.hideable&&(x=!0,!0);return ee.jsxs(zX,Id({},h,{children:[ee.jsx(jX,{children:ee.jsx(l.components.BaseTextField,Id({label:o.current.getLocaleText("columnsPanelTextFieldLabel"),placeholder:o.current.getLocaleText("columnsPanelTextFieldPlaceholder"),inputRef:a,value:u,onChange:y,variant:"standard",fullWidth:!0},null==(t=l.componentsProps)?void 0:t.baseTextField))}),ee.jsx(_X,{children:ee.jsx(HX,{className:d.root,ownerState:l,children:w.map((e=>{var t;return ee.jsxs(VX,{className:d.columnsPanelRow,ownerState:l,children:[ee.jsx(HT,{control:ee.jsx(l.components.BaseSwitch,Id({disabled:!1===e.hideable,checked:!1!==s[e.field],onClick:b,name:e.field,size:"small",inputRef:E(e)?S:void 0},null==(t=l.componentsProps)?void 0:t.baseSwitch)),label:e.headerName||e.field}),!l.disableColumnReorder&&false]},e.field)}))})}),ee.jsxs(PX,{children:[ee.jsx(l.components.BaseButton,Id({onClick:()=>v(!1)},null==(n=l.componentsProps)?void 0:n.baseButton,{children:o.current.getLocaleText("columnsPanelHideAllButton")})),ee.jsx(l.components.BaseButton,Id({onClick:()=>v(!0)},null==(r=l.componentsProps)?void 0:r.baseButton,{children:o.current.getLocaleText("columnsPanelShowAllButton")}))]})]}))},Panel:ZX,Row:DZ}),_J=(e,t)=>{const n=(e=>{const{classes:t}=e;return U.useMemo((()=>eb({cellCheckbox:["cellCheckbox"],columnHeaderCheckbox:["columnHeaderCheckbox"]},BG,t)),[t])})({classes:t.classes}),r=U.useCallback((r=>{const o=Id({},YY,{cellClassName:n.cellCheckbox,headerClassName:n.columnHeaderCheckbox,headerName:e.current.getLocaleText("checkboxSelectionHeaderName")}),a=t.checkboxSelection,i=null!=r.lookup[KY];return a&&!i?(r.lookup[KY]=o,r.all=[KY,...r.all]):!a&&i?(delete r.lookup[KY],r.all=r.all.filter((e=>e!==KY))):a&&i&&(r.lookup[KY]=Id({},o,r.lookup[KY])),r}),[e,n,t.checkboxSelection]);oQ(e,"hydrateColumns",r)},AJ=(e,t)=>{var n,r,o,a;const i=null!=(n=null!=(r=t.sortModel)?r:null==(o=t.initialState)||null==(a=o.sorting)?void 0:a.sortModel)?n:[];return Id({},e,{sorting:{sortModel:TY(i,t.disableMultipleColumnsSorting),sortedRows:[]}})};function OJ(e){const{clientHeight:t,scrollTop:n,offsetHeight:r,offsetTop:o}=e,a=o+r;return r>t?o:a-t>n?a-t:oId({},e,{rowsMeta:{currentPageTotalHeight:0,positions:[]}}),PJ=e=>{var t,n;const r=cQ(void 0,e);((e,t)=>{var n;const r=U.useCallback((e=>{var n;if(null==(n=t.experimentalFeatures)||!n.columnGrouping)return e;const r=wQ(t.columnGroupingModel);return e.all.forEach((t=>{var n,o;const a=null!=(n=r[t])?n:[],i=e.lookup[t];(function(e){return void 0!==e.groupPath})(i)&&jY(a,null==i?void 0:i.groupPath)||(e.lookup[t]=Id({},e.lookup[t],{groupPath:null!=(o=r[t])?o:[]}))})),e}),[t.columnGroupingModel,null==(n=t.experimentalFeatures)?void 0:n.columnGrouping]);oQ(e,"hydrateColumns",r)})(r,e),_J(r,e),(e=>{iQ(e,sQ,"rowTreeCreation",vJ)})(r),dQ(SJ,r,e),dQ(gQ,r,e),dQ(xQ,r,e),dQ(bJ,r,e),dQ(null!=(t=e.experimentalFeatures)&&t.newEditingApi?hJ:sJ,r,e),dQ(KQ,r,e),dQ(AJ,r,e),dQ(rJ,r,e),dQ(qQ,r,e),dQ(CQ,r,e),dQ(tJ,r,e),dQ(NJ,r,e),dQ(hQ,r,e),YQ(r,e),((e,t)=>{const n=ZW(e,"useGridSelection"),r=U.useMemo((()=>wJ(t.selectionModel,cY(e.current.state))),[e,t.selectionModel]),o=U.useRef(null);e.current.unstable_registerControlState({stateId:"selection",propModel:r,propOnChange:t.onSelectionModelChange,stateSelector:cY,changeEvent:"selectionChange"});const{checkboxSelection:a,disableMultipleSelection:i,disableSelectionOnClick:s,pagination:l,paginationMode:u,isRowSelectable:c}=t,d=!i||a,p=OZ(e,t),f=U.useCallback((t=>{var n;let r=t;const a=null!=(n=o.current)?n:t,i=e.current.isRowSelected(t);if(i){const t=PW(e),n=t.findIndex((e=>e===a)),o=t.findIndex((e=>e===r));if(n===o)return;r=n>o?t[o+1]:t[o-1]}o.current=t,e.current.selectRowRange({startId:a,endId:r},!i)}),[e]),m=U.useCallback((t=>{cY(e.current.state)!==t&&(n.debug("Setting selection model"),e.current.setState((e=>Id({},e,{selection:t}))),e.current.forceUpdate())}),[e,n]),h=U.useCallback((t=>cY(e.current.state).includes(t)),[e]),g=U.useCallback((t=>{if(c&&!c(e.current.getRowParams(t)))return!1;const n=e.current.getRowNode(t);return!("footer"===(null==n?void 0:n.position)||null!=n&&n.isPinned)}),[e,c]),b=U.useCallback((()=>pY(e)),[e]),v=U.useCallback(((t,r=!0,a=!1)=>{if(e.current.isRowSelectable(t))if(o.current=t,a)n.debug(`Setting selection for row ${t}`),e.current.setSelectionModel(r?[t]:[]);else{n.debug(`Toggling selection for row ${t}`);const o=cY(e.current.state).filter((e=>e!==t));r&&o.push(t),(o.length<2||d)&&e.current.setSelectionModel(o)}}),[e,n,d]),y=U.useCallback(((t,r=!0,o=!1)=>{n.debug("Setting selection for several rows");const a=t.filter((t=>e.current.isRowSelectable(t)));let i;if(o)i=r?a:[];else{const t=Id({},fY(e));a.forEach((e=>{r?t[e]=e:delete t[e]})),i=Object.values(t)}(i.length<2||d)&&e.current.setSelectionModel(i)}),[e,n,d]),w=U.useCallback((({startId:t,endId:r},o=!0,a)=>{if(!e.current.getRow(t)||!e.current.getRow(r))return;n.debug(`Expanding selection from row ${t} to row ${r}`);const i=PW(e),s=i.indexOf(t),l=i.indexOf(r),[u,c]=s>l?[l,s]:[s,l],d=i.slice(u,c+1);e.current.selectRows(d,o,a)}),[e,n]);JZ(e,{selectRow:v,selectRows:y,selectRowRange:w,setSelectionModel:m,getSelectedRows:b,isRowSelected:h,isRowSelectable:g});const S=U.useCallback((()=>{if(t.keepNonExistentRowsSelected)return;const n=cY(e.current.state),r=rW(e),o=Id({},fY(e));let a=!1;n.forEach((e=>{r[e]||(delete o[e],a=!0)})),a&&e.current.setSelectionModel(Object.values(o))}),[e,t.keepNonExistentRowsSelected]),x=U.useCallback(((t,n)=>{const r=n.metaKey||n.ctrlKey,o=!a&&!r&&!yK(n),i=!d||o,s=e.current.isRowSelected(t);i?e.current.selectRow(t,!!o||!s,!0):e.current.selectRow(t,!s,!1)}),[e,d,a]),E=U.useCallback(((t,n)=>{var r;if(s)return;const o=null==(r=n.target.closest(`.${zG.cell}`))?void 0:r.getAttribute("data-field");o!==YY.field&&o!==NZ&&(o&&e.current.getColumn(o).type===HY||e.current.getRowNode(t.id).isPinned||(n.shiftKey&&(d||a)?f(t.id):x(t.id,n)))}),[s,d,a,e,f,x]),C=U.useCallback(((e,t)=>{var n;d&&t.shiftKey&&(null==(n=window.getSelection())||n.removeAllRanges())}),[d]),k=U.useCallback(((t,n)=>{n.nativeEvent.shiftKey?f(t.id):e.current.selectRow(t.id,t.value)}),[e,f]),R=U.useCallback((n=>{const r=t.checkboxSelectionVisibleOnly&&t.pagination?yY(e):PW(e);e.current.selectRows(r,n.value)}),[e,t.checkboxSelectionVisibleOnly,t.pagination]),T=U.useCallback(((t,n)=>{if(e.current.getCellMode(t.id,t.field)!==aq.Edit&&n.currentTarget.contains(n.target)){if(vK(n.key)&&n.shiftKey){const r=bq(e);if(r&&r.id!==t.id){n.preventDefault();const o=e.current.isRowSelected(r.id);if(!d)return void e.current.selectRow(r.id,!o,!0);const a=e.current.getRowIndexRelativeToVisibleRows(r.id),i=e.current.getRowIndexRelativeToVisibleRows(t.id);let s,l;a>i?o?(s=i,l=a-1):(s=i,l=a):o?(s=a+1,l=i):(s=a,l=i);const u=p.rows.slice(s,l+1).map((e=>e.id));return void e.current.selectRows(u,!o)}}if(" "===n.key&&n.shiftKey)return n.preventDefault(),void x(t.id,n);"a"===n.key.toLowerCase()&&(n.ctrlKey||n.metaKey)&&(n.preventDefault(),y(e.current.getAllRowIds(),!0))}}),[e,x,y,p.rows,d]);zZ(e,"sortedRowsSet",S),zZ(e,"rowClick",E),zZ(e,"rowSelectionCheckboxChange",k),zZ(e,"headerSelectionCheckboxChange",R),zZ(e,"cellMouseDown",C),zZ(e,"cellKeyDown",T),U.useEffect((()=>{void 0!==r&&e.current.setSelectionModel(r)}),[e,r]);const I=null!=r;U.useEffect((()=>{if(I)return;const t=cY(e.current.state);if(g){const n=t.filter((e=>g(e)));n.length{const t=cY(e.current.state);if(!d&&t.length>1){const{rows:n}=AZ(e,{pagination:l,paginationMode:u}),r=n.reduce(((e,{id:t})=>(e[t]=!0,e)),{}),o=t.find((e=>{let t=!0;return g&&(t=g(e)),t&&r[e]}));e.current.setSelectionModel(void 0!==o?[o]:[])}}),[e,d,a,i,g,l,u])})(r,e),function(e,t){var n,r;const o=ZW(e,"useGridColumns"),a=U.useMemo((()=>bX(t.columnTypes)),[t.columnTypes]),i=U.useRef(t.columns),s=U.useRef(a);e.current.unstable_registerControlState({stateId:"visibleColumns",propModel:t.columnVisibilityModel,propOnChange:t.onColumnVisibilityModelChange,stateSelector:SW,changeEvent:"columnVisibilityModelChange"});const l=U.useCallback((t=>{o.debug("Updating columns state."),e.current.setState(wX(t)),e.current.forceUpdate(),e.current.publishEvent("columnsChange",t.all)}),[o,e]),u=U.useCallback((t=>yW(e)[t]),[e]),c=U.useCallback((()=>wW(e)),[e]),d=U.useCallback((()=>xW(e)),[e]),p=U.useCallback((()=>TW(e)),[e]),f=U.useCallback(((t,n=!0)=>(n?xW(e):wW(e)).findIndex((e=>e.field===t))),[e]),m=U.useCallback((t=>{const n=f(t);return EW(e)[n]}),[e,f]),h=U.useCallback((t=>{SW(e)!==t&&(e.current.setState((n=>Id({},n,{columns:yX({apiRef:e,columnTypes:a,columnsToUpsert:[],initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!1,currentColumnVisibilityModel:t,keepOnlyColumnsToUpsert:!1})}))),e.current.forceUpdate())}),[e,a]),g=U.useCallback((t=>{const n=yX({apiRef:e,columnTypes:a,columnsToUpsert:t,initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!0,keepOnlyColumnsToUpsert:!1});l(n)}),[e,l,a]),b=U.useCallback((t=>e.current.updateColumns([t])),[e]),v=U.useCallback(((t,n)=>{if(e.current.unstable_caches.columns.isUsingColumnVisibilityModel){var r;const o=SW(e);if(n!==(null==(r=o[t])||r)){const r=Id({},o,{[t]:n});e.current.setColumnVisibilityModel(r)}}else{const r=Id({},e.current.getColumn(t),{hide:!n});e.current.updateColumns([r]);const o={field:t,colDef:r,isVisible:n};e.current.publishEvent("columnVisibilityChange",o)}}),[e]),y=U.useCallback(((t,n)=>{const r=vW(e),a=r.findIndex((e=>e===t));if(a===n)return;o.debug(`Moving column ${t} to index ${n}`);const i=[...r],s=i.splice(a,1)[0];i.splice(n,0,s),l(Id({},bW(e.current.state),{all:i}));const u={field:t,element:e.current.getColumnHeaderElement(t),colDef:e.current.getColumn(t),targetIndex:n,oldIndex:a};e.current.publishEvent("columnOrderChange",u)}),[e,o,l]),w=U.useCallback(((t,n)=>{o.debug(`Updating column ${t} width to ${n}`);const r=Id({},e.current.getColumn(t),{width:n});e.current.updateColumns([r]),e.current.publishEvent("columnWidthChange",{element:e.current.getColumnHeaderElement(t),colDef:r,width:n})}),[e,o]);JZ(e,{getColumn:u,getAllColumns:c,getColumnIndex:f,getColumnPosition:m,getVisibleColumns:d,getColumnsMeta:p,updateColumn:b,updateColumns:g,setColumnVisibilityModel:h,setColumnVisibility:v,setColumnIndex:y,setColumnWidth:w});const S=U.useCallback(((n,r)=>{const o={};if(e.current.unstable_caches.columns.isUsingColumnVisibilityModel){var a,i,s;const n=SW(e);(!r.exportOnlyDirtyModels||null!=t.columnVisibilityModel||Object.keys(null!=(a=null==(i=t.initialState)||null==(s=i.columns)?void 0:s.columnVisibilityModel)?a:{}).length>0||Object.keys(n).length>0)&&(o.columnVisibilityModel=n)}o.orderedFields=vW(e);const l=wW(e),u={};return l.forEach((e=>{if(e.hasBeenResized){const t={};gX.forEach((n=>{let r=e[n];r===1/0&&(r=-1),t[n]=r})),u[e.field]=t}})),Object.keys(u).length>0&&(o.dimensions=u),Id({},n,{columns:o})}),[e,t.columnVisibilityModel,null==(n=t.initialState)?void 0:n.columns]),x=U.useCallback(((t,n)=>{var r;const o=e.current.unstable_caches.columns.isUsingColumnVisibilityModel?null==(r=n.stateToRestore.columns)?void 0:r.columnVisibilityModel:void 0,i=n.stateToRestore.columns;if(null==o&&null==i)return t;const s=yX({apiRef:e,columnTypes:a,columnsToUpsert:[],initialState:i,shouldRegenColumnVisibilityModelFromColumns:!e.current.unstable_caches.columns.isUsingColumnVisibilityModel,currentColumnVisibilityModel:o,keepOnlyColumnsToUpsert:!1});return e.current.setState(wX(s)),null!=i&&e.current.publishEvent("columnsChange",s.all),t}),[e,a]),E=U.useCallback(((e,n)=>{if(n===iY.columns){var r;const e=t.components.ColumnsPanel;return ee.jsx(e,Id({},null==(r=t.componentsProps)?void 0:r.columnsPanel))}return e}),[t.components.ColumnsPanel,null==(r=t.componentsProps)?void 0:r.columnsPanel]);oQ(e,"exportState",S),oQ(e,"restoreState",x),oQ(e,"preferencePanel",E);const C=U.useRef(null);zZ(e,"viewportInnerSizeChange",(t=>{C.current!==t.width&&(C.current=t.width,l(vX(bW(e.current.state),t.width)))})),HZ(e,"columnVisibilityChange",t.onColumnVisibilityChange);const k=U.useCallback((()=>{o.info("Columns pipe processing have changed, regenerating the columns");const t=yX({apiRef:e,columnTypes:a,columnsToUpsert:[],initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!e.current.unstable_caches.columns.isUsingColumnVisibilityModel,keepOnlyColumnsToUpsert:!1});l(t)}),[e,o,l,a]);aQ(e,"hydrateColumns",k);const R=U.useRef(!0);U.useEffect((()=>{if(R.current)return void(R.current=!1);if(o.info(`GridColumns have changed, new length ${t.columns.length}`),i.current===t.columns&&s.current===a)return;const n=yX({apiRef:e,columnTypes:a,initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!e.current.unstable_caches.columns.isUsingColumnVisibilityModel,columnsToUpsert:t.columns,keepOnlyColumnsToUpsert:!0});i.current=t.columns,s.current=a,l(n)}),[o,e,l,t.columns,a]),U.useEffect((()=>{void 0!==t.columnVisibilityModel&&e.current.setColumnVisibilityModel(t.columnVisibilityModel)}),[e,o,t.columnVisibilityModel])}(r,e),((e,t)=>{const n=ZW(e,"useGridRows"),r=OZ(e,t),o=U.useRef(Date.now()),a=U.useRef(null),i=U.useCallback((t=>{var n;return null!=(n=rW(e)[t])?n:null}),[e]),s=U.useMemo((()=>r.rows.reduce(((e,{id:t},n)=>(e[t]=n,e)),{})),[r.rows]),l=U.useCallback(((n,r)=>{const i=()=>{a.current=null,o.current=Date.now(),e.current.setState((n=>Id({},n,{rows:MQ({apiRef:e,previousTree:aW(e),rowCountProp:t.rowCount,loadingProp:t.loading})}))),e.current.publishEvent("rowsSet"),e.current.forceUpdate()};if(a.current&&(clearTimeout(a.current),a.current=null),e.current.unstable_caches.rows=n,!r)return void i();const s=t.throttleRowsMs-(Date.now()-o.current);s>0?a.current=setTimeout(i,s):i()}),[t.throttleRowsMs,t.rowCount,t.loading,e]),u=U.useCallback((r=>{n.debug(`Updating all rows, new length ${r.length}`);const o=LQ({rows:r,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),a=e.current.unstable_caches.rows;o.rowsBeforePartialUpdates=a.rowsBeforePartialUpdates,l(o,!0)}),[n,t.getRowId,t.loading,t.rowCount,l,e]),c=U.useCallback((n=>{if(t.signature===$Z.DataGrid&&n.length>1)throw new Error(["MUI: You can't update several rows at once in `apiRef.current.updateRows` on the DataGrid.","You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature."].join("\n"));const r=new Map;n.forEach((e=>{const n=PQ(e,t.getRowId,"A row was provided without id when calling updateRows():");r.has(n)?r.set(n,Id({},r.get(n),e)):r.set(n,e)}));const o=[],a=e.current.unstable_caches.rows,i={rowsBeforePartialUpdates:a.rowsBeforePartialUpdates,loadingPropBeforePartialUpdates:a.loadingPropBeforePartialUpdates,rowCountPropBeforePartialUpdates:a.rowCountPropBeforePartialUpdates,idRowsLookup:Id({},a.idRowsLookup),idToIdLookup:Id({},a.idToIdLookup),ids:[...a.ids]};r.forEach(((t,n)=>"delete"===t._action?(delete i.idRowsLookup[n],delete i.idToIdLookup[n],void o.push(n)):e.current.getRow(n)?void(i.idRowsLookup[n]=Id({},e.current.getRow(n),t)):(i.idRowsLookup[n]=t,i.idToIdLookup[n]=n,void i.ids.push(n)))),o.length>0&&(i.ids=i.ids.filter((e=>!o.includes(e)))),l(i,!0)}),[t.signature,t.getRowId,l,e]),d=U.useCallback((()=>{const t=lW(e),n=rW(e);return new Map(t.map((e=>[e,n[e]])))}),[e]),p=U.useCallback((()=>eW(e)),[e]),f=U.useCallback((()=>lW(e)),[e]),m=U.useCallback((e=>s[e]),[s]),h=U.useCallback(((t,n)=>{const r=e.current.getRowNode(t);if(!r)throw new Error(`MUI: No row with id #${t} found`);const o=Id({},r,{childrenExpanded:n});e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{tree:Id({},e.rows.tree,{[t]:o})})}))),e.current.forceUpdate(),e.current.publishEvent("rowExpansionChange",o)}),[e]),g=U.useCallback((t=>{var n;return null!=(n=aW(e)[t])?n:null}),[e]),b=U.useCallback((({skipAutoGeneratedRows:t=!0,groupId:n,applySorting:r,applyFiltering:o})=>{const a=aW(e);let i;if(r){const r=a[n];if(!r)return[];const o=fW(e);i=[];const s=o.findIndex((e=>e===n))+1;for(let e=s;er.depth;e+=1){const n=o[e],r=a[n];t&&r.isAutoGenerated||i.push(n)}}else i=DQ(a,n,t);if(o){const t=OW(e);i=i.filter((e=>!1!==t[e]))}return i}),[e]),v={getRow:i,getRowModels:d,getRowsCount:p,getAllRowIds:f,setRows:u,setRowIndex:U.useCallback(((t,r)=>{const o=lW(e),a=o.findIndex((e=>e===t));if(-1===a||a===r)return;n.debug(`Moving row ${t} to index ${r}`);const i=[...o];i.splice(r,0,i.splice(a,1)[0]),e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{ids:i})}))),e.current.unstable_caches.rows.ids=i,e.current.publishEvent("rowsSet")}),[e,n]),updateRows:c,setRowChildrenExpansion:h,getRowNode:g,getRowIndexRelativeToVisibleRows:m,getRowGroupChildren:b,unstable_replaceRows:U.useCallback(((n,r)=>{if(t.signature===$Z.DataGrid&&r.length>1)throw new Error(["MUI: You can't replace rows using `apiRef.current.unstable_replaceRows` on the DataGrid.","You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature."].join("\n"));if(0===r.length)return;const o=[...lW(e)],a=rW(e),i=oW(e),s=aW(e),l=Id({},a),u=Id({},i),c=Id({},s),d=r.map((e=>({id:PQ(e,t.getRowId,"A row was provided without id when calling replaceRows()."),model:e})));d.forEach(((e,t)=>{const[r]=o.splice(n+t,1,e.id);delete l[r],delete u[r],delete c[r]})),d.forEach((e=>{const t={id:e.id,parent:null,depth:0,groupingKey:null,groupingField:null};l[e.id]=e.model,u[e.id]=e.id,c[e.id]=t})),e.current.unstable_caches.rows.idRowsLookup=l,e.current.unstable_caches.rows.idToIdLookup=u,e.current.unstable_caches.rows.ids=o,e.current.setState((e=>{const t={idRowsLookup:l,idToIdLookup:u,tree:c,ids:o};return Id({},e,{rows:Id({},e.rows,t,{groupingResponseBeforeRowHydration:Id({},e.rows.groupingResponseBeforeRowHydration,t)})})})),e.current.publishEvent("rowsSet")}),[e,t.signature,t.getRowId])},y=U.useCallback((()=>{let r;n.info("Row grouping pre-processing have changed, regenerating the row tree"),r=e.current.unstable_caches.rows.rowsBeforePartialUpdates===t.rows?e.current.unstable_caches.rows:LQ({rows:t.rows,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),l(r,!1)}),[n,e,t.rows,t.getRowId,t.loading,t.rowCount,l]),w=U.useCallback((e=>{"rowTreeCreation"===e&&y()}),[y]),S=U.useCallback((()=>{e.current.unstable_getActiveStrategy("rowTree")!==iW(e)&&y()}),[e,y]);zZ(e,"activeStrategyProcessorChange",w),zZ(e,"strategyAvailabilityChange",S);const x=U.useCallback((()=>{e.current.setState((t=>Id({},t,{rows:Id({},t.rows,e.current.unstable_applyPipeProcessors("hydrateRows",t.rows.groupingResponseBeforeRowHydration))}))),e.current.publishEvent("rowsSet"),e.current.forceUpdate()}),[e]);aQ(e,"hydrateRows",x),JZ(e,v),U.useEffect((()=>()=>{null!==a.current&&clearTimeout(a.current)}),[]);const E=U.useRef(!0);U.useEffect((()=>{if(E.current)return void(E.current=!1);const r=e.current.unstable_caches.rows.rowsBeforePartialUpdates===t.rows,o=e.current.unstable_caches.rows.loadingPropBeforePartialUpdates===t.loading,a=e.current.unstable_caches.rows.rowCountPropBeforePartialUpdates===t.rowCount;if(r)return o||(e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{loading:t.loading})}))),e.current.unstable_caches.rows.loadingPropBeforePartialUpdates=t.loading,e.current.forceUpdate()),void(a||(e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{totalRowCount:Math.max(t.rowCount||0,e.rows.totalRowCount),totalTopLevelRowCount:Math.max(t.rowCount||0,e.rows.totalTopLevelRowCount)})}))),e.current.unstable_caches.rows.rowCountPropBeforePartialUpdates=t.rowCount,e.current.forceUpdate()));n.debug(`Updating all rows, new length ${t.rows.length}`),l(LQ({rows:t.rows,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),!1)}),[t.rows,t.rowCount,t.getRowId,t.loading,n,l,e])})(r,e),yJ(r),(e=>{const t=U.useRef({}),n=U.useCallback(((e,n,r)=>{const o=t.current;o[e]||(o[e]={}),o[e][n]=r}),[]),r=U.useCallback(((e,n)=>{var r;return null==(r=t.current[e])?void 0:r[n]}),[]),o=U.useCallback((t=>{const{columnIndex:r,rowId:o,minFirstColumnIndex:a,maxLastColumnIndex:i,columns:s}=t,l=s.length,u=s[r],c="function"==typeof u.colSpan?u.colSpan(e.current.getCellParams(o,u.field)):u.colSpan;if(!c||1===c)return n(o,r,{spannedByColSpan:!1,cellProps:{colSpan:1,width:u.computedWidth}}),{colSpan:1};let d=u.computedWidth;for(let e=1;e=a&&t{for(let a=t;a1&&(a+=i.colSpan-1)}}),[o]);JZ(e,{unstable_getCellColSpanInfo:r,unstable_calculateColSpan:a});const i=U.useCallback((()=>{t.current={}}),[]);zZ(e,"columnOrderChange",i)})(r),((e,t)=>{var n;const r=U.useCallback((t=>{var n,r;return null!=(n=null==(r=yW(e)[t])?void 0:r.groupPath)?n:[]}),[e]),o=U.useCallback((()=>bQ(e)),[e]);JZ(e,{unstable_getColumnGroupPath:r,unstable_getAllGroupDetails:o});const a=U.useRef(!0);U.useEffect((()=>{var n,r;if(a.current)return void(a.current=!1);if(null==(n=t.experimentalFeatures)||!n.columnGrouping)return;const o=SQ(null!=(r=t.columnGroupingModel)?r:[]);e.current.setState((e=>Id({},e,{columnGrouping:Id({},e.columnGrouping,{lookup:o})})))}),[e,t.columnGroupingModel,null==(n=t.experimentalFeatures)?void 0:n.columnGrouping])})(r,e);return(null!=(n=e.experimentalFeatures)&&n.newEditingApi?gJ:lJ)(r,e),((e,t)=>{const n=ZW(e,"useGridFocus"),r=U.useRef(null),o=U.useCallback(((t,n)=>{t&&e.current.getRow(t.id)&&e.current.publishEvent("cellFocusOut",e.current.getCellParams(t.id,t.field),n)}),[e]),a=U.useCallback(((t,r)=>{const a=bq(e);(null==a?void 0:a.id)===t&&(null==a?void 0:a.field)===r||(e.current.setState((e=>(n.debug(`Focusing on cell with id=${t} and field=${r}`),Id({},e,{tabIndex:{cell:{id:t,field:r},columnHeader:null},focus:{cell:{id:t,field:r},columnHeader:null}})))),e.current.forceUpdate(),e.current.getRow(t)&&(a&&o(a,{}),e.current.publishEvent("cellFocusIn",e.current.getCellParams(t,r))))}),[e,n,o]),i=U.useCallback(((t,r={})=>{const a=bq(e);o(a,r),e.current.setState((e=>(n.debug(`Focusing on column header with colIndex=${t}`),Id({},e,{tabIndex:{columnHeader:{field:t},cell:null},focus:{columnHeader:{field:t},cell:null}})))),e.current.forceUpdate()}),[e,n,o]),s=U.useCallback(((n,r,o)=>{let a=e.current.getColumnIndex(r),i=e.current.getRowIndexRelativeToVisibleRows(n);const s=xW(e);"right"===o?a+=1:"left"===o?a-=1:i+=1;const l=AZ(e,{pagination:t.pagination,paginationMode:t.paginationMode});a>=s.length?(i+=1,i=0&&(a=s.length-1)),i=DY(i,0,l.rows.length-1);const u=l.rows[i],c=e.current.unstable_getCellColSpanInfo(u.id,a);c&&c.spannedByColSpan&&("left"===o||"below"===o?a=c.leftVisibleCellIndex:"right"===o&&(a=c.rightVisibleCellIndex)),a=DY(a,0,s.length-1);const d=s[a];e.current.setCellFocus(u.id,d.field)}),[e,t.pagination,t.paginationMode]),l=U.useCallback((({id:t,field:n})=>{e.current.setCellFocus(t,n)}),[e]),u=U.useCallback(((t,n)=>{"Enter"===n.key||"Tab"===n.key||vK(n.key)||e.current.setCellFocus(t.id,t.field)}),[e]),c=U.useCallback((({field:t},n)=>{n.target===n.currentTarget&&e.current.setColumnHeaderFocus(t,n)}),[e]),d=U.useCallback((()=>{n.debug("Clearing focus"),e.current.setState((e=>Id({},e,{focus:{cell:null,columnHeader:null}})))}),[n,e]),p=U.useCallback((e=>{r.current=e}),[]),f=U.useCallback((t=>{const n=r.current;r.current=null;const a=bq(e);if(!a)return void(n&&e.current.setCellFocus(n.id,n.field));if((null==n?void 0:n.id)===a.id&&(null==n?void 0:n.field)===a.field)return;const i=e.current.getCellElement(a.id,a.field);null!=i&&i.contains(t.target)||(n?e.current.setCellFocus(n.id,n.field):(e.current.setState((e=>Id({},e,{focus:{cell:null,columnHeader:null}}))),e.current.forceUpdate(),o(a,t)))}),[e,o]),m=U.useCallback((t=>{if("view"===t.cellMode)return;const n=bq(e);(null==n?void 0:n.id)===t.id&&(null==n?void 0:n.field)===t.field||e.current.setCellFocus(t.id,t.field)}),[e]),h=U.useCallback((()=>{const t=bq(e);t&&!e.current.getRow(t.id)&&e.current.setState((e=>Id({},e,{focus:{cell:null,columnHeader:null}})))}),[e]);JZ(e,{setCellFocus:a,setColumnHeaderFocus:i,unstable_moveFocusToRelativeCell:s}),U.useEffect((()=>{const t=Rg(e.current.rootElementRef.current);return t.addEventListener("click",f),()=>{t.removeEventListener("click",f)}}),[e,f]),zZ(e,"columnHeaderBlur",d),zZ(e,"cellDoubleClick",l),zZ(e,"cellMouseDown",p),zZ(e,"cellKeyDown",u),zZ(e,"cellModeChange",m),zZ(e,"columnHeaderFocus",c),zZ(e,"rowsSet",h)})(r,e),((e,t)=>{var n;const r=ZW(e,"useGridPreferencesPanel"),o=U.useRef(),a=U.useRef(),i=U.useCallback((()=>{r.debug("Hiding Preferences Panel");const t=aY(e.current.state);t.openedPanelValue&&e.current.publishEvent("preferencePanelClose",{openedPanelValue:t.openedPanelValue}),e.current.setState((e=>Id({},e,{preferencePanel:{open:!1}}))),e.current.forceUpdate()}),[e,r]),s=U.useCallback((()=>{a.current=setTimeout((()=>clearTimeout(o.current)),0)}),[]),l=U.useCallback((()=>{o.current=setTimeout(i,100)}),[i]),u=U.useCallback((t=>{r.debug("Opening Preferences Panel"),s(),e.current.setState((e=>Id({},e,{preferencePanel:Id({},e.preferencePanel,{open:!0,openedPanelValue:t})}))),e.current.publishEvent("preferencePanelOpen",{openedPanelValue:t}),e.current.forceUpdate()}),[r,s,e]);JZ(e,{showPreferences:u,hidePreferences:l});const c=U.useCallback(((n,r)=>{var o;const a=aY(e.current.state);return!r.exportOnlyDirtyModels||null!=(null==(o=t.initialState)?void 0:o.preferencePanel)||a.open?Id({},n,{preferencePanel:a}):n}),[e,null==(n=t.initialState)?void 0:n.preferencePanel]),d=U.useCallback(((t,n)=>{const r=n.stateToRestore.preferencePanel;return null!=r&&e.current.setState((e=>Id({},e,{preferencePanel:r}))),t}),[e]);oQ(e,"exportState",c),oQ(e,"restoreState",d),U.useEffect((()=>()=>{clearTimeout(o.current),clearTimeout(a.current)}),[])})(r,e),((e,t)=>{var n,r,o;const a=ZW(e,"useGridFilter");e.current.unstable_registerControlState({stateId:"filter",propModel:t.filterModel,propOnChange:t.onFilterModelChange,stateSelector:_W,changeEvent:"filterModelChange"});const i=U.useCallback((()=>{e.current.setState((n=>{const r=_W(n,e.current.instanceId),o=t.filterMode===sq?GQ(r,e):null,a=e.current.unstable_applyStrategyProcessor("filtering",{isRowMatchingFilters:o,filterModel:null!=r?r:bZ()});return Id({},n,{filter:Id({},n.filter,a)})})),e.current.publishEvent("filteredRowsSet")}),[t.filterMode,e]),s=U.useCallback((()=>{i(),e.current.forceUpdate()}),[e,i]),l=U.useCallback((t=>{const n=_W(e),r=[...n.items],o=r.findIndex((e=>e.id===t.id));-1===o?r.push(t):r[o]=t,e.current.setFilterModel(Id({},n,{items:r}),"upsertFilterItem")}),[e]),u=U.useCallback((t=>{const n=_W(e),r=[...n.items];t.forEach((e=>{const n=t.findIndex((t=>t.id===e.id));-1===n?r.push(e):r[n]=e})),e.current.setFilterModel(Id({},n,{items:t}),"upsertFilterItems")}),[e]),c=U.useCallback((t=>{const n=_W(e),r=n.items.filter((e=>e.id!==t.id));r.length!==n.items.length&&e.current.setFilterModel(Id({},n,{items:r}),"deleteFilterItem")}),[e]),d=U.useCallback((n=>{if(a.debug("Displaying filter panel"),n){const r=_W(e),o=r.items.filter((t=>{var n;if(void 0!==t.value)return!0;const r=null==(n=e.current.getColumn(t.columnField).filterOperators)?void 0:n.find((e=>e.value===t.operatorValue));return!(void 0===(null==r?void 0:r.requiresFilterValue)||(null==r?void 0:r.requiresFilterValue))}));let a;a=o.find((e=>e.columnField===n))?o:t.disableMultipleColumnsFiltering?[FQ({columnField:n},e)]:[...o,FQ({columnField:n},e)],e.current.setFilterModel(Id({},r,{items:a}))}e.current.showPreferences(iY.filters)}),[e,a,t.disableMultipleColumnsFiltering]),p=U.useCallback((()=>{a.debug("Hiding filter panel"),e.current.hidePreferences()}),[e,a]),f=U.useCallback((t=>{const n=_W(e);n.linkOperator!==t&&e.current.setFilterModel(Id({},n,{linkOperator:t}),"changeLogicOperator")}),[e]),m=U.useCallback((t=>{const n=_W(e);jY(n.quickFilterValues,t)||e.current.setFilterModel(Id({},n,{quickFilterValues:[...t]}))}),[e]),h=U.useCallback(((n,r)=>{_W(e)!==n&&(a.debug("Setting filter model"),e.current.unstable_updateControlState("filter",HQ(n,t.disableMultipleColumnsFiltering,e),r),e.current.unstable_applyFilters())}),[e,a,t.disableMultipleColumnsFiltering]),g=U.useCallback((()=>{const t=NW(e);return new Map(t.map((e=>[e.id,e.model])))}),[e]);JZ(e,{setFilterLinkOperator:f,unstable_applyFilters:s,deleteFilterItem:c,upsertFilterItem:l,upsertFilterItems:u,setFilterModel:h,showFilterPanel:d,hideFilterPanel:p,getVisibleRowModels:g,setQuickFilterValues:m});const b=U.useCallback(((n,r)=>{var o,a;const i=_W(e);return r.exportOnlyDirtyModels&&null==t.filterModel&&null==(null==(o=t.initialState)||null==(a=o.filter)?void 0:a.filterModel)&&jY(i,bZ())?n:Id({},n,{filter:{filterModel:i}})}),[e,t.filterModel,null==(n=t.initialState)||null==(r=n.filter)?void 0:r.filterModel]),v=U.useCallback(((n,r)=>{var o;const a=null==(o=r.stateToRestore.filter)?void 0:o.filterModel;return null==a?n:(e.current.unstable_updateControlState("filter",HQ(a,t.disableMultipleColumnsFiltering,e),"restoreState"),Id({},n,{callbacks:[...n.callbacks,e.current.unstable_applyFilters]}))}),[e,t.disableMultipleColumnsFiltering]),y=U.useCallback(((e,n)=>{if(n===iY.filters){var r;const e=t.components.FilterPanel;return ee.jsx(e,Id({},null==(r=t.componentsProps)?void 0:r.filterPanel))}return e}),[t.components.FilterPanel,null==(o=t.componentsProps)?void 0:o.filterPanel]),w=U.useCallback((n=>{if(t.filterMode===sq&&n.isRowMatchingFilters){const t=lW(e),r={};for(let o=0;o{a.debug("onColUpdated - GridColumns changed, applying filters");const t=_W(e),n=RW(e),r=t.items.filter((e=>e.columnField&&n[e.columnField]));r.length{"filtering"===t&&e.current.unstable_applyFilters()}),[e]);zZ(e,"rowsSet",i),zZ(e,"rowExpansionChange",e.current.unstable_applyFilters),zZ(e,"columnsChange",S),zZ(e,"activeStrategyProcessorChange",x),rQ((()=>{e.current.unstable_applyFilters()})),U.useEffect((()=>{void 0!==t.filterModel&&e.current.setFilterModel(t.filterModel)}),[e,a,t.filterModel])})(r,e),((e,t)=>{var n,r;const o=ZW(e,"useGridSorting");e.current.unstable_registerControlState({stateId:"sortModel",propModel:t.sortModel,propOnChange:t.onSortModelChange,stateSelector:hW,changeEvent:"sortModelChange"});const a=U.useCallback(((t,n)=>{const r=hW(e),o=r.findIndex((e=>e.field===t));let a=[...r];return o>-1?n?a.splice(o,1,n):a.splice(o,1):a=[...r,n],a}),[e]),i=U.useCallback(((n,r)=>{var o;const a=hW(e).find((e=>e.field===n.field));if(a){var i;const e=void 0===r?_Y(null!=(i=n.sortingOrder)?i:t.sortingOrder,a.sort):r;return null==e?void 0:Id({},a,{sort:e})}return{field:n.field,sort:void 0===r?_Y(null!=(o=n.sortingOrder)?o:t.sortingOrder):r}}),[e,t.sortingOrder]),s=U.useCallback((()=>{e.current.setState((n=>{if(t.sortingMode===lq)return o.debug("Skipping sorting rows as sortingMode = server"),Id({},n,{sorting:Id({},n.sorting,{sortedRows:lW(n,e.current.instanceId)})});const r=((e,t)=>{const n=e.map((e=>((e,t)=>{const n=t.current.getColumn(e.field);return n?{getSortCellParams:e=>({id:e,field:n.field,rowNode:t.current.getRowNode(e),value:t.current.getCellValue(e,n.field),api:t.current}),comparator:"desc"===e.sort?(...e)=>-1*n.sortComparator(...e):n.sortComparator}:null})(e,t))).filter((e=>!!e));return 0===n.length?null:e=>e.map((e=>({node:e,params:n.map((t=>t.getSortCellParams(e.id)))}))).sort(((e,t)=>{return r=e,o=t,n.reduce(((e,t,n)=>{if(0!==e)return e;const a=r.params[n],i=o.params[n];return t.comparator(a.value,i.value,a,i)}),0);var r,o})).map((e=>e.node.id))})(hW(n,e.current.instanceId),e),a=e.current.unstable_applyStrategyProcessor("sorting",{sortRowList:r});return Id({},n,{sorting:Id({},n.sorting,{sortedRows:a})})})),e.current.publishEvent("sortedRowsSet"),e.current.forceUpdate()}),[e,o,t.sortingMode]),l=U.useCallback((n=>{hW(e)!==n&&(o.debug("Setting sort model"),e.current.setState(IY(n,t.disableMultipleColumnsSorting)),e.current.forceUpdate(),e.current.applySorting())}),[e,o,t.disableMultipleColumnsSorting]),u=U.useCallback(((n,r,o)=>{if(!n.sortable)return;const s=i(n,r);let l;l=!o||t.disableMultipleColumnsSorting?s?[s]:[]:a(n.field,s),e.current.setSortModel(l)}),[e,a,i,t.disableMultipleColumnsSorting]),c=U.useCallback((()=>hW(e)),[e]),d=U.useCallback((()=>mW(e).map((e=>e.model))),[e]),p=U.useCallback((()=>fW(e)),[e]),f=U.useCallback((t=>e.current.getSortedRowIds().indexOf(t)),[e]),m=U.useCallback((t=>e.current.getSortedRowIds()[t]),[e]);JZ(e,{getSortModel:c,getSortedRows:d,getSortedRowIds:p,getRowIndex:f,getRowIdFromRowIndex:m,setSortModel:l,sortColumn:u,applySorting:s});const h=U.useCallback(((n,r)=>{var o,a;const i=hW(e);return!r.exportOnlyDirtyModels||null!=t.sortModel||null!=(null==(o=t.initialState)||null==(a=o.sorting)?void 0:a.sortModel)||i.length>0?Id({},n,{sorting:{sortModel:i}}):n}),[e,t.sortModel,null==(n=t.initialState)||null==(r=n.sorting)?void 0:r.sortModel]),g=U.useCallback(((n,r)=>{var o;const a=null==(o=r.stateToRestore.sorting)?void 0:o.sortModel;return null==a?n:(e.current.setState(IY(a,t.disableMultipleColumnsSorting)),Id({},n,{callbacks:[...n.callbacks,e.current.applySorting]}))}),[e,t.disableMultipleColumnsSorting]),b=U.useCallback((t=>{const n=aW(e);if(!t.sortRowList){const t=[],r=[];return lW(e).forEach((e=>{n[e].isPinned||("footer"===n[e].position?r.push(e):t.push(e))})),[...t,...r]}const r=[],o=[];return Object.values(n).forEach((e=>{e.isPinned||("footer"===e.position?o.push(e.id):r.push(e))})),[...t.sortRowList(r),...o]}),[e]);oQ(e,"exportState",h),oQ(e,"restoreState",g),iQ(e,sQ,"sorting",b);const v=U.useCallback((({colDef:e},t)=>{const n=t.shiftKey||t.metaKey||t.ctrlKey;u(e,void 0,n)}),[u]),y=U.useCallback((({colDef:e},t)=>{!cK(t.key)||t.ctrlKey||t.metaKey||u(e,void 0,t.shiftKey)}),[u]),w=U.useCallback((()=>{const t=hW(e),n=yW(e);if(t.length>0){const r=t.filter((e=>n[e.field]));r.length{"sorting"===t&&e.current.applySorting()}),[e]);zZ(e,"columnHeaderClick",v),zZ(e,"columnHeaderKeyDown",y),zZ(e,"rowsSet",e.current.applySorting),zZ(e,"columnsChange",w),zZ(e,"activeStrategyProcessorChange",S),rQ((()=>{e.current.applySorting()})),U.useEffect((()=>{void 0!==t.sortModel&&e.current.setSortModel(t.sortModel)}),[e,t.sortModel])})(r,e),((e,t)=>{const n=XG(e,xW),r=n.length>0?Math.max(...n.map((e=>{var t,n;return null!=(t=null==(n=e.groupPath)?void 0:n.length)?t:0}))):0,o=ZW(e,"useDensity"),a=U.useCallback(((n,a=t.headerHeight,i=t.rowHeight,s=r)=>{o.debug(`Set grid density to ${n}`),e.current.setState((e=>{const t=zW(e),r=EQ(n,a,i,s);return jY(t,r)?e:Id({},e,{density:r})})),e.current.forceUpdate()}),[o,e,t.headerHeight,t.rowHeight,r]);U.useEffect((()=>{e.current.setDensity(t.density,t.headerHeight,t.rowHeight,r)}),[e,t.density,t.rowHeight,t.headerHeight,r]),JZ(e,{setDensity:a})})(r,e),nJ(r,e),((e,t)=>{const{getRowHeight:n,getRowSpacing:r,getEstimatedRowHeight:o}=t,a=U.useRef({}),i=U.useRef(-1),s=U.useRef(!1),l=XG(e,HW),u=XG(e,IW),c=XG(e,mY),d=XG(e,pW),p=OZ(e,t),f=XG(e,cW),m=U.useCallback((()=>{var t,u;s.current=!1;const c=WW(e.current.state,e.current.instanceId),d=t=>{a.current[t.id]||(a.current[t.id]={sizes:{baseCenter:l},isResized:!1,autoHeight:!1,needsFirstMeasurement:!0});const{isResized:i,needsFirstMeasurement:u,sizes:d}=a.current[t.id];let f=l;const m=d.baseCenter;if(i)f=m;else if(n){const e=n(Id({},t,{densityFactor:c}));if("auto"===e){if(u){const e=o?o(Id({},t,{densityFactor:c})):l;f=null!=e?e:l}else f=m;s.current=!0,a.current[t.id].autoHeight=!0}else f=null!=e?e:l,a.current[t.id].needsFirstMeasurement=!1,a.current[t.id].autoHeight=!1}else a.current[t.id].needsFirstMeasurement=!1;const h=Id({},Object.entries(d).reduce(((e,[t,n])=>(/^base[A-Z]/.test(t)&&(e[t]=n),e)),{}),{baseCenter:f});if(r){var g,b;const n=e.current.getRowIndexRelativeToVisibleRows(t.id),o=r(Id({},t,{isFirstVisible:0===n,isLastVisible:n===p.rows.length-1,indexRelativeToCurrentPage:n}));h.spacingTop=null!=(g=o.top)?g:0,h.spacingBottom=null!=(b=o.bottom)?b:0}const v=e.current.unstable_applyPipeProcessors("rowHeight",h,t);return a.current[t.id].sizes=v,v},m=[],h=p.rows.reduce(((e,t)=>{m.push(e);let n=0,r=0;const o=d(t);return Object.entries(o).forEach((([e,t])=>{/^base[A-Z]/.test(e)?n=t>n?t:n:r+=t})),e+n+r}),0);null==f||null==(t=f.top)||t.forEach((e=>{d(e)})),null==f||null==(u=f.bottom)||u.forEach((e=>{d(e)})),e.current.setState((e=>Id({},e,{rowsMeta:{currentPageTotalHeight:h,positions:m}}))),s.current||(i.current=1/0),e.current.forceUpdate()}),[e,p.rows,l,n,r,o,f]),h=U.useCallback((e=>{const t=a.current[e];return t?t.sizes.baseCenter:l}),[l]),g=U.useCallback(((e,t)=>{a.current[e].sizes.baseCenter=t,a.current[e].isResized=!0,a.current[e].needsFirstMeasurement=!1,m()}),[m]),b=U.useMemo((()=>Cg(m)),[m]),v=U.useCallback(((e,t,n)=>{if(!a.current[e]||!a.current[e].autoHeight)return;const r=a.current[e].sizes[`base${cm(n)}`]!==t;a.current[e].needsFirstMeasurement=!1,a.current[e].sizes[`base${cm(n)}`]=t,r&&b()}),[b]),y=U.useCallback((e=>{var t;return(null==(t=a.current[e])?void 0:t.autoHeight)||!1}),[]),w=U.useCallback((()=>i.current),[]),S=U.useCallback((e=>{s.current&&e>i.current&&(i.current=e)}),[]),x=U.useCallback((()=>{a.current={},m()}),[m]);U.useEffect((()=>{m()}),[l,u,c,d,m]),aQ(e,"rowHeight",m),JZ(e,{unstable_getLastMeasuredRowIndex:w,unstable_setLastMeasuredRowIndex:S,unstable_rowHasAutoHeight:y,unstable_getRowHeight:h,unstable_getRowInternalSizes:e=>{var t;return null==(t=a.current[e])?void 0:t.sizes},unstable_setRowHeight:g,unstable_storeRowHeightMeasurement:v,resetRowHeights:x})})(r,e),((e,t)=>{const n=ZW(e,"useGridScroll"),r=e.current.columnHeadersElementRef,o=e.current.windowRef,a=XG(e,NW),i=U.useCallback((r=>{const i=eW(e),s=xW(e);if(null!=r.rowIndex&&0===i||0===s.length)return!1;n.debug(`Scrolling to cell at row ${r.rowIndex}, col: ${r.colIndex} `);let l={};if(null!=r.colIndex){const t=EW(e);let n;if(void 0!==r.rowIndex){var u;const t=null==(u=a[r.rowIndex])?void 0:u.id,o=e.current.unstable_getCellColSpanInfo(t,r.colIndex);o&&!o.spannedByColSpan&&(n=o.cellProps.width)}void 0===n&&(n=s[r.colIndex].computedWidth),l.left=OJ({clientHeight:o.current.clientWidth,scrollTop:o.current.scrollLeft,offsetHeight:n,offsetTop:t[r.colIndex]})}if(null!=r.rowIndex){var c,d;const n=AQ(e.current.state),a=hY(e),i=gY(e),s=t.pagination?r.rowIndex-a*i:r.rowIndex,u=n.positions[s+1]?n.positions[s+1]-n.positions[s]:n.currentPageTotalHeight-n.positions[s],p=(null==(c=o.current.querySelector(`.${zG["pinnedRows--top"]}`))?void 0:c.clientHeight)||0,f=(null==(d=o.current.querySelector(`.${zG["pinnedRows--bottom"]}`))?void 0:d.clientHeight)||0;l.top=OJ({clientHeight:o.current.clientHeight-p-f,scrollTop:o.current.scrollTop,offsetHeight:u,offsetTop:n.positions[s]})}return l=e.current.unstable_applyPipeProcessors("scrollToIndexes",l,r),(void 0!==typeof l.left||void 0!==typeof l.top)&&(e.current.scroll(l),!0)}),[n,e,o,t.pagination,a]),s=U.useCallback((e=>{o.current&&null!=e.left&&r.current&&(r.current.scrollLeft=e.left,o.current.scrollLeft=e.left,n.debug(`Scrolling left: ${e.left}`)),o.current&&null!=e.top&&(o.current.scrollTop=e.top,n.debug(`Scrolling top: ${e.top}`)),n.debug("Scrolling, updating container, and viewport")}),[o,r,n]),l=U.useCallback((()=>null!=o&&o.current?{top:o.current.scrollTop,left:o.current.scrollLeft}:{top:0,left:0}),[o]);JZ(e,{scroll:s,scrollToIndexes:i,getScrollPosition:l})})(r,e),(e=>{const t=ZW(e,"useGridColumnMenu"),n=U.useCallback((n=>{e.current.setState((e=>e.columnMenu.open&&e.columnMenu.field===n?e:(t.debug("Opening Column Menu"),Id({},e,{columnMenu:{open:!0,field:n}}))))&&(e.current.hidePreferences(),e.current.forceUpdate())}),[e,t]),r=U.useCallback((()=>{e.current.setState((e=>e.columnMenu.open||void 0!==e.columnMenu.field?(t.debug("Hiding Column Menu"),Id({},e,{columnMenu:Id({},e.columnMenu,{open:!1,field:void 0})})):e))&&e.current.forceUpdate()}),[e,t]),o=U.useCallback((o=>{t.debug("Toggle Column Menu");const a=mQ(e.current.state);a.open&&a.field===o?r():n(o)}),[e,t,n,r]);JZ(e,{showColumnMenu:n,hideColumnMenu:r,toggleColumnMenu:o});const a=U.useCallback(((t,n)=>{if(!n.target.classList.contains(zG.menuIconButton))return;if(!n.relatedTarget)return;const r=n.relatedTarget.classList.contains(zG.menuList),o="menuitem"===n.relatedTarget.getAttribute("role");(r||o)&&e.current.setColumnHeaderFocus(t.field)}),[e]);zZ(e,"columnResizeStart",r),zZ(e,"columnHeaderFocus",a),zZ(e,"virtualScrollerWheel",e.current.hideColumnMenu),zZ(e,"virtualScrollerTouchMove",e.current.hideColumnMenu)})(r),_Q(r),OQ(r,e),fQ(r),function(e,t){const n=ZW(e,"useResizeContainer"),r=U.useRef(!1),o=U.useRef(null),a=U.useRef(null),i=XG(e,AQ),s=XG(e,qW),l=U.useCallback((()=>{var n;const r=null==(n=e.current.rootElementRef)?void 0:n.current,l=CW(e),u=jQ(e);if(!o.current)return;let c,d,p,f;if(null!=t.scrollbarSize)c=t.scrollbarSize;else if(l&&r){const e=Rg(r).createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.overflow="scroll",e.className="scrollDiv",r.appendChild(e),c=e.offsetWidth-e.clientWidth,r.removeChild(e)}else c=0;if(t.autoHeight)f=!1,p=Math.round(l)>o.current.width,d={width:o.current.width,height:i.currentPageTotalHeight+(p?c:0)};else{d={width:o.current.width,height:o.current.height-s};const e=(({content:e,container:t,scrollBarSize:n})=>{const r=e.width>t.width,o=e.height>t.height;let a=!1,i=!1;return(r||o)&&(a=r,i=e.height+(a?n:0)>t.height,i&&(a=e.width+n>t.width)),{hasScrollX:a,hasScrollY:i}})({content:{width:Math.round(l),height:i.currentPageTotalHeight},container:{width:d.width,height:d.height-u.top-u.bottom},scrollBarSize:c});f=e.hasScrollY,p=e.hasScrollX}const m={viewportOuterSize:d,viewportInnerSize:{width:d.width-(f?c:0),height:d.height-(p?c:0)},hasScrollX:p,hasScrollY:f,scrollBarSize:c},h=a.current;a.current=m,m.viewportInnerSize.width===(null==h?void 0:h.viewportInnerSize.width)&&m.viewportInnerSize.height===(null==h?void 0:h.viewportInnerSize.height)||e.current.publishEvent("viewportInnerSizeChange",m.viewportInnerSize)}),[e,t.scrollbarSize,t.autoHeight,s,i.currentPageTotalHeight]),u=U.useCallback((()=>{l(),e.current.publishEvent("debouncedResize",o.current)}),[e,l]),c=U.useCallback((()=>a.current),[]),d=U.useCallback((()=>{const n=e.current.getRootDimensions();if(!n)return 0;const r=AZ(e,{pagination:t.pagination,paginationMode:t.paginationMode});if(t.getRowHeight){const t=e.current.unstable_getRenderContext(),n=t.lastRowIndex-t.firstRowIndex;return Math.min(n-1,r.rows.length)}const o=Math.floor(n.viewportInnerSize.height/HW(e));return Math.min(o,r.rows.length)}),[e,t.pagination,t.paginationMode,t.getRowHeight]);JZ(e,{resize:u,getRootDimensions:c,unstable_getViewportPageSize:d,unstable_updateGridDimensionsRef:l});const p=U.useMemo((()=>Cg(u,60)),[u]),f=U.useRef(!0),m=U.useCallback((e=>{o.current=e;const a=/jsdom/.test(window.navigator.userAgent);if(0!==e.height||r.current||t.autoHeight||a||(n.error(["The parent DOM element of the data grid has an empty height.","Please make sure that this element has an intrinsic height.","The grid displays with a height of 0px.","","More details: https://mui.com/r/x-data-grid-no-dimensions."].join("\n")),r.current=!0),0!==e.width||r.current||a||(n.error(["The parent DOM element of the data grid has an empty width.","Please make sure that this element has an intrinsic width.","The grid displays with a width of 0px.","","More details: https://mui.com/r/x-data-grid-no-dimensions."].join("\n")),r.current=!0),f.current)return u(),void(f.current=!1);p()}),[t.autoHeight,p,n,u]);cg((()=>l()),[l]),HZ(e,"sortedRowsSet",l),HZ(e,"pageChange",l),HZ(e,"pageSizeChange",l),HZ(e,"columnsChange",l),zZ(e,"resize",m),HZ(e,"debouncedResize",t.onResize)}(r,e),function(e,t){HZ(e,"columnHeaderClick",t.onColumnHeaderClick),HZ(e,"columnHeaderDoubleClick",t.onColumnHeaderDoubleClick),HZ(e,"columnHeaderOver",t.onColumnHeaderOver),HZ(e,"columnHeaderOut",t.onColumnHeaderOut),HZ(e,"columnHeaderEnter",t.onColumnHeaderEnter),HZ(e,"columnHeaderLeave",t.onColumnHeaderLeave),HZ(e,"columnOrderChange",t.onColumnOrderChange),HZ(e,"cellClick",t.onCellClick),HZ(e,"cellDoubleClick",t.onCellDoubleClick),HZ(e,"cellKeyDown",t.onCellKeyDown),HZ(e,"cellFocusOut",t.onCellFocusOut),HZ(e,"preferencePanelClose",t.onPreferencePanelClose),HZ(e,"preferencePanelOpen",t.onPreferencePanelOpen),HZ(e,"menuOpen",t.onMenuOpen),HZ(e,"menuClose",t.onMenuClose),HZ(e,"rowDoubleClick",t.onRowDoubleClick),HZ(e,"rowClick",t.onRowClick),HZ(e,"componentError",t.onError),HZ(e,"stateChange",t.onStateChange)}(r,e),(e=>{const t=U.useCallback(((t={})=>e.current.unstable_applyPipeProcessors("exportState",{},t)),[e]),n=U.useCallback((t=>{e.current.unstable_applyPipeProcessors("restoreState",{callbacks:[]},{stateToRestore:t}).callbacks.forEach((e=>{e()})),e.current.forceUpdate()}),[e]);JZ(e,{exportState:t,restoreState:n})})(r),r},LJ={apiRef:void 0,disableMultipleColumnsFiltering:!0,disableMultipleColumnsSorting:!0,disableMultipleSelection:!0,throttleRowsMs:void 0,hideFooterRowCount:!1,pagination:!0,checkboxSelectionVisibleOnly:!1,disableColumnReorder:!0,disableColumnResize:!0,keepColumnPositionIfDraggedOutside:!1,signature:"DataGrid"},MJ={autoHeight:!1,autoPageSize:!1,checkboxSelection:!1,checkboxSelectionVisibleOnly:!1,columnBuffer:3,rowBuffer:3,columnThreshold:3,rowThreshold:3,density:mq.Standard,disableExtendRowFullWidth:!1,disableColumnFilter:!1,disableColumnMenu:!1,disableColumnSelector:!1,disableDensitySelector:!1,disableMultipleColumnsFiltering:!1,disableMultipleSelection:!1,disableMultipleColumnsSorting:!1,disableSelectionOnClick:!1,disableVirtualization:!1,disableIgnoreModificationsIfProcessingProps:!1,editMode:oq.Cell,filterMode:sq,headerHeight:56,hideFooter:!1,hideFooterPagination:!1,hideFooterRowCount:!1,hideFooterSelectedRowCount:!1,logger:console,logLevel:"error",pagination:!1,paginationMode:sq,rowHeight:52,rowsPerPageOptions:[25,50,100],rowSpacingType:"margin",showCellRightBorder:!1,showColumnRightBorder:!1,sortingOrder:["asc","desc",null],sortingMode:sq,throttleRowsMs:0,disableColumnReorder:!1,disableColumnResize:!1,keepNonExistentRowsSelected:!1,keepColumnPositionIfDraggedOutside:!1},DJ=["className"],jJ=Wv("div",{name:"MuiDataGrid",slot:"VirtualScroller",overridesResolver:(e,t)=>t.virtualScroller})({overflow:"auto",position:"relative","@media print":{overflow:"hidden"}}),FJ=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,DJ),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["virtualScroller"]},BG,t)})(o);return ee.jsx(jJ,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),$J=["className","style"],BJ=Wv("div",{name:"MuiDataGrid",slot:"VirtualScrollerContent",overridesResolver:(e,t)=>t.virtualScrollerContent})({}),zJ=U.forwardRef((function(e,t){const{className:n,style:r}=e,o=_d(e,$J),a=$G(),i=Id({},a,{overflowedContent:!a.autoHeight&&"auto"===(null==r?void 0:r.minHeight)}),s=(e=>{const{classes:t,overflowedContent:n}=e;return eb({root:["virtualScrollerContent",n&&"virtualScrollerContent--overflowed"]},BG,t)})(i);return ee.jsx(BJ,Id({ref:t,className:rq(s.root,n),ownerState:i,style:r},o))})),UJ=["className"],HJ=Wv("div",{name:"MuiDataGrid",slot:"VirtualScrollerRenderZone",overridesResolver:(e,t)=>t.virtualScrollerRenderZone})({position:"absolute",display:"flex",flexDirection:"column"}),VJ=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,UJ),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["virtualScrollerRenderZone"]},BG,t)})(o);return ee.jsx(HJ,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),GJ=["style"];function WJ(e,t,n=0,r=t.length){if(t.length<=0)return-1;if(n>=r)return n;const o=n+Math.floor((r-n)/2);return e<=t[o]?WJ(e,t,n,o):WJ(e,t,o+1,r)}const qJ=({firstIndex:e,lastIndex:t,buffer:n,minFirstIndex:r,maxLastIndex:o})=>[DY(e-n,r,o),DY(t+n,r,o)],KJ=e=>{var t,n;const r=jG(),o=$G(),a=XG(r,xW),{ref:i,disableVirtualization:s,onRenderZonePositioning:l,renderZoneMinColumnIndex:u=0,renderZoneMaxColumnIndex:c=a.length,getRowProps:d}=e,p=XG(r,EW),f=XG(r,CW),m=XG(r,HW),h=XG(r,bq),g=XG(r,wq),b=XG(r,AQ),v=XG(r,oJ),y=XG(r,fY),w=OZ(r,o),S=U.useRef(null),x=U.useRef(null),E=Lg(i,x),[C,k]=U.useState(null),R=U.useRef(C),T=U.useRef({top:0,left:0}),[I,_]=U.useState({width:null,height:null}),A=U.useRef(f),O=U.useCallback((e=>{var t,n;const o=r.current.unstable_getLastMeasuredRowIndex();let a=o===1/0;null!=(t=w.range)&&t.lastRowIndex&&!a&&(a=o>=w.range.lastRowIndex);const i=DY(o-((null==(n=w.range)?void 0:n.firstRowIndex)||0),0,b.positions.length);return a||b.positions[i]>=e?WJ(e,b.positions):function(e,t,n){let r=1;for(;n{if(s)return{firstRowIndex:0,lastRowIndex:w.rows.length,firstColumnIndex:0,lastColumnIndex:a.length};const{top:e,left:t}=T.current,n=Math.min(O(e),b.positions.length-1),i=o.autoHeight?n+w.rows.length:O(e+I.height);let l=!1,u=0,c=p.length;const[d,f]=qJ({firstIndex:n,lastIndex:i,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:o.rowBuffer});for(let o=d;o{s?S.current.style.transform="translate3d(0px, 0px, 0px)":(x.current.scrollLeft=0,x.current.scrollTop=0)}),[s]),cg((()=>{_({width:x.current.clientWidth,height:x.current.clientHeight})}),[b.currentPageTotalHeight]);const P=U.useCallback((e=>{_({width:e.width,height:e.height})}),[]);zZ(r,"resize",P);const L=U.useCallback((e=>{const[t,n]=qJ({firstIndex:e.firstRowIndex,lastIndex:e.lastRowIndex,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:o.rowBuffer}),[a]=qJ({firstIndex:e.firstColumnIndex,lastIndex:e.lastColumnIndex,minFirstIndex:u,maxLastIndex:c,buffer:o.columnBuffer}),i=SX({firstColumnToRender:a,apiRef:r,firstRowToRender:t,lastRowToRender:n,visibleRows:w.rows}),s=AQ(r.current.state).positions[t],d=EW(r)[i];S.current.style.transform=`translate3d(${d}px, ${s}px, 0px)`,"function"==typeof l&&l({top:s,left:d})}),[r,w.rows,l,u,c,o.columnBuffer,o.rowBuffer]),M=U.useCallback((e=>{if(R.current&&(t=e,n=R.current,t===n||t.firstRowIndex===n.firstRowIndex&&t.lastRowIndex===n.lastRowIndex&&t.firstColumnIndex===n.firstColumnIndex&&t.lastColumnIndex===n.lastColumnIndex))return void L(e);var t,n;k(e),L(e);const[a,i]=qJ({firstIndex:e.firstRowIndex,lastIndex:e.lastRowIndex,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:o.rowBuffer});r.current.publishEvent("renderedRowsIntervalChange",{firstRowToRender:a,lastRowToRender:i}),R.current=e}),[r,k,R,w.rows.length,o.rowBuffer,L]);cg((()=>{if(null==I.width)return;const e=N();M(e);const{top:t,left:n}=T.current,o={top:t,left:n,renderContext:e};r.current.publishEvent("rowsScroll",o)}),[r,N,I.width,M]);const D=e=>{const{scrollTop:t,scrollLeft:n}=e.currentTarget;if(T.current.top=t,T.current.left=n,n<0||t<0||!R.current)return;const a=s?R.current:N(),i=Math.abs(a.firstRowIndex-R.current.firstRowIndex),l=Math.abs(a.lastRowIndex-R.current.lastRowIndex),u=Math.abs(a.firstColumnIndex-R.current.firstColumnIndex),c=Math.abs(a.lastColumnIndex-R.current.lastColumnIndex),d=i>=o.rowThreshold||l>=o.rowThreshold||u>=o.columnThreshold||c>=o.columnThreshold||A.current!==f;r.current.publishEvent("rowsScroll",{top:t,left:n,renderContext:d?a:R.current},e),d&&(fd.flushSync((()=>{M(a)})),A.current=f)},j=e=>{r.current.publishEvent("virtualScrollerWheel",{},e)},F=e=>{r.current.publishEvent("virtualScrollerTouchMove",{},e)},$=I.width&&f>I.width,B=U.useMemo((()=>{const e=Math.max(b.currentPageTotalHeight,1);let t=!1;null!=x&&x.current&&e<=(null==x?void 0:x.current.clientHeight)&&(t=!0);const n={width:$?f:"auto",height:e,minHeight:t?"100%":"auto"};return o.autoHeight&&0===w.rows.length&&(n.height=2*m),n}),[x,f,b.currentPageTotalHeight,w.rows.length,$,o.autoHeight,m]);U.useEffect((()=>{r.current.publishEvent("virtualScrollerContentSizeChange")}),[r,B]),o.autoHeight&&0===w.rows.length&&(B.height=2*m);const z={};$||(z.overflowX="hidden"),o.autoHeight&&(z.overflowY="hidden");const H=U.useCallback((()=>R.current),[]);return r.current.unstable_getRenderContext=H,{renderContext:C,updateRenderZonePosition:L,getRows:(e={renderContext:C})=>{const{renderContext:t,minFirstColumn:n=u,maxLastColumn:i=c,availableSpace:l=I.width,rowIndexOffset:p=0,position:f="center"}=e;if(!t||null==l)return null;const m=s?0:o.rowBuffer,b=s?0:o.columnBuffer,[S,x]=qJ({firstIndex:t.firstRowIndex,lastIndex:t.lastRowIndex,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:m}),E=[];if(e.rows)e.rows.forEach((e=>{E.push(e),r.current.unstable_calculateColSpan({rowId:e.id,minFirstColumn:n,maxLastColumn:i,columns:a})}));else{if(!w.range)return null;for(let e=S;e{let{style:t={}}=e,n=_d(e,GJ);return Id({ref:E,onScroll:D,onWheel:j,onTouchMove:F,style:Id({},t,z)},n)},getContentProps:({style:e={}}={})=>({style:Id({},e,B)}),getRenderZoneProps:()=>({ref:S})}},YJ=["className","disableVirtualization"],XJ=U.forwardRef((function(e,t){const{className:n,disableVirtualization:r}=e,o=_d(e,YJ),{getRootProps:a,getContentProps:i,getRenderZoneProps:s,getRows:l}=KJ({ref:t,disableVirtualization:r});return ee.jsx(FJ,Id({className:n},a(o),{children:ee.jsx(zJ,Id({},i(),{children:ee.jsx(VJ,Id({},s(),{children:l()}))}))}))}));function ZJ(e){var t,n;const{groupId:r,width:o,depth:a,maxDepth:i,fields:s,height:l,colIndex:u,isLastColumn:c,extendRowFullWidth:d}=e,p=$G(),f=jG(),m=XG(f,bQ),{hasScrollX:h,hasScrollY:g}=null!=(t=f.current.getRootDimensions())?t:{hasScrollX:!1,hasScrollY:!1},b=r?m[r]:{},{headerName:v=(null!=r?r:""),description:y="",headerAlign:w}=b;let S;const x=r&&(null==(n=m[r])?void 0:n.renderHeaderGroup),E={groupId:r,headerName:v,description:y,depth:a,maxDepth:i,fields:s,colIndex:u,isLastColumn:c};r&&x&&(S=x(E));const C=c?!(c&&h&&!g)&&!d:p.showColumnRightBorder,k=p.showColumnRightBorder,R=Id({},e,{classes:p.classes,showRightBorder:C,showColumnBorder:k,headerAlign:w,depth:a,isDragging:!1}),T=null!=v?v:r,I=Og(),_=null===r?`empty-group-cell-${I}`:r,A=(e=>{const{classes:t,headerAlign:n,isDragging:r,showRightBorder:o,showColumnBorder:a,groupId:i}=e;return eb({root:["columnHeader","left"===n&&"columnHeader--alignLeft","center"===n&&"columnHeader--alignCenter","right"===n&&"columnHeader--alignRight",r&&"columnHeader--moving",o&&"withBorder",a&&"columnHeader--showColumnBorder",null===i?"columnHeader--emptyGroup":"columnHeader--filledGroup"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"],titleContainerContent:["columnHeaderTitleContainerContent"]},BG,t)})(R),O="function"==typeof b.headerClassName?b.headerClassName(E):b.headerClassName;return ee.jsx(rY,{classes:A,columnMenuOpen:!1,colIndex:u,height:l,isResizing:!1,sortDirection:null,hasFocus:!1,tabIndex:-1,isDraggable:!1,headerComponent:S,headerClassName:O,description:y,elementId:_,width:o,columnMenuIconButton:null,columnTitleIconButtons:null,resizable:!1,label:T,"aria-colspan":s.length,"data-fields":`|-${s.join("-|-")}-|`,disableHeaderSeparator:!0})}const QJ=Wv("div",{name:"MuiDataGrid",slot:"ColumnHeaderRow",overridesResolver:(e,t)=>t.columnHeaderRow})((()=>({display:"flex"})));const JJ=["className"],e0=Wv("div",{name:"MuiDataGrid",slot:"ColumnHeaders",overridesResolver:(e,t)=>t.columnHeaders})((({theme:e})=>({position:"absolute",top:0,left:0,right:0,overflow:"hidden",display:"flex",alignItems:"center",boxSizing:"border-box",borderBottom:`1px solid ${"light"===e.palette.mode?xg(wg(e.palette.divider,1),.88):Sg(wg(e.palette.divider,1),.68)}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius}))),t0=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,JJ),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["columnHeaders"]},BG,t)})(o);return ee.jsx(e0,Id({ref:t,className:rq(n,a.root),ownerState:o},r))})),n0=["isDragging","className"],r0=Wv("div",{name:"MuiDataGrid",slot:"columnHeadersInner",overridesResolver:(e,t)=>[{[`&.${zG.columnHeaderDropZone}`]:t.columnHeaderDropZone},t.columnHeadersInner]})((()=>({display:"flex",alignItems:"flex-start",flexDirection:"column",[`&.${zG.columnHeaderDropZone} .${zG.columnHeaderDraggableContainer}`]:{cursor:"move"},[`&.${zG["columnHeadersInner--scrollable"]} .${zG.columnHeader}:last-child`]:{borderRight:"none"}}))),o0=U.forwardRef((function(e,t){var n,r;const{isDragging:o,className:a}=e,i=_d(e,n0),s=jG(),l=Id({},$G(),{isDragging:o,hasScrollX:null!=(n=null==(r=s.current.getRootDimensions())?void 0:r.hasScrollX)&&n}),u=(e=>{const{isDragging:t,hasScrollX:n,classes:r}=e;return eb({root:["columnHeadersInner",t&&"columnHeaderDropZone",n&&"columnHeadersInner--scrollable"]},BG,r)})(l);return ee.jsx(r0,Id({ref:t,className:rq(a,u.root),ownerState:l},i))})),a0=["innerRef","className"],i0=U.forwardRef((function(e,t){const{innerRef:n}=e,r=_d(e,a0),{isDragging:o,getRootProps:a,getInnerProps:i,getColumnHeaders:s,getColumnGroupHeaders:l}=(e=>{const{innerRef:t,minColumnIndex:n=0}=e,[r,o]=U.useState(""),[a,i]=U.useState(""),s=jG(),l=XG(s,xW),u=XG(s,EW),c=XG(s,Sq),d=XG(s,wq),p=XG(s,vq),f=XG(s,VW),m=XG(s,GW),h=XG(s,qW),g=XG(s,BW),b=XG(s,gW),v=XG(s,mQ),y=$G(),w=U.useRef(null),S=Lg(t,w),[x,E]=U.useState(null),C=U.useRef(x),k=U.useRef(0),R=OZ(s,y);U.useEffect((()=>{s.current.columnHeadersContainerElementRef.current.scrollLeft=0}),[s]);const T=U.useRef(ZM(xX,{equalityCheck:(e,t)=>["firstColumnIndex","minColumnIndex","columnBuffer"].every((n=>e[n]===t[n]))})),I=U.useCallback((e=>{const[t,r]=qJ({firstIndex:e.firstRowIndex,lastIndex:e.lastRowIndex,minFirstIndex:0,maxLastIndex:R.rows.length,buffer:y.rowBuffer}),o=T.current({firstColumnIndex:e.firstColumnIndex,minColumnIndex:n,columnBuffer:y.columnBuffer,firstRowToRender:t,lastRowToRender:r,apiRef:s,visibleRows:R.rows}),a=o>0?k.current-u[o]:k.current;w.current.style.transform=`translate3d(${-a}px, 0px, 0px)`}),[u,n,y.columnBuffer,s,R.rows,y.rowBuffer]);U.useLayoutEffect((()=>{x&&I(x)}),[x,I]);const _=U.useCallback((({left:e,renderContext:t=null},n)=>{var r,o;if(!w.current)return;if(k.current===e&&(null==(r=C.current)?void 0:r.firstColumnIndex)===(null==t?void 0:t.firstColumnIndex)&&(null==(o=C.current)?void 0:o.lastColumnIndex)===(null==t?void 0:t.lastColumnIndex))return;k.current=e;let a=!1;t===C.current&&C.current?a=!0:(function(e){return!!e.target}(n)?(fd.flushSync((()=>{E(t)})),a=!0):E(t),C.current=t),t&&a&&I(t)}),[I]),A=U.useCallback((e=>i(e.field)),[]),O=U.useCallback((()=>i("")),[]),N=U.useCallback((e=>o(e.field)),[]),P=U.useCallback((()=>o("")),[]);zZ(s,"columnResizeStart",A),zZ(s,"columnResizeStop",O),zZ(s,"columnHeaderDragStart",N),zZ(s,"columnHeaderDragEnd",P),zZ(s,"rowsScroll",_);const L=e=>{const{renderContext:t=x,minFirstColumn:r=n,maxLastColumn:o=l.length}=e||{};if(!t)return null;const[a,i]=qJ({firstIndex:t.firstRowIndex,lastIndex:t.lastRowIndex,minFirstIndex:0,maxLastIndex:R.rows.length,buffer:y.rowBuffer}),u=T.current({firstColumnIndex:t.firstColumnIndex,minColumnIndex:r,columnBuffer:y.columnBuffer,apiRef:s,firstRowToRender:a,lastRowToRender:i,visibleRows:R.rows}),c=Math.min(t.lastColumnIndex+y.columnBuffer,o);return{renderedColumns:l.slice(u,c),firstColumnToRender:u,lastColumnToRender:c,minFirstColumn:r,maxLastColumn:o}},M=(e=[],t)=>e.slice(0,t+1),D={minHeight:h,maxHeight:h,lineHeight:`${f}px`};return{renderContext:x,getColumnHeaders:(e,t={})=>{const n=L(e);if(null==n)return null;const{renderedColumns:o,firstColumnToRender:i}=n,s=[];for(let u=0;u{if(0===m)return null;const t=L(e);if(null==t||0===t.renderedColumns.length)return null;const{renderedColumns:r,firstColumnToRender:o,lastColumnToRender:a,maxLastColumn:i}=t,s=[],u=[];for(let f=0;f=n&&null!=(h=l[s])&&h.groupPath&&jY(M(null==(g=l[s])?void 0:g.groupPath,f),y);){var h,g,b;const n=l[s];var v,w;t+=null!=(b=n.computedWidth)?b:0,0===e.length?e.push({width:null!=(v=n.computedWidth)?v:0,fields:[n.field],groupId:m,groupParents:y,colIndex:s}):(e[0].width+=null!=(w=n.computedWidth)?w:0,e[0].fields.push(n.field),e[0].colIndex=s),s-=1}const k=r.reduce(((e,t,n)=>{var r;const a=e[e.length-1];var i,s,l;return t.groupPath&&t.groupPath.length>f?a&&a.groupId===t.groupPath[f]?[...e.slice(0,e.length-1),Id({},a,{width:a.width+(null!=(s=t.computedWidth)?s:0),fields:[...a.fields,t.field]})]:[...e,{groupId:t.groupPath[f],groupParents:M(t.groupPath,f),width:null!=(i=t.computedWidth)?i:0,fields:[t.field],colIndex:o+n}]:a&&null===a.groupId&&jY(M(t.groupPath,f),a.groupParents)?[...e.slice(0,e.length-1),Id({},a,{width:a.width+(null!=(l=t.computedWidth)?l:0),fields:[...a.fields,t.field]})]:[...e,{groupId:null,groupParents:M(t.groupPath,f),width:null!=(r=t.computedWidth)?r:0,fields:[t.field],colIndex:o+n}]}),e);s=a;const R=k[k.length-1].groupId;for(;null!==R&&s{s.push(ee.jsx(QJ,{style:{height:`${f}px`,transform:`translateX(-${e.leftOverflow}px)`},role:"row","aria-rowindex":t+1,ownerState:y,children:e.elements.map((({groupId:e,width:n,fields:r,colIndex:o},a)=>ee.jsx(ZJ,{groupId:e,width:n,fields:r,colIndex:o,depth:t,isLastColumn:o===l.length-r.length,extendRowFullWidth:!y.disableExtendRowFullWidth,maxDepth:u.length,height:f},a)))},t))})),s},isDragging:!!r,getRootProps:(e={})=>Id({style:D},e),getInnerProps:()=>({ref:S,role:"rowgroup"})}})({innerRef:n});return ee.jsxs(t0,Id({ref:t},a(r),{children:[ee.jsx(WZ,{scrollDirection:"left"}),ee.jsxs(o0,Id({isDragging:o},i(),{children:[l(),s()]})),ee.jsx(WZ,{scrollDirection:"right"})]}))})),s0=U.forwardRef((function(e,t){const n=(e=>{if(e.pageSize>100)throw new Error("'props.pageSize' cannot exceed 100 in DataGrid.");const t=gv({props:e,name:"MuiDataGrid"}),n=U.useMemo((()=>Id({},xJ,t.localeText)),[t.localeText]),r=U.useMemo((()=>{const e=t.components;if(!e)return Id({},IJ);const n={};return Object.entries(IJ).forEach((([t,r])=>{n[t]=void 0===e[t]?r:e[t]})),n}),[t.components]);return U.useMemo((()=>Id({},MJ,t,{localeText:n,components:r},LJ)),[t,n,r])})(e),r=PJ(n);return ee.jsx(qZ,{apiRef:r,props:n,children:ee.jsx(OK,{className:n.className,style:n.style,sx:n.sx,ref:t,children:ee.jsxs(JW,{children:[ee.jsx(tq,{}),ee.jsx(XW,{ColumnHeadersComponent:i0,VirtualScrollerComponent:XJ}),ee.jsx(eq,{})]})})})})),l0=U.memo(s0);s0.propTypes={"aria-label":Hf.string,"aria-labelledby":Hf.string,autoHeight:Hf.bool,autoPageSize:Hf.bool,cellModesModel:Hf.object,checkboxSelection:Hf.bool,classes:Hf.object,columnBuffer:Hf.number,columnGroupingModel:Hf.arrayOf(Hf.object),columns:(Hf.array.isRequired,()=>null),columnThreshold:Hf.number,columnTypes:Hf.object,columnVisibilityModel:Hf.object,components:Hf.object,componentsProps:Hf.object,density:Hf.oneOf(["comfortable","compact","standard"]),disableColumnFilter:Hf.bool,disableColumnMenu:Hf.bool,disableColumnSelector:Hf.bool,disableDensitySelector:Hf.bool,disableExtendRowFullWidth:Hf.bool,disableIgnoreModificationsIfProcessingProps:Hf.bool,disableSelectionOnClick:Hf.bool,disableVirtualization:Hf.bool,editMode:Hf.oneOf(["cell","row"]),editRowsModel:Hf.object,error:Hf.any,experimentalFeatures:Hf.shape({columnGrouping:Hf.bool,newEditingApi:Hf.bool,preventCommitWhileValidating:Hf.bool,warnIfFocusStateIsNotSynced:Hf.bool}),filterMode:Hf.oneOf(["client","server"]),filterModel:Hf.shape({items:Hf.arrayOf(Hf.shape({columnField:Hf.string.isRequired,id:Hf.oneOfType([Hf.number,Hf.string]),operatorValue:Hf.string,value:Hf.any})).isRequired,linkOperator:Hf.oneOf(["and","or"]),quickFilterLogicOperator:Hf.oneOf(["and","or"]),quickFilterValues:Hf.array}),getCellClassName:Hf.func,getDetailPanelContent:Hf.func,getEstimatedRowHeight:Hf.func,getRowClassName:Hf.func,getRowHeight:Hf.func,getRowId:Hf.func,getRowSpacing:Hf.func,headerHeight:Hf.number,hideFooter:Hf.bool,hideFooterPagination:Hf.bool,hideFooterSelectedRowCount:Hf.bool,initialState:Hf.object,isCellEditable:Hf.func,isRowSelectable:Hf.func,keepNonExistentRowsSelected:Hf.bool,loading:Hf.bool,localeText:Hf.object,logger:Hf.shape({debug:Hf.func.isRequired,error:Hf.func.isRequired,info:Hf.func.isRequired,warn:Hf.func.isRequired}),logLevel:Hf.oneOf(["debug","error","info","warn",!1]),nonce:Hf.string,onCellClick:Hf.func,onCellDoubleClick:Hf.func,onCellEditCommit:Hf.func,onCellEditStart:Hf.func,onCellEditStop:Hf.func,onCellFocusOut:Hf.func,onCellKeyDown:Hf.func,onCellModesModelChange:Hf.func,onColumnHeaderClick:Hf.func,onColumnHeaderDoubleClick:Hf.func,onColumnHeaderEnter:Hf.func,onColumnHeaderLeave:Hf.func,onColumnHeaderOut:Hf.func,onColumnHeaderOver:Hf.func,onColumnOrderChange:Hf.func,onColumnVisibilityChange:Hf.func,onColumnVisibilityModelChange:Hf.func,onEditCellPropsChange:Hf.func,onEditRowsModelChange:Hf.func,onError:Hf.func,onFilterModelChange:Hf.func,onMenuClose:Hf.func,onMenuOpen:Hf.func,onPageChange:Hf.func,onPageSizeChange:Hf.func,onPreferencePanelClose:Hf.func,onPreferencePanelOpen:Hf.func,onProcessRowUpdateError:Hf.func,onResize:Hf.func,onRowClick:Hf.func,onRowDoubleClick:Hf.func,onRowEditCommit:Hf.func,onRowEditStart:Hf.func,onRowEditStop:Hf.func,onRowModesModelChange:Hf.func,onSelectionModelChange:Hf.func,onSortModelChange:Hf.func,onStateChange:Hf.func,page:Hf.number,pageSize:(Hf.number,()=>null),pagination:e=>!1===e.pagination?new Error(["MUI: `` is not a valid prop.","Infinite scrolling is not available in the MIT version.","","You need to upgrade to DataGridPro or DataGridPremium component to disable the pagination."].join("\n")):null,paginationMode:Hf.oneOf(["client","server"]),processRowUpdate:Hf.func,rowBuffer:Hf.number,rowCount:Hf.number,rowHeight:Hf.number,rowModesModel:Hf.object,rows:Hf.arrayOf(Hf.object).isRequired,rowSpacingType:Hf.oneOf(["border","margin"]),rowsPerPageOptions:Hf.arrayOf(Hf.number),rowThreshold:Hf.number,scrollbarSize:Hf.number,selectionModel:(Hf.oneOfType([Hf.number,Hf.string,Hf.array]),()=>null),showCellRightBorder:Hf.bool,showColumnRightBorder:Hf.bool,sortingMode:Hf.oneOf(["client","server"]),sortingOrder:Hf.arrayOf(Hf.oneOf(["asc","desc"])),sortModel:Hf.arrayOf(Hf.shape({field:Hf.string.isRequired,sort:Hf.oneOf(["asc","desc"])})),sx:Hf.oneOfType([Hf.arrayOf(Hf.oneOfType([Hf.func,Hf.object,Hf.bool])),Hf.func,Hf.object])};const u0=[20,50,100],c0=()=>null,d0={"& .MuiDataGrid-cell":{alignItems:"flex-start",flexDirection:"column"}};function p0(e){const{rows:t,sortModel:n,columns:r,rowHeight:o="auto",getRowId:a=U.useCallback((e=>e.id),[]),rowsPerPage:i=u0}=e,s=gd.useDispatch(),l=gd.useSelector((e=>e.application.preferredPageSize)),[u,c]=b$({page:"0"}),[d,p]=U.useState(l||Math.min(...i)),f=U.useCallback((()=>o),[o]);return te.jsx(l0,{onCellClick:c0,onCellDoubleClick:c0,onCellFocusOut:c0,onRowClick:c0,onColumnHeaderClick:c0,disableDensitySelector:!0,disableColumnSelector:!0,disableVirtualization:!0,disableSelectionOnClick:!0,sortModel:n,rows:t,getRowId:a,columns:r,rowsPerPageOptions:i,pageSize:d,page:Number(u.get("page")),onPageChange:U.useCallback((e=>{c({page:String(e)})}),[]),onPageSizeChange:U.useCallback((e=>{p(e),s(C$(e))}),[]),rowBuffer:0,rowThreshold:0,hideFooterSelectedRowCount:!0,autoHeight:!0,sx:d0,getRowHeight:f})}var f0={VITE_ENV:"github",VITE_BACKEND_URL:"http://127.0.0.1:8080",VITE_BUILD_ID:"3bb099e",BASE_URL:"https://yiisoft.github.io/yii-dev-panel/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const m0=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,a={setState:r,getState:o,getInitialState:()=>i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{"production"!==(f0?"production":void 0)&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},i=t=e(r,o,a);return a},h0=e=>e?m0(e):m0;var g0={exports:{}},b0={},v0={exports:{}},y0={},w0=U;var S0="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},x0=w0.useState,E0=w0.useEffect,C0=w0.useLayoutEffect,k0=w0.useDebugValue;function R0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!S0(e,n)}catch(WL){return!0}}var T0="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=x0({inst:{value:n,getSnapshot:t}}),o=r[0].inst,a=r[1];return C0((function(){o.value=n,o.getSnapshot=t,R0(o)&&a({inst:o})}),[e,n,t]),E0((function(){return R0(o)&&a({inst:o}),e((function(){R0(o)&&a({inst:o})}))}),[e]),k0(n),n};y0.useSyncExternalStore=void 0!==w0.useSyncExternalStore?w0.useSyncExternalStore:T0,v0.exports=y0;var I0=v0.exports,_0=U,A0=I0; + */function ZF(){return ZF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Promise((()=>{}));const JF=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(w0){}function e$(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ZF({},t,{errors:t$(t.errors)})),t}function t$(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&"RouteErrorResponse"===o.__type)n[r]=new Pj(o.status,o.statusText,o.data,!0===o.internal);else if(o&&"Error"===o.__type){if(o.__subType){let e=window[o.__subType];if("function"==typeof e)try{let t=new e(o.message);t.stack="",n[r]=t}catch(w0){}}if(null==n[r]){let e=new Error(o.message);e.stack="",n[r]=e}}else n[r]=o;return n}const n$=U.createContext({isTransitioning:!1}),r$=U.createContext(new Map),o$=V.startTransition,a$=hd.flushSync;function i$(e){a$?a$(e):e()}class s${constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function l$(e){let{fallbackElement:t,router:n,future:r}=e,[o,a]=U.useState(n.state),[i,s]=U.useState(),[l,u]=U.useState({isTransitioning:!1}),[c,d]=U.useState(),[p,f]=U.useState(),[m,h]=U.useState(),g=U.useRef(new Map),{v7_startTransition:b}=r||{},v=U.useCallback((e=>{b?function(e){o$?o$(e):e()}(e):e()}),[b]),y=U.useCallback(((e,t)=>{let{deletedFetchers:r,unstable_flushSync:o,unstable_viewTransitionOpts:i}=t;r.forEach((e=>g.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}));let l=null==n.window||"function"!=typeof n.window.document.startViewTransition;if(i&&!l){if(o){i$((()=>{p&&(c&&c.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})}));let t=n.window.document.startViewTransition((()=>{i$((()=>a(e)))}));return t.finished.finally((()=>{i$((()=>{d(void 0),f(void 0),s(void 0),u({isTransitioning:!1})}))})),void i$((()=>f(t)))}p?(c&&c.resolve(),p.skipTransition(),h({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(s(e),u({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))}else o?i$((()=>a(e))):v((()=>a(e)))}),[n.window,p,c,g,v]);U.useLayoutEffect((()=>n.subscribe(y)),[n,y]),U.useEffect((()=>{l.isTransitioning&&!l.flushSync&&d(new s$)}),[l]),U.useEffect((()=>{if(c&&i&&n.window){let e=i,t=c.promise,r=n.window.document.startViewTransition((async()=>{v((()=>a(e))),await t}));r.finished.finally((()=>{d(void 0),f(void 0),s(void 0),u({isTransitioning:!1})})),f(r)}}),[v,i,c,n.window]),U.useEffect((()=>{c&&i&&o.location.key===i.location.key&&c.resolve()}),[c,p,o.location,i]),U.useEffect((()=>{!l.isTransitioning&&m&&(s(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),h(void 0))}),[l.isTransitioning,m]),U.useEffect((()=>{}),[]);let w=U.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),S=n.basename||"/",x=U.useMemo((()=>({router:n,navigator:w,static:!1,basename:S})),[n,w,S]);return U.createElement(U.Fragment,null,U.createElement(CF.Provider,{value:x},U.createElement(kF.Provider,{value:o},U.createElement(r$.Provider,{value:g.current},U.createElement(n$.Provider,{value:l},U.createElement(YF,{basename:S,location:o.location,navigationType:o.historyAction,navigator:w,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?U.createElement(u$,{routes:n.routes,future:n.future,state:o}):t))))),null)}function u$(e){let{routes:t,future:n,state:r}=e;return FF(t,void 0,r,n)}const c$="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,d$=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,p$=U.forwardRef((function(e,t){let n,{onClick:r,relative:o,reloadDocument:a,replace:i,state:s,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=e,p=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,JF),{basename:f}=U.useContext(RF),m=!1;if("string"==typeof u&&d$.test(u)&&(n=u,c$))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=Cj(t.pathname,f);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:m=!0}catch(w0){}let h=AF(u,{relative:o}),g=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:s}=void 0===t?{}:t,l=LF(),u=NF(),c=jF(e,{relative:i});return U.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:rj(u)===rj(c);l(e,{replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:s})}}),[u,l,c,r,o,n,e,a,i,s])}(u,{replace:i,state:s,target:l,preventScrollReset:c,relative:o,unstable_viewTransition:d});return U.createElement("a",ZF({},p,{href:n||h,onClick:m||a?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:l}))}));var f$,m$,h$,g$;function b$(e){let t=U.useRef(QF(e)),n=U.useRef(!1),r=NF(),o=U.useMemo((()=>function(e,t){let n=QF(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))})),n}(r.search,n.current?null:t.current)),[r.search]),a=LF(),i=U.useCallback(((e,t)=>{const r=QF("function"==typeof e?e(o):e);n.current=!0,a("?"+r,t)}),[a,o]);return[o,i]}(m$=f$||(f$={})).UseScrollRestoration="useScrollRestoration",m$.UseSubmit="useSubmit",m$.UseSubmitFetcher="useSubmitFetcher",m$.UseFetcher="useFetcher",m$.useViewTransitionState="useViewTransitionState",(g$=h$||(h$={})).UseFetcher="useFetcher",g$.UseFetchers="useFetchers",g$.UseScrollRestoration="useScrollRestoration";const v$=e=>H.forwardRef(((t,n)=>{let{href:r,...o}=t;const a=AF(r);return"string"!=typeof r&&(r="#"),"#"===r||r.startsWith("http://")||r.startsWith("https://")?te.jsx("a",{href:r,ref:n,...o}):(e.openLinksInNewWindow&&(o={...o,target:"_blank"}),e.baseUrl?te.jsx("a",{href:e.baseUrl+a,ref:n,...o}):te.jsx(p$,{ref:n,to:r,...o}))})),y$=({children:e})=>{const t=mg("(prefers-color-scheme: dark)")?"dark":"light",n=U.useContext(KD),r=fv({palette:{mode:t,primary:{main:"#00617B"},secondary:{main:"#873C00"}},components:{MuiLink:{defaultProps:{component:v$(n)}},MuiButtonBase:{defaultProps:{LinkComponent:v$(n)}}}});return te.jsx(Kv,{theme:r,children:e})},w$=kD({name:"application",initialState:{baseUrl:"",preferredPageSize:20,toolbarOpen:!0,favoriteUrls:[],autoLatest:!1,iframeHeight:400},reducers:{changeBaseUrl(e,t){e.baseUrl=t.payload},setToolbarOpen(e,t){e.toolbarOpen=t.payload},setPreferredPageSize(e,t){e.preferredPageSize=t.payload},addFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);e.favoriteUrls=Array.from(n.add(t.payload).values())},removeFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);n.delete(t.payload),e.favoriteUrls=Array.from(n.values())},changeAutoLatest:(e,t)=>{e.autoLatest=t.payload},setIFrameHeight:(e,t)=>{e.iframeHeight=t.payload}}}),{changeBaseUrl:S$,changeAutoLatest:x$,setToolbarOpen:E$,setPreferredPageSize:C$,addFavoriteUrl:k$,removeFavoriteUrl:R$,setIFrameHeight:T$}=w$.actions,I$=kD({name:"notifications",initialState:{notifications:[]},reducers:{removeNotification(e,t){e.notifications[t.payload].shown=!1},addNotification:(e,t)=>{e.notifications=[...e.notifications,{...t.payload,shown:!0}]}}}),{addNotification:_$,removeNotification:A$}=I$.actions;var O$="persist:",N$="persist/FLUSH",P$="persist/REHYDRATE",L$="persist/PAUSE",M$="persist/PERSIST",D$="persist/PURGE",j$="persist/REGISTER";function F$(e){return(F$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z$(e,t,n,r){r.debug;var o=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Z$(e,t){var n=void 0!==e.version?e.version:-1;e.debug;var r=void 0===e.stateReconciler?z$:e.stateReconciler,o=e.getStoredState||V$,a=void 0!==e.timeout?e.timeout:5e3,i=null,s=!1,l=!0,u=function(e){return e._persist.rehydrated&&i&&!l&&i.update(e),e};return function(c,d){var p=c||{},f=p._persist,m=X$(p,["_persist"]);if(d.type===M$){var h=!1,g=function(t,n){h||(d.rehydrate(e.key,t,n),h=!0)};if(a&&setTimeout((function(){!h&&g(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))}),a),l=!1,i||(i=U$(e)),f)return K$({},t(m,d),{_persist:f});if("function"!=typeof d.rehydrate||"function"!=typeof d.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return d.register(e.key),o(e).then((function(t){var r=e.migrate||function(e,t){return Promise.resolve(e)};r(t,n).then((function(e){g(e)}),(function(e){g(void 0,e)}))}),(function(e){g(void 0,e)})),K$({},t(m,d),{_persist:{version:n,rehydrated:!1}})}if(d.type===D$)return s=!0,d.result(function(e){var t=e.storage,n="".concat(void 0!==e.keyPrefix?e.keyPrefix:O$).concat(e.key);return t.removeItem(n,W$)}(e)),K$({},t(m,d),{_persist:f});if(d.type===N$)return d.result(i&&i.flush()),K$({},t(m,d),{_persist:f});if(d.type===L$)l=!0;else if(d.type===P$){if(s)return K$({},m,{_persist:K$({},f,{rehydrated:!0})});if(d.key===e.key){var b=t(m,d),v=d.payload,y=K$({},!1!==r&&void 0!==v?r(v,c,b,e):b,{_persist:K$({},f,{rehydrated:!0})});return u(y)}}if(!f)return t(c,d);var w=t(m,d);return w===m?c:u(K$({},w,{_persist:f}))}}function Q$(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var J$=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),eB=()=>Math.random().toString(36).substring(7).split("").join("."),tB={INIT:`@@redux/INIT${eB()}`,REPLACE:`@@redux/REPLACE${eB()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${eB()}`};function nB(e,t,n){if("function"!=typeof e)throw new Error(Q$(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Q$(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Q$(1));return n(nB)(e,t)}let r=e,o=t,a=new Map,i=a,s=0,l=!1;function u(){i===a&&(i=new Map,a.forEach(((e,t)=>{i.set(t,e)})))}function c(){if(l)throw new Error(Q$(3));return o}function d(e){if("function"!=typeof e)throw new Error(Q$(4));if(l)throw new Error(Q$(5));let t=!0;u();const n=s++;return i.set(n,e),function(){if(t){if(l)throw new Error(Q$(6));t=!1,u(),i.delete(n),a=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(Q$(7));if(void 0===e.type)throw new Error(Q$(8));if("string"!=typeof e.type)throw new Error(Q$(17));if(l)throw new Error(Q$(9));try{l=!0,o=r(o,e)}finally{l=!1}return(a=i).forEach((e=>{e()})),e}p({type:tB.INIT});return{dispatch:p,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Q$(10));r=e,p({type:tB.REPLACE})},[J$]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(Q$(11));function n(){const e=t;e.next&&e.next(c())}n();return{unsubscribe:e(n)}},[J$](){return this}}}}}function rB(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:sB,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case j$:return aB({},e,{registry:[].concat(rB(e.registry),[t.key])});case P$:var n=e.registry.indexOf(t.key),r=rB(e.registry);return r.splice(n,1),aB({},e,{registry:r,bootstrapped:0===r.length});default:return e}};var uB={},cB={};function dB(e){return(dB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pB(){}cB.__esModule=!0,cB.default=function(e){var t="".concat(e,"Storage");return function(e){if("object"!==("undefined"==typeof self?"undefined":dB(self))||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch(w0){return!1}return!0}(t)?self[t]:fB};var fB={getItem:pB,setItem:pB,removeItem:pB};uB.__esModule=!0,uB.default=function(e){var t=(0,hB.default)(e);return{getItem:function(e){return new Promise((function(n,r){n(t.getItem(e))}))},setItem:function(e,n){return new Promise((function(r,o){r(t.setItem(e,n))}))},removeItem:function(e){return new Promise((function(n,r){n(t.removeItem(e))}))}}};var mB,hB=(mB=cB)&&mB.__esModule?mB:{default:mB};var gB,bB=function(e){return e&&e.__esModule?e:{default:e}}(uB);gB=(0,bB.default)("local");var vB={};function yB(e){return e||(e=0),new Promise((function(t){return setTimeout(t,e)}))}function wB(){return Math.random().toString(36).substring(2)}var SB=0,xB=0;function EB(){var e=(new Date).getTime();return e===SB?1e3*e+ ++xB:(SB=e,xB=0,1e3*e)}var CB="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);const kB={create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),Promise.resolve()}catch(n){return Promise.reject(n)}},canBeUsed:function(){if(CB&&"undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:EB};var RB=function(){function e(e){this.ttl=e,this.set=new Set,this.timeMap=new Map}return e.prototype.has=function(e){return this.set.has(e)},e.prototype.add=function(e){var t=this;this.timeMap.set(e,TB()),this.set.add(e),setTimeout((function(){!function(e){var t=TB()-e.ttl,n=e.set[Symbol.iterator]();for(;;){var r=n.next().value;if(!r)return;if(!(e.timeMap.get(r)0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var _B="pubkey.broadcast-channel-0-",AB="messages";function OB(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function NB(e,t){var n=e.transaction(AB).objectStore(AB),r=[];return new Promise((function(e){(function(){try{var e=IDBKeyRange.bound(t+1,1/0);return n.openCursor(e)}catch(w0){return n.openCursor()}}()).onsuccess=function(n){var o=n.target.result;o?o.value.ide.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time0||e._addEL.internal.length>0}function QB(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&ZB(e)){var t=function(t){e._addEL[t.type].forEach((function(e){t.time>=e.time&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function JB(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!ZB(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}YB._pubkey=!0,YB.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return XB(this,"message",e)},postInternal:function(e){return XB(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};JB(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,QB(this,"message",t)):this._onML=null},addEventListener:function(e,t){QB(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){JB(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){this.closed=!0;var t=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};const ez={add:function(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",(function(){e()}),!0),window.addEventListener("unload",(function(){e()}),!0)}}};var tz="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?{}:ez,nz=new Set,rz=!1;function oz(){var e=[];return nz.forEach((function(t){e.push(t()),nz.delete(t)})),Promise.all(e)}const az={add:function(e){if(rz||(rz=!0,tz.add(oz)),"function"!=typeof e)throw new Error("Listener is no function");return nz.add(e),{remove:function(){return nz.delete(e)},run:function(){return nz.delete(e),e()}}},runAll:oz,removeAll:function(){nz.clear()},getSize:function(){return nz.size}};var iz=function(e,t){this._channel=e,this._options=t,this.isLeader=!1,this.isDead=!1,this.token=wB(),this._isApl=!1,this._reApply=!1,this._unl=[],this._lstns=[],this._invs=[],this._dpL=function(){},this._dpLC=!1};function sz(e,t){var n={context:"leader",action:t,token:e.token};return e._channel.postInternal(n)}function lz(e){e.isLeader=!0;var t=az.add((function(){return e.die()}));e._unl.push(t);var n=function(t){"leader"===t.context&&"apply"===t.action&&sz(e,"tell"),"leader"!==t.context||"tell"!==t.action||e._dpLC||(e._dpLC=!0,e._dpL(),sz(e,"tell"))};return e._channel.addEventListener("internal",n),e._lstns.push(n),sz(e,"tell")}iz.prototype={applyOnce:function(){var e=this;if(this.isLeader)return Promise.resolve(!1);if(this.isDead)return Promise.resolve(!1);if(this._isApl)return this._reApply=!0,Promise.resolve(!1);this._isApl=!0;var t=!1,n=function(n){"leader"===n.context&&n.token!=e.token&&("apply"===n.action&&n.token>e.token&&(t=!0),"tell"===n.action&&(t=!0))};return this._channel.addEventListener("internal",n),sz(this,"apply").then((function(){return yB(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):sz(e,"apply")})).then((function(){return yB(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):sz(e)})).then((function(){return lz(e)})).then((function(){return!0})).catch((function(){return!1})).then((function(t){return e._channel.removeEventListener("internal",n),e._isApl=!1,!t&&e._reApply?(e._reApply=!1,e.applyOnce()):t}))},awaitLeadership:function(){var e;return this._aLP||(this._aLP=(e=this).isLeader?Promise.resolve():new Promise((function(t){var n=!1;function r(){n||(n=!0,clearInterval(o),e._channel.removeEventListener("internal",a),t(!0))}e.applyOnce().then((function(){e.isLeader&&r()}));var o=setInterval((function(){e.applyOnce().then((function(){e.isLeader&&r()}))}),e._options.fallbackInterval);e._invs.push(o);var a=function(t){"leader"===t.context&&"death"===t.action&&e.applyOnce().then((function(){e.isLeader&&r()}))};e._channel.addEventListener("internal",a),e._lstns.push(a)}))),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var e=this;if(!this.isDead)return this.isDead=!0,this._lstns.forEach((function(t){return e._channel.removeEventListener("internal",t)})),this._invs.forEach((function(e){return clearInterval(e)})),this._unl.forEach((function(e){e.remove()})),sz(this,"death")}};const uz=o(Object.freeze(Object.defineProperty({__proto__:null,BroadcastChannel:YB,beLeader:lz,clearNodeFolder:function(e){var t=qB(e=IB(e));return"node"===t.type?t.clearNodeFolder().then((function(){return!0})):Promise.resolve(!1)},createLeaderElection:function(e,t){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");t=function(e,t){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=t.method.averageResponseTime(t.options)),e}(t,e);var n=new iz(e,t);return e._befC.push((function(){return n.die()})),e._leaderElector=n,n},enforceOptions:function(e){KB=e}},Symbol.toStringTag,{value:"Module"})));var cz,dz;Object.defineProperty(vB,"__esModule",{value:!0});var pz=vB.initMessageListener=vB.initStateWithPrevTab=dz=vB.withReduxStateSync=vB.createReduxStateSync=cz=vB.createStateSyncMiddleware=vB.WINDOW_STATE_SYNC_ID=vB.INIT_MESSAGE_LISTENER=vB.RECEIVE_INIT_STATE=vB.SEND_INIT_STATE=vB.GET_INIT_STATE=void 0;vB.generateUuidForAction=kz,vB.isActionAllowed=Rz,vB.isActionSynced=function(e){return!!e.$isSync},vB.MessageListener=Tz;var fz=uz,mz=0,hz=vB.GET_INIT_STATE="&_GET_INIT_STATE",gz=vB.SEND_INIT_STATE="&_SEND_INIT_STATE",bz=vB.RECEIVE_INIT_STATE="&_RECEIVE_INIT_STATE",vz=vB.INIT_MESSAGE_LISTENER="&_INIT_MESSAGE_LISTENER",yz={channel:"redux_state_sync",predicate:null,blacklist:[],whitelist:[],broadcastChannelOption:void 0,prepareState:function(e){return e},receiveState:function(e,t){return t}},wz=function(){return{type:gz}},Sz=function(e){return{type:bz,payload:e}};function xz(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function Ez(){return""+xz()+xz()+"-"+xz()+"-"+xz()+"-"+xz()+"-"+xz()+xz()+xz()}var Cz=vB.WINDOW_STATE_SYNC_ID=Ez();function kz(e){var t=e;return t.$uuid=Ez(),t.$wuid=Cz,t}function Rz(e){var t=e.predicate,n=e.blacklist,r=e.whitelist,o=function(){return!0};return t&&"function"==typeof t?o=t:Array.isArray(n)?o=function(e){return n.indexOf(e.type)<0}:Array.isArray(r)&&(o=function(e){return r.indexOf(e.type)>=0}),o}function Tz(e){var t=e.channel,n=e.dispatch,r=e.allowed,o=!1,a={};this.handleOnMessage=function(e){e.$wuid!==Cz&&e.type!==bz&&e.$uuid&&e.$uuid!==mz&&(e.type!==hz||a[e.$wuid]?e.type!==gz||a[e.$wuid]?r(e)&&(mz=e.$uuid,n(Object.assign(e,{$isSync:!0}))):o||(o=!0,n(Sz(e.payload))):(a[e.$wuid]=!0,n(wz())))},this.messageChannel=t,this.messageChannel.onmessage=this.handleOnMessage}cz=vB.createStateSyncMiddleware=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yz,t=Rz(e),n=new fz.BroadcastChannel(e.channel,e.broadcastChannelOption),r=e.prepareState||yz.prepareState,o=null;return function(e){var a=e.getState,i=e.dispatch;return function(e){return function(s){if(o||(o=new Tz({channel:n,dispatch:i,allowed:t})),s&&!s.$uuid){var l=kz(s);mz=l.$uuid;try{if(s.type===gz)return a()&&(l.payload=r(a()),n.postMessage(l)),e(s);(t(l)||s.type===hz)&&n.postMessage(l)}catch(w0){console.error("Your browser doesn't support cross tab communication")}}return e(Object.assign(s,{$isSync:void 0!==s.$isSync&&s.$isSync}))}}}};var Iz=vB.createReduxStateSync=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yz.receiveState;return function(n,r){var o=n;return r.type===bz&&(o=t(n,r.payload)),e(o,r)}};dz=vB.withReduxStateSync=Iz,vB.initStateWithPrevTab=function(e){(0,e.dispatch)({type:hz})},pz=vB.initMessageListener=function(e){(0,e.dispatch)({type:vz})};const _z={key:w$.name,version:1,storage:gB},Az={key:I$.name,version:1,storage:gB},Oz={[w$.name]:Z$(_z,dz(w$.reducer)),[I$.name]:Z$(Az,I$.reducer)},Nz=[cz({whitelist:[w$.actions.setToolbarOpen.type,w$.actions.changeBaseUrl.type]})],Pz=ey(ee.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),Lz=ey(ee.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),Mz=ey(ee.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight"),Dz=ey(ee.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),jz=ey(ee.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),Fz=ey(ee.jsx("path",{d:"M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5M19 3l-6 6 2 2 7-7V3z"}),"ContentCut"),$z=ey(ee.jsx("path",{d:"M9.5 14v-1H11v.5h2v-1h-2.5c-.55 0-1-.45-1-1V10c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1H13v-.5h-2v1h2.5c.55 0 1 .45 1 1V14c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1m7.5 1h3c.55 0 1-.45 1-1v-1.5c0-.55-.45-1-1-1h-2.5v-1h2v.5H21v-1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v1.5c0 .55.45 1 1 1h2.5v1h-2V13H16v1c0 .55.45 1 1 1m-9-5c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-1H6.5v.5h-2v-3h2v.5H8z"}),"Css"),Bz=ey(ee.jsx("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject"),zz=ey([ee.jsx("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),ee.jsx("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 8h-8V7h8zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4z"},"1")],"DynamicFeed"),Uz=ey(ee.jsx("path",{d:"M12 3c-.46 0-.93.04-1.4.14-2.76.53-4.96 2.76-5.48 5.52-.48 2.61.48 5.01 2.22 6.56.43.38.66.91.66 1.47V19c0 1.1.9 2 2 2h.28c.35.6.98 1 1.72 1s1.38-.4 1.72-1H14c1.1 0 2-.9 2-2v-2.31c0-.55.22-1.09.64-1.46C18.09 13.95 19 12.08 19 10c0-3.87-3.13-7-7-7m2 16h-4v-1h4zm0-2h-4v-1h4zm-1.5-5.59V14h-1v-2.59L9.67 9.59l.71-.71L12 10.5l1.62-1.62.71.71z"}),"EmojiObjects"),Hz=ey(ee.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),Vz=ey(ee.jsx("path",{d:"M15 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V7zM6 20V4h8v4h4v12zm10-10v5c0 2.21-1.79 4-4 4s-4-1.79-4-4V8.5c0-1.47 1.26-2.64 2.76-2.49 1.3.13 2.24 1.32 2.24 2.63V15h-2V8.5c0-.28-.22-.5-.5-.5s-.5.22-.5.5V15c0 1.1.9 2 2 2s2-.9 2-2v-5z"}),"FilePresent"),Gz=ey(ee.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"Folder"),Wz=ey(ee.jsx("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp"),qz=ey(ee.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),Kz=ey(ee.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline"),Yz=ey(ee.jsx("path",{d:"M3.5 9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2zm14 0H13c-.55 0-1 .45-1 1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5c0-.55-.45-1-1-1M11 9H6v1.5h1.75V15h1.5v-4.5H11zm13 6v-1.5h-2.5V9H20v6z"}),"Html"),Xz=ey(ee.jsx("path",{d:"M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5zm2.5-.5h1.5V15H10v-4.5h1.5V9H7zm5.5 0H14V15h1.5v-4.5H17V9h-4.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5m0 2.5h-2v-1h2z"}),"Http"),Zz=ey(ee.jsx("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image"),Qz=ey(ee.jsx("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"Input"),Jz=ey(ee.jsx("path",{d:"M12 14v-1h1.5v.5h2v-1H13c-.55 0-1-.45-1-1V10c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1h-1.5v-.5h-2v1H16c.55 0 1 .45 1 1V14c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1M9 9v4.5H7.5v-1H6v1c0 .83.67 1.5 1.5 1.5H9c.83 0 1.5-.67 1.5-1.5V9z"}),"Javascript"),eU=ey(ee.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link"),tU=ey(ee.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew"),nU=ey(ee.jsx("path",{d:"M13 9h1.5v6H13v-2.5h-2V15H9.5V9H11v2h2zm-5 1.5v1c0 .8-.7 1.5-1.5 1.5h-2v2H3V9h3.5c.8 0 1.5.7 1.5 1.5m-1.5 0h-2v1h2zm15 0v1c0 .8-.7 1.5-1.5 1.5h-2v2h-1.5V9H20c.8 0 1.5.7 1.5 1.5m-1.5 0h-2v1h2z"}),"Php"),rU=ey(ee.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5zm4-3H19v1h1.5V11H19v2h-1.5V7h3zM9 9.5h1v-1H9zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm10 5.5h1v-3h-1z"}),"PictureAsPdf"),oU=ey(ee.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh"),aU=ey(ee.jsx("path",{d:"M19 13H5v-2h14z"}),"Remove"),iU=ey(ee.jsx("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2z"}),"Repeat"),sU=ey(ee.jsx("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82"}),"Route"),lU=ey(ee.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),uU=ey(ee.jsx("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),cU=ey(ee.jsx("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline"),dU=ey(ee.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync"),pU=ey(ee.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal"),fU=ey(ee.jsx("path",{d:"m20.41 8.41-4.83-4.83c-.37-.37-.88-.58-1.41-.58H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.42M7 7h7v2H7zm10 10H7v-2h10zm0-4H7v-2h10z"}),"TextSnippet"),mU=ey(ee.jsx("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo");var hU={},gU={};const bU=o(ny);var vU;function yU(){return vU||(vU=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=bU}(gU)),gU}var wU=Rb;Object.defineProperty(hU,"__esModule",{value:!0});var SU=hU.default=void 0,xU=wU(yU()),EU=ee;SU=hU.default=(0,xU.default)((0,EU.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");var CU,kU,RU=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=200&&e.status<=299},qU=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function KU(e){if(!gD(e))return e;for(var t=MU({},e),n=0,r=Object.entries(t);n=c)}var c=OD(n+"/executeQuery",l,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[VD]=!0,e},condition:function(e,t){var r,a,i,s=(0,t.getState)(),l=null==(a=null==(r=s[n])?void 0:r.queries)?void 0:a[e.queryCacheKey],c=null==l?void 0:l.fulfilledTimeStamp,d=e.originalArgs,p=null==l?void 0:l.originalArgs,f=o[e.endpointName];return!(!uH(e)&&("pending"===(null==l?void 0:l.status)||!u(e,s)&&(!oH(f)||!(null==(i=null==f?void 0:f.forceRefetch)?void 0:i.call(f,{currentArg:d,previousArg:p,endpointState:l,state:s})))&&c))},dispatchConditionRejection:!0}),d=OD(n+"/executeMutation",l,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[VD]=!0,e}});function p(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:c,mutationThunk:d,prefetch:function(e,t,n){return function(r,o){var a=function(e){return"force"in e}(n)&&n.force,s=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,l=function(n){return void 0===n&&(n=!0),i.endpoints[e].initiate(t,{forceRefetch:n})},u=i.endpoints[e].select(t)(o());if(a)r(l());else if(s){var c=null==u?void 0:u.fulfilledTimeStamp;if(!c)return void r(l());(Number(new Date)-Number(new Date(c)))/1e3>=s&&r(l())}else r(l(!1))}},updateQueryData:function(e,t,n,r){return void 0===r&&(r=!0),function(o,a){var s,l,u,c=i.endpoints[e].select(t)(a()),d={patches:[],inversePatches:[],undo:function(){return o(i.util.patchQueryData(e,t,d.inversePatches,r))}};if(c.status===CU.uninitialized)return d;if("data"in c)if(zL(c.data)){var p=DM(c.data,n),f=p[0],m=p[1],h=p[2];(s=d.patches).push.apply(s,m),(l=d.inversePatches).push.apply(l,h),u=f}else u=n(c.data),d.patches.push({op:"replace",path:[],value:u}),d.inversePatches.push({op:"replace",path:[],value:c.data});return o(i.util.patchQueryData(e,t,d.patches,r)),d}},upsertQueryData:function(e,t,n){return function(r){var o;return r(i.endpoints[e].initiate(t,((o={subscribe:!1,forceRefetch:!0})[lH]=function(){return{data:n}},o)))}},patchQueryData:function(e,t,n,r){return function(l,u){var c=o[e],d=a({queryArgs:t,endpointDefinition:c,endpointName:e});if(l(i.internalActions.queryResultPatched({queryCacheKey:d,patches:n})),r){var p=i.endpoints[e].select(t)(u()),f=aH(c.providesTags,p.data,void 0,t,{},s);l(i.internalActions.updateProvidedBy({queryCacheKey:d,providedTags:f}))}}},buildMatchThunkActions:function(e,t){return{matchPending:MD(FD(e),p(t)),matchFulfilled:MD(zD(e),p(t)),matchRejected:MD($D(e),p(t))}}}}({baseQuery:r,reducerPath:o,context:n,api:e,serializeQueryArgs:a,assertTagType:c}),p=d.queryThunk,f=d.mutationThunk,m=d.patchQueryData,h=d.updateQueryData,g=d.upsertQueryData,b=d.prefetch,v=d.buildMatchThunkActions,y=gH({context:n,queryThunk:p,mutationThunk:f,reducerPath:o,assertTagType:c,config:{refetchOnFocus:l,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:i,reducerPath:o}}),w=y.reducer,S=y.actions;DH(e.util,{patchQueryData:m,updateQueryData:h,upsertQueryData:g,prefetch:b,resetApiState:S.resetApiState}),DH(e.internalActions,S);var x=MH({reducerPath:o,context:n,queryThunk:p,mutationThunk:f,api:e,assertTagType:c}),E=x.middleware,C=x.actions;DH(e.util,C),DH(e,{reducer:w,middleware:E});var k=SH({serializeQueryArgs:a,reducerPath:o}),R=k.buildQuerySelector,T=k.buildMutationSelector,I=k.selectInvalidatedBy;DH(e.util,{selectInvalidatedBy:I});var _=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,o=e.api,a=e.context,i=new Map,s=new Map,l=o.internalActions,u=l.unsubscribeQueryResult,c=l.removeMutationResult,d=l.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var a=function(s,l){var c=void 0===l?{}:l,p=c.subscribe,f=void 0===p||p,m=c.forceRefetch,h=c.subscriptionOptions,g=c[lH];return function(l,c){var p,b,v=t({queryArgs:s,endpointDefinition:r,endpointName:e}),y=n(((p={type:"query",subscribe:f,forceRefetch:m,subscriptionOptions:h,endpointName:e,originalArgs:s,queryCacheKey:v})[lH]=g,p)),w=o.endpoints[e].select(s),S=l(y),x=w(c()),E=S.requestId,C=S.abort,k=x.requestId!==E,R=null==(b=i.get(l))?void 0:b[v],T=function(){return w(c())},I=Object.assign(g?S.then(T):k&&!R?Promise.resolve(x):Promise.all([R,S]).then(T),{arg:s,requestId:E,subscriptionOptions:h,queryCacheKey:v,abort:C,unwrap:function(){return FU(this,null,(function(){var e;return RU(this,(function(t){switch(t.label){case 0:return[4,I];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}}))}))},refetch:function(){return l(a(s,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){f&&l(u({queryCacheKey:v,requestId:E}))},updateSubscriptionOptions:function(t){I.subscriptionOptions=t,l(d({endpointName:e,requestId:E,queryCacheKey:v,options:t}))}});if(!R&&!k&&!g){var _=i.get(l)||{};_[v]=I,i.set(l,_),I.then((function(){delete _[v],Object.keys(_).length||i.delete(l)}))}return I}};return a},buildInitiateMutation:function(e){return function(t,n){var o=void 0===n?{}:n,a=o.track,i=void 0===a||a,l=o.fixedCacheKey;return function(n,o){var a=r({type:"mutation",endpointName:e,originalArgs:t,track:i,fixedCacheKey:l}),u=n(a),d=u.requestId,p=u.abort,f=u.unwrap,m=u.unwrap().then((function(e){return{data:e}})).catch((function(e){return{error:e}})),h=function(){n(c({requestId:d,fixedCacheKey:l}))},g=Object.assign(m,{arg:u.arg,requestId:d,abort:p,unwrap:f,unsubscribe:h,reset:h}),b=s.get(n)||{};return s.set(n,b),b[d]=g,g.then((function(){delete b[d],Object.keys(b).length||s.delete(n)})),l&&(b[l]=g,g.then((function(){b[l]===g&&(delete b[l],Object.keys(b).length||s.delete(n))}))),g}}},getRunningQueryThunk:function(e,n){return function(r){var o,s=a.endpointDefinitions[e],l=t({queryArgs:n,endpointDefinition:s,endpointName:e});return null==(o=i.get(r))?void 0:o[l]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=s.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(i.get(e)||{}).filter(sH)}},getRunningMutationsThunk:function(){return function(e){return Object.values(s.get(e)||{}).filter(sH)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap((function(e){return e?Object.values(e):[]}))};return TU(TU([],e(i)),e(s)).filter(sH)},removalWarning:p};function p(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}}({queryThunk:p,mutationThunk:f,api:e,serializeQueryArgs:a,context:n}),A=_.buildInitiateQuery,O=_.buildInitiateMutation,N=_.getRunningMutationThunk,P=_.getRunningMutationsThunk,L=_.getRunningQueriesThunk,M=_.getRunningQueryThunk,D=_.getRunningOperationPromises,j=_.removalWarning;return DH(e.util,{getRunningOperationPromises:D,getRunningOperationPromise:j,getRunningMutationThunk:N,getRunningMutationsThunk:P,getRunningQueryThunk:M,getRunningQueriesThunk:L}),{name:jH,injectEndpoint:function(t,n){var r,o=e;null!=(r=o.endpoints)[t]||(r[t]={}),oH(n)?DH(o.endpoints[t],{name:t,select:R(t,n),initiate:A(t,n)},v(p,t)):function(e){return e.type===YU.mutation}(n)&&DH(o.endpoints[t],{name:t,select:T(),initiate:O(t)},v(f,t))}}}},function(e){var t=void 0===e?{}:e,n=t.batch,r=void 0===n?gd.batch:n,o=t.useDispatch,a=void 0===o?gd.useDispatch:o,i=t.useSelector,s=void 0===i?gd.useSelector:i,l=t.useStore,u=void 0===l?gd.useStore:l,c=t.unstable__sideEffectsInRender,d=void 0!==c&&c;return{name:oV,init:function(e,t,n){var o=t.serializeQueryArgs,i=e,l=function(e){var t=e.api,n=e.moduleOptions,r=n.batch,o=n.useDispatch,a=n.useSelector,i=n.useStore,s=n.unstable__sideEffectsInRender,l=e.serializeQueryArgs,u=e.context,c=s?function(e){return e()}:U.useEffect;return{buildQueryHooks:function(e){var n=function(n,r){var a=void 0===r?{}:r,i=a.refetchOnReconnect,s=a.refetchOnFocus,l=a.refetchOnMountOrArgChange,d=a.skip,p=void 0!==d&&d,f=a.pollingInterval,m=void 0===f?0:f,h=t.endpoints[e].initiate,g=o(),b=qH(p?bH:n,QH,u.endpointDefinitions[e],e),v=YH({refetchOnReconnect:i,refetchOnFocus:s,pollingInterval:m}),y=U.useRef(!1),w=U.useRef(),S=w.current||{},x=S.queryCacheKey,E=S.requestId,C=!1;if(x&&E){var k=g(t.internalActions.internal_probeSubscription({queryCacheKey:x,requestId:E}));C=!!k}var R=!C&&y.current;return c((function(){y.current=C})),c((function(){R&&(w.current=void 0)}),[R]),c((function(){var e,t=w.current;if(b===bH)return null==t||t.unsubscribe(),void(w.current=void 0);var n=null==(e=w.current)?void 0:e.subscriptionOptions;if(t&&t.arg===b)v!==n&&t.updateSubscriptionOptions(v);else{null==t||t.unsubscribe();var r=g(h(b,{subscriptionOptions:v,forceRefetch:l}));w.current=r}}),[g,h,l,b,v,R]),U.useEffect((function(){return function(){var e;null==(e=w.current)||e.unsubscribe(),w.current=void 0}}),[]),U.useMemo((function(){return{refetch:function(){var e;if(!w.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=w.current)?void 0:e.refetch()}}}),[])},s=function(n){var a=void 0===n?{}:n,i=a.refetchOnReconnect,s=a.refetchOnFocus,l=a.pollingInterval,u=void 0===l?0:l,d=t.endpoints[e].initiate,p=o(),f=U.useState(KH),m=f[0],h=f[1],g=U.useRef(),b=YH({refetchOnReconnect:i,refetchOnFocus:s,pollingInterval:u});c((function(){var e,t,n=null==(e=g.current)?void 0:e.subscriptionOptions;b!==n&&(null==(t=g.current)||t.updateSubscriptionOptions(b))}),[b]);var v=U.useRef(b);c((function(){v.current=b}),[b]);var y=U.useCallback((function(e,t){var n;return void 0===t&&(t=!1),r((function(){var r;null==(r=g.current)||r.unsubscribe(),g.current=n=p(d(e,{subscriptionOptions:v.current,forceRefetch:!t})),h(e)})),n}),[p,d]);return U.useEffect((function(){return function(){var e;null==(e=null==g?void 0:g.current)||e.unsubscribe()}}),[]),U.useEffect((function(){m===KH||g.current||y(m,!0)}),[m,y]),U.useMemo((function(){return[y,m]}),[y,m])},p=function(n,r){var o=void 0===r?{}:r,s=o.skip,c=void 0!==s&&s,p=o.selectFromResult,f=t.endpoints[e].select,m=qH(c?bH:n,l,u.endpointDefinitions[e],e),h=U.useRef(),g=U.useMemo((function(){return JM([f(m),function(e,t){return t},function(e){return m}],d)}),[f,m]),b=U.useMemo((function(){return p?JM([g],p):g}),[g,p]),v=a((function(e){return b(e,h.current)}),gd.shallowEqual),y=i(),w=g(y.getState(),h.current);return JH((function(){h.current=w}),[w]),v};return{useQueryState:p,useQuerySubscription:n,useLazyQuerySubscription:s,useLazyQuery:function(e){var t=s(e),n=t[0],r=t[1],o=p(r,WH(GH({},e),{skip:r===KH})),a=U.useMemo((function(){return{lastArg:r}}),[r]);return U.useMemo((function(){return[n,o,a]}),[n,o,a])},useQuery:function(e,t){var r=n(e,t),o=p(e,GH({selectFromResult:e===bH||(null==t?void 0:t.skip)?void 0:tV},t)),a=o.data,i=o.status,s=o.isLoading,l=o.isSuccess,u=o.isError,c=o.error;return U.useDebugValue({data:a,status:i,isLoading:s,isSuccess:l,isError:u,error:c}),U.useMemo((function(){return GH(GH({},o),r)}),[o,r])}}},buildMutationHook:function(e){return function(n){var i=void 0===n?{}:n,s=i.selectFromResult,l=void 0===s?eV:s,u=i.fixedCacheKey,c=t.endpoints[e],d=c.select,p=c.initiate,f=o(),m=U.useState(),h=m[0],g=m[1];U.useEffect((function(){return function(){(null==h?void 0:h.arg.fixedCacheKey)||null==h||h.reset()}}),[h]);var b=U.useCallback((function(e){var t=f(p(e,{fixedCacheKey:u}));return g(t),t}),[f,p,u]),v=(h||{}).requestId,y=U.useMemo((function(){return JM([d({fixedCacheKey:u,requestId:null==h?void 0:h.requestId})],l)}),[d,h,l,u]),w=a(y,gd.shallowEqual),S=null==u?null==h?void 0:h.arg.originalArgs:void 0,x=U.useCallback((function(){r((function(){h&&g(void 0),u&&f(t.internalActions.removeMutationResult({requestId:v,fixedCacheKey:u}))}))}),[f,u,h,v]),E=w.endpointName,C=w.data,k=w.status,R=w.isLoading,T=w.isSuccess,I=w.isError,_=w.error;U.useDebugValue({endpointName:E,data:C,status:k,isLoading:R,isSuccess:T,isError:I,error:_});var A=U.useMemo((function(){return WH(GH({},w),{originalArgs:S,reset:x})}),[w,S,x]);return U.useMemo((function(){return[b,A]}),[b,A])}},usePrefetch:function(e,n){var r=o(),a=YH(n);return U.useCallback((function(n,o){return r(t.util.prefetch(e,n,GH(GH({},a),o)))}),[e,r,a])}};function d(e,t,n){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var r=t.endpointName,o=u.endpointDefinitions[r];l({queryArgs:t.originalArgs,endpointDefinition:o,endpointName:r})===l({queryArgs:n,endpointDefinition:o,endpointName:r})&&(t=void 0)}var a=e.isSuccess?e.data:null==t?void 0:t.data;void 0===a&&(a=e.data);var i=void 0!==a,s=e.isLoading,c=!i&&s,d=e.isSuccess||s&&i;return WH(GH({},e),{data:a,currentData:e.data,isFetching:s,isLoading:c,isSuccess:d})}}({api:e,moduleOptions:{batch:r,useDispatch:a,useSelector:s,useStore:u,unstable__sideEffectsInRender:d},serializeQueryArgs:o,context:n}),c=l.buildQueryHooks,p=l.buildMutationHook,f=l.usePrefetch;return rV(i,{usePrefetch:f}),rV(n,{batch:r}),{injectEndpoint:function(t,n){if(function(e){return e.type===XH.query}(n)){var r=c(t),o=r.useQuery,a=r.useLazyQuery,s=r.useLazyQuerySubscription,l=r.useQueryState,u=r.useQuerySubscription;rV(i.endpoints[t],{useQuery:o,useLazyQuery:a,useLazyQuerySubscription:s,useQueryState:l,useQuerySubscription:u}),e["use"+nV(t)+"Query"]=o,e["useLazy"+nV(t)+"Query"]=a}else if(function(e){return e.type===XH.mutation}(n)){var d=p(t);rV(i.endpoints[t],{useMutation:d}),e["use"+nV(t)+"Mutation"]=d}}}}}}());const iV=e=>async(t,n,r)=>{const o=function(e){var t=this;void 0===e&&(e={});var n=e,r=n.baseUrl,o=n.prepareHeaders,a=void 0===o?function(e){return e}:o,i=n.fetchFn,s=void 0===i?GU:i,l=n.paramsSerializer,u=n.isJsonContentType,c=void 0===u?qU:u,d=n.jsonContentType,p=void 0===d?"application/json":d,f=n.jsonReplacer,m=n.timeout,h=n.responseHandler,g=n.validateStatus,b=jU(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return"undefined"==typeof fetch&&s===GU&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(e,n){return FU(t,null,(function(){var t,o,i,u,d,y,w,S,x,E,C,k,R,T,I,_,A,O,N,P,L,M,D,j,F,$,B,z,U,H,V,G,W,q,K,Y;return RU(this,(function(X){switch(X.label){case 0:return t=n.signal,o=n.getState,i=n.extra,u=n.endpoint,d=n.forced,y=n.type,x=(S="string"==typeof e?{url:e}:e).url,E=S.headers,C=void 0===E?new Headers(b.headers):E,k=S.params,R=void 0===k?void 0:k,T=S.responseHandler,I=void 0===T?null!=h?h:"json":T,_=S.validateStatus,A=void 0===_?null!=g?g:WU:_,O=S.timeout,N=void 0===O?m:O,P=jU(S,["url","headers","params","responseHandler","validateStatus","timeout"]),L=MU(DU(MU({},b),{signal:t}),P),C=new Headers(KU(C)),M=L,[4,a(C,{getState:o,extra:i,endpoint:u,forced:d,type:y})];case 1:M.headers=X.sent()||C,D=function(e){return"object"==typeof e&&(gD(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!L.headers.has("content-type")&&D(L.body)&&L.headers.set("content-type",p),D(L.body)&&c(L.headers)&&(L.body=JSON.stringify(L.body,f)),R&&(j=~x.indexOf("?")?"&":"?",F=l?l(R):new URLSearchParams(KU(R)),x+=j+F),x=zU(r,x),$=new Request(x,L),B=new Request(x,L),w={request:B},U=!1,H=N&&setTimeout((function(){U=!0,n.abort()}),N),X.label=2;case 2:return X.trys.push([2,4,5,6]),[4,s($)];case 3:return z=X.sent(),[3,6];case 4:return V=X.sent(),[2,{error:{status:U?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(V)},meta:w}];case 5:return H&&clearTimeout(H),[7];case 6:G=z.clone(),w.response=G,q="",X.label=7;case 7:return X.trys.push([7,9,,10]),[4,Promise.all([v(z,I).then((function(e){return W=e}),(function(e){return K=e})),G.text().then((function(e){return q=e}),(function(){}))])];case 8:if(X.sent(),K)throw K;return[3,10];case 9:return Y=X.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:z.status,data:q,error:String(Y)},meta:w}];case 10:return[2,A(z,W)?{data:W,meta:w}:{error:{status:z.status,data:W},meta:w}]}}))}))};function v(e,t){return FU(this,null,(function(){var n;return RU(this,(function(r){switch(r.label){case 0:return"function"==typeof t?[2,t(e)]:("content-type"===t&&(t=c(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}}))}))}}({baseUrl:(n.getState().application?.baseUrl||"").replace(/\/$/,"")+e,referrerPolicy:"no-referrer",headers:{Accept:"application/json","Content-Type":"application/json"}});return o(t,n,r)},sV=aV({reducerPath:"api.debug",tagTypes:["debug/list"],baseQuery:iV("/debug/api/"),endpoints:e=>({getDebug:e.query({query:()=>"",transformResponse:e=>e.data||[],providesTags:["debug/list"]}),getObject:e.query({query:e=>`object/${e.debugEntryId}/${e.objectId}`,transformResponse:e=>e.data}),getCollectorInfo:e.query({query:e=>`view/${e.id}?collector=${e.collector}`,transformResponse:e=>e.data||[],transformErrorResponse:e=>e.data})})}),{useGetDebugQuery:lV,useLazyGetDebugQuery:uV,useGetObjectQuery:cV,useLazyGetObjectQuery:dV,useLazyGetCollectorInfoQuery:pV}=sV,fV=aV({reducerPath:"api.gii",baseQuery:iV("/gii/api"),endpoints:e=>({getGenerators:e.query({query:()=>"/generator",transformResponse:e=>e.generators||[]}),postPreview:e.mutation({query:({generator:e,parameters:t})=>({url:`/generator/${e}/preview`,method:"POST",body:{parameters:t}})}),postGenerate:e.mutation({query:({generator:e,parameters:t,answers:n})=>({url:`/generator/${e}/generate`,method:"POST",body:{parameters:t,answers:n}})}),postDiff:e.mutation({query:({generator:e,parameters:t,fileId:n})=>({url:`/generator/${e}/diff?file=${n}`,method:"POST",body:{parameters:t}})})})}),{useGetGeneratorsQuery:mV,useLazyGetGeneratorsQuery:hV,usePostPreviewMutation:gV,usePostGenerateMutation:bV,usePostDiffMutation:vV}=fV,yV=aV({reducerPath:"api.inspector",keepUnusedDataFor:0,tagTypes:["inspector/composer"],baseQuery:iV("/inspect/api/"),endpoints:e=>({getParameters:e.query({query:()=>"params",transformResponse:e=>e.data||[]}),getConfiguration:e.query({query:(e="di")=>`config?group=${e}`,transformResponse:e=>e.data}),getClasses:e.query({query:()=>"classes",transformResponse:e=>e.data||[]}),getObject:e.query({query:e=>`object?classname=${e}`,transformResponse:e=>e.data}),getCommands:e.query({query:e=>"command",transformResponse:e=>e.data||[]}),runCommand:e.mutation({query:e=>({url:`command?command=${e}`,method:"POST"}),transformResponse:e=>e.data}),getFiles:e.query({query:e=>`files?path=${e}`,transformResponse:e=>e.data||[]}),getClass:e.query({query:({className:e,methodName:t=""})=>`files?class=${e}&method=${t}`,transformResponse:e=>e.data||[]}),getTranslations:e.query({query:()=>"translations",transformResponse:e=>e.data||[]}),putTranslations:e.mutation({query:e=>({method:"PUT",url:"translations",body:e}),transformResponse:e=>e.data||[]}),getTable:e.query({query:e=>e?`table/${e}`:"table",transformResponse:e=>e.data||[]}),doRequest:e.mutation({query:e=>({method:"PUT",url:`request?debugEntryId=${e.id}`}),transformResponse:e=>e.data||[]}),postCurlBuild:e.mutation({query:e=>({method:"POST",url:`curl/build?debugEntryId=${e}`}),transformResponse:e=>e.data}),getRoutes:e.query({query:()=>"routes",transformResponse:e=>e.data||[]}),getCheckRoute:e.query({query:e=>`route/check?route=${e}`,transformResponse:e=>e.data}),getEvents:e.query({query:()=>"events",transformResponse:e=>e.data}),getPhpInfo:e.query({query:()=>"phpinfo",transformResponse:e=>e.data||[]}),getComposer:e.query({query:()=>"composer",transformResponse:e=>e.data,providesTags:["inspector/composer"]}),getComposerInspect:e.query({query:e=>`composer/inspect?package=${e}`,transformResponse:e=>e.data,providesTags:["inspector/composer"]}),getCache:e.query({query:e=>`cache?key=${e}`,transformResponse:e=>e.data}),deleteCache:e.mutation({query:e=>({url:`cache?key=${e}`,method:"DELETE"}),transformResponse:e=>e.data}),clearCache:e.mutation({query:()=>({url:"cache/clear",method:"POST"}),transformResponse:e=>e.data}),postComposerRequirePackage:e.mutation({query:({packageName:e,version:t,isDev:n})=>({url:"composer/require",method:"POST",body:{package:e,version:t,isDev:n}}),transformResponse:e=>e.data,invalidatesTags:["inspector/composer"]})})}),{useGetParametersQuery:wV,useLazyGetParametersQuery:SV,useGetConfigurationQuery:xV,useGetObjectQuery:EV,useGetClassesQuery:CV,useLazyGetObjectQuery:kV,useLazyGetFilesQuery:RV,useLazyGetClassQuery:TV,useLazyGetCommandsQuery:IV,useRunCommandMutation:_V,useGetTranslationsQuery:AV,usePutTranslationsMutation:OV,useDoRequestMutation:NV,useGetRoutesQuery:PV,useLazyGetCheckRouteQuery:LV,useGetTableQuery:MV,useGetPhpInfoQuery:DV,useGetComposerQuery:jV,useGetCacheQuery:FV,useDeleteCacheMutation:$V,useLazyGetCacheQuery:BV,useClearCacheMutation:zV,useLazyGetComposerInspectQuery:UV,useGetComposerInspectQuery:HV,usePostComposerRequirePackageMutation:VV,usePostCurlBuildMutation:GV,useGetEventsQuery:WV}=yV,qV=kD({name:"store.debug",initialState:{entry:null,currentPageRequestIds:[]},reducers:{changeEntryAction:(e,t)=>{e.entry=t.payload},addCurrentPageRequestId:(e,t)=>{e.currentPageRequestIds=[...e.currentPageRequestIds,t.payload].slice(0,100)}}}),{changeEntryAction:KV,addCurrentPageRequestId:YV}=qV.actions,XV=()=>gd.useSelector((e=>e[qV.name]?.entry)),ZV={key:qV.name,version:1,whitelist:["entry"],storage:gB},QV={[qV.name]:Z$(ZV,qV.reducer),[sV.reducerPath]:sV.reducer},JV=[sV.middleware],eG=kD({name:"store.frames2",initialState:{frames:{}},reducers:{addFrame:(e,t)=>{e.frames={...e.frames,[t.payload]:t.payload}},updateFrame:(e,t)=>{e.frames=t.payload},deleteFrame:(e,t)=>{const n=Object.entries(e.frames).filter((([e,n])=>e!=t.payload));e.frames=Object.fromEntries(n)}}}),{addFrame:tG,updateFrame:nG,deleteFrame:rG}=eG.actions,oG=()=>gd.useSelector((e=>e[eG.name].frames)),aG={key:eG.name,version:1,storage:gB},iG={[eG.name]:Z$(aG,eG.reducer)},sG=[],lG={[fV.reducerPath]:fV.reducer},uG=[fV.middleware],cG=aV({reducerPath:"api.inspector.git",keepUnusedDataFor:0,tagTypes:["git/summary","git/log"],baseQuery:iV("/inspect/api/git/"),endpoints:e=>({getSummary:e.query({query:()=>"summary",providesTags:["git/summary"],transformResponse:e=>e.data}),getLog:e.query({query:()=>"log",providesTags:["git/log"],transformResponse:e=>e.data}),checkout:e.mutation({query:({branch:e})=>({url:"checkout",method:"POST",body:{branch:e}}),invalidatesTags:[{type:"git/summary"}]}),command:e.mutation({query:({command:e})=>({url:`command?command=${e}`,method:"POST"}),invalidatesTags:[{type:"git/summary"}]})})}),{useGetSummaryQuery:dG,useGetLogQuery:pG,useCommandMutation:fG,useCheckoutMutation:mG}=cG,hG={[yV.reducerPath]:yV.reducer,[cG.reducerPath]:cG.reducer},gG=[yV.middleware,cG.middleware],bG=kD({name:"store.openApi",initialState:{entries:{}},reducers:{addApiEntry:(e,t)=>{e.entries={...e.entries,[t.payload]:t.payload}},updateApiEntry:(e,t)=>{e.entries=t.payload},deleteApiEntry:(e,t)=>{const n=Object.entries(e.entries).filter((([e,n])=>e!=t.payload));e.entries=Object.fromEntries(n)}}}),{addApiEntry:vG,updateApiEntry:yG,deleteApiEntry:wG}=bG.actions,SG=()=>gd.useSelector((e=>e[bG.name].entries)),xG={key:bG.name,version:1,storage:gB},EG={[bG.name]:Z$(xG,bG.reducer)},CG=[],kG=e=>t=>n=>(BD(n)&&(console.log("action.payload.error",n,e,t),"FETCH_ERROR"===n.payload.status&&e.dispatch(_$({title:n.payload.error,text:`An error occurred during the request to ${n.meta.baseQueryMeta.request.url}`,color:"error"}))),t(n)),RG=WM({...Oz,...hG,...QV,...lG,...EG,...iG}),TG=e=>{const t=xD({reducer:RG,middleware:e=>e({serializableCheck:{ignoredActions:[N$,P$,L$,M$,D$,j$]}}).concat([...Nz,...gG,...JV,...uG,...CG,...sG,kG]),devTools:!1,preloadedState:e});rH(t.dispatch),pz(t);const n=function(e,t,n){var r=n||!1,o=nB(lB,sB,t&&t.enhancer?t.enhancer:void 0),a=function(e){o.dispatch({type:j$,key:e})},i=function(t,n,a){var i={type:P$,payload:n,err:a,key:t};e.dispatch(i),o.dispatch(i),r&&s.getState().bootstrapped&&(r(),r=!1)},s=aB({},o,{purge:function(){var t=[];return e.dispatch({type:D$,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:N$,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:L$})},persist:function(){e.dispatch({type:M$,register:a,rehydrate:i})}});return t&&t.manualPersist||s.persist(),s}(t);return{store:t,persistor:n}},IG=gd.useSelector;function _G(){const e=IG((e=>e.application.baseUrl)),t=gd.useDispatch(),[n]=uV(),[r]=SV(),[o]=hV(),a=IG((e=>e.application.baseUrl)),[i,s]=U.useState(String(a)),[l,u]=U.useState({debug:!1,inspector:!1,gii:!1}),c=IG((e=>e.application.favoriteUrls));async function d(){n().then((e=>u((t=>({...t,debug:e.isSuccess}))))).catch((()=>u((e=>({...e,debug:!1}))))),r().then((e=>u((t=>({...t,inspector:e.isSuccess}))))).catch((()=>u((e=>({...e,inspector:!1}))))),o().then((e=>u((t=>({...t,gii:e.isSuccess}))))).catch((()=>u((e=>({...e,gii:!1})))))}const p=async e=>{s(e),t(S$(e)),await d()};return U.useEffect((()=>{d()}),[]),te.jsxs(fI,{container:!0,spacing:2,children:[te.jsxs(fI,{item:!0,md:6,xs:12,children:[te.jsx("h2",{children:"Yii Dev Panel"}),te.jsxs(uS,{children:["Default backend url is: ",te.jsx("b",{children:e})]}),te.jsx("h3",{children:"API Statuses"}),Object.entries(l).map(((e,t)=>te.jsxs(H.Fragment,{children:[te.jsx(uS,{}),e[1]?te.jsxs(nS,{severity:"success",children:[te.jsx("span",{style:{textTransform:"capitalize"},children:e[0]}),": connected"]}):te.jsxs(nS,{severity:"error",children:[te.jsx("span",{style:{textTransform:"capitalize"},children:e[0]}),": disconnected"]})]},t))),te.jsxs(Ly,{component:"form",onSubmit:async e=>{e.preventDefault(),await p(i)},sx:{p:[.5,1],my:2,display:"flex",alignItems:"center"},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:i,value:i,onChange:e=>s(e.target.value)}),te.jsx(Uw,{type:"button",sx:{p:2},onClick:()=>t(k$(i)),children:te.jsx(cU,{})}),te.jsx(Uw,{type:"submit",sx:{p:2},children:te.jsx(SU,{})})]})]}),te.jsx(fI,{item:!0,md:6,xs:12,children:c.length>0&&te.jsxs(te.Fragment,{children:[te.jsx("h3",{children:"Favorites"}),te.jsx(f_,{children:c.map(((e,n)=>te.jsxs(A_,{children:[te.jsx(V_,{children:e}),te.jsxs(k_,{children:[te.jsx(Uw,{href:e,children:te.jsx(tU,{})}),te.jsx(Uw,{type:"submit",sx:{p:2},onClick:()=>t(R$(e)),children:te.jsx(uU,{})}),te.jsx(Uw,{type:"submit",sx:{p:2},onClick:()=>p(e),children:te.jsx(SU,{})})]})]},n)))})]})})]})}const AG=({indicatorSize:e=40})=>te.jsx(hR,{size:e,sx:{position:"absolute",top:"50%",left:"50%",marginTop:-e/2+"px",marginLeft:-e/2+"px"}}),OG=({module:e,props:t,scope:n,url:r})=>{const o=(({url:e})=>{const[t,n]=H.useState(!1),[r,o]=H.useState(!1);return H.useEffect((()=>{if(!e)return;const t=document.createElement("script");return t.src=e,t.type="text/javascript",t.async=!0,n(!1),o(!1),t.onload=()=>{console.debug(`Dynamic Script Loaded: ${e}`),n(!0)},t.onerror=()=>{console.error(`Dynamic Script Error: ${e}`),n(!1),o(!0)},document.head.appendChild(t),()=>{console.debug(`Dynamic Script Unloaded: ${e}`),document.head.removeChild(t)}}),[e]),{ready:t,failed:r}})({url:e&&r});if(!e)return te.jsx(nS,{severity:"error",children:"Module name cannot be empty"});if(!o.ready)return te.jsx(AG,{});if(o.failed)return te.jsxs(nS,{severity:"error",children:["Failed to load dynamic script: ",r]});const a=H.lazy(((e,t)=>async()=>{await __webpack_init_sharing__("default");const n=window[e];return await n.init(__webpack_share_scopes__.default),(await window[e].get(t))()})(n,e));return te.jsx(U.Suspense,{fallback:te.jsx(AG,{}),children:te.jsx(a,{...t})})},NG={cache:{get:[{key:"123",count:2}],set:[{key:"123",value:{1:2,2:"object@stdClass#6692"},ttl:null,count:2}]}},PG=[{severity:"error",text:"Error text"},{severity:"success",text:"Success text"}];function LG(){return te.jsxs(H.Suspense,{fallback:te.jsx(AG,{}),children:[te.jsx(OG,{url:"http://localhost:3002/external.js",module:"./LogPanel",scope:"remote",props:{data:PG}}),te.jsx(OG,{url:"http://localhost:3002/external.js",module:"./CachePanel",scope:"remote",props:{data:NG}})]})}const MG={routes:[{index:!0,element:te.jsx(_G,{})},{path:"shared",element:te.jsx(LG,{})}],reducers:Oz,middlewares:Nz,standaloneModule:!1},DG=U.createContext(void 0);function jG(){const e=U.useContext(DG);if(void 0===e)throw new Error(["MUI: Could not find the data grid context.","It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return e}const FG=U.createContext(void 0),$G=()=>{const e=U.useContext(FG);if(!e)throw new Error("MUI: useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component.");return e};function BG(e){return Ch("MuiDataGrid",e)}const zG=kh("MuiDataGrid",["actionsCell","aggregationColumnHeader","aggregationColumnHeader--alignLeft","aggregationColumnHeader--alignCenter","aggregationColumnHeader--alignRight","autoHeight","booleanCell","cell--editable","cell--editing","cell--textCenter","cell--textLeft","cell--textRight","cell--withRenderer","cell","cellContent","cellCheckbox","cellSkeleton","checkboxInput","columnHeader--alignCenter","columnHeader--alignLeft","columnHeader--alignRight","columnHeader--dragging","columnHeader--moving","columnHeader--numeric","columnHeader--sortable","columnHeader--sorted","columnHeader--filtered","columnHeader","columnHeaderCheckbox","columnHeaderDraggableContainer","columnHeaderDropZone","columnHeaderTitle","columnHeaderTitleContainer","columnHeaderTitleContainerContent","columnGroupHeader","columnHeader--filledGroup","columnHeader--emptyGroup","columnHeader--showColumnBorder","columnHeaders","columnHeadersInner","columnHeadersInner--scrollable","columnSeparator--resizable","columnSeparator--resizing","columnSeparator--sideLeft","columnSeparator--sideRight","columnSeparator","columnsPanel","columnsPanelRow","detailPanel","detailPanels","detailPanelToggleCell","detailPanelToggleCell--expanded","footerCell","panel","panelHeader","panelWrapper","panelContent","panelFooter","paper","editBooleanCell","editInputCell","filterForm","filterFormDeleteIcon","filterFormLinkOperatorInput","filterFormColumnInput","filterFormOperatorInput","filterFormValueInput","filterIcon","footerContainer","iconButtonContainer","iconSeparator","main","menu","menuIcon","menuIconButton","menuOpen","menuList","overlay","root","root--densityStandard","root--densityComfortable","root--densityCompact","row","row--editable","row--editing","row--lastVisible","row--dragging","row--dynamicHeight","row--detailPanelExpanded","rowReorderCellPlaceholder","rowCount","rowReorderCellContainer","rowReorderCell","rowReorderCell--draggable","scrollArea--left","scrollArea--right","scrollArea","selectedRowCount","sortIcon","toolbarContainer","toolbarFilterList","virtualScroller","virtualScrollerContent","virtualScrollerContent--overflowed","virtualScrollerRenderZone","pinnedColumns","pinnedColumns--left","pinnedColumns--right","pinnedColumnHeaders","pinnedColumnHeaders--left","pinnedColumnHeaders--right","withBorder","treeDataGroupingCell","treeDataGroupingCellToggle","groupingCriteriaCell","groupingCriteriaCellToggle","pinnedRows","pinnedRows--top","pinnedRows--bottom","pinnedRowsRenderZone"]),UG=e=>{const{classes:t}=e;return eb({root:["main"]},BG,t)},HG=Wv("div",{name:"MuiDataGrid",slot:"Main",overridesResolver:(e,t)=>t.main})((()=>({position:"relative",flexGrow:1,display:"flex",flexDirection:"column",overflow:"hidden"})));function VG(e){const t=$G(),n=UG(t);return ee.jsx(HG,{className:n.root,ownerState:t,children:e.children})}function GG(e,t){var n=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},r=function(e){if(!(e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var r=this;n(this),this.__resizeRAF__&&t.cancelAnimationFrame(this.__resizeRAF__),this.__resizeRAF__=t.requestAnimationFrame((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(r)&&(r.__resizeLast__.width=r.offsetWidth,r.__resizeLast__.height=r.offsetHeight,r.__resizeListeners__.forEach((function(t){t.call(r,e)})))}))}},o=!1,a="",i="animationstart",s="Webkit Moz O ms".split(" "),l="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),u=document.createElement("fakeelement");if(void 0!==u.style.animationName&&(o=!0),!1===o)for(var c=0;c div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .Mui-resizeTriggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o="ShadowRoot"===n.constructor.name?n:t.head||t.getElementsByTagName("head")[0],a=t.createElement("style");a.id="muiDetectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(t.createTextNode(r)),o.appendChild(a)}}(s,o.getRootNode()),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=s.createElement("div")).className="Mui-resizeTriggers",o.__resizeTriggers__.innerHTML='
',o.appendChild(o.__resizeTriggers__),n(o),o.addEventListener("scroll",r,!0),i&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName==d&&n(o)},o.__resizeTriggers__.addEventListener(i,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(a)},removeResizeListener:function(e,t){if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",r,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(i,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(w0){}}}}}const WG=["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style"],qG=U.forwardRef((function(e,t){const{children:n,defaultHeight:r=null,defaultWidth:o=null,disableHeight:a=!1,disableWidth:i=!1,nonce:s,onResize:l,style:u}=e,c=_d(e,WG),[d,p]=U.useState({height:r,width:o}),f=U.useRef(null),m=U.useRef(null),h=Pg((()=>{if(m.current){const e=m.current.offsetHeight||0,t=m.current.offsetWidth||0,n=Tg(m.current).getComputedStyle(m.current),r=parseInt(n.paddingLeft,10)||0,o=parseInt(n.paddingRight,10)||0,s=e-(parseInt(n.paddingTop,10)||0)-(parseInt(n.paddingBottom,10)||0),u=t-r-o;(!a&&d.height!==s||!i&&d.width!==u)&&(p({height:s,width:u}),l&&l({height:s,width:u}))}}));cg((()=>{var e;if(m.current=f.current.parentElement,!m)return;const t=Tg(null!=(e=m.current)?e:void 0),n=GG(s,t);return n.addResizeListener(m.current,h),h(),()=>{n.removeResizeListener(m.current,h)}}),[s,h]);const g={overflow:"visible"},b={};a||(g.height=0,b.height=d.height),i||(g.width=0,b.width=d.width);const v=Lg(f,t);return ee.jsx("div",Id({ref:v,style:Id({},g,u)},c,{children:null===d.height&&null===d.width?null:n(b)}))})),KG=(e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e;return()=>{n||(n=!0,"error"===t?console.error(r):console.warn(r))}},YG=(e,t)=>e;KG(["MUI: `useGridSelector` has been called before the initialization of the state.","This hook can only be used inside the context of the grid."]);const XG=(e,t)=>function(e){return e.acceptsApiRef}(t)?t(e):t(e.current.state),ZG={cache:null};KG(["MUI: A selector was called without passing the instance ID, which may impact the performance of the grid.","To fix, call it with `apiRef`, e.g. `mySelector(apiRef)`, or pass the instance ID explicitly, e.g `mySelector(state, apiRef.current.instanceId)`."]);const QG=(...e)=>{null===ZG.cache&&(ZG.cache={});const t=(...t)=>{const[n,r]=t,o=!!n.current,a=o?n.current.instanceId:null!=r?r:"default",i=o?n.current.state:n;null===ZG.cache&&(ZG.cache={});const{cache:s}=ZG;if(s[a]&&s[a].get(e))return s[a].get(e)(i,a);const l=JM(...e);return s[a]||(s[a]=new Map),s[a].set(e,l),l(i,a)};return t.acceptsApiRef=!0,t},JG=e=>e.rows,eW=QG(JG,(e=>e.totalRowCount)),tW=QG(JG,(e=>e.loading)),nW=QG(JG,(e=>e.totalTopLevelRowCount)),rW=QG(JG,(e=>e.idRowsLookup)),oW=QG(JG,(e=>e.idToIdLookup)),aW=QG(JG,(e=>e.tree)),iW=QG(JG,(e=>e.groupingName)),sW=QG(JG,(e=>e.treeDepth)),lW=QG(JG,(e=>e.ids)),uW=QG(JG,(e=>null==e?void 0:e.additionalRowGroups)),cW=QG(uW,(e=>null==e?void 0:e.pinnedRows)),dW=QG(cW,(e=>{var t,n;return((null==e||null==(t=e.top)?void 0:t.length)||0)+((null==e||null==(n=e.bottom)?void 0:n.length)||0)})),pW=e=>e.sorting,fW=QG(pW,(e=>e.sortedRows)),mW=QG(fW,rW,((e,t)=>e.map((e=>({id:e,model:t[e]}))))),hW=QG(pW,(e=>e.sortModel)),gW=QG(hW,(e=>e.reduce(((t,n,r)=>(t[n.field]={sortDirection:n.sort,sortIndex:e.length>1?r+1:void 0},t)),{}))),bW=e=>e.columns,vW=QG(bW,(e=>e.all)),yW=QG(bW,(e=>e.lookup)),wW=QG(vW,yW,((e,t)=>e.map((e=>t[e])))),SW=QG(bW,(e=>e.columnVisibilityModel)),xW=QG(wW,SW,((e,t)=>e.filter((e=>!1!==t[e.field]))));QG(xW,(e=>e.map((e=>e.field))));const EW=QG(xW,(e=>{const t=[];let n=0;for(let r=0;r{const n=e.length;return 0===n?0:t[n-1]+e[n-1].computedWidth})),kW=QG(wW,(e=>e.filter((e=>e.filterable)))),RW=QG(wW,(e=>e.reduce(((e,t)=>(t.filterable&&(e[t.field]=t),e)),{})));YG(QG(kW,(e=>e.map((e=>e.field))))),YG(QG(xW,(e=>e.length)));const TW=YG(QG(EW,CW,((e,t)=>({totalWidth:t,positions:e})))),IW=e=>e.filter,_W=QG(IW,(e=>e.filterModel));QG(_W,(e=>e.quickFilterValues));const AW=QG(IW,(e=>e.visibleRowsLookup)),OW=QG(IW,(e=>e.filteredRowsLookup));QG(IW,(e=>e.filteredDescendantCountLookup));const NW=QG(AW,mW,((e,t)=>t.filter((t=>!1!==e[t.id])))),PW=QG(NW,(e=>e.map((e=>e.id)))),LW=QG(OW,mW,((e,t)=>t.filter((t=>!1!==e[t.id])))),MW=QG(LW,(e=>e.map((e=>e.id)))),DW=QG(NW,aW,sW,((e,t,n)=>n<2?e:e.filter((e=>{var n;return 0===(null==(n=t[e.id])?void 0:n.depth)})))),jW=QG(NW,(e=>e.length)),FW=QG(DW,(e=>e.length)),$W=QG(_W,yW,((e,t)=>{var n;return null==(n=e.items)?void 0:n.filter((e=>{var n,r;if(!e.columnField)return!1;const o=t[e.columnField];if(null==o||!o.filterOperators||0===(null==o||null==(n=o.filterOperators)?void 0:n.length))return!1;const a=o.filterOperators.find((t=>t.value===e.operatorValue));return!!a&&(!a.InputComponent||null!=e.value&&""!==(null==(r=e.value)?void 0:r.toString()))}))})),BW=QG($W,(e=>e.reduce(((e,t)=>(e[t.columnField]?e[t.columnField].push(t):e[t.columnField]=[t],e)),{}))),zW=e=>e.density,UW=QG(zW,(e=>e.value)),HW=QG(zW,(e=>e.rowHeight)),VW=QG(zW,(e=>e.headerHeight)),GW=QG(zW,(e=>e.headerGroupingMaxDepth)),WW=QG(zW,(e=>e.factor)),qW=QG(zW,(e=>e.headerHeight*(1+e.headerGroupingMaxDepth)));function KW(e){var t,n;const r=jG(),o=$G(),a=XG(r,qW),[i,s]=U.useState((()=>{var e,t;return null!=(e=null==(t=r.current.getRootDimensions())?void 0:t.viewportInnerSize)?e:null})),l=U.useCallback((()=>{var e,t;s(null!=(e=null==(t=r.current.getRootDimensions())?void 0:t.viewportInnerSize)?e:null)}),[r]);cg((()=>r.current.subscribeEvent("viewportInnerSizeChange",l)),[r,l]);let u=null!=(t=null==i?void 0:i.height)?t:0;return o.autoHeight&&0===u&&(u="auto"),i?ee.jsx("div",Id({style:{height:u,width:null!=(n=null==i?void 0:i.width)?n:0,position:"absolute",top:a,bottom:"auto"===u?0:void 0}},e)):null}function YW(){const e=jG(),t=$G(),n=XG(e,eW),r=XG(e,jW),o=XG(e,tW),a=!o&&n>0&&0===r;let i=null;var s,l,u;o||0!==n||(i=ee.jsx(t.components.NoRowsOverlay,Id({},null==(s=t.componentsProps)?void 0:s.noRowsOverlay)));a&&(i=ee.jsx(t.components.NoResultsOverlay,Id({},null==(l=t.componentsProps)?void 0:l.noResultsOverlay)));o&&(i=ee.jsx(t.components.LoadingOverlay,Id({},null==(u=t.componentsProps)?void 0:u.loadingOverlay)));return null===i?null:ee.jsx(KW,{children:i})}function XW(e){const{children:t,VirtualScrollerComponent:n,ColumnHeadersComponent:r}=e,o=jG(),a=$G(),i=XG(o,qW),[s,l]=U.useState(a.disableVirtualization),u=U.useCallback((()=>{l(!0)}),[]),c=U.useCallback((()=>{l(!1)}),[]);U.useEffect((()=>{l(a.disableVirtualization)}),[a.disableVirtualization]),o.current.unstable_disableVirtualization=u,o.current.unstable_enableVirtualization=c;const d=U.useRef(null),p=U.useRef(null),f=U.useRef(null),m=U.useRef(null);o.current.columnHeadersContainerElementRef=p,o.current.columnHeadersElementRef=d,o.current.windowRef=f,o.current.renderingZoneRef=m;const h=U.useCallback((e=>{o.current.publishEvent("resize",e)}),[o]);return ee.jsxs(VG,{children:[ee.jsx(YW,{}),ee.jsx(r,{ref:p,innerRef:d}),ee.jsx(qG,{nonce:a.nonce,disableHeight:a.autoHeight,onResize:h,children:e=>{const t={width:e.width,height:e.height?e.height-i:"auto",marginTop:i};return ee.jsx(n,{ref:f,style:t,disableVirtualization:s})}}),t]})}function ZW(e,t){const n=U.useRef(null);if(n.current)return n.current;const r=e.current.getLogger(t);return n.current=r,r}let QW=class extends U.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){this.props.api.current&&(this.logError(e),this.props.api.current.showError({error:e,errorInfo:t}))}logError(e,t){this.props.logger.error(`An unexpected error occurred. Error: ${e&&e.message}. `,e,t)}render(){var e;return this.props.hasError||null!=(e=this.state)&&e.hasError?this.props.render(this.state):this.props.children}};function JW(e){const{children:t}=e,n=jG(),r=ZW(n,"GridErrorHandler"),o=$G(),a=n.current.state.error;return ee.jsx(QW,{hasError:null!=a,api:n,logger:r,render:e=>{var t;return ee.jsx(VG,{children:ee.jsx(o.components.ErrorOverlay,Id({},e,a,null==(t=o.componentsProps)?void 0:t.errorOverlay))})},children:t})}function eq(){var e;const t=jG(),n=$G(),r=U.useRef(null);return t.current.footerRef=r,n.hideFooter?null:ee.jsx("div",{ref:r,children:ee.jsx(n.components.Footer,Id({},null==(e=n.componentsProps)?void 0:e.footer))})}function tq(){var e;const t=jG(),n=$G(),r=U.useRef(null);return t.current.headerRef=r,ee.jsx("div",{ref:r,children:ee.jsx(n.components.Header,Id({},null==(e=n.componentsProps)?void 0:e.header))})}function nq(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;te.focus,bq=QG(gq,(e=>e.cell)),vq=QG(gq,(e=>e.columnHeader)),yq=e=>e.tabIndex,wq=QG(yq,(e=>e.cell)),Sq=QG(yq,(e=>e.columnHeader)),xq=["align","children","colIndex","colDef","cellMode","field","formattedValue","hasFocus","height","isEditable","rowId","tabIndex","value","width","className","showRightBorder","extendRowFullWidth","row","colSpan","disableDragEvents","onClick","onDoubleClick","onMouseDown","onMouseUp","onKeyDown","onDragEnter","onDragOver"];let Eq;const Cq=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","hasFocus","tabIndex","getValue"],kq=e=>{const{value:t}=e,n=_d(e,Cq),r=jG(),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["booleanCell"]},BG,t)})({classes:o.classes}),i=U.useMemo((()=>t?o.components.BooleanCellTrueIcon:o.components.BooleanCellFalseIcon),[o.components.BooleanCellFalseIcon,o.components.BooleanCellTrueIcon,t]);return ee.jsx(i,Id({fontSize:"small",className:a.root,titleAccess:r.current.getLocaleText(t?"booleanCellTrueLabel":"booleanCellFalseLabel"),"data-value":Boolean(t)},n))},Rq=U.memo(kq),Tq=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","isValidating","isProcessingProps","error","onValueChange"];function Iq(e){var t;const{id:n,value:r,field:o,className:a,hasFocus:i,onValueChange:s}=e,l=_d(e,Tq),u=jG(),c=U.useRef(null),d=Og(),[p,f]=U.useState(r),m=$G(),h=(e=>{const{classes:t}=e;return eb({root:["editBooleanCell"]},BG,t)})({classes:m.classes}),g=U.useCallback((async e=>{const t=e.target.checked;s&&await s(e,t),f(t),await u.current.setEditCellValue({id:n,field:o,value:t},e)}),[u,o,n,s]);return U.useEffect((()=>{f(r)}),[r]),cg((()=>{i&&c.current.focus()}),[i]),ee.jsx("label",Id({htmlFor:d,className:rq(h.root,a)},l,{children:ee.jsx(m.components.BaseCheckbox,Id({id:d,inputRef:c,checked:Boolean(p),onChange:g,size:"small"},null==(t=m.componentsProps)?void 0:t.baseCheckbox))}))}const _q=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue","inputProps","isValidating","isProcessingProps","onValueChange"],Aq=Wv(iC)({fontSize:"inherit"});function Oq(e){const{id:t,value:n,field:r,colDef:o,hasFocus:a,inputProps:i,onValueChange:s}=e,l=_d(e,_q),u="dateTime"===o.type,c=jG(),d=U.useRef(),p=U.useMemo((()=>{let e,t;if(e=null==n?null:n instanceof Date?n:new Date((null!=n?n:"").toString()),null==e||Number.isNaN(e.getTime()))t="";else{t=new Date(e.getTime()-60*e.getTimezoneOffset()*1e3).toISOString().substr(0,u?16:10)}return{parsed:e,formatted:t}}),[n,u]),[f,m]=U.useState(p),h=(e=>{const{classes:t}=e;return eb({root:["editInputCell"]},BG,t)})({classes:$G().classes}),g=U.useCallback((async e=>{const n=e.target.value;let o;if(""===n)o=null;else{const[e,t]=n.split("T"),[r,a,i]=e.split("-");if(o=new Date,o.setFullYear(Number(r),Number(a)-1,Number(i)),o.setHours(0,0,0,0),t){const[e,n]=t.split(":");o.setHours(Number(e),Number(n),0,0)}}s&&await s(e,o),m({parsed:o,formatted:n}),c.current.setEditCellValue({id:t,field:r,value:o},e)}),[c,r,t,s]);return U.useEffect((()=>{m((e=>{var t,n;return p.parsed!==e.parsed&&(null==(t=p.parsed)?void 0:t.getTime())!==(null==(n=e.parsed)?void 0:n.getTime())?p:e}))}),[p]),cg((()=>{a&&d.current.focus()}),[a]),ee.jsx(Aq,Id({inputRef:d,fullWidth:!0,className:h.root,type:u?"datetime-local":"date",inputProps:Id({max:u?"9999-12-31T23:59":"9999-12-31"},i),value:f.formatted,onChange:g},l))}const Nq=e=>ee.jsx(Oq,Id({},e)),Pq=ey(ee.jsx("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward"),Lq=ey(ee.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),Mq=ey(ee.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight"),Dq=ey(ee.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),jq=ey(ee.jsx("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList"),Fq=ey(ee.jsx("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"}),"FilterAlt"),$q=ey(ee.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");ey(ee.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu"),ey(ee.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");const Bq=ey(ee.jsx("path",{d:"M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"}),"ColumnIcon"),zq=ey(ee.jsx("path",{d:"M11 19V5h2v14z"}),"Separator"),Uq=ey(ee.jsx("path",{d:"M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"}),"ViewHeadline"),Hq=ey(ee.jsx("path",{d:"M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"}),"TableRows"),Vq=ey(ee.jsx("path",{d:"M4 18h17v-6H4v6zM4 5v6h17V5H4z"}),"ViewStream"),Gq=ey(ee.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"TripleDotsVertical"),Wq=ey(ee.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),qq=ey(ee.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),Kq=ey(ee.jsx("path",{d:"M19 13H5v-2h14v2z"}),"Remove"),Yq=ey(ee.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Load"),Xq=ey(ee.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"Drag"),Zq=ey(ee.jsx("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),Qq=ey(ee.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),Jq=ey(ee.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");function eK(e){return"object"==typeof e&&null!==e?e.value:e}function tK(e,t){if(void 0===t)return;const n=t.find((t=>{const n=eK(t);return String(n)===String(e)}));return eK(n)}const nK=["item","applyValue","type","apiRef","focusElementRef"],rK=({valueOptions:e,valueFormatter:t,field:n},r,o)=>("function"==typeof e?["",...e({field:n})]:["",...e||[]]).map((e=>{const a="object"==typeof e,i=a?e.value:e,s=a?e.value:e,l=t&&""!==e?t({value:e,field:n,api:r}):e,u=a?e.label:l;return ee.jsx(o,{value:s,children:u},i)})),oK=500;function aK(e){var t,n,r,o,a;const{item:i,applyValue:s,type:l,apiRef:u,focusElementRef:c}=e,d=_d(e,nK),p=U.useRef(),[f,m]=U.useState(null!=(t=i.value)?t:""),[h,g]=U.useState(!1),b=Og(),v=$G(),y=null==(r=((null==(n=v.componentsProps)?void 0:n.baseSelect)||{}).native)||r,w="singleSelect"===l?{select:!0,SelectProps:Id({native:y},null==(o=v.componentsProps)?void 0:o.baseSelect),children:rK(u.current.getColumn(i.columnField),u.current,y?"option":xA)}:{},S=U.useCallback((e=>{let t=e.target.value;if("singleSelect"===l){const e=u.current.getColumn(i.columnField),n="function"==typeof e.valueOptions?e.valueOptions({field:e.field}):e.valueOptions;t=tK(t,n)}clearTimeout(p.current),m(String(t)),g(!0),p.current=setTimeout((()=>{s(Id({},i,{value:t})),g(!1)}),oK)}),[u,s,i,l]);U.useEffect((()=>()=>{clearTimeout(p.current)}),[]),U.useEffect((()=>{var e;const t=null!=(e=i.value)?e:"";m(String(t))}),[i.value]);const x=h?{endAdornment:ee.jsx(Yq,{})}:d.InputProps;return ee.jsx(v.components.BaseTextField,Id({id:b,label:u.current.getLocaleText("filterPanelInputLabel"),placeholder:u.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:S,variant:"standard",type:l||"text",InputProps:x,InputLabelProps:{shrink:!0},inputRef:c},w,d,null==(a=v.componentsProps)?void 0:a.baseTextField))}const iK=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue","isValidating","debounceMs","isProcessingProps","onValueChange"],sK=Wv(iC,{name:"MuiDataGrid",slot:"EditInputCell",overridesResolver:(e,t)=>t.editInputCell})((({theme:e})=>Id({},e.typography.body2,{padding:"1px 0","& input":{padding:"0 16px",height:"100%"}}))),lK=U.forwardRef(((e,t)=>{var n,r;const o=$G(),{id:a,value:i,field:s,colDef:l,hasFocus:u,debounceMs:c=(null!=(n=o.experimentalFeatures)&&n.newEditingApi?200:oK),isProcessingProps:d,onValueChange:p}=e,f=_d(e,iK),m=jG(),h=U.useRef(),[g,b]=U.useState(i),v=(e=>{const{classes:t}=e;return eb({root:["editInputCell"]},BG,t)})(o),y=U.useCallback((async e=>{var t;const n=e.target.value;p&&await p(e,n);const r=m.current.getColumn(s);let i=n;r.valueParser&&null!=(t=o.experimentalFeatures)&&t.newEditingApi&&(i=r.valueParser(n,m.current.getCellParams(a,s))),b(i),m.current.setEditCellValue({id:a,field:s,value:i,debounceMs:c,unstable_skipValueParser:!0},e)}),[m,c,s,a,p,null==(r=o.experimentalFeatures)?void 0:r.newEditingApi]),w=m.current.unstable_getEditCellMeta?m.current.unstable_getEditCellMeta(a,s):{};return U.useEffect((()=>{"debouncedSetEditCellValue"!==w.changeReason&&b(i)}),[w.changeReason,i]),cg((()=>{u&&h.current.focus()}),[u]),ee.jsx(sK,Id({ref:t,inputRef:h,className:v.root,ownerState:o,fullWidth:!0,type:"number"===l.type?l.type:"text",value:null!=g?g:"",onChange:y,endAdornment:d?ee.jsx(Yq,{}):void 0},f))})),uK=e=>"Escape"===e,cK=e=>"Enter"===e,dK=e=>"Tab"===e,pK=e=>" "===e,fK=e=>"Delete"===e||"Backspace"===e;function mK(e){return 1===e.key.length&&!1===e.ctrlKey&&!1===e.metaKey}const hK=["Enter","Escape","Tab"],gK=["Enter","Tab"],bK=e=>gK.indexOf(e)>-1,vK=e=>(e=>"Home"===e||"End"===e)(e)||(e=>0===e.indexOf("Arrow"))(e)||(e=>0===e.indexOf("Page"))(e)||pK(e),yK=e=>!!e.key,wK=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","isValidating","isProcessingProps","error","onValueChange","initialOpen"];function SK(e){var t,n,r;const o=$G(),{id:a,value:i,api:s,field:l,row:u,colDef:c,hasFocus:d,error:p,onValueChange:f,initialOpen:m=o.editMode===oq.Cell}=e,h=_d(e,wK),g=jG(),b=U.useRef(),v=U.useRef(),[y,w]=U.useState(m),S=null!=(n=((null==(t=o.componentsProps)?void 0:t.baseSelect)||{}).native)&&n;let x;x="function"==typeof c.valueOptions?c.valueOptions({id:a,row:u,field:l}):c.valueOptions,c.valueFormatter&&(x=x.map((e=>{if("object"==typeof e)return e;const t={field:l,api:s,value:e};return{value:e,label:String(c.valueFormatter(t))}})));return cg((()=>{d&&v.current.focus()}),[d]),ee.jsx(o.components.BaseSelect,Id({ref:b,inputRef:v,value:i,onChange:async e=>{var t;w(!1);const n=tK(e.target.value,x);f&&await f(e,n);const r=await g.current.setEditCellValue({id:a,field:l,value:n},e);if(null!=(t=o.experimentalFeatures)&&t.newEditingApi)return;if(o.editMode===oq.Row||!1===r)return;if(await Promise.resolve(g.current.commitCellChange({id:a,field:l},e))&&(g.current.setCellMode(a,l,"view"),e.key)){const t=g.current.getCellParams(a,l);g.current.publishEvent("cellNavigationKeyDown",t,e)}},open:y,onOpen:e=>{(function(e){return!!e.key})(e)&&"Enter"===e.key||w(!0)},MenuProps:{onClose:(e,t)=>{var n;o.editMode!==oq.Row?("backdropClick"===t||uK(e.key))&&(null!=(n=o.experimentalFeatures)&&n.newEditingApi?g.current.stopCellEditMode({id:a,field:l,ignoreModifications:!0}):g.current.setCellMode(a,l,"view")):w(!1)}},error:p,native:S,fullWidth:!0},h,null==(r=o.componentsProps)?void 0:r.baseSelect,{children:x.map((e=>((e,t)=>{const n="object"==typeof e,r=n?e.value:e,o=n?e.value:e,a=n?e.label:e;return ee.jsx(t,{value:o,children:a},r)})(e,S?"option":xA)))}))}const xK=["open","target","onClickAway","children","position","className","onExited"],EK=Wv(AE,{name:"MuiDataGrid",slot:"Menu",overridesResolver:(e,t)=>t.menu})((({theme:e})=>({zIndex:e.zIndex.modal,[`& .${zG.menuList}`]:{outline:0}}))),CK={"bottom-start":"top left","bottom-end":"top right"},kK=e=>{var t;const{open:n,target:r,onClickAway:o,children:a,position:i,className:s,onExited:l}=e,u=_d(e,xK),c=jG(),d=U.useRef(r),p=U.useRef(n),f=$G(),m=(e=>{const{classes:t}=e;return eb({root:["menu"]},BG,t)})(f);U.useEffect((()=>{p.current&&d.current&&d.current.focus();const e=n?"menuOpen":"menuClose";c.current.publishEvent(e,{target:r}),p.current=n,d.current=r}),[c,n,r]);return ee.jsx(EK,Id({as:f.components.BasePopper,className:rq(s,m.root),ownerState:f,open:n,anchorEl:r,transition:!0,placement:i},u,null==(t=f.componentsProps)?void 0:t.basePopper,{children:({TransitionProps:e,placement:t})=>{return ee.jsx(CS,{onClickAway:o,mouseEvent:"onMouseDown",children:ee.jsx(yI,Id({},e,{style:{transformOrigin:CK[t]},onExited:(n=null==e?void 0:e.onExited,e=>{n&&n(),l&&l(e)}),children:ee.jsx(Ly,{children:a})}))});var n}}))},RK=["colDef","id","api","hasFocus","isEditable","field","value","formattedValue","row","rowNode","cellMode","getValue","tabIndex","position","focusElementRef"],TK=e=>{const{colDef:t,id:n,hasFocus:r,tabIndex:o,position:a="bottom-end",focusElementRef:i}=e,s=_d(e,RK),[l,u]=U.useState(-1),[c,d]=U.useState(!1),p=jG(),f=U.useRef(null),m=U.useRef(null),h=U.useRef(!1),g=U.useRef({}),b=Og(),v=Og(),y=$G();if(U.useLayoutEffect((()=>{r||Object.entries(g.current).forEach((([e,t])=>{null==t||t.stop({},(()=>{delete g.current[e]}))}))}),[r]),U.useEffect((()=>{if(l<0||!f.current)return;if(l>=f.current.children.length)return;f.current.children[l].focus({preventScroll:!0})}),[l]),U.useEffect((()=>{r||(u(-1),h.current=!1)}),[r]),U.useImperativeHandle(i,(()=>({focus(){h.current||u(0)}})),[]),!(e=>"function"==typeof e.getActions)(t))throw new Error("MUI: Missing the `getActions` property in the `GridColDef`.");const w=t.getActions(p.current.getRowParams(n)),S=w.filter((e=>!e.props.showInMenu)),x=w.filter((e=>e.props.showInMenu)),E=S.length+(x.length?1:0);U.useEffect((()=>{l>=E&&u(E-1)}),[l,E]);const C=()=>{d(!1)},k=e=>t=>{g.current[e]=t},R=(e,t)=>n=>{u(e),h.current=!0,t&&t(n)};return ee.jsxs("div",Id({role:"menu",ref:f,tabIndex:-1,className:zG.actionsCell,onKeyDown:e=>{if(E<=1)return;let t=l;"ArrowRight"===e.key?t+=1:"ArrowLeft"===e.key&&(t-=1),t<0||t>=E||t!==l&&(e.preventDefault(),e.stopPropagation(),u(t))}},s,{children:[S.map(((e,t)=>U.cloneElement(e,{key:t,touchRippleRef:k(t),onClick:R(t,e.props.onClick),tabIndex:l===t?o:-1}))),x.length>0&&v&&ee.jsx(Uw,{ref:m,id:v,"aria-label":p.current.getLocaleText("actionsCellMore"),"aria-controls":b,"aria-expanded":c?"true":void 0,"aria-haspopup":"true",role:"menuitem",size:"small",onClick:()=>{d(!0),u(E-1),h.current=!0},touchRippleRef:k(v),tabIndex:l===S.length?o:-1,children:ee.jsx(y.components.MoreActionsIcon,{fontSize:"small"})}),x.length>0&&ee.jsx(kK,{onClickAway:C,onClick:C,open:c,target:m.current,position:a,children:ee.jsx(X_,{id:b,className:zG.menuList,onKeyDown:e=>{"Tab"===e.key&&e.preventDefault(),["Tab","Enter","Escape"].includes(e.key)&&C()},"aria-labelledby":v,variant:"menu",autoFocusItem:!0,children:x.map(((e,t)=>U.cloneElement(e,{key:t})))})})]}))},IK=["field","align","width","contentWidth"];const _K=Wv("div",{name:"MuiDataGrid",slot:"Root",overridesResolver:(e,t)=>[{[`&.${zG.autoHeight}`]:t.autoHeight},{[`&.${zG.aggregationColumnHeader}`]:t.aggregationColumnHeader},{[`&.${zG["aggregationColumnHeader--alignLeft"]}`]:t["aggregationColumnHeader--alignLeft"]},{[`&.${zG["aggregationColumnHeader--alignCenter"]}`]:t["aggregationColumnHeader--alignCenter"]},{[`&.${zG["aggregationColumnHeader--alignRight"]}`]:t["aggregationColumnHeader--alignRight"]},{[`&.${zG.aggregationColumnHeaderLabel}`]:t.aggregationColumnHeaderLabel},{[`& .${zG.editBooleanCell}`]:t.editBooleanCell},{[`& .${zG["cell--editing"]}`]:t["cell--editing"]},{[`& .${zG["cell--textCenter"]}`]:t["cell--textCenter"]},{[`& .${zG["cell--textLeft"]}`]:t["cell--textLeft"]},{[`& .${zG["cell--textRight"]}`]:t["cell--textRight"]},{[`& .${zG["cell--withRenderer"]}`]:t["cell--withRenderer"]},{[`& .${zG.cell}`]:t.cell},{[`& .${zG.cellContent}`]:t.cellContent},{[`& .${zG.cellCheckbox}`]:t.cellCheckbox},{[`& .${zG.cellSkeleton}`]:t.cellSkeleton},{[`& .${zG.checkboxInput}`]:t.checkboxInput},{[`& .${zG["columnHeader--alignCenter"]}`]:t["columnHeader--alignCenter"]},{[`& .${zG["columnHeader--alignLeft"]}`]:t["columnHeader--alignLeft"]},{[`& .${zG["columnHeader--alignRight"]}`]:t["columnHeader--alignRight"]},{[`& .${zG["columnHeader--dragging"]}`]:t["columnHeader--dragging"]},{[`& .${zG["columnHeader--moving"]}`]:t["columnHeader--moving"]},{[`& .${zG["columnHeader--numeric"]}`]:t["columnHeader--numeric"]},{[`& .${zG["columnHeader--sortable"]}`]:t["columnHeader--sortable"]},{[`& .${zG["columnHeader--sorted"]}`]:t["columnHeader--sorted"]},{[`& .${zG.columnHeader}`]:t.columnHeader},{[`& .${zG.columnHeaderCheckbox}`]:t.columnHeaderCheckbox},{[`& .${zG.columnHeaderDraggableContainer}`]:t.columnHeaderDraggableContainer},{[`& .${zG.columnHeaderTitleContainer}`]:t.columnHeaderTitleContainer},{[`& .${zG["columnSeparator--resizable"]}`]:t["columnSeparator--resizable"]},{[`& .${zG["columnSeparator--resizing"]}`]:t["columnSeparator--resizing"]},{[`& .${zG.columnSeparator}`]:t.columnSeparator},{[`& .${zG.filterIcon}`]:t.filterIcon},{[`& .${zG.iconSeparator}`]:t.iconSeparator},{[`& .${zG.menuIcon}`]:t.menuIcon},{[`& .${zG.menuIconButton}`]:t.menuIconButton},{[`& .${zG.menuOpen}`]:t.menuOpen},{[`& .${zG.menuList}`]:t.menuList},{[`& .${zG["row--editable"]}`]:t["row--editable"]},{[`& .${zG["row--editing"]}`]:t["row--editing"]},{[`& .${zG["row--dragging"]}`]:t["row--dragging"]},{[`& .${zG.row}`]:t.row},{[`& .${zG.rowReorderCellPlaceholder}`]:t.rowReorderCellPlaceholder},{[`& .${zG.rowReorderCell}`]:t.rowReorderCell},{[`& .${zG["rowReorderCell--draggable"]}`]:t["rowReorderCell--draggable"]},{[`& .${zG.sortIcon}`]:t.sortIcon},{[`& .${zG.withBorder}`]:t.withBorder},{[`& .${zG.treeDataGroupingCell}`]:t.treeDataGroupingCell},{[`& .${zG.treeDataGroupingCellToggle}`]:t.treeDataGroupingCellToggle},{[`& .${zG.detailPanelToggleCell}`]:t.detailPanelToggleCell},{[`& .${zG["detailPanelToggleCell--expanded"]}`]:t["detailPanelToggleCell--expanded"]},t.root]})((({theme:e})=>{const t="light"===e.palette.mode?xg(wg(e.palette.divider,1),.88):Sg(wg(e.palette.divider,1),.68);return Id({flex:1,boxSizing:"border-box",position:"relative",border:`1px solid ${t}`,borderRadius:e.shape.borderRadius,color:e.palette.text.primary},e.typography.body2,{outline:"none",height:"100%",display:"flex",flexDirection:"column",[`&.${zG.autoHeight}`]:{height:"auto",[`& .${zG["row--lastVisible"]} .${zG.cell}`]:{borderBottomColor:"transparent"}},[`& .${zG["virtualScrollerContent--overflowed"]} .${zG["row--lastVisible"]} .${zG.cell}`]:{borderBottomColor:"transparent"},[`& .${zG.columnHeader}, & .${zG.cell}`]:{WebkitTapHighlightColor:"transparent",lineHeight:null,padding:"0 10px",boxSizing:"border-box"},[`& .${zG.columnHeader}:focus-within, & .${zG.cell}:focus-within`]:{outline:`solid ${wg(e.palette.primary.main,.5)} 1px`,outlineWidth:1,outlineOffset:-1},[`& .${zG.columnHeader}:focus, & .${zG.cell}:focus`]:{outline:`solid ${e.palette.primary.main} 1px`},[`& .${zG.columnHeaderCheckbox}, & .${zG.cellCheckbox}`]:{padding:0,justifyContent:"center",alignItems:"center"},[`& .${zG.columnHeader}`]:{position:"relative",display:"flex",alignItems:"center"},[`& .${zG["columnHeader--sorted"]} .${zG.iconButtonContainer}, & .${zG["columnHeader--filtered"]} .${zG.iconButtonContainer}`]:{visibility:"visible",width:"auto"},[`& .${zG.columnHeader}:not(.${zG["columnHeader--sorted"]}) .${zG.sortIcon}`]:{opacity:0,transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.shorter})},[`& .${zG.columnHeader}:not(.${zG["columnHeader--sorted"]}):hover .${zG.sortIcon}`]:{opacity:.5},[`& .${zG.columnHeaderTitleContainer}`]:{display:"flex",alignItems:"center",minWidth:0,flex:1,whiteSpace:"nowrap",overflow:"hidden"},[`& .${zG.columnHeaderTitleContainerContent}`]:{overflow:"hidden",display:"flex",alignItems:"center"},[`& .${zG["columnHeader--filledGroup"]} .${zG.columnHeaderTitleContainer}`]:{borderBottom:`solid ${t} 1px`,boxSizing:"border-box"},[`& .${zG["columnHeader--filledGroup"]}.${zG["columnHeader--showColumnBorder"]} .${zG.columnHeaderTitleContainer}`]:{borderBottom:"none"},[`& .${zG["columnHeader--filledGroup"]}.${zG["columnHeader--showColumnBorder"]}`]:{borderBottom:`solid ${t} 1px`,boxSizing:"border-box"},[`& .${zG.sortIcon}, & .${zG.filterIcon}`]:{fontSize:"inherit"},[`& .${zG["columnHeader--sortable"]}`]:{cursor:"pointer"},[`& .${zG["columnHeader--alignCenter"]} .${zG.columnHeaderTitleContainer}`]:{justifyContent:"center"},[`& .${zG["columnHeader--alignRight"]} .${zG.columnHeaderDraggableContainer}, & .${zG["columnHeader--alignRight"]} .${zG.columnHeaderTitleContainer}`]:{flexDirection:"row-reverse"},[`& .${zG["columnHeader--alignCenter"]} .${zG.menuIcon}, & .${zG["columnHeader--alignRight"]} .${zG.menuIcon}`]:{marginRight:"auto",marginLeft:-6},[`& .${zG["columnHeader--alignRight"]} .${zG.menuIcon}, & .${zG["columnHeader--alignRight"]} .${zG.menuIcon}`]:{marginRight:"auto",marginLeft:-10},[`& .${zG["columnHeader--moving"]}`]:{backgroundColor:e.palette.action.hover},[`& .${zG.columnSeparator}`]:{position:"absolute",zIndex:100,display:"flex",flexDirection:"column",justifyContent:"center",color:t},[`& .${zG["columnSeparator--sideLeft"]}`]:{left:-12},[`& .${zG["columnSeparator--sideRight"]}`]:{right:-12},[`& .${zG["columnSeparator--resizable"]}`]:{cursor:"col-resize",touchAction:"none","&:hover":{color:e.palette.text.primary,"@media (hover: none)":{color:t}},[`&.${zG["columnSeparator--resizing"]}`]:{color:e.palette.text.primary},"& svg":{pointerEvents:"none"}},[`& .${zG.iconSeparator}`]:{color:"inherit"},[`& .${zG.menuIcon}`]:{width:0,visibility:"hidden",fontSize:20,marginRight:-10,display:"flex",alignItems:"center"},[`& .${zG.columnHeader}:hover`]:{[`& .${zG.iconButtonContainer}`]:{visibility:"visible",width:"auto"},[`& .${zG.menuIcon}`]:{width:"auto",visibility:"visible"}},[`.${zG.menuOpen}`]:{visibility:"visible",width:"auto"},[`& .${zG.row}`]:{display:"flex",width:"fit-content",breakInside:"avoid","&:hover, &.Mui-hovered":{backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},"&.Mui-selected":{backgroundColor:wg(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover, &.Mui-hovered":{backgroundColor:wg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:wg(e.palette.primary.main,e.palette.action.selectedOpacity)}}}},[`& .${zG.cell}`]:{display:"flex",alignItems:"center",borderBottom:`1px solid ${t}`},[`& .${zG.row}:not(.${zG["row--dynamicHeight"]}) > .${zG.cell}`]:{overflow:"hidden",whiteSpace:"nowrap"},[`& .${zG.cellContent}`]:{overflow:"hidden",textOverflow:"ellipsis"},[`& .${zG.cell}.${zG["cell--editing"]}`]:{padding:1,display:"flex",boxShadow:e.shadows[2],backgroundColor:e.palette.background.paper,"&:focus-within":{outline:`solid ${e.palette.primary.main} 1px`,outlineOffset:"-1px"}},[`& .${zG["row--editing"]}`]:{boxShadow:e.shadows[2]},[`& .${zG["row--editing"]} .${zG.cell}`]:{boxShadow:e.shadows[0],backgroundColor:e.palette.background.paper},[`& .${zG.editBooleanCell}`]:{display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center"},[`& .${zG.booleanCell}[data-value="true"]`]:{color:e.palette.text.secondary},[`& .${zG.booleanCell}[data-value="false"]`]:{color:e.palette.text.disabled},[`& .${zG.actionsCell}`]:{display:"inline-flex",alignItems:"center",gridGap:e.spacing(1)},[`& .${zG.rowReorderCell}`]:{display:"inline-flex",flex:1,alignItems:"center",justifyContent:"center",opacity:e.palette.action.disabledOpacity},[`& .${zG["rowReorderCell--draggable"]}`]:{cursor:"move",opacity:1},[`& .${zG.rowReorderCellContainer}`]:{padding:0,alignItems:"stretch"},[`& .${zG.withBorder}`]:{borderRight:`1px solid ${t}`},[`& .${zG["cell--textLeft"]}`]:{justifyContent:"flex-start"},[`& .${zG["cell--textRight"]}`]:{justifyContent:"flex-end"},[`& .${zG["cell--textCenter"]}`]:{justifyContent:"center"},[`& .${zG.columnHeaderDraggableContainer}`]:{display:"flex",width:"100%",height:"100%"},[`& .${zG.rowReorderCellPlaceholder}`]:{display:"none"},[`& .${zG["columnHeader--dragging"]}, & .${zG["row--dragging"]}`]:{background:e.palette.background.paper,padding:"0 12px",borderRadius:e.shape.borderRadius,opacity:e.palette.action.disabledOpacity},[`& .${zG["row--dragging"]}`]:{background:e.palette.background.paper,padding:"0 12px",borderRadius:e.shape.borderRadius,opacity:e.palette.action.disabledOpacity,[`& .${zG.rowReorderCellPlaceholder}`]:{display:"flex"}},[`& .${zG.treeDataGroupingCell}`]:{display:"flex",alignItems:"center",width:"100%"},[`& .${zG.treeDataGroupingCellToggle}`]:{flex:"0 0 28px",alignSelf:"stretch",marginRight:e.spacing(2)},[`& .${zG.groupingCriteriaCell}`]:{display:"flex",alignItems:"center",width:"100%"},[`& .${zG.groupingCriteriaCellToggle}`]:{flex:"0 0 28px",alignSelf:"stretch",marginRight:e.spacing(2)}})})),AK=["children","className"],OK=U.forwardRef((function(e,t){const n=$G(),{children:r,className:o}=e,a=_d(e,AK),i=jG(),s=XG(i,xW),l=XG(i,eW),u=XG(i,UW),c=XG(i,GW),d=U.useRef(null),p=Lg(d,t),f=XG(i,dW),m=Id({},n,{density:u}),h=(e=>{const{autoHeight:t,density:n,classes:r}=e;return eb({root:["root",t&&"autoHeight",`root--density${cm(n)}`]},BG,r)})(m);i.current.rootElementRef=d;const[g,b]=U.useState(!1);return cg((()=>{b(!0)}),[]),cg((()=>{g&&i.current.unstable_updateGridDimensionsRef()}),[i,g]),g?ee.jsx(_K,Id({ref:p,className:rq(o,h.root),ownerState:m,role:"grid","aria-colcount":s.length,"aria-rowcount":c+1+f+l,"aria-multiselectable":!n.disableMultipleSelection,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"]},a,{children:r})):null})),NK=["className"],PK=Wv("div",{name:"MuiDataGrid",slot:"FooterContainer",overridesResolver:(e,t)=>t.footerContainer})((({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:52,borderTop:`1px solid ${"light"===e.palette.mode?xg(wg(e.palette.divider,1),.88):Sg(wg(e.palette.divider,1),.68)}`}))),LK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,NK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["footerContainer"]},BG,t)})(o);return ee.jsx(PK,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),MK=["className"],DK=Wv("div",{name:"MuiDataGrid",slot:"Overlay",overridesResolver:(e,t)=>t.overlay})((({theme:e})=>({position:"absolute",top:0,zIndex:4,width:"100%",height:"100%",pointerEvents:"none",display:"flex",alignSelf:"center",alignItems:"center",justifyContent:"center",backgroundColor:wg(e.palette.background.default,e.palette.action.disabledOpacity)}))),jK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,MK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["overlay"]},BG,t)})(o);return ee.jsx(DK,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),FK=["className"],$K=Wv("div",{name:"MuiDataGrid",slot:"IconButtonContainer",overridesResolver:(e,t)=>t.iconButtonContainer})((()=>({display:"flex",visibility:"hidden",width:0}))),BK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,FK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["iconButtonContainer"]},BG,t)})(o);return ee.jsx($K,Id({ref:t,className:rq(a.root,n),ownerState:o},r))}));function zK(e){const{direction:t,index:n,sortingOrder:r}=e,o=jG(),a=$G(),i=(e=>{const{classes:t}=e;return eb({icon:["sortIcon"]},BG,t)})(Id({},e,{classes:a.classes})),s=function(e,t,n,r){let o;const a={};return"asc"===t?o=e.ColumnSortedAscendingIcon:"desc"===t?o=e.ColumnSortedDescendingIcon:(o=e.ColumnUnsortedIcon,a.sortingOrder=r),o?ee.jsx(o,Id({fontSize:"small",className:n},a)):null}(a.components,t,i.icon,r);if(!s)return null;const l=ee.jsx(Uw,{tabIndex:-1,"aria-label":o.current.getLocaleText("columnHeaderSortIconLabel"),title:o.current.getLocaleText("columnHeaderSortIconLabel"),size:"small",children:s});return ee.jsxs(BK,{children:[null!=n&&ee.jsx(rk,{badgeContent:n,color:"default",children:l}),null==n&&l]})}const UK=U.memo(zK),HK=U.memo((e=>{const{column:t,open:n,columnMenuId:r,columnMenuButtonId:o,iconButtonRef:a}=e,i=jG(),s=$G(),l=(e=>{const{classes:t,open:n}=e;return eb({root:["menuIcon",n&&"menuOpen"],button:["menuIconButton"]},BG,t)})(Id({},e,{classes:s.classes})),u=U.useCallback((e=>{e.preventDefault(),e.stopPropagation(),i.current.toggleColumnMenu(t.field)}),[i,t.field]);return ee.jsx("div",{className:l.root,children:ee.jsx(Uw,{ref:a,tabIndex:-1,className:l.button,"aria-label":i.current.getLocaleText("columnMenuLabel"),title:i.current.getLocaleText("columnMenuLabel"),size:"small",onClick:u,"aria-expanded":n?"true":void 0,"aria-haspopup":"true","aria-controls":r,id:o,children:ee.jsx(s.components.ColumnMenuIcon,{fontSize:"small"})})})}));function VK({columnMenuId:e,columnMenuButtonId:t,ContentComponent:n,contentComponentProps:r,field:o,open:a,target:i,onExited:s}){const l=jG(),u=l.current.getColumn(o),c=U.useCallback((e=>{e.stopPropagation(),l.current.hideColumnMenu()}),[l]);return i?ee.jsx(kK,{placement:"bottom-"+("right"===u.align?"start":"end"),open:a,target:i,onClickAway:c,onExited:s,children:ee.jsx(n,Id({currentColumn:u,hideMenu:c,open:a,id:e,labelledby:t},r))}):null}function GK(e){return e.replace(/["\\]/g,"\\$&")}function WK(e){return`.${zG.row}[data-id="${GK(String(e))}"]`}const qK=["className"],KK=Wv("div",{name:"MuiDataGrid",slot:"ColumnHeaderTitle",overridesResolver:(e,t)=>t.columnHeaderTitle})((({theme:e})=>({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:e.typography.fontWeightMedium}))),YK=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,qK),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["columnHeaderTitle"]},BG,t)})(o);return ee.jsx(KK,Id({ref:t,className:rq(a.root,n),ownerState:o},r))}));function XK(e){var t;const{label:n,description:r,columnWidth:o}=e,a=$G(),i=U.useRef(null),[s,l]=U.useState("");return U.useEffect((()=>{if(!r&&i&&i.current){const t=(e=i.current).scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth;l(t?n:"")}var e}),[i,o,r,n]),ee.jsx(a.components.BaseTooltip,Id({title:r||s},null==(t=a.componentsProps)?void 0:t.baseTooltip,{children:ee.jsx(YK,{ref:i,children:n})}))}const ZK=["resizable","resizing","height","side"];var QK,JK;(JK=QK||(QK={})).Left="left",JK.Right="right";function eY(e){const{height:t,side:n=QK.Right}=e,r=_d(e,ZK),o=$G(),a=(e=>{const{resizable:t,resizing:n,classes:r,side:o}=e;return eb({root:["columnSeparator",t&&"columnSeparator--resizable",n&&"columnSeparator--resizing",o&&`columnSeparator--side${cm(o)}`],icon:["iconSeparator"]},BG,r)})(Id({},e,{side:n,classes:o.classes})),i=U.useCallback((e=>{e.preventDefault(),e.stopPropagation()}),[]);return ee.jsx("div",Id({className:a.root,style:{minHeight:t,opacity:o.showColumnRightBorder?0:1}},r,{onClick:i,children:ee.jsx(o.components.ColumnResizeIcon,{className:a.icon})}))}const tY=U.memo(eY),nY=["classes","columnMenuOpen","colIndex","height","isResizing","sortDirection","hasFocus","tabIndex","separatorSide","isDraggable","headerComponent","description","elementId","width","columnMenuIconButton","columnMenu","columnTitleIconButtons","headerClassName","label","resizable","draggableContainerProps","columnHeaderSeparatorProps","disableHeaderSeparator"],rY=U.forwardRef((function(e,t){const{classes:n,columnMenuOpen:r,colIndex:o,height:a,isResizing:i,sortDirection:s,hasFocus:l,tabIndex:u,separatorSide:c,isDraggable:d,headerComponent:p,description:f,width:m,columnMenuIconButton:h=null,columnMenu:g=null,columnTitleIconButtons:b=null,headerClassName:v,label:y,resizable:w,draggableContainerProps:S,columnHeaderSeparatorProps:x,disableHeaderSeparator:E}=e,C=_d(e,nY),k=jG(),R=$G(),T=U.useRef(null),[I,_]=U.useState(r),A=Lg(T,t);let O="none";return null!=s&&(O="asc"===s?"ascending":"descending"),U.useEffect((()=>{I||_(r)}),[I,r]),U.useLayoutEffect((()=>{const e=k.current.state.columnMenu;if(l&&!e.open){const e=T.current.querySelector('[tabindex="0"]')||T.current;null==e||e.focus(),k.current.columnHeadersContainerElementRef.current.scrollLeft=0}}),[k,l]),ee.jsxs("div",Id({ref:A,className:rq(n.root,v),style:{height:a,width:m,minWidth:m,maxWidth:m},role:"columnheader",tabIndex:u,"aria-colindex":o+1,"aria-sort":O,"aria-label":null==p?y:void 0},C,{children:[ee.jsxs("div",Id({className:n.draggableContainer,draggable:d},S,{children:[ee.jsxs("div",{className:n.titleContainer,children:[ee.jsx("div",{className:n.titleContainerContent,children:void 0!==p?p:ee.jsx(XK,{label:y,description:f,columnWidth:m})}),b]}),h]})),!E&&ee.jsx(tY,Id({resizable:!R.disableColumnResize&&!!w,resizing:i,height:a,side:c},x)),g]}))}));function oY(e){var t,n,r,o,a;const{column:i,columnMenuOpen:s,colIndex:l,headerHeight:u,isResizing:c,isLastColumn:d,sortDirection:p,sortIndex:f,filterItemsCounter:m,hasFocus:h,tabIndex:g,extendRowFullWidth:b,disableReorder:v,separatorSide:y}=e,w=jG(),S=$G(),x=U.useRef(null),E=Og(),C=Og(),k=U.useRef(null),[R,T]=U.useState(s),{hasScrollX:I,hasScrollY:_}=null!=(t=w.current.getRootDimensions())?t:{hasScrollX:!1,hasScrollY:!1},A=U.useMemo((()=>!S.disableColumnReorder&&!v&&!i.disableReorder),[S.disableColumnReorder,v,i.disableReorder]);let O;i.renderHeader&&(O=i.renderHeader(w.current.getColumnHeaderParams(i.field)));const N=d?!(d&&I&&!_)&&!b:S.showColumnRightBorder,P=(e=>{const{column:t,classes:n,isDragging:r,sortDirection:o,showRightBorder:a,filterItemsCounter:i}=e,s=null!=o,l=null!=i&&i>0,u="number"===t.type;return eb({root:["columnHeader","left"===t.headerAlign&&"columnHeader--alignLeft","center"===t.headerAlign&&"columnHeader--alignCenter","right"===t.headerAlign&&"columnHeader--alignRight",t.sortable&&"columnHeader--sortable",r&&"columnHeader--moving",s&&"columnHeader--sorted",l&&"columnHeader--filtered",u&&"columnHeader--numeric",a&&"withBorder"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"],titleContainerContent:["columnHeaderTitleContainerContent"]},BG,n)})(Id({},e,{classes:S.classes,showRightBorder:N})),L=U.useCallback((e=>t=>{t.currentTarget.contains(t.target)&&w.current.publishEvent(e,w.current.getColumnHeaderParams(i.field),t)}),[w,i.field]),M=U.useMemo((()=>({onClick:L("columnHeaderClick"),onDoubleClick:L("columnHeaderDoubleClick"),onMouseOver:L("columnHeaderOver"),onMouseOut:L("columnHeaderOut"),onMouseEnter:L("columnHeaderEnter"),onMouseLeave:L("columnHeaderLeave"),onKeyDown:L("columnHeaderKeyDown"),onFocus:L("columnHeaderFocus"),onBlur:L("columnHeaderBlur")})),[L]),D=U.useMemo((()=>A?{onDragStart:L("columnHeaderDragStart"),onDragEnter:L("columnHeaderDragEnter"),onDragOver:L("columnHeaderDragOver"),onDragEnd:L("columnHeaderDragEnd")}:{}),[A,L]),j=U.useMemo((()=>({onMouseDown:L("columnSeparatorMouseDown")})),[L]);U.useEffect((()=>{R||T(s)}),[R,s]);const F=U.useCallback((()=>{T(!1)}),[]),$=!S.disableColumnMenu&&!i.disableColumnMenu&&ee.jsx(HK,{column:i,columnMenuId:E,columnMenuButtonId:C,open:R,iconButtonRef:k}),B=ee.jsx(VK,{columnMenuId:E,columnMenuButtonId:C,field:i.field,open:s,target:k.current,ContentComponent:S.components.ColumnMenu,contentComponentProps:null==(n=S.componentsProps)?void 0:n.columnMenu,onExited:F}),z=null!=(r=i.sortingOrder)?r:S.sortingOrder,H=ee.jsxs(U.Fragment,{children:[!S.disableColumnFilter&&ee.jsx(S.components.ColumnHeaderFilterIconButton,Id({field:i.field,counter:m},null==(o=S.componentsProps)?void 0:o.columnHeaderFilterIconButton)),i.sortable&&!i.hideSortIcons&&ee.jsx(UK,{direction:p,index:f,sortingOrder:z})]});U.useLayoutEffect((()=>{const e=w.current.state.columnMenu;if(h&&!e.open){const e=x.current.querySelector('[tabindex="0"]')||x.current;null==e||e.focus(),w.current.columnHeadersContainerElementRef.current.scrollLeft=0}}),[w,h]);const V="function"==typeof i.headerClassName?i.headerClassName({field:i.field,colDef:i}):i.headerClassName,G=null!=(a=i.headerName)?a:i.field;return ee.jsx(rY,Id({ref:x,classes:P,columnMenuOpen:s,colIndex:l,height:u,isResizing:c,sortDirection:p,hasFocus:h,tabIndex:g,separatorSide:y,isDraggable:A,headerComponent:O,description:i.description,elementId:i.field,width:i.computedWidth,columnMenuIconButton:$,columnTitleIconButtons:H,headerClassName:V,label:G,resizable:!S.disableColumnResize&&!!i.resizable,"data-field":i.field,columnMenu:B,draggableContainerProps:D,columnHeaderSeparatorProps:j},M))}const aY=e=>e.preferencePanel;var iY;!function(e){e.filters="filters",e.columns="columns"}(iY||(iY={}));const sY=["field","id","value","formattedValue","row","rowNode","colDef","isEditable","cellMode","hasFocus","tabIndex","getValue","api"],lY=U.forwardRef((function(e,t){var n;const{field:r,id:o,value:a,rowNode:i,hasFocus:s,tabIndex:l}=e,u=_d(e,sY),c=jG(),d=$G(),p=(e=>{const{classes:t}=e;return eb({root:["checkboxInput"]},BG,t)})({classes:d.classes}),f=U.useRef(null),m=U.useRef(),h=Lg(f,t),g=c.current.getCellElement(o,r);U.useLayoutEffect((()=>{0===l&&g&&(g.tabIndex=-1)}),[g,l]),U.useEffect((()=>{if(s){var e;const t=null==(e=f.current)?void 0:e.querySelector("input");null==t||t.focus({preventScroll:!0})}else m.current&&m.current.stop({})}),[s]);const b=U.useCallback((t=>{pK(t.key)&&t.stopPropagation(),vK(t.key)&&!t.shiftKey&&c.current.publishEvent("cellNavigationKeyDown",e,t)}),[c,e]);if("footer"===i.position)return null;const v=c.current.isRowSelectable(o),y=c.current.getLocaleText(a?"checkboxSelectionUnselectRow":"checkboxSelectionSelectRow");return i.isPinned?null:ee.jsx(d.components.BaseCheckbox,Id({ref:h,tabIndex:l,checked:a,onChange:e=>{const t={value:e.target.checked,id:o};c.current.publishEvent("rowSelectionCheckboxChange",t,e)},className:p.root,inputProps:{"aria-label":y},onKeyDown:b,disabled:!v,touchRippleRef:m},null==(n=d.componentsProps)?void 0:n.baseCheckbox,u))})),uY=lY,cY=e=>e.selection,dY=QG(cY,(e=>e.length)),pY=QG(cY,rW,((e,t)=>new Map(e.map((e=>[e,t[e]]))))),fY=QG(cY,(e=>e.reduce(((e,t)=>(e[t]=t,e)),{}))),mY=e=>e.pagination,hY=QG(mY,(e=>e.page)),gY=QG(mY,(e=>e.pageSize));QG(mY,(e=>e.pageCount));const bY=QG(mY,aW,sW,NW,DW,((e,t,n,r,o)=>{const a=o.length,i=Math.min(e.pageSize*e.page,a-1),s=Math.min(i+e.pageSize-1,a-1);if(-1===i||-1===s)return null;if(n<2)return{firstRowIndex:i,lastRowIndex:s};const l=o[i],u=s-i+1,c=r.findIndex((e=>e.id===l.id));let d=c,p=0;for(;d0)&&(d+=1),0===e&&(p+=1)}return{firstRowIndex:c,lastRowIndex:d-1}})),vY=QG(NW,bY,((e,t)=>t?e.slice(t.firstRowIndex,t.lastRowIndex+1):[])),yY=QG(PW,bY,((e,t)=>t?e.slice(t.firstRowIndex,t.lastRowIndex+1):[])),wY=["field","colDef"],SY=U.forwardRef((function(e,t){var n;const r=_d(e,wY),[,o]=U.useState(!1),a=jG(),i=$G(),s=(e=>{const{classes:t}=e;return eb({root:["checkboxInput"]},BG,t)})({classes:i.classes}),l=XG(a,Sq),u=XG(a,cY),c=XG(a,PW),d=XG(a,yY),p=U.useMemo((()=>"function"!=typeof i.isRowSelectable?u:u.filter((e=>!!a.current.getRow(e)&&i.isRowSelectable(a.current.getRowParams(e))))),[a,i.isRowSelectable,u]),f=U.useMemo((()=>(i.pagination&&i.checkboxSelectionVisibleOnly?d:c).reduce(((e,t)=>(e[t]=!0,e)),{})),[i.pagination,i.checkboxSelectionVisibleOnly,d,c]),m=U.useMemo((()=>p.filter((e=>f[e])).length),[p,f]),h=m>0&&m0,b=null!==l&&l.field===e.field?0:-1;U.useLayoutEffect((()=>{const t=a.current.getColumnHeaderElement(e.field);0===b&&t&&(t.tabIndex=-1)}),[b,a,e.field]);const v=U.useCallback((t=>{" "===t.key&&a.current.publishEvent("headerSelectionCheckboxChange",{value:!g}),vK(t.key)&&!t.shiftKey&&a.current.publishEvent("columnHeaderNavigationKeyDown",e,t)}),[a,e,g]),y=U.useCallback((()=>{o((e=>!e))}),[]);U.useEffect((()=>a.current.subscribeEvent("selectionChange",y)),[a,y]);const w=a.current.getLocaleText(g?"checkboxSelectionUnselectAllRows":"checkboxSelectionSelectAllRows");return ee.jsx(i.components.BaseCheckbox,Id({ref:t,indeterminate:h,checked:g,onChange:e=>{const t={value:e.target.checked};a.current.publishEvent("headerSelectionCheckboxChange",t)},className:s.root,inputProps:{"aria-label":w},tabIndex:b,onKeyDown:v},null==(n=i.componentsProps)?void 0:n.baseCheckbox,r))})),xY=e=>{const{onClick:t}=e,n=jG(),r=$G(),o=U.useCallback((e=>{t(e),n.current.showPreferences(iY.columns)}),[n,t]);return r.disableColumnSelector?null:ee.jsx(xA,{onClick:o,children:n.current.getLocaleText("columnMenuShowColumns")})},EY=e=>{const{column:t,onClick:n}=e,r=jG(),o=$G(),a=U.useCallback((e=>{n(e),r.current.showFilterPanel(null==t?void 0:t.field)}),[r,null==t?void 0:t.field,n]);return o.disableColumnFilter||null==t||!t.filterable?null:ee.jsx(xA,{onClick:a,children:r.current.getLocaleText("columnMenuFilter")})},CY=["hideMenu","currentColumn","open","id","labelledby","className","children"],kY=U.forwardRef((function(e,t){const{hideMenu:n,open:r,id:o,labelledby:a,className:i,children:s}=e,l=_d(e,CY),u=U.useCallback((e=>{var t;dK(e.key)&&e.preventDefault(),t=e.key,(dK(t)||uK(t))&&n(e)}),[n]);return ee.jsx(X_,Id({id:o,ref:t,className:rq(zG.menuList,i),"aria-labelledby":a,onKeyDown:u,autoFocus:r},l,{children:s}))})),RY=KG(["MUI: The `sortModel` can only contain a single item when the `disableMultipleColumnsSorting` prop is set to `true`.","If you are using the community version of the `DataGrid`, this prop is always `true`."],"error"),TY=(e,t)=>t&&e.length>1?(RY(),[e[0]]):e,IY=(e,t)=>n=>Id({},n,{sorting:Id({},n.sorting,{sortModel:TY(e,t)})}),_Y=(e,t)=>{const n=e.indexOf(t);return t&&-1!==n&&n+1!==e.length?e[n+1]:e[0]},AY=(e,t)=>null==e&&null!=t?-1:null==t&&null!=e?1:null==e&&null==t?0:null,OY=new Intl.Collator,NY=(e,t)=>{const n=AY(e,t);return null!==n?n:Number(e)-Number(t)},PY=(e,t)=>{const n=AY(e,t);return null!==n?n:e>t?1:eMath.max(t,Math.min(n,e));function jY(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)){const n=e.length;if(n!==t.length)return!1;for(let r=0;r{let t=e+=1831565813;return t=Math.imul(t^t>>>15,1|t),t^=t+Math.imul(t^t>>>7,61|t),((t^t>>>14)>>>0)/4294967296}}(e);return()=>t+(n-t)*r()}function $Y(e){return"function"==typeof structuredClone?structuredClone(e):JSON.parse(JSON.stringify(e))}const BY=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"];function zY(e){const{item:t,applyValue:n,type:r,apiRef:o,focusElementRef:a,color:i,error:s,helperText:l,size:u,variant:c}=e,d=_d(e,BY),p={color:i,error:s,helperText:l,size:u,variant:c},[f,m]=U.useState(t.value||[]),h=Og(),g=$G();U.useEffect((()=>{var e;const n=null!=(e=t.value)?e:[];m(n.map(String))}),[t.value]);const b=U.useCallback(((e,r)=>{m(r.map(String)),n(Id({},t,{value:[...r]}))}),[n,t]);return ee.jsx(PC,Id({multiple:!0,freeSolo:!0,options:[],filterOptions:(e,t)=>{const{inputValue:n}=t;return null==n||""===n?[]:[n]},id:h,value:f,onChange:b,renderTags:(e,t)=>e.map(((e,n)=>ee.jsx(VE,Id({variant:"outlined",size:"small",label:e},t({index:n}))))),renderInput:e=>{var t;return ee.jsx(g.components.BaseTextField,Id({},e,{label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:Id({},e.InputLabelProps,{shrink:!0}),inputRef:a,type:r||"text"},p,null==(t=g.componentsProps)?void 0:t.baseTextField))}},d))}const UY={width:100,minWidth:50,maxWidth:1/0,hide:!1,hideable:!0,sortable:!0,resizable:!0,filterable:!0,groupable:!0,pinnable:!0,aggregable:!0,editable:!1,sortComparator:(e,t)=>{const n=AY(e,t);return null!==n?n:"string"==typeof e?OY.compare(e.toString(),t.toString()):e-t},type:"string",align:"left",filterOperators:((e=!1)=>[{value:"contains",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(MY(n),"i");return({value:e})=>null!=e&&r.test(e.toString())},InputComponent:aK},{value:"equals",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return({value:e})=>null!=e&&0===r.compare(n,e.toString())},InputComponent:aK},{value:"startsWith",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(`^${MY(n)}.*$`,"i");return({value:e})=>null!=e&&r.test(e.toString())},InputComponent:aK},{value:"endsWith",getApplyFilterFn:t=>{if(!t.value)return null;const n=e?t.value:t.value.trim(),r=new RegExp(`.*${MY(n)}$`,"i");return({value:e})=>null!=e&&r.test(e.toString())},InputComponent:aK},{value:"isEmpty",getApplyFilterFn:()=>({value:e})=>""===e||null==e,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>({value:e})=>""!==e&&null!=e,requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:t=>{if(!Array.isArray(t.value)||0===t.value.length)return null;const n=e?t.value:t.value.map((e=>e.trim())),r=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return({value:e})=>null!=e&&n.some((t=>0===r.compare(t,e.toString()||"")))},InputComponent:zY}])(),renderEditCell:e=>ee.jsx(lK,Id({},e)),getApplyQuickFilterFn:e=>{if(!e)return null;const t=new RegExp(MY(e),"i");return({value:e})=>null!=e&&t.test(e.toString())}},HY="actions",VY=Id({},UY,{sortable:!1,filterable:!1,aggregable:!1,width:100,align:"center",headerAlign:"center",headerName:"",disableColumnMenu:!0,disableExport:!0,renderCell:e=>ee.jsx(TK,Id({},e)),getApplyQuickFilterFn:void 0}),GY=["item","applyValue","apiRef","focusElementRef"];function WY(e){var t,n,r,o;const{item:a,applyValue:i,apiRef:s,focusElementRef:l}=e,u=_d(e,GY),[c,d]=U.useState(a.value||""),p=$G(),f=null==(n=((null==(t=p.componentsProps)?void 0:t.baseSelect)||{}).native)||n,m=f?"option":xA,h=U.useCallback((e=>{const t=e.target.value;d(t),i(Id({},a,{value:t}))}),[i,a]);return U.useEffect((()=>{d(a.value||"")}),[a.value]),ee.jsxs(p.components.BaseTextField,Id({label:s.current.getLocaleText("filterPanelInputLabel"),value:c,onChange:h,select:!0,variant:"standard",SelectProps:Id({native:f,displayEmpty:!0},null==(r=p.componentsProps)?void 0:r.baseSelect),InputLabelProps:{shrink:!0},inputRef:l},u,null==(o=p.componentsProps)?void 0:o.baseTextField,{children:[ee.jsx(m,{value:"",children:s.current.getLocaleText("filterValueAny")}),ee.jsx(m,{value:"true",children:s.current.getLocaleText("filterValueTrue")}),ee.jsx(m,{value:"false",children:s.current.getLocaleText("filterValueFalse")})]}))}const qY=Id({},UY,{type:"boolean",align:"center",headerAlign:"center",renderCell:e=>e.rowNode.isAutoGenerated?"":ee.jsx(Rq,Id({},e)),renderEditCell:e=>ee.jsx(Iq,Id({},e)),sortComparator:NY,valueFormatter:function({value:e,api:t}){return e?t.getLocaleText("booleanCellTrueLabel"):t.getLocaleText("booleanCellFalseLabel")},filterOperators:[{value:"is",getApplyFilterFn:e=>{if(!e.value)return null;const t="true"===e.value;return({value:e})=>Boolean(e)===t},InputComponent:WY}],getApplyQuickFilterFn:void 0,aggregable:!1}),KY="__check__",YY=Id({},qY,{field:KY,type:"checkboxSelection",width:50,resizable:!1,sortable:!1,filterable:!1,aggregable:!1,disableColumnMenu:!0,disableReorder:!0,disableExport:!0,getApplyQuickFilterFn:void 0,valueGetter:e=>void 0!==fY(e.api.state,e.api.instanceId)[e.id],renderHeader:e=>ee.jsx(SY,Id({},e)),renderCell:e=>ee.jsx(uY,Id({},e))}),XY=["item","applyValue","type","apiRef","focusElementRef","InputProps"];function ZY(e){var t,n;const{item:r,applyValue:o,type:a,apiRef:i,focusElementRef:s,InputProps:l}=e,u=_d(e,XY),c=U.useRef(),[d,p]=U.useState(null!=(t=r.value)?t:""),[f,m]=U.useState(!1),h=Og(),g=$G(),b=U.useCallback((e=>{const t=e.target.value;clearTimeout(c.current),p(String(t)),m(!0),c.current=setTimeout((()=>{o(Id({},r,{value:t})),m(!1)}),500)}),[o,r]);return U.useEffect((()=>()=>{clearTimeout(c.current)}),[]),U.useEffect((()=>{var e;const t=null!=(e=r.value)?e:"";p(String(t))}),[r.value]),ee.jsx(g.components.BaseTextField,Id({id:h,label:i.current.getLocaleText("filterPanelInputLabel"),placeholder:i.current.getLocaleText("filterPanelInputPlaceholder"),value:d,onChange:b,variant:"standard",type:a||"text",InputLabelProps:{shrink:!0},inputRef:s,InputProps:Id({},f?{endAdornment:ee.jsx(Yq,{})}:{},l,{inputProps:Id({max:"datetime-local"===a?"9999-12-31T23:59":"9999-12-31"},null==l?void 0:l.inputProps)})},u,null==(n=g.componentsProps)?void 0:n.baseTextField))}const QY=/(\d+)-(\d+)-(\d+)/,JY=/(\d+)-(\d+)-(\d+)T(\d+):(\d+)/;function eX(e,t,n,r){if(!e.value)return null;const[o,a,i,s,l]=e.value.match(n?JY:QY).slice(1).map(Number),u=new Date(o,a-1,i,s||0,l||0).getTime();return({value:e})=>{if(!e)return!1;const o=e instanceof Date?e:new Date(e.toString());if(r)return t(o.getTime(),u);const a=(e instanceof Date?new Date(o):o).setHours(n?o.getHours():0,n?o.getMinutes():0,0,0);return t(a,u)}}const tX=e=>[{value:"is",getApplyFilterFn:t=>eX(t,((e,t)=>e===t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"not",getApplyFilterFn:t=>eX(t,((e,t)=>e!==t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"after",getApplyFilterFn:t=>eX(t,((e,t)=>e>t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"onOrAfter",getApplyFilterFn:t=>eX(t,((e,t)=>e>=t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"before",getApplyFilterFn:t=>eX(t,((e,t)=>eeX(t,((e,t)=>e<=t),e),InputComponent:ZY,InputComponentProps:{type:e?"datetime-local":"date"}},{value:"isEmpty",getApplyFilterFn:()=>({value:e})=>null==e,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>({value:e})=>null!=e,requiresFilterValue:!1}];const nX=Id({},UY,{type:"date",sortComparator:PY,valueFormatter:function({value:e}){return e instanceof Date?e.toLocaleDateString():null!=e?e:""},filterOperators:tX(),renderEditCell:Nq,getApplyQuickFilterFn:void 0}),rX=Id({},UY,{type:"dateTime",sortComparator:PY,valueFormatter:function({value:e}){return e instanceof Date?e.toLocaleString():null!=e?e:""},filterOperators:tX(!0),renderEditCell:Nq,getApplyQuickFilterFn:void 0}),oX=e=>null==e?null:Number(e),aX=Id({},UY,{type:"number",align:"right",headerAlign:"right",sortComparator:NY,valueParser:e=>""===e?null:Number(e),valueFormatter:({value:e})=>function(e){return"number"==typeof e}(e)?e.toLocaleString():e||"",filterOperators:[{label:"=",value:"=",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>oX(t)===e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:"!=",value:"!=",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>oX(t)!==e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:">",value:">",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)>e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:">=",value:">=",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)>=e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{label:"<",value:"<",getApplyFilterFn:e=>null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)null==e.value||Number.isNaN(e.value)?null:({value:t})=>null!=t&&oX(t)<=e.value,InputComponent:aK,InputComponentProps:{type:"number"}},{value:"isEmpty",getApplyFilterFn:()=>({value:e})=>null==e,requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:()=>({value:e})=>null!=e,requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:e=>Array.isArray(e.value)&&0!==e.value.length?({value:t})=>null!=t&&e.value.includes(Number(t)):null,InputComponent:zY,InputComponentProps:{type:"number"}}],getApplyQuickFilterFn:e=>null==e||Number.isNaN(e)||""===e?null:({value:t})=>oX(t)===oX(e)}),iX=["item","applyValue","type","apiRef","focusElementRef"],sX=({valueOptions:e,valueFormatter:t,field:n},r,o)=>("function"==typeof e?["",...e({field:n})]:["",...e||[]]).map((e=>{const a="object"==typeof e,i=a?e.value:e,s=a?e.value:e,l=t&&""!==e?t({value:e,field:n,api:r}):e,u=a?e.label:l;return ee.jsx(o,{value:s,children:u},i)}));function lX(e){var t,n,r,o,a;const{item:i,applyValue:s,type:l,apiRef:u,focusElementRef:c}=e,d=_d(e,iX),[p,f]=U.useState(null!=(t=i.value)?t:""),m=Og(),h=$G(),g=null==(r=((null==(n=h.componentsProps)?void 0:n.baseSelect)||{}).native)||r,b=i.columnField?u.current.getColumn(i.columnField):null,v=U.useMemo((()=>{if(null!==b)return"function"==typeof b.valueOptions?b.valueOptions({field:b.field}):b.valueOptions}),[b]),y=U.useCallback((e=>{let t=e.target.value;t=tK(t,v),f(String(t)),s(Id({},i,{value:t}))}),[s,i,v]);return U.useEffect((()=>{var e;let t;if(void 0!==v){if(t=tK(i.value,v),t!==i.value)return void s(Id({},i,{value:t}))}else t=i.value;t=null!=(e=t)?e:"",f(String(t))}),[i,v,s]),ee.jsx(h.components.BaseTextField,Id({id:m,label:u.current.getLocaleText("filterPanelInputLabel"),placeholder:u.current.getLocaleText("filterPanelInputPlaceholder"),value:p,onChange:y,variant:"standard",type:l||"text",InputLabelProps:{shrink:!0},inputRef:c,select:!0,SelectProps:Id({native:g},null==(o=h.componentsProps)?void 0:o.baseSelect)},d,null==(a=h.componentsProps)?void 0:a.baseTextField,{children:sX(u.current.getColumn(i.columnField),u.current,g?"option":xA)}))}const uX=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"],cX=(e,t)=>eK(e)===eK(t),dX=vE();function pX(e){const{item:t,applyValue:n,apiRef:r,focusElementRef:o,color:a,error:i,helperText:s,size:l,variant:u="standard"}=e,c=_d(e,uX),d={color:a,error:i,helperText:s,size:l,variant:u},p=Og(),f=$G(),m=t.columnField?r.current.getColumn(t.columnField):null,h=U.useMemo((()=>null!=m&&m.valueOptions?"function"==typeof m.valueOptions?m.valueOptions({field:m.field}):m.valueOptions:[]),[m]),g=U.useMemo((()=>null==h?void 0:h.map(eK)),[h]),{valueFormatter:b,field:v}=r.current.getColumn(t.columnField),y=e=>"object"==typeof e?e.label:b&&""!==e?b({value:e,field:v,api:r.current}):e,w=U.useMemo((()=>{if(!Array.isArray(t.value))return[];if(void 0!==h){return t.value.map((e=>{const t=eK(e);return(null==g?void 0:g.findIndex((e=>e===t)))||0})).filter((e=>e>=0)).map((e=>h[e]))}return t.value}),[t.value,h,g]);U.useEffect((()=>{Array.isArray(t.value)&&w.length===t.value.length||n(Id({},t,{value:w.map(eK)}))}),[t,w,n]);const S=U.useCallback(((e,r)=>{n(Id({},t,{value:[...r.map(eK)]}))}),[n,t]);return ee.jsx(PC,Id({multiple:!0,options:h,isOptionEqualToValue:cX,filterOptions:dX,id:p,value:w,onChange:S,renderTags:(e,t)=>e.map(((e,n)=>ee.jsx(VE,Id({variant:"outlined",size:"small",label:y(e)},t({index:n}))))),renderInput:e=>{var t;return ee.jsx(f.components.BaseTextField,Id({},e,{label:r.current.getLocaleText("filterPanelInputLabel"),placeholder:r.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:Id({},e.InputLabelProps,{shrink:!0}),inputRef:o,type:"singleSelect"},d,null==(t=f.componentsProps)?void 0:t.baseTextField))}},c))}const fX=e=>null==e||"object"!=typeof e?e:e.value,mX=Id({},UY,{type:"singleSelect",renderEditCell:e=>ee.jsx(SK,Id({},e)),filterOperators:[{value:"is",getApplyFilterFn:e=>null==e.value||""===e.value?null:({value:t})=>fX(t)===fX(e.value),InputComponent:lX},{value:"not",getApplyFilterFn:e=>null==e.value||""===e.value?null:({value:t})=>fX(t)!==fX(e.value),InputComponent:lX},{value:"isAnyOf",getApplyFilterFn:e=>{if(!Array.isArray(e.value)||0===e.value.length)return null;const t=e.value.map(fX);return({value:e})=>t.includes(fX(e))},InputComponent:pX}],getApplyQuickFilterFn:(e,t,n)=>{if(!e)return null;const{valueOptions:r,valueFormatter:o,field:a}=t,i=[fX(e).toString()],s="function"==typeof r?r({field:a}):r||[];return s&&s.forEach((t=>{let r,s;"object"==typeof t?(r=t.value,s=t.label):(r=t,s=o?o({value:t,field:a,api:n.current}):t),s.slice(0,e.length).toLowerCase()===e.toLowerCase()&&(i.includes(r)||i.push(r.toString()))})),({value:e})=>null!=e&&i.includes(fX(e).toString())}}),hX="__default__",gX=["maxWidth","minWidth","width","flex"],bX=(e={})=>{const t=Id({},{string:UY,number:aX,date:nX,dateTime:rX,boolean:qY,singleSelect:mX,[HY]:VY,[hX]:UY});return Object.entries(e).forEach((([e,n])=>{t[e]?t[e]=Id({},t[e],n):t[e]=Id({},t[n.extendType||hX],n)})),t};const vX=(e,t)=>{const n={};let r=0,o=0;const a=[];e.all.forEach((t=>{const i=Id({},e.lookup[t]);if(!1===e.columnVisibilityModel[t])i.computedWidth=0;else{let e;i.flex&&i.flex>0?(r+=i.flex,e=0,a.push(i)):e=DY(i.width,i.minWidth,i.maxWidth),o+=e,i.computedWidth=e}n[t]=i}));const i=Math.max(t-o,0);if(r>0&&t>0){const e=function({initialFreeSpace:e,totalFlexUnits:t,flexColumns:n}){const r={all:{},frozenFields:[],freeze:e=>{const t=r.all[e];t&&!0!==t.frozen&&(r.all[e].frozen=!0,r.frozenFields.push(e))}};return function o(){if(r.frozenFields.length===n.length)return;const a={min:{},max:{}};let i=e,s=t,l=0;r.frozenFields.forEach((e=>{i-=r.all[e].computedWidth,s-=r.all[e].flex}));for(let e=0;et.maxWidth&&(l+=t.maxWidth-o,o=t.maxWidth,a.max[t.field]=!0),r.all[t.field]={frozen:!1,computedWidth:o,flex:t.flex}}l<0?Object.keys(a.max).forEach((e=>{r.freeze(e)})):l>0?Object.keys(a.min).forEach((e=>{r.freeze(e)})):n.forEach((({field:e})=>{r.freeze(e)})),o()}(),r.all}({initialFreeSpace:i,totalFlexUnits:r,flexColumns:a});Object.keys(e).forEach((t=>{n[t].computedWidth=e[t].computedWidth}))}return Id({},e,{lookup:n})},yX=({apiRef:e,columnsToUpsert:t,initialState:n,columnTypes:r,currentColumnVisibilityModel:o=SW(e),shouldRegenColumnVisibilityModelFromColumns:a,keepOnlyColumnsToUpsert:i=!1})=>{var s,l,u,c;const d=!e.current.state.columns;let p;if(d)p={all:[],lookup:{}};else{const t=bW(e.current.state);p={all:i?[]:[...t.all],lookup:Id({},t.lookup)}}let f={};i&&!d&&(f=Object.keys(p.lookup).reduce(((e,t)=>Id({},e,{[t]:!1})),{}));const m={};t.forEach((e=>{const{field:t}=e;m[t]=!0,f[t]=!0;let n=p.lookup[t];null==n?(n=Id({},((e,t)=>t&&e[t]?e[t]:e[hX])(r,e.type),{field:t,hasBeenResized:!1}),p.all.push(t)):i&&p.all.push(t);let o=n.hasBeenResized;gX.forEach((t=>{void 0!==e[t]&&(o=!0,-1===e[t]&&(e[t]=1/0))})),p.lookup[t]=Id({},n,{hide:null!=e.hide&&e.hide},e,{hasBeenResized:o})})),i&&!d&&Object.keys(p.lookup).forEach((e=>{f[e]||delete p.lookup[e]}));const h=Id({},p.lookup),g=e.current.unstable_applyPipeProcessors("hydrateColumns",p);let b={};if(a){let t=!1;const n=Id({},o);d?g.all.forEach((e=>{n[e]=!p.lookup[e].hide})):i&&Object.keys(n).forEach((e=>{g.lookup[e]||(delete n[e],t=!0)})),g.all.forEach((r=>{if(!m[r]&&h[r]===g.lookup[r])return;let a=o[r];if(void 0===a)if(d)a=!0;else{a=!!bW(e.current.state).lookup[r]}const i=!g.lookup[r].hide;i!==a&&(t=!0,n[r]=i)})),b=t||d?n:o}else b=o;const v=((e,t)=>{if(!t)return e;const{orderedFields:n=[],dimensions:r={}}=t,o=Object.keys(r);if(0===o.length&&0===n.length)return e;const a={},i=[];for(let u=0;u!a[e]))],l=Id({},e.lookup);for(let u=0;u{t[e]=-1===n?1/0:n})),l[e]=t}return{all:s,lookup:l}})(g,n),y=Id({},v,{columnVisibilityModel:b});return vX(y,null!=(s=null==(l=(u=e.current).getRootDimensions)||null==(c=l.call(u))?void 0:c.viewportInnerSize.width)?s:0)},wX=e=>t=>Id({},t,{columns:e});function SX({firstColumnToRender:e,apiRef:t,firstRowToRender:n,lastRowToRender:r,visibleRows:o}){let a=e;for(let i=n;i{const{column:t,onClick:n}=e,r=jG(),o=$G(),a=U.useRef(),i=1===xW(r).filter((e=>!0!==e.disableColumnMenu)).length,s=U.useCallback((e=>{i||(n(e),a.current=setTimeout((()=>{r.current.setColumnVisibility(null==t?void 0:t.field,!1)}),100))}),[r,null==t?void 0:t.field,n,i]);return U.useEffect((()=>()=>clearTimeout(a.current)),[]),o.disableColumnSelector||!1===t.hideable?null:ee.jsx(xA,{onClick:s,disabled:i,children:r.current.getLocaleText("columnMenuHideColumn")})};function CX(e){var t;const{column:n,onClick:r}=e,o=jG(),a=XG(o,hW),i=$G(),s=null!=(t=n.sortingOrder)?t:i.sortingOrder,l=U.useMemo((()=>{if(!n)return null;const e=a.find((e=>e.field===n.field));return null==e?void 0:e.sort}),[n,a]),u=U.useCallback((e=>{r(e);const t=e.currentTarget.getAttribute("data-value")||null;o.current.sortColumn(n,t)}),[o,n,r]);return n&&n.sortable?ee.jsxs(U.Fragment,{children:[s.includes(null)?ee.jsx(xA,{onClick:u,disabled:null==l,children:o.current.getLocaleText("columnMenuUnsort")}):null,s.includes("asc")?ee.jsx(xA,{onClick:u,"data-value":"asc",disabled:"asc"===l,children:o.current.getLocaleText("columnMenuSortAsc")}):null,s.includes("desc")?ee.jsx(xA,{onClick:u,"data-value":"desc",disabled:"desc"===l,children:o.current.getLocaleText("columnMenuSortDesc")}):null]}):null}const kX=U.forwardRef((function(e,t){const{hideMenu:n,currentColumn:r}=e,o=jG(),a=[ee.jsx(CX,{onClick:n,column:r}),ee.jsx(EY,{onClick:n,column:r}),ee.jsx(EX,{onClick:n,column:r}),ee.jsx(xY,{onClick:n,column:r})],i=o.current.unstable_applyPipeProcessors("columnMenu",a,r);return ee.jsx(kY,Id({ref:t},e,{children:i.map(((e,t)=>U.cloneElement(e,{key:t,onClick:n,column:r})))}))})),RX=["className"],TX=e=>{const{classes:t}=e;return eb({root:["panelContent"]},BG,t)},IX=Wv("div",{name:"MuiDataGrid",slot:"PanelContent",overridesResolver:(e,t)=>t.panelContent})({display:"flex",flexDirection:"column",overflow:"auto",flex:"1 1",maxHeight:400});function _X(e){const{className:t}=e,n=_d(e,RX),r=$G(),o=TX(r);return ee.jsx(IX,Id({className:rq(t,o.root),ownerState:r},n))}const AX=["className"],OX=e=>{const{classes:t}=e;return eb({root:["panelFooter"]},BG,t)},NX=Wv("div",{name:"MuiDataGrid",slot:"PanelFooter",overridesResolver:(e,t)=>t.panelFooter})((({theme:e})=>({padding:e.spacing(.5),display:"flex",justifyContent:"space-between"})));function PX(e){const{className:t}=e,n=_d(e,AX),r=$G(),o=OX(r);return ee.jsx(NX,Id({className:rq(t,o.root),ownerState:r},n))}const LX=["className"],MX=e=>{const{classes:t}=e;return eb({root:["panelHeader"]},BG,t)},DX=Wv("div",{name:"MuiDataGrid",slot:"PanelHeader",overridesResolver:(e,t)=>t.panelHeader})((({theme:e})=>({padding:e.spacing(1)})));function jX(e){const{className:t}=e,n=_d(e,LX),r=$G(),o=MX(r);return ee.jsx(DX,Id({className:rq(t,o.root),ownerState:r},n))}const FX=["className","slotProps"],$X=Wv("div",{name:"MuiDataGrid",slot:"PanelWrapper",overridesResolver:(e,t)=>t.panelWrapper})({display:"flex",flexDirection:"column",flex:1,"&:focus":{outline:0}}),BX=()=>!0,zX=U.forwardRef((function(e,t){const{className:n,slotProps:r={}}=e,o=_d(e,FX),a=$G(),i=(e=>{const{classes:t}=e;return eb({root:["panelWrapper"]},BG,t)})(a);return ee.jsx(IS,Id({open:!0,disableEnforceFocus:!0,isEnabled:BX},r.TrapFocus,{children:ee.jsx($X,Id({ref:t,tabIndex:-1,className:rq(n,i.root),ownerState:a},o))}))})),UX=["sort","searchPredicate","autoFocusSearchField"],HX=Wv("div",{name:"MuiDataGrid",slot:"ColumnsPanel",overridesResolver:(e,t)=>t.columnsPanel})({padding:"8px 0px 8px 8px"}),VX=Wv("div",{name:"MuiDataGrid",slot:"ColumnsPanelRow",overridesResolver:(e,t)=>t.columnsPanelRow})((({theme:e})=>({display:"flex",justifyContent:"space-between",padding:"1px 8px 1px 7px",[`& .${eP.root}`]:{marginRight:e.spacing(.5)}}))),GX=(Wv(Uw)({justifyContent:"flex-end"}),new Intl.Collator),WX=(e,t)=>(e.headerName||e.field).toLowerCase().indexOf(t)>-1;const qX=["children","className","classes"],KX=kh("MuiDataGrid",["panel","paper"]),YX=Wv(AE,{name:"MuiDataGrid",slot:"Panel",overridesResolver:(e,t)=>t.panel})((({theme:e})=>({zIndex:e.zIndex.modal}))),XX=Wv(Ly,{name:"MuiDataGrid",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>({backgroundColor:e.palette.background.paper,minWidth:300,maxHeight:450,display:"flex"}))),ZX=U.forwardRef(((e,t)=>{var n;const{children:r,className:o}=e,a=_d(e,qX),i=jG(),s=$G(),l=KX,[u,c]=U.useState(!1),d=U.useCallback((()=>{i.current.hidePreferences()}),[i]),p=U.useCallback((e=>{uK(e.key)&&i.current.hidePreferences()}),[i]),f=U.useMemo((()=>[{name:"flip",enabled:!1},{name:"isPlaced",enabled:!0,phase:"main",fn:()=>{c(!0)},effect:()=>()=>{c(!1)}}]),[]),m=null==(n=i.current.columnHeadersContainerElementRef)?void 0:n.current;return m?ee.jsx(YX,Id({ref:t,placement:"bottom-start",className:rq(o,l.panel),ownerState:s,anchorEl:m,modifiers:f},a,{children:ee.jsx(CS,{mouseEvent:"onMouseUp",onClickAway:d,children:ee.jsx(XX,{className:l.paper,ownerState:s,elevation:8,onKeyDown:p,children:u&&r})})})):null})),QX=U.forwardRef((function(e,t){var n,r,o;const a=jG(),i=XG(a,wW),s=$G(),l=XG(a,aY),u=a.current.unstable_applyPipeProcessors("preferencePanel",null,null!=(n=l.openedPanelValue)?n:iY.filters);return ee.jsx(s.components.Panel,Id({ref:t,as:s.components.BasePopper,open:i.length>0&&l.open},null==(r=s.componentsProps)?void 0:r.panel,e,null==(o=s.componentsProps)?void 0:o.basePopper,{children:u}))})),JX=["item","hasMultipleFilters","deleteFilter","applyFilterChanges","multiFilterOperator","showMultiFilterOperators","disableMultiFilterOperator","applyMultiFilterOperatorChanges","focusElementRef","linkOperators","columnsSort","deleteIconProps","linkOperatorInputProps","operatorInputProps","columnInputProps","valueInputProps","children"],eZ=["InputComponentProps"],tZ=Wv("div",{name:"MuiDataGrid",slot:"FilterForm",overridesResolver:(e,t)=>t.filterForm})((({theme:e})=>({display:"flex",padding:e.spacing(1)}))),nZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormDeleteIcon",overridesResolver:(e,t)=>t.filterFormDeleteIcon})((({theme:e})=>({flexShrink:0,justifyContent:"flex-end",marginRight:e.spacing(.5),marginBottom:e.spacing(.2)}))),rZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormLinkOperatorInput",overridesResolver:(e,t)=>t.filterFormLinkOperatorInput})({minWidth:55,marginRight:5,justifyContent:"end"}),oZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormColumnInput",overridesResolver:(e,t)=>t.filterFormColumnInput})({width:150}),aZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormOperatorInput",overridesResolver:(e,t)=>t.filterFormOperatorInput})({width:120}),iZ=Wv(MT,{name:"MuiDataGrid",slot:"FilterFormValueInput",overridesResolver:(e,t)=>t.filterFormValueInput})({width:190}),sZ=e=>{switch(e){case uq.And:return"filterPanelOperatorAnd";case uq.Or:return"filterPanelOperatorOr";default:throw new Error("MUI: Invalid `linkOperator` property in the `GridFilterPanel`.")}},lZ=e=>e.headerName||e.field,uZ=new Intl.Collator,cZ=U.forwardRef((function(e,t){var n,r,o,a,i,s,l;const{item:u,hasMultipleFilters:c,deleteFilter:d,applyFilterChanges:p,multiFilterOperator:f,showMultiFilterOperators:m,disableMultiFilterOperator:h,applyMultiFilterOperatorChanges:g,focusElementRef:b,linkOperators:v=[uq.And,uq.Or],columnsSort:y,deleteIconProps:w={},linkOperatorInputProps:S={},operatorInputProps:x={},columnInputProps:E={},valueInputProps:C={}}=e,k=_d(e,JX),R=jG(),T=XG(R,kW),I=Og(),_=Og(),A=Og(),O=Og(),N=$G(),P=(e=>{const{classes:t}=e;return eb({root:["filterForm"],deleteIcon:["filterFormDeleteIcon"],linkOperatorInput:["filterFormLinkOperatorInput"],columnInput:["filterFormColumnInput"],operatorInput:["filterFormOperatorInput"],valueInput:["filterFormValueInput"]},BG,t)})(N),L=U.useRef(null),M=U.useRef(null),D=c&&v.length>0,j=(null==(n=N.componentsProps)?void 0:n.baseFormControl)||{},F=null==(o=((null==(r=N.componentsProps)?void 0:r.baseSelect)||{}).native)||o,$=F?"option":xA,{InputComponentProps:B}=C,z=_d(C,eZ),H=U.useMemo((()=>{switch(y){case"asc":return T.sort(((e,t)=>uZ.compare(lZ(e),lZ(t))));case"desc":return T.sort(((e,t)=>-uZ.compare(lZ(e),lZ(t))));default:return T}}),[T,y]),V=u.columnField?R.current.getColumn(u.columnField):null,G=U.useMemo((()=>{var e;return u.operatorValue&&V?null==(e=V.filterOperators)?void 0:e.find((e=>e.value===u.operatorValue)):null}),[u,V]),W=U.useCallback((e=>{const t=e.target.value,n=R.current.getColumn(t);if(n.field===V.field)return;const r=n.filterOperators.find((e=>e.value===u.operatorValue))||n.filterOperators[0],o=!r.InputComponent||r.InputComponent!==(null==G?void 0:G.InputComponent);p(Id({},u,{columnField:t,operatorValue:r.value,value:o?void 0:u.value}))}),[R,p,u,V,G]),q=U.useCallback((e=>{const t=e.target.value,n=null==V?void 0:V.filterOperators.find((e=>e.value===t)),r=!(null!=n&&n.InputComponent)||(null==n?void 0:n.InputComponent)!==(null==G?void 0:G.InputComponent);p(Id({},u,{operatorValue:t,value:r?void 0:u.value}))}),[p,u,V,G]),K=U.useCallback((e=>{const t=e.target.value===uq.And.toString()?uq.And:uq.Or;g(t)}),[g]);return U.useImperativeHandle(b,(()=>({focus:()=>{var e;null!=G&&G.InputComponent?null==L||null==(e=L.current)||e.focus():M.current.focus()}})),[G]),ee.jsxs(tZ,Id({ref:t,className:P.root,ownerState:N},k,{children:[ee.jsx(nZ,Id({variant:"standard",as:N.components.BaseFormControl},j,w,{className:rq(P.deleteIcon,j.className,w.className),ownerState:N,children:ee.jsx(Uw,{"aria-label":R.current.getLocaleText("filterPanelDeleteIconLabel"),title:R.current.getLocaleText("filterPanelDeleteIconLabel"),onClick:()=>{N.disableMultipleColumnsFiltering?void 0===u.value?d(u):p(Id({},u,{value:void 0})):d(u)},size:"small",children:ee.jsx(N.components.FilterPanelDeleteIcon,{fontSize:"small"})})})),ee.jsx(rZ,Id({variant:"standard",as:N.components.BaseFormControl},j,S,{sx:Id({display:D?"flex":"none",visibility:m?"visible":"hidden"},j.sx||{},S.sx||{}),className:rq(P.linkOperatorInput,j.className,S.className),ownerState:N,children:ee.jsx(N.components.BaseSelect,Id({inputProps:{"aria-label":R.current.getLocaleText("filterPanelLinkOperator")},value:f,onChange:K,disabled:!!h||1===v.length,native:F},null==(a=N.componentsProps)?void 0:a.baseSelect,{children:v.map((e=>ee.jsx($,{value:e.toString(),children:R.current.getLocaleText(sZ(e))},e.toString())))}))})),ee.jsxs(oZ,Id({variant:"standard",as:N.components.BaseFormControl},j,E,{className:rq(P.columnInput,j.className,E.className),ownerState:N,children:[ee.jsx(MI,{htmlFor:I,id:_,children:R.current.getLocaleText("filterPanelColumns")}),ee.jsx(N.components.BaseSelect,Id({labelId:_,id:I,label:R.current.getLocaleText("filterPanelColumns"),value:u.columnField||"",onChange:W,native:F},null==(i=N.componentsProps)?void 0:i.baseSelect,{children:H.map((e=>ee.jsx($,{value:e.field,children:lZ(e)},e.field)))}))]})),ee.jsxs(aZ,Id({variant:"standard",as:N.components.BaseFormControl},j,x,{className:rq(P.operatorInput,j.className,x.className),ownerState:N,children:[ee.jsx(MI,{htmlFor:A,id:O,children:R.current.getLocaleText("filterPanelOperators")}),ee.jsx(N.components.BaseSelect,Id({labelId:O,label:R.current.getLocaleText("filterPanelOperators"),id:A,value:u.operatorValue,onChange:q,native:F,inputRef:M},null==(s=N.componentsProps)?void 0:s.baseSelect,{children:null==V||null==(l=V.filterOperators)?void 0:l.map((e=>ee.jsx($,{value:e.value,children:e.label||R.current.getLocaleText(`filterOperator${cm(e.value)}`)},e.value)))}))]})),ee.jsx(iZ,Id({variant:"standard",as:N.components.BaseFormControl},j,z,{className:rq(P.valueInput,j.className,z.className),ownerState:N,children:null!=G&&G.InputComponent?ee.jsx(G.InputComponent,Id({apiRef:R,item:u,applyValue:p,focusElementRef:L},G.InputComponentProps,B)):null}))]}))})),dZ=["linkOperators","columnsSort","filterFormProps","children"],pZ=U.forwardRef((function(e,t){var n;const r=jG(),o=$G(),a=XG(r,_W),i=XG(r,kW),s=U.useRef(null),{linkOperators:l=[uq.And,uq.Or],columnsSort:u,filterFormProps:c}=e,d=_d(e,dZ),p=U.useCallback((e=>{r.current.upsertFilterItem(e)}),[r]),f=U.useCallback((e=>{r.current.setFilterLinkOperator(e)}),[r]),m=U.useCallback((()=>{const e=i.find((e=>{var t;return null==(t=e.filterOperators)?void 0:t.length}));return e?{columnField:e.field,operatorValue:e.filterOperators[0].value,id:Math.round(1e5*Math.random())}:null}),[i]),h=U.useMemo((()=>{if(a.items.length)return a.items;const e=m();return e?[e]:[]}),[a.items,m]),g=h.length>1,b=U.useCallback((e=>{const t=1===h.length;r.current.deleteFilterItem(e),t&&r.current.hideFilterPanel()}),[r,h.length]);return U.useEffect((()=>{l.length>0&&a.linkOperator&&!l.includes(a.linkOperator)&&f(l[0])}),[l,f,a.linkOperator]),U.useEffect((()=>{h.length>0&&s.current.focus()}),[h.length]),ee.jsxs(zX,Id({ref:t},d,{children:[ee.jsx(_X,{children:h.map(((e,t)=>ee.jsx(cZ,Id({item:e,applyFilterChanges:p,deleteFilter:b,hasMultipleFilters:g,showMultiFilterOperators:t>0,multiFilterOperator:a.linkOperator,disableMultiFilterOperator:1!==t,applyMultiFilterOperatorChanges:f,focusElementRef:t===h.length-1?s:null,linkOperators:l,columnsSort:u},c),null==e.id?t:e.id)))}),!o.disableMultipleColumnsFiltering&&ee.jsx(PX,{children:ee.jsx(o.components.BaseButton,Id({onClick:()=>{const e=m();e&&r.current.upsertFilterItems([...h,e])},startIcon:ee.jsx(qq,{})},null==(n=o.componentsProps)?void 0:n.baseButton,{children:r.current.getLocaleText("filterPanelAddFilter")}))})]}))})),fZ=["hideMenu","options"],mZ=["hideMenu","options"],hZ=e=>{const t=jG(),{hideMenu:n,options:r}=e,o=_d(e,fZ);return ee.jsx(xA,Id({onClick:()=>{t.current.exportDataAsCsv(r),null==n||n()}},o,{children:t.current.getLocaleText("toolbarExportCSV")}))},gZ=e=>{const t=jG(),{hideMenu:n,options:r}=e,o=_d(e,mZ);return ee.jsx(xA,Id({onClick:()=>{t.current.exportDataAsPrint(r),null==n||n()}},o,{children:t.current.getLocaleText("toolbarExportPrint")}))},bZ=()=>({items:[],linkOperator:uq.And,quickFilterValues:[],quickFilterLogicOperator:uq.And}),vZ=["className","rowCount","visibleRowCount"],yZ=Wv("div",{name:"MuiDataGrid",slot:"RowCount",overridesResolver:(e,t)=>t.rowCount})((({theme:e})=>({alignItems:"center",display:"flex",margin:e.spacing(0,2)}))),wZ=U.forwardRef((function(e,t){const{className:n,rowCount:r,visibleRowCount:o}=e,a=_d(e,vZ),i=jG(),s=$G(),l=(e=>{const{classes:t}=e;return eb({root:["rowCount"]},BG,t)})(s);if(0===r)return null;const u=ot.selectedRowCount})((({theme:e})=>({alignItems:"center",display:"flex",margin:e.spacing(0,2),visibility:"hidden",width:0,height:0,[e.breakpoints.up("sm")]:{visibility:"visible",width:"auto",height:"auto"}}))),EZ=U.forwardRef((function(e,t){const{className:n,selectedRowCount:r}=e,o=_d(e,SZ),a=jG(),i=$G(),s=(e=>{const{classes:t}=e;return eb({root:["selectedRowCount"]},BG,t)})(i),l=a.current.getLocaleText("footerRowSelected")(r);return ee.jsx(xZ,Id({ref:t,className:rq(s.root,n),ownerState:i},o,{children:l}))})),CZ=U.forwardRef((function(e,t){var n;const r=jG(),o=$G(),a=XG(r,nW),i=XG(r,dY),s=XG(r,FW),l=!o.hideFooterSelectedRowCount&&i>0?ee.jsx(EZ,{selectedRowCount:i}):ee.jsx("div",{}),u=o.hideFooterRowCount||o.pagination?null:ee.jsx(wZ,{rowCount:a,visibleRowCount:s}),c=o.pagination&&!o.hideFooterPagination&&o.components.Pagination&&ee.jsx(o.components.Pagination,Id({},null==(n=o.componentsProps)?void 0:n.pagination));return ee.jsxs(LK,Id({ref:t},e,{children:[l,u,c]}))})),kZ=U.forwardRef((function(e,t){var n,r;const o=$G();return ee.jsxs("div",Id({ref:t},e,{children:[ee.jsx(o.components.PreferencesPanel,Id({},null==(n=o.componentsProps)?void 0:n.preferencesPanel)),o.components.Toolbar&&ee.jsx(o.components.Toolbar,Id({},null==(r=o.componentsProps)?void 0:r.toolbar))]}))})),RZ=U.forwardRef((function(e,t){return ee.jsx(jK,Id({ref:t},e,{children:ee.jsx(hR,{})}))})),TZ=U.forwardRef((function(e,t){const n=jG().current.getLocaleText("noRowsLabel");return ee.jsx(jK,Id({ref:t},e,{children:n}))})),IZ=Wv(VP)((({theme:e})=>({[`& .${NP.selectLabel}`]:{display:"none",[e.breakpoints.up("sm")]:{display:"block"}},[`& .${NP.input}`]:{display:"none",[e.breakpoints.up("sm")]:{display:"inline-flex"}}}))),_Z=U.forwardRef((function(e,t){var n;const r=jG(),o=$G(),a=XG(r,mY),i=U.useMemo((()=>Math.floor(a.rowCount/(a.pageSize||1))),[a.rowCount,a.pageSize]),s=U.useCallback((e=>{const t=Number(e.target.value);r.current.setPageSize(t)}),[r]),l=U.useCallback(((e,t)=>{r.current.setPage(t)}),[r]);return ee.jsx(IZ,Id({ref:t,component:"div",count:a.rowCount,page:a.page<=i?a.page:i,rowsPerPageOptions:null!=(n=o.rowsPerPageOptions)&&n.includes(a.pageSize)?o.rowsPerPageOptions:[],rowsPerPage:a.pageSize,onPageChange:l,onRowsPerPageChange:s},r.current.getLocaleText("MuiTablePagination"),e))})),AZ=(e,t)=>{let n,r;return t.pagination&&"client"===t.paginationMode?(r=bY(e),n=vY(e)):(n=NW(e),r=0===n.length?null:{firstRowIndex:0,lastRowIndex:n.length-1}),{rows:n,range:r}},OZ=(e,t)=>{const n=AZ(e,t);return U.useMemo((()=>({rows:n.rows,range:n.range})),[n.rows,n.range])},NZ="__detail_panel_toggle__",PZ=["selected","rowId","row","index","style","position","rowHeight","className","visibleColumns","renderedColumns","containerWidth","firstColumnToRender","lastColumnToRender","cellFocus","cellTabIndex","editRowsState","isLastVisible","onClick","onDoubleClick","onMouseEnter","onMouseLeave"],LZ=["changeReason"],MZ=({width:e})=>{if(!e)return null;const t={width:e};return ee.jsx("div",{className:"MuiDataGrid-cell",style:t})},DZ=U.forwardRef((function(e,t){var n;const{selected:r,rowId:o,row:a,index:i,style:s,position:l,rowHeight:u,className:c,visibleColumns:d,renderedColumns:p,containerWidth:f,firstColumnToRender:m,cellFocus:h,cellTabIndex:g,editRowsState:b,isLastVisible:v=!1,onClick:y,onDoubleClick:w,onMouseEnter:S,onMouseLeave:x}=e,E=_d(e,PZ),C=jG(),k=U.useRef(null),R=$G(),T=OZ(C,R),I=XG(C,CW),_=XG(C,hW),A=XG(C,sW),O=XG(C,GW),N=Lg(k,t),P=i+O+2,{hasScrollX:L,hasScrollY:M}=null!=(n=C.current.getRootDimensions())?n:{hasScrollX:!1,hasScrollY:!1},D=(e=>{const{editable:t,editing:n,selected:r,isLastVisible:o,rowHeight:a,classes:i}=e;return eb({root:["row",r&&"selected",t&&"row--editable",n&&"row--editing",o&&"row--lastVisible","auto"===a&&"row--dynamicHeight"]},BG,i)})({selected:r,isLastVisible:v,classes:R.classes,editing:C.current.getRowMode(o)===iq.Edit,editable:R.editMode===oq.Row,rowHeight:u});U.useLayoutEffect((()=>{"auto"===u&&k.current&&"undefined"==typeof ResizeObserver&&C.current.unstable_storeRowHeightMeasurement(o,k.current.clientHeight,l)}),[C,u,o,l]),U.useLayoutEffect((()=>{if(T.range){const e=C.current.getRowIndexRelativeToVisibleRows(o);null!=e&&C.current.unstable_setLastMeasuredRowIndex(e)}const e=k.current;if(!e||"auto"!==u||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver((e=>{const[t]=e,n=t.borderBoxSize&&t.borderBoxSize.length>0?t.borderBoxSize[0].blockSize:t.contentRect.height;C.current.unstable_storeRowHeightMeasurement(o,n,l)}));return t.observe(e),()=>t.disconnect()}),[C,T.range,i,u,o,l]);const j=U.useCallback(((e,t)=>n=>{(1!==n.target.nodeType||n.currentTarget.contains(n.target))&&C.current.getRow(o)&&(C.current.publishEvent(e,C.current.getRowParams(o),n),t&&t(n))}),[C,o]),F=U.useCallback((e=>{const t=function(e,t){return e.closest(`.${t}`)}(e.target,zG.cell),n=null==t?void 0:t.getAttribute("data-field");if(n){if(n===YY.field)return;if(n===NZ)return;if("__reorder__"===n)return;if(C.current.getCellMode(o,n)===aq.Edit)return;if(C.current.getColumn(n).type===HY)return}j("rowClick",y)(e)}),[C,y,j,o]),$=U.useCallback(((e,t)=>{var n;const r=C.current.getCellParams(o,e.field),i=[],s=R.disableColumnReorder&&e.disableReorder||!R.rowReordering&&!!_.length&&A>1&&Object.keys(b).length>0;e.cellClassName&&i.push(rq("function"==typeof e.cellClassName?e.cellClassName(r):e.cellClassName));const l=b[o]?b[o][e.field]:null;let c=null;var d;null==l&&e.renderCell&&(c=e.renderCell(Id({},r,{api:C.current})),i.push(rq(zG["cell--withRenderer"],null==(d=R.classes)?void 0:d["cell--withRenderer"])));if(null!=l&&e.renderEditCell){var p;let t=a;C.current.unstable_getRowWithUpdatedValues&&(t=C.current.unstable_getRowWithUpdatedValues(o,e.field));const n=Id({},r,{row:t},_d(l,LZ),{api:C.current});c=e.renderEditCell(n),i.push(rq(zG["cell--editing"],null==(p=R.classes)?void 0:p["cell--editing"]))}R.getCellClassName&&i.push(R.getCellClassName(r));const f=null!==h&&h.id===o&&h.field===e.field,m=null!==g&&g.id===o&&g.field===e.field&&"view"===r.cellMode?0:-1;return ee.jsx(R.components.Cell,Id({value:r.value,field:e.field,width:t.width,rowId:o,height:u,showRightBorder:t.showRightBorder,formattedValue:r.formattedValue,align:e.align||"left",cellMode:r.cellMode,colIndex:t.indexRelativeToAllColumns,isEditable:r.isEditable,hasFocus:f,tabIndex:m,className:rq(i),colSpan:t.colSpan,disableDragEvents:s},null==(n=R.componentsProps)?void 0:n.cell,{children:c}),e.field)}),[C,g,b,h,R,a,u,o,A,_.length]),B=C.current.unstable_getRowInternalSizes(o);let z=u;if("auto"===z&&B){let e=0;const t=Object.entries(B).reduce(((t,[n,r])=>/^base[A-Z]/.test(n)?(e+=1,r>t?r:t):t),0);t>0&&e>1&&(z=t)}const H=Id({},s,{maxHeight:"auto"===u?"none":u,minHeight:z});if(null!=B&&B.spacingTop){H["border"===R.rowSpacingType?"borderTopWidth":"marginTop"]=B.spacingTop}if(null!=B&&B.spacingBottom){const e="border"===R.rowSpacingType?"borderBottomWidth":"marginBottom";let t=H[e];"number"!=typeof t&&(t=parseInt(t||"0",10)),t+=B.spacingBottom,H[e]=t}const V=C.current.unstable_applyPipeProcessors("rowClassName",[],o);if("function"==typeof R.getRowClassName){var G;const e=i-((null==(G=T.range)?void 0:G.firstRowIndex)||0),t=Id({},C.current.getRowParams(o),{isFirstVisible:0===e,isLastVisible:e===T.rows.length-1,indexRelativeToCurrentPage:e});V.push(R.getRowClassName(t))}const W=FY(1e4,20,80),q=[];for(let U=0;U0&&ee.jsx(MZ,{width:K})]}))}));let jZ=class{constructor(e=1e3){this.timeouts=new Map,this.cleanupTimeout=1e3,this.cleanupTimeout=e}register(e,t,n){this.timeouts||(this.timeouts=new Map);const r=setTimeout((()=>{"function"==typeof t&&t(),this.timeouts.delete(n.cleanupToken)}),this.cleanupTimeout);this.timeouts.set(n.cleanupToken,r)}unregister(e){const t=this.timeouts.get(e.cleanupToken);t&&(this.timeouts.delete(e.cleanupToken),clearTimeout(t))}reset(){this.timeouts&&(this.timeouts.forEach(((e,t)=>{this.unregister({cleanupToken:t})})),this.timeouts=void 0)}},FZ=class{constructor(){this.registry=new FinalizationRegistry((e=>{"function"==typeof e&&e()}))}register(e,t,n){this.registry.register(e,t,n)}unregister(e){this.registry.unregister(e)}reset(){}};var $Z;!function(e){e.DataGrid="DataGrid",e.DataGridPro="DataGridPro"}($Z||($Z={}));let BZ=class{};const zZ=function(e){let t=0;return function(n,r,o,a){null===e.registry&&(e.registry="undefined"!=typeof FinalizationRegistry?new FZ:new jZ);const[i]=U.useState(new BZ),s=U.useRef(null),l=U.useRef();l.current=o;const u=U.useRef(null);if(!s.current&&l.current){const o=(e,t,n)=>{var r;t.defaultMuiPrevented||(null==(r=l.current)||r.call(l,e,t,n))};s.current=n.current.subscribeEvent(r,o,a),t+=1,u.current={cleanupToken:t},e.registry.register(i,(()=>{var e;null==(e=s.current)||e.call(s),s.current=null,u.current=null}),u.current)}else!l.current&&s.current&&(s.current(),s.current=null,u.current&&(e.registry.unregister(u.current),u.current=null));U.useEffect((()=>{if(!s.current&&l.current){const e=(e,t,n)=>{var r;t.defaultMuiPrevented||(null==(r=l.current)||r.call(l,e,t,n))};s.current=n.current.subscribeEvent(r,e,a)}return u.current&&e.registry&&(e.registry.unregister(u.current),u.current=null),()=>{var e;null==(e=s.current)||e.call(s),s.current=null}}),[n,r,a])}}({registry:null}),UZ={isFirst:!0};function HZ(e,t,n){zZ(e,t,n,UZ)}const VZ=Wv("div",{name:"MuiDataGrid",slot:"ScrollArea",overridesResolver:(e,t)=>[{[`&.${zG["scrollArea--left"]}`]:t["scrollArea--left"]},{[`&.${zG["scrollArea--right"]}`]:t["scrollArea--right"]},t.scrollArea]})((()=>({position:"absolute",top:0,zIndex:101,width:20,bottom:0,[`&.${zG["scrollArea--left"]}`]:{left:0},[`&.${zG["scrollArea--right"]}`]:{right:0}})));function GZ(e){const{scrollDirection:t}=e,n=U.useRef(null),r=jG(),o=U.useRef(),[a,i]=U.useState(!1),s=XG(r,VW),l=U.useRef({left:0,top:0}),u=Id({},$G(),{scrollDirection:t}),c=(e=>{const{scrollDirection:t,classes:n}=e;return eb({root:["scrollArea",`scrollArea--${t}`]},BG,n)})(u),d=U.useCallback((e=>{l.current=e}),[]),p=U.useCallback((e=>{let a;if("left"===t)a=e.clientX-n.current.getBoundingClientRect().right;else{if("right"!==t)throw new Error("MUI: Wrong drag direction");a=Math.max(1,e.clientX-n.current.getBoundingClientRect().left)}a=1.5*(a-1)+1,clearTimeout(o.current),o.current=setTimeout((()=>{r.current.scroll({left:l.current.left+a,top:l.current.top})}))}),[t,r]);U.useEffect((()=>()=>{clearTimeout(o.current)}),[]);const f=U.useCallback((()=>{i((e=>!e))}),[]);return zZ(r,"rowsScroll",d),zZ(r,"columnHeaderDragStart",f),zZ(r,"columnHeaderDragEnd",f),a?ee.jsx(VZ,{ref:n,className:rq(c.root),ownerState:u,onDragOver:p,style:{height:s}}):null}const WZ=U.memo(GZ),qZ=({apiRef:e,props:t,children:n})=>ee.jsx(FG.Provider,{value:t,children:ee.jsx(DG.Provider,{value:e,children:n})}),KZ=function(){try{const e="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}()&&null!=window.localStorage.getItem("DEBUG"),YZ=()=>{},XZ={debug:YZ,info:YZ,warn:YZ,error:YZ},ZZ=["debug","info","warn","error"];function QZ(e,t,n=console){const r=ZZ.indexOf(t);if(-1===r)throw new Error(`MUI: Log level ${t} not recognized.`);return ZZ.reduce(((t,o,a)=>(t[o]=a>=r?(...t)=>{const[r,...a]=t;n[o](`MUI: ${e} - ${r}`,...a)}:YZ,t)),{})}function JZ(e,t,n){const r=U.useRef(t),[o]=U.useState(Object.keys(t)),a=U.useCallback((()=>{e.current&&o.forEach((t=>{e.current.hasOwnProperty(t)||(e.current[t]=(...e)=>r.current[t](...e))}))}),[o,e]);U.useEffect((()=>{r.current=t}),[t]),U.useEffect((()=>{a()}),[a]),a()}let eQ=class{constructor(){this.maxListeners=10,this.warnOnce=!1,this.events={}}on(e,t,n={}){let r=this.events[e];r||(r={highPriority:new Map,regular:new Map},this.events[e]=r),n.isFirst?r.highPriority.set(t,!0):r.regular.set(t,!0)}removeListener(e,t){this.events[e]&&(this.events[e].regular.delete(t),this.events[e].highPriority.delete(t))}removeAllListeners(){this.events={}}emit(e,...t){const n=this.events[e];if(!n)return;const r=Array.from(n.highPriority.keys()),o=Array.from(n.regular.keys());for(let a=r.length-1;a>=0;a-=1){const e=r[a];n.highPriority.has(e)&&e.apply(this,t)}for(let a=0;an.current),[n]);const r=U.useCallback(((...e)=>{const[r,o,a={}]=e;if(a.defaultMuiPrevented=!1,(e=>void 0!==e.isPropagationStopped)(a)&&a.isPropagationStopped())return;const i=t.signature===$Z.DataGridPro?{api:n.current}:{};n.current.unstable_eventManager.emit(r,o,a,i)}),[n,t.signature]),o=U.useCallback(((e,t,r)=>{n.current.unstable_eventManager.on(e,t,r);const o=n.current;return()=>{o.unstable_eventManager.removeListener(e,t)}}),[n]),a=U.useCallback((e=>{n.current.publishEvent("componentError",e)}),[n]);return JZ(n,{subscribeEvent:o,publishEvent:r,showError:a}),U.useEffect((()=>{const e=n.current;return()=>{var t;void 0!==(t=e.instanceId)?ZG.cache&&ZG.cache[t]&&delete ZG.cache[t]:ZG.cache=null,e.publishEvent("unmount")}}),[n]),n}const rQ=e=>{const t=U.useRef(!0);t.current&&(t.current=!1,e())},oQ=(e,t,n)=>{const r=U.useRef(),o=U.useRef(`mui-${Math.round(1e9*Math.random())}`),a=U.useCallback((()=>{r.current=e.current.unstable_registerPipeProcessor(t,o.current,n)}),[e,n,t]);rQ((()=>{a()}));const i=U.useRef(!0);U.useEffect((()=>(i.current?i.current=!1:a(),()=>{r.current&&(r.current(),r.current=null)})),[a])},aQ=(e,t,n)=>{const r=U.useRef(),o=U.useRef(`mui-${Math.round(1e9*Math.random())}`),a=U.useCallback((()=>{r.current=e.current.unstable_registerPipeApplier(t,o.current,n)}),[e,n,t]);rQ((()=>{a()}));const i=U.useRef(!0);U.useEffect((()=>(i.current?i.current=!1:a(),()=>{r.current&&(r.current(),r.current=null)})),[a])},iQ=(e,t,n,r)=>{const o=U.useCallback((()=>{e.current.unstable_registerStrategyProcessor(t,n,r)}),[e,r,n,t]);rQ((()=>{o()}));const a=U.useRef(!0);U.useEffect((()=>{a.current?a.current=!1:o()}),[o])},sQ="none",lQ={rowTreeCreation:"rowTree",filtering:"rowTree",sorting:"rowTree"},uQ=["stateId"],cQ=(e,t)=>{const n=nQ(e,t);return((e,t)=>{e.current.getLogger=U.useCallback((e=>KZ?QZ(e,"debug",t.logger):t.logLevel?QZ(e,t.logLevel.toString(),t.logger):XZ),[t.logLevel,t.logger])})(n,t),function(e,t){const n=U.useCallback((t=>{e.current.setState((e=>Id({},e,{error:t})))}),[e]);U.useEffect((()=>{t.error?n({error:t.error}):n(null)}),[n,t.error]),zZ(e,"componentError",n)}(n,t),((e,t)=>{const n=U.useRef({}),[,r]=U.useState(),o=U.useCallback((e=>{const{stateId:t}=e,r=_d(e,uQ);n.current[t]=Id({},r,{stateId:t})}),[]),a=U.useCallback(((r,o)=>{let a;if(a=LY(r)?r(e.current.state):r,e.current.state===a)return!1;let i=!1;const s=[];if(Object.keys(n.current).forEach((t=>{const r=n.current[t],o=r.stateSelector(e.current.state,e.current.instanceId),l=r.stateSelector(a,e.current.instanceId);l!==o&&(s.push({stateId:r.stateId,hasPropChanged:l!==r.propModel}),void 0!==r.propModel&&l!==r.propModel&&(i=!0))})),s.length>1)throw new Error(`You're not allowed to update several sub-state in one transaction. You already updated ${s[0].stateId}, therefore, you're not allowed to update ${s.map((e=>e.stateId)).join(", ")} in the same transaction.`);if(i||(e.current.state=a,e.current.publishEvent&&e.current.publishEvent("stateChange",a)),1===s.length){const{stateId:r,hasPropChanged:l}=s[0],u=n.current[r],c=u.stateSelector(a,e.current.instanceId);if(u.propOnChange&&l){const n=t.signature===$Z.DataGridPro?{api:e.current,reason:o}:{reason:o};u.propOnChange(c,n)}i||e.current.publishEvent(u.changeEvent,c,{reason:o})}return!i}),[e,t.signature]),i=U.useCallback(((t,n,r)=>e.current.setState((e=>Id({},e,{[t]:n(e[t])})),r)),[e]),s=U.useCallback((()=>r((()=>e.current.state))),[e]);JZ(e,{setState:a,forceUpdate:s,unstable_updateControlState:i,unstable_registerControlState:o})})(n,t),(e=>{const t=U.useRef({}),n=U.useCallback((e=>{e&&Object.values(e.appliers).forEach((e=>{e()}))}),[]),r=U.useCallback(((e,r,o)=>{t.current[e]||(t.current[e]={processors:new Map,appliers:{}});const a=t.current[e];return a.processors.get(r)!==o&&(a.processors.set(r,o),n(a)),()=>{t.current[e].processors.set(r,null)}}),[n]),o=U.useCallback(((e,n,r)=>(t.current[e]||(t.current[e]={processors:new Map,appliers:{}}),t.current[e].appliers[n]=r,()=>{const r=_d(t.current[e].appliers,[n].map(fb));t.current[e].appliers=r})),[]);JZ(e,{unstable_registerPipeProcessor:r,unstable_registerPipeApplier:o,unstable_requestPipeProcessorsApplication:U.useCallback((e=>{const r=t.current[e];n(r)}),[n]),unstable_applyPipeProcessors:U.useCallback(((...e)=>{const[n,r,o]=e;return t.current[n]?Array.from(t.current[n].processors.values()).reduce(((e,t)=>t?t(e,o):e),r):r}),[])})})(n),(e=>{const t=U.useRef(new Map),n=U.useRef({}),r=U.useCallback(((t,r,o)=>{const a=()=>{const e=_d(n.current[r],[t].map(fb));n.current[r]=e};n.current[r]||(n.current[r]={});const i=n.current[r],s=i[t];return i[t]=o,s&&s!==o?(t===e.current.unstable_getActiveStrategy(lQ[r])&&e.current.publishEvent("activeStrategyProcessorChange",r),a):a}),[e]),o=U.useCallback(((t,r)=>{const o=e.current.unstable_getActiveStrategy(lQ[t]);if(null==o)throw new Error("Can't apply a strategy processor before defining an active strategy");const a=n.current[t];if(!a||!a[o])throw new Error(`No processor found for processor "${t}" on strategy "${o}"`);return(0,a[o])(r)}),[e]),a=U.useCallback((e=>{var n;const r=Array.from(t.current.entries()).find((([,t])=>t.group===e&&t.isAvailable()));return null!=(n=null==r?void 0:r[0])?n:sQ}),[]),i=U.useCallback(((n,r,o)=>{t.current.set(r,{group:n,isAvailable:o}),e.current.publishEvent("strategyAvailabilityChange")}),[e]);JZ(e,{unstable_registerStrategyProcessor:r,unstable_applyStrategyProcessor:o,unstable_getActiveStrategy:a,unstable_setStrategyAvailability:i})})(n),((e,t)=>{const n=U.useCallback((e=>{if(null==t.localeText[e])throw new Error(`Missing translation for key ${e}.`);return t.localeText[e]}),[t.localeText]);e.current.getLocaleText=n})(n,t),n},dQ=(e,t,n)=>{const r=U.useRef(!1);r.current||(t.current.state=e(t.current.state,n,t),r.current=!0)};function pQ(e){const t=document.createElement("span");t.style.whiteSpace="pre",t.style.userSelect="all",t.style.opacity="0px",t.textContent=e,document.body.appendChild(t);const n=document.createRange();n.selectNode(t);const r=window.getSelection();r.removeAllRanges(),r.addRange(n);try{document.execCommand("copy")}finally{document.body.removeChild(t)}}const fQ=e=>{const t=U.useCallback(((t=!1)=>{if(0===e.current.getSelectedRows().size)return;const n=e.current.getDataAsCsv({includeHeaders:t,delimiter:"\t"});navigator.clipboard?navigator.clipboard.writeText(n).catch((()=>{pQ(n)})):pQ(n)}),[e]),n=U.useCallback((t=>{const n=t.ctrlKey||t.metaKey||t.altKey;var r,o;"C"===String.fromCharCode(t.keyCode)&&n&&(r=t.target,""!==(null==(o=window.getSelection())?void 0:o.toString())||r&&(r.selectionEnd||0)-(r.selectionStart||0)>0||e.current.unstable_copySelectedRowsToClipboard(t.altKey))}),[e]);((e,t,n,r,o)=>{const a=ZW(e,"useNativeEventListener"),[i,s]=U.useState(!1),l=U.useRef(r),u=U.useCallback((e=>l.current&&l.current(e)),[]);U.useEffect((()=>{l.current=r}),[r]),U.useEffect((()=>{let r;if(r=LY(t)?t():t&&t.current?t.current:null,r&&n&&!i){a.debug(`Binding native ${n} event`),r.addEventListener(n,u,o);const t=r;s(!0);const i=()=>{a.debug(`Clearing native ${n} event`),t.removeEventListener(n,u,o)};e.current.subscribeEvent("unmount",i)}}),[t,u,n,i,a,o,e])})(e,e.current.rootElementRef,"keydown",n);JZ(e,{unstable_copySelectedRowsToClipboard:t})},mQ=e=>e.columnMenu,hQ=e=>Id({},e,{columnMenu:{open:!1}}),gQ=(e,t,n)=>{var r,o,a,i,s,l,u;const c=!!t.columnVisibilityModel||!(null==(r=t.initialState)||null==(o=r.columns)||!o.columnVisibilityModel);n.current.unstable_caches.columns={isUsingColumnVisibilityModel:c};const d=bX(t.columnTypes);return Id({},e,{columns:yX({apiRef:n,columnTypes:d,columnsToUpsert:t.columns,initialState:null==(a=t.initialState)?void 0:a.columns,shouldRegenColumnVisibilityModelFromColumns:!c,currentColumnVisibilityModel:null!=(i=null!=(s=t.columnVisibilityModel)?s:null==(l=t.initialState)||null==(u=l.columns)?void 0:u.columnVisibilityModel)?i:{},keepOnlyColumnsToUpsert:!0})})};const bQ=QG((e=>e.columnGrouping),(e=>e.lookup)),vQ=["groupId","children"];const yQ=(e,t,n)=>{if(hq(e)){if(void 0!==n[e.field])throw new Error(["MUI: columnGroupingModel contains duplicated field",`column field ${e.field} occurrs two times in the grouping model:`,`- ${n[e.field].join(" > ")}`,`- ${t.join(" > ")}`].join("\n"));return void(n[e.field]=t)}const{groupId:r,children:o}=e;o.forEach((e=>{yQ(e,[...t,r],n)}))},wQ=e=>{if(!e)return{};const t={};return e.forEach((e=>{yQ(e,[],t)})),t},SQ=e=>{let t={};return e.forEach((e=>{if(hq(e))return;const{groupId:n,children:r}=e,o=_d(e,vQ);if(!n)throw new Error("MUI: An element of the columnGroupingModel does not have either `field` or `groupId`.");r||console.warn(`MUI: group groupId=${n} has no children.`);const a=Id({},o,{groupId:n}),i=SQ(r);if(void 0!==i[n]||void 0!==t[n])throw new Error(`MUI: The groupId ${n} is used multiple times in the columnGroupingModel.`);t=Id({},t,i,{[n]:a})})),Id({},t)},xQ=(e,t)=>{var n;return Id({},e,{columnGrouping:{lookup:SQ(null!=(n=t.columnGroupingModel)?n:[]),groupCollapsedModel:{}}})},EQ=(e,t,n,r)=>{switch(e){case mq.Compact:return{value:e,headerHeight:Math.floor(.7*t),rowHeight:Math.floor(.7*n),headerGroupingMaxDepth:r,factor:.7};case mq.Comfortable:return{value:e,headerHeight:Math.floor(1.3*t),rowHeight:Math.floor(1.3*n),headerGroupingMaxDepth:r,factor:1.3};default:return{value:e,headerHeight:t,rowHeight:n,headerGroupingMaxDepth:r,factor:1}}},CQ=(e,t)=>{let n;if(null==t.columnGroupingModel||0===Object.keys(t.columnGroupingModel).length)n=0;else{const r=wQ(t.columnGroupingModel),o=e.columns,a=o.all.filter((e=>!1!==o.columnVisibilityModel[e]));n=0===a.length?0:Math.max(...a.map((e=>{var t,n;return null!=(t=null==(n=r[e])?void 0:n.length)?t:0})))}return Id({},e,{density:EQ(t.density,t.headerHeight,t.rowHeight,n)})};const kQ=(e,t)=>{if("string"==typeof e){const n=e.replace(/"/g,'""');return[t,"\n","\r"].some((e=>n.includes(e)))?`"${n}"`:n}return e};KG(["MUI: When the value of a field is an object or a `renderCell` is provided, the CSV export might not display the value correctly.","You can provide a `valueFormatter` with a string representation to be used."]);function RQ(e){const{columns:t,rowIds:n,getCellParams:r,delimiterCharacter:o,includeHeaders:a}=e,i=n.reduce(((e,n)=>`${e}${((e,t,n,r)=>t.map((t=>{const o=n(e,t.field);return kQ(o.formattedValue,r)})))(n,t,r,o).join(o)}\r\n`),"").trim();if(!a)return i;const s=`${t.filter((e=>e.field!==YY.field)).map((e=>kQ(e.headerName||e.field,o))).join(o)}\r\n`;return`${s}${i}`.trim()}const TQ=({apiRef:e,options:t})=>{const n=wW(e);if(t.fields)return t.fields.map((e=>n.find((t=>t.field===e)))).filter((e=>!!e));return(t.allColumns?n:xW(e)).filter((e=>!e.disableExport))},IQ=({apiRef:e})=>{var t,n;const r=MW(e),o=aW(e),a=e.current.getSelectedRows(),i=r.filter((e=>{var t;return"body"===(null!=(t=o[e].position)?t:"body")})),s=cW(e),l=(null==s||null==(t=s.top)?void 0:t.map((e=>e.id)))||[],u=(null==s||null==(n=s.bottom)?void 0:n.map((e=>e.id)))||[];return i.unshift(...l),i.push(...u),a.size>0?i.filter((e=>a.has(e))):i},_Q=e=>{const t=ZW(e,"useGridCsvExport"),n=U.useCallback(((n={})=>{var r,o;t.debug("Get data as CSV");return RQ({columns:TQ({apiRef:e,options:n}),rowIds:(null!=(r=n.getRowsToExport)?r:IQ)({apiRef:e}),getCellParams:e.current.getCellParams,delimiterCharacter:n.delimiter||",",includeHeaders:null==(o=n.includeHeaders)||o})}),[t,e]),r=U.useCallback((e=>{t.debug("Export data as CSV");const r=n(e);!function(e,t="csv",n=document.title||"untitled"){const r=`${n}.${t}`;if("download"in HTMLAnchorElement.prototype){const t=URL.createObjectURL(e),n=document.createElement("a");return n.href=t,n.download=r,n.click(),void setTimeout((()=>{URL.revokeObjectURL(t)}))}throw new Error("MUI: exportAs not supported")}(new Blob([null!=e&&e.utf8WithBom?new Uint8Array([239,187,191]):"",r],{type:"text/csv"}),"csv",null==e?void 0:e.fileName)}),[t,n]);JZ(e,{getDataAsCsv:n,exportDataAsCsv:r});const o=U.useCallback(((e,t)=>{var n;return null!=(n=t.csvOptions)&&n.disableToolbarButton?e:[...e,{component:ee.jsx(hZ,{options:t.csvOptions}),componentName:"csvExport"}]}),[]);oQ(e,"exportMenu",o)},AQ=e=>e.rowsMeta;const OQ=(e,t)=>{const n=ZW(e,"useGridPrintExport"),r=U.useRef(null),o=U.useRef(null),a=U.useRef({});U.useEffect((()=>{r.current=Rg(e.current.rootElementRef.current)}),[e]);const i=U.useCallback(((t,n)=>new Promise((r=>{if(!t&&!n)return void r();const o=TQ({apiRef:e,options:{fields:t,allColumns:n}}).map((e=>e.field)),a=wW(e),i={};a.forEach((e=>{i[e.field]=o.includes(e.field)})),e.current.setColumnVisibilityModel(i),r()}))),[e]),s=U.useCallback((e=>{const t=document.createElement("iframe");return t.style.position="absolute",t.style.width="0px",t.style.height="0px",t.title=e||document.title,t}),[]),l=U.useCallback(((t,n)=>{var o,a;const i=Id({copyStyles:!0,hideToolbar:!1,hideFooter:!1},n),s=t.contentDocument;if(!s)return;const l=qW(e),u=AQ(e.current.state),c=e.current.rootElementRef.current,d=c.cloneNode(!0),p=d.querySelector(`.${zG.virtualScroller}`);p.style.height="auto",p.style.width="auto",p.parentElement.style.width="auto",p.parentElement.style.height="auto";d.querySelector(`.${zG.main}`).style.overflow="visible";const f=function(){const e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return e?parseInt(e[2],10):null}();f&&f>=108&&(d.style.contain="size");d.querySelector(`.${zG.columnHeaders}`).querySelector(`.${zG.columnHeadersInner}`).style.width="100%";let m=(null==(o=c.querySelector(`.${zG.toolbarContainer}`))?void 0:o.clientHeight)||0,h=(null==(a=c.querySelector(`.${zG.footerContainer}`))?void 0:a.clientHeight)||0;var g,b;i.hideToolbar&&(null==(g=d.querySelector(`.${zG.toolbarContainer}`))||g.remove(),m=0);i.hideFooter&&(null==(b=d.querySelector(`.${zG.footerContainer}`))||b.remove(),h=0);d.style.height=`${u.currentPageTotalHeight+l+m+h}px`;const v=document.createElement("div");v.appendChild(d),s.body.innerHTML=v.innerHTML;const y="function"==typeof i.pageStyle?i.pageStyle():i.pageStyle;if("string"==typeof y){const e=s.createElement("style");e.appendChild(s.createTextNode(y)),s.head.appendChild(e)}if(i.bodyClassName&&s.body.classList.add(...i.bodyClassName.split(" ")),i.copyStyles){const e=r.current.querySelectorAll("style, link[rel='stylesheet']");for(let t=0;t{var n,i;r.current.body.removeChild(t),e.current.restoreState(o.current||{}),null!=(n=o.current)&&null!=(i=n.columns)&&i.columnVisibilityModel||e.current.setColumnVisibilityModel(a.current),e.current.unstable_enableVirtualization(),o.current=null,a.current={}}),[e]),c=U.useCallback((async c=>{if(n.debug("Export data as Print"),!e.current.rootElementRef.current)throw new Error("MUI: No grid root element available.");if(o.current=e.current.exportState(),a.current=SW(e),t.pagination){const t=jW(e);e.current.setPageSize(t)}await i(null==c?void 0:c.fields,null==c?void 0:c.allColumns),e.current.unstable_disableVirtualization(),await new Promise((e=>{requestAnimationFrame((()=>{e()}))}));const d=s(null==c?void 0:c.fileName);d.onload=()=>{l(d,c);d.contentWindow.matchMedia("print").addEventListener("change",(e=>{!1===e.matches&&u(d)}))},r.current.body.appendChild(d)}),[t,n,e,s,l,u,i]);JZ(e,{exportDataAsPrint:c});const d=U.useCallback(((e,t)=>{var n;return null!=(n=t.printOptions)&&n.disableToolbarButton?e:[...e,{component:ee.jsx(gZ,{options:t.printOptions}),componentName:"printExport"}]}),[]);oQ(e,"exportMenu",d)},NQ=["rowsBeforePartialUpdates"];const PQ=(e,t,n)=>{const r=t?t(e):e.id;return function(e,t,n="A row was provided without id in the rows prop:"){if(null==e)throw new Error(["MUI: The data grid component requires all rows to have a unique `id` property.","Alternatively, you can use the `getRowId` prop to specify a custom id for each row.",n,JSON.stringify(t)].join("\n"))}(r,e,n),r},LQ=({rows:e,getRowId:t,loading:n,rowCount:r})=>{const o={rowsBeforePartialUpdates:e,loadingPropBeforePartialUpdates:n,rowCountPropBeforePartialUpdates:r,idRowsLookup:{},idToIdLookup:{},ids:[]};for(let a=0;a{const o=_d(e.current.unstable_caches.rows,NQ),a=null!=n?n:0,i=e.current.unstable_applyStrategyProcessor("rowTreeCreation",Id({},o,{previousTree:t})),s=e.current.unstable_applyPipeProcessors("hydrateRows",i),l=1===s.treeDepth?s.ids.length:Object.values(s.tree).filter((e=>null==e.parent&&!e.isPinned)).length;return Id({},s,{groupingResponseBeforeRowHydration:i,loading:r,totalRowCount:Math.max(a,s.ids.length),totalTopLevelRowCount:Math.max(a,l)})},DQ=(e,t,n)=>{var r;const o=null==(r=e[t])?void 0:r.children;if(null==o)return[];const a=[];for(let i=0;it+=e.current.unstable_getRowHeight(n.id)),0))||0,bottom:(null==r||null==(n=r.bottom)?void 0:n.reduce(((t,n)=>t+=e.current.unstable_getRowHeight(n.id)),0))||0}}const FQ=(e,t)=>{const n=Id({},e);if(null==n.id&&(n.id=Math.round(1e5*Math.random())),null==n.operatorValue){const e=yW(t)[n.columnField];n.operatorValue=e&&e.filterOperators[0].value}return n},$Q=KG(["MUI: The `filterModel` can only contain a single item when the `disableMultipleColumnsFiltering` prop is set to `true`.","If you are using the community version of the `DataGrid`, this prop is always `true`."],"error"),BQ=KG("MUI: The 'id' field is required on `filterModel.items` when you use multiple filters.","error"),zQ=KG(["MUI: One of your filtering item have no `operatorValue` provided.","This property will become required on `@mui/x-data-grid@6.X`."]),UQ=(e,t,n)=>{const r=e.items.length>1;let o;r&&t?($Q(),o=[e.items[0]]):o=e.items;const a=r&&o.some((e=>null==e.id)),i=o.some((e=>null==e.operatorValue));return a&&BQ(),i&&zQ(),i||a?Id({},e,{items:o.map((e=>FQ(e,n)))}):e.items!==o?Id({},e,{items:o}):e},HQ=(e,t,n)=>r=>Id({},r,{filterModel:UQ(e,t,n)}),VQ=(e,t)=>{if(!e.columnField||!e.operatorValue)return null;const n=t.current.getColumn(e.columnField);if(!n)return null;let r;if(n.valueParser){var o;const t=n.valueParser;r=Array.isArray(e.value)?null==(o=e.value)?void 0:o.map((e=>t(e))):t(e.value)}else r=e.value;const a=Id({},e,{value:r}),i=n.filterOperators;if(null==i||!i.length)throw new Error(`MUI: No filter operators found for column '${n.field}'.`);const s=i.find((e=>e.value===a.operatorValue));if(!s)throw new Error(`MUI: No filter operator found for column '${n.field}' and operator value '${a.operatorValue}'.`);const l=s.getApplyFilterFn(a,n);if("function"!=typeof l)return null;return{fn:e=>{const n=t.current.getCellParams(e,a.columnField);return l(n)},item:a}},GQ=(e,t)=>{const n=((e,t)=>{const{items:n}=e,r=n.map((e=>VQ(e,t))).filter((e=>!!e));return 0===r.length?null:(e,t)=>{const n={};return(t?r.filter((e=>t(e.item.columnField))):r).forEach((t=>{n[t.item.id]=t.fn(e)})),n}})(e,t),r=((e,t)=>{const{quickFilterValues:n=[]}=e;if(0===n.length)return null;const r=vW(t),o={};r.forEach((e=>{const r=t.current.getColumn(e),a=null==r?void 0:r.getApplyQuickFilterFn;a&&(o[e]=n.map((e=>a(e,r,t))))}));const a=n.filter(((e,t)=>Object.keys(o).some((e=>null!=o[e][t]))));return 0===a.length?null:(e,n)=>{const r={},i=[];Object.keys(o).forEach((o=>{n&&!n(o)||(r[o]=t.current.getCellParams(e,o),i.push(o))}));const s={};return a.forEach(((e,t)=>{const n=i.some((e=>{var n,a;return null!=o[e][t]&&(null==(n=(a=o[e])[t])?void 0:n.call(a,r[e]))}));s[e]=n})),s}})(e,t);return(e,t)=>({passingFilterItems:n&&n(e,t),passingQuickFilterValues:r&&r(e,t)})},WQ=(e,t,n,r)=>{var o,a;const i=n.items.filter((e=>null!==VQ(e,r))),s=e.filter((e=>null!=e)),l=t.filter((e=>null!=e)),u=null!=(o=n.quickFilterLogicOperator)?o:bZ().quickFilterLogicOperator,c=null!=(a=n.linkOperator)?a:bZ().linkOperator;if(s.length>0){const e=e=>s.some((t=>t[e.id]));if(c===uq.And){if(!i.every(e))return!1}else{if(!i.some(e))return!1}}if(l.length>0&&null!=n.quickFilterValues){const e=e=>l.some((t=>t[e]));if(u===uq.And){if(!n.quickFilterValues.every(e))return!1}else{if(!n.quickFilterValues.some(e))return!1}}return!0},qQ=(e,t,n)=>{var r,o,a,i;const s=null!=(r=null!=(o=t.filterModel)?o:null==(a=t.initialState)||null==(i=a.filter)?void 0:i.filterModel)?r:bZ();return Id({},e,{filter:{filterModel:UQ(s,t.disableMultipleColumnsFiltering,n),visibleRowsLookup:{},filteredDescendantCountLookup:{}}})},KQ=e=>Id({},e,{focus:{cell:null,columnHeader:null},tabIndex:{cell:null,columnHeader:null}});const YQ=(e,t)=>{const n=ZW(e,"useGridKeyboardNavigation"),r=OZ(e,t).rows,o=U.useMemo((()=>function(e,t){const n=cW(e)||{};return[...n.top||[],...t,...n.bottom||[]]}(e,r)),[e,r]),a=U.useCallback(((t,r,o="left")=>{const a=NW(e),i=e.current.unstable_getCellColSpanInfo(r,t);i&&i.spannedByColSpan&&("left"===o?t=i.leftVisibleCellIndex:"right"===o&&(t=i.rightVisibleCellIndex));const s=a.findIndex((e=>e.id===r));n.debug(`Navigating to cell row ${s}, col ${t}`),e.current.scrollToIndexes({colIndex:t,rowIndex:s});const l=e.current.getVisibleColumns()[t].field;e.current.setCellFocus(r,l)}),[e,n]),i=U.useCallback(((t,r)=>{n.debug(`Navigating to header col ${t}`),e.current.scrollToIndexes({colIndex:t});const o=e.current.getVisibleColumns()[t].field;e.current.setColumnHeaderFocus(o,r)}),[e,n]),s=U.useCallback((e=>o[e].id),[o]),l=U.useCallback(((t,n)=>{const r=e.current.getRootDimensions();if(0===o.length||!r)return;const l=e.current.unstable_getViewportPageSize(),u=t.field?e.current.getColumnIndex(t.field):0,c=o.findIndex((e=>e.id===t.id)),d=o.length-1,p=xW(e).length-1;let f=!0;switch(n.key){case"ArrowDown":case"Enter":c0?a(u,s(c-1)):i(u,n);break;case"ArrowRight":u0&&a(u-1,s(c));break;case"Tab":n.shiftKey&&u>0?a(u-1,s(c),"left"):!n.shiftKey&&u=0?a(u,s(e)):i(u,n);break}case"Home":n.ctrlKey||n.metaKey||n.shiftKey?a(0,s(0)):a(0,s(c));break;case"End":n.ctrlKey||n.metaKey||n.shiftKey?a(p,s(d)):a(p,s(c));break;default:f=!1}f&&n.preventDefault()}),[e,o,a,i,s]),u=U.useCallback(((t,n)=>{const r=n.currentTarget.querySelector(`.${zG.columnHeaderTitleContainerContent}`);if(!!r&&r.contains(n.target)&&t.field!==YY.field)return;if(!e.current.getRootDimensions())return;const l=e.current.unstable_getViewportPageSize(),u=t.field?e.current.getColumnIndex(t.field):0,c=o.length-1,d=xW(e).length-1;let p=!0;switch(n.key){case"ArrowDown":a(u,s(0));break;case"ArrowRight":u0&&i(u-1,n);break;case"PageDown":null!==c&&a(u,s(Math.min(0+l,c)));break;case"Home":i(0,n);break;case"End":i(d,n);break;case"Enter":(n.ctrlKey||n.metaKey)&&e.current.toggleColumnMenu(t.field);break;case" ":break;default:p=!1}p&&n.preventDefault()}),[e,o,a,i,s]),c=U.useCallback(((t,n)=>{if(!n.currentTarget.contains(n.target))return;const r=e.current.getCellParams(t.id,t.field);r.cellMode!==aq.Edit&&vK(n.key)&&e.current.publishEvent("cellNavigationKeyDown",r,n)}),[e]);zZ(e,"cellNavigationKeyDown",l),zZ(e,"columnHeaderKeyDown",u),zZ(e,"cellKeyDown",c)},XQ=e=>e?0:100,ZQ=e=>t=>Id({},t,{pagination:Id({},t.pagination,{pageSize:e})}),QQ=(e,t)=>t>0&&e>0?Math.ceil(e/t):0,JQ=e=>e.pageCount?Id({},e,{page:Math.max(Math.min(e.page,e.pageCount-1),0)}):e,eJ=e=>t=>Id({},t,{pagination:JQ(Id({},t.pagination,{page:e}))});KG(["MUI: the 'rowCount' prop is undefined while using paginationMode='server'","For more detail, see http://mui.com/components/data-grid/pagination/#basic-implementation"],"error");const tJ=(e,t)=>{var n,r,o,a,i,s,l,u;let c;return c=null!=t.pageSize?t.pageSize:null!=(null==(n=t.initialState)||null==(r=n.pagination)?void 0:r.pageSize)?t.initialState.pagination.pageSize:XQ(t.autoPageSize),Id({},e,{pagination:{pageSize:c,page:null!=(o=null!=(a=t.page)?a:null==(i=t.initialState)||null==(s=i.pagination)?void 0:s.page)?o:0,pageCount:QQ(null!=(l=t.rowCount)?l:0,c),rowCount:null!=(u=t.rowCount)?u:0}})},nJ=(e,t)=>{((e,t)=>{var n,r;const o=ZW(e,"useGridPageSize"),a=XG(e,HW);e.current.unstable_registerControlState({stateId:"pageSize",propModel:t.pageSize,propOnChange:t.onPageSizeChange,stateSelector:gY,changeEvent:"pageSizeChange"});const i=U.useCallback((t=>{t!==gY(e)&&(o.debug(`Setting page size to ${t}`),e.current.setState(ZQ(t)),e.current.forceUpdate())}),[e,o]);JZ(e,{setPageSize:i});const s=U.useCallback(((n,r)=>{var o,a;const i=gY(e);return r.exportOnlyDirtyModels&&null==t.pageSize&&null==(null==(o=t.initialState)||null==(a=o.pagination)?void 0:a.pageSize)&&i===XQ(t.autoPageSize)?n:Id({},n,{pagination:Id({},n.pagination,{pageSize:i})})}),[e,t.pageSize,null==(n=t.initialState)||null==(r=n.pagination)?void 0:r.pageSize,t.autoPageSize]),l=U.useCallback(((t,n)=>{var r;const o=null==(r=n.stateToRestore.pagination)?void 0:r.pageSize;return null!=o&&e.current.setState(ZQ(o)),t}),[e]);oQ(e,"exportState",s),oQ(e,"restoreState",l);const u=U.useCallback((()=>{const n=e.current.getRootDimensions();if(!t.autoPageSize||!n)return;const r=jQ(e),o=Math.floor((n.viewportInnerSize.height-r.top-r.bottom)/a);e.current.setPageSize(o)}),[e,t.autoPageSize,a]);zZ(e,"viewportInnerSizeChange",u),U.useEffect((()=>{null==t.pageSize||t.autoPageSize||e.current.setPageSize(t.pageSize)}),[e,t.autoPageSize,t.pageSize]),U.useEffect((()=>{u()}),[u])})(e,t),((e,t)=>{var n,r;const o=ZW(e,"useGridPage"),a=XG(e,FW);e.current.unstable_registerControlState({stateId:"page",propModel:t.page,propOnChange:t.onPageChange,stateSelector:hY,changeEvent:"pageChange"});const i=U.useCallback((t=>{o.debug(`Setting page to ${t}`),e.current.setState(eJ(t)),e.current.forceUpdate()}),[e,o]);JZ(e,{setPage:i});const s=U.useCallback(((n,r)=>{var o,a;const i=hY(e);return r.exportOnlyDirtyModels&&null==t.page&&null==(null==(o=t.initialState)||null==(a=o.pagination)?void 0:a.page)&&0===i?n:Id({},n,{pagination:Id({},n.pagination,{page:i})})}),[e,t.page,null==(n=t.initialState)||null==(r=n.pagination)?void 0:r.page]),l=U.useCallback(((t,n)=>{var r,o;const a=null!=(r=null==(o=n.stateToRestore.pagination)?void 0:o.page)?r:hY(e);return e.current.setState(eJ(a)),t}),[e]);oQ(e,"exportState",s),oQ(e,"restoreState",l),zZ(e,"pageSizeChange",(t=>{e.current.setState((e=>{const n=QQ(e.pagination.rowCount,t);return Id({},e,{pagination:JQ(Id({},e.pagination,{pageCount:n,page:e.pagination.page}))})})),e.current.forceUpdate()})),zZ(e,"pageChange",(()=>e.current.scrollToIndexes({rowIndex:hY(e)*gY(e)}))),U.useEffect((()=>{}),[t.rowCount,t.paginationMode]),U.useEffect((()=>{e.current.setState((e=>{const n=void 0!==t.rowCount?t.rowCount:a,r=QQ(n,e.pagination.pageSize),o=null==t.page?e.pagination.page:t.page;return Id({},e,{pagination:JQ(Id({},e.pagination,{page:o,rowCount:n,pageCount:r}))})})),e.current.forceUpdate()}),[a,t.rowCount,t.page,t.paginationMode,e])})(e,t)},rJ=(e,t)=>{var n,r;return Id({},e,{preferencePanel:null!=(n=null==(r=t.initialState)?void 0:r.preferencePanel)?n:{open:!1}})},oJ=e=>e.editRows;function aJ(e){return"function"==typeof e.then}const iJ=(e,t)=>{var n;const r=ZW(e,"useGridEditRows"),o=e=>(...n)=>{t.editMode===oq.Cell&&e(...n)},a=U.useCallback(((t,n,o)=>{e.current.getCellMode(t,n)!==o&&(r.debug(`Switching cell id: ${t} field: ${n} to mode: ${o}`),e.current.setState((r=>{const a=Id({},r.editRows);return a[t]=Id({},a[t]),o===aq.Edit?a[t][n]={value:e.current.getCellValue(t,n)}:(delete a[t][n],Object.keys(a[t]).length||delete a[t]),Id({},r,{editRows:a})})),e.current.forceUpdate(),e.current.publishEvent("cellModeChange",e.current.getCellParams(t,n)))}),[e,r]),i=U.useCallback(((t,n)=>{const r=oJ(e.current.state);return r[t]&&r[t][n]?aq.Edit:aq.View}),[e]),s=U.useCallback(((n,r={})=>{var o;const{id:a,field:i}=n;e.current.unstable_runPendingEditCellValueMutation(a,i);const s=e.current.getEditRowsModel();if(!s[a]||!s[a][i])throw new Error(`MUI: Cell at id: ${a} and field: ${i} is not in edit mode.`);const l=s[a][i],u=e.current.getColumn(i),c=e.current.getRow(a);if(null!=(o=t.experimentalFeatures)&&o.preventCommitWhileValidating){const e=s[a][i];if(e.isValidating||e.error)return!1}const d=Id({},n,{value:l.value});let p=!!l.error;if(!p&&"function"==typeof u.preProcessEditCellProps){const t=u.preProcessEditCellProps({id:a,row:c,props:l});if(aJ(t))return t.then((t=>(e.current.unstable_setEditCellProps({id:a,field:i,props:t}),!t.error&&(e.current.publishEvent("cellEditCommit",d,r),!0))));e.current.unstable_setEditCellProps({id:a,field:i,props:t}),p=!!t.error}return!p&&(e.current.publishEvent("cellEditCommit",d,r),!0)}),[e,null==(n=t.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),l=U.useCallback((t=>{const n=e.current.getColumn(t.field),r=e.current.getRow(t.id);return new Promise((o=>{let a={value:t.value};const i=e.current.getEditRowsModel()[t.id][t.field];if("function"!=typeof n.preProcessEditCellProps)return e.current.unstable_setEditCellProps(Id({},t,{props:a})),void o(!0);a=e.current.unstable_setEditCellProps(Id({},t,{props:Id({},i,{isValidating:!0})})),Promise.resolve(n.preProcessEditCellProps({id:t.id,row:r,props:Id({},a,{value:e.current.unstable_parseValue(t.id,t.field,t.value)})})).then((n=>{e.current.unstable_setEditCellProps(Id({},t,{props:Id({},n,{isValidating:!1})})),o(!n.error)}))}))}),[e]);JZ(e,{setCellMode:a,getCellMode:i,commitCellChange:s,unstable_setCellEditingEditCellValue:l});const u=U.useCallback((async(t,n)=>{if(229===n.which)return;const{id:r,field:o,cellMode:a,isEditable:i}=t;if(!i)return;const s=a===aq.Edit,l=n.ctrlKey||n.metaKey||n.altKey;if(s||!(e=>cK(e.key)||fK(e.key)||mK(e))(n)||l||" "===n.key&&n.shiftKey||e.current.publishEvent("cellEditStart",t,n),!s&&fK(n.key)&&(e.current.setEditCellValue({id:r,field:o,value:""}),e.current.commitCellChange({id:r,field:o},n),e.current.publishEvent("cellEditStop",t,n)),s&&bK(n.key)){const t={id:r,field:o};if(!(await e.current.commitCellChange(t,n)))return}var u;s&&(u=n.key,hK.indexOf(u)>-1)&&e.current.publishEvent("cellEditStop",t,n)}),[e]),c=U.useCallback(((t,n)=>{t.isEditable&&e.current.publishEvent("cellEditStart",t,n)}),[e]),d=async(t,n)=>{t.cellMode!==aq.View&&(await e.current.commitCellChange(t,n),e.current.publishEvent("cellEditStop",t,n))},p=Pg(((e,t)=>{d(e,t)})),f=Pg((()=>{const t=bq(e);if(!t)return;const n=e.current.getCellParams(t.id,t.field);d(n,{})})),m=U.useCallback(((t,n)=>{t.isEditable&&(e.current.setCellMode(t.id,t.field,aq.Edit),yK(n)&&mK(n)&&e.current.unstable_setEditCellProps({id:t.id,field:t.field,props:{value:""}}))}),[e]),h=U.useCallback(((t,n)=>{e.current.setCellMode(t.id,t.field,aq.View),yK(n)&&(bK(n.key)?e.current.publishEvent("cellNavigationKeyDown",t,n):("Escape"===n.key||fK(n.key))&&e.current.setCellFocus(t.id,t.field))}),[e]),g=U.useCallback((t=>{const{id:n,field:o}=t,a=e.current.getEditRowsModel(),{value:i}=a[n][o];r.debug(`Setting cell id: ${n} field: ${o} to value: ${null==i?void 0:i.toString()}`);const s=e.current.getRow(n);if(s){const n=e.current.getColumn(t.field);let r=Id({},s,{[o]:i});n.valueSetter&&(r=n.valueSetter({row:s,value:i})),e.current.updateRows([r])}}),[e,r]),b=U.useCallback((t=>{const n=e.current.getRow(t.id),r=e.current.getColumn(t.field),o=r.preProcessEditCellProps?r.preProcessEditCellProps({id:t.id,row:n,props:t.props}):t.props;aJ(o)?o.then((n=>{e.current.unstable_setEditCellProps(Id({},t,{props:n}))})):e.current.unstable_setEditCellProps(Id({},t,{props:o}))}),[e]);zZ(e,"cellKeyDown",o(u)),zZ(e,"cellDoubleClick",o(c)),zZ(e,"cellFocusOut",o(p)),zZ(e,"columnHeaderDragStart",o(f)),zZ(e,"cellEditStart",o(m)),zZ(e,"cellEditStop",o(h)),zZ(e,"cellEditCommit",o(g)),zZ(e,"editCellPropsChange",o(b)),HZ(e,"cellEditCommit",t.onCellEditCommit),HZ(e,"cellEditStart",t.onCellEditStart),HZ(e,"cellEditStop",t.onCellEditStop)},sJ=e=>Id({},e,{editRows:{}});function lJ(e,t){var n;const r=ZW(e,"useGridEditRows");iJ(e,t),((e,t)=>{var n,r;const o=U.useRef(null),a=U.useRef(null),i=XG(e,wW),s=e=>(...n)=>{t.editMode===oq.Row&&e(...n)},l=U.useCallback(((t,n)=>{n!==e.current.getRowMode(t)&&(e.current.setState((r=>{const o=Id({},r.editRows);return n===iq.Edit?(o[t]={},i.forEach((n=>{const r=e.current.getCellParams(t,n.field);r.isEditable&&(o[t][n.field]={value:r.value})}))):delete o[t],Id({},r,{editRows:o})})),e.current.forceUpdate())}),[e,i]),u=U.useCallback((n=>t.editMode===oq.Cell?iq.View:oJ(e.current.state)[n]?iq.Edit:iq.View),[e,t.editMode]),c=U.useCallback(((n,r={})=>{var o;if(t.editMode===oq.Cell)throw new Error("MUI: You can't commit changes when the edit mode is 'cell'.");e.current.unstable_runPendingEditCellValueMutation(n);const a=e.current.getEditRowsModel()[n];if(!a)throw new Error(`MUI: Row at id: ${n} is not being edited.`);if(null!=(o=t.experimentalFeatures)&&o.preventCommitWhileValidating&&!Object.keys(a).reduce(((e,t)=>e&&!a[t].isValidating&&!a[t].error),!0))return!1;if(Object.values(a).some((e=>!!e.error)))return!1;const i=Object.keys(a).filter((t=>"function"==typeof e.current.getColumn(t).preProcessEditCellProps));if(i.length>0){const t=e.current.getRow(n),o=i.map((async r=>{const o=e.current.getColumn(r),i=await Promise.resolve(o.preProcessEditCellProps({id:n,row:t,props:a[r]}));return e.current.unstable_setEditCellProps({id:n,field:r,props:i}),i.error}));return Promise.all(o).then((t=>!t.some((e=>!!e))&&(e.current.publishEvent("rowEditCommit",n,r),!0)))}return e.current.publishEvent("rowEditCommit",n,r),!0}),[e,t.editMode,null==(n=t.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),d=U.useCallback((t=>{const n=e.current.getEditRowsModel()[t.id],r=e.current.getRow(t.id);let o=!0;return new Promise((a=>{Object.keys(n).forEach((async a=>{const i=e.current.getColumn(a);let s=a===t.field?{value:t.value}:n[a];s=e.current.unstable_setEditCellProps({id:t.id,field:a,props:Id({},s,{isValidating:!0})}),i.preProcessEditCellProps&&(s=await Promise.resolve(i.preProcessEditCellProps({id:t.id,row:r,props:Id({},s,{value:a===t.field?e.current.unstable_parseValue(t.id,a,t.value):s.value})}))),s.error&&(o=!1),e.current.unstable_setEditCellProps({id:t.id,field:a,props:Id({},s,{isValidating:!1})})})),a(o)}))}),[e]);JZ(e,{setRowMode:l,getRowMode:u,commitRowChange:c,unstable_setRowEditingEditCellValue:d});const p=U.useCallback((async(n,r)=>{if(229===r.which)return;const{cellMode:o,isEditable:a}=n;if(!a)return;const i=o===aq.Edit,s=e.current.getRowParams(n.id);if(i)if("Enter"===r.key){var l;if(!(await e.current.commitRowChange(n.id))&&null!=(l=t.experimentalFeatures)&&l.preventCommitWhileValidating)return;e.current.publishEvent("rowEditStop",s,r)}else"Escape"===r.key&&e.current.publishEvent("rowEditStop",s,r);else"Enter"===r.key&&e.current.publishEvent("rowEditStart",s,r)}),[e,null==(r=t.experimentalFeatures)?void 0:r.preventCommitWhileValidating]),f=U.useCallback(((t,n)=>{if(!t.isEditable)return;const r=e.current.getRowParams(t.id);e.current.publishEvent("rowEditStart",r,n)}),[e]),m=U.useCallback((t=>{const n=e.current.getRow(t.id),r=e.current.getEditRowsModel()[t.id];Object.keys(r).forEach((async o=>{const a=e.current.getColumn(o);if(a.preProcessEditCellProps){const i=o===t.field?t.props:r[o],s=await Promise.resolve(a.preProcessEditCellProps({id:t.id,row:n,props:i}));e.current.unstable_setEditCellProps({id:t.id,field:o,props:s})}else o===t.field&&e.current.unstable_setEditCellProps(t)}))}),[e]),h=U.useCallback((t=>{e.current.setRowMode(t.id,iq.Edit)}),[e]),g=U.useCallback(((t,n)=>{e.current.setRowMode(t.id,iq.View),"Enter"===n.key&&e.current.publishEvent("cellNavigationKeyDown",t,n)}),[e]),b=U.useCallback((t=>{const n=e.current.getEditRowsModel()[t];if(!n)throw new Error(`MUI: Row at id: ${t} is not being edited.`);const r=e.current.getRow(t);if(r){let t=Id({},r);Object.keys(n).forEach((r=>{const o=e.current.getColumn(r),a=n[r].value;o.valueSetter?t=o.valueSetter({row:t,value:a}):t[r]=a})),e.current.updateRows([t])}}),[e]),v=U.useCallback((e=>{a.current=e}),[]),y=async(t,n)=>{t.cellMode!==aq.View&&(a.current=null,o.current=setTimeout((async()=>{var r;if((null==(r=a.current)?void 0:r.id)!==t.id){await e.current.commitRowChange(t.id,n);const r=e.current.getRowParams(t.id);e.current.publishEvent("rowEditStop",r,n)}})))},w=Pg(((e,t)=>{y(e,t)})),S=Pg((()=>{const t=bq(e);if(!t)return;const n=e.current.getCellParams(t.id,t.field);y(n,{})}));zZ(e,"cellKeyDown",s(p)),zZ(e,"cellDoubleClick",s(f)),zZ(e,"editCellPropsChange",s(m)),zZ(e,"rowEditStart",s(h)),zZ(e,"rowEditStop",s(g)),zZ(e,"rowEditCommit",s(b)),zZ(e,"cellFocusIn",s(v)),zZ(e,"cellFocusOut",s(w)),zZ(e,"columnHeaderDragStart",s(S)),HZ(e,"rowEditCommit",t.onRowEditCommit),HZ(e,"rowEditStart",t.onRowEditStart),HZ(e,"rowEditStop",t.onRowEditStop)})(e,t);const o=U.useRef({});e.current.unstable_registerControlState({stateId:"editRows",propModel:t.editRowsModel,propOnChange:t.onEditRowsModelChange,stateSelector:oJ,changeEvent:"editRowsModelChange"});const a=U.useCallback((e=>!e.rowNode.isAutoGenerated&&!e.rowNode.isPinned&&!!e.colDef.editable&&!!e.colDef.renderEditCell&&(!t.isCellEditable||t.isCellEditable(e))),[t.isCellEditable]),i=U.useCallback(((e,t)=>{if(o.current[e])if(t){if(o.current[e][t]){const[,n]=o.current[e][t];n()}}else Object.keys(o.current[e]).forEach((t=>{const[,n]=o.current[e][t];n()}))}),[]),s=U.useCallback(((n,r={})=>{((e,t,n,r)=>{if(!n)return void r();if(o.current[e]||(o.current[e]={}),o.current[e][t]){const[n]=o.current[e][t];clearTimeout(n)}const a=setTimeout((()=>{r(),delete o.current[e][t]}),n);o.current[e][t]=[a,()=>{r();const[n]=o.current[e][t];clearTimeout(n),delete o.current[e][t]}]})(n.id,n.field,n.debounceMs,(()=>{var o;if(null!=(o=t.experimentalFeatures)&&o.preventCommitWhileValidating)return"row"===t.editMode?e.current.unstable_setRowEditingEditCellValue(n):e.current.unstable_setCellEditingEditCellValue(n);const a={id:n.id,field:n.field,props:{value:n.value}};return e.current.publishEvent("editCellPropsChange",a,r)}))}),[e,t.editMode,null==(n=t.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),l=U.useCallback(((t,n,r)=>{const o=e.current.getColumn(n);return o.valueParser?o.valueParser(r,e.current.getCellParams(t,n)):r}),[e]),u=U.useCallback((t=>{const{id:n,field:o,props:a}=t;r.debug(`Setting cell props on id: ${n} field: ${o}`),e.current.setState((e=>{const t=Id({},e.editRows);return t[n]=Id({},e.editRows[n]),t[n][o]=Id({},a,{value:l(n,o,a.value)}),Id({},e,{editRows:t})})),e.current.forceUpdate();return oJ(e.current.state)[n][o]}),[e,r,l]),c=U.useCallback((t=>{oJ(e.current.state)!==t&&(r.debug("Setting editRows model"),e.current.setState((e=>Id({},e,{editRows:t}))),e.current.forceUpdate())}),[e,r]),d=U.useCallback((()=>oJ(e.current.state)),[e]),p=U.useCallback(((e,t)=>{const n=t.detail>1;e.isEditable&&e.cellMode===aq.View&&n&&t.preventDefault()}),[]);zZ(e,"cellMouseDown",p),HZ(e,"editCellPropsChange",t.onEditCellPropsChange);JZ(e,{isCellEditable:a,setEditRowsModel:c,getEditRowsModel:d,setEditCellValue:s,unstable_setEditCellProps:u,unstable_parseValue:l,unstable_runPendingEditCellValueMutation:i}),U.useEffect((()=>{void 0!==t.editRowsModel&&e.current.setEditRowsModel(t.editRowsModel)}),[e,t.editRowsModel])}const uJ=["id","field"],cJ=["id","field"],dJ=KG(["MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.","To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. ` ...} />`.","For more detail, see http://mui.com/components/data-grid/editing/#persistence."],"error"),pJ=["id"],fJ=["id"],mJ=KG(["MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.","To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. ` ...} />`.","For more detail, see http://mui.com/components/data-grid/editing/#persistence."],"error"),hJ=e=>Id({},e,{editRows:{}}),gJ=(e,t)=>{((e,t)=>{const[n,r]=U.useState({}),o=U.useRef(n),a=U.useRef({}),{processRowUpdate:i,onProcessRowUpdateError:s,cellModesModel:l,onCellModesModelChange:u,signature:c}=t,d=e=>(...n)=>{t.editMode===oq.Cell&&e(...n)},p=U.useCallback(((t,n)=>{const r=e.current.getCellParams(t,n);if(!e.current.isCellEditable(r))throw new Error(`MUI: The cell with id=${t} and field=${n} is not editable.`)}),[e]),f=U.useCallback(((t,n,r)=>{if(e.current.getCellMode(t,n)!==r)throw new Error(`MUI: The cell with id=${t} and field=${n} is not in ${r} mode.`)}),[e]),m=U.useCallback(((t,n)=>{if(!t.isEditable)return;if(t.cellMode===aq.Edit)return;const r=Id({},t,{reason:cq.cellDoubleClick});e.current.publishEvent("cellEditStart",r,n)}),[e]),h=U.useCallback(((t,n)=>{if(t.cellMode===aq.View)return;if(e.current.getCellMode(t.id,t.field)===aq.View)return;const r=Id({},t,{reason:dq.cellFocusOut});e.current.publishEvent("cellEditStop",r,n)}),[e]),g=U.useCallback(((t,n)=>{if(t.cellMode===aq.Edit){if(229===n.which)return;let r;if("Escape"===n.key?r=dq.escapeKeyDown:"Enter"===n.key?r=dq.enterKeyDown:"Tab"===n.key&&(r=n.shiftKey?dq.shiftTabKeyDown:dq.tabKeyDown,n.preventDefault()),r){const o=Id({},t,{reason:r});e.current.publishEvent("cellEditStop",o,n)}}else if(t.isEditable){let r;if(" "===n.key&&n.shiftKey)return;if(mK(n)||(n.ctrlKey||n.metaKey)&&"v"===n.key?r=cq.printableKeyDown:"Enter"===n.key?r=cq.enterKeyDown:"Delete"!==n.key&&"Backspace"!==n.key||(r=cq.deleteKeyDown),r){const o=Id({},t,{reason:r,key:n.key});e.current.publishEvent("cellEditStart",o,n)}}}),[e]),b=U.useCallback((t=>{const{id:n,field:r,reason:o,key:a}=t,i={id:n,field:r};o===cq.printableKeyDown?U.version.startsWith("18")?i.initialValue=a:i.deleteValue=!0:o===cq.deleteKeyDown&&(i.deleteValue=!0),e.current.startCellEditMode(i)}),[e]),v=U.useCallback((n=>{const{id:r,field:o,reason:a}=n;let i;e.current.unstable_runPendingEditCellValueMutation(r,o),a===dq.enterKeyDown?i="below":a===dq.tabKeyDown?i="right":a===dq.shiftTabKeyDown&&(i="left");let s="escapeKeyDown"===a;oJ(e.current.state)[r][o].isProcessingProps&&!t.disableIgnoreModificationsIfProcessingProps&&(s=!0),e.current.stopCellEditMode({id:r,field:o,ignoreModifications:s,cellToFocusAfter:i})}),[e,t.disableIgnoreModificationsIfProcessingProps]);zZ(e,"cellDoubleClick",d(m)),zZ(e,"cellFocusOut",d(h)),zZ(e,"cellKeyDown",d(g)),zZ(e,"cellEditStart",d(b)),zZ(e,"cellEditStop",d(v)),HZ(e,"cellEditStart",t.onCellEditStart),HZ(e,"cellEditStop",t.onCellEditStop);const y=U.useCallback(((t,n)=>{const r=oJ(e.current.state);return r[t]&&r[t][n]?aq.Edit:aq.View}),[e]),w=Pg((n=>{const a=n!==t.cellModesModel;if(u&&a){const t=c===$Z.DataGridPro?{api:e.current}:{};u(n,t)}t.cellModesModel&&a||(r(n),o.current=n,e.current.publishEvent("cellModesModelChange",n))})),S=U.useCallback(((e,t,n)=>{const r=Id({},o.current);if(null!==n)r[e]=Id({},r[e],{[t]:Id({},n)});else{const n=_d(r[e],[t].map(fb));r[e]=n,0===Object.keys(r[e]).length&&delete r[e]}w(r)}),[w]),x=U.useCallback(((t,n,r)=>{e.current.setState((e=>{const o=Id({},e.editRows);return null!==r?o[t]=Id({},o[t],{[n]:Id({},r)}):(delete o[t][n],0===Object.keys(o[t]).length&&delete o[t]),Id({},e,{editRows:o})})),e.current.forceUpdate()}),[e]),E=U.useCallback((e=>{const{id:t,field:n}=e,r=_d(e,uJ);p(t,n),f(t,n,aq.View),S(t,n,Id({mode:aq.Edit},r))}),[p,f,S]),C=Pg((t=>{const{id:n,field:r,deleteValue:o,initialValue:a}=t;let i=e.current.getCellValue(n,r);(o||a)&&(i=o?"":a),x(n,r,{value:i,error:!1,isProcessingProps:!1}),e.current.setCellFocus(n,r)})),k=U.useCallback((e=>{const{id:t,field:n}=e,r=_d(e,cJ);f(t,n,aq.Edit),S(t,n,Id({mode:aq.View},r))}),[f,S]),R=Pg((async t=>{const{id:n,field:r,ignoreModifications:o,cellToFocusAfter:l="none"}=t;f(n,r,aq.Edit),e.current.unstable_runPendingEditCellValueMutation(n,r);const u=()=>{x(n,r,null),S(n,r,null),"none"!==l&&e.current.unstable_moveFocusToRelativeCell(n,r,l)};if(o)return void u();const c=oJ(e.current.state),{error:d,isProcessingProps:p}=c[n][r];if(d||p)return a.current[n][r].mode=aq.Edit,void S(n,r,{mode:aq.Edit});const m=e.current.unstable_getRowWithUpdatedValuesFromCellEditing(n,r);if(i){const t=e=>{a.current[n][r].mode=aq.Edit,S(n,r,{mode:aq.Edit}),s?s(e):dJ()};try{const r=e.current.getRow(n);Promise.resolve(i(m,r)).then((t=>{e.current.updateRows([t]),u()})).catch(t)}catch(h){t(h)}}else e.current.updateRows([m]),u()})),T=U.useCallback((async t=>{var n,r;const{id:o,field:a,value:i,debounceMs:s,unstable_skipValueParser:l}=t;p(o,a),f(o,a,aq.Edit);const u=e.current.getColumn(a),c=e.current.getRow(o);let d=i;u.valueParser&&!l&&(d=u.valueParser(i,e.current.getCellParams(o,a)));let m=oJ(e.current.state),h=Id({},m[o][a],{value:d,changeReason:s?"debouncedSetEditCellValue":"setEditCellValue"});if(u.preProcessEditCellProps){const e=i!==m[o][a].value;h=Id({},h,{isProcessingProps:!0}),x(o,a,h),h=await Promise.resolve(u.preProcessEditCellProps({id:o,row:c,props:h,hasChanged:e}))}return e.current.getCellMode(o,a)!==aq.View&&(m=oJ(e.current.state),h=Id({},h,{isProcessingProps:!1}),h.value=u.preProcessEditCellProps?m[o][a].value:d,x(o,a,h),m=oJ(e.current.state),!(null!=(n=m[o])&&null!=(r=n[a])&&r.error))}),[e,p,f,x]),I=U.useCallback(((t,n)=>{const r=e.current.getColumn(n),o=oJ(e.current.state),{value:a}=o[t][n],i=e.current.getRow(t);return r.valueSetter?r.valueSetter({value:a,row:i}):Id({},i,{[n]:a})}),[e]);JZ(e,{getCellMode:y,startCellEditMode:E,stopCellEditMode:k,unstable_setCellEditingEditCellValue:T,unstable_getRowWithUpdatedValuesFromCellEditing:I}),U.useEffect((()=>{l&&w(l)}),[l,w]),U.useEffect((()=>{const t=oW(e),r=a.current;a.current=$Y(n),Object.entries(n).forEach((([e,n])=>{Object.entries(n).forEach((([n,o])=>{var a,i,s;const l=(null==(a=r[e])||null==(i=a[n])?void 0:i.mode)||aq.View,u=null!=(s=t[e])?s:e;o.mode===aq.Edit&&l===aq.View?C(Id({id:u,field:n},o)):o.mode===aq.View&&l===aq.Edit&&R(Id({id:u,field:n},o))}))}))}),[e,n,C,R])})(e,t),((e,t)=>{const[n,r]=U.useState({}),o=U.useRef(n),a=U.useRef({}),i=U.useRef(null),s=U.useRef(null),{processRowUpdate:l,onProcessRowUpdateError:u,rowModesModel:c,onRowModesModelChange:d,signature:p}=t,f=e=>(...n)=>{t.editMode===oq.Row&&e(...n)},m=U.useCallback(((t,n)=>{const r=e.current.getCellParams(t,n);if(!e.current.isCellEditable(r))throw new Error(`MUI: The cell with id=${t} and field=${n} is not editable.`)}),[e]),h=U.useCallback(((t,n)=>{if(e.current.getRowMode(t)!==n)throw new Error(`MUI: The row with id=${t} is not in ${n} mode.`)}),[e]),g=U.useCallback(((t,n)=>{if(!t.isEditable)return;if(e.current.getRowMode(t.id)===iq.Edit)return;const r=Id({},e.current.getRowParams(t.id),{field:t.field,reason:pq.cellDoubleClick});e.current.publishEvent("rowEditStart",r,n)}),[e]),b=U.useCallback((e=>{s.current=e}),[]),v=U.useCallback(((t,n)=>{t.isEditable&&e.current.getRowMode(t.id)!==iq.View&&(s.current=null,i.current=setTimeout((()=>{var r;if(i.current=null,(null==(r=s.current)?void 0:r.id)!==t.id){if(!e.current.getRow(t.id))return;if(e.current.getRowMode(t.id)===iq.View)return;const r=Id({},e.current.getRowParams(t.id),{field:t.field,reason:fq.rowFocusOut});e.current.publishEvent("rowEditStop",r,n)}})))}),[e]);U.useEffect((()=>()=>{clearTimeout(i.current)}),[]);const y=U.useCallback(((t,n)=>{if(t.cellMode===iq.Edit){if(229===n.which)return;let r;if("Escape"===n.key)r=fq.escapeKeyDown;else if("Enter"===n.key)r=fq.enterKeyDown;else if("Tab"===n.key){const o=vW(e).filter((n=>e.current.isCellEditable(e.current.getCellParams(t.id,n))));n.shiftKey?t.field===o[0]&&(r=fq.shiftTabKeyDown):t.field===o[o.length-1]&&(r=fq.tabKeyDown),r&&n.preventDefault()}if(r){const o=Id({},e.current.getRowParams(t.id),{reason:r,field:t.field});e.current.publishEvent("rowEditStop",o,n)}}else if(t.isEditable){let r;if(" "===n.key&&n.shiftKey)return;if(mK(n)||(n.ctrlKey||n.metaKey)&&"v"===n.key?r=pq.printableKeyDown:"Enter"===n.key?r=pq.enterKeyDown:"Delete"!==n.key&&"Backspace"!==n.key||(r=pq.deleteKeyDown),r){const o=Id({},e.current.getRowParams(t.id),{field:t.field,key:n.key,reason:r});e.current.publishEvent("rowEditStart",o,n)}}}),[e]),w=U.useCallback((t=>{const{id:n,field:r,reason:o,key:a}=t,i={id:n,fieldToFocus:r};o===pq.printableKeyDown?U.version.startsWith("18")?i.initialValue=a:i.deleteValue=!!r:o===pq.deleteKeyDown&&(i.deleteValue=!!r),e.current.startRowEditMode(i)}),[e]),S=U.useCallback((n=>{const{id:r,reason:o,field:a}=n;let i;e.current.unstable_runPendingEditCellValueMutation(r),o===fq.enterKeyDown?i="below":o===fq.tabKeyDown?i="right":o===fq.shiftTabKeyDown&&(i="left");let s="escapeKeyDown"===o;const l=oJ(e.current.state);s||t.disableIgnoreModificationsIfProcessingProps||(s=Object.values(l[r]).some((e=>e.isProcessingProps))),e.current.stopRowEditMode({id:r,ignoreModifications:s,field:a,cellToFocusAfter:i})}),[e,t.disableIgnoreModificationsIfProcessingProps]);zZ(e,"cellDoubleClick",f(g)),zZ(e,"cellFocusIn",f(b)),zZ(e,"cellFocusOut",f(v)),zZ(e,"cellKeyDown",f(y)),zZ(e,"rowEditStart",f(w)),zZ(e,"rowEditStop",f(S)),HZ(e,"rowEditStart",t.onRowEditStart),HZ(e,"rowEditStop",t.onRowEditStop);const x=U.useCallback((n=>{if(t.editMode===oq.Cell)return iq.View;const r=oJ(e.current.state);return r[n]&&Object.keys(r[n]).length>0?iq.Edit:iq.View}),[e,t.editMode]),E=Pg((n=>{const a=n!==t.rowModesModel;if(d&&a){const t=p===$Z.DataGridPro?{api:e.current}:{};d(n,t)}t.rowModesModel&&a||(r(n),o.current=n,e.current.publishEvent("rowModesModelChange",n))})),C=U.useCallback(((e,t)=>{const n=Id({},o.current);null!==t?n[e]=Id({},t):delete n[e],E(n)}),[E]),k=U.useCallback(((t,n)=>{e.current.setState((e=>{const r=Id({},e.editRows);return null!==n?r[t]=n:delete r[t],Id({},e,{editRows:r})})),e.current.forceUpdate()}),[e]),R=U.useCallback(((t,n,r)=>{e.current.setState((e=>{const o=Id({},e.editRows);return null!==r?o[t]=Id({},o[t],{[n]:Id({},r)}):(delete o[t][n],0===Object.keys(o[t]).length&&delete o[t]),Id({},e,{editRows:o})})),e.current.forceUpdate()}),[e]),T=U.useCallback((e=>{const{id:t}=e,n=_d(e,pJ);h(t,iq.View),C(t,Id({mode:iq.Edit},n))}),[h,C]),I=Pg((t=>{const{id:n,fieldToFocus:r,deleteValue:o,initialValue:a}=t,i=vW(e).reduce(((t,i)=>{if(!e.current.getCellParams(n,i).isEditable)return t;let s=e.current.getCellValue(n,i);return r===i&&(o||a)&&(s=o?"":a),t[i]={value:s,error:!1,isProcessingProps:!1},t}),{});k(n,i),r&&e.current.setCellFocus(n,r)})),_=U.useCallback((e=>{const{id:t}=e,n=_d(e,fJ);h(t,iq.Edit),C(t,Id({mode:iq.View},n))}),[h,C]),A=Pg((t=>{const{id:n,ignoreModifications:r,field:o,cellToFocusAfter:i="none"}=t;e.current.unstable_runPendingEditCellValueMutation(n);const s=()=>{"none"!==i&&o&&e.current.unstable_moveFocusToRelativeCell(n,o,i),k(n,null),C(n,null)};if(r)return void s();const c=oJ(e.current.state),d=e.current.getRow(n);if(Object.values(c[n]).some((e=>e.isProcessingProps)))return void(a.current[n].mode=iq.Edit);if(Object.values(c[n]).some((e=>e.error)))return a.current[n].mode=iq.Edit,void C(n,{mode:iq.Edit});const p=e.current.unstable_getRowWithUpdatedValuesFromRowEditing(n);if(l){const t=e=>{a.current[n].mode=iq.Edit,C(n,{mode:iq.Edit}),u?u(e):mJ()};try{Promise.resolve(l(p,d)).then((t=>{e.current.updateRows([t]),s()})).catch(t)}catch(f){t(f)}}else e.current.updateRows([p]),s()})),O=U.useCallback((t=>{const{id:n,field:r,value:o,debounceMs:a,unstable_skipValueParser:i}=t;m(n,r);const s=e.current.getColumn(r),l=e.current.getRow(n);let u=o;s.valueParser&&!i&&(u=s.valueParser(o,e.current.getCellParams(n,r)));let c=oJ(e.current.state),d=Id({},c[n][r],{value:u,changeReason:a?"debouncedSetEditCellValue":"setEditCellValue"});return s.preProcessEditCellProps||R(n,r,d),new Promise((t=>{const o=[];if(s.preProcessEditCellProps){const a=d.value!==c[n][r].value;d=Id({},d,{isProcessingProps:!0}),R(n,r,d);const i=_d(c[n],[r].map(fb)),p=Promise.resolve(s.preProcessEditCellProps({id:n,row:l,props:d,hasChanged:a,otherFieldsProps:i})).then((o=>{e.current.getRowMode(n)!==iq.View?(c=oJ(e.current.state),(o=Id({},o,{isProcessingProps:!1})).value=s.preProcessEditCellProps?c[n][r].value:u,R(n,r,o)):t(!1)}));o.push(p)}Object.entries(c[n]).forEach((([a,i])=>{if(a===r)return;const s=e.current.getColumn(a);if(!s.preProcessEditCellProps)return;i=Id({},i,{isProcessingProps:!0}),R(n,a,i),c=oJ(e.current.state);const u=_d(c[n],[a].map(fb)),d=Promise.resolve(s.preProcessEditCellProps({id:n,row:l,props:i,hasChanged:!1,otherFieldsProps:u})).then((r=>{e.current.getRowMode(n)!==iq.View?(r=Id({},r,{isProcessingProps:!1}),R(n,a,r)):t(!1)}));o.push(d)})),Promise.all(o).then((()=>{e.current.getRowMode(n)===iq.Edit?(c=oJ(e.current.state),t(!c[n][r].error)):t(!1)}))}))}),[e,m,R]),N=U.useCallback((t=>{const n=oJ(e.current.state);let r=Id({},e.current.getRow(t));return Object.entries(n[t]).forEach((([t,n])=>{const o=e.current.getColumn(t);o.valueSetter?r=o.valueSetter({value:n.value,row:r}):r[t]=n.value})),r}),[e]);JZ(e,{getRowMode:x,startRowEditMode:T,stopRowEditMode:_,unstable_setRowEditingEditCellValue:O,unstable_getRowWithUpdatedValuesFromRowEditing:N}),U.useEffect((()=>{c&&E(c)}),[c,E]),U.useEffect((()=>{const t=oW(e),r=a.current;a.current=$Y(n),Object.entries(n).forEach((([e,n])=>{var o,a;const i=(null==(o=r[e])?void 0:o.mode)||iq.View,s=null!=(a=t[e])?a:e;n.mode===iq.Edit&&i===iq.View?I(Id({id:s},n)):n.mode===iq.View&&i===iq.Edit&&A(Id({id:s},n))}))}),[e,n,I,A])})(e,t);const n=U.useRef({}),{isCellEditable:r}=t,o=U.useCallback((e=>!e.rowNode.isAutoGenerated&&(!!e.colDef.editable&&(!!e.colDef.renderEditCell&&(r?r(e):!e.rowNode.isPinned)))),[r]);U.useEffect((()=>{const e=n.current;return()=>{Object.entries(e).forEach((([t,n])=>{Object.keys(n).forEach((n=>{const[r]=e[t][n];clearTimeout(r),delete e[t][n]}))}))}}),[]);const a=U.useCallback(((e,t)=>{if(n.current[e])if(t){if(n.current[e][t]){const[,r]=n.current[e][t];r()}}else Object.keys(n.current[e]).forEach((t=>{const[,r]=n.current[e][t];r()}))}),[]),i=U.useCallback((r=>{const{id:o,field:a,debounceMs:i}=r;return new Promise((s=>{((e,t,r,o)=>{if(!r)return void o();if(n.current[e]||(n.current[e]={}),n.current[e][t]){const[r]=n.current[e][t];clearTimeout(r)}const a=setTimeout((()=>{o(),delete n.current[e][t]}),r);n.current[e][t]=[a,()=>{const[r]=n.current[e][t];clearTimeout(r),o(),delete n.current[e][t]}]})(o,a,i,(async()=>{const n=t.editMode===oq.Row?e.current.unstable_setRowEditingEditCellValue:e.current.unstable_setCellEditingEditCellValue;if(e.current.getCellMode(o,a)===aq.Edit){const e=await n(r);s(e)}}))}))}),[e,t.editMode]),s=U.useCallback(((n,r)=>t.editMode===oq.Cell?e.current.unstable_getRowWithUpdatedValuesFromCellEditing(n,r):e.current.unstable_getRowWithUpdatedValuesFromRowEditing(n)),[e,t.editMode]),l=U.useCallback(((t,n)=>({changeReason:oJ(e.current.state)[t][n].changeReason})),[e]);JZ(e,{isCellEditable:o,setEditCellValue:i,unstable_runPendingEditCellValueMutation:a,unstable_getRowWithUpdatedValues:s,unstable_getEditCellMeta:l})},bJ=(e,t,n)=>(n.current.unstable_caches.rows=LQ({rows:t.rows,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),Id({},e,{rows:MQ({apiRef:n,previousTree:null,rowCountProp:t.rowCount,loadingProp:t.loading})})),vJ=({ids:e,idRowsLookup:t,idToIdLookup:n,previousTree:r})=>{const o={};for(let a=0;a({field:t,colDef:e.current.getColumn(t)})),[e]),n=U.useCallback(((...t)=>e.current.getCellValue(...t)),[e]),r=U.useCallback((t=>{const r=e.current.getRow(t);if(!r)throw new Error(`No row with id #${t} found`);return{id:t,columns:e.current.getAllColumns(),row:r,getValue:n}}),[e,n]),o=U.useCallback(((t,r)=>{const o=e.current.getRow(t),a=e.current.getRowNode(t);if(!o||!a)throw new Error(`No row with id #${t} found`);const i=bq(e),s=wq(e);return{id:t,field:r,row:o,rowNode:a,value:o[r],colDef:e.current.getColumn(r),cellMode:e.current.getCellMode(t,r),getValue:n,api:e.current,hasFocus:null!==i&&i.field===r&&i.id===t,tabIndex:s&&s.field===r&&s.id===t?0:-1}}),[e,n]),a=U.useCallback(((t,r)=>{const o=e.current.getColumn(r),a=e.current.getCellValue(t,r),i=e.current.getRow(t),s=e.current.getRowNode(t);if(!i||!s)throw new Error(`No row with id #${t} found`);const l=bq(e),u=wq(e),c={id:t,field:r,row:i,rowNode:s,colDef:o,cellMode:e.current.getCellMode(t,r),getValue:n,hasFocus:null!==l&&l.field===r&&l.id===t,tabIndex:u&&u.field===r&&u.id===t?0:-1,value:a,formattedValue:a};return o&&o.valueFormatter&&(c.formattedValue=o.valueFormatter({id:t,field:c.field,value:c.value,api:e.current})),c.isEditable=o&&e.current.isCellEditable(c),c}),[e,n]),i=U.useCallback(((t,n)=>{const r=e.current.getColumn(n);if(!r||!r.valueGetter){const r=e.current.getRow(t);if(!r)throw new Error(`No row with id #${t} found`);return r[n]}return r.valueGetter(o(t,n))}),[e,o]),s=U.useCallback((t=>e.current.rootElementRef.current?function(e,t){return e.querySelector(`[role="columnheader"][data-field="${GK(t)}"]`)}(e.current.rootElementRef.current,t):null),[e]),l=U.useCallback((t=>e.current.rootElementRef.current?function(e,t){return e.querySelector(WK(t))}(e.current.rootElementRef.current,t):null),[e]),u=U.useCallback(((t,n)=>e.current.rootElementRef.current?function(e,{id:t,field:n}){const r=`${WK(t)} .${zG.cell}[data-field="${GK(n)}"]`;return e.querySelector(r)}(e.current.rootElementRef.current,{id:t,field:n}):null),[e]);JZ(e,{getCellValue:i,getCellParams:a,getCellElement:u,getRowParams:r,getRowElement:l,getColumnHeaderParams:t,getColumnHeaderElement:s})}KG(["MUI: You are calling getValue. This method is deprecated and will be removed in the next major version.","Instead, you can access the data from `params.row`."]);const wJ=(e,t)=>null==e||Array.isArray(e)?e:t&&t[0]===e?t:[e],SJ=(e,t)=>{var n;return Id({},e,{selection:null!=(n=wJ(t.selectionModel))?n:[]})},xJ={noRowsLabel:"No rows",noResultsOverlayLabel:"No results found.",errorOverlayDefaultLabel:"An error occurred.",toolbarDensity:"Density",toolbarDensityLabel:"Density",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comfortable",toolbarColumns:"Columns",toolbarColumnsLabel:"Select columns",toolbarFilters:"Filters",toolbarFiltersLabel:"Show filters",toolbarFiltersTooltipHide:"Hide filters",toolbarFiltersTooltipShow:"Show filters",toolbarFiltersTooltipActive:e=>1!==e?`${e} active filters`:`${e} active filter`,toolbarQuickFilterPlaceholder:"Search…",toolbarQuickFilterLabel:"Search",toolbarQuickFilterDeleteIconLabel:"Clear",toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Download as CSV",toolbarExportPrint:"Print",toolbarExportExcel:"Download as Excel",columnsPanelTextFieldLabel:"Find column",columnsPanelTextFieldPlaceholder:"Column title",columnsPanelDragIconLabel:"Reorder column",columnsPanelShowAllButton:"Show all",columnsPanelHideAllButton:"Hide all",filterPanelAddFilter:"Add filter",filterPanelDeleteIconLabel:"Delete",filterPanelLinkOperator:"Logic operator",filterPanelOperators:"Operator",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"Columns",filterPanelInputLabel:"Value",filterPanelInputPlaceholder:"Filter value",filterOperatorContains:"contains",filterOperatorEquals:"equals",filterOperatorStartsWith:"starts with",filterOperatorEndsWith:"ends with",filterOperatorIs:"is",filterOperatorNot:"is not",filterOperatorAfter:"is after",filterOperatorOnOrAfter:"is on or after",filterOperatorBefore:"is before",filterOperatorOnOrBefore:"is on or before",filterOperatorIsEmpty:"is empty",filterOperatorIsNotEmpty:"is not empty",filterOperatorIsAnyOf:"is any of",filterValueAny:"any",filterValueTrue:"true",filterValueFalse:"false",columnMenuLabel:"Menu",columnMenuShowColumns:"Show columns",columnMenuFilter:"Filter",columnMenuHideColumn:"Hide",columnMenuUnsort:"Unsort",columnMenuSortAsc:"Sort by ASC",columnMenuSortDesc:"Sort by DESC",columnHeaderFiltersTooltipActive:e=>1!==e?`${e} active filters`:`${e} active filter`,columnHeaderFiltersLabel:"Show filters",columnHeaderSortIconLabel:"Sort",footerRowSelected:e=>1!==e?`${e.toLocaleString()} rows selected`:`${e.toLocaleString()} row selected`,footerTotalRows:"Total Rows:",footerTotalVisibleRows:(e,t)=>`${e.toLocaleString()} of ${t.toLocaleString()}`,checkboxSelectionHeaderName:"Checkbox selection",checkboxSelectionSelectAllRows:"Select all rows",checkboxSelectionUnselectAllRows:"Unselect all rows",checkboxSelectionSelectRow:"Select row",checkboxSelectionUnselectRow:"Unselect row",booleanCellTrueLabel:"yes",booleanCellFalseLabel:"no",actionsCellMore:"more",pinToLeft:"Pin to left",pinToRight:"Pin to right",unpin:"Unpin",treeDataGroupingHeaderName:"Group",treeDataExpand:"see children",treeDataCollapse:"hide children",groupingColumnHeaderName:"Group",groupColumn:e=>`Group by ${e}`,unGroupColumn:e=>`Stop grouping by ${e}`,detailPanelToggle:"Detail panel toggle",expandDetailPanel:"Expand",collapseDetailPanel:"Collapse",MuiTablePagination:{},rowReorderingHeaderName:"Row reordering",aggregationMenuItemHeader:"Aggregation",aggregationFunctionLabelSum:"sum",aggregationFunctionLabelAvg:"avg",aggregationFunctionLabelMin:"min",aggregationFunctionLabelMax:"max",aggregationFunctionLabelSize:"size"},EJ=["sortingOrder"],CJ=U.memo((function(e){const{sortingOrder:t}=e,n=_d(e,EJ),r=$G(),[o]=t,a="asc"===o?r.components.ColumnSortedAscendingIcon:r.components.ColumnSortedDescendingIcon;return a?ee.jsx(a,Id({},n)):null})),kJ=["error","hasError","errorInfo"],RJ=U.forwardRef((function(e,t){const{error:n}=e,r=_d(e,kJ),o=jG(),a=o.current.getLocaleText("errorOverlayDefaultLabel"),i=XG(o,HW);return ee.jsx(jK,Id({ref:t,sx:{width:"100%",minHeight:2*i}},r,{children:(null==n?void 0:n.message)||a}))})),TJ=U.forwardRef((function(e,t){const n=jG().current.getLocaleText("noResultsOverlayLabel");return ee.jsx(jK,Id({ref:t},e,{children:n}))})),IJ=Id({},{BooleanCellTrueIcon:Qq,BooleanCellFalseIcon:Wq,ColumnMenuIcon:Gq,OpenFilterButtonIcon:jq,FilterPanelDeleteIcon:Wq,ColumnFilteredIcon:Fq,ColumnSelectorIcon:Bq,ColumnUnsortedIcon:CJ,ColumnSortedAscendingIcon:Pq,ColumnSortedDescendingIcon:Lq,ColumnResizeIcon:zq,DensityCompactIcon:Uq,DensityStandardIcon:Hq,DensityComfortableIcon:Vq,ExportIcon:Zq,MoreActionsIcon:Jq,TreeDataCollapseIcon:Dq,TreeDataExpandIcon:Mq,GroupingCriteriaCollapseIcon:Dq,GroupingCriteriaExpandIcon:Mq,DetailPanelExpandIcon:qq,DetailPanelCollapseIcon:Kq,RowReorderIcon:Xq,QuickFilterIcon:$q,QuickFilterClearIcon:Wq},{BaseCheckbox:eR,BaseTextField:vL,BaseFormControl:MT,BaseSelect:sO,BaseSwitch:lP,BaseButton:Ak,BaseTooltip:oN,BasePopper:AE,Cell:function(e){const{align:t,children:n,colIndex:r,cellMode:o,field:a,formattedValue:i,hasFocus:s,height:l,isEditable:u,rowId:c,tabIndex:d,value:p,width:f,className:m,showRightBorder:h,colSpan:g,disableDragEvents:b,onClick:v,onDoubleClick:y,onMouseDown:w,onMouseUp:S,onKeyDown:x,onDragEnter:E,onDragOver:C}=e,k=_d(e,xq),R=null==i?p:i,T=U.useRef(null),I=U.useRef(null),_=jG(),A=(e=>{const{align:t,showRightBorder:n,isEditable:r,classes:o}=e;return eb({root:["cell",`cell--text${cm(t)}`,r&&"cell--editable",n&&"withBorder"],content:["cellContent"]},BG,o)})({align:t,showRightBorder:h,isEditable:u,classes:$G().classes}),O=U.useCallback((e=>t=>{const n=_.current.getCellParams(c,a||"");_.current.publishEvent(e,n,t),S&&S(t)}),[_,a,S,c]),N=U.useCallback((e=>t=>{const n=_.current.getCellParams(c,a||"");_.current.publishEvent(e,n,t),w&&w(t)}),[_,a,w,c]),P=U.useCallback(((e,t)=>n=>{if(!n.currentTarget.contains(n.target))return;if(!_.current.getRow(c))return;const r=_.current.getCellParams(c,a||"");_.current.publishEvent(e,r,n),t&&t(n)}),[_,a,c]),L={minWidth:f,maxWidth:f,minHeight:l,maxHeight:"auto"===l?"none":l};U.useEffect((()=>{if(!s||o===aq.Edit)return;const e=Rg(_.current.rootElementRef.current);if(T.current&&!T.current.contains(e.activeElement)){const e=T.current.querySelector('[tabindex="0"]'),t=I.current||e||T.current;if(void 0===Eq&&document.createElement("div").focus({get preventScroll(){return Eq=!0,!1}}),Eq)t.focus({preventScroll:!0});else{const e=_.current.getScrollPosition();t.focus(),_.current.scroll(e)}}}),[s,o,_]);let M=k.onFocus;const D="actions"===_.current.getColumn(a).type,j=b?null:{onDragEnter:P("cellDragEnter",E),onDragOver:P("cellDragOver",C)};return ee.jsx("div",Id({ref:T,className:rq(m,A.root),role:"cell","data-field":a,"data-colindex":r,"aria-colindex":r+1,"aria-colspan":g,style:L,tabIndex:"view"!==o&&u||D?-1:d,onClick:P("cellClick",v),onDoubleClick:P("cellDoubleClick",y),onMouseDown:N("cellMouseDown"),onMouseUp:O("cellMouseUp"),onKeyDown:P("cellKeyDown",x)},j,k,{onFocus:M,children:(()=>{if(null==n){const e=null==R?void 0:R.toString();return ee.jsx("div",{title:e,className:A.content,children:e})}return U.isValidElement(n)&&D?U.cloneElement(n,{focusElementRef:I}):n})()}))},SkeletonCell:function(e){const{align:t,width:n,contentWidth:r}=e,o=_d(e,IK),a=(e=>{const{align:t,classes:n}=e;return eb({root:["cell","cellSkeleton",`cell--text${cm(t)}`]},BG,n)})({classes:$G().classes,align:t});return ee.jsx("div",Id({className:a.root,style:{width:n}},o,{children:ee.jsx(yO,{width:`${r}%`})}))},ColumnHeaderFilterIconButton:function(e){var t;const{counter:n,field:r,onClick:o}=e,a=jG(),i=$G(),s=(e=>{const{classes:t}=e;return eb({icon:["filterIcon"]},BG,t)})(Id({},e,{classes:i.classes})),l=U.useCallback((e=>{e.preventDefault(),e.stopPropagation();const{open:t,openedPanelValue:n}=aY(a.current.state);t&&n===iY.filters?a.current.hideFilterPanel():a.current.showFilterPanel(),o&&o(a.current.getColumnHeaderParams(r),e)}),[a,r,o]);if(!n)return null;const u=ee.jsx(Uw,{onClick:l,color:"default","aria-label":a.current.getLocaleText("columnHeaderFiltersLabel"),size:"small",tabIndex:-1,children:ee.jsx(i.components.ColumnFilteredIcon,{className:s.icon,fontSize:"small"})});return ee.jsx(i.components.BaseTooltip,Id({title:a.current.getLocaleText("columnHeaderFiltersTooltipActive")(n),enterDelay:1e3},null==(t=i.componentsProps)?void 0:t.baseTooltip,{children:ee.jsxs(BK,{children:[n>1&&ee.jsx(rk,{badgeContent:n,color:"default",children:u}),1===n&&u]})}))},ColumnMenu:kX,ErrorOverlay:RJ,Footer:CZ,Header:kZ,Toolbar:null,PreferencesPanel:QX,LoadingOverlay:RZ,NoResultsOverlay:TJ,NoRowsOverlay:TZ,Pagination:_Z,FilterPanel:pZ,ColumnsPanel:function(e){var t,n,r;const o=jG(),a=U.useRef(null),i=XG(o,wW),s=XG(o,SW),l=$G(),[u,c]=U.useState(""),d=(e=>{const{classes:t}=e;return eb({root:["columnsPanel"],columnsPanelRow:["columnsPanelRow"]},BG,t)})(l),{sort:p,searchPredicate:f=WX,autoFocusSearchField:m=!0}=e,h=_d(e,UX),g=U.useMemo((()=>{switch(p){case"asc":return[...i].sort(((e,t)=>GX.compare(e.headerName||e.field,t.headerName||t.field)));case"desc":return[...i].sort(((e,t)=>-GX.compare(e.headerName||e.field,t.headerName||t.field)));default:return i}}),[i,p]),b=e=>{const{name:t}=e.target;o.current.setColumnVisibility(t,!1===s[t])},v=U.useCallback((e=>{if(o.current.unstable_caches.columns.isUsingColumnVisibilityModel){const t=Id({},SW(o));return i.forEach((n=>{n.hideable&&(e?delete t[n.field]:t[n.field]=!1)})),o.current.setColumnVisibilityModel(t)}return o.current.updateColumns(i.map((t=>!1!==t.hideable?{field:t.field,hide:!e}:t)))}),[o,i]),y=U.useCallback((e=>{c(e.target.value)}),[]),w=U.useMemo((()=>{if(!u)return g;const e=u.toLowerCase();return g.filter((t=>f(t,e)))}),[g,u,f]),S=U.useRef(null);U.useEffect((()=>{m?a.current.focus():S.current&&"function"==typeof S.current.focus&&S.current.focus()}),[m]);let x=!1;const E=e=>!1===x&&!1!==e.hideable&&(x=!0,!0);return ee.jsxs(zX,Id({},h,{children:[ee.jsx(jX,{children:ee.jsx(l.components.BaseTextField,Id({label:o.current.getLocaleText("columnsPanelTextFieldLabel"),placeholder:o.current.getLocaleText("columnsPanelTextFieldPlaceholder"),inputRef:a,value:u,onChange:y,variant:"standard",fullWidth:!0},null==(t=l.componentsProps)?void 0:t.baseTextField))}),ee.jsx(_X,{children:ee.jsx(HX,{className:d.root,ownerState:l,children:w.map((e=>{var t;return ee.jsxs(VX,{className:d.columnsPanelRow,ownerState:l,children:[ee.jsx(HT,{control:ee.jsx(l.components.BaseSwitch,Id({disabled:!1===e.hideable,checked:!1!==s[e.field],onClick:b,name:e.field,size:"small",inputRef:E(e)?S:void 0},null==(t=l.componentsProps)?void 0:t.baseSwitch)),label:e.headerName||e.field}),!l.disableColumnReorder&&false]},e.field)}))})}),ee.jsxs(PX,{children:[ee.jsx(l.components.BaseButton,Id({onClick:()=>v(!1)},null==(n=l.componentsProps)?void 0:n.baseButton,{children:o.current.getLocaleText("columnsPanelHideAllButton")})),ee.jsx(l.components.BaseButton,Id({onClick:()=>v(!0)},null==(r=l.componentsProps)?void 0:r.baseButton,{children:o.current.getLocaleText("columnsPanelShowAllButton")}))]})]}))},Panel:ZX,Row:DZ}),_J=(e,t)=>{const n=(e=>{const{classes:t}=e;return U.useMemo((()=>eb({cellCheckbox:["cellCheckbox"],columnHeaderCheckbox:["columnHeaderCheckbox"]},BG,t)),[t])})({classes:t.classes}),r=U.useCallback((r=>{const o=Id({},YY,{cellClassName:n.cellCheckbox,headerClassName:n.columnHeaderCheckbox,headerName:e.current.getLocaleText("checkboxSelectionHeaderName")}),a=t.checkboxSelection,i=null!=r.lookup[KY];return a&&!i?(r.lookup[KY]=o,r.all=[KY,...r.all]):!a&&i?(delete r.lookup[KY],r.all=r.all.filter((e=>e!==KY))):a&&i&&(r.lookup[KY]=Id({},o,r.lookup[KY])),r}),[e,n,t.checkboxSelection]);oQ(e,"hydrateColumns",r)},AJ=(e,t)=>{var n,r,o,a;const i=null!=(n=null!=(r=t.sortModel)?r:null==(o=t.initialState)||null==(a=o.sorting)?void 0:a.sortModel)?n:[];return Id({},e,{sorting:{sortModel:TY(i,t.disableMultipleColumnsSorting),sortedRows:[]}})};function OJ(e){const{clientHeight:t,scrollTop:n,offsetHeight:r,offsetTop:o}=e,a=o+r;return r>t?o:a-t>n?a-t:oId({},e,{rowsMeta:{currentPageTotalHeight:0,positions:[]}}),PJ=e=>{var t,n;const r=cQ(void 0,e);((e,t)=>{var n;const r=U.useCallback((e=>{var n;if(null==(n=t.experimentalFeatures)||!n.columnGrouping)return e;const r=wQ(t.columnGroupingModel);return e.all.forEach((t=>{var n,o;const a=null!=(n=r[t])?n:[],i=e.lookup[t];(function(e){return void 0!==e.groupPath})(i)&&jY(a,null==i?void 0:i.groupPath)||(e.lookup[t]=Id({},e.lookup[t],{groupPath:null!=(o=r[t])?o:[]}))})),e}),[t.columnGroupingModel,null==(n=t.experimentalFeatures)?void 0:n.columnGrouping]);oQ(e,"hydrateColumns",r)})(r,e),_J(r,e),(e=>{iQ(e,sQ,"rowTreeCreation",vJ)})(r),dQ(SJ,r,e),dQ(gQ,r,e),dQ(xQ,r,e),dQ(bJ,r,e),dQ(null!=(t=e.experimentalFeatures)&&t.newEditingApi?hJ:sJ,r,e),dQ(KQ,r,e),dQ(AJ,r,e),dQ(rJ,r,e),dQ(qQ,r,e),dQ(CQ,r,e),dQ(tJ,r,e),dQ(NJ,r,e),dQ(hQ,r,e),YQ(r,e),((e,t)=>{const n=ZW(e,"useGridSelection"),r=U.useMemo((()=>wJ(t.selectionModel,cY(e.current.state))),[e,t.selectionModel]),o=U.useRef(null);e.current.unstable_registerControlState({stateId:"selection",propModel:r,propOnChange:t.onSelectionModelChange,stateSelector:cY,changeEvent:"selectionChange"});const{checkboxSelection:a,disableMultipleSelection:i,disableSelectionOnClick:s,pagination:l,paginationMode:u,isRowSelectable:c}=t,d=!i||a,p=OZ(e,t),f=U.useCallback((t=>{var n;let r=t;const a=null!=(n=o.current)?n:t,i=e.current.isRowSelected(t);if(i){const t=PW(e),n=t.findIndex((e=>e===a)),o=t.findIndex((e=>e===r));if(n===o)return;r=n>o?t[o+1]:t[o-1]}o.current=t,e.current.selectRowRange({startId:a,endId:r},!i)}),[e]),m=U.useCallback((t=>{cY(e.current.state)!==t&&(n.debug("Setting selection model"),e.current.setState((e=>Id({},e,{selection:t}))),e.current.forceUpdate())}),[e,n]),h=U.useCallback((t=>cY(e.current.state).includes(t)),[e]),g=U.useCallback((t=>{if(c&&!c(e.current.getRowParams(t)))return!1;const n=e.current.getRowNode(t);return!("footer"===(null==n?void 0:n.position)||null!=n&&n.isPinned)}),[e,c]),b=U.useCallback((()=>pY(e)),[e]),v=U.useCallback(((t,r=!0,a=!1)=>{if(e.current.isRowSelectable(t))if(o.current=t,a)n.debug(`Setting selection for row ${t}`),e.current.setSelectionModel(r?[t]:[]);else{n.debug(`Toggling selection for row ${t}`);const o=cY(e.current.state).filter((e=>e!==t));r&&o.push(t),(o.length<2||d)&&e.current.setSelectionModel(o)}}),[e,n,d]),y=U.useCallback(((t,r=!0,o=!1)=>{n.debug("Setting selection for several rows");const a=t.filter((t=>e.current.isRowSelectable(t)));let i;if(o)i=r?a:[];else{const t=Id({},fY(e));a.forEach((e=>{r?t[e]=e:delete t[e]})),i=Object.values(t)}(i.length<2||d)&&e.current.setSelectionModel(i)}),[e,n,d]),w=U.useCallback((({startId:t,endId:r},o=!0,a)=>{if(!e.current.getRow(t)||!e.current.getRow(r))return;n.debug(`Expanding selection from row ${t} to row ${r}`);const i=PW(e),s=i.indexOf(t),l=i.indexOf(r),[u,c]=s>l?[l,s]:[s,l],d=i.slice(u,c+1);e.current.selectRows(d,o,a)}),[e,n]);JZ(e,{selectRow:v,selectRows:y,selectRowRange:w,setSelectionModel:m,getSelectedRows:b,isRowSelected:h,isRowSelectable:g});const S=U.useCallback((()=>{if(t.keepNonExistentRowsSelected)return;const n=cY(e.current.state),r=rW(e),o=Id({},fY(e));let a=!1;n.forEach((e=>{r[e]||(delete o[e],a=!0)})),a&&e.current.setSelectionModel(Object.values(o))}),[e,t.keepNonExistentRowsSelected]),x=U.useCallback(((t,n)=>{const r=n.metaKey||n.ctrlKey,o=!a&&!r&&!yK(n),i=!d||o,s=e.current.isRowSelected(t);i?e.current.selectRow(t,!!o||!s,!0):e.current.selectRow(t,!s,!1)}),[e,d,a]),E=U.useCallback(((t,n)=>{var r;if(s)return;const o=null==(r=n.target.closest(`.${zG.cell}`))?void 0:r.getAttribute("data-field");o!==YY.field&&o!==NZ&&(o&&e.current.getColumn(o).type===HY||e.current.getRowNode(t.id).isPinned||(n.shiftKey&&(d||a)?f(t.id):x(t.id,n)))}),[s,d,a,e,f,x]),C=U.useCallback(((e,t)=>{var n;d&&t.shiftKey&&(null==(n=window.getSelection())||n.removeAllRanges())}),[d]),k=U.useCallback(((t,n)=>{n.nativeEvent.shiftKey?f(t.id):e.current.selectRow(t.id,t.value)}),[e,f]),R=U.useCallback((n=>{const r=t.checkboxSelectionVisibleOnly&&t.pagination?yY(e):PW(e);e.current.selectRows(r,n.value)}),[e,t.checkboxSelectionVisibleOnly,t.pagination]),T=U.useCallback(((t,n)=>{if(e.current.getCellMode(t.id,t.field)!==aq.Edit&&n.currentTarget.contains(n.target)){if(vK(n.key)&&n.shiftKey){const r=bq(e);if(r&&r.id!==t.id){n.preventDefault();const o=e.current.isRowSelected(r.id);if(!d)return void e.current.selectRow(r.id,!o,!0);const a=e.current.getRowIndexRelativeToVisibleRows(r.id),i=e.current.getRowIndexRelativeToVisibleRows(t.id);let s,l;a>i?o?(s=i,l=a-1):(s=i,l=a):o?(s=a+1,l=i):(s=a,l=i);const u=p.rows.slice(s,l+1).map((e=>e.id));return void e.current.selectRows(u,!o)}}if(" "===n.key&&n.shiftKey)return n.preventDefault(),void x(t.id,n);"a"===n.key.toLowerCase()&&(n.ctrlKey||n.metaKey)&&(n.preventDefault(),y(e.current.getAllRowIds(),!0))}}),[e,x,y,p.rows,d]);zZ(e,"sortedRowsSet",S),zZ(e,"rowClick",E),zZ(e,"rowSelectionCheckboxChange",k),zZ(e,"headerSelectionCheckboxChange",R),zZ(e,"cellMouseDown",C),zZ(e,"cellKeyDown",T),U.useEffect((()=>{void 0!==r&&e.current.setSelectionModel(r)}),[e,r]);const I=null!=r;U.useEffect((()=>{if(I)return;const t=cY(e.current.state);if(g){const n=t.filter((e=>g(e)));n.length{const t=cY(e.current.state);if(!d&&t.length>1){const{rows:n}=AZ(e,{pagination:l,paginationMode:u}),r=n.reduce(((e,{id:t})=>(e[t]=!0,e)),{}),o=t.find((e=>{let t=!0;return g&&(t=g(e)),t&&r[e]}));e.current.setSelectionModel(void 0!==o?[o]:[])}}),[e,d,a,i,g,l,u])})(r,e),function(e,t){var n,r;const o=ZW(e,"useGridColumns"),a=U.useMemo((()=>bX(t.columnTypes)),[t.columnTypes]),i=U.useRef(t.columns),s=U.useRef(a);e.current.unstable_registerControlState({stateId:"visibleColumns",propModel:t.columnVisibilityModel,propOnChange:t.onColumnVisibilityModelChange,stateSelector:SW,changeEvent:"columnVisibilityModelChange"});const l=U.useCallback((t=>{o.debug("Updating columns state."),e.current.setState(wX(t)),e.current.forceUpdate(),e.current.publishEvent("columnsChange",t.all)}),[o,e]),u=U.useCallback((t=>yW(e)[t]),[e]),c=U.useCallback((()=>wW(e)),[e]),d=U.useCallback((()=>xW(e)),[e]),p=U.useCallback((()=>TW(e)),[e]),f=U.useCallback(((t,n=!0)=>(n?xW(e):wW(e)).findIndex((e=>e.field===t))),[e]),m=U.useCallback((t=>{const n=f(t);return EW(e)[n]}),[e,f]),h=U.useCallback((t=>{SW(e)!==t&&(e.current.setState((n=>Id({},n,{columns:yX({apiRef:e,columnTypes:a,columnsToUpsert:[],initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!1,currentColumnVisibilityModel:t,keepOnlyColumnsToUpsert:!1})}))),e.current.forceUpdate())}),[e,a]),g=U.useCallback((t=>{const n=yX({apiRef:e,columnTypes:a,columnsToUpsert:t,initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!0,keepOnlyColumnsToUpsert:!1});l(n)}),[e,l,a]),b=U.useCallback((t=>e.current.updateColumns([t])),[e]),v=U.useCallback(((t,n)=>{if(e.current.unstable_caches.columns.isUsingColumnVisibilityModel){var r;const o=SW(e);if(n!==(null==(r=o[t])||r)){const r=Id({},o,{[t]:n});e.current.setColumnVisibilityModel(r)}}else{const r=Id({},e.current.getColumn(t),{hide:!n});e.current.updateColumns([r]);const o={field:t,colDef:r,isVisible:n};e.current.publishEvent("columnVisibilityChange",o)}}),[e]),y=U.useCallback(((t,n)=>{const r=vW(e),a=r.findIndex((e=>e===t));if(a===n)return;o.debug(`Moving column ${t} to index ${n}`);const i=[...r],s=i.splice(a,1)[0];i.splice(n,0,s),l(Id({},bW(e.current.state),{all:i}));const u={field:t,element:e.current.getColumnHeaderElement(t),colDef:e.current.getColumn(t),targetIndex:n,oldIndex:a};e.current.publishEvent("columnOrderChange",u)}),[e,o,l]),w=U.useCallback(((t,n)=>{o.debug(`Updating column ${t} width to ${n}`);const r=Id({},e.current.getColumn(t),{width:n});e.current.updateColumns([r]),e.current.publishEvent("columnWidthChange",{element:e.current.getColumnHeaderElement(t),colDef:r,width:n})}),[e,o]);JZ(e,{getColumn:u,getAllColumns:c,getColumnIndex:f,getColumnPosition:m,getVisibleColumns:d,getColumnsMeta:p,updateColumn:b,updateColumns:g,setColumnVisibilityModel:h,setColumnVisibility:v,setColumnIndex:y,setColumnWidth:w});const S=U.useCallback(((n,r)=>{const o={};if(e.current.unstable_caches.columns.isUsingColumnVisibilityModel){var a,i,s;const n=SW(e);(!r.exportOnlyDirtyModels||null!=t.columnVisibilityModel||Object.keys(null!=(a=null==(i=t.initialState)||null==(s=i.columns)?void 0:s.columnVisibilityModel)?a:{}).length>0||Object.keys(n).length>0)&&(o.columnVisibilityModel=n)}o.orderedFields=vW(e);const l=wW(e),u={};return l.forEach((e=>{if(e.hasBeenResized){const t={};gX.forEach((n=>{let r=e[n];r===1/0&&(r=-1),t[n]=r})),u[e.field]=t}})),Object.keys(u).length>0&&(o.dimensions=u),Id({},n,{columns:o})}),[e,t.columnVisibilityModel,null==(n=t.initialState)?void 0:n.columns]),x=U.useCallback(((t,n)=>{var r;const o=e.current.unstable_caches.columns.isUsingColumnVisibilityModel?null==(r=n.stateToRestore.columns)?void 0:r.columnVisibilityModel:void 0,i=n.stateToRestore.columns;if(null==o&&null==i)return t;const s=yX({apiRef:e,columnTypes:a,columnsToUpsert:[],initialState:i,shouldRegenColumnVisibilityModelFromColumns:!e.current.unstable_caches.columns.isUsingColumnVisibilityModel,currentColumnVisibilityModel:o,keepOnlyColumnsToUpsert:!1});return e.current.setState(wX(s)),null!=i&&e.current.publishEvent("columnsChange",s.all),t}),[e,a]),E=U.useCallback(((e,n)=>{if(n===iY.columns){var r;const e=t.components.ColumnsPanel;return ee.jsx(e,Id({},null==(r=t.componentsProps)?void 0:r.columnsPanel))}return e}),[t.components.ColumnsPanel,null==(r=t.componentsProps)?void 0:r.columnsPanel]);oQ(e,"exportState",S),oQ(e,"restoreState",x),oQ(e,"preferencePanel",E);const C=U.useRef(null);zZ(e,"viewportInnerSizeChange",(t=>{C.current!==t.width&&(C.current=t.width,l(vX(bW(e.current.state),t.width)))})),HZ(e,"columnVisibilityChange",t.onColumnVisibilityChange);const k=U.useCallback((()=>{o.info("Columns pipe processing have changed, regenerating the columns");const t=yX({apiRef:e,columnTypes:a,columnsToUpsert:[],initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!e.current.unstable_caches.columns.isUsingColumnVisibilityModel,keepOnlyColumnsToUpsert:!1});l(t)}),[e,o,l,a]);aQ(e,"hydrateColumns",k);const R=U.useRef(!0);U.useEffect((()=>{if(R.current)return void(R.current=!1);if(o.info(`GridColumns have changed, new length ${t.columns.length}`),i.current===t.columns&&s.current===a)return;const n=yX({apiRef:e,columnTypes:a,initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!e.current.unstable_caches.columns.isUsingColumnVisibilityModel,columnsToUpsert:t.columns,keepOnlyColumnsToUpsert:!0});i.current=t.columns,s.current=a,l(n)}),[o,e,l,t.columns,a]),U.useEffect((()=>{void 0!==t.columnVisibilityModel&&e.current.setColumnVisibilityModel(t.columnVisibilityModel)}),[e,o,t.columnVisibilityModel])}(r,e),((e,t)=>{const n=ZW(e,"useGridRows"),r=OZ(e,t),o=U.useRef(Date.now()),a=U.useRef(null),i=U.useCallback((t=>{var n;return null!=(n=rW(e)[t])?n:null}),[e]),s=U.useMemo((()=>r.rows.reduce(((e,{id:t},n)=>(e[t]=n,e)),{})),[r.rows]),l=U.useCallback(((n,r)=>{const i=()=>{a.current=null,o.current=Date.now(),e.current.setState((n=>Id({},n,{rows:MQ({apiRef:e,previousTree:aW(e),rowCountProp:t.rowCount,loadingProp:t.loading})}))),e.current.publishEvent("rowsSet"),e.current.forceUpdate()};if(a.current&&(clearTimeout(a.current),a.current=null),e.current.unstable_caches.rows=n,!r)return void i();const s=t.throttleRowsMs-(Date.now()-o.current);s>0?a.current=setTimeout(i,s):i()}),[t.throttleRowsMs,t.rowCount,t.loading,e]),u=U.useCallback((r=>{n.debug(`Updating all rows, new length ${r.length}`);const o=LQ({rows:r,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),a=e.current.unstable_caches.rows;o.rowsBeforePartialUpdates=a.rowsBeforePartialUpdates,l(o,!0)}),[n,t.getRowId,t.loading,t.rowCount,l,e]),c=U.useCallback((n=>{if(t.signature===$Z.DataGrid&&n.length>1)throw new Error(["MUI: You can't update several rows at once in `apiRef.current.updateRows` on the DataGrid.","You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature."].join("\n"));const r=new Map;n.forEach((e=>{const n=PQ(e,t.getRowId,"A row was provided without id when calling updateRows():");r.has(n)?r.set(n,Id({},r.get(n),e)):r.set(n,e)}));const o=[],a=e.current.unstable_caches.rows,i={rowsBeforePartialUpdates:a.rowsBeforePartialUpdates,loadingPropBeforePartialUpdates:a.loadingPropBeforePartialUpdates,rowCountPropBeforePartialUpdates:a.rowCountPropBeforePartialUpdates,idRowsLookup:Id({},a.idRowsLookup),idToIdLookup:Id({},a.idToIdLookup),ids:[...a.ids]};r.forEach(((t,n)=>"delete"===t._action?(delete i.idRowsLookup[n],delete i.idToIdLookup[n],void o.push(n)):e.current.getRow(n)?void(i.idRowsLookup[n]=Id({},e.current.getRow(n),t)):(i.idRowsLookup[n]=t,i.idToIdLookup[n]=n,void i.ids.push(n)))),o.length>0&&(i.ids=i.ids.filter((e=>!o.includes(e)))),l(i,!0)}),[t.signature,t.getRowId,l,e]),d=U.useCallback((()=>{const t=lW(e),n=rW(e);return new Map(t.map((e=>[e,n[e]])))}),[e]),p=U.useCallback((()=>eW(e)),[e]),f=U.useCallback((()=>lW(e)),[e]),m=U.useCallback((e=>s[e]),[s]),h=U.useCallback(((t,n)=>{const r=e.current.getRowNode(t);if(!r)throw new Error(`MUI: No row with id #${t} found`);const o=Id({},r,{childrenExpanded:n});e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{tree:Id({},e.rows.tree,{[t]:o})})}))),e.current.forceUpdate(),e.current.publishEvent("rowExpansionChange",o)}),[e]),g=U.useCallback((t=>{var n;return null!=(n=aW(e)[t])?n:null}),[e]),b=U.useCallback((({skipAutoGeneratedRows:t=!0,groupId:n,applySorting:r,applyFiltering:o})=>{const a=aW(e);let i;if(r){const r=a[n];if(!r)return[];const o=fW(e);i=[];const s=o.findIndex((e=>e===n))+1;for(let e=s;er.depth;e+=1){const n=o[e],r=a[n];t&&r.isAutoGenerated||i.push(n)}}else i=DQ(a,n,t);if(o){const t=OW(e);i=i.filter((e=>!1!==t[e]))}return i}),[e]),v={getRow:i,getRowModels:d,getRowsCount:p,getAllRowIds:f,setRows:u,setRowIndex:U.useCallback(((t,r)=>{const o=lW(e),a=o.findIndex((e=>e===t));if(-1===a||a===r)return;n.debug(`Moving row ${t} to index ${r}`);const i=[...o];i.splice(r,0,i.splice(a,1)[0]),e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{ids:i})}))),e.current.unstable_caches.rows.ids=i,e.current.publishEvent("rowsSet")}),[e,n]),updateRows:c,setRowChildrenExpansion:h,getRowNode:g,getRowIndexRelativeToVisibleRows:m,getRowGroupChildren:b,unstable_replaceRows:U.useCallback(((n,r)=>{if(t.signature===$Z.DataGrid&&r.length>1)throw new Error(["MUI: You can't replace rows using `apiRef.current.unstable_replaceRows` on the DataGrid.","You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature."].join("\n"));if(0===r.length)return;const o=[...lW(e)],a=rW(e),i=oW(e),s=aW(e),l=Id({},a),u=Id({},i),c=Id({},s),d=r.map((e=>({id:PQ(e,t.getRowId,"A row was provided without id when calling replaceRows()."),model:e})));d.forEach(((e,t)=>{const[r]=o.splice(n+t,1,e.id);delete l[r],delete u[r],delete c[r]})),d.forEach((e=>{const t={id:e.id,parent:null,depth:0,groupingKey:null,groupingField:null};l[e.id]=e.model,u[e.id]=e.id,c[e.id]=t})),e.current.unstable_caches.rows.idRowsLookup=l,e.current.unstable_caches.rows.idToIdLookup=u,e.current.unstable_caches.rows.ids=o,e.current.setState((e=>{const t={idRowsLookup:l,idToIdLookup:u,tree:c,ids:o};return Id({},e,{rows:Id({},e.rows,t,{groupingResponseBeforeRowHydration:Id({},e.rows.groupingResponseBeforeRowHydration,t)})})})),e.current.publishEvent("rowsSet")}),[e,t.signature,t.getRowId])},y=U.useCallback((()=>{let r;n.info("Row grouping pre-processing have changed, regenerating the row tree"),r=e.current.unstable_caches.rows.rowsBeforePartialUpdates===t.rows?e.current.unstable_caches.rows:LQ({rows:t.rows,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),l(r,!1)}),[n,e,t.rows,t.getRowId,t.loading,t.rowCount,l]),w=U.useCallback((e=>{"rowTreeCreation"===e&&y()}),[y]),S=U.useCallback((()=>{e.current.unstable_getActiveStrategy("rowTree")!==iW(e)&&y()}),[e,y]);zZ(e,"activeStrategyProcessorChange",w),zZ(e,"strategyAvailabilityChange",S);const x=U.useCallback((()=>{e.current.setState((t=>Id({},t,{rows:Id({},t.rows,e.current.unstable_applyPipeProcessors("hydrateRows",t.rows.groupingResponseBeforeRowHydration))}))),e.current.publishEvent("rowsSet"),e.current.forceUpdate()}),[e]);aQ(e,"hydrateRows",x),JZ(e,v),U.useEffect((()=>()=>{null!==a.current&&clearTimeout(a.current)}),[]);const E=U.useRef(!0);U.useEffect((()=>{if(E.current)return void(E.current=!1);const r=e.current.unstable_caches.rows.rowsBeforePartialUpdates===t.rows,o=e.current.unstable_caches.rows.loadingPropBeforePartialUpdates===t.loading,a=e.current.unstable_caches.rows.rowCountPropBeforePartialUpdates===t.rowCount;if(r)return o||(e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{loading:t.loading})}))),e.current.unstable_caches.rows.loadingPropBeforePartialUpdates=t.loading,e.current.forceUpdate()),void(a||(e.current.setState((e=>Id({},e,{rows:Id({},e.rows,{totalRowCount:Math.max(t.rowCount||0,e.rows.totalRowCount),totalTopLevelRowCount:Math.max(t.rowCount||0,e.rows.totalTopLevelRowCount)})}))),e.current.unstable_caches.rows.rowCountPropBeforePartialUpdates=t.rowCount,e.current.forceUpdate()));n.debug(`Updating all rows, new length ${t.rows.length}`),l(LQ({rows:t.rows,getRowId:t.getRowId,loading:t.loading,rowCount:t.rowCount}),!1)}),[t.rows,t.rowCount,t.getRowId,t.loading,n,l,e])})(r,e),yJ(r),(e=>{const t=U.useRef({}),n=U.useCallback(((e,n,r)=>{const o=t.current;o[e]||(o[e]={}),o[e][n]=r}),[]),r=U.useCallback(((e,n)=>{var r;return null==(r=t.current[e])?void 0:r[n]}),[]),o=U.useCallback((t=>{const{columnIndex:r,rowId:o,minFirstColumnIndex:a,maxLastColumnIndex:i,columns:s}=t,l=s.length,u=s[r],c="function"==typeof u.colSpan?u.colSpan(e.current.getCellParams(o,u.field)):u.colSpan;if(!c||1===c)return n(o,r,{spannedByColSpan:!1,cellProps:{colSpan:1,width:u.computedWidth}}),{colSpan:1};let d=u.computedWidth;for(let e=1;e=a&&t{for(let a=t;a1&&(a+=i.colSpan-1)}}),[o]);JZ(e,{unstable_getCellColSpanInfo:r,unstable_calculateColSpan:a});const i=U.useCallback((()=>{t.current={}}),[]);zZ(e,"columnOrderChange",i)})(r),((e,t)=>{var n;const r=U.useCallback((t=>{var n,r;return null!=(n=null==(r=yW(e)[t])?void 0:r.groupPath)?n:[]}),[e]),o=U.useCallback((()=>bQ(e)),[e]);JZ(e,{unstable_getColumnGroupPath:r,unstable_getAllGroupDetails:o});const a=U.useRef(!0);U.useEffect((()=>{var n,r;if(a.current)return void(a.current=!1);if(null==(n=t.experimentalFeatures)||!n.columnGrouping)return;const o=SQ(null!=(r=t.columnGroupingModel)?r:[]);e.current.setState((e=>Id({},e,{columnGrouping:Id({},e.columnGrouping,{lookup:o})})))}),[e,t.columnGroupingModel,null==(n=t.experimentalFeatures)?void 0:n.columnGrouping])})(r,e);return(null!=(n=e.experimentalFeatures)&&n.newEditingApi?gJ:lJ)(r,e),((e,t)=>{const n=ZW(e,"useGridFocus"),r=U.useRef(null),o=U.useCallback(((t,n)=>{t&&e.current.getRow(t.id)&&e.current.publishEvent("cellFocusOut",e.current.getCellParams(t.id,t.field),n)}),[e]),a=U.useCallback(((t,r)=>{const a=bq(e);(null==a?void 0:a.id)===t&&(null==a?void 0:a.field)===r||(e.current.setState((e=>(n.debug(`Focusing on cell with id=${t} and field=${r}`),Id({},e,{tabIndex:{cell:{id:t,field:r},columnHeader:null},focus:{cell:{id:t,field:r},columnHeader:null}})))),e.current.forceUpdate(),e.current.getRow(t)&&(a&&o(a,{}),e.current.publishEvent("cellFocusIn",e.current.getCellParams(t,r))))}),[e,n,o]),i=U.useCallback(((t,r={})=>{const a=bq(e);o(a,r),e.current.setState((e=>(n.debug(`Focusing on column header with colIndex=${t}`),Id({},e,{tabIndex:{columnHeader:{field:t},cell:null},focus:{columnHeader:{field:t},cell:null}})))),e.current.forceUpdate()}),[e,n,o]),s=U.useCallback(((n,r,o)=>{let a=e.current.getColumnIndex(r),i=e.current.getRowIndexRelativeToVisibleRows(n);const s=xW(e);"right"===o?a+=1:"left"===o?a-=1:i+=1;const l=AZ(e,{pagination:t.pagination,paginationMode:t.paginationMode});a>=s.length?(i+=1,i=0&&(a=s.length-1)),i=DY(i,0,l.rows.length-1);const u=l.rows[i],c=e.current.unstable_getCellColSpanInfo(u.id,a);c&&c.spannedByColSpan&&("left"===o||"below"===o?a=c.leftVisibleCellIndex:"right"===o&&(a=c.rightVisibleCellIndex)),a=DY(a,0,s.length-1);const d=s[a];e.current.setCellFocus(u.id,d.field)}),[e,t.pagination,t.paginationMode]),l=U.useCallback((({id:t,field:n})=>{e.current.setCellFocus(t,n)}),[e]),u=U.useCallback(((t,n)=>{"Enter"===n.key||"Tab"===n.key||vK(n.key)||e.current.setCellFocus(t.id,t.field)}),[e]),c=U.useCallback((({field:t},n)=>{n.target===n.currentTarget&&e.current.setColumnHeaderFocus(t,n)}),[e]),d=U.useCallback((()=>{n.debug("Clearing focus"),e.current.setState((e=>Id({},e,{focus:{cell:null,columnHeader:null}})))}),[n,e]),p=U.useCallback((e=>{r.current=e}),[]),f=U.useCallback((t=>{const n=r.current;r.current=null;const a=bq(e);if(!a)return void(n&&e.current.setCellFocus(n.id,n.field));if((null==n?void 0:n.id)===a.id&&(null==n?void 0:n.field)===a.field)return;const i=e.current.getCellElement(a.id,a.field);null!=i&&i.contains(t.target)||(n?e.current.setCellFocus(n.id,n.field):(e.current.setState((e=>Id({},e,{focus:{cell:null,columnHeader:null}}))),e.current.forceUpdate(),o(a,t)))}),[e,o]),m=U.useCallback((t=>{if("view"===t.cellMode)return;const n=bq(e);(null==n?void 0:n.id)===t.id&&(null==n?void 0:n.field)===t.field||e.current.setCellFocus(t.id,t.field)}),[e]),h=U.useCallback((()=>{const t=bq(e);t&&!e.current.getRow(t.id)&&e.current.setState((e=>Id({},e,{focus:{cell:null,columnHeader:null}})))}),[e]);JZ(e,{setCellFocus:a,setColumnHeaderFocus:i,unstable_moveFocusToRelativeCell:s}),U.useEffect((()=>{const t=Rg(e.current.rootElementRef.current);return t.addEventListener("click",f),()=>{t.removeEventListener("click",f)}}),[e,f]),zZ(e,"columnHeaderBlur",d),zZ(e,"cellDoubleClick",l),zZ(e,"cellMouseDown",p),zZ(e,"cellKeyDown",u),zZ(e,"cellModeChange",m),zZ(e,"columnHeaderFocus",c),zZ(e,"rowsSet",h)})(r,e),((e,t)=>{var n;const r=ZW(e,"useGridPreferencesPanel"),o=U.useRef(),a=U.useRef(),i=U.useCallback((()=>{r.debug("Hiding Preferences Panel");const t=aY(e.current.state);t.openedPanelValue&&e.current.publishEvent("preferencePanelClose",{openedPanelValue:t.openedPanelValue}),e.current.setState((e=>Id({},e,{preferencePanel:{open:!1}}))),e.current.forceUpdate()}),[e,r]),s=U.useCallback((()=>{a.current=setTimeout((()=>clearTimeout(o.current)),0)}),[]),l=U.useCallback((()=>{o.current=setTimeout(i,100)}),[i]),u=U.useCallback((t=>{r.debug("Opening Preferences Panel"),s(),e.current.setState((e=>Id({},e,{preferencePanel:Id({},e.preferencePanel,{open:!0,openedPanelValue:t})}))),e.current.publishEvent("preferencePanelOpen",{openedPanelValue:t}),e.current.forceUpdate()}),[r,s,e]);JZ(e,{showPreferences:u,hidePreferences:l});const c=U.useCallback(((n,r)=>{var o;const a=aY(e.current.state);return!r.exportOnlyDirtyModels||null!=(null==(o=t.initialState)?void 0:o.preferencePanel)||a.open?Id({},n,{preferencePanel:a}):n}),[e,null==(n=t.initialState)?void 0:n.preferencePanel]),d=U.useCallback(((t,n)=>{const r=n.stateToRestore.preferencePanel;return null!=r&&e.current.setState((e=>Id({},e,{preferencePanel:r}))),t}),[e]);oQ(e,"exportState",c),oQ(e,"restoreState",d),U.useEffect((()=>()=>{clearTimeout(o.current),clearTimeout(a.current)}),[])})(r,e),((e,t)=>{var n,r,o;const a=ZW(e,"useGridFilter");e.current.unstable_registerControlState({stateId:"filter",propModel:t.filterModel,propOnChange:t.onFilterModelChange,stateSelector:_W,changeEvent:"filterModelChange"});const i=U.useCallback((()=>{e.current.setState((n=>{const r=_W(n,e.current.instanceId),o=t.filterMode===sq?GQ(r,e):null,a=e.current.unstable_applyStrategyProcessor("filtering",{isRowMatchingFilters:o,filterModel:null!=r?r:bZ()});return Id({},n,{filter:Id({},n.filter,a)})})),e.current.publishEvent("filteredRowsSet")}),[t.filterMode,e]),s=U.useCallback((()=>{i(),e.current.forceUpdate()}),[e,i]),l=U.useCallback((t=>{const n=_W(e),r=[...n.items],o=r.findIndex((e=>e.id===t.id));-1===o?r.push(t):r[o]=t,e.current.setFilterModel(Id({},n,{items:r}),"upsertFilterItem")}),[e]),u=U.useCallback((t=>{const n=_W(e),r=[...n.items];t.forEach((e=>{const n=t.findIndex((t=>t.id===e.id));-1===n?r.push(e):r[n]=e})),e.current.setFilterModel(Id({},n,{items:t}),"upsertFilterItems")}),[e]),c=U.useCallback((t=>{const n=_W(e),r=n.items.filter((e=>e.id!==t.id));r.length!==n.items.length&&e.current.setFilterModel(Id({},n,{items:r}),"deleteFilterItem")}),[e]),d=U.useCallback((n=>{if(a.debug("Displaying filter panel"),n){const r=_W(e),o=r.items.filter((t=>{var n;if(void 0!==t.value)return!0;const r=null==(n=e.current.getColumn(t.columnField).filterOperators)?void 0:n.find((e=>e.value===t.operatorValue));return!(void 0===(null==r?void 0:r.requiresFilterValue)||(null==r?void 0:r.requiresFilterValue))}));let a;a=o.find((e=>e.columnField===n))?o:t.disableMultipleColumnsFiltering?[FQ({columnField:n},e)]:[...o,FQ({columnField:n},e)],e.current.setFilterModel(Id({},r,{items:a}))}e.current.showPreferences(iY.filters)}),[e,a,t.disableMultipleColumnsFiltering]),p=U.useCallback((()=>{a.debug("Hiding filter panel"),e.current.hidePreferences()}),[e,a]),f=U.useCallback((t=>{const n=_W(e);n.linkOperator!==t&&e.current.setFilterModel(Id({},n,{linkOperator:t}),"changeLogicOperator")}),[e]),m=U.useCallback((t=>{const n=_W(e);jY(n.quickFilterValues,t)||e.current.setFilterModel(Id({},n,{quickFilterValues:[...t]}))}),[e]),h=U.useCallback(((n,r)=>{_W(e)!==n&&(a.debug("Setting filter model"),e.current.unstable_updateControlState("filter",HQ(n,t.disableMultipleColumnsFiltering,e),r),e.current.unstable_applyFilters())}),[e,a,t.disableMultipleColumnsFiltering]),g=U.useCallback((()=>{const t=NW(e);return new Map(t.map((e=>[e.id,e.model])))}),[e]);JZ(e,{setFilterLinkOperator:f,unstable_applyFilters:s,deleteFilterItem:c,upsertFilterItem:l,upsertFilterItems:u,setFilterModel:h,showFilterPanel:d,hideFilterPanel:p,getVisibleRowModels:g,setQuickFilterValues:m});const b=U.useCallback(((n,r)=>{var o,a;const i=_W(e);return r.exportOnlyDirtyModels&&null==t.filterModel&&null==(null==(o=t.initialState)||null==(a=o.filter)?void 0:a.filterModel)&&jY(i,bZ())?n:Id({},n,{filter:{filterModel:i}})}),[e,t.filterModel,null==(n=t.initialState)||null==(r=n.filter)?void 0:r.filterModel]),v=U.useCallback(((n,r)=>{var o;const a=null==(o=r.stateToRestore.filter)?void 0:o.filterModel;return null==a?n:(e.current.unstable_updateControlState("filter",HQ(a,t.disableMultipleColumnsFiltering,e),"restoreState"),Id({},n,{callbacks:[...n.callbacks,e.current.unstable_applyFilters]}))}),[e,t.disableMultipleColumnsFiltering]),y=U.useCallback(((e,n)=>{if(n===iY.filters){var r;const e=t.components.FilterPanel;return ee.jsx(e,Id({},null==(r=t.componentsProps)?void 0:r.filterPanel))}return e}),[t.components.FilterPanel,null==(o=t.componentsProps)?void 0:o.filterPanel]),w=U.useCallback((n=>{if(t.filterMode===sq&&n.isRowMatchingFilters){const t=lW(e),r={};for(let o=0;o{a.debug("onColUpdated - GridColumns changed, applying filters");const t=_W(e),n=RW(e),r=t.items.filter((e=>e.columnField&&n[e.columnField]));r.length{"filtering"===t&&e.current.unstable_applyFilters()}),[e]);zZ(e,"rowsSet",i),zZ(e,"rowExpansionChange",e.current.unstable_applyFilters),zZ(e,"columnsChange",S),zZ(e,"activeStrategyProcessorChange",x),rQ((()=>{e.current.unstable_applyFilters()})),U.useEffect((()=>{void 0!==t.filterModel&&e.current.setFilterModel(t.filterModel)}),[e,a,t.filterModel])})(r,e),((e,t)=>{var n,r;const o=ZW(e,"useGridSorting");e.current.unstable_registerControlState({stateId:"sortModel",propModel:t.sortModel,propOnChange:t.onSortModelChange,stateSelector:hW,changeEvent:"sortModelChange"});const a=U.useCallback(((t,n)=>{const r=hW(e),o=r.findIndex((e=>e.field===t));let a=[...r];return o>-1?n?a.splice(o,1,n):a.splice(o,1):a=[...r,n],a}),[e]),i=U.useCallback(((n,r)=>{var o;const a=hW(e).find((e=>e.field===n.field));if(a){var i;const e=void 0===r?_Y(null!=(i=n.sortingOrder)?i:t.sortingOrder,a.sort):r;return null==e?void 0:Id({},a,{sort:e})}return{field:n.field,sort:void 0===r?_Y(null!=(o=n.sortingOrder)?o:t.sortingOrder):r}}),[e,t.sortingOrder]),s=U.useCallback((()=>{e.current.setState((n=>{if(t.sortingMode===lq)return o.debug("Skipping sorting rows as sortingMode = server"),Id({},n,{sorting:Id({},n.sorting,{sortedRows:lW(n,e.current.instanceId)})});const r=((e,t)=>{const n=e.map((e=>((e,t)=>{const n=t.current.getColumn(e.field);return n?{getSortCellParams:e=>({id:e,field:n.field,rowNode:t.current.getRowNode(e),value:t.current.getCellValue(e,n.field),api:t.current}),comparator:"desc"===e.sort?(...e)=>-1*n.sortComparator(...e):n.sortComparator}:null})(e,t))).filter((e=>!!e));return 0===n.length?null:e=>e.map((e=>({node:e,params:n.map((t=>t.getSortCellParams(e.id)))}))).sort(((e,t)=>{return r=e,o=t,n.reduce(((e,t,n)=>{if(0!==e)return e;const a=r.params[n],i=o.params[n];return t.comparator(a.value,i.value,a,i)}),0);var r,o})).map((e=>e.node.id))})(hW(n,e.current.instanceId),e),a=e.current.unstable_applyStrategyProcessor("sorting",{sortRowList:r});return Id({},n,{sorting:Id({},n.sorting,{sortedRows:a})})})),e.current.publishEvent("sortedRowsSet"),e.current.forceUpdate()}),[e,o,t.sortingMode]),l=U.useCallback((n=>{hW(e)!==n&&(o.debug("Setting sort model"),e.current.setState(IY(n,t.disableMultipleColumnsSorting)),e.current.forceUpdate(),e.current.applySorting())}),[e,o,t.disableMultipleColumnsSorting]),u=U.useCallback(((n,r,o)=>{if(!n.sortable)return;const s=i(n,r);let l;l=!o||t.disableMultipleColumnsSorting?s?[s]:[]:a(n.field,s),e.current.setSortModel(l)}),[e,a,i,t.disableMultipleColumnsSorting]),c=U.useCallback((()=>hW(e)),[e]),d=U.useCallback((()=>mW(e).map((e=>e.model))),[e]),p=U.useCallback((()=>fW(e)),[e]),f=U.useCallback((t=>e.current.getSortedRowIds().indexOf(t)),[e]),m=U.useCallback((t=>e.current.getSortedRowIds()[t]),[e]);JZ(e,{getSortModel:c,getSortedRows:d,getSortedRowIds:p,getRowIndex:f,getRowIdFromRowIndex:m,setSortModel:l,sortColumn:u,applySorting:s});const h=U.useCallback(((n,r)=>{var o,a;const i=hW(e);return!r.exportOnlyDirtyModels||null!=t.sortModel||null!=(null==(o=t.initialState)||null==(a=o.sorting)?void 0:a.sortModel)||i.length>0?Id({},n,{sorting:{sortModel:i}}):n}),[e,t.sortModel,null==(n=t.initialState)||null==(r=n.sorting)?void 0:r.sortModel]),g=U.useCallback(((n,r)=>{var o;const a=null==(o=r.stateToRestore.sorting)?void 0:o.sortModel;return null==a?n:(e.current.setState(IY(a,t.disableMultipleColumnsSorting)),Id({},n,{callbacks:[...n.callbacks,e.current.applySorting]}))}),[e,t.disableMultipleColumnsSorting]),b=U.useCallback((t=>{const n=aW(e);if(!t.sortRowList){const t=[],r=[];return lW(e).forEach((e=>{n[e].isPinned||("footer"===n[e].position?r.push(e):t.push(e))})),[...t,...r]}const r=[],o=[];return Object.values(n).forEach((e=>{e.isPinned||("footer"===e.position?o.push(e.id):r.push(e))})),[...t.sortRowList(r),...o]}),[e]);oQ(e,"exportState",h),oQ(e,"restoreState",g),iQ(e,sQ,"sorting",b);const v=U.useCallback((({colDef:e},t)=>{const n=t.shiftKey||t.metaKey||t.ctrlKey;u(e,void 0,n)}),[u]),y=U.useCallback((({colDef:e},t)=>{!cK(t.key)||t.ctrlKey||t.metaKey||u(e,void 0,t.shiftKey)}),[u]),w=U.useCallback((()=>{const t=hW(e),n=yW(e);if(t.length>0){const r=t.filter((e=>n[e.field]));r.length{"sorting"===t&&e.current.applySorting()}),[e]);zZ(e,"columnHeaderClick",v),zZ(e,"columnHeaderKeyDown",y),zZ(e,"rowsSet",e.current.applySorting),zZ(e,"columnsChange",w),zZ(e,"activeStrategyProcessorChange",S),rQ((()=>{e.current.applySorting()})),U.useEffect((()=>{void 0!==t.sortModel&&e.current.setSortModel(t.sortModel)}),[e,t.sortModel])})(r,e),((e,t)=>{const n=XG(e,xW),r=n.length>0?Math.max(...n.map((e=>{var t,n;return null!=(t=null==(n=e.groupPath)?void 0:n.length)?t:0}))):0,o=ZW(e,"useDensity"),a=U.useCallback(((n,a=t.headerHeight,i=t.rowHeight,s=r)=>{o.debug(`Set grid density to ${n}`),e.current.setState((e=>{const t=zW(e),r=EQ(n,a,i,s);return jY(t,r)?e:Id({},e,{density:r})})),e.current.forceUpdate()}),[o,e,t.headerHeight,t.rowHeight,r]);U.useEffect((()=>{e.current.setDensity(t.density,t.headerHeight,t.rowHeight,r)}),[e,t.density,t.rowHeight,t.headerHeight,r]),JZ(e,{setDensity:a})})(r,e),nJ(r,e),((e,t)=>{const{getRowHeight:n,getRowSpacing:r,getEstimatedRowHeight:o}=t,a=U.useRef({}),i=U.useRef(-1),s=U.useRef(!1),l=XG(e,HW),u=XG(e,IW),c=XG(e,mY),d=XG(e,pW),p=OZ(e,t),f=XG(e,cW),m=U.useCallback((()=>{var t,u;s.current=!1;const c=WW(e.current.state,e.current.instanceId),d=t=>{a.current[t.id]||(a.current[t.id]={sizes:{baseCenter:l},isResized:!1,autoHeight:!1,needsFirstMeasurement:!0});const{isResized:i,needsFirstMeasurement:u,sizes:d}=a.current[t.id];let f=l;const m=d.baseCenter;if(i)f=m;else if(n){const e=n(Id({},t,{densityFactor:c}));if("auto"===e){if(u){const e=o?o(Id({},t,{densityFactor:c})):l;f=null!=e?e:l}else f=m;s.current=!0,a.current[t.id].autoHeight=!0}else f=null!=e?e:l,a.current[t.id].needsFirstMeasurement=!1,a.current[t.id].autoHeight=!1}else a.current[t.id].needsFirstMeasurement=!1;const h=Id({},Object.entries(d).reduce(((e,[t,n])=>(/^base[A-Z]/.test(t)&&(e[t]=n),e)),{}),{baseCenter:f});if(r){var g,b;const n=e.current.getRowIndexRelativeToVisibleRows(t.id),o=r(Id({},t,{isFirstVisible:0===n,isLastVisible:n===p.rows.length-1,indexRelativeToCurrentPage:n}));h.spacingTop=null!=(g=o.top)?g:0,h.spacingBottom=null!=(b=o.bottom)?b:0}const v=e.current.unstable_applyPipeProcessors("rowHeight",h,t);return a.current[t.id].sizes=v,v},m=[],h=p.rows.reduce(((e,t)=>{m.push(e);let n=0,r=0;const o=d(t);return Object.entries(o).forEach((([e,t])=>{/^base[A-Z]/.test(e)?n=t>n?t:n:r+=t})),e+n+r}),0);null==f||null==(t=f.top)||t.forEach((e=>{d(e)})),null==f||null==(u=f.bottom)||u.forEach((e=>{d(e)})),e.current.setState((e=>Id({},e,{rowsMeta:{currentPageTotalHeight:h,positions:m}}))),s.current||(i.current=1/0),e.current.forceUpdate()}),[e,p.rows,l,n,r,o,f]),h=U.useCallback((e=>{const t=a.current[e];return t?t.sizes.baseCenter:l}),[l]),g=U.useCallback(((e,t)=>{a.current[e].sizes.baseCenter=t,a.current[e].isResized=!0,a.current[e].needsFirstMeasurement=!1,m()}),[m]),b=U.useMemo((()=>Cg(m)),[m]),v=U.useCallback(((e,t,n)=>{if(!a.current[e]||!a.current[e].autoHeight)return;const r=a.current[e].sizes[`base${cm(n)}`]!==t;a.current[e].needsFirstMeasurement=!1,a.current[e].sizes[`base${cm(n)}`]=t,r&&b()}),[b]),y=U.useCallback((e=>{var t;return(null==(t=a.current[e])?void 0:t.autoHeight)||!1}),[]),w=U.useCallback((()=>i.current),[]),S=U.useCallback((e=>{s.current&&e>i.current&&(i.current=e)}),[]),x=U.useCallback((()=>{a.current={},m()}),[m]);U.useEffect((()=>{m()}),[l,u,c,d,m]),aQ(e,"rowHeight",m),JZ(e,{unstable_getLastMeasuredRowIndex:w,unstable_setLastMeasuredRowIndex:S,unstable_rowHasAutoHeight:y,unstable_getRowHeight:h,unstable_getRowInternalSizes:e=>{var t;return null==(t=a.current[e])?void 0:t.sizes},unstable_setRowHeight:g,unstable_storeRowHeightMeasurement:v,resetRowHeights:x})})(r,e),((e,t)=>{const n=ZW(e,"useGridScroll"),r=e.current.columnHeadersElementRef,o=e.current.windowRef,a=XG(e,NW),i=U.useCallback((r=>{const i=eW(e),s=xW(e);if(null!=r.rowIndex&&0===i||0===s.length)return!1;n.debug(`Scrolling to cell at row ${r.rowIndex}, col: ${r.colIndex} `);let l={};if(null!=r.colIndex){const t=EW(e);let n;if(void 0!==r.rowIndex){var u;const t=null==(u=a[r.rowIndex])?void 0:u.id,o=e.current.unstable_getCellColSpanInfo(t,r.colIndex);o&&!o.spannedByColSpan&&(n=o.cellProps.width)}void 0===n&&(n=s[r.colIndex].computedWidth),l.left=OJ({clientHeight:o.current.clientWidth,scrollTop:o.current.scrollLeft,offsetHeight:n,offsetTop:t[r.colIndex]})}if(null!=r.rowIndex){var c,d;const n=AQ(e.current.state),a=hY(e),i=gY(e),s=t.pagination?r.rowIndex-a*i:r.rowIndex,u=n.positions[s+1]?n.positions[s+1]-n.positions[s]:n.currentPageTotalHeight-n.positions[s],p=(null==(c=o.current.querySelector(`.${zG["pinnedRows--top"]}`))?void 0:c.clientHeight)||0,f=(null==(d=o.current.querySelector(`.${zG["pinnedRows--bottom"]}`))?void 0:d.clientHeight)||0;l.top=OJ({clientHeight:o.current.clientHeight-p-f,scrollTop:o.current.scrollTop,offsetHeight:u,offsetTop:n.positions[s]})}return l=e.current.unstable_applyPipeProcessors("scrollToIndexes",l,r),(void 0!==typeof l.left||void 0!==typeof l.top)&&(e.current.scroll(l),!0)}),[n,e,o,t.pagination,a]),s=U.useCallback((e=>{o.current&&null!=e.left&&r.current&&(r.current.scrollLeft=e.left,o.current.scrollLeft=e.left,n.debug(`Scrolling left: ${e.left}`)),o.current&&null!=e.top&&(o.current.scrollTop=e.top,n.debug(`Scrolling top: ${e.top}`)),n.debug("Scrolling, updating container, and viewport")}),[o,r,n]),l=U.useCallback((()=>null!=o&&o.current?{top:o.current.scrollTop,left:o.current.scrollLeft}:{top:0,left:0}),[o]);JZ(e,{scroll:s,scrollToIndexes:i,getScrollPosition:l})})(r,e),(e=>{const t=ZW(e,"useGridColumnMenu"),n=U.useCallback((n=>{e.current.setState((e=>e.columnMenu.open&&e.columnMenu.field===n?e:(t.debug("Opening Column Menu"),Id({},e,{columnMenu:{open:!0,field:n}}))))&&(e.current.hidePreferences(),e.current.forceUpdate())}),[e,t]),r=U.useCallback((()=>{e.current.setState((e=>e.columnMenu.open||void 0!==e.columnMenu.field?(t.debug("Hiding Column Menu"),Id({},e,{columnMenu:Id({},e.columnMenu,{open:!1,field:void 0})})):e))&&e.current.forceUpdate()}),[e,t]),o=U.useCallback((o=>{t.debug("Toggle Column Menu");const a=mQ(e.current.state);a.open&&a.field===o?r():n(o)}),[e,t,n,r]);JZ(e,{showColumnMenu:n,hideColumnMenu:r,toggleColumnMenu:o});const a=U.useCallback(((t,n)=>{if(!n.target.classList.contains(zG.menuIconButton))return;if(!n.relatedTarget)return;const r=n.relatedTarget.classList.contains(zG.menuList),o="menuitem"===n.relatedTarget.getAttribute("role");(r||o)&&e.current.setColumnHeaderFocus(t.field)}),[e]);zZ(e,"columnResizeStart",r),zZ(e,"columnHeaderFocus",a),zZ(e,"virtualScrollerWheel",e.current.hideColumnMenu),zZ(e,"virtualScrollerTouchMove",e.current.hideColumnMenu)})(r),_Q(r),OQ(r,e),fQ(r),function(e,t){const n=ZW(e,"useResizeContainer"),r=U.useRef(!1),o=U.useRef(null),a=U.useRef(null),i=XG(e,AQ),s=XG(e,qW),l=U.useCallback((()=>{var n;const r=null==(n=e.current.rootElementRef)?void 0:n.current,l=CW(e),u=jQ(e);if(!o.current)return;let c,d,p,f;if(null!=t.scrollbarSize)c=t.scrollbarSize;else if(l&&r){const e=Rg(r).createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.overflow="scroll",e.className="scrollDiv",r.appendChild(e),c=e.offsetWidth-e.clientWidth,r.removeChild(e)}else c=0;if(t.autoHeight)f=!1,p=Math.round(l)>o.current.width,d={width:o.current.width,height:i.currentPageTotalHeight+(p?c:0)};else{d={width:o.current.width,height:o.current.height-s};const e=(({content:e,container:t,scrollBarSize:n})=>{const r=e.width>t.width,o=e.height>t.height;let a=!1,i=!1;return(r||o)&&(a=r,i=e.height+(a?n:0)>t.height,i&&(a=e.width+n>t.width)),{hasScrollX:a,hasScrollY:i}})({content:{width:Math.round(l),height:i.currentPageTotalHeight},container:{width:d.width,height:d.height-u.top-u.bottom},scrollBarSize:c});f=e.hasScrollY,p=e.hasScrollX}const m={viewportOuterSize:d,viewportInnerSize:{width:d.width-(f?c:0),height:d.height-(p?c:0)},hasScrollX:p,hasScrollY:f,scrollBarSize:c},h=a.current;a.current=m,m.viewportInnerSize.width===(null==h?void 0:h.viewportInnerSize.width)&&m.viewportInnerSize.height===(null==h?void 0:h.viewportInnerSize.height)||e.current.publishEvent("viewportInnerSizeChange",m.viewportInnerSize)}),[e,t.scrollbarSize,t.autoHeight,s,i.currentPageTotalHeight]),u=U.useCallback((()=>{l(),e.current.publishEvent("debouncedResize",o.current)}),[e,l]),c=U.useCallback((()=>a.current),[]),d=U.useCallback((()=>{const n=e.current.getRootDimensions();if(!n)return 0;const r=AZ(e,{pagination:t.pagination,paginationMode:t.paginationMode});if(t.getRowHeight){const t=e.current.unstable_getRenderContext(),n=t.lastRowIndex-t.firstRowIndex;return Math.min(n-1,r.rows.length)}const o=Math.floor(n.viewportInnerSize.height/HW(e));return Math.min(o,r.rows.length)}),[e,t.pagination,t.paginationMode,t.getRowHeight]);JZ(e,{resize:u,getRootDimensions:c,unstable_getViewportPageSize:d,unstable_updateGridDimensionsRef:l});const p=U.useMemo((()=>Cg(u,60)),[u]),f=U.useRef(!0),m=U.useCallback((e=>{o.current=e;const a=/jsdom/.test(window.navigator.userAgent);if(0!==e.height||r.current||t.autoHeight||a||(n.error(["The parent DOM element of the data grid has an empty height.","Please make sure that this element has an intrinsic height.","The grid displays with a height of 0px.","","More details: https://mui.com/r/x-data-grid-no-dimensions."].join("\n")),r.current=!0),0!==e.width||r.current||a||(n.error(["The parent DOM element of the data grid has an empty width.","Please make sure that this element has an intrinsic width.","The grid displays with a width of 0px.","","More details: https://mui.com/r/x-data-grid-no-dimensions."].join("\n")),r.current=!0),f.current)return u(),void(f.current=!1);p()}),[t.autoHeight,p,n,u]);cg((()=>l()),[l]),HZ(e,"sortedRowsSet",l),HZ(e,"pageChange",l),HZ(e,"pageSizeChange",l),HZ(e,"columnsChange",l),zZ(e,"resize",m),HZ(e,"debouncedResize",t.onResize)}(r,e),function(e,t){HZ(e,"columnHeaderClick",t.onColumnHeaderClick),HZ(e,"columnHeaderDoubleClick",t.onColumnHeaderDoubleClick),HZ(e,"columnHeaderOver",t.onColumnHeaderOver),HZ(e,"columnHeaderOut",t.onColumnHeaderOut),HZ(e,"columnHeaderEnter",t.onColumnHeaderEnter),HZ(e,"columnHeaderLeave",t.onColumnHeaderLeave),HZ(e,"columnOrderChange",t.onColumnOrderChange),HZ(e,"cellClick",t.onCellClick),HZ(e,"cellDoubleClick",t.onCellDoubleClick),HZ(e,"cellKeyDown",t.onCellKeyDown),HZ(e,"cellFocusOut",t.onCellFocusOut),HZ(e,"preferencePanelClose",t.onPreferencePanelClose),HZ(e,"preferencePanelOpen",t.onPreferencePanelOpen),HZ(e,"menuOpen",t.onMenuOpen),HZ(e,"menuClose",t.onMenuClose),HZ(e,"rowDoubleClick",t.onRowDoubleClick),HZ(e,"rowClick",t.onRowClick),HZ(e,"componentError",t.onError),HZ(e,"stateChange",t.onStateChange)}(r,e),(e=>{const t=U.useCallback(((t={})=>e.current.unstable_applyPipeProcessors("exportState",{},t)),[e]),n=U.useCallback((t=>{e.current.unstable_applyPipeProcessors("restoreState",{callbacks:[]},{stateToRestore:t}).callbacks.forEach((e=>{e()})),e.current.forceUpdate()}),[e]);JZ(e,{exportState:t,restoreState:n})})(r),r},LJ={apiRef:void 0,disableMultipleColumnsFiltering:!0,disableMultipleColumnsSorting:!0,disableMultipleSelection:!0,throttleRowsMs:void 0,hideFooterRowCount:!1,pagination:!0,checkboxSelectionVisibleOnly:!1,disableColumnReorder:!0,disableColumnResize:!0,keepColumnPositionIfDraggedOutside:!1,signature:"DataGrid"},MJ={autoHeight:!1,autoPageSize:!1,checkboxSelection:!1,checkboxSelectionVisibleOnly:!1,columnBuffer:3,rowBuffer:3,columnThreshold:3,rowThreshold:3,density:mq.Standard,disableExtendRowFullWidth:!1,disableColumnFilter:!1,disableColumnMenu:!1,disableColumnSelector:!1,disableDensitySelector:!1,disableMultipleColumnsFiltering:!1,disableMultipleSelection:!1,disableMultipleColumnsSorting:!1,disableSelectionOnClick:!1,disableVirtualization:!1,disableIgnoreModificationsIfProcessingProps:!1,editMode:oq.Cell,filterMode:sq,headerHeight:56,hideFooter:!1,hideFooterPagination:!1,hideFooterRowCount:!1,hideFooterSelectedRowCount:!1,logger:console,logLevel:"error",pagination:!1,paginationMode:sq,rowHeight:52,rowsPerPageOptions:[25,50,100],rowSpacingType:"margin",showCellRightBorder:!1,showColumnRightBorder:!1,sortingOrder:["asc","desc",null],sortingMode:sq,throttleRowsMs:0,disableColumnReorder:!1,disableColumnResize:!1,keepNonExistentRowsSelected:!1,keepColumnPositionIfDraggedOutside:!1},DJ=["className"],jJ=Wv("div",{name:"MuiDataGrid",slot:"VirtualScroller",overridesResolver:(e,t)=>t.virtualScroller})({overflow:"auto",position:"relative","@media print":{overflow:"hidden"}}),FJ=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,DJ),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["virtualScroller"]},BG,t)})(o);return ee.jsx(jJ,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),$J=["className","style"],BJ=Wv("div",{name:"MuiDataGrid",slot:"VirtualScrollerContent",overridesResolver:(e,t)=>t.virtualScrollerContent})({}),zJ=U.forwardRef((function(e,t){const{className:n,style:r}=e,o=_d(e,$J),a=$G(),i=Id({},a,{overflowedContent:!a.autoHeight&&"auto"===(null==r?void 0:r.minHeight)}),s=(e=>{const{classes:t,overflowedContent:n}=e;return eb({root:["virtualScrollerContent",n&&"virtualScrollerContent--overflowed"]},BG,t)})(i);return ee.jsx(BJ,Id({ref:t,className:rq(s.root,n),ownerState:i,style:r},o))})),UJ=["className"],HJ=Wv("div",{name:"MuiDataGrid",slot:"VirtualScrollerRenderZone",overridesResolver:(e,t)=>t.virtualScrollerRenderZone})({position:"absolute",display:"flex",flexDirection:"column"}),VJ=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,UJ),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["virtualScrollerRenderZone"]},BG,t)})(o);return ee.jsx(HJ,Id({ref:t,className:rq(a.root,n),ownerState:o},r))})),GJ=["style"];function WJ(e,t,n=0,r=t.length){if(t.length<=0)return-1;if(n>=r)return n;const o=n+Math.floor((r-n)/2);return e<=t[o]?WJ(e,t,n,o):WJ(e,t,o+1,r)}const qJ=({firstIndex:e,lastIndex:t,buffer:n,minFirstIndex:r,maxLastIndex:o})=>[DY(e-n,r,o),DY(t+n,r,o)],KJ=e=>{var t,n;const r=jG(),o=$G(),a=XG(r,xW),{ref:i,disableVirtualization:s,onRenderZonePositioning:l,renderZoneMinColumnIndex:u=0,renderZoneMaxColumnIndex:c=a.length,getRowProps:d}=e,p=XG(r,EW),f=XG(r,CW),m=XG(r,HW),h=XG(r,bq),g=XG(r,wq),b=XG(r,AQ),v=XG(r,oJ),y=XG(r,fY),w=OZ(r,o),S=U.useRef(null),x=U.useRef(null),E=Lg(i,x),[C,k]=U.useState(null),R=U.useRef(C),T=U.useRef({top:0,left:0}),[I,_]=U.useState({width:null,height:null}),A=U.useRef(f),O=U.useCallback((e=>{var t,n;const o=r.current.unstable_getLastMeasuredRowIndex();let a=o===1/0;null!=(t=w.range)&&t.lastRowIndex&&!a&&(a=o>=w.range.lastRowIndex);const i=DY(o-((null==(n=w.range)?void 0:n.firstRowIndex)||0),0,b.positions.length);return a||b.positions[i]>=e?WJ(e,b.positions):function(e,t,n){let r=1;for(;n{if(s)return{firstRowIndex:0,lastRowIndex:w.rows.length,firstColumnIndex:0,lastColumnIndex:a.length};const{top:e,left:t}=T.current,n=Math.min(O(e),b.positions.length-1),i=o.autoHeight?n+w.rows.length:O(e+I.height);let l=!1,u=0,c=p.length;const[d,f]=qJ({firstIndex:n,lastIndex:i,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:o.rowBuffer});for(let o=d;o{s?S.current.style.transform="translate3d(0px, 0px, 0px)":(x.current.scrollLeft=0,x.current.scrollTop=0)}),[s]),cg((()=>{_({width:x.current.clientWidth,height:x.current.clientHeight})}),[b.currentPageTotalHeight]);const P=U.useCallback((e=>{_({width:e.width,height:e.height})}),[]);zZ(r,"resize",P);const L=U.useCallback((e=>{const[t,n]=qJ({firstIndex:e.firstRowIndex,lastIndex:e.lastRowIndex,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:o.rowBuffer}),[a]=qJ({firstIndex:e.firstColumnIndex,lastIndex:e.lastColumnIndex,minFirstIndex:u,maxLastIndex:c,buffer:o.columnBuffer}),i=SX({firstColumnToRender:a,apiRef:r,firstRowToRender:t,lastRowToRender:n,visibleRows:w.rows}),s=AQ(r.current.state).positions[t],d=EW(r)[i];S.current.style.transform=`translate3d(${d}px, ${s}px, 0px)`,"function"==typeof l&&l({top:s,left:d})}),[r,w.rows,l,u,c,o.columnBuffer,o.rowBuffer]),M=U.useCallback((e=>{if(R.current&&(t=e,n=R.current,t===n||t.firstRowIndex===n.firstRowIndex&&t.lastRowIndex===n.lastRowIndex&&t.firstColumnIndex===n.firstColumnIndex&&t.lastColumnIndex===n.lastColumnIndex))return void L(e);var t,n;k(e),L(e);const[a,i]=qJ({firstIndex:e.firstRowIndex,lastIndex:e.lastRowIndex,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:o.rowBuffer});r.current.publishEvent("renderedRowsIntervalChange",{firstRowToRender:a,lastRowToRender:i}),R.current=e}),[r,k,R,w.rows.length,o.rowBuffer,L]);cg((()=>{if(null==I.width)return;const e=N();M(e);const{top:t,left:n}=T.current,o={top:t,left:n,renderContext:e};r.current.publishEvent("rowsScroll",o)}),[r,N,I.width,M]);const D=e=>{const{scrollTop:t,scrollLeft:n}=e.currentTarget;if(T.current.top=t,T.current.left=n,n<0||t<0||!R.current)return;const a=s?R.current:N(),i=Math.abs(a.firstRowIndex-R.current.firstRowIndex),l=Math.abs(a.lastRowIndex-R.current.lastRowIndex),u=Math.abs(a.firstColumnIndex-R.current.firstColumnIndex),c=Math.abs(a.lastColumnIndex-R.current.lastColumnIndex),d=i>=o.rowThreshold||l>=o.rowThreshold||u>=o.columnThreshold||c>=o.columnThreshold||A.current!==f;r.current.publishEvent("rowsScroll",{top:t,left:n,renderContext:d?a:R.current},e),d&&(fd.flushSync((()=>{M(a)})),A.current=f)},j=e=>{r.current.publishEvent("virtualScrollerWheel",{},e)},F=e=>{r.current.publishEvent("virtualScrollerTouchMove",{},e)},$=I.width&&f>I.width,B=U.useMemo((()=>{const e=Math.max(b.currentPageTotalHeight,1);let t=!1;null!=x&&x.current&&e<=(null==x?void 0:x.current.clientHeight)&&(t=!0);const n={width:$?f:"auto",height:e,minHeight:t?"100%":"auto"};return o.autoHeight&&0===w.rows.length&&(n.height=2*m),n}),[x,f,b.currentPageTotalHeight,w.rows.length,$,o.autoHeight,m]);U.useEffect((()=>{r.current.publishEvent("virtualScrollerContentSizeChange")}),[r,B]),o.autoHeight&&0===w.rows.length&&(B.height=2*m);const z={};$||(z.overflowX="hidden"),o.autoHeight&&(z.overflowY="hidden");const H=U.useCallback((()=>R.current),[]);return r.current.unstable_getRenderContext=H,{renderContext:C,updateRenderZonePosition:L,getRows:(e={renderContext:C})=>{const{renderContext:t,minFirstColumn:n=u,maxLastColumn:i=c,availableSpace:l=I.width,rowIndexOffset:p=0,position:f="center"}=e;if(!t||null==l)return null;const m=s?0:o.rowBuffer,b=s?0:o.columnBuffer,[S,x]=qJ({firstIndex:t.firstRowIndex,lastIndex:t.lastRowIndex,minFirstIndex:0,maxLastIndex:w.rows.length,buffer:m}),E=[];if(e.rows)e.rows.forEach((e=>{E.push(e),r.current.unstable_calculateColSpan({rowId:e.id,minFirstColumn:n,maxLastColumn:i,columns:a})}));else{if(!w.range)return null;for(let e=S;e{let{style:t={}}=e,n=_d(e,GJ);return Id({ref:E,onScroll:D,onWheel:j,onTouchMove:F,style:Id({},t,z)},n)},getContentProps:({style:e={}}={})=>({style:Id({},e,B)}),getRenderZoneProps:()=>({ref:S})}},YJ=["className","disableVirtualization"],XJ=U.forwardRef((function(e,t){const{className:n,disableVirtualization:r}=e,o=_d(e,YJ),{getRootProps:a,getContentProps:i,getRenderZoneProps:s,getRows:l}=KJ({ref:t,disableVirtualization:r});return ee.jsx(FJ,Id({className:n},a(o),{children:ee.jsx(zJ,Id({},i(),{children:ee.jsx(VJ,Id({},s(),{children:l()}))}))}))}));function ZJ(e){var t,n;const{groupId:r,width:o,depth:a,maxDepth:i,fields:s,height:l,colIndex:u,isLastColumn:c,extendRowFullWidth:d}=e,p=$G(),f=jG(),m=XG(f,bQ),{hasScrollX:h,hasScrollY:g}=null!=(t=f.current.getRootDimensions())?t:{hasScrollX:!1,hasScrollY:!1},b=r?m[r]:{},{headerName:v=(null!=r?r:""),description:y="",headerAlign:w}=b;let S;const x=r&&(null==(n=m[r])?void 0:n.renderHeaderGroup),E={groupId:r,headerName:v,description:y,depth:a,maxDepth:i,fields:s,colIndex:u,isLastColumn:c};r&&x&&(S=x(E));const C=c?!(c&&h&&!g)&&!d:p.showColumnRightBorder,k=p.showColumnRightBorder,R=Id({},e,{classes:p.classes,showRightBorder:C,showColumnBorder:k,headerAlign:w,depth:a,isDragging:!1}),T=null!=v?v:r,I=Og(),_=null===r?`empty-group-cell-${I}`:r,A=(e=>{const{classes:t,headerAlign:n,isDragging:r,showRightBorder:o,showColumnBorder:a,groupId:i}=e;return eb({root:["columnHeader","left"===n&&"columnHeader--alignLeft","center"===n&&"columnHeader--alignCenter","right"===n&&"columnHeader--alignRight",r&&"columnHeader--moving",o&&"withBorder",a&&"columnHeader--showColumnBorder",null===i?"columnHeader--emptyGroup":"columnHeader--filledGroup"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"],titleContainerContent:["columnHeaderTitleContainerContent"]},BG,t)})(R),O="function"==typeof b.headerClassName?b.headerClassName(E):b.headerClassName;return ee.jsx(rY,{classes:A,columnMenuOpen:!1,colIndex:u,height:l,isResizing:!1,sortDirection:null,hasFocus:!1,tabIndex:-1,isDraggable:!1,headerComponent:S,headerClassName:O,description:y,elementId:_,width:o,columnMenuIconButton:null,columnTitleIconButtons:null,resizable:!1,label:T,"aria-colspan":s.length,"data-fields":`|-${s.join("-|-")}-|`,disableHeaderSeparator:!0})}const QJ=Wv("div",{name:"MuiDataGrid",slot:"ColumnHeaderRow",overridesResolver:(e,t)=>t.columnHeaderRow})((()=>({display:"flex"})));const JJ=["className"],e0=Wv("div",{name:"MuiDataGrid",slot:"ColumnHeaders",overridesResolver:(e,t)=>t.columnHeaders})((({theme:e})=>({position:"absolute",top:0,left:0,right:0,overflow:"hidden",display:"flex",alignItems:"center",boxSizing:"border-box",borderBottom:`1px solid ${"light"===e.palette.mode?xg(wg(e.palette.divider,1),.88):Sg(wg(e.palette.divider,1),.68)}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius}))),t0=U.forwardRef((function(e,t){const{className:n}=e,r=_d(e,JJ),o=$G(),a=(e=>{const{classes:t}=e;return eb({root:["columnHeaders"]},BG,t)})(o);return ee.jsx(e0,Id({ref:t,className:rq(n,a.root),ownerState:o},r))})),n0=["isDragging","className"],r0=Wv("div",{name:"MuiDataGrid",slot:"columnHeadersInner",overridesResolver:(e,t)=>[{[`&.${zG.columnHeaderDropZone}`]:t.columnHeaderDropZone},t.columnHeadersInner]})((()=>({display:"flex",alignItems:"flex-start",flexDirection:"column",[`&.${zG.columnHeaderDropZone} .${zG.columnHeaderDraggableContainer}`]:{cursor:"move"},[`&.${zG["columnHeadersInner--scrollable"]} .${zG.columnHeader}:last-child`]:{borderRight:"none"}}))),o0=U.forwardRef((function(e,t){var n,r;const{isDragging:o,className:a}=e,i=_d(e,n0),s=jG(),l=Id({},$G(),{isDragging:o,hasScrollX:null!=(n=null==(r=s.current.getRootDimensions())?void 0:r.hasScrollX)&&n}),u=(e=>{const{isDragging:t,hasScrollX:n,classes:r}=e;return eb({root:["columnHeadersInner",t&&"columnHeaderDropZone",n&&"columnHeadersInner--scrollable"]},BG,r)})(l);return ee.jsx(r0,Id({ref:t,className:rq(a,u.root),ownerState:l},i))})),a0=["innerRef","className"],i0=U.forwardRef((function(e,t){const{innerRef:n}=e,r=_d(e,a0),{isDragging:o,getRootProps:a,getInnerProps:i,getColumnHeaders:s,getColumnGroupHeaders:l}=(e=>{const{innerRef:t,minColumnIndex:n=0}=e,[r,o]=U.useState(""),[a,i]=U.useState(""),s=jG(),l=XG(s,xW),u=XG(s,EW),c=XG(s,Sq),d=XG(s,wq),p=XG(s,vq),f=XG(s,VW),m=XG(s,GW),h=XG(s,qW),g=XG(s,BW),b=XG(s,gW),v=XG(s,mQ),y=$G(),w=U.useRef(null),S=Lg(t,w),[x,E]=U.useState(null),C=U.useRef(x),k=U.useRef(0),R=OZ(s,y);U.useEffect((()=>{s.current.columnHeadersContainerElementRef.current.scrollLeft=0}),[s]);const T=U.useRef(ZM(xX,{equalityCheck:(e,t)=>["firstColumnIndex","minColumnIndex","columnBuffer"].every((n=>e[n]===t[n]))})),I=U.useCallback((e=>{const[t,r]=qJ({firstIndex:e.firstRowIndex,lastIndex:e.lastRowIndex,minFirstIndex:0,maxLastIndex:R.rows.length,buffer:y.rowBuffer}),o=T.current({firstColumnIndex:e.firstColumnIndex,minColumnIndex:n,columnBuffer:y.columnBuffer,firstRowToRender:t,lastRowToRender:r,apiRef:s,visibleRows:R.rows}),a=o>0?k.current-u[o]:k.current;w.current.style.transform=`translate3d(${-a}px, 0px, 0px)`}),[u,n,y.columnBuffer,s,R.rows,y.rowBuffer]);U.useLayoutEffect((()=>{x&&I(x)}),[x,I]);const _=U.useCallback((({left:e,renderContext:t=null},n)=>{var r,o;if(!w.current)return;if(k.current===e&&(null==(r=C.current)?void 0:r.firstColumnIndex)===(null==t?void 0:t.firstColumnIndex)&&(null==(o=C.current)?void 0:o.lastColumnIndex)===(null==t?void 0:t.lastColumnIndex))return;k.current=e;let a=!1;t===C.current&&C.current?a=!0:(function(e){return!!e.target}(n)?(fd.flushSync((()=>{E(t)})),a=!0):E(t),C.current=t),t&&a&&I(t)}),[I]),A=U.useCallback((e=>i(e.field)),[]),O=U.useCallback((()=>i("")),[]),N=U.useCallback((e=>o(e.field)),[]),P=U.useCallback((()=>o("")),[]);zZ(s,"columnResizeStart",A),zZ(s,"columnResizeStop",O),zZ(s,"columnHeaderDragStart",N),zZ(s,"columnHeaderDragEnd",P),zZ(s,"rowsScroll",_);const L=e=>{const{renderContext:t=x,minFirstColumn:r=n,maxLastColumn:o=l.length}=e||{};if(!t)return null;const[a,i]=qJ({firstIndex:t.firstRowIndex,lastIndex:t.lastRowIndex,minFirstIndex:0,maxLastIndex:R.rows.length,buffer:y.rowBuffer}),u=T.current({firstColumnIndex:t.firstColumnIndex,minColumnIndex:r,columnBuffer:y.columnBuffer,apiRef:s,firstRowToRender:a,lastRowToRender:i,visibleRows:R.rows}),c=Math.min(t.lastColumnIndex+y.columnBuffer,o);return{renderedColumns:l.slice(u,c),firstColumnToRender:u,lastColumnToRender:c,minFirstColumn:r,maxLastColumn:o}},M=(e=[],t)=>e.slice(0,t+1),D={minHeight:h,maxHeight:h,lineHeight:`${f}px`};return{renderContext:x,getColumnHeaders:(e,t={})=>{const n=L(e);if(null==n)return null;const{renderedColumns:o,firstColumnToRender:i}=n,s=[];for(let u=0;u{if(0===m)return null;const t=L(e);if(null==t||0===t.renderedColumns.length)return null;const{renderedColumns:r,firstColumnToRender:o,lastColumnToRender:a,maxLastColumn:i}=t,s=[],u=[];for(let f=0;f=n&&null!=(h=l[s])&&h.groupPath&&jY(M(null==(g=l[s])?void 0:g.groupPath,f),y);){var h,g,b;const n=l[s];var v,w;t+=null!=(b=n.computedWidth)?b:0,0===e.length?e.push({width:null!=(v=n.computedWidth)?v:0,fields:[n.field],groupId:m,groupParents:y,colIndex:s}):(e[0].width+=null!=(w=n.computedWidth)?w:0,e[0].fields.push(n.field),e[0].colIndex=s),s-=1}const k=r.reduce(((e,t,n)=>{var r;const a=e[e.length-1];var i,s,l;return t.groupPath&&t.groupPath.length>f?a&&a.groupId===t.groupPath[f]?[...e.slice(0,e.length-1),Id({},a,{width:a.width+(null!=(s=t.computedWidth)?s:0),fields:[...a.fields,t.field]})]:[...e,{groupId:t.groupPath[f],groupParents:M(t.groupPath,f),width:null!=(i=t.computedWidth)?i:0,fields:[t.field],colIndex:o+n}]:a&&null===a.groupId&&jY(M(t.groupPath,f),a.groupParents)?[...e.slice(0,e.length-1),Id({},a,{width:a.width+(null!=(l=t.computedWidth)?l:0),fields:[...a.fields,t.field]})]:[...e,{groupId:null,groupParents:M(t.groupPath,f),width:null!=(r=t.computedWidth)?r:0,fields:[t.field],colIndex:o+n}]}),e);s=a;const R=k[k.length-1].groupId;for(;null!==R&&s{s.push(ee.jsx(QJ,{style:{height:`${f}px`,transform:`translateX(-${e.leftOverflow}px)`},role:"row","aria-rowindex":t+1,ownerState:y,children:e.elements.map((({groupId:e,width:n,fields:r,colIndex:o},a)=>ee.jsx(ZJ,{groupId:e,width:n,fields:r,colIndex:o,depth:t,isLastColumn:o===l.length-r.length,extendRowFullWidth:!y.disableExtendRowFullWidth,maxDepth:u.length,height:f},a)))},t))})),s},isDragging:!!r,getRootProps:(e={})=>Id({style:D},e),getInnerProps:()=>({ref:S,role:"rowgroup"})}})({innerRef:n});return ee.jsxs(t0,Id({ref:t},a(r),{children:[ee.jsx(WZ,{scrollDirection:"left"}),ee.jsxs(o0,Id({isDragging:o},i(),{children:[l(),s()]})),ee.jsx(WZ,{scrollDirection:"right"})]}))})),s0=U.forwardRef((function(e,t){const n=(e=>{if(e.pageSize>100)throw new Error("'props.pageSize' cannot exceed 100 in DataGrid.");const t=gv({props:e,name:"MuiDataGrid"}),n=U.useMemo((()=>Id({},xJ,t.localeText)),[t.localeText]),r=U.useMemo((()=>{const e=t.components;if(!e)return Id({},IJ);const n={};return Object.entries(IJ).forEach((([t,r])=>{n[t]=void 0===e[t]?r:e[t]})),n}),[t.components]);return U.useMemo((()=>Id({},MJ,t,{localeText:n,components:r},LJ)),[t,n,r])})(e),r=PJ(n);return ee.jsx(qZ,{apiRef:r,props:n,children:ee.jsx(OK,{className:n.className,style:n.style,sx:n.sx,ref:t,children:ee.jsxs(JW,{children:[ee.jsx(tq,{}),ee.jsx(XW,{ColumnHeadersComponent:i0,VirtualScrollerComponent:XJ}),ee.jsx(eq,{})]})})})})),l0=U.memo(s0);s0.propTypes={"aria-label":Hf.string,"aria-labelledby":Hf.string,autoHeight:Hf.bool,autoPageSize:Hf.bool,cellModesModel:Hf.object,checkboxSelection:Hf.bool,classes:Hf.object,columnBuffer:Hf.number,columnGroupingModel:Hf.arrayOf(Hf.object),columns:(Hf.array.isRequired,()=>null),columnThreshold:Hf.number,columnTypes:Hf.object,columnVisibilityModel:Hf.object,components:Hf.object,componentsProps:Hf.object,density:Hf.oneOf(["comfortable","compact","standard"]),disableColumnFilter:Hf.bool,disableColumnMenu:Hf.bool,disableColumnSelector:Hf.bool,disableDensitySelector:Hf.bool,disableExtendRowFullWidth:Hf.bool,disableIgnoreModificationsIfProcessingProps:Hf.bool,disableSelectionOnClick:Hf.bool,disableVirtualization:Hf.bool,editMode:Hf.oneOf(["cell","row"]),editRowsModel:Hf.object,error:Hf.any,experimentalFeatures:Hf.shape({columnGrouping:Hf.bool,newEditingApi:Hf.bool,preventCommitWhileValidating:Hf.bool,warnIfFocusStateIsNotSynced:Hf.bool}),filterMode:Hf.oneOf(["client","server"]),filterModel:Hf.shape({items:Hf.arrayOf(Hf.shape({columnField:Hf.string.isRequired,id:Hf.oneOfType([Hf.number,Hf.string]),operatorValue:Hf.string,value:Hf.any})).isRequired,linkOperator:Hf.oneOf(["and","or"]),quickFilterLogicOperator:Hf.oneOf(["and","or"]),quickFilterValues:Hf.array}),getCellClassName:Hf.func,getDetailPanelContent:Hf.func,getEstimatedRowHeight:Hf.func,getRowClassName:Hf.func,getRowHeight:Hf.func,getRowId:Hf.func,getRowSpacing:Hf.func,headerHeight:Hf.number,hideFooter:Hf.bool,hideFooterPagination:Hf.bool,hideFooterSelectedRowCount:Hf.bool,initialState:Hf.object,isCellEditable:Hf.func,isRowSelectable:Hf.func,keepNonExistentRowsSelected:Hf.bool,loading:Hf.bool,localeText:Hf.object,logger:Hf.shape({debug:Hf.func.isRequired,error:Hf.func.isRequired,info:Hf.func.isRequired,warn:Hf.func.isRequired}),logLevel:Hf.oneOf(["debug","error","info","warn",!1]),nonce:Hf.string,onCellClick:Hf.func,onCellDoubleClick:Hf.func,onCellEditCommit:Hf.func,onCellEditStart:Hf.func,onCellEditStop:Hf.func,onCellFocusOut:Hf.func,onCellKeyDown:Hf.func,onCellModesModelChange:Hf.func,onColumnHeaderClick:Hf.func,onColumnHeaderDoubleClick:Hf.func,onColumnHeaderEnter:Hf.func,onColumnHeaderLeave:Hf.func,onColumnHeaderOut:Hf.func,onColumnHeaderOver:Hf.func,onColumnOrderChange:Hf.func,onColumnVisibilityChange:Hf.func,onColumnVisibilityModelChange:Hf.func,onEditCellPropsChange:Hf.func,onEditRowsModelChange:Hf.func,onError:Hf.func,onFilterModelChange:Hf.func,onMenuClose:Hf.func,onMenuOpen:Hf.func,onPageChange:Hf.func,onPageSizeChange:Hf.func,onPreferencePanelClose:Hf.func,onPreferencePanelOpen:Hf.func,onProcessRowUpdateError:Hf.func,onResize:Hf.func,onRowClick:Hf.func,onRowDoubleClick:Hf.func,onRowEditCommit:Hf.func,onRowEditStart:Hf.func,onRowEditStop:Hf.func,onRowModesModelChange:Hf.func,onSelectionModelChange:Hf.func,onSortModelChange:Hf.func,onStateChange:Hf.func,page:Hf.number,pageSize:(Hf.number,()=>null),pagination:e=>!1===e.pagination?new Error(["MUI: `` is not a valid prop.","Infinite scrolling is not available in the MIT version.","","You need to upgrade to DataGridPro or DataGridPremium component to disable the pagination."].join("\n")):null,paginationMode:Hf.oneOf(["client","server"]),processRowUpdate:Hf.func,rowBuffer:Hf.number,rowCount:Hf.number,rowHeight:Hf.number,rowModesModel:Hf.object,rows:Hf.arrayOf(Hf.object).isRequired,rowSpacingType:Hf.oneOf(["border","margin"]),rowsPerPageOptions:Hf.arrayOf(Hf.number),rowThreshold:Hf.number,scrollbarSize:Hf.number,selectionModel:(Hf.oneOfType([Hf.number,Hf.string,Hf.array]),()=>null),showCellRightBorder:Hf.bool,showColumnRightBorder:Hf.bool,sortingMode:Hf.oneOf(["client","server"]),sortingOrder:Hf.arrayOf(Hf.oneOf(["asc","desc"])),sortModel:Hf.arrayOf(Hf.shape({field:Hf.string.isRequired,sort:Hf.oneOf(["asc","desc"])})),sx:Hf.oneOfType([Hf.arrayOf(Hf.oneOfType([Hf.func,Hf.object,Hf.bool])),Hf.func,Hf.object])};const u0=[20,50,100],c0=()=>null,d0={"& .MuiDataGrid-cell":{alignItems:"flex-start",flexDirection:"column"}};function p0(e){const{rows:t,sortModel:n,columns:r,rowHeight:o="auto",getRowId:a=U.useCallback((e=>e.id),[]),rowsPerPage:i=u0}=e,s=gd.useDispatch(),l=gd.useSelector((e=>e.application.preferredPageSize)),[u,c]=b$({page:"0"}),[d,p]=U.useState(l||Math.min(...i)),f=U.useCallback((()=>o),[o]);return te.jsx(l0,{onCellClick:c0,onCellDoubleClick:c0,onCellFocusOut:c0,onRowClick:c0,onColumnHeaderClick:c0,disableDensitySelector:!0,disableColumnSelector:!0,disableVirtualization:!0,disableSelectionOnClick:!0,sortModel:n,rows:t,getRowId:a,columns:r,rowsPerPageOptions:i,pageSize:d,page:Number(u.get("page")),onPageChange:U.useCallback((e=>{c({page:String(e)})}),[]),onPageSizeChange:U.useCallback((e=>{p(e),s(C$(e))}),[]),rowBuffer:0,rowThreshold:0,hideFooterSelectedRowCount:!0,autoHeight:!0,sx:d0,getRowHeight:f})}var f0={VITE_ENV:"github",VITE_BACKEND_URL:"http://127.0.0.1:8080",VITE_BUILD_ID:"05e2bda",BASE_URL:"https://yiisoft.github.io/yii-dev-panel/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const m0=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,a={setState:r,getState:o,getInitialState:()=>i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{"production"!==(f0?"production":void 0)&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},i=t=e(r,o,a);return a},h0=e=>e?m0(e):m0;var g0={exports:{}},b0={},v0={exports:{}},y0={},w0=U;var S0="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},x0=w0.useState,E0=w0.useEffect,C0=w0.useLayoutEffect,k0=w0.useDebugValue;function R0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!S0(e,n)}catch(WL){return!0}}var T0="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=x0({inst:{value:n,getSnapshot:t}}),o=r[0].inst,a=r[1];return C0((function(){o.value=n,o.getSnapshot=t,R0(o)&&a({inst:o})}),[e,n,t]),E0((function(){return R0(o)&&a({inst:o}),e((function(){R0(o)&&a({inst:o})}))}),[e]),k0(n),n};y0.useSyncExternalStore=void 0!==w0.useSyncExternalStore?w0.useSyncExternalStore:T0,v0.exports=y0;var I0=v0.exports,_0=U,A0=I0; /** * @license React * use-sync-external-store-shim/with-selector.production.min.js @@ -270,7 +270,7 @@ function XD(){return XD=Object.assign?Object.assign.bind():function(e){for(var t * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var O0="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},N0=A0.useSyncExternalStore,P0=_0.useRef,L0=_0.useEffect,M0=_0.useMemo,D0=_0.useDebugValue;b0.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var a=P0(null);if(null===a.current){var i={hasValue:!1,value:null};a.current=i}else i=a.current;a=M0((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&i.hasValue){var t=i.value;if(o(t,e))return s=t}return s=e}if(t=s,O0(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var s=N0(e,a[0],a[1]);return L0((function(){i.hasValue=!0,i.value=s}),[s]),D0(s),s},g0.exports=b0;const j0=r(g0.exports);var F0={VITE_ENV:"github",VITE_BACKEND_URL:"http://127.0.0.1:8080",VITE_BUILD_ID:"3bb099e",BASE_URL:"https://yiisoft.github.io/yii-dev-panel/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:$0}=H,{useSyncExternalStoreWithSelector:B0}=j0;let z0=!1;const U0=e=>e;function H0(e,t=U0,n){"production"!==(F0?"production":void 0)&&n&&!z0&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),z0=!0);const r=B0(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return $0(r),r}const V0=e=>{"production"!==(F0?"production":void 0)&&"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?h0(e):e,n=(e,n)=>H0(t,e,n);return Object.assign(n,t),n};var G0=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;rnull;J0.when=()=>!1;const e1=e=>{return(t?V0(t):V0)(((t,n)=>{var r,o,a,i,s,l,u,c,d,p,f,m,h,g,b,v,y,w,S,x,E,C;return{rootName:null!==(r=e.rootName)&&void 0!==r?r:"root",indentWidth:null!==(o=e.indentWidth)&&void 0!==o?o:3,keyRenderer:null!==(a=e.keyRenderer)&&void 0!==a?a:J0,enableAdd:null!==(i=e.enableAdd)&&void 0!==i&&i,enableDelete:null!==(s=e.enableDelete)&&void 0!==s&&s,enableClipboard:null===(l=e.enableClipboard)||void 0===l||l,editable:null!==(u=e.editable)&&void 0!==u&&u,onChange:null!==(c=e.onChange)&&void 0!==c?c:()=>{},onCopy:null!==(d=e.onCopy)&&void 0!==d?d:void 0,onSelect:null!==(p=e.onSelect)&&void 0!==p?p:void 0,onAdd:null!==(f=e.onAdd)&&void 0!==f?f:void 0,onDelete:null!==(m=e.onDelete)&&void 0!==m?m:void 0,defaultInspectDepth:null!==(h=e.defaultInspectDepth)&&void 0!==h?h:5,defaultInspectControl:null!==(g=e.defaultInspectControl)&&void 0!==g?g:void 0,maxDisplayLength:null!==(b=e.maxDisplayLength)&&void 0!==b?b:30,groupArraysAfterLength:null!==(v=e.groupArraysAfterLength)&&void 0!==v?v:100,collapseStringsAfterLength:!1===e.collapseStringsAfterLength?Number.MAX_VALUE:null!==(y=e.collapseStringsAfterLength)&&void 0!==y?y:50,objectSortKeys:null!==(w=e.objectSortKeys)&&void 0!==w&&w,quotesOnKeys:null===(S=e.quotesOnKeys)||void 0===S||S,displayDataTypes:null===(x=e.displayDataTypes)||void 0===x||x,displaySize:null===(E=e.displaySize)||void 0===E||E,highlightUpdates:null!==(C=e.highlightUpdates)&&void 0!==C&&C,inspectCache:{},hoverPath:null,colorspace:Z0,value:e.value,prevValue:void 0,getInspectCache:(e,t)=>{const r=void 0!==t?e.join(".")+"[".concat(t,"]nt"):e.join(".");return n().inspectCache[r]},setInspectCache:(e,n,r)=>{const o=void 0!==r?e.join(".")+"[".concat(r,"]nt"):e.join(".");t((e=>({inspectCache:{...e.inspectCache,[o]:"function"==typeof n?n(e.inspectCache[o]):n}})))},setHover:(e,n)=>{t({hoverPath:e?{path:e,nestedIndex:n}:null})}}}));var t},t1=U.createContext(void 0);t1.Provider;const n1=(e,t)=>H0(U.useContext(t1),e,t),r1=()=>n1((e=>e.colorspace.base07)),o1=Object.prototype.constructor.toString();const a1=(e,t,n)=>{if(null===e||null===n)return!1;if("object"!=typeof e)return!1;if("object"!=typeof n)return!1;if(Object.is(e,n)&&0!==t.length)return"";const r=[],o=[...t];let a=e;for(;a!==n||0!==o.length;){if("object"!=typeof a||null===a)return!1;if(Object.is(a,n))return r.reduce(((e,t,n)=>"number"==typeof t?e+"[".concat(t,"]"):e+"".concat(0===n?"":".").concat(t)),"");const e=o.shift();r.push(e),a=a[e]}return!1};function i1(e){return null===e?0:Array.isArray(e)?e.length:e instanceof Map||e instanceof Set?e.size:e instanceof Date?1:"object"==typeof e?Object.keys(e).length:"string"==typeof e?e.length:1}function s1(e,t){const n=[];let r=0;for(;r0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=U.useState(!1),r=U.useRef(null),o=U.useCallback((t=>{const o=r.current;o&&window.clearTimeout(o),r.current=window.setTimeout((()=>n(!1)),e),n(t)}),[e]),a=n1((e=>e.onCopy)),i=U.useCallback((async(e,t)=>{if("function"==typeof a)try{await a(e,t,l1),o(!0)}catch(n){console.error("error when copy ".concat(0===e.length?"src":"src[".concat(e.join(".")),"]"),n)}else try{const e=function(e,t){const n=[];return JSON.stringify(e,(function(e,t){if("bigint"==typeof t)return t.toString();if(t instanceof Map){if("toJSON"in t&&"function"==typeof t.toJSON)return t.toJSON();if(0===t.size)return{};if(n.includes(t))return"[Circular]";n.push(t);const e=Array.from(t.entries());return e.every((e=>{let[t]=e;return"string"==typeof t||"number"==typeof t}))?Object.fromEntries(e):{}}if(t instanceof Set)return"toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():n.includes(t)?"[Circular]":(n.push(t),Array.from(t.values()));if("object"==typeof t&&null!==t&&Object.keys(t).length){const r=n.length;if(r){for(let o=r-1;o>=0&&n[o][e]!==t;--o)n.pop();if(n.includes(t))return"[Circular]"}n.push(t)}return t}),t)}("function"==typeof t?t.toString():t," ");await l1(e),o(!0)}catch(n){console.error("error when copy ".concat(0===e.length?"src":"src[".concat(e.join(".")),"]"),n)}}),[o,a]);return{copy:i,reset:U.useCallback((()=>{n(!1),r.current&&clearTimeout(r.current)}),[]),copied:t}}function c1(e,t){const n=n1((e=>e.value));return U.useMemo((()=>a1(n,e,t)),[e,t,n])}const d1=e=>ee.jsx(ik,{component:"div",...e,sx:{display:"inline-block",...e.sx}}),p1=e=>{let{dataType:t,enable:n=!0}=e;return n?ee.jsx(d1,{className:"data-type-label",sx:{mx:.5,fontSize:"0.7rem",opacity:.8,userSelect:"none"},children:t}):null};function f1(e){let{is:t,serialize:n,deserialize:r,type:o,colorKey:a,displayTypeLabel:i=!0,Renderer:s}=e;const l=U.memo(s),u=e=>{const t=n1((e=>e.displayDataTypes)),n=n1((e=>e.colorspace[a])),r=n1((e=>e.onSelect));return ee.jsxs(d1,{onClick:()=>null==r?void 0:r(e.path,e.value),sx:{color:n},children:[i&&t&&ee.jsx(p1,{dataType:o}),ee.jsx(d1,{className:"".concat(o,"-value"),children:ee.jsx(l,{path:e.path,inspect:e.inspect,setInspect:e.setInspect,value:e.value,prevValue:e.prevValue})})]})};if(u.displayName="easy-".concat(o,"-type"),!n||!r)return{is:t,Component:u};const c=e=>{let{value:t,setValue:n,abortEditing:r,commitEditing:o}=e;const i=n1((e=>e.colorspace[a])),s=U.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),o(t)),"Escape"===e.key&&(e.preventDefault(),r())}),[r,o,t]),l=U.useCallback((e=>{n(e.target.value)}),[n]);return ee.jsx(iC,{autoFocus:!0,value:t,onChange:l,onKeyDown:s,size:"small",multiline:!0,sx:{color:i,padding:.5,borderStyle:"solid",borderColor:"black",borderWidth:1,fontSize:"0.8rem",fontFamily:"monospace",display:"inline-flex"}})};return c.displayName="easy-".concat(o,"-type-editor"),{is:t,serialize:n,deserialize:r,Component:u,Editor:c}}const m1=f1({is:e=>"boolean"==typeof e,type:"bool",colorKey:"base0E",serialize:e=>e.toString(),deserialize:e=>{if("true"===e)return!0;if("false"===e)return!1;throw new Error("Invalid boolean value")},Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t?"true":"false"})}}),h1={weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"},g1=f1({is:e=>e instanceof Date,type:"date",colorKey:"base0D",Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t.toLocaleTimeString("en-us",h1)})}}),b1=e=>{const t=e.toString();let n=!0;const r=t.indexOf(")"),o=t.indexOf("=>");return-1!==o&&o>r&&(n=!1),n?t.substring(t.indexOf("{",r)+1,t.lastIndexOf("}")):t.substring(t.indexOf("=>")+2)},v1=e=>{const t=e.toString();return-1!==t.indexOf("function")?t.substring(8,t.indexOf("{")).trim():t.substring(0,t.indexOf("=>")+2).trim()},y1={is:e=>"function"==typeof e,Component:e=>{const t=n1((e=>e.colorspace.base05));return ee.jsx(jS,{children:ee.jsx(ik,{className:"data-function",sx:{display:e.inspect?"block":"inline-block",pl:e.inspect?2:0,color:t},children:e.inspect?b1(e.value):ee.jsx(ik,{component:"span",className:"data-function-body",onClick:()=>e.setInspect(!0),sx:{"&:hover":{cursor:"pointer"},padding:.5},children:"…"})})})},PreComponent:e=>ee.jsxs(jS,{children:[ee.jsx(p1,{dataType:"function"}),ee.jsxs(ik,{component:"span",className:"data-function-start",sx:{letterSpacing:.5},children:[v1(e.value)," ","{"]})]}),PostComponent:()=>ee.jsx(jS,{children:ee.jsx(ik,{component:"span",className:"data-function-end",children:"}"})})},w1=f1({is:e=>null===e,type:"null",colorKey:"base08",displayTypeLabel:!1,Renderer:()=>{const e=n1((e=>e.colorspace.base02));return ee.jsx(ik,{sx:{fontSize:"0.8rem",backgroundColor:e,fontWeight:"bold",borderRadius:"3px",padding:"0.5px 2px"},children:"NULL"})}}),S1=e=>e%1==0,x1=f1({is:e=>"number"==typeof e&&isNaN(e),type:"NaN",colorKey:"base08",displayTypeLabel:!1,serialize:()=>"NaN",deserialize:e=>parseFloat(e),Renderer:()=>{const e=n1((e=>e.colorspace.base02));return ee.jsx(ik,{sx:{backgroundColor:e,fontSize:"0.8rem",fontWeight:"bold",borderRadius:"3px",padding:"0.5px 2px"},children:"NaN"})}}),E1=f1({is:e=>"number"==typeof e&&!S1(e)&&!isNaN(e),type:"float",colorKey:"base0B",serialize:e=>e.toString(),deserialize:e=>parseFloat(e),Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t})}}),C1=f1({is:e=>"number"==typeof e&&S1(e),type:"int",colorKey:"base0F",serialize:e=>e.toString(),deserialize:e=>parseFloat(e),Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t})}}),k1=f1({is:e=>"bigint"==typeof e,type:"bigint",colorKey:"base0F",serialize:e=>e.toString(),deserialize:e=>BigInt(e.replace(/\D/g,"")),Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:"".concat(t,"n")})}}),R1=e=>{let{d:t,...n}=e;return ee.jsx(Jv,{...n,children:ee.jsx("path",{d:t})})},T1=e=>ee.jsx(R1,{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zm-8-2h2v-4h4v-2h-4V7h-2v4H7v2h4z",...e}),I1=e=>ee.jsx(R1,{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",...e}),_1=e=>ee.jsx(R1,{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",...e}),A1=e=>ee.jsx(R1,{d:"M 12 2 C 10.615 1.998 9.214625 2.2867656 7.890625 2.8847656 L 8.9003906 4.6328125 C 9.9043906 4.2098125 10.957 3.998 12 4 C 15.080783 4 17.738521 5.7633175 19.074219 8.3222656 L 17.125 9 L 21.25 11 L 22.875 7 L 20.998047 7.6523438 C 19.377701 4.3110398 15.95585 2 12 2 z M 6.5097656 4.4882812 L 2.2324219 5.0820312 L 3.734375 6.3808594 C 1.6515335 9.4550558 1.3615962 13.574578 3.3398438 17 C 4.0308437 18.201 4.9801562 19.268234 6.1601562 20.115234 L 7.1699219 18.367188 C 6.3019219 17.710187 5.5922656 16.904 5.0722656 16 C 3.5320014 13.332354 3.729203 10.148679 5.2773438 7.7128906 L 6.8398438 9.0625 L 6.5097656 4.4882812 z M 19.929688 13 C 19.794687 14.08 19.450734 15.098 18.927734 16 C 17.386985 18.668487 14.531361 20.090637 11.646484 19.966797 L 12.035156 17.9375 L 8.2402344 20.511719 L 10.892578 23.917969 L 11.265625 21.966797 C 14.968963 22.233766 18.681899 20.426323 20.660156 17 C 21.355156 15.801 21.805219 14.445 21.949219 13 L 19.929688 13 z",...e}),O1=e=>ee.jsx(R1,{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",...e}),N1=e=>ee.jsx(R1,{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",...e}),P1=e=>ee.jsx(R1,{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",...e}),L1=e=>ee.jsx(R1,{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",...e}),M1=e=>ee.jsx(R1,{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5l-1-1h-5l-1 1H5v2h14V4z",...e});function D1(e){const t=i1(e);let n="";return(e instanceof Map||e instanceof Set)&&(n=e[Symbol.toStringTag]),Object.prototype.hasOwnProperty.call(e,Symbol.toStringTag)&&(n=e[Symbol.toStringTag]),"".concat(t," Items").concat(n?" (".concat(n,")"):"")}const j1={is:e=>"object"==typeof e,Component:e=>{const t=r1(),n=n1((e=>e.colorspace.base02)),r=n1((e=>e.groupArraysAfterLength)),o=c1(e.path,e.value),[a,i]=U.useState(n1((e=>e.maxDisplayLength))),s=n1((e=>e.objectSortKeys)),l=U.useMemo((()=>{if(!e.inspect)return null;const n=e.value,o=function(e){return"function"==typeof(null==e?void 0:e[Symbol.iterator])}(n);if(o&&!Array.isArray(n)){const t=[];if(n instanceof Map)n.forEach(((n,r)=>{const o=r.toString(),a=[...e.path,o];t.push(ee.jsx(W1,{path:a,value:n,prevValue:e.prevValue instanceof Map?e.prevValue.get(r):void 0,editable:!1},o))}));else{const r=n[Symbol.iterator]();let o=r.next(),a=0;for(;!o.done;)t.push(ee.jsx(W1,{path:[...e.path,"iterator:".concat(a)],value:o.value,nestedIndex:a,editable:!1},a)),a++,o=r.next()}return t}if(Array.isArray(n)){if(n.length<=r){const o=n.slice(0,a).map(((t,n)=>{const o=e.nestedIndex?e.nestedIndex*r+n:n,a=[...e.path,o];return ee.jsx(W1,{path:a,value:t,prevValue:Array.isArray(e.prevValue)?e.prevValue[o]:void 0},o)}));if(n.length>a){const e=n.length-a;o.push(ee.jsxs(d1,{sx:{cursor:"pointer",lineHeight:1.5,color:t,letterSpacing:.5,opacity:.8,userSelect:"none"},onClick:()=>i((e=>2*e)),children:["hidden ",e," items…"]},"last"))}return o}const o=s1(n,r),s=Array.isArray(e.prevValue)?s1(e.prevValue,r):void 0;return o.map(((t,n)=>ee.jsx(W1,{path:e.path,value:t,nestedIndex:n,prevValue:null==s?void 0:s[n]},n)))}let l=Object.entries(n);s&&(l=!0===s?l.sort(((e,t)=>{let[n]=e,[r]=t;return n.localeCompare(r)})):l.sort(((e,t)=>{let[n]=e,[r]=t;return s(n,r)})));const u=l.slice(0,a).map((t=>{let[n,r]=t;var o;const a=[...e.path,n];return ee.jsx(W1,{path:a,value:r,prevValue:null===(o=e.prevValue)||void 0===o?void 0:o[n]},n)}));if(l.length>a){const e=l.length-a;u.push(ee.jsxs(d1,{sx:{cursor:"pointer",lineHeight:1.5,color:t,letterSpacing:.5,opacity:.8,userSelect:"none"},onClick:()=>i((e=>2*e)),children:["hidden ",e," items…"]},"last"))}return u}),[e.inspect,e.value,e.prevValue,e.path,e.nestedIndex,r,a,t,s]),u=e.inspect?.6:0,c=n1((e=>e.indentWidth)),d=e.inspect?c-u:c;return U.useMemo((()=>0===i1(e.value)),[e.value])?null:ee.jsx(ik,{className:"data-object",sx:{display:e.inspect?"block":"inline-block",pl:e.inspect?d-.6:0,marginLeft:u,color:t,borderLeft:e.inspect?"1px solid ".concat(n):"none"},children:e.inspect?l:!o&&ee.jsx(ik,{component:"span",className:"data-object-body",onClick:()=>e.setInspect(!0),sx:{"&:hover":{cursor:"pointer"},padding:.5,userSelect:"none"},children:"…"})})},PreComponent:e=>{const t=n1((e=>e.colorspace.base04)),n=r1(),r=U.useMemo((()=>Array.isArray(e.value)),[e.value]),o=U.useMemo((()=>0===i1(e.value)),[e.value]),a=U.useMemo((()=>D1(e.value)),[e.value]),i=n1((e=>e.displaySize)),s=U.useMemo((()=>"function"==typeof i?i(e.path,e.value):i),[i,e.path,e.value]),l=c1(e.path,e.value);return ee.jsxs(ik,{component:"span",className:"data-object-start",sx:{letterSpacing:.5},children:[r?"[":"{",s&&e.inspect&&!o&&ee.jsx(ik,{component:"span",sx:{pl:.5,fontStyle:"italic",color:t,userSelect:"none"},children:a}),l&&!e.inspect&&ee.jsxs(ee.Fragment,{children:[ee.jsx(A1,{sx:{fontSize:12,color:n,mx:.5}}),l]})]})},PostComponent:e=>{const t=n1((e=>e.colorspace.base04)),n=r1(),r=U.useMemo((()=>Array.isArray(e.value)),[e.value]),o=U.useMemo((()=>0===i1(e.value)),[e.value]),a=U.useMemo((()=>D1(e.value)),[e.value]),i=n1((e=>e.displaySize)),s=U.useMemo((()=>"function"==typeof i?i(e.path,e.value):i),[i,e.path,e.value]);return ee.jsxs(ik,{component:"span",className:"data-object-end",sx:{lineHeight:1.5,color:n,letterSpacing:.5,opacity:.8},children:[r?"]":"}",!s||!o&&e.inspect?null:ee.jsx(ik,{component:"span",sx:{pl:.5,fontStyle:"italic",color:t,userSelect:"none"},children:a})]})}},F1=f1({is:e=>"string"==typeof e,type:"string",colorKey:"base09",serialize:e=>e,deserialize:e=>e,Renderer:e=>{const[t,n]=U.useState(!1),r=n1((e=>e.collapseStringsAfterLength)),o=t?e.value:e.value.slice(0,r),a=e.value.length>r;return ee.jsxs(ik,{component:"span",sx:{overflowWrap:"anywhere",cursor:a?"pointer":"inherit"},onClick:()=>{var e;"Range"!==(null===(e=window.getSelection())||void 0===e?void 0:e.type)&&a&&n((e=>!e))},children:['"',o,a&&!t&&ee.jsx(ik,{component:"span",sx:{padding:.5},children:"…"}),'"']})}}),$1=f1({is:e=>void 0===e,type:"undefined",colorKey:"base05",displayTypeLabel:!1,Renderer:()=>{const e=n1((e=>e.colorspace.base02));return ee.jsx(ik,{sx:{fontSize:"0.7rem",backgroundColor:e,borderRadius:"3px",padding:"0.5px 2px"},children:"undefined"})}});function B1(e){function t(e,t){var n,r;return Object.is(e.value,t.value)&&e.inspect&&t.inspect&&(null===(n=e.path)||void 0===n?void 0:n.join("."))===(null===(r=t.path)||void 0===r?void 0:r.join("."))}return e.Component=U.memo(e.Component,t),e.Editor&&(e.Editor=U.memo(e.Editor,(function(e,t){return Object.is(e.value,t.value)}))),e.PreComponent&&(e.PreComponent=U.memo(e.PreComponent,t)),e.PostComponent&&(e.PostComponent=U.memo(e.PostComponent,t)),e}const z1=[B1(m1),B1(g1),B1(w1),B1($1),B1(F1),B1(y1),B1(x1),B1(C1),B1(E1),B1(k1)],U1=U.createContext(void 0);U1.Provider;const H1=(e,t)=>H0(U.useContext(U1),e,t);function V1(e,t){const n=H1((e=>e.registry));return U.useMemo((()=>function(e,t,n){let r;for(const o of n)o.is(e,t)&&(r=o);if(void 0===r){if("object"==typeof e)return j1;throw new Error("No type matched for value: ".concat(e))}return r}(e,t,n)),[e,t,n])}const G1=e=>ee.jsx(ik,{component:"span",...e,sx:{cursor:"pointer",paddingLeft:"0.7rem",...e.sx}}),W1=e=>{const{value:t,prevValue:n,path:r,nestedIndex:o}=e,{Component:a,PreComponent:i,PostComponent:s,Editor:l,serialize:u,deserialize:c}=V1(t,r);var d;const p=null!==(d=e.editable)&&void 0!==d?d:void 0,f=n1((e=>e.editable)),m=U.useMemo((()=>!1!==f&&(!1!==p&&("function"==typeof f?!!f(r,t):f))),[r,p,f,t]),[h,g]=U.useState(""),b=r.length,v=r[b-1],y=n1((e=>e.hoverPath)),w=U.useMemo((()=>y&&r.every(((e,t)=>e===y.path[t]&&o===y.nestedIndex))),[y,r,o]),S=n1((e=>e.setHover)),x=n1((e=>e.value)),[E,C]=function(e,t,n){const r=e.length,o=c1(e,t),a=n1((e=>e.getInspectCache)),i=n1((e=>e.setInspectCache)),s=n1((e=>e.defaultInspectDepth)),l=n1((e=>e.defaultInspectControl));U.useEffect((()=>{if(void 0!==a(e,n))return;if(void 0!==n)return void i(e,!1,n);const u=!o&&("function"==typeof l?l(e,t):r{const i=a(e,n);return void 0!==i?i:void 0===n&&!o&&("function"==typeof l?l(e,t):r{c((r=>{const o="boolean"==typeof t?t:t(r);return i(e,o,n),o}))}),[n,e,i])]}(r,t,o),[k,R]=U.useState(!1),T=n1((e=>e.onChange)),I=r1(),_=n1((e=>e.colorspace.base0C)),A=n1((e=>e.colorspace.base0A)),O=n1((e=>e.quotesOnKeys)),N=n1((e=>e.rootName)),P=x===t,L=Number.isInteger(Number(v)),M=n1((e=>e.enableAdd)),D=n1((e=>e.onAdd)),j=U.useMemo((()=>!(!D||void 0!==o)&&(!1!==M&&(!1!==p&&("function"==typeof M?!!M(r,t):!(!Array.isArray(t)&&!function(e){if(!e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);if(null===t)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===o1}(t)))))),[D,o,r,M,p,t]),F=n1((e=>e.enableDelete)),$=n1((e=>e.onDelete)),B=U.useMemo((()=>!(!$||void 0!==o)&&(!P&&(!1!==F&&(!1!==p&&("function"==typeof F?!!F(r,t):F))))),[$,o,P,r,F,p,t]),z=n1((e=>e.enableClipboard)),{copy:H,copied:V}=u1(),G=n1((e=>e.highlightUpdates)),W=U.useMemo((()=>!(!G||void 0===n)&&(typeof t!=typeof n||("number"==typeof t?(!isNaN(t)||!isNaN(n))&&t!==n:Array.isArray(t)!==Array.isArray(n)||"object"!=typeof t&&"function"!=typeof t&&t!==n))),[G,n,t]),q=U.useRef();U.useEffect((()=>{q.current&&W&&"animate"in q.current&&q.current.animate([{backgroundColor:A},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})}),[A,W,n,t]);const K=U.useCallback((e=>{e.preventDefault(),u&&g(u(t)),R(!0)}),[u,t]),Y=U.useCallback((()=>{R(!1),g("")}),[R,g]),X=U.useCallback((e=>{if(R(!1),c)try{T(r,t,c(e))}catch(w0){}}),[R,c,T,r,t]),Z=U.useMemo((()=>k?ee.jsxs(ee.Fragment,{children:[ee.jsx(G1,{children:ee.jsx(O1,{sx:{fontSize:".8rem"},onClick:Y})}),ee.jsx(G1,{children:ee.jsx(I1,{sx:{fontSize:".8rem"},onClick:()=>X(h)})})]}):ee.jsxs(ee.Fragment,{children:[z&&ee.jsx(G1,{onClick:e=>{e.preventDefault();try{H(r,t,l1)}catch(w0){console.error(w0)}},children:V?ee.jsx(I1,{sx:{fontSize:".8rem"}}):ee.jsx(N1,{sx:{fontSize:".8rem"}})}),l&&m&&u&&c&&ee.jsx(G1,{onClick:K,children:ee.jsx(P1,{sx:{fontSize:".8rem"}})}),j&&ee.jsx(G1,{onClick:e=>{e.preventDefault(),null==D||D(r)},children:ee.jsx(T1,{sx:{fontSize:".8rem"}})}),B&&ee.jsx(G1,{onClick:e=>{e.preventDefault(),null==$||$(r,t)},children:ee.jsx(M1,{sx:{fontSize:".9rem"}})})]})),[l,u,c,V,H,m,k,z,j,B,h,r,t,D,$,K,Y,X]),Q=U.useMemo((()=>0===i1(t)),[t]),J=!Q&&!(!i||!s),te=n1((e=>e.keyRenderer)),ne=U.useMemo((()=>({path:r,inspect:E,setInspect:C,value:t,prevValue:n,nestedIndex:o})),[E,r,C,t,n,o]);return ee.jsxs(ik,{className:"data-key-pair","data-testid":"data-key-pair"+r.join("."),sx:{userSelect:"text"},onMouseEnter:U.useCallback((()=>S(r,o)),[S,r,o]),children:[ee.jsxs(d1,{component:"span",className:"data-key",sx:{lineHeight:1.5,color:I,letterSpacing:.5,opacity:.8},onClick:U.useCallback((e=>{e.isDefaultPrevented()||Q||C((e=>!e))}),[Q,C]),children:[J?E?ee.jsx(L1,{sx:{fontSize:".8rem","&:hover":{cursor:"pointer"}}}):ee.jsx(_1,{sx:{fontSize:".8rem","&:hover":{cursor:"pointer"}}}):null,ee.jsx(ik,{ref:q,component:"span",children:P&&0===b?!1!==N?O?ee.jsxs(ee.Fragment,{children:['"',N,'"']}):ee.jsx(ee.Fragment,{children:N}):null:te.when(ne)?ee.jsx(te,{...ne}):void 0===o&&(L?ee.jsx(ik,{component:"span",style:{color:_},children:v}):O?ee.jsxs(ee.Fragment,{children:['"',v,'"']}):ee.jsx(ee.Fragment,{children:v}))}),P?!1!==N&&ee.jsx(d1,{sx:{mr:.5},children:":"}):void 0===o&&ee.jsx(d1,{sx:{mr:.5},children:":"}),i&&ee.jsx(i,{...ne}),w&&J&&E&&Z]}),k&&m?l&&ee.jsx(l,{value:h,setValue:g,abortEditing:Y,commitEditing:X}):a?ee.jsx(a,{...ne}):ee.jsx(ik,{component:"span",className:"data-value-fallback",children:"fallback: ".concat(t)}),s&&ee.jsx(s,{...ne}),w&&J&&!E&&Z,w&&!J&&Z,!w&&k&&Z]})},q1="(prefers-color-scheme: dark)";function K1(e,t){const{setState:n}=U.useContext(t1);U.useEffect((()=>{void 0!==t&&n({[e]:t})}),[e,t,n])}const Y1=e=>{const{setState:t}=U.useContext(t1);U.useEffect((()=>{t((t=>({prevValue:t.value,value:e.value})))}),[e.value,t]),K1("rootName",e.rootName),K1("indentWidth",e.indentWidth),K1("keyRenderer",e.keyRenderer),K1("enableAdd",e.enableAdd),K1("enableDelete",e.enableDelete),K1("enableClipboard",e.enableClipboard),K1("editable",e.editable),K1("onChange",e.onChange),K1("onCopy",e.onCopy),K1("onSelect",e.onSelect),K1("onAdd",e.onAdd),K1("onDelete",e.onDelete),K1("maxDisplayLength",e.maxDisplayLength),K1("groupArraysAfterLength",e.groupArraysAfterLength),K1("displayDataTypes",e.displayDataTypes),K1("displaySize",e.displaySize),K1("highlightUpdates",e.highlightUpdates),U.useEffect((()=>{"light"===e.theme?t({colorspace:Z0}):"dark"===e.theme?t({colorspace:Q0}):"object"==typeof e.theme&&t({colorspace:e.theme})}),[t,e.theme]);const n=U.useMemo((()=>"object"==typeof e.theme?"json-viewer-theme-custom":"dark"===e.theme?"json-viewer-theme-dark":"json-viewer-theme-light"),[e.theme]),r=U.useRef(!0),o=H1((e=>e.registerTypes));if(r.current){const t=e.valueTypes?[...z1,...e.valueTypes]:[...z1];o(t),r.current=!1}U.useEffect((()=>{const t=e.valueTypes?[...z1,...e.valueTypes]:[...z1];o(t)}),[e.valueTypes,o]);const a=n1((e=>e.value)),i=n1((e=>e.prevValue)),s=U.useMemo((()=>[]),[]),l=n1((e=>e.setHover)),u=U.useCallback((()=>l(null)),[l]);return ee.jsx(Ly,{elevation:0,className:X0(n,e.className),style:e.style,sx:{fontFamily:"monospace",userSelect:"none",contentVisibility:"auto",...e.sx},onMouseLeave:u,children:ee.jsx(W1,{value:a,prevValue:i,path:s})})},X1=function(e){const t=function(){const[e,t]=U.useState(!1);return U.useEffect((()=>{const e=e=>t(e.matches);t(window.matchMedia(q1).matches);const n=window.matchMedia(q1);return n.addEventListener("change",e),()=>n.removeEventListener("change",e)}),[]),e}(),n=U.useMemo((()=>{var n;return"auto"===e.theme?t?"dark":"light":null!==(n=e.theme)&&void 0!==n?n:"light"}),[t,e.theme]),r=U.useMemo((()=>{const e="object"==typeof n?n.base00:"dark"===n?Q0.base00:Z0.base00;return fv({components:{MuiPaper:{styleOverrides:{root:{backgroundColor:e,color:"object"==typeof n?n.base07:"dark"===n?Q0.base07:Z0.base07}}}},palette:{mode:"dark"===n?"dark":"light",background:{default:e}}})}),[n]),o={...e,theme:n},a=U.useMemo((()=>e1(e)),[]),i=U.useMemo((()=>h0()((e=>({registry:z1,registerTypes:t=>{e((e=>({registry:"function"==typeof t?t(e.registry):t})))}})))),[]);return ee.jsx(Kv,{theme:r,children:ee.jsx(U1.Provider,{value:i,children:ee.jsx(t1.Provider,{value:a,children:ee.jsx(Y1,{...o})})})})};function Z1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t,n,r=e.join(".");return t2[r]||(t2[r]=0===(n=(t=e).length)||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),t2[r]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return e2(e2({},e),n[t])}),t)}function r2(e){return e.join(" ")}function o2(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,l=t.type,u=t.tagName,c=t.value;if("text"===l)return c;if(u){var d,p=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return o2({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var f=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),m=s.className&&s.className.includes("token")?["token"]:[],h=s.className&&m.concat(s.className.filter((function(e){return!f.includes(e)})));d=e2(e2({},s),{},{className:r2(h)||void 0,style:n2(s.className,Object.assign({},s.style,o),n)})}else d=e2(e2({},s),{},{className:r2(s.className)});var g=p(t.children);return H.createElement(u,Af({key:i},d),g)}}const a2=function(e,t){return-1!==e.listLanguages().indexOf(t)};var i2=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function s2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l2(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||u.length>0?function(e,t){return f2({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l})}(e,a,u):function(e,t){if(r&&t&&o){var n=p2(s,t,i);e.unshift(d2(t,n))}return e}(e,a)}for(var h=function(){var e=c[f],t=e.children[0].value;if(t.match(u2)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&d.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var l=m(c.slice(p+1,f).concat(f2({children:[s],className:e.properties.className})),i);d.push(l)}else if(o===n.length-1){var u=c[f+1]&&c[f+1].children&&c[f+1].children[0],h={type:"text",value:"".concat(t)};if(u){var g=f2({children:[h],className:e.properties.className});c.splice(f+1,0,g)}else{var b=m([h],i,e.properties.className);d.push(b)}}else{var v=m([s],i,e.properties.className);d.push(v)}})),p=f}f++};f4&&n.slice(0,4)===h4&&b4.test(t)&&("-"===t.charAt(4)?r=function(e){var t=e.slice(5).replace(v4,S4);return h4+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(v4.test(t))return e;t=t.replace(y4,w4),"-"!==t.charAt(0)&&(t="-"+t);return h4+t}(t),o=f4);return new o(r,t)},b4=/^data[-\w.:]+$/i,v4=/-[a-z]/g,y4=/[A-Z]/g;function w4(e){return"-"+e.toLowerCase()}function S4(e){return e.charAt(1).toUpperCase()}var x4=function(e,t){var n,r,o,a=e||"",i=t||"div",s={},l=0;for(;l=48&&t<=57};var V4=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57};var G4=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90};var W4,q4=G4,K4=H4,Y4=function(e){return q4(e)||K4(e)};var X4=function(e){var t,n="&"+e+";";if((W4=W4||document.createElement("i")).innerHTML=n,t=W4.textContent,59===t.charCodeAt(t.length-1)&&"semi"!==e)return!1;return t!==n&&t};var Z4={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:"ÿ"},Q4={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:"Ÿ"},J4=H4,e5=V4,t5=Y4,n5=X4,r5=function(e,t){var n,r,o={};t||(t={});for(r in s5)n=t[r],o[r]=null==n?s5[r]:n;(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start);return function(e,t){var n,r,o,a,i,s,l,u,c,d,p,f,m,h,g,b,v,y,w,S=t.additional,x=t.nonTerminated,E=t.text,C=t.reference,k=t.warning,R=t.textContext,T=t.referenceContext,I=t.warningContext,_=t.position,A=t.indent||[],O=e.length,N=0,P=-1,L=_.column||1,M=_.line||1,D="",j=[];"string"==typeof S&&(S=S.charCodeAt(0));b=F(),u=k?$:i5,N--,O++;for(;++N65535&&(d+=a5((s-=65536)>>>10|55296),s=56320|1023&s),s=d+a5(s))):h!==w5&&u(I5,y)),s?(B(),b=F(),N=w-1,L+=w-m+1,j.push(s),(v=F()).offset++,C&&C.call(T,s,{start:b,end:v},e.slice(m-1,w)),b=v):(a=e.slice(m-1,w),D+=a,L+=a.length,N=w-1)}else 10===i&&(M++,P++,L=0),i==i?(D+=a5(i),L++):B();return j.join("");function F(){return{line:M,column:L,offset:N+(_.offset||0)}}function $(e,t){var n=F();n.column+=t,n.offset+=t,k.call(I,N5[e],n,e)}function B(){D&&(j.push(D),E&&E.call(R,D,{start:b,end:F()}),D="")}}(e,o)},o5={}.hasOwnProperty,a5=String.fromCharCode,i5=Function.prototype,s5={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},l5=9,u5=10,c5=12,d5=32,p5=38,f5=59,m5=60,h5=61,g5=35,b5=88,v5=120,y5=65533,w5="named",S5="hexadecimal",x5="decimal",E5={};E5[S5]=16,E5[x5]=10;var C5={};C5[w5]=t5,C5[x5]=J4,C5[S5]=e5;var k5=1,R5=2,T5=3,I5=4,_5=5,A5=6,O5=7,N5={};function P5(e){return e>=55296&&e<=57343||e>1114111}function L5(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}N5[k5]="Named character references must be terminated by a semicolon",N5[R5]="Numeric character references must be terminated by a semicolon",N5[T5]="Named character references cannot be empty",N5[I5]="Numeric character references cannot be empty",N5[_5]="Named character references must be known",N5[A5]="Numeric character references cannot be disallowed",N5[O5]="Numeric character references cannot be outside the permissible Unicode range";var M5={exports:{}};!function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);E+=x.value.length,x=x.next){var C=x.value;if(t.length>e.length)return;if(!(C instanceof a)){var k,R=1;if(v){if(!(k=i(S,E,e,b))||k.index>=e.length)break;var T=k.index,I=k.index+k[0].length,_=E;for(_+=x.value.length;T>=_;)_+=(x=x.next).value.length;if(E=_-=x.value.length,x.value instanceof a)continue;for(var A=x;A!==t.tail&&(_d.reach&&(d.reach=L);var M=x.prev;if(N&&(M=u(t,M,N),E+=N.length),c(t,M,R),x=u(t,M,new a(p,g?o.tokenize(O,g):O,y,O)),P&&u(t,x,P),R>1){var D={cause:p+","+m,reach:L};s(e,t,n,x.prev,E,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){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 u(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 c(e,t,n){for(var r=t.next,o=0;o"+a.content+""},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,i=n.immediateClose;e.postMessage(o.highlight(a,o.languages[r],r)),i&&e.close()}),!1),o):o;var d=o.util.currentScript();function p(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var f=document.readyState;"loading"===f||"interactive"===f&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); + */var O0="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},N0=A0.useSyncExternalStore,P0=_0.useRef,L0=_0.useEffect,M0=_0.useMemo,D0=_0.useDebugValue;b0.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var a=P0(null);if(null===a.current){var i={hasValue:!1,value:null};a.current=i}else i=a.current;a=M0((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&i.hasValue){var t=i.value;if(o(t,e))return s=t}return s=e}if(t=s,O0(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var s=N0(e,a[0],a[1]);return L0((function(){i.hasValue=!0,i.value=s}),[s]),D0(s),s},g0.exports=b0;const j0=r(g0.exports);var F0={VITE_ENV:"github",VITE_BACKEND_URL:"http://127.0.0.1:8080",VITE_BUILD_ID:"05e2bda",BASE_URL:"https://yiisoft.github.io/yii-dev-panel/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:$0}=H,{useSyncExternalStoreWithSelector:B0}=j0;let z0=!1;const U0=e=>e;function H0(e,t=U0,n){"production"!==(F0?"production":void 0)&&n&&!z0&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),z0=!0);const r=B0(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return $0(r),r}const V0=e=>{"production"!==(F0?"production":void 0)&&"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?h0(e):e,n=(e,n)=>H0(t,e,n);return Object.assign(n,t),n};var G0=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;rnull;J0.when=()=>!1;const e1=e=>{return(t?V0(t):V0)(((t,n)=>{var r,o,a,i,s,l,u,c,d,p,f,m,h,g,b,v,y,w,S,x,E,C;return{rootName:null!==(r=e.rootName)&&void 0!==r?r:"root",indentWidth:null!==(o=e.indentWidth)&&void 0!==o?o:3,keyRenderer:null!==(a=e.keyRenderer)&&void 0!==a?a:J0,enableAdd:null!==(i=e.enableAdd)&&void 0!==i&&i,enableDelete:null!==(s=e.enableDelete)&&void 0!==s&&s,enableClipboard:null===(l=e.enableClipboard)||void 0===l||l,editable:null!==(u=e.editable)&&void 0!==u&&u,onChange:null!==(c=e.onChange)&&void 0!==c?c:()=>{},onCopy:null!==(d=e.onCopy)&&void 0!==d?d:void 0,onSelect:null!==(p=e.onSelect)&&void 0!==p?p:void 0,onAdd:null!==(f=e.onAdd)&&void 0!==f?f:void 0,onDelete:null!==(m=e.onDelete)&&void 0!==m?m:void 0,defaultInspectDepth:null!==(h=e.defaultInspectDepth)&&void 0!==h?h:5,defaultInspectControl:null!==(g=e.defaultInspectControl)&&void 0!==g?g:void 0,maxDisplayLength:null!==(b=e.maxDisplayLength)&&void 0!==b?b:30,groupArraysAfterLength:null!==(v=e.groupArraysAfterLength)&&void 0!==v?v:100,collapseStringsAfterLength:!1===e.collapseStringsAfterLength?Number.MAX_VALUE:null!==(y=e.collapseStringsAfterLength)&&void 0!==y?y:50,objectSortKeys:null!==(w=e.objectSortKeys)&&void 0!==w&&w,quotesOnKeys:null===(S=e.quotesOnKeys)||void 0===S||S,displayDataTypes:null===(x=e.displayDataTypes)||void 0===x||x,displaySize:null===(E=e.displaySize)||void 0===E||E,highlightUpdates:null!==(C=e.highlightUpdates)&&void 0!==C&&C,inspectCache:{},hoverPath:null,colorspace:Z0,value:e.value,prevValue:void 0,getInspectCache:(e,t)=>{const r=void 0!==t?e.join(".")+"[".concat(t,"]nt"):e.join(".");return n().inspectCache[r]},setInspectCache:(e,n,r)=>{const o=void 0!==r?e.join(".")+"[".concat(r,"]nt"):e.join(".");t((e=>({inspectCache:{...e.inspectCache,[o]:"function"==typeof n?n(e.inspectCache[o]):n}})))},setHover:(e,n)=>{t({hoverPath:e?{path:e,nestedIndex:n}:null})}}}));var t},t1=U.createContext(void 0);t1.Provider;const n1=(e,t)=>H0(U.useContext(t1),e,t),r1=()=>n1((e=>e.colorspace.base07)),o1=Object.prototype.constructor.toString();const a1=(e,t,n)=>{if(null===e||null===n)return!1;if("object"!=typeof e)return!1;if("object"!=typeof n)return!1;if(Object.is(e,n)&&0!==t.length)return"";const r=[],o=[...t];let a=e;for(;a!==n||0!==o.length;){if("object"!=typeof a||null===a)return!1;if(Object.is(a,n))return r.reduce(((e,t,n)=>"number"==typeof t?e+"[".concat(t,"]"):e+"".concat(0===n?"":".").concat(t)),"");const e=o.shift();r.push(e),a=a[e]}return!1};function i1(e){return null===e?0:Array.isArray(e)?e.length:e instanceof Map||e instanceof Set?e.size:e instanceof Date?1:"object"==typeof e?Object.keys(e).length:"string"==typeof e?e.length:1}function s1(e,t){const n=[];let r=0;for(;r0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=U.useState(!1),r=U.useRef(null),o=U.useCallback((t=>{const o=r.current;o&&window.clearTimeout(o),r.current=window.setTimeout((()=>n(!1)),e),n(t)}),[e]),a=n1((e=>e.onCopy)),i=U.useCallback((async(e,t)=>{if("function"==typeof a)try{await a(e,t,l1),o(!0)}catch(n){console.error("error when copy ".concat(0===e.length?"src":"src[".concat(e.join(".")),"]"),n)}else try{const e=function(e,t){const n=[];return JSON.stringify(e,(function(e,t){if("bigint"==typeof t)return t.toString();if(t instanceof Map){if("toJSON"in t&&"function"==typeof t.toJSON)return t.toJSON();if(0===t.size)return{};if(n.includes(t))return"[Circular]";n.push(t);const e=Array.from(t.entries());return e.every((e=>{let[t]=e;return"string"==typeof t||"number"==typeof t}))?Object.fromEntries(e):{}}if(t instanceof Set)return"toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():n.includes(t)?"[Circular]":(n.push(t),Array.from(t.values()));if("object"==typeof t&&null!==t&&Object.keys(t).length){const r=n.length;if(r){for(let o=r-1;o>=0&&n[o][e]!==t;--o)n.pop();if(n.includes(t))return"[Circular]"}n.push(t)}return t}),t)}("function"==typeof t?t.toString():t," ");await l1(e),o(!0)}catch(n){console.error("error when copy ".concat(0===e.length?"src":"src[".concat(e.join(".")),"]"),n)}}),[o,a]);return{copy:i,reset:U.useCallback((()=>{n(!1),r.current&&clearTimeout(r.current)}),[]),copied:t}}function c1(e,t){const n=n1((e=>e.value));return U.useMemo((()=>a1(n,e,t)),[e,t,n])}const d1=e=>ee.jsx(ik,{component:"div",...e,sx:{display:"inline-block",...e.sx}}),p1=e=>{let{dataType:t,enable:n=!0}=e;return n?ee.jsx(d1,{className:"data-type-label",sx:{mx:.5,fontSize:"0.7rem",opacity:.8,userSelect:"none"},children:t}):null};function f1(e){let{is:t,serialize:n,deserialize:r,type:o,colorKey:a,displayTypeLabel:i=!0,Renderer:s}=e;const l=U.memo(s),u=e=>{const t=n1((e=>e.displayDataTypes)),n=n1((e=>e.colorspace[a])),r=n1((e=>e.onSelect));return ee.jsxs(d1,{onClick:()=>null==r?void 0:r(e.path,e.value),sx:{color:n},children:[i&&t&&ee.jsx(p1,{dataType:o}),ee.jsx(d1,{className:"".concat(o,"-value"),children:ee.jsx(l,{path:e.path,inspect:e.inspect,setInspect:e.setInspect,value:e.value,prevValue:e.prevValue})})]})};if(u.displayName="easy-".concat(o,"-type"),!n||!r)return{is:t,Component:u};const c=e=>{let{value:t,setValue:n,abortEditing:r,commitEditing:o}=e;const i=n1((e=>e.colorspace[a])),s=U.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),o(t)),"Escape"===e.key&&(e.preventDefault(),r())}),[r,o,t]),l=U.useCallback((e=>{n(e.target.value)}),[n]);return ee.jsx(iC,{autoFocus:!0,value:t,onChange:l,onKeyDown:s,size:"small",multiline:!0,sx:{color:i,padding:.5,borderStyle:"solid",borderColor:"black",borderWidth:1,fontSize:"0.8rem",fontFamily:"monospace",display:"inline-flex"}})};return c.displayName="easy-".concat(o,"-type-editor"),{is:t,serialize:n,deserialize:r,Component:u,Editor:c}}const m1=f1({is:e=>"boolean"==typeof e,type:"bool",colorKey:"base0E",serialize:e=>e.toString(),deserialize:e=>{if("true"===e)return!0;if("false"===e)return!1;throw new Error("Invalid boolean value")},Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t?"true":"false"})}}),h1={weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"},g1=f1({is:e=>e instanceof Date,type:"date",colorKey:"base0D",Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t.toLocaleTimeString("en-us",h1)})}}),b1=e=>{const t=e.toString();let n=!0;const r=t.indexOf(")"),o=t.indexOf("=>");return-1!==o&&o>r&&(n=!1),n?t.substring(t.indexOf("{",r)+1,t.lastIndexOf("}")):t.substring(t.indexOf("=>")+2)},v1=e=>{const t=e.toString();return-1!==t.indexOf("function")?t.substring(8,t.indexOf("{")).trim():t.substring(0,t.indexOf("=>")+2).trim()},y1={is:e=>"function"==typeof e,Component:e=>{const t=n1((e=>e.colorspace.base05));return ee.jsx(jS,{children:ee.jsx(ik,{className:"data-function",sx:{display:e.inspect?"block":"inline-block",pl:e.inspect?2:0,color:t},children:e.inspect?b1(e.value):ee.jsx(ik,{component:"span",className:"data-function-body",onClick:()=>e.setInspect(!0),sx:{"&:hover":{cursor:"pointer"},padding:.5},children:"…"})})})},PreComponent:e=>ee.jsxs(jS,{children:[ee.jsx(p1,{dataType:"function"}),ee.jsxs(ik,{component:"span",className:"data-function-start",sx:{letterSpacing:.5},children:[v1(e.value)," ","{"]})]}),PostComponent:()=>ee.jsx(jS,{children:ee.jsx(ik,{component:"span",className:"data-function-end",children:"}"})})},w1=f1({is:e=>null===e,type:"null",colorKey:"base08",displayTypeLabel:!1,Renderer:()=>{const e=n1((e=>e.colorspace.base02));return ee.jsx(ik,{sx:{fontSize:"0.8rem",backgroundColor:e,fontWeight:"bold",borderRadius:"3px",padding:"0.5px 2px"},children:"NULL"})}}),S1=e=>e%1==0,x1=f1({is:e=>"number"==typeof e&&isNaN(e),type:"NaN",colorKey:"base08",displayTypeLabel:!1,serialize:()=>"NaN",deserialize:e=>parseFloat(e),Renderer:()=>{const e=n1((e=>e.colorspace.base02));return ee.jsx(ik,{sx:{backgroundColor:e,fontSize:"0.8rem",fontWeight:"bold",borderRadius:"3px",padding:"0.5px 2px"},children:"NaN"})}}),E1=f1({is:e=>"number"==typeof e&&!S1(e)&&!isNaN(e),type:"float",colorKey:"base0B",serialize:e=>e.toString(),deserialize:e=>parseFloat(e),Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t})}}),C1=f1({is:e=>"number"==typeof e&&S1(e),type:"int",colorKey:"base0F",serialize:e=>e.toString(),deserialize:e=>parseFloat(e),Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:t})}}),k1=f1({is:e=>"bigint"==typeof e,type:"bigint",colorKey:"base0F",serialize:e=>e.toString(),deserialize:e=>BigInt(e.replace(/\D/g,"")),Renderer:e=>{let{value:t}=e;return ee.jsx(ee.Fragment,{children:"".concat(t,"n")})}}),R1=e=>{let{d:t,...n}=e;return ee.jsx(Jv,{...n,children:ee.jsx("path",{d:t})})},T1=e=>ee.jsx(R1,{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zm-8-2h2v-4h4v-2h-4V7h-2v4H7v2h4z",...e}),I1=e=>ee.jsx(R1,{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",...e}),_1=e=>ee.jsx(R1,{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",...e}),A1=e=>ee.jsx(R1,{d:"M 12 2 C 10.615 1.998 9.214625 2.2867656 7.890625 2.8847656 L 8.9003906 4.6328125 C 9.9043906 4.2098125 10.957 3.998 12 4 C 15.080783 4 17.738521 5.7633175 19.074219 8.3222656 L 17.125 9 L 21.25 11 L 22.875 7 L 20.998047 7.6523438 C 19.377701 4.3110398 15.95585 2 12 2 z M 6.5097656 4.4882812 L 2.2324219 5.0820312 L 3.734375 6.3808594 C 1.6515335 9.4550558 1.3615962 13.574578 3.3398438 17 C 4.0308437 18.201 4.9801562 19.268234 6.1601562 20.115234 L 7.1699219 18.367188 C 6.3019219 17.710187 5.5922656 16.904 5.0722656 16 C 3.5320014 13.332354 3.729203 10.148679 5.2773438 7.7128906 L 6.8398438 9.0625 L 6.5097656 4.4882812 z M 19.929688 13 C 19.794687 14.08 19.450734 15.098 18.927734 16 C 17.386985 18.668487 14.531361 20.090637 11.646484 19.966797 L 12.035156 17.9375 L 8.2402344 20.511719 L 10.892578 23.917969 L 11.265625 21.966797 C 14.968963 22.233766 18.681899 20.426323 20.660156 17 C 21.355156 15.801 21.805219 14.445 21.949219 13 L 19.929688 13 z",...e}),O1=e=>ee.jsx(R1,{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",...e}),N1=e=>ee.jsx(R1,{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",...e}),P1=e=>ee.jsx(R1,{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",...e}),L1=e=>ee.jsx(R1,{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",...e}),M1=e=>ee.jsx(R1,{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5l-1-1h-5l-1 1H5v2h14V4z",...e});function D1(e){const t=i1(e);let n="";return(e instanceof Map||e instanceof Set)&&(n=e[Symbol.toStringTag]),Object.prototype.hasOwnProperty.call(e,Symbol.toStringTag)&&(n=e[Symbol.toStringTag]),"".concat(t," Items").concat(n?" (".concat(n,")"):"")}const j1={is:e=>"object"==typeof e,Component:e=>{const t=r1(),n=n1((e=>e.colorspace.base02)),r=n1((e=>e.groupArraysAfterLength)),o=c1(e.path,e.value),[a,i]=U.useState(n1((e=>e.maxDisplayLength))),s=n1((e=>e.objectSortKeys)),l=U.useMemo((()=>{if(!e.inspect)return null;const n=e.value,o=function(e){return"function"==typeof(null==e?void 0:e[Symbol.iterator])}(n);if(o&&!Array.isArray(n)){const t=[];if(n instanceof Map)n.forEach(((n,r)=>{const o=r.toString(),a=[...e.path,o];t.push(ee.jsx(W1,{path:a,value:n,prevValue:e.prevValue instanceof Map?e.prevValue.get(r):void 0,editable:!1},o))}));else{const r=n[Symbol.iterator]();let o=r.next(),a=0;for(;!o.done;)t.push(ee.jsx(W1,{path:[...e.path,"iterator:".concat(a)],value:o.value,nestedIndex:a,editable:!1},a)),a++,o=r.next()}return t}if(Array.isArray(n)){if(n.length<=r){const o=n.slice(0,a).map(((t,n)=>{const o=e.nestedIndex?e.nestedIndex*r+n:n,a=[...e.path,o];return ee.jsx(W1,{path:a,value:t,prevValue:Array.isArray(e.prevValue)?e.prevValue[o]:void 0},o)}));if(n.length>a){const e=n.length-a;o.push(ee.jsxs(d1,{sx:{cursor:"pointer",lineHeight:1.5,color:t,letterSpacing:.5,opacity:.8,userSelect:"none"},onClick:()=>i((e=>2*e)),children:["hidden ",e," items…"]},"last"))}return o}const o=s1(n,r),s=Array.isArray(e.prevValue)?s1(e.prevValue,r):void 0;return o.map(((t,n)=>ee.jsx(W1,{path:e.path,value:t,nestedIndex:n,prevValue:null==s?void 0:s[n]},n)))}let l=Object.entries(n);s&&(l=!0===s?l.sort(((e,t)=>{let[n]=e,[r]=t;return n.localeCompare(r)})):l.sort(((e,t)=>{let[n]=e,[r]=t;return s(n,r)})));const u=l.slice(0,a).map((t=>{let[n,r]=t;var o;const a=[...e.path,n];return ee.jsx(W1,{path:a,value:r,prevValue:null===(o=e.prevValue)||void 0===o?void 0:o[n]},n)}));if(l.length>a){const e=l.length-a;u.push(ee.jsxs(d1,{sx:{cursor:"pointer",lineHeight:1.5,color:t,letterSpacing:.5,opacity:.8,userSelect:"none"},onClick:()=>i((e=>2*e)),children:["hidden ",e," items…"]},"last"))}return u}),[e.inspect,e.value,e.prevValue,e.path,e.nestedIndex,r,a,t,s]),u=e.inspect?.6:0,c=n1((e=>e.indentWidth)),d=e.inspect?c-u:c;return U.useMemo((()=>0===i1(e.value)),[e.value])?null:ee.jsx(ik,{className:"data-object",sx:{display:e.inspect?"block":"inline-block",pl:e.inspect?d-.6:0,marginLeft:u,color:t,borderLeft:e.inspect?"1px solid ".concat(n):"none"},children:e.inspect?l:!o&&ee.jsx(ik,{component:"span",className:"data-object-body",onClick:()=>e.setInspect(!0),sx:{"&:hover":{cursor:"pointer"},padding:.5,userSelect:"none"},children:"…"})})},PreComponent:e=>{const t=n1((e=>e.colorspace.base04)),n=r1(),r=U.useMemo((()=>Array.isArray(e.value)),[e.value]),o=U.useMemo((()=>0===i1(e.value)),[e.value]),a=U.useMemo((()=>D1(e.value)),[e.value]),i=n1((e=>e.displaySize)),s=U.useMemo((()=>"function"==typeof i?i(e.path,e.value):i),[i,e.path,e.value]),l=c1(e.path,e.value);return ee.jsxs(ik,{component:"span",className:"data-object-start",sx:{letterSpacing:.5},children:[r?"[":"{",s&&e.inspect&&!o&&ee.jsx(ik,{component:"span",sx:{pl:.5,fontStyle:"italic",color:t,userSelect:"none"},children:a}),l&&!e.inspect&&ee.jsxs(ee.Fragment,{children:[ee.jsx(A1,{sx:{fontSize:12,color:n,mx:.5}}),l]})]})},PostComponent:e=>{const t=n1((e=>e.colorspace.base04)),n=r1(),r=U.useMemo((()=>Array.isArray(e.value)),[e.value]),o=U.useMemo((()=>0===i1(e.value)),[e.value]),a=U.useMemo((()=>D1(e.value)),[e.value]),i=n1((e=>e.displaySize)),s=U.useMemo((()=>"function"==typeof i?i(e.path,e.value):i),[i,e.path,e.value]);return ee.jsxs(ik,{component:"span",className:"data-object-end",sx:{lineHeight:1.5,color:n,letterSpacing:.5,opacity:.8},children:[r?"]":"}",!s||!o&&e.inspect?null:ee.jsx(ik,{component:"span",sx:{pl:.5,fontStyle:"italic",color:t,userSelect:"none"},children:a})]})}},F1=f1({is:e=>"string"==typeof e,type:"string",colorKey:"base09",serialize:e=>e,deserialize:e=>e,Renderer:e=>{const[t,n]=U.useState(!1),r=n1((e=>e.collapseStringsAfterLength)),o=t?e.value:e.value.slice(0,r),a=e.value.length>r;return ee.jsxs(ik,{component:"span",sx:{overflowWrap:"anywhere",cursor:a?"pointer":"inherit"},onClick:()=>{var e;"Range"!==(null===(e=window.getSelection())||void 0===e?void 0:e.type)&&a&&n((e=>!e))},children:['"',o,a&&!t&&ee.jsx(ik,{component:"span",sx:{padding:.5},children:"…"}),'"']})}}),$1=f1({is:e=>void 0===e,type:"undefined",colorKey:"base05",displayTypeLabel:!1,Renderer:()=>{const e=n1((e=>e.colorspace.base02));return ee.jsx(ik,{sx:{fontSize:"0.7rem",backgroundColor:e,borderRadius:"3px",padding:"0.5px 2px"},children:"undefined"})}});function B1(e){function t(e,t){var n,r;return Object.is(e.value,t.value)&&e.inspect&&t.inspect&&(null===(n=e.path)||void 0===n?void 0:n.join("."))===(null===(r=t.path)||void 0===r?void 0:r.join("."))}return e.Component=U.memo(e.Component,t),e.Editor&&(e.Editor=U.memo(e.Editor,(function(e,t){return Object.is(e.value,t.value)}))),e.PreComponent&&(e.PreComponent=U.memo(e.PreComponent,t)),e.PostComponent&&(e.PostComponent=U.memo(e.PostComponent,t)),e}const z1=[B1(m1),B1(g1),B1(w1),B1($1),B1(F1),B1(y1),B1(x1),B1(C1),B1(E1),B1(k1)],U1=U.createContext(void 0);U1.Provider;const H1=(e,t)=>H0(U.useContext(U1),e,t);function V1(e,t){const n=H1((e=>e.registry));return U.useMemo((()=>function(e,t,n){let r;for(const o of n)o.is(e,t)&&(r=o);if(void 0===r){if("object"==typeof e)return j1;throw new Error("No type matched for value: ".concat(e))}return r}(e,t,n)),[e,t,n])}const G1=e=>ee.jsx(ik,{component:"span",...e,sx:{cursor:"pointer",paddingLeft:"0.7rem",...e.sx}}),W1=e=>{const{value:t,prevValue:n,path:r,nestedIndex:o}=e,{Component:a,PreComponent:i,PostComponent:s,Editor:l,serialize:u,deserialize:c}=V1(t,r);var d;const p=null!==(d=e.editable)&&void 0!==d?d:void 0,f=n1((e=>e.editable)),m=U.useMemo((()=>!1!==f&&(!1!==p&&("function"==typeof f?!!f(r,t):f))),[r,p,f,t]),[h,g]=U.useState(""),b=r.length,v=r[b-1],y=n1((e=>e.hoverPath)),w=U.useMemo((()=>y&&r.every(((e,t)=>e===y.path[t]&&o===y.nestedIndex))),[y,r,o]),S=n1((e=>e.setHover)),x=n1((e=>e.value)),[E,C]=function(e,t,n){const r=e.length,o=c1(e,t),a=n1((e=>e.getInspectCache)),i=n1((e=>e.setInspectCache)),s=n1((e=>e.defaultInspectDepth)),l=n1((e=>e.defaultInspectControl));U.useEffect((()=>{if(void 0!==a(e,n))return;if(void 0!==n)return void i(e,!1,n);const u=!o&&("function"==typeof l?l(e,t):r{const i=a(e,n);return void 0!==i?i:void 0===n&&!o&&("function"==typeof l?l(e,t):r{c((r=>{const o="boolean"==typeof t?t:t(r);return i(e,o,n),o}))}),[n,e,i])]}(r,t,o),[k,R]=U.useState(!1),T=n1((e=>e.onChange)),I=r1(),_=n1((e=>e.colorspace.base0C)),A=n1((e=>e.colorspace.base0A)),O=n1((e=>e.quotesOnKeys)),N=n1((e=>e.rootName)),P=x===t,L=Number.isInteger(Number(v)),M=n1((e=>e.enableAdd)),D=n1((e=>e.onAdd)),j=U.useMemo((()=>!(!D||void 0!==o)&&(!1!==M&&(!1!==p&&("function"==typeof M?!!M(r,t):!(!Array.isArray(t)&&!function(e){if(!e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);if(null===t)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===o1}(t)))))),[D,o,r,M,p,t]),F=n1((e=>e.enableDelete)),$=n1((e=>e.onDelete)),B=U.useMemo((()=>!(!$||void 0!==o)&&(!P&&(!1!==F&&(!1!==p&&("function"==typeof F?!!F(r,t):F))))),[$,o,P,r,F,p,t]),z=n1((e=>e.enableClipboard)),{copy:H,copied:V}=u1(),G=n1((e=>e.highlightUpdates)),W=U.useMemo((()=>!(!G||void 0===n)&&(typeof t!=typeof n||("number"==typeof t?(!isNaN(t)||!isNaN(n))&&t!==n:Array.isArray(t)!==Array.isArray(n)||"object"!=typeof t&&"function"!=typeof t&&t!==n))),[G,n,t]),q=U.useRef();U.useEffect((()=>{q.current&&W&&"animate"in q.current&&q.current.animate([{backgroundColor:A},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})}),[A,W,n,t]);const K=U.useCallback((e=>{e.preventDefault(),u&&g(u(t)),R(!0)}),[u,t]),Y=U.useCallback((()=>{R(!1),g("")}),[R,g]),X=U.useCallback((e=>{if(R(!1),c)try{T(r,t,c(e))}catch(w0){}}),[R,c,T,r,t]),Z=U.useMemo((()=>k?ee.jsxs(ee.Fragment,{children:[ee.jsx(G1,{children:ee.jsx(O1,{sx:{fontSize:".8rem"},onClick:Y})}),ee.jsx(G1,{children:ee.jsx(I1,{sx:{fontSize:".8rem"},onClick:()=>X(h)})})]}):ee.jsxs(ee.Fragment,{children:[z&&ee.jsx(G1,{onClick:e=>{e.preventDefault();try{H(r,t,l1)}catch(w0){console.error(w0)}},children:V?ee.jsx(I1,{sx:{fontSize:".8rem"}}):ee.jsx(N1,{sx:{fontSize:".8rem"}})}),l&&m&&u&&c&&ee.jsx(G1,{onClick:K,children:ee.jsx(P1,{sx:{fontSize:".8rem"}})}),j&&ee.jsx(G1,{onClick:e=>{e.preventDefault(),null==D||D(r)},children:ee.jsx(T1,{sx:{fontSize:".8rem"}})}),B&&ee.jsx(G1,{onClick:e=>{e.preventDefault(),null==$||$(r,t)},children:ee.jsx(M1,{sx:{fontSize:".9rem"}})})]})),[l,u,c,V,H,m,k,z,j,B,h,r,t,D,$,K,Y,X]),Q=U.useMemo((()=>0===i1(t)),[t]),J=!Q&&!(!i||!s),te=n1((e=>e.keyRenderer)),ne=U.useMemo((()=>({path:r,inspect:E,setInspect:C,value:t,prevValue:n,nestedIndex:o})),[E,r,C,t,n,o]);return ee.jsxs(ik,{className:"data-key-pair","data-testid":"data-key-pair"+r.join("."),sx:{userSelect:"text"},onMouseEnter:U.useCallback((()=>S(r,o)),[S,r,o]),children:[ee.jsxs(d1,{component:"span",className:"data-key",sx:{lineHeight:1.5,color:I,letterSpacing:.5,opacity:.8},onClick:U.useCallback((e=>{e.isDefaultPrevented()||Q||C((e=>!e))}),[Q,C]),children:[J?E?ee.jsx(L1,{sx:{fontSize:".8rem","&:hover":{cursor:"pointer"}}}):ee.jsx(_1,{sx:{fontSize:".8rem","&:hover":{cursor:"pointer"}}}):null,ee.jsx(ik,{ref:q,component:"span",children:P&&0===b?!1!==N?O?ee.jsxs(ee.Fragment,{children:['"',N,'"']}):ee.jsx(ee.Fragment,{children:N}):null:te.when(ne)?ee.jsx(te,{...ne}):void 0===o&&(L?ee.jsx(ik,{component:"span",style:{color:_},children:v}):O?ee.jsxs(ee.Fragment,{children:['"',v,'"']}):ee.jsx(ee.Fragment,{children:v}))}),P?!1!==N&&ee.jsx(d1,{sx:{mr:.5},children:":"}):void 0===o&&ee.jsx(d1,{sx:{mr:.5},children:":"}),i&&ee.jsx(i,{...ne}),w&&J&&E&&Z]}),k&&m?l&&ee.jsx(l,{value:h,setValue:g,abortEditing:Y,commitEditing:X}):a?ee.jsx(a,{...ne}):ee.jsx(ik,{component:"span",className:"data-value-fallback",children:"fallback: ".concat(t)}),s&&ee.jsx(s,{...ne}),w&&J&&!E&&Z,w&&!J&&Z,!w&&k&&Z]})},q1="(prefers-color-scheme: dark)";function K1(e,t){const{setState:n}=U.useContext(t1);U.useEffect((()=>{void 0!==t&&n({[e]:t})}),[e,t,n])}const Y1=e=>{const{setState:t}=U.useContext(t1);U.useEffect((()=>{t((t=>({prevValue:t.value,value:e.value})))}),[e.value,t]),K1("rootName",e.rootName),K1("indentWidth",e.indentWidth),K1("keyRenderer",e.keyRenderer),K1("enableAdd",e.enableAdd),K1("enableDelete",e.enableDelete),K1("enableClipboard",e.enableClipboard),K1("editable",e.editable),K1("onChange",e.onChange),K1("onCopy",e.onCopy),K1("onSelect",e.onSelect),K1("onAdd",e.onAdd),K1("onDelete",e.onDelete),K1("maxDisplayLength",e.maxDisplayLength),K1("groupArraysAfterLength",e.groupArraysAfterLength),K1("displayDataTypes",e.displayDataTypes),K1("displaySize",e.displaySize),K1("highlightUpdates",e.highlightUpdates),U.useEffect((()=>{"light"===e.theme?t({colorspace:Z0}):"dark"===e.theme?t({colorspace:Q0}):"object"==typeof e.theme&&t({colorspace:e.theme})}),[t,e.theme]);const n=U.useMemo((()=>"object"==typeof e.theme?"json-viewer-theme-custom":"dark"===e.theme?"json-viewer-theme-dark":"json-viewer-theme-light"),[e.theme]),r=U.useRef(!0),o=H1((e=>e.registerTypes));if(r.current){const t=e.valueTypes?[...z1,...e.valueTypes]:[...z1];o(t),r.current=!1}U.useEffect((()=>{const t=e.valueTypes?[...z1,...e.valueTypes]:[...z1];o(t)}),[e.valueTypes,o]);const a=n1((e=>e.value)),i=n1((e=>e.prevValue)),s=U.useMemo((()=>[]),[]),l=n1((e=>e.setHover)),u=U.useCallback((()=>l(null)),[l]);return ee.jsx(Ly,{elevation:0,className:X0(n,e.className),style:e.style,sx:{fontFamily:"monospace",userSelect:"none",contentVisibility:"auto",...e.sx},onMouseLeave:u,children:ee.jsx(W1,{value:a,prevValue:i,path:s})})},X1=function(e){const t=function(){const[e,t]=U.useState(!1);return U.useEffect((()=>{const e=e=>t(e.matches);t(window.matchMedia(q1).matches);const n=window.matchMedia(q1);return n.addEventListener("change",e),()=>n.removeEventListener("change",e)}),[]),e}(),n=U.useMemo((()=>{var n;return"auto"===e.theme?t?"dark":"light":null!==(n=e.theme)&&void 0!==n?n:"light"}),[t,e.theme]),r=U.useMemo((()=>{const e="object"==typeof n?n.base00:"dark"===n?Q0.base00:Z0.base00;return fv({components:{MuiPaper:{styleOverrides:{root:{backgroundColor:e,color:"object"==typeof n?n.base07:"dark"===n?Q0.base07:Z0.base07}}}},palette:{mode:"dark"===n?"dark":"light",background:{default:e}}})}),[n]),o={...e,theme:n},a=U.useMemo((()=>e1(e)),[]),i=U.useMemo((()=>h0()((e=>({registry:z1,registerTypes:t=>{e((e=>({registry:"function"==typeof t?t(e.registry):t})))}})))),[]);return ee.jsx(Kv,{theme:r,children:ee.jsx(U1.Provider,{value:i,children:ee.jsx(t1.Provider,{value:a,children:ee.jsx(Y1,{...o})})})})};function Z1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t,n,r=e.join(".");return t2[r]||(t2[r]=0===(n=(t=e).length)||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),t2[r]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return e2(e2({},e),n[t])}),t)}function r2(e){return e.join(" ")}function o2(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,a=e.useInlineStyles,i=e.key,s=t.properties,l=t.type,u=t.tagName,c=t.value;if("text"===l)return c;if(u){var d,p=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return o2({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var f=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),m=s.className&&s.className.includes("token")?["token"]:[],h=s.className&&m.concat(s.className.filter((function(e){return!f.includes(e)})));d=e2(e2({},s),{},{className:r2(h)||void 0,style:n2(s.className,Object.assign({},s.style,o),n)})}else d=e2(e2({},s),{},{className:r2(s.className)});var g=p(t.children);return H.createElement(u,Af({key:i},d),g)}}const a2=function(e,t){return-1!==e.listLanguages().indexOf(t)};var i2=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function s2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l2(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||u.length>0?function(e,t){return f2({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l})}(e,a,u):function(e,t){if(r&&t&&o){var n=p2(s,t,i);e.unshift(d2(t,n))}return e}(e,a)}for(var h=function(){var e=c[f],t=e.children[0].value;if(t.match(u2)){var n=t.split("\n");n.forEach((function(t,o){var i=r&&d.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===o){var l=m(c.slice(p+1,f).concat(f2({children:[s],className:e.properties.className})),i);d.push(l)}else if(o===n.length-1){var u=c[f+1]&&c[f+1].children&&c[f+1].children[0],h={type:"text",value:"".concat(t)};if(u){var g=f2({children:[h],className:e.properties.className});c.splice(f+1,0,g)}else{var b=m([h],i,e.properties.className);d.push(b)}}else{var v=m([s],i,e.properties.className);d.push(v)}})),p=f}f++};f4&&n.slice(0,4)===h4&&b4.test(t)&&("-"===t.charAt(4)?r=function(e){var t=e.slice(5).replace(v4,S4);return h4+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(v4.test(t))return e;t=t.replace(y4,w4),"-"!==t.charAt(0)&&(t="-"+t);return h4+t}(t),o=f4);return new o(r,t)},b4=/^data[-\w.:]+$/i,v4=/-[a-z]/g,y4=/[A-Z]/g;function w4(e){return"-"+e.toLowerCase()}function S4(e){return e.charAt(1).toUpperCase()}var x4=function(e,t){var n,r,o,a=e||"",i=t||"div",s={},l=0;for(;l=48&&t<=57};var V4=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57};var G4=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90};var W4,q4=G4,K4=H4,Y4=function(e){return q4(e)||K4(e)};var X4=function(e){var t,n="&"+e+";";if((W4=W4||document.createElement("i")).innerHTML=n,t=W4.textContent,59===t.charCodeAt(t.length-1)&&"semi"!==e)return!1;return t!==n&&t};var Z4={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:"ÿ"},Q4={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:"Ÿ"},J4=H4,e5=V4,t5=Y4,n5=X4,r5=function(e,t){var n,r,o={};t||(t={});for(r in s5)n=t[r],o[r]=null==n?s5[r]:n;(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start);return function(e,t){var n,r,o,a,i,s,l,u,c,d,p,f,m,h,g,b,v,y,w,S=t.additional,x=t.nonTerminated,E=t.text,C=t.reference,k=t.warning,R=t.textContext,T=t.referenceContext,I=t.warningContext,_=t.position,A=t.indent||[],O=e.length,N=0,P=-1,L=_.column||1,M=_.line||1,D="",j=[];"string"==typeof S&&(S=S.charCodeAt(0));b=F(),u=k?$:i5,N--,O++;for(;++N65535&&(d+=a5((s-=65536)>>>10|55296),s=56320|1023&s),s=d+a5(s))):h!==w5&&u(I5,y)),s?(B(),b=F(),N=w-1,L+=w-m+1,j.push(s),(v=F()).offset++,C&&C.call(T,s,{start:b,end:v},e.slice(m-1,w)),b=v):(a=e.slice(m-1,w),D+=a,L+=a.length,N=w-1)}else 10===i&&(M++,P++,L=0),i==i?(D+=a5(i),L++):B();return j.join("");function F(){return{line:M,column:L,offset:N+(_.offset||0)}}function $(e,t){var n=F();n.column+=t,n.offset+=t,k.call(I,N5[e],n,e)}function B(){D&&(j.push(D),E&&E.call(R,D,{start:b,end:F()}),D="")}}(e,o)},o5={}.hasOwnProperty,a5=String.fromCharCode,i5=Function.prototype,s5={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},l5=9,u5=10,c5=12,d5=32,p5=38,f5=59,m5=60,h5=61,g5=35,b5=88,v5=120,y5=65533,w5="named",S5="hexadecimal",x5="decimal",E5={};E5[S5]=16,E5[x5]=10;var C5={};C5[w5]=t5,C5[x5]=J4,C5[S5]=e5;var k5=1,R5=2,T5=3,I5=4,_5=5,A5=6,O5=7,N5={};function P5(e){return e>=55296&&e<=57343||e>1114111}function L5(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}N5[k5]="Named character references must be terminated by a semicolon",N5[R5]="Numeric character references must be terminated by a semicolon",N5[T5]="Named character references cannot be empty",N5[I5]="Numeric character references cannot be empty",N5[_5]="Named character references must be known",N5[A5]="Numeric character references cannot be disallowed",N5[O5]="Numeric character references cannot be outside the permissible Unicode range";var M5={exports:{}};!function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);E+=x.value.length,x=x.next){var C=x.value;if(t.length>e.length)return;if(!(C instanceof a)){var k,R=1;if(v){if(!(k=i(S,E,e,b))||k.index>=e.length)break;var T=k.index,I=k.index+k[0].length,_=E;for(_+=x.value.length;T>=_;)_+=(x=x.next).value.length;if(E=_-=x.value.length,x.value instanceof a)continue;for(var A=x;A!==t.tail&&(_d.reach&&(d.reach=L);var M=x.prev;if(N&&(M=u(t,M,N),E+=N.length),c(t,M,R),x=u(t,M,new a(p,g?o.tokenize(O,g):O,y,O)),P&&u(t,x,P),R>1){var D={cause:p+","+m,reach:L};s(e,t,n,x.prev,E,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){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 u(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 c(e,t,n){for(var r=t.next,o=0;o"+a.content+""},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,i=n.immediateClose;e.postMessage(o.highlight(a,o.languages[r],r)),i&&e.close()}),!1),o):o;var d=o.util.currentScript();function p(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var f=document.readyState;"loading"===f||"interactive"===f&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); /** * Prism: Lightweight, robust, elegant syntax highlighting * @@ -278,4 +278,4 @@ function XD(){return XD=Object.assign?Object.assign.bind():function(e){for(var t * @author Lea Verou * @namespace * @public - */e.exports&&(e.exports=t),void 0!==n&&(n.Prism=t)}(M5);var D5=M5.exports,j5=F5;function F5(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},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(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",a)}}),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}F5.displayName="markup",F5.aliases=["html","mathml","svg","xml","ssml","atom","rss"];var $5=B5;function B5(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}B5.displayName="css",B5.aliases=[];var z5=U5;function U5(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:/[{}[\];(),.:]/}}U5.displayName="clike",U5.aliases=[];var H5=V5;function V5(e){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:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside: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}V5.displayName="javascript",V5.aliases=["js"];var G5,W5,q5="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n?n:{},K5=(W5=(G5="Prism"in q5)?q5.Prism:void 0,function(){G5?q5.Prism=W5:delete q5.Prism,G5=void 0,W5=void 0});q5.Prism={manual:!0,disableWorkerMessageHandler:!0};var Y5=U4,X5=r5,Z5=D5,Q5=j5,J5=$5,e3=z5,t3=H5;K5();var n3={}.hasOwnProperty;function r3(){}r3.prototype=Z5;var o3=new r3,a3=o3;function i3(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===o3.languages[e.displayName]&&e(o3)}o3.highlight=function(e,t){var n,r=Z5.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===o3.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!n3.call(o3.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=o3.languages[t]}return r.call(this,e,n,t)},o3.register=i3,o3.alias=function(e,t){var n,r,o,a,i=o3.languages,s=e;t&&((s={})[e]=t);for(n in s)for(o=(r="string"==typeof(r=s[n])?[r]:r).length,a=-1;++a?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return C3=1,E3=e,e.displayName="sql",e.aliases=[],E3}function mae(){if(L3)return P3;function e(e){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}return L3=1,P3=e,e.displayName="c",e.aliases=[],P3}function hae(){if(D3)return M3;D3=1;var e=mae();function t(t){t.register(e),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.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:t,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/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.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:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(t)}return M3=t,t.displayName="cpp",t.aliases=[],M3}function gae(){if(K3)return q3;function e(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",i="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*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(a),c=RegExp(l(o+" "+a+" "+i+" "+s)),d=l(a+" "+i+" "+s),p=l(o+" "+a+" "+s),f=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),m=r(/\((?:[^()]|<>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[h,f]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,g]),v=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,v]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,v]),S=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,b,v]),E={keyword:c,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,k=/"(?:\\.|[^\\"\r\n])*"/.source,R=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,x]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,g]),lookbehind:!0,inside:E},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:E},{pattern:n(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:E},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,p,h]),inside:E}],keyword:c,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:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:E},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,b]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,f]),inside:{function:n(/^<<0>>/.source,[h]),generic:{pattern:RegExp(f),alias:"class-name",inside:E}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,g,h,x,c.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,m]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(x),greedy:!0,inside:E},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 T=k+"|"+C,I=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),_=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),A=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,_]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[A,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[A]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[_]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,P=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,N]),M=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[T]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,N]);function j(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:j(L,P)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:j(D,M)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}return K3=1,q3=e,e.displayName="csharp",e.aliases=["dotnet","cs"],q3}function bae(){if(i6)return a6;function e(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return l6=1,s6=e,e.displayName="basic",e.aliases=[],s6}function yae(){if(K6)return q6;function e(e){!function(e){e.languages.ruby=e.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:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.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:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,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:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.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)/}),e.languages.rb=e.languages.ruby}(e)}return K6=1,q6=e,e.displayName="ruby",e.aliases=["rb"],q6}function wae(){if(w9)return y9;function e(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++o;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),v=[];h&&v.push.apply(v,i([h])),v.push(g),b&&v.push.apply(v,i([b])),"string"==typeof u?s.splice.apply(s,[l,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return s}(n.tokens)}}}})}(e)}return w9=1,y9=e,e.displayName="markupTemplating",e.aliases=[],y9}function Sae(){if(W9)return G9;function e(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:/[\[\](){},;]|\.+|:+/}}return W9=1,G9=e,e.displayName="lua",e.aliases=[],G9}function xae(){if(U8)return z8;function e(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}return U8=1,z8=e,e.displayName="haskell",e.aliases=["hs"],z8}function Eae(){if(C7)return E7;function e(e){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.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}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.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":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}return C7=1,E7=e,e.displayName="java",e.aliases=[],E7}function Cae(){if(R7)return k7;function e(e){!function(e){var t=e.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:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",o=e.languages[t];if(o){var a=o[r];if(!a){var i={};i[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},a=(o=e.languages.insertBefore(t,"comment",i))[r]}if(a instanceof RegExp&&(a=o[r]={pattern:a}),Array.isArray(a))for(var s=0,l=a.length;s]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript}(e)}return U7=1,z7=e,e.displayName="typescript",e.aliases=["ts"],z7}function Rae(){if(W7)return G7;function e(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}return W7=1,G7=e,e.displayName="json",e.aliases=["webmanifest"],G7}function Tae(){if(eee)return J7;function e(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:i(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var l=i(o);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=i(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(e)}return eee=1,J7=e,e.displayName="jsx",e.aliases=[],J7}function Iae(){if(gee)return hee;gee=1;var e=wae();function t(t){t.register(e),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\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,o=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:a};var i={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{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:i}},{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:i}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(t)}return hee=t,t.displayName="php",t.aliases=[],hee}function _ae(){if(xee)return See;function e(e){!function(e){e.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(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}return xee=1,See=e,e.displayName="scheme",e.aliases=[],See}function Aae(){if(Nre)return Ore;function e(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}return Nre=1,Ore=e,e.displayName="turtle",e.aliases=[],Ore}function Oae(){if(Xre)return Yre;function e(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],o="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,o),"class-feature":t("\\+",r,o),standard:t("",r,o)}}}}})}(e)}return Xre=1,Yre=e,e.displayName="t4Templating",e.aliases=[],Yre}function Nae(){if(eoe)return Jre;eoe=1;var e=vae();function t(t){t.register(e),t.languages.vbnet=t.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return Jre=t,t.displayName="vbnet",t.aliases=[],Jre}function Pae(){if(ooe)return roe;function e(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\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:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}return ooe=1,roe=e,e.displayName="yaml",e.aliases=["yml"],roe}var Lae=a3,Mae=Lae;Lae.register(function(){if(l3)return s3;function e(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|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return l3=1,s3=e,e.displayName="abap",e.aliases=[],s3}()),Lae.register(function(){if(c3)return u3;function e(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.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-])"+t+"|<"+t+">)(?![\\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)}return c3=1,u3=e,e.displayName="abnf",e.aliases=[],u3}()),Lae.register(function(){if(p3)return d3;function e(e){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}})}return p3=1,d3=e,e.displayName="actionscript",e.aliases=[],d3}()),Lae.register(function(){if(m3)return f3;function e(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}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return m3=1,f3=e,e.displayName="ada",e.aliases=[],f3}()),Lae.register(function(){if(g3)return h3;function e(e){!function(e){e.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)}return g3=1,h3=e,e.displayName="agda",e.aliases=[],h3}()),Lae.register(function(){if(v3)return b3;function e(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:/[()\[\]{}:.;,]/}}return v3=1,b3=e,e.displayName="al",e.aliases=[],b3}()),Lae.register(function(){if(w3)return y3;function e(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}return w3=1,y3=e,e.displayName="antlr4",e.aliases=["g4"],y3}()),Lae.register(function(){if(x3)return S3;function e(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:/\^?.*\$|\^.*\$?/}}return x3=1,S3=e,e.displayName="apacheconf",e.aliases=[],S3}()),Lae.register(function(){if(R3)return k3;R3=1;var e=fae();function t(t){t.register(e),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,(function(){return t.source}));function r(e){return RegExp(e.replace(//g,(function(){return n})),"i")}var o={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:o},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:o},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:o}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,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:/[()\[\]{};,.]/}}(t)}return k3=t,t.displayName="apex",t.aliases=[],k3}()),Lae.register(function(){if(I3)return T3;function e(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"}}}return I3=1,T3=e,e.displayName="apl",e.aliases=[],T3}()),Lae.register(function(){if(A3)return _3;function e(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:/[{}():,¬«»《》]/}}return A3=1,_3=e,e.displayName="applescript",e.aliases=[],_3}()),Lae.register(function(){if(N3)return O3;function e(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:/::|[?.:,;()[\]{}]/}}return N3=1,O3=e,e.displayName="aql",e.aliases=[],O3}()),Lae.register(function(){if(F3)return j3;F3=1;var e=hae();function t(t){t.register(e),t.languages.arduino=t.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/}),t.languages.ino=t.languages.arduino}return j3=t,t.displayName="arduino",t.aliases=["ino"],j3}()),Lae.register(function(){if(B3)return $3;function e(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:/[{},]/}}return B3=1,$3=e,e.displayName="arff",e.aliases=[],$3}()),Lae.register(function(){if(U3)return z3;function e(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.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:t,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 r(e){for(var t={},r=0,o=(e=e.split(" ")).length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return W3=1,G3=e,e.displayName="asmatmel",e.aliases=[],G3}()),Lae.register(function(){if(X3)return Y3;X3=1;var e=gae();function t(t){t.register(e),t.languages.aspnet=t.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:t.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:t.languages.csharp}}}),t.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.insertBefore("inside","punctuation",{directive:t.languages.aspnet.directive},t.languages.aspnet.tag.inside["attr-value"]),t.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),t.languages.insertBefore("aspnet",t.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:t.languages.csharp||{}}})}return Y3=t,t.displayName="aspnet",t.aliases=[],Y3}()),Lae.register(function(){if(Q3)return Z3;function e(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/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return Q3=1,Z3=e,e.displayName="autohotkey",e.aliases=[],Z3}()),Lae.register(function(){if(e6)return J3;function e(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:/[\[\]().,:]/}}return e6=1,J3=e,e.displayName="autoit",e.aliases=[],J3}()),Lae.register(function(){if(n6)return t6;function e(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return t[+n]}))}(e,t),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/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("|"),[/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("|"),[/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("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"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:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"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:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}return n6=1,t6=e,e.displayName="avisynth",e.aliases=["avs"],t6}()),Lae.register(function(){if(o6)return r6;function e(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"]}return o6=1,r6=e,e.displayName="avroIdl",e.aliases=[],r6}()),Lae.register(bae()),Lae.register(vae()),Lae.register(function(){if(c6)return u6;function e(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;e.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:r,parameter:n,variable:t,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}return c6=1,u6=e,e.displayName="batch",e.aliases=[],u6}()),Lae.register(function(){if(p6)return d6;function e(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}return p6=1,d6=e,e.displayName="bbcode",e.aliases=["shortcode"],d6}()),Lae.register(function(){if(m6)return f6;function e(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}return m6=1,f6=e,e.displayName="bicep",e.aliases=[],f6}()),Lae.register(function(){if(g6)return h6;function e(e){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"}})}return g6=1,h6=e,e.displayName="birb",e.aliases=[],h6}()),Lae.register(function(){if(v6)return b6;v6=1;var e=mae();function t(t){t.register(e),t.languages.bison=t.languages.extend("c",{}),t.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:t.languages.c}},comment:t.languages.c.comment,string:t.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return b6=t,t.displayName="bison",t.aliases=[],b6}()),Lae.register(function(){if(w6)return y6;function e(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}return w6=1,y6=e,e.displayName="bnf",e.aliases=["rbnf"],y6}()),Lae.register(function(){if(x6)return S6;function e(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return x6=1,S6=e,e.displayName="brainfuck",e.aliases=[],S6}()),Lae.register(function(){if(C6)return E6;function e(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}return C6=1,E6=e,e.displayName="brightscript",e.aliases=[],E6}()),Lae.register(function(){if(R6)return k6;function e(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:/[{}[\];(),.:]/}}return R6=1,k6=e,e.displayName="bro",e.aliases=[],k6}()),Lae.register(function(){if(I6)return T6;function e(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}return I6=1,T6=e,e.displayName="bsl",e.aliases=[],T6}()),Lae.register(mae()),Lae.register(function(){if(A6)return _6;function e(e){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}return A6=1,_6=e,e.displayName="cfscript",e.aliases=[],_6}()),Lae.register(function(){if(N6)return O6;N6=1;var e=hae();function t(t){t.register(e),t.languages.chaiscript=t.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:[t.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),t.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),t.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:t.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return O6=t,t.displayName="chaiscript",t.aliases=[],O6}()),Lae.register(function(){if(L6)return P6;function e(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]+/}}return L6=1,P6=e,e.displayName="cil",e.aliases=[],P6}()),Lae.register(function(){if(D6)return M6;function e(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:/[{}\[\](),]/}}return D6=1,M6=e,e.displayName="clojure",e.aliases=[],M6}()),Lae.register(function(){if(F6)return j6;function e(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_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return F6=1,j6=e,e.displayName="cmake",e.aliases=[],j6}()),Lae.register(function(){if(B6)return $6;function e(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:/[.:,()]/}}return B6=1,$6=e,e.displayName="cobol",e.aliases=[],$6}()),Lae.register(function(){if(U6)return z6;function e(e){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}return U6=1,z6=e,e.displayName="coffeescript",e.aliases=["coffee"],z6}()),Lae.register(function(){if(V6)return H6;function e(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}return V6=1,H6=e,e.displayName="concurnas",e.aliases=["conc"],H6}()),Lae.register(function(){if(W6)return G6;function e(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,(function(){return t}))),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),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)}return W6=1,G6=e,e.displayName="coq",e.aliases=[],G6}()),Lae.register(hae()),Lae.register(function(){if(X6)return Y6;X6=1;var e=yae();function t(t){t.register(e),function(e){e.languages.crystal=e.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:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.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:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.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}})}(t)}return Y6=t,t.displayName="crystal",t.aliases=[],Y6}()),Lae.register(gae()),Lae.register(function(){if(Q6)return Z6;Q6=1;var e=gae();function t(t){t.register(e),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var o=0;o/g,(function(){return"(?:"+e+")"}));return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var o=r(/\((?:[^()'"@/]|||)*\)/.source,2),a=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),i=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,u=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,c=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(e)}return n9=1,t9=e,e.displayName="cssExtras",e.aliases=[],t9}()),Lae.register(function(){if(o9)return r9;function e(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return o9=1,r9=e,e.displayName="csv",e.aliases=[],r9}()),Lae.register(function(){if(i9)return a9;function e(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:/[()[\]{},;.]/}}return i9=1,a9=e,e.displayName="cypher",e.aliases=[],a9}()),Lae.register(function(){if(l9)return s9;function e(e){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"}})}return l9=1,s9=e,e.displayName="d",e.aliases=[],s9}()),Lae.register(function(){if(c9)return u9;function e(e){!function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.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:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}return c9=1,u9=e,e.displayName="dart",e.aliases=[],u9}()),Lae.register(function(){if(p9)return d9;function e(e){!function(e){e.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)}return p9=1,d9=e,e.displayName="dataweave",e.aliases=[],d9}()),Lae.register(function(){if(m9)return f9;function e(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:/[;\[\](){}`,.]/}}return m9=1,f9=e,e.displayName="dax",e.aliases=[],f9}()),Lae.register(function(){if(g9)return h9;function e(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}return g9=1,h9=e,e.displayName="dhall",e.aliases=[],h9}()),Lae.register(function(){if(v9)return b9;function e(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}return v9=1,b9=e,e.displayName="diff",e.aliases=[],b9}()),Lae.register(function(){if(x9)return S9;x9=1;var e=wae();function t(t){t.register(e),function(e){e.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 t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"django",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"django")})),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"jinja2",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"jinja2")}))}(t)}return S9=t,t.displayName="django",t.aliases=["jinja2"],S9}()),Lae.register(function(){if(C9)return E9;function e(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"]}return C9=1,E9=e,e.displayName="dnsZoneFile",e.aliases=[],E9}()),Lae.register(function(){if(R9)return k9;function e(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,(function(){return t})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,(function(){return r})),a={pattern:RegExp(r),greedy:!0},i={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(//g,(function(){return o})).replace(//g,(function(){return n})),RegExp(e,t)}e.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:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:i,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:i},e.languages.dockerfile=e.languages.docker}(e)}return R9=1,k9=e,e.displayName="docker",e.aliases=["dockerfile"],k9}()),Lae.register(function(){if(I9)return T9;function e(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,(function(){return t})),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}return I9=1,T9=e,e.displayName="dot",e.aliases=["gv"],T9}()),Lae.register(function(){if(A9)return _9;function e(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:/[-=|*/!]/}}return A9=1,_9=e,e.displayName="ebnf",e.aliases=[],_9}()),Lae.register(function(){if(N9)return O9;function e(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:/^=/}}}}return N9=1,O9=e,e.displayName="editorconfig",e.aliases=[],O9}()),Lae.register(function(){if(L9)return P9;function e(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:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return L9=1,P9=e,e.displayName="eiffel",e.aliases=[],P9}()),Lae.register(function(){if(D9)return M9;D9=1;var e=wae();function t(t){t.register(e),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})),e.languages.eta=e.languages.ejs}(t)}return M9=t,t.displayName="ejs",t.aliases=["eta"],M9}()),Lae.register(function(){if(F9)return j9;function e(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}}}}))}return F9=1,j9=e,e.displayName="elixir",e.aliases=[],j9}()),Lae.register(function(){if(B9)return $9;function e(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:/[{}[\]|(),.:]/}}return B9=1,$9=e,e.displayName="elm",e.aliases=[],$9}()),Lae.register(function(){if(U9)return z9;U9=1;var e=yae(),t=wae();function n(n){n.register(e),n.register(t),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")}))}(n)}return z9=n,n.displayName="erb",n.aliases=[],z9}()),Lae.register(function(){if(V9)return H9;function e(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|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return V9=1,H9=e,e.displayName="erlang",e.aliases=[],H9}()),Lae.register(function(){if(K9)return q9;K9=1;var e=Sae(),t=wae();function n(n){n.register(e),n.register(t),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")}))}(n)}return q9=n,n.displayName="etlua",n.aliases=[],q9}()),Lae.register(function(){if(X9)return Y9;function e(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:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}return X9=1,Y9=e,e.displayName="excelFormula",e.aliases=[],Y9}()),Lae.register(function(){if(Q9)return Z9;function e(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},o=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(e){return new RegExp("(^|\\s)(?:"+e.map(o).join("|")+")(?=\\s|$)")},i={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(i).forEach((function(e){r[e].pattern=a(i[e])}));r.combinators.pattern=a(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}(e)}return Q9=1,Z9=e,e.displayName="factor",e.aliases=[],Z9}()),Lae.register(function(){if(e8)return J9;function e(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return n8=1,t8=e,e.displayName="firestoreSecurityRules",e.aliases=[],t8}()),Lae.register(function(){if(o8)return r8;function e(e){!function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.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 e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.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)}return o8=1,r8=e,e.displayName="flow",e.aliases=[],r8}()),Lae.register(function(){if(i8)return a8;function e(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:/\(\/|\/\)|[(),;:&]/}}return i8=1,a8=e,e.displayName="fortran",e.aliases=[],a8}()),Lae.register(function(){if(l8)return s8;function e(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return l8=1,s8=e,e.displayName="fsharp",e.aliases=[],s8}()),Lae.register(function(){if(c8)return u8;c8=1;var e=wae();function t(t){t.register(e),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,(function(){return t}))),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,(function(){return t}))),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:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.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:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",(function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,(function(){return t})),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")}))}(t)}return u8=t,t.displayName="ftl",t.aliases=[],u8}()),Lae.register(function(){if(p8)return d8;function e(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}return p8=1,d8=e,e.displayName="gap",e.aliases=[],d8}()),Lae.register(function(){if(m8)return f8;function e(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:/[:*]/}}return m8=1,f8=e,e.displayName="gcode",e.aliases=[],f8}()),Lae.register(function(){if(g8)return h8;function e(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:/[.:,;()[\]{}]/}}return g8=1,h8=e,e.displayName="gdscript",e.aliases=[],h8}()),Lae.register(function(){if(v8)return b8;function e(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"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return v8=1,b8=e,e.displayName="gedcom",e.aliases=[],b8}()),Lae.register(function(){if(w8)return y8;function e(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.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("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),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)}return w8=1,y8=e,e.displayName="gherkin",e.aliases=[],y8}()),Lae.register(function(){if(x8)return S8;function e(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}}return x8=1,S8=e,e.displayName="git",e.aliases=[],S8}()),Lae.register(function(){if(C8)return E8;C8=1;var e=mae();function t(t){t.register(e),t.languages.glsl=t.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return E8=t,t.displayName="glsl",t.aliases=[],E8}()),Lae.register(function(){if(R8)return k8;function e(e){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/})}return R8=1,k8=e,e.displayName="gml",e.aliases=[],k8}()),Lae.register(function(){if(I8)return T8;function e(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}return I8=1,T8=e,e.displayName="gn",e.aliases=["gni"],T8}()),Lae.register(function(){if(A8)return _8;function e(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:/[()[\],]/}}return A8=1,_8=e,e.displayName="goModule",e.aliases=[],_8}()),Lae.register(function(){if(N8)return O8;function e(e){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"]}return N8=1,O8=e,e.displayName="go",e.aliases=[],O8}()),Lae.register(function(){if(L8)return P8;function e(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(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",(function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}}))}return D8=1,M8=e,e.displayName="groovy",e.aliases=[],M8}()),Lae.register(function(){if(F8)return j8;F8=1;var e=yae();function t(t){t.register(e),function(e){e.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:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.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:e.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:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,o=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(t)}return $8=t,t.displayName="handlebars",t.aliases=["hbs"],$8}()),Lae.register(xae()),Lae.register(function(){if(V8)return H8;function e(e){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"}})}return V8=1,H8=e,e.displayName="haxe",e.aliases=[],H8}()),Lae.register(function(){if(W8)return G8;function e(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:/[=\[\]{}]/}}return W8=1,G8=e,e.displayName="hcl",e.aliases=[],G8}()),Lae.register(function(){if(K8)return q8;K8=1;var e=mae();function t(t){t.register(e),t.languages.hlsl=t.languages.extend("c",{"class-name":[t.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return q8=t,t.displayName="hlsl",t.aliases=[],q8}()),Lae.register(function(){if(X8)return Y8;function e(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:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return X8=1,Y8=e,e.displayName="hoon",e.aliases=[],Y8}()),Lae.register(function(){if(Q8)return Z8;function e(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return Q8=1,Z8=e,e.displayName="hpkp",e.aliases=[],Z8}()),Lae.register(function(){if(e7)return J8;function e(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return e7=1,J8=e,e.displayName="hsts",e.aliases=[],J8}()),Lae.register(function(){if(n7)return t7;function e(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.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:e.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:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.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},a={"application/json":!0,"application/xml":!0};function i(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var s in o)if(o[s]){n=n||{};var l=a[s]?i(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:o[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}return n7=1,t7=e,e.displayName="http",e.aliases=[],t7}()),Lae.register(function(){if(o7)return r7;function e(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:/[\[,;:()\]]/}}return o7=1,r7=e,e.displayName="ichigojam",e.aliases=[],r7}()),Lae.register(function(){if(i7)return a7;function e(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:/[\[\](){},;]/}}return i7=1,a7=e,e.displayName="icon",e.aliases=[],a7}()),Lae.register(function(){if(l7)return s7;function e(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,(function(){return t(e,n-1)}))}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:n,greedy:!0,inside:{escape:r}},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,(function(){return n.source})),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),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":i,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":i,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+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:o},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}return l7=1,s7=e,e.displayName="icuMessageFormat",e.aliases=[],s7}()),Lae.register(function(){if(c7)return u7;c7=1;var e=xae();function t(t){t.register(e),t.languages.idris=t.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}),t.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.idr=t.languages.idris}return u7=t,t.displayName="idris",t.aliases=["idr"],u7}()),Lae.register(function(){if(p7)return d7;function e(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:/[()[\].,;]/}}return p7=1,d7=e,e.displayName="iecst",e.aliases=[],d7}()),Lae.register(function(){if(m7)return f7;function e(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}return m7=1,f7=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"],f7}()),Lae.register(function(){if(g7)return h7;function e(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"}}return g7=1,h7=e,e.displayName="inform7",e.aliases=[],h7}()),Lae.register(function(){if(v7)return b7;function e(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:/=/}}return v7=1,b7=e,e.displayName="ini",e.aliases=[],b7}()),Lae.register(function(){if(w7)return y7;function e(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return x7=1,S7=e,e.displayName="j",e.aliases=[],S7}()),Lae.register(Eae()),Lae.register(function(){if(I7)return T7;I7=1;var e=Eae(),t=Cae();function n(n){n.register(e),n.register(t),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,(function(){return n}));e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),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:e.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:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(n)}return T7=n,n.displayName="javadoc",n.aliases=[],T7}()),Lae.register(Cae()),Lae.register(function(){if(A7)return _7;function e(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return A7=1,_7=e,e.displayName="javastacktrace",e.aliases=[],_7}()),Lae.register(function(){if(N7)return O7;function e(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:/[{}[\](),.]/}}return N7=1,O7=e,e.displayName="jexl",e.aliases=[],O7}()),Lae.register(function(){if(L7)return P7;function e(e){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]*:)/}})}return L7=1,P7=e,e.displayName="jolie",e.aliases=[],P7}()),Lae.register(function(){if(D7)return M7;function e(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,(function(){return t}))),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},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"}};r.interpolation.inside.content.inside=o}(e)}return D7=1,M7=e,e.displayName="jq",e.aliases=[],M7}()),Lae.register(function(){if(F7)return j7;function e(e){!function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.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"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.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"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var o=f[i],a="string"==typeof r?r:r.content,s=a.indexOf(o);if(-1!==s){++i;var l=a.substring(0,s),d=u(c[o]),p=a.substring(s+o.length),m=[];if(l&&m.push(l),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(p),new e.Token(r,p,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,o=n.length;r\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.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:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(n)}return H7=n,n.displayName="jsdoc",n.aliases=[],H7}()),Lae.register(Rae()),Lae.register(function(){if(K7)return q7;K7=1;var e=Rae();function t(t){t.register(e),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(t)}return q7=t,t.displayName="json5",t.aliases=[],q7}()),Lae.register(function(){if(X7)return Y7;X7=1;var e=Rae();function t(t){t.register(e),t.languages.jsonp=t.languages.extend("json",{punctuation:/[{}[\]();,.]/}),t.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return Y7=t,t.displayName="jsonp",t.aliases=[],Y7}()),Lae.register(function(){if(Q7)return Z7;function e(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return Q7=1,Z7=e,e.displayName="jsstacktrace",e.aliases=[],Z7}()),Lae.register(Tae()),Lae.register(function(){if(nee)return tee;function e(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|[πℯ]/}}return nee=1,tee=e,e.displayName="julia",e.aliases=[],tee}()),Lae.register(function(){if(oee)return ree;function e(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,(function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source})),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return oee=1,ree=e,e.displayName="keepalived",e.aliases=[],ree}()),Lae.register(function(){if(iee)return aee;function e(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|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return iee=1,aee=e,e.displayName="keyman",e.aliases=[],aee}()),Lae.register(function(){if(lee)return see;function e(e){!function(e){e.languages.kotlin=e.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 e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}return lee=1,see=e,e.displayName="kotlin",e.aliases=["kt","kts"],see}()),Lae.register(function(){if(cee)return uee;function e(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}return cee=1,uee=e,e.displayName="kumir",e.aliases=["kum"],uee}()),Lae.register(function(){if(pee)return dee;function e(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:/[()\[\]{},;.:]/}}return pee=1,dee=e,e.displayName="kusto",e.aliases=[],dee}()),Lae.register(function(){if(mee)return fee;function e(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}return mee=1,fee=e,e.displayName="latex",e.aliases=["tex","context"],fee}()),Lae.register(function(){if(vee)return bee;vee=1;var e=wae(),t=Iae();function n(n){n.register(e),n.register(t),function(e){e.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:e.languages.php}};var t=e.languages.extend("markup",{});e.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:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",(function(n){if("latte"===n.language){e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")}))}(n)}return bee=n,n.displayName="latte",n.aliases=[],bee}()),Lae.register(function(){if(wee)return yee;function e(e){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"}})}return wee=1,yee=e,e.displayName="less",e.aliases=[],yee}()),Lae.register(function(){if(Cee)return Eee;Cee=1;var e=_ae();function t(t){t.register(e),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,(function(){return t})),"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:e.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/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(t)}return Eee=t,t.displayName="lilypond",t.aliases=[],Eee}()),Lae.register(function(){if(Ree)return kee;Ree=1;var e=wae();function t(t){t.register(e),t.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"}},t.hooks.add("before-tokenize",(function(e){var n=!1;t.languages["markup-templating"].buildPlaceholders(e,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,(function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n}))})),t.hooks.add("after-tokenize",(function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"liquid")}))}return kee=t,t.displayName="liquid",t.aliases=[],kee}()),Lae.register(function(){if(Iee)return Tee;function e(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+r,a="(\\()",i="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+i),lookbehind:!0},{pattern:RegExp(a+"(?:append|by|collect|concat|do|finally|for|in|return)"+i),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(a+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},u={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},c="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(a+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+c),inside:u},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+c),inside:u},keys:{pattern:RegExp("&key\\s+"+c+"(?:\\s+&allow-other-keys)?"),inside:u},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}return Iee=1,Tee=e,e.displayName="lisp",e.aliases=[],Tee}()),Lae.register(function(){if(Aee)return _ee;function e(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}return Aee=1,_ee=e,e.displayName="livescript",e.aliases=[],_ee}()),Lae.register(function(){if(Nee)return Oee;function e(e){!function(e){e.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)}return Nee=1,Oee=e,e.displayName="llvm",e.aliases=[],Oee}()),Lae.register(function(){if(Lee)return Pee;function e(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:/[\[\].,]/}}return Lee=1,Pee=e,e.displayName="log",e.aliases=[],Pee}()),Lae.register(function(){if(Dee)return Mee;function e(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}|…|,|!/}}return Dee=1,Mee=e,e.displayName="lolcode",e.aliases=[],Mee}()),Lae.register(Sae()),Lae.register(function(){if(Fee)return jee;function e(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:/[()[\]{}<>,;.:]/}}return Fee=1,jee=e,e.displayName="magma",e.aliases=[],jee}()),Lae.register(function(){if(Bee)return $ee;function e(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:/[:;(){}]/}}return Bee=1,$ee=e,e.displayName="makefile",e.aliases=[],$ee}()),Lae.register(function(){if(Uee)return zee;function e(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}return Uee=1,zee=e,e.displayName="markdown",e.aliases=["md"],zee}()),Lae.register(wae()),Lae.register(function(){if(Vee)return Hee;function e(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}|[.,;\[\](){}!]/}}return Vee=1,Hee=e,e.displayName="matlab",e.aliases=[],Hee}()),Lae.register(function(){if(Wee)return Gee;function e(e){!function(e){var t=/\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;e.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+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.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:t,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)}return Wee=1,Gee=e,e.displayName="maxscript",e.aliases=[],Gee}()),Lae.register(function(){if(Kee)return qee;function e(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}return Kee=1,qee=e,e.displayName="mel",e.aliases=[],qee}()),Lae.register(function(){if(Xee)return Yee;function e(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return Xee=1,Yee=e,e.displayName="mermaid",e.aliases=[],Yee}()),Lae.register(function(){if(Qee)return Zee;function e(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:/\(#|#\)|[,:;\[\](){}]/}}return Qee=1,Zee=e,e.displayName="mizar",e.aliases=[],Zee}()),Lae.register(function(){if(ete)return Jee;function e(e){!function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map((function(e){return e.replace("$","\\$")}))).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.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("^(['\"])?"+n+"(?:\\1)?$")}}}),e.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}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}return ete=1,Jee=e,e.displayName="mongodb",e.aliases=[],Jee}()),Lae.register(function(){if(nte)return tte;function e(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:/[.,:;()\[\]]/}}return nte=1,tte=e,e.displayName="monkey",e.aliases=[],tte}()),Lae.register(function(){if(ote)return rte;function e(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}return ote=1,rte=e,e.displayName="moonscript",e.aliases=["moon"],rte}()),Lae.register(function(){if(ite)return ate;function e(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:/[;[\](),.{}:]/}}return ite=1,ate=e,e.displayName="n1ql",e.aliases=[],ate}()),Lae.register(function(){if(lte)return ste;function e(e){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}return lte=1,ste=e,e.displayName="n4js",e.aliases=["n4jsd"],ste}()),Lae.register(function(){if(cte)return ute;function e(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:/[{}[\];(),:]/}}return cte=1,ute=e,e.displayName="nand2tetrisHdl",e.aliases=[],ute}()),Lae.register(function(){if(pte)return dte;function e(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.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:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",(function(e){e.tokens.forEach((function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t="[]{}",n=[],r=0;r=&|$!]/}}return mte=1,fte=e,e.displayName="nasm",e.aliases=[],fte}()),Lae.register(function(){if(gte)return hte;function e(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:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return gte=1,hte=e,e.displayName="neon",e.aliases=[],hte}()),Lae.register(function(){if(vte)return bte;function e(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\-.]+/}}return vte=1,bte=e,e.displayName="nevod",e.aliases=[],bte}()),Lae.register(function(){if(wte)return yte;function e(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.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:t}},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:t}},punctuation:/[{};]/}}(e)}return wte=1,yte=e,e.displayName="nginx",e.aliases=[],yte}()),Lae.register(function(){if(xte)return Ste;function e(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:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return xte=1,Ste=e,e.displayName="nim",e.aliases=[],Ste}()),Lae.register(function(){if(Cte)return Ete;function e(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}return Cte=1,Ete=e,e.displayName="nix",e.aliases=[],Ete}()),Lae.register(function(){if(Rte)return kte;function e(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|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return Rte=1,kte=e,e.displayName="nsis",e.aliases=[],kte}()),Lae.register(function(){if(Ite)return Tte;Ite=1;var e=mae();function t(t){t.register(e),t.languages.objectivec=t.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 t.languages.objectivec["class-name"],t.languages.objc=t.languages.objectivec}return Tte=t,t.displayName="objectivec",t.aliases=["objc"],Tte}()),Lae.register(function(){if(Ate)return _te;function e(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return Ate=1,_te=e,e.displayName="ocaml",e.aliases=[],_te}()),Lae.register(function(){if(Nte)return Ote;Nte=1;var e=mae();function t(t){t.register(e),function(e){e.languages.opencl=e.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"}}),e.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 t={"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"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["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"},e.languages.insertBefore("cpp","keyword",t))}(t)}return Ote=t,t.displayName="opencl",t.aliases=[],Ote}()),Lae.register(function(){if(Lte)return Pte;function e(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}return Lte=1,Pte=e,e.displayName="openqasm",e.aliases=["qasm"],Pte}()),Lae.register(function(){if(Dte)return Mte;function e(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:/[\[\](){}.:;?]/}}return Dte=1,Mte=e,e.displayName="oz",e.aliases=[],Mte}()),Lae.register(function(){if(Fte)return jte;function e(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(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"],t=t.map((function(e){return e.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:/[\[\]{}().,:;|]/}}return Fte=1,jte=e,e.displayName="parigp",e.aliases=[],jte}()),Lae.register(function(){if(Bte)return $te;function e(e){!function(e){var t=e.languages.parser=e.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:/[\[\](){};]/});t=e.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:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}return Bte=1,$te=e,e.displayName="parser",e.aliases=[],$te}()),Lae.register(function(){if(Ute)return zte;function e(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}return Ute=1,zte=e,e.displayName="pascal",e.aliases=["objectpascal"],zte}()),Lae.register(function(){if(Vte)return Hte;function e(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,(function(){return t})),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,(function(){return n})),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,(function(){return n})),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce((function(e,t){return e[t]=r[t],e}),{});r["class-name"].forEach((function(e){e.inside=o}))}(e)}return Vte=1,Hte=e,e.displayName="pascaligo",e.aliases=[],Hte}()),Lae.register(function(){if(Wte)return Gte;function e(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}return Wte=1,Gte=e,e.displayName="pcaxis",e.aliases=["px"],Gte}()),Lae.register(function(){if(Kte)return qte;function e(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}return Kte=1,qte=e,e.displayName="peoplecode",e.aliases=["pcode"],qte}()),Lae.register(function(){if(Xte)return Yte;function e(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.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,t].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,t].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,t+/\s*/.source+t].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)}return Xte=1,Yte=e,e.displayName="perl",e.aliases=[],Yte}()),Lae.register(function(){if(Qte)return Zte;Qte=1;var e=Iae();function t(t){t.register(e),t.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return Zte=t,t.displayName="phpExtras",t.aliases=[],Zte}()),Lae.register(Iae()),Lae.register(function(){if(ene)return Jte;ene=1;var e=Iae(),t=Cae();function n(n){n.register(e),n.register(t),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(n)}return Jte=n,n.displayName="phpdoc",n.aliases=[],Jte}()),Lae.register(function(){if(nne)return tne;nne=1;var e=fae();function t(t){t.register(e),t.languages.plsql=t.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:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),t.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return tne=t,t.displayName="plsql",t.aliases=[],tne}()),Lae.register(function(){if(one)return rne;function e(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}return one=1,rne=e,e.displayName="powerquery",e.aliases=[],rne}()),Lae.register(function(){if(ine)return ane;function e(e){!function(e){var t=e.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:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}return ine=1,ane=e,e.displayName="powershell",e.aliases=[],ane}()),Lae.register(function(){if(lne)return sne;function e(e){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"}})}return lne=1,sne=e,e.displayName="processing",e.aliases=[],sne}()),Lae.register(function(){if(cne)return une;function e(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:/[(){}\[\],]/}}return cne=1,une=e,e.displayName="prolog",e.aliases=[],une}()),Lae.register(function(){if(pne)return dne;function e(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.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(?:"+n.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)}return pne=1,dne=e,e.displayName="promql",e.aliases=[],dne}()),Lae.register(function(){if(mne)return fne;function e(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return mne=1,fne=e,e.displayName="properties",e.aliases=[],fne}()),Lae.register(function(){if(gne)return hne;function e(e){!function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.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}),e.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:t}},builtin:t,"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)}return gne=1,hne=e,e.displayName="protobuf",e.aliases=[],hne}()),Lae.register(function(){if(vne)return bne;function e(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:/[(){}\[\];,]/}}return vne=1,bne=e,e.displayName="psl",e.aliases=[],bne}()),Lae.register(function(){if(wne)return yne;function e(e){!function(e){e.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:e.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:e.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:e.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:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},o=0,a=n.length;o",(function(){return i.filter})),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[i.language,"language-"+i.language],inside:e.languages[i.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}return wne=1,yne=e,e.displayName="pug",e.aliases=[],yne}()),Lae.register(function(){if(xne)return Sne;function e(e){!function(e){e.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 t=[{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:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}return xne=1,Sne=e,e.displayName="puppet",e.aliases=[],Sne}()),Lae.register(function(){if(Cne)return Ene;function e(e){!function(e){e.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 t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach((function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var o={};o["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},o["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",o)}})),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}return Cne=1,Ene=e,e.displayName="pure",e.aliases=[],Ene}()),Lae.register(function(){if(Rne)return kne;function e(e){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}return Rne=1,kne=e,e.displayName="purebasic",e.aliases=[],kne}()),Lae.register(function(){if(Ine)return Tne;Ine=1;var e=xae();function t(t){t.register(e),t.languages.purescript=t.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:[t.languages.haskell.operator[0],t.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]/]}),t.languages.purs=t.languages.purescript}return Tne=t,t.displayName="purescript",t.aliases=["purs"],Tne}()),Lae.register(function(){if(Ane)return _ne;function e(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}return Ane=1,_ne=e,e.displayName="python",e.aliases=["py"],_ne}()),Lae.register(function(){if(Nne)return One;function e(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:/[(){}\[\];.]/}}return Nne=1,One=e,e.displayName="q",e.aliases=[],One}()),Lae.register(function(){if(Lne)return Pne;function e(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,(function(){return t})).replace(//g,(function(){return n})),o=0;o<2;o++)r=r.replace(//g,(function(){return r}));r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}return Lne=1,Pne=e,e.displayName="qml",e.aliases=[],Pne}()),Lae.register(function(){if(Dne)return Mne;function e(e){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/})}return Dne=1,Mne=e,e.displayName="qore",e.aliases=[],Mne}()),Lae.register(function(){if(Fne)return jne;function e(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}var r=RegExp(function(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}("Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero"+" "+"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")),o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),a={keyword:r,punctuation:/[<>()?,.:[\]]/},i=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[i]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:a},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:a}],keyword:r,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:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[i]),2);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}return Fne=1,jne=e,e.displayName="qsharp",e.aliases=["qs"],jne}()),Lae.register(function(){if(Bne)return $ne;function e(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:/[(){}\[\],;]/}}return Bne=1,$ne=e,e.displayName="r",e.aliases=[],$ne}()),Lae.register(function(){if(Une)return zne;Une=1;var e=_ae();function t(t){t.register(e),t.languages.racket=t.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),t.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),t.languages.rkt=t.languages.racket}return zne=t,t.displayName="racket",t.aliases=["rkt"],zne}()),Lae.register(function(){if(Vne)return Hne;function e(e){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}return Vne=1,Hne=e,e.displayName="reason",e.aliases=[],Hne}()),Lae.register(function(){if(Wne)return Gne;function e(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",o=RegExp(r+"-"+r),a={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.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:o,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return Kne=1,qne=e,e.displayName="rego",e.aliases=[],qne}()),Lae.register(function(){if(Xne)return Yne;function e(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}return Xne=1,Yne=e,e.displayName="renpy",e.aliases=["rpy"],Yne}()),Lae.register(function(){if(Qne)return Zne;function e(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}}}return Qne=1,Zne=e,e.displayName="rest",e.aliases=[],Zne}()),Lae.register(function(){if(ere)return Jne;function e(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`'",.:;#\/\\()<>\[\]{}]*/}}return ere=1,Jne=e,e.displayName="rip",e.aliases=[],Jne}()),Lae.register(function(){if(nre)return tre;function e(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:/[{},.;:=]/}}return nre=1,tre=e,e.displayName="roboconf",e.aliases=[],tre}()),Lae.register(function(){if(ore)return rre;function e(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var o={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var a in r)o[a]=r[a];return o.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},o.variable=n,o.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,(function(){return e})),"im"),alias:"section",inside:o}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},i={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("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:r("Variables"),"test-cases":r("Test Cases",{"test-name":a,documentation:o,property:i}),keywords:r("Keywords",{"keyword-name":a,documentation:o,property:i}),tasks:r("Tasks",{"task-name":a,documentation:o,property:i}),comment:t},e.languages.robot=e.languages.robotframework}(e)}return ore=1,rre=e,e.displayName="robotframework",e.aliases=[],rre}()),Lae.register(yae()),Lae.register(function(){if(ire)return are;function e(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}return ire=1,are=e,e.displayName="rust",e.aliases=[],are}()),Lae.register(function(){if(lre)return sre;function e(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},a={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"},i={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},u=/[$%@.(){}\[\];,\\]/,c={pattern:/%?\b\w+(?=\()/,alias:"keyword"},d={function:c,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},m={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"},h={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/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,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,(function(){return g})),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,(function(){return g})),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:c,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:u,string:l}},v={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,(function(){return t})),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":m,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:v,"submit-statement":h,"global-statements":m,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:v,"submit-statement":h,"global-statements":m,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:i,keyword:v,function:c,format:p,altformat:f,"global-statements":m,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,inside:d},"macro-keyword":a,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":a,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:u}},"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:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:c,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:i,keyword:v,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:u}}(e)}return lre=1,sre=e,e.displayName="sas",e.aliases=[],sre}()),Lae.register(function(){if(cre)return ure;function e(e){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.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)}return cre=1,ure=e,e.displayName="sass",e.aliases=[],ure}()),Lae.register(function(){if(pre)return dre;pre=1;var e=Eae();function t(t){t.register(e),t.languages.scala=t.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),t.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:t.languages.scala}}},string:/[\s\S]+/}}}),delete t.languages.scala["class-name"],delete t.languages.scala.function}return dre=t,t.displayName="scala",t.aliases=[],dre}()),Lae.register(_ae()),Lae.register(function(){if(mre)return fre;function e(e){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}return mre=1,fre=e,e.displayName="scss",e.aliases=[],fre}()),Lae.register(function(){if(gre)return hre;gre=1;var e=bae();function t(t){t.register(e),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,(function(){return t})),"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:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(t)}return hre=t,t.displayName="shellSession",t.aliases=[],hre}()),Lae.register(function(){if(vre)return bre;function e(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:/[{}(),;:]/}}return vre=1,bre=e,e.displayName="smali",e.aliases=[],bre}()),Lae.register(function(){if(wre)return yre;function e(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:/[.;:?\[\](){}]/}}return wre=1,yre=e,e.displayName="smalltalk",e.aliases=[],yre}()),Lae.register(function(){if(xre)return Sre;xre=1;var e=wae();function t(t){t.register(e),function(e){e.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:e.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/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,(function(){return t.source})),"g");e.hooks.add("before-tokenize",(function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,(function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")}))}(t)}return Sre=t,t.displayName="smarty",t.aliases=[],Sre}()),Lae.register(function(){if(Cre)return Ere;function e(e){!function(e){var t=/\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;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,(function(){return/\s*(?:[*,]|->)/.source})).replace(//g,(function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source})).replace(//g,(function(){return/(?!)[a-z\d_][\w'.]*/.source})).replace(//g,(function(){return t.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:t,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:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}return Cre=1,Ere=e,e.displayName="sml",e.aliases=["smlnj"],Ere}()),Lae.register(function(){if(Rre)return kre;function e(e){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}return Rre=1,kre=e,e.displayName="solidity",e.aliases=["sol"],kre}()),Lae.register(function(){if(Ire)return Tre;function e(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},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:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}return Ire=1,Tre=e,e.displayName="solutionFile",e.aliases=[],Tre}()),Lae.register(function(){if(Are)return _re;Are=1;var e=wae();function t(t){t.register(e),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.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:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,(function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")}))}(t)}return _re=t,t.displayName="soy",t.aliases=[],_re}()),Lae.register(function(){if(Lre)return Pre;Lre=1;var e=Aae();function t(t){t.register(e),t.languages.sparql=t.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),t.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]}),t.languages.rq=t.languages.sparql}return Pre=t,t.displayName="sparql",t.aliases=["rq"],Pre}()),Lae.register(function(){if(Dre)return Mre;function e(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:/[()[\],]/}}return Dre=1,Mre=e,e.displayName="splunkSpl",e.aliases=[],Mre}()),Lae.register(function(){if(Fre)return jre;function e(e){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"]}return Fre=1,jre=e,e.displayName="sqf",e.aliases=[],jre}()),Lae.register(fae()),Lae.register(function(){if(Bre)return $re;function e(e){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"}})}return Bre=1,$re=e,e.displayName="squirrel",e.aliases=[],$re}()),Lae.register(function(){if(Ure)return zre;function e(e){!function(e){var t=/\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/;e.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("("+t.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/,t],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:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}return Ure=1,zre=e,e.displayName="stan",e.aliases=[],zre}()),Lae.register(function(){if(Vre)return Hre;function e(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"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:r.interpolation}},rest:r}},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:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}return Vre=1,Hre=e,e.displayName="stylus",e.aliases=[],Hre}()),Lae.register(function(){if(Wre)return Gre;function e(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]*"+/(?:![ \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}))}return Wre=1,Gre=e,e.displayName="swift",e.aliases=[],Gre}()),Lae.register(function(){if(Kre)return qre;function e(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}return Kre=1,qre=e,e.displayName="systemd",e.aliases=[],qre}()),Lae.register(function(){if(Qre)return Zre;Qre=1;var e=Oae(),t=gae();function n(n){n.register(e),n.register(t),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}return Zre=n,n.displayName="t4Cs",n.aliases=[],Zre}()),Lae.register(Oae()),Lae.register(function(){if(noe)return toe;noe=1;var e=Oae(),t=Nae();function n(n){n.register(e),n.register(t),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}return toe=n,n.displayName="t4Vb",n.aliases=[],toe}()),Lae.register(function(){if(ioe)return aoe;ioe=1;var e=Pae();function t(t){t.register(e),t.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:t.languages.yaml,alias:"language-yaml"}}}return aoe=t,t.displayName="tap",t.aliases=[],aoe}()),Lae.register(function(){if(loe)return soe;function e(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:/[{}()\[\]]/}}return loe=1,soe=e,e.displayName="tcl",e.aliases=[],soe}()),Lae.register(function(){if(coe)return uoe;function e(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,(function(){return"(?:"+t+")"})).replace(//g,(function(){return"(?:"+n+")"})),r||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),i=a.phrase.inside,s={inline:i.inline,link:i.link,image:i.image,footnote:i.footnote,acronym:i.acronym,mark:i.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=i.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var u=i.table.inside;u.inline=s.inline,u.link=s.link,u.image=s.image,u.footnote=s.footnote,u.acronym=s.acronym,u.mark=s.mark}(e)}return coe=1,uoe=e,e.displayName="textile",e.aliases=[],uoe}()),Lae.register(function(){if(poe)return doe;function e(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,(function(){return t}))}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}return poe=1,doe=e,e.displayName="toml",e.aliases=[],doe}()),Lae.register(function(){if(moe)return foe;function e(e){!function(e){e.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 t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}return moe=1,foe=e,e.displayName="tremor",e.aliases=[],foe}()),Lae.register(function(){if(goe)return hoe;goe=1;var e=Tae(),t=kae();function n(n){n.register(e),n.register(t),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(n)}return hoe=n,n.displayName="tsx",n.aliases=[],hoe}()),Lae.register(function(){if(voe)return boe;voe=1;var e=wae();function t(t){t.register(e),function(e){e.languages.tt2=e.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:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.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 e.languages.tt2.string,e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")}))}(t)}return boe=t,t.displayName="tt2",t.aliases=[],boe}()),Lae.register(Aae()),Lae.register(function(){if(woe)return yoe;woe=1;var e=wae();function t(t){t.register(e),t.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:/[()\[\]{}:.,]/},t.hooks.add("before-tokenize",(function(e){if("twig"===e.language){t.languages["markup-templating"].buildPlaceholders(e,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}})),t.hooks.add("after-tokenize",(function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"twig")}))}return yoe=t,t.displayName="twig",t.aliases=[],yoe}()),Lae.register(kae()),Lae.register(function(){if(xoe)return Soe;function e(e){!function(e){var t=/\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/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},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:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}return xoe=1,Soe=e,e.displayName="typoscript",e.aliases=["tsconfig"],Soe}()),Lae.register(function(){if(Coe)return Eoe;function e(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}return Coe=1,Eoe=e,e.displayName="unrealscript",e.aliases=["uc","uscript"],Eoe}()),Lae.register(function(){if(Roe)return koe;function e(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:/[()\[\]{}:.,]/}}return Roe=1,koe=e,e.displayName="uorazor",e.aliases=[],koe}()),Lae.register(function(){if(Ioe)return Toe;function e(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}return Ioe=1,Toe=e,e.displayName="uri",e.aliases=["url"],Toe}()),Lae.register(function(){if(Aoe)return _oe;function e(e){!function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.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":t}}}},"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/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.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+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}return Aoe=1,_oe=e,e.displayName="v",e.aliases=[],_oe}()),Lae.register(function(){if(Noe)return Ooe;function e(e){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]+$/}}})}return Noe=1,Ooe=e,e.displayName="vala",e.aliases=[],Ooe}()),Lae.register(Nae()),Lae.register(function(){if(Loe)return Poe;function e(e){!function(e){e.languages.velocity=e.languages.extend("markup",{});var t={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:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.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:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}return Loe=1,Poe=e,e.displayName="velocity",e.aliases=[],Poe}()),Lae.register(function(){if(Doe)return Moe;function e(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:/[[\];(),.:]/}}return Doe=1,Moe=e,e.displayName="verilog",e.aliases=[],Moe}()),Lae.register(function(){if(Foe)return joe;function e(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]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return Foe=1,joe=e,e.displayName="vhdl",e.aliases=[],joe}()),Lae.register(function(){if(Boe)return $oe;function e(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:/[{}[\](),;:]/}}return Boe=1,$oe=e,e.displayName="vim",e.aliases=[],$oe}()),Lae.register(function(){if(Uoe)return zoe;function e(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"]}return Uoe=1,zoe=e,e.displayName="visualBasic",e.aliases=[],zoe}()),Lae.register(function(){if(Voe)return Hoe;function e(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/}}return Voe=1,Hoe=e,e.displayName="warpscript",e.aliases=[],Hoe}()),Lae.register(function(){if(Woe)return Goe;function e(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:/[()]/}}return Woe=1,Goe=e,e.displayName="wasm",e.aliases=[],Goe}()),Lae.register(function(){if(Koe)return qoe;function e(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var o in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],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:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==o&&(r[o]=e.languages["web-idl"][o]);e.languages.webidl=e.languages["web-idl"]}(e)}return Koe=1,qoe=e,e.displayName="webIdl",e.aliases=[],qoe}()),Lae.register(function(){if(Xoe)return Yoe;function e(e){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}}}})}return Xoe=1,Yoe=e,e.displayName="wiki",e.aliases=[],Yoe}()),Lae.register(function(){if(Qoe)return Zoe;function e(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}return Qoe=1,Zoe=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"],Zoe}()),Lae.register(function(){if(eae)return Joe;function e(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]+/}}}return eae=1,Joe=e,e.displayName="wren",e.aliases=[],Joe}()),Lae.register(function(){if(nae)return tae;function e(e){!function(e){e.languages.xeora=e.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"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}return nae=1,tae=e,e.displayName="xeora",e.aliases=["xeoracube"],tae}()),Lae.register(function(){if(oae)return rae;function e(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",o)}(e)}return oae=1,rae=e,e.displayName="xmlDoc",e.aliases=[],rae}()),Lae.register(function(){if(iae)return aae;function e(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:/[.,;:()]/}}return iae=1,aae=e,e.displayName="xojo",e.aliases=[],aae}()),Lae.register(function(){if(lae)return sae;function e(e){!function(e){e.languages.xquery=e.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:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var o=[],a=0;a0&&o[o.length-1].tagName===t(i.content[0].content[1])&&o.pop():"/>"===i.content[i.content.length-1].content||o.push({tagName:t(i.content[0].content[1]),openedBraces:0}):!(o.length>0&&"punctuation"===i.type&&"{"===i.content)||r[a+1]&&"punctuation"===r[a+1].type&&"{"===r[a+1].content||r[a-1]&&"plain-text"===r[a-1].type&&"{"===r[a-1].content?o.length>0&&o[o.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?o[o.length-1].openedBraces--:"comment"!==i.type&&(s=!0):o[o.length-1].openedBraces++),(s||"string"==typeof i)&&o.length>0&&0===o[o.length-1].openedBraces){var l=t(i);a0&&("string"==typeof r[a-1]||"plain-text"===r[a-1].type)&&(l=t(r[a-1])+l,r.splice(a-1,1),a--),/^\s+$/.test(l)?r[a]=l:r[a]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&n(i.content)}};e.hooks.add("after-tokenize",(function(e){"xquery"===e.language&&n(e.tokens)}))}(e)}return lae=1,sae=e,e.displayName="xquery",e.aliases=[],sae}()),Lae.register(Pae()),Lae.register(function(){if(cae)return uae;function e(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:/[{};:]/}}return cae=1,uae=e,e.displayName="yang",e.aliases=[],uae}()),Lae.register(function(){if(pae)return dae;function e(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(o))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(a)).replace(//g,t(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(a)).replace(//g,t(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach((function(t){null===t.inside&&(t.inside=e.languages.zig)}))}(e)}return pae=1,dae=e,e.displayName="zig",e.aliases=[],dae}());var Dae=function(e,t){return function(n){var r=n.language,o=n.children,a=n.style,i=void 0===a?t:a,s=n.customStyle,l=void 0===s?{}:s,u=n.codeTagProps,c=void 0===u?{className:r?"language-".concat(r):void 0,style:l2(l2({},i['code[class*="language-"]']),i['code[class*="language-'.concat(r,'"]')])}:u,d=n.useInlineStyles,p=void 0===d||d,f=n.showLineNumbers,m=void 0!==f&&f,h=n.showInlineLineNumbers,g=void 0===h||h,b=n.startingLineNumber,v=void 0===b?1:b,y=n.lineNumberContainerStyle,w=n.lineNumberStyle,S=void 0===w?{}:w,x=n.wrapLines,E=n.wrapLongLines,C=void 0!==E&&E,k=n.lineProps,R=void 0===k?{}:k,T=n.renderer,I=n.PreTag,_=void 0===I?"pre":I,A=n.CodeTag,O=void 0===A?"code":A,N=n.code,P=void 0===N?(Array.isArray(o)?o[0]:o)||"":N,L=n.astGenerator,M=function(e,t){if(null==e)return{};var n,r,o=_d(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,i2);L=L||e;var D=m?H.createElement(c2,{containerStyle:y,codeStyle:c.style||{},numberStyle:S,startingLineNumber:v,codeString:P}):null,j=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},F=b2(L)?"hljs":"prismjs",$=p?Object.assign({},M,{style:Object.assign({},j,l)}):Object.assign({},M,{className:M.className?"".concat(F," ").concat(M.className):F,style:Object.assign({},l)});if(c.style=l2(l2({},c.style),{},C?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!L)return H.createElement(_,$,D,H.createElement(O,c,P));(void 0===x&&T||C)&&(x=!0),T=T||g2;var B=[{type:"text",value:P}],z=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(b2(t)){var a=a2(t,n);return"text"===n?{value:o,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(w0){return{value:o}}}({astGenerator:L,language:r,code:P,defaultCodeValue:B});null===z.language&&(z.value=B);var U=h2(z,x,R,m,g,v,z.value.length+v,S,C);return H.createElement(_,$,H.createElement(O,c,!g&&D,T({rows:U,stylesheet:i,useInlineStyles:p})))}}(r(Mae),{'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}});Dae.supportedLanguages=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];const jae=Dae,Fae={'code[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#2b2b2b"},'pre[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:".1em",borderRadius:".3em"},comment:{color:"#808080"},prolog:{color:"#808080"},cdata:{color:"#808080"},delimiter:{color:"#cc7832"},boolean:{color:"#cc7832"},keyword:{color:"#cc7832"},selector:{color:"#cc7832"},important:{color:"#cc7832"},atrule:{color:"#cc7832"},operator:{color:"#a9b7c6"},punctuation:{color:"#a9b7c6"},"attr-name":{color:"#a9b7c6"},tag:{color:"#e8bf6a"},"tag.punctuation":{color:"#e8bf6a"},doctype:{color:"#e8bf6a"},builtin:{color:"#e8bf6a"},entity:{color:"#6897bb"},number:{color:"#6897bb"},symbol:{color:"#6897bb"},property:{color:"#9876aa"},constant:{color:"#9876aa"},variable:{color:"#9876aa"},string:{color:"#6a8759"},char:{color:"#6a8759"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline"},function:{color:"#ffc66d"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#294436"},deleted:{background:"#484a4a"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"}},$ae=(e,t)=>1===t.length?t[0]===e:t[0]<=e&&e<=t[1],Bae=H.memo((e=>{const{language:t,code:n,highlightLines:r,fontSize:o=12,showLineNumbers:a=!0,highlightColor:i="rgba(0,0,0, .1)",wrappedLines:s=[1,0]}=e,l=hv(),u=Math.max(s[0],1),c=Math.max(s[1],0);let d=n;return 0===u&&0===c||(d=n.split("\n").slice(u-1,0===c?void 0:c).join("\n")),te.jsx(jae,{style:"dark"===l.palette.mode?Fae:void 0,startingLineNumber:u,showLineNumbers:a,wrapLines:!0,customStyle:{fontSize:`${o}pt`},useInlineStyles:!0,lineProps:e=>({id:`L${e}`,...r&&$ae(e,r)&&{style:{backgroundColor:i,display:"block"}}}),language:t,children:d})})),zae=e=>"string"==typeof e&&1===e.match(/^[a-z](?:[a-z0-9_]+?\\[a-z0-9_]+)+$/i)?.length,Uae=/(static )?(function |fn )\(.*\).*((\{.*})|(=>.*))/s,Hae=U.memo((({value:e,depth:t=5,editable:n=!1,onChange:r,valueTypes:o=[]})=>{const a=mg("(prefers-color-scheme: dark)")?"dark":"light";return"string"==typeof e&&e.match(Uae)?.length?(e.replaceAll("\n","
").replaceAll(" "," "),te.jsx(Bae,{language:"php",code:e,showLineNumbers:!1,fontSize:10})):te.jsx(X1,{rootName:!1,value:e,editable:n,onChange:r,displayDataTypes:!1,quotesOnKeys:!1,enableClipboard:!0,defaultInspectDepth:t,groupArraysAfterLength:50,theme:a,style:{width:"100%"},collapseStringsAfterLength:50,valueTypes:[{is:e=>"string"==typeof e&&e.startsWith("@"),Component:e=>te.jsxs(te.Fragment,{children:["alias: ",e.value]})},{is:e=>Array.isArray(e)&&0===e.length,Component:e=>te.jsx(te.Fragment,{children:"[]"})},{is:e=>"string"==typeof e&&zae(e),Component:e=>te.jsxs(uS,{sx:{display:"inline",wordBreak:"break-word"},children:[e.value,te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+e.value,children:te.jsx(tU,{fontSize:"small"})})})]})},...o]})})),Vae=e=>Number(e.substring(e.indexOf("#",-1)+1)),Gae=e=>e.replace("object@",""),Wae=(e,t)=>"object@"+e+"#"+t;var qae={},Kae=function(){function e(e){this.data=e}return e.prototype.at=function(t){return new e({type:"at",parent:this,field:t})},e.prototype.set=function(e){return this.modify((function(t){return e}))},e.prototype.delete=function(){return this.modify((function(e){return qae}))},e.prototype.modify=function(e){var t=this.findTarget(),n=this.cloneForUpdate(t);if("aborted"===n.name)return t;var r=n.clonedTarget,o=n.leafHost,a=n.field,i=n.structurallyModified,s=Qae(o),l=s?o.get():o[a],u=e(l);if(""===a)return s?o.Option(u):u;var c=i;if(u===qae)if(Array.isArray(o)&&"number"==typeof a){if(a>=o.length)return t;c=!0,o.splice(a,1)}else s?(a in o.value&&(c=!0),delete o.value[a]):(a in o&&(c=!0),delete o[a]);else if(l!==u&&(c=!0),s)o.value[a]=u;else{var d=Qae(l)?l.Option(u):u;o[a]=d}return c?r:t},e.prototype.withDefault=function(t){return new e({type:"withDefault",parent:this,defaultValue:Yae(t)})},e.prototype.abortIfNot=function(t){return new e({type:"abortIfNot",parent:this,predicate:t})},e.prototype.abortIfUndef=function(){return this.abortIfNot((function(e){return Qae(e)?"some"===e.type:void 0!==e}))},e.prototype.findTarget=function(){for(var e=this;;){if("root"===e.data.type)return e.data.target;e=e.data.parent}},e.prototype.parentUpdaters=function(){for(var e=[this],t=this.data.parent;t&&t.data.parent;)e.unshift(t),t=t.data.parent;return e},e.prototype.getNextValue=function(e,t,n,r){var o=Qae(t),a=Qae(e);if("at"===this.data.type){var i=this.data.field;if(o){if("none"===t.type)return{host:void 0,field:i};t.value=Yae(t.value);var s=Yae(t.value[i]),l=r?t:s;return t.value[this.data.field]=s,{host:l,field:i}}if(!t)return{host:void 0,field:i};s=Yae(t[i]);var u=r?t:s;return void 0!==s&&(t[this.data.field]=s),{host:u,field:i}}if("abortIfNot"===this.data.type&&!1===this.data.predicate(t))return{host:t,field:n,aborted:!0};if("withDefault"===this.data.type&&(void 0===e[n]||Qae(e[n]))){s=Qae(t)?t.Option(this.data.defaultValue):this.data.defaultValue;var c=r?e:s;return a?e.value[n]=s:e[n]=s,{host:c,field:n,structurallyModified:!0}}return{host:r?e:t,field:n}},e.prototype.cloneForUpdate=function(e){for(var t=this.parentUpdaters(),n=Xae(e),r=n,o=n,a="",i=!1,s=0;s{const[t]=dV(),n=XV(),[r,o]=U.useState(e.value),a=async(e,a)=>{const i=await t({debugEntryId:n.id,objectId:Vae(e)});let s=new Kae({type:"root",target:r});for(const t of a)s=s.at(t);const l=s.set(i.data.value);o(l)},i=[{is:e=>"string"==typeof e&&!!e.match(/object@[\w\\]+#\d/),Component:e=>te.jsxs(uS,{sx:{display:"inline",wordBreak:"break-word"},children:[Gae(e.value),te.jsx(oN,{title:"Load object state",children:te.jsx(Uw,{onClick:t=>a(e.value,e.path),children:te.jsx(Bz,{})},e.path.join(","))}),te.jsx(oN,{title:"Examine an object",children:te.jsx(Uw,{size:"small",href:`/debug/object?debugEntry=${n.id}&id=${Vae(e.value)}`,children:te.jsx(Bz,{color:"secondary",fontSize:"small"})})})]})}];return te.jsx(Hae,{value:r,valueTypes:i})})),eie=[{field:"0",headerName:"Name",width:130},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(Jae,{value:e.value},e.id)}],tie=()=>{const e=XV(),t=Array.isArray(e);let n=Object.entries(e||[]);return n=n.map((e=>({0:e[0],1:t?Object.assign({},e[1]):e[1]}))),te.jsx("div",{style:{height:400,width:"100%"},children:te.jsx(p0,{rows:n,getRowId:e=>e[0],columns:eie})})};var nie={},rie=Rb;Object.defineProperty(nie,"__esModule",{value:!0});var oie=nie.default=void 0,aie=rie(yU()),iie=ee;oie=nie.default=(0,aie.default)((0,iie.jsx)("path",{d:"M19 3H4.99c-1.11 0-1.98.89-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2m0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19z"}),"Inbox");var sie={},lie=Rb;Object.defineProperty(sie,"__esModule",{value:!0});var uie=sie.default=void 0,cie=lie(yU()),die=ee;uie=sie.default=(0,cie.default)((0,die.jsx)("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"}),"List");var pie={},fie=Rb;Object.defineProperty(pie,"__esModule",{value:!0});var mie=pie.default=void 0,hie=fie(yU()),gie=ee;mie=pie.default=(0,hie.default)((0,gie.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Mail");var bie={},vie=Rb;Object.defineProperty(bie,"__esModule",{value:!0});var yie=bie.default=void 0,wie=vie(yU()),Sie=ee;yie=bie.default=(0,wie.default)((0,Sie.jsx)("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"}),"Replay");const xie=({text:e,title:t,icon:n,severity:r})=>te.jsx(ik,{sx:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%"},children:te.jsxs(te.Fragment,{children:[U.cloneElement(n,{sx:{my:3,fontSize:150},color:r}),te.jsx(uS,{component:"h5",variant:"h5",my:3,children:t}),e&&te.jsx(nS,{severity:r,children:e})]})}),Eie=e=>({width:240,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}),Cie=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),width:`calc(${e.spacing(7)} + 1px)`,[e.breakpoints.up("sm")]:{width:`calc(${e.spacing(8)} + 1px)`}}),kie=Wv(yT,{shouldForwardProp:e=>"open"!==e})((({theme:e,open:t})=>({width:240,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{classes:"opened"},...t&&{...Eie(e),"& .MuiDrawer-paper":Eie(e)},...!t&&{...Cie(e),"& .MuiDrawer-paper":Cie(e)}}))),Rie={flex:"0 1 auto","&.drawer-opened .MuiListItemButton-root .MuiListItemIcon-root":{mr:1},"& .MuiListItemButton-root .MuiListItemText-root":{display:"none"},"&.drawer-opened .MuiListItemButton-root .MuiListItemText-root":{display:"inline-block"},"& .MuiListItemButton-root .menu-opener":{transition:"transform 0.3s"},"&.drawer-opened .MuiListItemButton-root .menu-opener":{transform:"rotate(180deg)"},zIndex:"auto"},Tie=U.memo((e=>{const{onClick:t,linkProps:n,activeLink:r}=e;return te.jsxs(f_,{children:[te.jsx(A_,{disablePadding:!0,sx:{display:"block"},children:te.jsx(w_,{onClick:t,sx:{minHeight:48,justifyContent:"flex-end",px:2.5},children:te.jsx($_,{sx:{minWidth:0,mr:"auto",transition:"margin-right 1s",justifyContent:"center"},children:te.jsx(Mz,{className:"menu-opener"})})})}),n.map(((e,t)=>te.jsx(A_,{disablePadding:!0,sx:{display:"block"},children:te.jsxs(w_,{component:l_,href:e.href,sx:{minHeight:48,justifyContent:"center",px:2.5,overflowX:"hidden"},children:[te.jsx($_,{sx:{minWidth:0,mr:"auto",justifyContent:"center"},children:te.jsx(rk,{color:"info",badgeContent:e.badge||void 0,children:te.jsx(zC,{variant:"rounded",sx:{bgcolor:r===e.name?"secondary.main":"primary.main",fontSize:14},children:e.text.substring(0,3)})})}),te.jsx(V_,{primary:e.text})]})},t)))]})})),Iie=U.memo((e=>{const{links:t,children:n,activeLink:r}=e,[o,a]=U.useState(!!e.open),i=U.useRef();U.useEffect((()=>{a(!!e.open)}),[e.open]);const s=U.useCallback((()=>{a((e=>!e))}),[]);return te.jsxs(ik,{sx:{display:"flex",position:"relative",flexWrap:"nowrap"},ref:i,children:[te.jsx(kie,{variant:"permanent",className:o?"drawer-opened":"",open:o,container:i.current,PaperProps:{sx:{position:"relative",zIndex:"auto"}},sx:Rie,children:te.jsx(Tie,{onClick:s,linkProps:t,activeLink:r})}),te.jsx(ik,{sx:{flexGrow:1,p:1},children:n})]})}));class _ie{constructor(e){this.url=e}eventSource=null;listeners=[];subscribe(e){null!==this.eventSource&&this.eventSource.readyState!==EventSource.CLOSED||(this.eventSource=new EventSource(this.url)),this.listeners.push(e),this.eventSource.addEventListener("message",e)}unsubscribe(e){null!==this.eventSource&&(this.eventSource.removeEventListener("message",e),this.listeners=this.listeners.filter((t=>t!==e)),this.eventSource.readyState===EventSource.OPEN&&0===this.listeners.length&&this.close())}close(){this.eventSource.close()}}var Aie=(e=>(e.DebugUpdated="debug-updated",e))(Aie||{});const Oie=(e,t,n=!0)=>{const r=U.useRef(t),o=U.useRef((e=>new _ie(e+"/debug/api/event-stream"))(e));U.useEffect((()=>(r.current&&o.current.unsubscribe(r.current),n?(o.current.subscribe(t),r.current=t,()=>{o.current.unsubscribe(t),o.current.close()}):()=>{o.current.unsubscribe(t)})),[t,n])},Nie=e=>{switch(!0){case e>=400:return"error";case e>=300:return"warning";case e>=200:return"success"}return"info"};var Pie=(e=>(e.AssetCollector="Yiisoft\\Assets\\Debug\\AssetCollector",e.LogCollector="Yiisoft\\Yii\\Debug\\Collector\\LogCollector",e.EventCollector="Yiisoft\\Yii\\Debug\\Collector\\EventCollector",e.ExceptionCollector="Yiisoft\\Yii\\Debug\\Collector\\ExceptionCollector",e.ServiceCollector="Yiisoft\\Yii\\Debug\\Collector\\ServiceCollector",e.TimelineCollector="Yiisoft\\Yii\\Debug\\Collector\\TimelineCollector",e.ValidatorCollector="Yiisoft\\Validator\\Debug\\ValidatorCollector",e.DatabaseCollector="Yiisoft\\Db\\Debug\\DatabaseCollector",e.QueueCollector="Yiisoft\\Queue\\Debug\\QueueCollector",e.HttpClientCollector="Yiisoft\\Yii\\Debug\\Collector\\HttpClientCollector",e.FilesystemStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\FilesystemStreamCollector",e.HttpStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\HttpStreamCollector",e.ConsoleAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\ConsoleAppInfoCollector",e.WebAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\WebAppInfoCollector",e.CommandCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\CommandCollector",e.MiddlewareCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\MiddlewareCollector",e.RequestCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\RequestCollector",e.MailerCollector="Yiisoft\\Mailer\\Debug\\MailerCollector",e.VarDumperCollector="Yiisoft\\Yii\\Debug\\Collector\\VarDumperCollector",e))(Pie||{});const Lie=(e,t)=>{switch(e){case Pie.AssetCollector:return Number(t.asset?.bundles?.total);case Pie.DatabaseCollector:return Number(t.db?.queries?.total)+Number(t.db?.transactions?.total);case Pie.ExceptionCollector:return Object.values(t.exception??[]).length>0?1:0;case Pie.EventCollector:return Number(t.event?.total);case Pie.LogCollector:return Number(t.logger?.total);case Pie.ServiceCollector:return Number(t.service?.total);case Pie.VarDumperCollector:return Number(t["var-dumper"]?.total);case Pie.ValidatorCollector:return Number(t.validator?.total)+Number(t.validator?.invalid)+Number(t.validator?.valid);case Pie.MiddlewareCollector:return Number(t.middleware?.total);case Pie.QueueCollector:return Number(t.queue?.countPushes)+Number(t.queue?.countStatuses)+Number(t.queue?.countProcessingMessages);case Pie.HttpClientCollector:return Number(t.http?.count);case Pie.HttpStreamCollector:return Number(t.http_stream?.length);case Pie.MailerCollector:return Number(t.mailer?.total);case Pie.FilesystemStreamCollector:return Object.values(t.fs_stream??[]).reduce(((e,t)=>e+t),0);case Pie.ConsoleAppInfoCollector:default:return 0}};function Mie(e){return e&&"console"in e}function Die(e){return e&&"web"in e}function jie(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Fie(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function $ie(e){Fie(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===pb(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}var Bie={};function zie(){return Bie}function Uie(e){if(Fie(1,arguments),!function(e){return Fie(1,arguments),e instanceof Date||"object"===pb(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=$ie(e);return!isNaN(Number(t))}function Hie(e,t){return Fie(2,arguments),function(e,t){Fie(2,arguments);var n=$ie(e).getTime(),r=jie(t);return new Date(n+r)}(e,-jie(t))}function Vie(e){Fie(1,arguments);var t=$ie(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function Gie(e){Fie(1,arguments);var t=$ie(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=Vie(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var i=Vie(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Wie(e){Fie(1,arguments);var t=$ie(e),n=Vie(t).getTime()-function(e){Fie(1,arguments);var t=Gie(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),Vie(n)}(t).getTime();return Math.round(n/6048e5)+1}function qie(e,t){var n,r,o,a,i,s,l,u;Fie(1,arguments);var c=zie(),d=jie(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(s=i.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=$ie(e),f=p.getUTCDay(),m=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(d+1,0,f),m.setUTCHours(0,0,0,0);var h=qie(m,t),g=new Date(0);g.setUTCFullYear(d,0,f),g.setUTCHours(0,0,0,0);var b=qie(g,t);return c.getTime()>=h.getTime()?d+1:c.getTime()>=b.getTime()?d:d-1}function Yie(e,t){Fie(1,arguments);var n=$ie(e),r=qie(n,t).getTime()-function(e,t){var n,r,o,a,i,s,l,u;Fie(1,arguments);var c=zie(),d=jie(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(s=i.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==n?n:1),p=Kie(e,t),f=new Date(0);return f.setUTCFullYear(p,0,d),f.setUTCHours(0,0,0,0),qie(f,t)}(n,t).getTime();return Math.round(r/6048e5)+1}function Xie(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return Xie("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):Xie(n+1,2)},d:function(e,t){return Xie(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return Xie(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Xie(e.getUTCHours(),t.length)},m:function(e,t){return Xie(e.getUTCMinutes(),t.length)},s:function(e,t){return Xie(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return Xie(Math.floor(r*Math.pow(10,n-3)),t.length)}};const Qie=Zie;var Jie="midnight",ese="noon",tse="morning",nse="afternoon",rse="evening",ose="night",ase={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Qie.y(e,t)},Y:function(e,t,n,r){var o=Kie(e,r),a=o>0?o:1-o;return"YY"===t?Xie(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):Xie(a,t.length)},R:function(e,t){return Xie(Gie(e),t.length)},u:function(e,t){return Xie(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Xie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Xie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Qie.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Xie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=Yie(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):Xie(o,t.length)},I:function(e,t,n){var r=Wie(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Xie(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Qie.d(e,t)},D:function(e,t,n){var r=function(e){Fie(1,arguments);var t=$ie(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Xie(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Xie(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Xie(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Xie(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?ese:0===o?Jie:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?rse:o>=12?nse:o>=4?tse:ose,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Qie.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Qie.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Xie(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Xie(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Qie.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Qie.s(e,t)},S:function(e,t){return Qie.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return sse(o);case"XXXX":case"XX":return lse(o);default:return lse(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return sse(o);case"xxxx":case"xx":return lse(o);default:return lse(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ise(o,":");default:return"GMT"+lse(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ise(o,":");default:return"GMT"+lse(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return Xie(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return Xie((r._originalDate||e).getTime(),t.length)}};function ise(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+Xie(a,2)}function sse(e,t){return e%60==0?(e>0?"-":"+")+Xie(Math.abs(e)/60,2):lse(e,t)}function lse(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+Xie(Math.floor(o/60),2)+n+Xie(o%60,2)}var use=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},cse=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},dse={p:cse,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return use(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",use(o,t)).replace("{{time}}",cse(a,t))}},pse=["D","DD"],fse=["YY","YYYY"];function mse(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var hse={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const gse=function(e,t,n){var r,o=hse[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function bse(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const vse={date:bse({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:bse({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:bse({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var yse={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const wse=function(e,t,n,r){return yse[e]};function Sse(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var xse={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Sse({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Sse({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Sse({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Sse({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Sse({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};const Ese=xse;function Cse(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,s=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(kse.matchPattern);if(!n)return null;var r=n[0],o=e.match(kse.parsePattern);if(!o)return null;var a=kse.valueCallback?kse.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(r.length)}}),era:Cse({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Cse({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Cse({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Cse({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Cse({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const Tse={code:"en-US",formatDistance:gse,formatLong:vse,formatRelative:wse,localize:Ese,match:Rse,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Ise=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_se=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ase=/^'([^]*?)'?$/,Ose=/''/g,Nse=/[a-zA-Z]/;function Pse(e,t,n){var r,o,a,i,s,l,u,c,d,p,f,m,h,g,b,v,y,w;Fie(2,arguments);var S=String(t),x=zie(),E=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:x.locale)&&void 0!==r?r:Tse,C=jie(null!==(a=null!==(i=null!==(s=null!==(l=null==n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null==n||null===(u=n.locale)||void 0===u||null===(c=u.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==s?s:x.firstWeekContainsDate)&&void 0!==i?i:null===(d=x.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==a?a:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=jie(null!==(f=null!==(m=null!==(h=null!==(g=null==n?void 0:n.weekStartsOn)&&void 0!==g?g:null==n||null===(b=n.locale)||void 0===b||null===(v=b.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==h?h:x.weekStartsOn)&&void 0!==m?m:null===(y=x.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==f?f:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var R=$ie(e);if(!Uie(R))throw new RangeError("Invalid time value");var T=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}(R),I=Hie(R,T),_={firstWeekContainsDate:C,weekStartsOn:k,locale:E,_originalDate:R},A=S.match(_se).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,dse[t])(e,E.formatLong):e})).join("").match(Ise).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(Ase);if(!t)return e;return t[1].replace(Ose,"'")}(r);var a=ase[o];if(a)return null!=n&&n.useAdditionalWeekYearTokens||!function(e){return-1!==fse.indexOf(e)}(r)||mse(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!function(e){return-1!==pse.indexOf(e)}(r)||mse(r,t,String(e)),a(I,r,E.localize,_);if(o.match(Nse))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return A}function Lse(e){return Fie(1,arguments),$ie(1e3*jie(e))}function Mse(e){return Pse(Lse(e),"do MMM HH:mm:ss")}function Dse(e){return e?function(e,t){const n=String(e).split(".");return Pse(Lse(+n[0]),t)+(2===n.length?"."+n[1].padEnd(6,"0"):"")}(e,"HH:mm:ss"):"0.000000"}function jse(e){return`${(1e3*e).toFixed(3)} ms`}var Fse={},$se=Rb;Object.defineProperty(Fse,"__esModule",{value:!0});var Bse=Fse.default=void 0,zse=$se(yU()),Use=ee;Bse=Fse.default=(0,zse.default)((0,Use.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIosSharp");var Hse={},Vse=Rb;Object.defineProperty(Hse,"__esModule",{value:!0});var Gse=Hse.default=void 0,Wse=Vse(yU()),qse=ee;Gse=Hse.default=(0,Wse.default)((0,qse.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");const Kse=U.createContext(null);function Yse(e){const{children:t,value:n}=e,r=function(){const[e,t]=U.useState(null);return U.useEffect((()=>{t(`mui-p-${Math.round(1e5*Math.random())}`)}),[]),e}(),o=U.useMemo((()=>({idPrefix:r,value:n})),[r,n]);return ee.jsx(Kse.Provider,{value:o,children:t})}function Xse(){return U.useContext(Kse)}function Zse(e,t){const{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-P-${t}`}function Qse(e,t){const{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-T-${t}`}const Jse=["children"],ele=U.forwardRef((function(e,t){const{children:n}=e,r=_d(e,Jse),o=Xse();if(null===o)throw new TypeError("No TabContext provided");const a=U.Children.map(n,(e=>U.isValidElement(e)?U.cloneElement(e,{"aria-controls":Zse(o,e.props.value),id:Qse(o,e.props.value)}):null));return ee.jsx(pL,Id({},r,{ref:t,value:o.value,children:a}))}));function tle(e){return Ch("MuiTabPanel",e)}kh("MuiTabPanel",["root"]);const nle=["children","className","value"],rle=Wv("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(3)}))),ole=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTabPanel"}),{children:r,className:o,value:a}=n,i=_d(n,nle),s=Id({},n),l=(e=>{const{classes:t}=e;return eb({root:["root"]},tle,t)})(s),u=Xse();if(null===u)throw new TypeError("No TabContext provided");const c=Zse(u,a),d=Qse(u,a);return ee.jsx(rle,Id({"aria-labelledby":d,className:wh(l.root,o),hidden:a!==u.value,id:c,ref:t,role:"tabpanel",ownerState:s},i,{children:a===u.value&&r}))})),ale=ole,ile=U.createContext({});function sle(e){return Ch("MuiTimeline",e)}function lle(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${cm(e)}`}kh("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const ule=["position","className"],cle=Wv("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[lle(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),dle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimeline"}),{position:r="right",className:o}=n,a=_d(n,ule),i=Id({},n,{position:r}),s=(e=>{const{position:t,classes:n}=e;return eb({root:["root",t&&lle(t)]},sle,n)})(i),l=U.useMemo((()=>({position:r})),[r]);return ee.jsx(ile.Provider,{value:l,children:ee.jsx(cle,Id({className:wh(s.root,o),ownerState:i,ref:t},a))})})),ple=dle;function fle(e){return Ch("MuiTimelineConnector",e)}kh("MuiTimelineConnector",["root"]);const mle=["className"],hle=Wv("span",{name:"MuiTimelineConnector",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({width:2,backgroundColor:(e.vars||e).palette.grey[400],flexGrow:1}))),gle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineConnector"}),{className:r}=n,o=_d(n,mle),a=n,i=(e=>{const{classes:t}=e;return eb({root:["root"]},fle,t)})(a);return ee.jsx(hle,Id({className:wh(i.root,r),ownerState:a,ref:t},o))}));function ble(e){return Ch("MuiTimelineContent",e)}const vle=kh("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),yle=["className"],wle=Wv(uS,{name:"MuiTimelineContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[lle(n.position)]]}})((({ownerState:e})=>Id({flex:1,padding:"6px 16px",textAlign:"left"},"left"===e.position&&{textAlign:"right"}))),Sle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineContent"}),{className:r}=n,o=_d(n,yle),{position:a}=U.useContext(ile),i=Id({},n,{position:a||"right"}),s=(e=>{const{position:t,classes:n}=e;return eb({root:["root",lle(t)]},ble,n)})(i);return ee.jsx(wle,Id({component:"div",className:wh(s.root,r),ownerState:i,ref:t},o))})),xle=Sle;function Ele(e){return Ch("MuiTimelineDot",e)}kh("MuiTimelineDot",["root","filled","outlined","filledGrey","outlinedGrey","filledPrimary","outlinedPrimary","filledSecondary","outlinedSecondary"]);const Cle=["className","color","variant"],kle=Wv("span",{name:"MuiTimelineDot",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["inherit"!==n.color&&`${n.variant}${cm(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>Id({display:"flex",alignSelf:"baseline",borderStyle:"solid",borderWidth:2,padding:4,borderRadius:"50%",boxShadow:(t.vars||t).shadows[1],margin:"11.5px 0"},"filled"===e.variant&&Id({borderColor:"transparent"},"inherit"!==e.color&&Id({},"grey"===e.color?{color:(t.vars||t).palette.grey[50],backgroundColor:(t.vars||t).palette.grey[400]}:{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main})),"outlined"===e.variant&&Id({boxShadow:"none",backgroundColor:"transparent"},"inherit"!==e.color&&Id({},"grey"===e.color?{borderColor:(t.vars||t).palette.grey[400]}:{borderColor:(t.vars||t).palette[e.color].main}))))),Rle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineDot"}),{className:r,color:o="grey",variant:a="filled"}=n,i=_d(n,Cle),s=Id({},n,{color:o,variant:a}),l=(e=>{const{color:t,variant:n,classes:r}=e;return eb({root:["root",n,"inherit"!==t&&`${n}${cm(t)}`]},Ele,r)})(s);return ee.jsx(kle,Id({className:wh(l.root,r),ownerState:s,ref:t},i))})),Tle=Rle;function Ile(e){return Ch("MuiTimelineOppositeContent",e)}const _le=kh("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),Ale=["className"],Ole=Wv(uS,{name:"MuiTimelineOppositeContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[lle(n.position)]]}})((({ownerState:e})=>Id({padding:"6px 16px",marginRight:"auto",textAlign:"right",flex:1},"left"===e.position&&{textAlign:"left"}))),Nle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineOppositeContent"}),{className:r}=n,o=_d(n,Ale),{position:a}=U.useContext(ile),i=Id({},n,{position:a||"left"}),s=(e=>{const{position:t,classes:n}=e;return eb({root:["root",lle(t)]},Ile,n)})(i);return ee.jsx(Ole,Id({component:"div",className:wh(s.root,r),ownerState:i,ref:t},o))}));Nle.muiName="TimelineOppositeContent";const Ple=Nle;function Lle(e){return Ch("MuiTimelineItem",e)}kh("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse","missingOppositeContent"]);const Mle=["position","className"],Dle=Wv("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[lle(n.position)]]}})((({ownerState:e})=>Id({listStyle:"none",display:"flex",position:"relative",minHeight:70},"left"===e.position&&{flexDirection:"row-reverse"},("alternate"===e.position||"alternate-reverse"===e.position)&&{[`&:nth-of-type(${"alternate"===e.position?"even":"odd"})`]:{flexDirection:"row-reverse",[`& .${vle.root}`]:{textAlign:"right"},[`& .${_le.root}`]:{textAlign:"left"}}},!e.hasOppositeContent&&{"&::before":{content:'""',flex:1,padding:"6px 16px"}}))),jle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineItem"}),{position:r,className:o}=n,a=_d(n,Mle),{position:i}=U.useContext(ile);let s=!1;U.Children.forEach(n.children,(e=>{kg(e,["TimelineOppositeContent"])&&(s=!0)}));const l=Id({},n,{position:r||i||"right",hasOppositeContent:s}),u=(e=>{const{position:t,classes:n,hasOppositeContent:r}=e;return eb({root:["root",lle(t),!r&&"missingOppositeContent"]},Lle,n)})(l),c=U.useMemo((()=>({position:l.position})),[l.position]);return ee.jsx(ile.Provider,{value:c,children:ee.jsx(Dle,Id({className:wh(u.root,o),ownerState:l,ref:t},a))})})),Fle=jle;function $le(e){return Ch("MuiTimelineSeparator",e)}kh("MuiTimelineSeparator",["root"]);const Ble=["className"],zle=Wv("div",{name:"MuiTimelineSeparator",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",flex:0,alignItems:"center"}),Ule=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineSeparator"}),{className:r}=n,o=_d(n,Ble),a=n,i=(e=>{const{classes:t}=e;return eb({root:["root"]},$le,t)})(a);return ee.jsx(zle,Id({className:wh(i.root,r),ownerState:a,ref:t},o))})),Hle=Wv((e=>te.jsx(tw,{disableGutters:!0,elevation:0,square:!0,...e})))((({theme:e})=>({border:`1px solid ${e.palette.divider}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"}}))),Vle=Wv((e=>te.jsx(Lw,{expandIcon:te.jsx(Bse,{sx:{fontSize:"0.9rem"}}),...e})))((({theme:e})=>({backgroundColor:"dark"===e.palette.mode?"rgba(255, 255, 255, .05)":"rgba(0, 0, 0, .03)",flexDirection:"row-reverse","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"},"& .MuiAccordionSummary-content":{marginLeft:e.spacing(1)}}))),Gle=Wv(iw)((({theme:e})=>({padding:e.spacing(2),borderTop:"1px solid rgba(0, 0, 0, .125)"}))),Wle=({tab:e})=>te.jsx(ale,{value:e,sx:{padding:"0"},children:te.jsx(uS,{children:"Not supported yet"})}),qle=({tab:e,queries:t})=>{const[n,r]=H.useState(-1);return te.jsx(ale,{value:e,sx:{padding:"0"},children:Object.values(t).map(((e,t)=>{return te.jsxs(Hle,{expanded:n===t,onChange:(o=t,(e,t)=>{r(t?o:-1)}),children:[te.jsxs(Vle,{expandIcon:te.jsx(Gse,{}),children:[te.jsx(uS,{sx:{flexGrow:1},children:e.sql}),te.jsx(uS,{sx:{color:"text.secondary"},children:Kle(e.actions)})]}),te.jsxs(Gle,{children:[Object.keys(e.params).length>0&&te.jsxs(te.Fragment,{children:[te.jsx(Jae,{value:e.params}),te.jsx("br",{})]}),te.jsx(Jae,{value:e.rawSql})]})]},t);var o}))})};function Kle(e){const t=e.find((e=>"query.start"===e.action)),n=e.find((e=>"query.end"===e.action));return jse(n.time-t.time)}const Yle=({data:e})=>{const t=Object.keys(e),[n,r]=U.useState(t[0]);return e&&0!==e.length?te.jsxs(Yse,{value:n,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsx(ele,{onChange:(e,t)=>{r(t)},children:t.map((e=>te.jsx(mP,{label:e,value:e},e)))})}),t.map((t=>te.jsx(te.Fragment,{children:"queries"===t?te.jsx(qle,{tab:t,queries:e[t]},t):"transactions"===t?te.jsx(Wle,{tab:t}):null})))]}):te.jsx(te.Fragment,{children:"Nothing here"})},Xle=e=>"string"==typeof e?e.replace(/([#:][0-9a-z_-]+)$/i,""):"";function Zle(e){return e.slice(1).slice(0,2).filter(Boolean).map(Number)}const Qle=e=>{const t=Xle(e),n=e.match(/[#:]([0-9]+)(?:-([0-9]+))?$/i);return n&&n.length?t+"#L"+Zle(n).join("-"):t},Jle=e=>{const t=e.match(/#?L([0-9]+)(?:-([0-9]+))?$/);if(t&&t.length)return Zle(t)},eue=e=>e.split("/").pop()??e,tue=U.memo((e=>{const{name:t,file:n,payload:r,children:o}=e,a=t.split("\\").splice(-1).join(""),i=Vae(r||""),s=XV();return te.jsxs(xle,{sx:{py:"12px",px:2,display:"flex",flexDirection:"column"},children:[te.jsxs(ik,{sx:{wordBreak:"break-word"},children:[te.jsx(oN,{title:t,children:te.jsx(uS,{component:"span",children:a})}),te.jsx(oN,{title:"Examine an object",children:te.jsx(Uw,{size:"small",href:`/debug/object?debugEntry=${s.id}&id=${i}`,children:te.jsx(Bz,{color:"secondary",fontSize:"small"})})}),n&&te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?path=${Xle(n)}`,children:te.jsx(tU,{fontSize:"small"})})})]}),te.jsx(ik,{children:o})]})})),nue=({event:e})=>{const t=eue(e.line);return te.jsxs(uS,{sx:{whiteSpace:"nowrap"},children:[te.jsx(oN,{title:e.line,children:te.jsx(uS,{component:"span",sx:{fontSize:"calc(100% - 2px)"},children:t})}),te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?path=${Qle(e.line)}`,children:te.jsx(tU,{fontSize:"small"})})})]})},rue=e=>{const{events:t}=e;return 0===t.length?te.jsx(te.Fragment,{children:"Nothing here"}):te.jsx(ple,{position:"alternate",children:t&&t.map(((e,n)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:e.time,children:te.jsx(uS,{component:"span",children:Dse(e.time)})})}),te.jsxs(Ule,{children:[te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})}),n!==t.length-1&&te.jsx(gle,{})]}),te.jsx(tue,{name:e.name,file:e.file,payload:e.event,children:te.jsx(nue,{event:e})})]},n)))})},oue=e=>{const[t]=RV(),[n,r]=U.useState(null);U.useEffect((()=>{(async()=>{const n=await t(Xle(e.file));r(n.data)})()}),[e.file]);const o=+e.line;return te.jsx(te.Fragment,{children:te.jsxs(tw,{defaultExpanded:!0,children:[te.jsxs(Lw,{expandIcon:te.jsx(Gse,{}),children:[te.jsxs(uS,{sx:{flex:"1 1 50%"},children:[e.class,": ",e.message]}),te.jsxs(uS,{children:[eue(e.file),":",e.line]})]}),te.jsxs(iw,{children:[te.jsxs(jT,{direction:"row",children:[te.jsxs(nS,{severity:"error",sx:{flexGrow:1},children:[te.jsx(mS,{children:e.class}),e.message]}),te.jsxs(jT,{children:[te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Ak,{size:"small",fullWidth:!0,href:`/inspector/files?class=${Xle(e.class)}`,endIcon:te.jsx(tU,{fontSize:"small"}),children:"Exception"})}),te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Ak,{size:"small",fullWidth:!0,href:`/inspector/files?path=${Xle(e.file)}#L${e.line}`,endIcon:te.jsx(tU,{fontSize:"small"}),children:"Place"})})]})]}),n&&te.jsx(Bae,{language:n.extension,code:n.content,highlightLines:[o],highlightColor:"#ffcccc",wrappedLines:[o-5,o+5]}),te.jsxs(tw,{children:[te.jsx(Lw,{expandIcon:te.jsx(Gse,{}),children:"Trace"}),te.jsx(iw,{children:te.jsx(Bae,{fontSize:10,language:"text/plain",code:e.traceAsString||""})})]})]})]})})},aue=e=>te.jsxs(te.Fragment,{children:[te.jsxs(uS,{children:["Found ",te.jsx("b",{children:e.exceptions?.length})," cascade exceptions"]}),(e.exceptions??[]).map(((e,t)=>te.jsx(ik,{children:te.jsx(oue,{...e})},t)))]}),iue=({data:e})=>{const t=Object.keys(e);console.log("tabs",e);const[n,r]=U.useState(t[0]);return e&&0!==e.length?te.jsxs(Yse,{value:n,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsx(ele,{onChange:(e,t)=>{r(t)},children:t.map((e=>te.jsx(mP,{label:e,value:e},e)))})}),t.map((t=>te.jsx(ale,{value:t,children:te.jsx(f_,{dense:!0,children:e[t].map(((e,t)=>te.jsx(A_,{children:te.jsxs(V_,{sx:{wordBreak:"break-all"},secondary:Object.keys(e.args).length?JSON.stringify(e.args):null,children:[te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?path=${Xle(e.path)}`,children:te.jsx(tU,{fontSize:"small"})})}),e.path]})},t)))})},t)))]}):te.jsx(te.Fragment,{children:"Nothing here"})},sue=({data:e})=>te.jsx(te.Fragment,{children:e&&0!==e.length?e.map(((e,t)=>te.jsxs(nS,{variant:"outlined",severity:"success",icon:!1,children:[te.jsx(mS,{children:e.message}),te.jsxs(ik,{children:[te.jsx(Jae,{value:e.context,depth:2}),te.jsxs(l_,{href:`/inspector/files?path=${Qle(e.line)}`,children:[e.line,te.jsx(Vz,{fontSize:"small"})]})]})]},t))):te.jsx(te.Fragment,{children:"Nothing here"})});var lue={},uue=Rb;Object.defineProperty(lue,"__esModule",{value:!0});var cue=lue.default=void 0,due=uue(yU()),pue=ee;cue=lue.default=(0,due.default)((0,pue.jsx)("path",{d:"M3.5 9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2zm14 0H13c-.55 0-1 .45-1 1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5c0-.55-.45-1-1-1M11 9H6v1.5h1.75V15h1.5v-4.5H11zm13 6v-1.5h-2.5V9H20v6z"}),"Html");var fue={},mue=Rb;Object.defineProperty(fue,"__esModule",{value:!0});var hue=fue.default=void 0,gue=mue(yU()),bue=ee;hue=fue.default=(0,gue.default)((0,bue.jsx)("path",{d:"M6.5 9H3v6h1.5v-2h1.1l.9 2H8l-.9-2.1c.5-.3.9-.8.9-1.4v-1C8 9.7 7.3 9 6.5 9m0 2.5h-2v-1h2zM10.25 9l-1.5 6h1.5l.38-1.5h1.75l.37 1.5h1.5l-1.5-6zm.75 3 .25-1h.5l.25 1zm8.98-3-.74 3-.74-3h-1.52l-.74 3-.74-3H14l1.5 6h1.48l.76-3.04.76 3.04h1.48l1.5-6z"}),"RawOn");const vue=e=>e.split("\n").map((function(e,t){return te.jsxs("span",{children:[e,te.jsx("br",{})]},t)})),yue=({message:e,open:t,onClose:n,previewType:r})=>e?(console.log("message",e),te.jsxs(DR,{open:t,onClose:n,fullScreen:!0,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[te.jsx(JR,{children:e.subject}),te.jsx(WR,{children:"html"===r?te.jsx(XR,{dangerouslySetInnerHTML:{__html:e.htmlBody}}):te.jsx(XR,{children:vue(e.raw)})}),te.jsx(BR,{children:te.jsx(Ak,{onClick:n,autoFocus:!0,children:"Close"})})]})):null;function wue(e){return Object.entries(e).map((([e,t])=>`${e} <${t}>`)).join(", ")}const Sue=({data:e})=>{const[t,n]=U.useState(!1),[r,o]=U.useState("html"),[a,i]=U.useState(null),s=U.useCallback((()=>{n(!1),i(null)}),[]),l=e=>{i(e),n(!0)};return te.jsxs(te.Fragment,{children:[e&&0!==e.messages.length?te.jsx(f_,{children:e.messages.map(((e,t)=>te.jsxs(A_,{children:[te.jsx(L_,{children:te.jsx(zC,{children:t+1})}),te.jsx(V_,{primary:e.subject,secondary:`From: ${wue(e.to)}, to: ${wue(e.to)}`}),te.jsxs(k_,{children:[te.jsx(Uw,{edge:"end",onClick:()=>{o("html"),l(e)},children:te.jsx(cue,{})}),te.jsx(Uw,{edge:"end",onClick:()=>{o("raw"),l(e)},children:te.jsx(hue,{})}),te.jsx(uS,{variant:"body2",color:"textSecondary",children:e.date})]})]})))}):te.jsx(te.Fragment,{children:"Nothing here"}),te.jsx(yue,{open:t,onClose:s,message:a,previewType:r})]})},xue=e=>{const{beforeStack:t,afterStack:n,actionHandler:r}=e;return te.jsxs(ple,{position:"alternate",children:[t&&t.length>0&&t.map(((e,t)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:e.time,children:te.jsx(uS,{component:"span",children:Dse(e.time)})})}),te.jsxs(Ule,{children:[te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})}),te.jsx(gle,{})]}),te.jsx(tue,{name:e.name,payload:e.request,file:"1"})]},t))),"object"==typeof r&&!Array.isArray(r)&&[r].map(((e,t)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},align:"right",color:"text.primary",children:te.jsx(oN,{title:e.startTime,children:te.jsx(uS,{children:Dse(e.startTime)})})}),te.jsx(Ule,{children:te.jsx(Tle,{color:"success",children:te.jsx(Pz,{})})}),te.jsx(tue,{name:e.name,payload:e.request,file:"2"})]},t))),n&&n.length>0&&n.map(((e,t)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:e.time||"0",children:te.jsx(uS,{component:"span",children:Dse(e.time)})})}),te.jsxs(Ule,{children:[te.jsx(gle,{}),te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})})]}),te.jsx(tue,{name:e.name,payload:e.response,file:"3"})]},t)))]})},Eue=({data:e})=>{if("string"!=typeof e.responseRaw)return null;const t=e.responseRaw.split("\r\n\r\n"),n=t[0],r=t.splice(1).join("\r\n\r\n"),o=n.match(/Content-Type: \w+\/(\w+);/),a=Array.isArray(o)?o[1]:"plain",i=!!a.match(/json/);return te.jsxs(te.Fragment,{children:[te.jsx(uS,{component:"h2",variant:"h6",children:"Response"}),te.jsx(Jae,{value:e.response}),r&&te.jsxs(tw,{defaultExpanded:r.length<500,children:[te.jsx(Lw,{children:"Content"}),te.jsx(iw,{children:i?te.jsx(Jae,{value:JSON.parse(r)}):te.jsx(Bae,{code:r,language:a,showLineNumbers:!1})})]}),te.jsxs(tw,{defaultExpanded:e.responseRaw.length<500,children:[te.jsx(Lw,{children:"Raw"}),te.jsx(iw,{children:te.jsx(Bae,{code:e.responseRaw,language:a,showLineNumbers:!1})})]})]})},Cue=({data:e})=>e?te.jsxs(te.Fragment,{children:[te.jsx(Bae,{language:"plain",code:e.requestMethod+" "+e.requestUrl,showLineNumbers:!1}),te.jsx(uS,{component:"h2",variant:"h6",children:"Request"}),te.jsx(Jae,{value:e.request}),te.jsxs(tw,{defaultExpanded:e.requestRaw.length<500,children:[te.jsx(Lw,{children:"Raw"}),te.jsx(iw,{children:te.jsx(Bae,{code:e.requestRaw,language:"plain",showLineNumbers:!1})})]}),te.jsx(iT,{}),te.jsx(Eue,{data:e})]}):te.jsx(te.Fragment,{children:"Nothing here"}),kue=(e,t)=>e+"::"+t+"()",Rue=[{field:"class",headerName:"Method",flex:1,renderCell:({row:e})=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:kue(e.class,e.method)})},{field:"calls",headerName:"Calls (Total / Error)",flex:1,renderCell:({row:e})=>{const t=e.count-e.successCount;return te.jsxs(te.Fragment,{children:[e.count," ",t>0&&te.jsxs(te.Fragment,{children:[" / ",t]})]})}},{field:"time",headerName:"Time (Total / Max / Avg)",flex:1,renderCell:({row:e})=>{const t=e.times.reduce(((e,t)=>e+t),0),n=t/e.times.length;return te.jsxs(te.Fragment,{children:[jse(t)," / ",jse(e.maxTime)," /"," ",jse(n)]})}}],Tue=[{field:"class",headerName:"Method",flex:1,renderCell:({row:e})=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:kue(e.class,e.method)})},{field:"time",headerName:"Time",flex:.5,renderCell:({row:e})=>jse(e.time)},{field:"arguments",headerName:"Arguments",flex:3,renderCell:({row:e})=>te.jsx(Jae,{value:1===e.arguments.length?e.arguments[0]:e.arguments})},{field:"result",headerName:"Result",flex:3,renderCell:({row:e})=>te.jsx(Jae,{value:e.error?e.error:e.result})}],Iue=({data:e})=>{const[t,n]=U.useState("summary"),r=U.useMemo((()=>Array.isArray(e)?e.map((e=>({service:e.service,class:e.class,method:e.method,success:Number("success"===e.status),time:e.timeEnd-e.timeStart,arguments:e.arguments,result:e.result,error:e.error}))):[]),[e]),o=U.useMemo((()=>{const e={};for(const t of r){const n=t.class+t.method;n in e?(e[n].count=e[n].count+1,e[n].successCount=e[n].successCount+t.success,e[n].times=[...e[n].times,t.time],t.time>e[n].maxTime&&(e[n].maxTime=t.time)):e[n]={class:t.class,method:t.method,count:1,successCount:t.success,maxTime:t.time,times:[t.time]}}return e}),[r]);return e&&0!==e.length?te.jsxs(Yse,{value:t,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(ele,{onChange:(e,t)=>{n(t)},children:[te.jsx(mP,{label:"Summary",value:"summary"}),te.jsx(mP,{label:"All",value:"all"})]})}),te.jsx(ale,{value:"summary",sx:{padding:"0"},children:te.jsx(p0,{getRowId:()=>1e3*Math.random(),rows:Object.values(o),columns:Rue})}),te.jsx(ale,{value:"all",sx:{padding:"0"},children:te.jsx(p0,{sortModel:[{field:"time",sort:"desc"}],getRowId:()=>1e3*Math.random(),rows:r,columns:Tue})})]}):te.jsx(te.Fragment,{children:"Nothing here"})},_ue=({data:e})=>e&&Array.isArray(e)?te.jsx(ple,{position:"alternate",children:e.map(((t,n)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:t[0],children:te.jsx(uS,{component:"span",children:Dse(t[0])})})}),te.jsxs(Ule,{children:[te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})}),n!==e.length-1&&te.jsx(gle,{})]}),te.jsxs(xle,{sx:{py:"12px",px:2},children:[te.jsx(oN,{title:t[2],children:te.jsx(uS,{component:"span",children:t[2].split("\\").pop()})}),!!t[3]&&te.jsx(Jae,{value:zae(t[3])?Wae(t[3],t[1]):t[3]})]})]},n)))}):te.jsx(te.Fragment,{children:"Nothing here"}),Aue=({data:e})=>te.jsx(te.Fragment,{children:e&&0!==e.length?e.map(((e,t)=>te.jsxs(Ly,{sx:{mb:1,p:1},children:[te.jsx(Jae,{value:e.variable,depth:10}),te.jsxs(l_,{href:`/inspector/files?path=${Qle(e.line)}`,children:[e.line,te.jsx(Vz,{fontSize:"small"})]})]}))):te.jsx(te.Fragment,{children:"Nothing here"})}),Oue=[{field:"0",headerName:"Name",width:130},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(Jae,{value:e.value},e.id)}],Nue=({data:e})=>{const t=Array.isArray(e),n=U.useMemo((()=>Object.entries(e||[]).map((e=>({0:e[0],1:Array.isArray(e[1])?Object.assign({},e[1]):e[1]})))),[e]);return te.jsx(p0,{getRowId:()=>1e3*Math.random(),rows:n,columns:t?[[...Oue].pop()]:Oue})};function Pue(){return new DOMException("The request is not allowed","NotAllowedError")}const Lue=r((async function(e){try{await async function(e){if(!navigator.clipboard)throw Pue();return navigator.clipboard.writeText(e)}(e)}catch(t){try{await async function(e){const t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",t.style.webkitUserSelect="auto",t.style.userSelect="all",document.body.appendChild(t);const n=window.getSelection(),r=window.document.createRange();n.removeAllRanges(),r.selectNode(t),n.addRange(r);let o=!1;try{o=window.document.execCommand("copy")}finally{n.removeAllRanges(),window.document.body.removeChild(t)}if(!o)throw Pue()}(e)}catch(n){throw n||t||Pue()}}}));var Mue={error:null},Due=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;oe.application.baseUrl)),r={[Pie.MailerCollector]:e=>te.jsx(Sue,{data:e}),[Pie.ServiceCollector]:e=>te.jsx(Iue,{data:e}),[Pie.TimelineCollector]:e=>te.jsx(_ue,{data:e}),[Pie.LogCollector]:e=>te.jsx(sue,{data:e}),[Pie.DatabaseCollector]:e=>te.jsx(Yle,{data:e}),[Pie.FilesystemStreamCollector]:e=>te.jsx(iue,{data:e}),[Pie.RequestCollector]:e=>te.jsx(Cue,{data:e}),[Pie.MiddlewareCollector]:e=>te.jsx(xue,{...e}),[Pie.EventCollector]:e=>te.jsx(rue,{events:e}),[Pie.ExceptionCollector]:e=>te.jsx(aue,{exceptions:e}),[Pie.VarDumperCollector]:e=>te.jsx(Aue,{data:e}),default:e=>{if("object"==typeof e&&e.__isPanelRemote__)return te.jsx(U.Suspense,{fallback:"Loading",children:te.jsx(OG,{url:n+e.url,module:e.module,scope:e.scope,props:{data:e.data}})});if("string"==typeof e)try{JSON.parse(e)}catch(w0){if(w0 instanceof SyntaxError)return te.jsx(ik,{dangerouslySetInnerHTML:{__html:e}});console.error(w0)}return te.jsx(Nue,{data:e})}};if(""===t)return te.jsx(KF,{});return(t in r?r[t]:r.default)(e)}function Fue({error:e}){return console.error(e),te.jsx(ik,{m:2,children:te.jsxs(nS,{severity:"error",children:[te.jsx(mS,{children:"Something went wrong:"}),te.jsx("pre",{children:e?.toString()||"unknown"})]})})}const $ue=({data:e,onChange:t})=>{const n=XV(),r=U.useCallback((e=>Mie(e)?[0===e.command?.exitCode?"[OK]":"[ERROR]",e.command?.input].filter(Boolean).join(" "):Die(e)?["["+e.response.statusCode+"]",e.request.method,e.request.path].join(" "):e.id),[]),o=U.useCallback(((e,t)=>ae.createElement(jT,{...e,key:t.id,component:"li",direction:"row",spacing:2,sx:{"& > img":{mr:2,flexShrink:0}}},Die(t)&&te.jsxs(te.Fragment,{children:[te.jsxs(uS,{component:"span",sx:{flex:1},children:[te.jsx(VE,{sx:{borderRadius:"5px 5px",margin:"0 2px"},label:`${t.response?.statusCode} ${t.request.method}`,color:Nie(t.response?.statusCode)}),te.jsx("span",{style:{margin:"0 2px"},children:t.request.path})]}),te.jsx(uS,{component:"span",sx:{margin:"0 auto"},children:te.jsx("span",{children:Mse(t.web.request.startTime)})})]}),Mie(t)&&te.jsxs(te.Fragment,{children:[te.jsxs(uS,{component:"span",sx:{flex:1},children:[0===t.command?.exitCode?te.jsx(VE,{label:"OK",color:"success",sx:{borderRadius:"5px 5px",margin:"0 2px"}}):te.jsx(VE,{label:`CODE: ${t.command?.exitCode??"Unknown"}`,color:"error",sx:{borderRadius:"5px 5px",margin:"0 2px"}}),te.jsx("span",{style:{margin:"0 2px"},children:t.command?.input??"Unknown"})]}),te.jsx(uS,{component:"span",sx:{margin:"0 auto"},children:te.jsx("span",{children:Mse(t.console.request.startTime)})})]}))),[]);return te.jsx(PC,{value:n,options:e||[],getOptionLabel:r,renderOption:o,isOptionEqualToValue:(e,t)=>e.id===t.id,renderInput:e=>te.jsx(vL,{...e,label:"Record"}),onChange:(e,n)=>{t("object"==typeof n?n:null)},sx:{my:1}})},Bue=U.memo((()=>te.jsx(xie,{title:"No one collector is chosen",text:"Select a collector from the left side panel to see more options",severity:"info",icon:te.jsx(Kz,{})}))),zue=U.memo((()=>te.jsx(xie,{title:"Collectors are empty",text:"Looks like debugger was inactive or it did not have any active collectors during the request",severity:"info",icon:te.jsx(Kz,{})}))),Uue=()=>{const e=gd.useDispatch(),[t,n]=U.useState(!1),r=XV(),[o,a]=b$(),[i,s]=uV(),[l,u]=U.useState(o.get("collector")||""),[c,d]=U.useState(void 0),[p,f]=pV(),[m,h]=GV(),g=IG((e=>e.application.autoLatest)),b=IG((e=>e.application.baseUrl)),v=U.useCallback((()=>{i()}),[]);U.useEffect(v,[v]),U.useEffect((()=>{n(g)}),[g]),U.useEffect((()=>{if(s.isSuccess&&s.data&&s.data.length){let e;o.has("debugEntry")&&(e=s.data.find((e=>e.id===o.get("debugEntry")))),w(e??s.data[0])}}),[s.isSuccess,s.data]);const y=()=>{o.delete("collector"),u(""),d(null)};U.useEffect((()=>{const e=o.get("collector")||"";""!==e.trim()?r&&p({id:r.id,collector:e}).then((({data:t,isError:n})=>{if(n)return y(),void w(null);u(e),d(t)})).catch(y):y()}),[o,r]);const w=t=>{if(t)return e(KV(t)),void a((e=>(e.set("debugEntry",t.id),e)));e(KV(null)),a((e=>(e.delete("debugEntry"),e)))},S=U.useMemo((()=>l.split("\\").pop()),[l]),x=U.useMemo((()=>r?r.collectors.map(((e,t)=>{return{name:e,text:(n=e,n.replace("Yiisoft\\Assets\\Debug\\","").replace("Yiisoft\\Db\\Debug\\","").replace("Yiisoft\\Mailer\\Debug\\","").replace("Yiisoft\\Validator\\Debug\\","").replace("Yiisoft\\Yii\\View\\Debug\\","").replace("Yiisoft\\Yii\\Queue\\Debug\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Web\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Console\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Database\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Queue\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Stream\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\","")),href:`/debug?collector=${e}&debugEntry=${r.id}`,icon:t%2==0?te.jsx(oie,{}):te.jsx(mie,{}),badge:Lie(e,r)};var n})):[]),[r]),[E,C]=NV(),k=U.useCallback((async()=>{if(r){try{await E({id:r.id})}catch(w0){console.error(w0)}i()}}),[r]),R=U.useCallback((async()=>{if(!r)return;const e=await m(r.id);"error"in e?console.error(e.error):(console.log(e.data.command),Lue(e.data.command))}),[r]),T=U.useCallback(w,[]),I=U.useCallback((async e=>{const t=JSON.parse(e.data);if(t.type&&t.type===Aie.DebugUpdated){const e=await i();"data"in e&&e.data.length>0&&w(e.data[0])}}),[]);Oie(b,I,t);return s.isLoading?te.jsx(AG,{}):s.data&&0===s.data.length?te.jsx(xie,{title:"No debug entries found",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Make sure you have enabled debugger and run your application."}),te.jsxs(uS,{children:['Check the "yiisoft/yii-debug" in the "params.php" on the backend or with'," ",te.jsx(l_,{href:"/inspector/config/parameters?filter=yiisoft/yii-debug",children:"Inspector"}),"."]}),te.jsxs(uS,{children:["See more information on the link"," ",te.jsx(l_,{href:"https://github.com/yiisoft/yii-debug",children:"https://github.com/yiisoft/yii-debug"}),"."]})]}),severity:"info",icon:te.jsx(Uz,{})}):te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/debug",children:"Debug"}),!!S&&te.jsx(uS,{color:"text.primary",children:S})]}),te.jsxs(jT,{direction:"row",spacing:2,children:[te.jsx(oN,{title:"List",children:te.jsx("span",{children:te.jsx(Ak,{href:"/debug/list",startIcon:te.jsx(uie,{}),children:"List"})})}),te.jsx(oN,{title:"Refresh the list",children:te.jsx("span",{children:te.jsx(Ak,{onClick:v,disabled:s.isFetching,startIcon:te.jsx(oU,{}),endIcon:s.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"})})}),te.jsx(oN,{title:"Runs the request again",children:te.jsx("span",{children:te.jsx(Ak,{onClick:k,disabled:!r||C.isLoading||s.isFetching,startIcon:te.jsx(yie,{}),endIcon:C.isLoading?te.jsx(hR,{size:24,color:"info"}):C.isUninitialized?null:C.isSuccess?te.jsx(Lz,{color:"success"}):te.jsx(Hz,{color:"error"}),children:"Repeat Request"})})}),r&&Die(r)&&te.jsx(oN,{title:"Copies the request cURL interpretation",children:te.jsx("span",{children:te.jsx(Ak,{onClick:R,disabled:!r||h.isLoading,endIcon:h.isLoading?te.jsx(hR,{size:24,color:"info"}):h.isUninitialized?null:h.isSuccess?te.jsx(Lz,{color:"success"}):te.jsx(Hz,{color:"error"}),children:"Copy cURL"})})}),te.jsx(oN,{title:"Switches to the latest debug entry automatically (delay 1s). Needs server-sent events suppport.",children:te.jsx("span",{children:te.jsx(HT,{control:te.jsx(lP,{checked:t,value:t,onChange:()=>{n((t=>(e(x$(!t)),!t)))}}),label:"Latest auto"})})})]}),te.jsx($ue,{data:s.data,onChange:T}),0===x.length?te.jsx(zue,{}):te.jsx(Iie,{links:x,open:!l,activeLink:l,children:l?te.jsxs(te.Fragment,{children:[f.isFetching&&te.jsx(e_,{}),f.isError&&te.jsx(Fue,{error:f.error?.error||f.error}),f.isSuccess&&te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname,window.location.search,r],children:te.jsx(jue,{selectedCollector:l,collectorData:c})})]}):te.jsx(Bue,{})})]})};var Hue={},Vue=Rb;Object.defineProperty(Hue,"__esModule",{value:!0});var Gue=Hue.default=void 0,Wue=Vue(yU()),que=ee;Gue=Hue.default=(0,Wue.default)((0,que.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"}),"Login");var Kue={},Yue=Rb;Object.defineProperty(Kue,"__esModule",{value:!0});var Xue=Kue.default=void 0,Zue=Yue(yU()),Que=ee;Xue=Kue.default=(0,Zue.default)((0,Que.jsx)("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal");const Jue=({label:e,icon:t,color:n})=>te.jsx(VE,{sx:{borderRadius:"5px 5px",margin:"0 2px"},icon:t,label:e,color:n}),ece=({entry:e})=>{return Mie(e)?te.jsx(Jue,{icon:te.jsx(Xue,{}),label:e.command?.exitCode,color:(t=Number(e.command?.exitCode),0===t?"success":"error")}):Die(e)?te.jsx(Jue,{label:[e.response?.statusCode,e.request.method].join(" "),color:Nie(e.response?.statusCode)}):null;var t},tce=[{field:"status",headerName:"Status",renderCell:({row:e})=>te.jsx(ece,{entry:e})},{field:"url",flex:1,headerName:"URL / Command",valueGetter:({row:e})=>e.request?.path??e.command?.input},{field:"time",headerName:"Time",renderCell:({row:e})=>te.jsxs(te.Fragment,{children:[(1e3*(e.web||e.console).request.processingTime).toFixed(1)," ms"]})},{field:"timeAt",headerName:"Time at",renderCell:({row:e})=>te.jsx(te.Fragment,{children:Pse(Lse((e.web||e.console).request.startTime),"HH:mm:ss")})},{field:"logs",headerName:"Logs",valueGetter:({row:e})=>e.logger?.total??"–"},{field:"events",headerName:"Events",valueGetter:({row:e})=>e.event?.total??"–"},{field:"services",headerName:"Services",valueGetter:({row:e})=>e.service?.total??"–"},{field:"actions",headerName:"Actions",renderCell:({row:e})=>te.jsx(te.Fragment,{children:te.jsx(jT,{direction:"row",spacing:2,children:te.jsx(oN,{title:"Debug the entry",children:te.jsx("span",{children:te.jsx(Uw,{href:`/debug?debugEntry=${e.id}`,children:te.jsx(Gue,{})})})})})})}],nce=()=>{const e=lV(),[t,n]=U.useState([]);U.useEffect((()=>{e.isFetching||n(e.data||[])}),[e.isFetching]);const r=U.useCallback((()=>{e.refetch()}),[e]);return te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/debug",children:"Debug"}),te.jsx(uS,{color:"text.primary",children:"List"})]}),te.jsxs(jT,{direction:"row",spacing:2,children:[te.jsx(oN,{title:"List",children:te.jsx("span",{children:te.jsx(Ak,{href:"/debug",startIcon:te.jsx(uie,{}),children:"Index"})})}),te.jsx(oN,{title:"Refresh the list",children:te.jsx("span",{children:te.jsx(Ak,{onClick:r,disabled:e.isFetching,startIcon:te.jsx(oU,{}),endIcon:e.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"})})})]}),te.jsx(p0,{rows:t,getRowId:e=>e.id,columns:tce})]})},rce=()=>{const[e,t]=b$(),n=e.get("id"),r=e.get("debugEntry")||"",{data:o,isLoading:a}=cV({debugEntryId:r,objectId:+(n||0)});return a?te.jsx(AG,{}):te.jsxs(ik,{children:[te.jsxs(uS,{variant:"h6",my:1,children:[o.class,"#",n]}),te.jsx(Jae,{value:o.value})]})},oce={routes:[{path:"debug",element:te.jsx(Uue,{}),children:[{element:te.jsx(tie,{}),index:!0}]},{path:"debug/object",element:te.jsx(rce,{})},{path:"debug/list",element:te.jsx(nce,{})}],reducers:QV,middlewares:JV,standaloneModule:!1},ace=e=>{const[t,n]=U.useState(""),r=gd.useDispatch(),o=oG(),a=()=>{e.onClose()},i=()=>{r(tG(t))},s=e=>()=>r(rG(e));return te.jsxs(DR,{fullWidth:!0,open:!0,onClose:a,children:[te.jsx(JR,{children:"Frames"}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Create, edit or delete frames."}),te.jsx(f_,{children:Object.entries(o).map((([e,t],r)=>te.jsx(A_,{children:te.jsxs(w_,{onClick:()=>{n(t)},children:[te.jsx(V_,{primary:t,secondary:e}),te.jsx(k_,{children:te.jsx(Uw,{onClick:s(e),sx:{p:2},children:te.jsx(aU,{})})})]})},r)))}),te.jsxs(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",p:[.5,1],alignItems:"center"},onSubmit:e=>{e.preventDefault(),i()},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:"https://external-resource.com/",value:t,onChange:e=>n(e.target.value)}),te.jsx(Uw,{onClick:i,sx:{p:2},children:te.jsx(SU,{})})]})]}),te.jsx(BR,{children:te.jsx(Ak,{onClick:a,color:"primary",children:"Close"})})]})},ice=()=>te.jsxs("ul",{children:[te.jsx("li",{children:te.jsx(l_,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options",target:"_blank",children:"X-Frame-Options"})}),te.jsx("li",{children:te.jsx(l_,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS",target:"_blank",children:"CORS"})}),te.jsx("li",{children:te.jsx(l_,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources",target:"_blank",children:"Content-Security-Policy"})})]}),sce=({url:e})=>te.jsx(xie,{title:`"${e}" is inaccessible`,text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Having problems with X-Frame-Options or CORS?"}),te.jsx(uS,{children:"Configure response headers to prevent browser blocking the requests to external resources or set up a proxy server."}),te.jsxs(uS,{children:["Read more about blocking external resources:",te.jsx(ice,{})]})]}),severity:"info",icon:te.jsx(Uz,{})}),lce=U.memo((()=>te.jsx(xie,{title:"No frames found",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"You can add any external resources as a embed and manage them there."}),te.jsxs(uS,{children:["Due to multiple privacy policies some of frames cannot be opened. Read more about the policies:",te.jsx(ice,{})]}),te.jsx(uS,{children:"Click on settings button and add a frame."})]}),severity:"info",icon:te.jsx(Uz,{})}))),uce=()=>{const[e,t]=U.useState(""),[n,r]=U.useState(!1),o=hv(),a=oG();return U.useEffect((()=>{a&&Object.keys(a).length&&t(Object.keys(a)[0])}),[a]),te.jsxs(te.Fragment,{children:[te.jsx(Yse,{value:e,children:te.jsxs(jT,{children:[te.jsxs(jT,{direction:"row",justifyContent:"space-between",children:[te.jsx(pL,{value:e,onChange:(e,n)=>t(n),scrollButtons:"auto",variant:"scrollable",allowScrollButtonsMobile:!0,sx:{maxWidth:"100%"},children:Object.keys(a).map(((e,t)=>te.jsx(mP,{label:e,value:e,wrapped:!0},t)))}),te.jsx(Uw,{onClick:()=>r(!0),children:te.jsx(lU,{})})]}),0===Object.keys(a).length?te.jsx(lce,{}):te.jsx(te.Fragment,{children:Object.entries(a).map((([e,t],n)=>te.jsx(ale,{value:e,className:o.palette.mode,children:te.jsx("object",{data:t,width:"100%",height:"1000px",type:"text/html",children:te.jsx(sce,{url:t})})},n)))})]})}),n&&te.jsx(ace,{onClose:()=>{r(!1)}})]})},cce={routes:[{path:"/frames",element:te.jsx(uce,{})}],reducers:iG,middlewares:sG,standaloneModule:!1};function dce(e){this._maxSize=e,this.clear()}dce.prototype.clear=function(){this._size=0,this._values=Object.create(null)},dce.prototype.get=function(e){return this._values[e]},dce.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var pce=/[^.^\]^[]+|(?=\[\]|\.\.)/g,fce=/^\d+$/,mce=/^\d/,hce=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,gce=/^\s*(['"]?)(.*?)(\1)\s*$/,bce=new dce(512),vce=new dce(512),yce=new dce(512),wce={Cache:dce,split:xce,normalizePath:Sce,setter:function(e){var t=Sce(e);return vce.get(e)||vce.set(e,(function(e,n){for(var r=0,o=t.length,a=e;re.match(kce)||[],Tce=(e,t)=>Rce(e).join(t).toLowerCase(),Ice=e=>Rce(e).reduce(((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`),"");var _ce=Ice,Ace=e=>Tce(e,"_"),Oce={exports:{}};function Nce(e,t){var n=e.length,r=new Array(n),o={},a=n,i=function(e){for(var t=new Map,n=0,r=e.length;n"",Fce=/^Symbol\((.*)\)(.*)$/;function $ce(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return jce.call(e).replace(Fce,"Symbol($1)");const r=Lce.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+Mce.call(e)+"]":"RegExp"===r?Dce.call(e):null}function Bce(e,t){let n=$ce(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=$ce(this[e],t);return null!==r?r:n}),2)}function zce(e){return null==e?[]:[].concat(e)}let Uce,Hce,Vce,Gce=/\$\{\s*(\w+)\s*\}/g;Uce=Symbol.toStringTag;class Wce{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[Uce]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],zce(e).forEach((e=>{if(qce.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}Hce=Symbol.hasInstance,Vce=Symbol.toStringTag;class qce extends Error{static formatError(e,t){const n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"==typeof e?e.replace(Gce,((e,n)=>Bce(t[n]))):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,o){const a=new Wce(e,t,n,r);if(o)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[Vce]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,qce)}static[Hce](e){return Wce[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let Kce={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=null!=r&&r!==n?` (cast from the value \`${Bce(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${Bce(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Bce(n,!0)}\``+o}},Yce={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Xce={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Zce={noUnknown:"${path} field has unspecified keys: ${unknown}"},Qce={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},Jce={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.lengtho)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${Bce(n,!0)}\``}return qce.formatError(Kce.notType,e)}};Object.assign(Object.create(null),{mixed:Kce,string:Yce,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:Xce,object:Zce,array:Qce,boolean:{isValue:"${path} field must be ${value}"},tuple:Jce});const ede=e=>e&&e.__isYupSchema__;class tde{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:o}=t,a="function"==typeof n?n:(...e)=>e.every((e=>e===n));return new tde(e,((e,t)=>{var n;let i=a(...e)?r:o;return null!=(n=null==i?void 0:i(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!ede(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const nde="$",rde=".";class ode{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===nde,this.isValue=this.key[0]===rde,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?nde:this.isValue?rde:"";this.path=this.key.slice(n.length),this.getter=this.path&&wce.getter(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}ode.prototype.__isYupRef=!0;const ade=e=>null==e;function ide(e){function t({value:t,path:n="",options:r,originalValue:o,schema:a},i,s){const{name:l,test:u,params:c,message:d,skipAbsent:p}=e;let{parent:f,context:m,abortEarly:h=a.spec.abortEarly,disableStackTrace:g=a.spec.disableStackTrace}=r;function b(e){return ode.isRef(e)?e.getValue(t,f,m):e}function v(e={}){const r=Object.assign({value:t,originalValue:o,label:a.spec.label,path:e.path||n,spec:a.spec,disableStackTrace:e.disableStackTrace||g},c,e.params);for(const t of Object.keys(r))r[t]=b(r[t]);const i=new qce(qce.formatError(e.message||d,r),t,r.path,e.type||l,r.disableStackTrace);return i.params=r,i}const y=h?i:s;let w={path:n,parent:f,type:l,from:r.from,createError:v,resolve:b,options:r,originalValue:o,schema:a};const S=e=>{qce.isError(e)?y(e):e?s(null):y(v())},x=e=>{qce.isError(e)?y(e):i(e)};if(p&&ade(t))return S(!0);let E;try{var C;if(E=u.call(w,t,w),"function"==typeof(null==(C=E)?void 0:C.then)){if(r.sync)throw new Error(`Validation test of type: "${w.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(E).then(S,x)}}catch(k){return void x(k)}S(E)}return t.OPTIONS=e,t}function sde(e,t,n,r=n){let o,a,i;return t?(wce.forEach(t,((s,l,u)=>{let c=l?s.slice(1,s.length-1):s,d="tuple"===(e=e.resolve({context:r,parent:o,value:n})).type,p=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${i}" must contain an index to the tuple element, e.g. "${i}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${i} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}a=c,i=l?"["+s+"]":"."+s})),{schema:e,parent:o,parentPath:a}):{parent:o,parentPath:t,schema:e}}class lde extends Set{describe(){const e=[];for(const t of this.values())e.push(ode.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new lde(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function ude(e,t=new Map){if(ede(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(Kce.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=ude(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,o;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(o=e.disableStackTrace)?o:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,o=n._cast(e,t);if(!1!==t.assert&&!n.isType(o)){if(r&&ade(o))return o;let a=Bce(e),i=Bce(o);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${a} \n`+(i!==a?`result of cast: ${i}`:""))}return o}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:o,originalValue:a=e,strict:i=this.spec.strict}=t,s=e;i||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let u of Object.values(this.internalTests))u&&l.push(u);this.runTests({path:o,value:s,originalValue:a,options:t,tests:l},n,(e=>{if(e.length)return r(e,s);this.runTests({path:o,value:s,originalValue:a,options:t,tests:this.tests},n,r)}))}runTests(e,t,n){let r=!1,{tests:o,value:a,originalValue:i,path:s,options:l}=e,u=e=>{r||(r=!0,t(e,a))},c=e=>{r||(r=!0,n(e,a))},d=o.length,p=[];if(!d)return c([]);let f={value:a,originalValue:i,path:s,options:l,schema:this};for(let m=0;mthis.resolve(u)._validate(l,u,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise(((n,a)=>r._validate(e,t,((e,t)=>{qce.isError(e)&&(e.value=t),a(e)}),((e,t)=>{e.length?a(new qce(e,t,void 0,void 0,o)):n(t)}))))}validateSync(e,t){var n;let r,o=this.resolve(Object.assign({},t,{value:e})),a=null!=(n=null==t?void 0:t.disableStackTrace)?n:o.spec.disableStackTrace;return o._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw qce.isError(e)&&(e.value=t),e}),((t,n)=>{if(t.length)throw new qce(t,e,void 0,void 0,a);r=n})),r}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(qce.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(qce.isError(n))return!1;throw n}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):ude(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=ide({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=ide({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=Kce.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=Kce.notNull){return this.nullability(!1,e)}required(e=Kce.required){return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=Kce.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=ide(t),o=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter((e=>{if(e.OPTIONS.name===t.name){if(o)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=zce(e).map((e=>new ode(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new tde(r,t):tde.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=ide({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=Kce.oneOf){let n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=ide({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=Kce.notOneOf){let n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=ide({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:o,nullable:a}=t.spec,i={meta:r,label:n,optional:o,nullable:a,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))};return i}}cde.prototype.__isYupSchema__=!0;for(const uve of["validate","validateSync"])cde.prototype[`${uve}At`]=function(e,t,n={}){const{parent:r,parentPath:o,schema:a}=sde(this,e,t,n.context);return a[uve](r&&r[o],Object.assign({},n,{parent:r,path:e}))};for(const uve of["equals","is"])cde.prototype[uve]=cde.prototype.oneOf;for(const uve of["not","nope"])cde.prototype[uve]=cde.prototype.notOneOf;const dde=()=>!0;function pde(e){return new fde(e)}class fde extends cde{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:dde},e))}}pde.prototype=fde.prototype;const mde=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function hde(e){var t,n;const r=mde.exec(e);return r?{year:gde(r[1]),month:gde(r[2],1)-1,day:gde(r[3],1),hour:gde(r[4]),minute:gde(r[5]),second:gde(r[6]),millisecond:r[7]?gde(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:gde(r[10]),minuteOffset:gde(r[11])}:null}function gde(e,t=0){return Number(e)||t}let bde=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vde=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,yde=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,wde=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),Sde=e=>ade(e)||e===e.trim(),xde={}.toString();function Ede(){return new Cde}class Cde extends cde{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===xde?e:r}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||Kce.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e,t=Yce.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=Yce.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=Yce.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,o=!1;return t&&("object"==typeof t?({excludeEmptyString:o=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||Yce.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&o||-1!==t.search(e)})}email(e=Yce.email){return this.matches(bde,{name:"email",message:e,excludeEmptyString:!0})}url(e=Yce.url){return this.matches(vde,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=Yce.uuid){return this.matches(yde,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(wde,{name:"datetime",message:r||Yce.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||Yce.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=hde(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||Yce.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||null==n)return!0;const t=hde(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=Yce.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:Sde})}lowercase(e=Yce.lowercase){return this.transform((e=>ade(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>ade(e)||e===e.toLowerCase()})}uppercase(e=Yce.uppercase){return this.transform((e=>ade(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>ade(e)||e===e.toUpperCase()})}}Ede.prototype=Cde.prototype;let kde=new Date("");class Rde extends cde{constructor(){super({type:"date",check:e=>(e=>"[object Date]"===Object.prototype.toString.call(e))(e)&&!isNaN(e.getTime())}),this.withMutation((()=>{this.transform(((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){const t=hde(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?Rde.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(ode.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=Xce.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=Xce.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function Tde(e,t){let n=1/0;return e.some(((e,r)=>{var o;if(null!=(o=t.path)&&o.includes(e))return n=r,!0})),n}function Ide(e){return(t,n)=>Tde(e,t)-Tde(e,n)}Rde.INVALID_DATE=kde,Rde.prototype;const _de=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function Ade(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Ade(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=Ade(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(Ade)}):"optional"in e?e.optional():e}let Ode=e=>"[object Object]"===Object.prototype.toString.call(e);const Nde=Ide([]);function Pde(e){return new Lde(e)}class Lde extends cde{constructor(e){super({type:"object",check:e=>Ode(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=Nde,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let o=this.fields,a=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,i=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),u=!1;for(const c of i){let e=o[c],n=c in r;if(e){let n,o=r[c];l.path=(t.path?`${t.path}.`:"")+c,e=e.resolve({value:o,context:t.context,parent:s});let a=e instanceof cde?e.spec:void 0,i=null==a?void 0:a.strict;if(null!=a&&a.strip){u=u||c in r;continue}n=t.__validating&&i?r[c]:e.cast(r[c],l),void 0!==n&&(s[c]=n)}else n&&!a&&(s[c]=r[c]);n===c in s&&s[c]===r[c]||(u=!0)}return u?s:r}_validate(e,t={},n,r){let{from:o=[],originalValue:a=e,recursive:i=this.spec.recursive}=t;t.from=[{schema:this,value:a},...o],t.__validating=!0,t.originalValue=a,super._validate(e,t,n,((e,o)=>{if(!i||!Ode(o))return void r(e,o);a=a||o;let s=[];for(let n of this._nodes){let e=this.fields[n];e&&!ode.isRef(e)&&s.push(e.asNestedTest({options:t,key:n,parent:o,parentPath:t.path,originalParent:a}))}this.runTests({tests:s,value:o,originalValue:a,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),o)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,o]of Object.entries(this.fields)){const e=n[r];n[r]=void 0===e?o:e}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach((n=>{var r;const o=this.fields[n];let a=e;null!=(r=a)&&r.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[n]})),t[n]=o&&"getDefault"in o?o.getDefault(a):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,o=new Set(t.map((([e,t])=>`${e}-${t}`)));function a(e,t){let a=wce.split(e)[0];r.add(a),o.has(`${t}-${a}`)||n.push([t,a])}for(const i of Object.keys(e)){let t=e[i];r.add(i),ode.isRef(t)&&t.isSibling?a(t.path,i):ede(t)&&"deps"in t&&t.deps.forEach((e=>a(e,i)))}return Pce.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=Ide(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return Ade(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter((([t,n])=>e.includes(t)&&e.includes(n))))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=wce.getter(e,!0);return this.transform((o=>{if(!o)return o;let a=o;return((e,t)=>{const n=[...wce.normalizePath(t)];if(1===n.length)return n[0]in e;let r=n.pop(),o=wce.getter(wce.join(n),!0)(e);return!(!o||!(r in o))})(o,e)&&(a=Object.assign({},o),n||delete a[e],a[t]=r(o)),a}))}json(){return this.transform(_de)}noUnknown(e=!0,t=Zce.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=function(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=Zce.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(_ce)}snakeCase(){return this.transformKeys(Ace)}constantCase(){return this.transformKeys((e=>Ace(e).toUpperCase()))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[o,a]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[o]})),n.fields[o]=a.describe(t)}return n}}function Mde(e){return new Dde(e)}Pde.prototype=Lde.prototype;class Dde extends cde{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const o=n.map(((e,n)=>{const o=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return o!==e&&(r=!0),o}));return r?o:n}_validate(e,t={},n,r){var o;let a=this.innerType,i=null!=(o=t.recursive)?o:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,((o,s)=>{var l;if(!i||!a||!this._typeCheck(s))return void r(o,s);let u=new Array(s.length);for(let n=0;nr(e.concat(o),s)))}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(_de)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!ede(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Bce(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=Qce.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||Qce.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||Qce.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),n.innerType=t.innerType.describe(o)}return n}}function jde(e){const{onClose:t,file:n,content:r,open:o}=e;return te.jsxs(DR,{onClose:()=>{t()},open:o,fullWidth:!0,maxWidth:"md",children:[te.jsx(JR,{children:n.relativePath}),te.jsx(Bae,{language:"diff",code:r})]})}function Fde(e){const{onClose:t,file:n,open:r}=e;return te.jsxs(DR,{onClose:()=>{t()},open:r,fullWidth:!0,maxWidth:"md",children:[te.jsx(JR,{children:n.relativePath}),te.jsx(Bae,{language:n.type,code:n.content})]})}function $de(e,t){if("error"in e){const n=e.error?.data?.errors||{};console.error(n);for(const e in n){const r=n[e];t.setError(e,{message:r.join(" ")})}}}Mde.prototype=Dde.prototype,function(e,t,n){if(!e||!ede(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if("string"!=typeof t)throw new TypeError("A Method name must be provided");if("function"!=typeof n)throw new TypeError("Method function must be provided");e.prototype[t]=n}(fde,"sequence",(function(e){return this.test((async(t,n)=>{try{for(const n of e)await n.validate(t)}catch({message:r}){return n.createError({message:r})}return!0}))}));var Bde=(e=>(e.SAVE="save",e.SKIP="skip",e))(Bde||{}),zde=(e=>(e.PRESENT_SAME="present_same",e.PRESENT_DIFFERENT="present_different",e.NOT_EXIST="not_exist",e))(zde||{});function Ude(e){let t="error";switch(e){case"created":t="success";break;case"overwrote":t="info";break;case"skipped":t="warning"}return t}function Hde(e){let t="error";switch(e){case zde.NOT_EXIST:t="success";break;case zde.PRESENT_SAME:t="info";break;case zde.PRESENT_DIFFERENT:t="warning"}return t}const Vde={files:[],operations:[],parameters:[],results:[]},Gde=bD("setFiles"),Wde=bD("setOperations"),qde=bD("setParameters"),Kde=bD("setResults"),Yde=bD("reset"),Xde=CD(Vde,(e=>{e.addCase(Gde,((e,t)=>{e.files=t.payload})).addCase(Wde,((e,t)=>{e.operations=t.payload})).addCase(qde,((e,t)=>{e.parameters=t.payload})).addCase(Kde,((e,t)=>{e.results=t.payload})).addCase(Yde,((e,t)=>{e.results=Vde.results,e.parameters=Vde.parameters,e.operations=Vde.operations,e.files=Vde.files}))})),Zde=U.createContext(Vde),Qde=({children:e})=>{const[t,n]=H.useReducer(Xde,Vde),r={parameters:t.parameters,setParameters:e=>{n(qde(e))},files:t.files,setFiles:e=>{n(Gde(e))},operations:t.operations,setOperations:e=>{n(Wde(e))},results:t.results,setResults:e=>{n(Kde(e))},reset:()=>{n(Yde())}};return te.jsx(Zde.Provider,{value:r,children:e})};var Jde=e=>"checkbox"===e.type,epe=e=>e instanceof Date,tpe=e=>null==e;const npe=e=>"object"==typeof e;var rpe=e=>!tpe(e)&&!Array.isArray(e)&&npe(e)&&!epe(e),ope=e=>rpe(e)&&e.target?Jde(e.target)?e.target.checked:e.target.value:e,ape=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),ipe=e=>{const t=e.constructor&&e.constructor.prototype;return rpe(t)&&t.hasOwnProperty("isPrototypeOf")},spe="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function lpe(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(spe&&(e instanceof Blob||e instanceof FileList)||!n&&!rpe(e))return e;if(t=n?[]:{},n||ipe(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=lpe(e[n]));else t=e}return t}var upe=e=>Array.isArray(e)?e.filter(Boolean):[],cpe=e=>void 0===e,dpe=(e,t,n)=>{if(!t||!rpe(e))return n;const r=upe(t.split(/[,[\].]+?/)).reduce(((e,t)=>tpe(e)?e:e[t]),e);return cpe(r)||r===e?cpe(e[t])?n:e[t]:r},ppe=e=>"boolean"==typeof e;const fpe={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},mpe={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},hpe="max",gpe="min",bpe="maxLength",vpe="minLength",ype="pattern",wpe="required",Spe="validate",xpe=H.createContext(null),Epe=()=>H.useContext(xpe),Cpe=e=>{const{children:t,...n}=e;return H.createElement(xpe.Provider,{value:n},t)};var kpe=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(o,a,{get:()=>{const o=a;return t._proxyFormState[o]!==mpe.all&&(t._proxyFormState[o]=!r||mpe.all),n&&(n[o]=!0),e[o]}});return o},Rpe=e=>rpe(e)&&!Object.keys(e).length,Tpe=(e,t,n,r)=>{n(e);const{name:o,...a}=e;return Rpe(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find((e=>t[e]===(!r||mpe.all)))},Ipe=e=>Array.isArray(e)?e:[e],_pe=(e,t,n)=>!e||!t||e===t||Ipe(e).some((e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))));function Ape(e){const t=H.useRef(e);t.current=e,H.useEffect((()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}}),[e.disabled])}var Ope=e=>"string"==typeof e,Npe=(e,t,n,r,o)=>Ope(e)?(r&&t.watch.add(e),dpe(n,e,o)):Array.isArray(e)?e.map((e=>(r&&t.watch.add(e),dpe(n,e)))):(r&&(t.watchAll=!0),n);var Ppe=e=>/^\w*$/.test(e),Lpe=e=>upe(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Mpe=(e,t,n)=>{let r=-1;const o=Ppe(t)?[t]:Lpe(t),a=o.length,i=a-1;for(;++r{_pe(s.current,e.name,i)&&u(lpe(Npe(s.current,n._names,e.values||n._formValues,!1,o)))}});const[l,u]=H.useState(n._getWatch(r,o));return H.useEffect((()=>n._removeUnmounted())),l}({control:o,name:n,defaultValue:dpe(o._formValues,n,dpe(o._defaultValues,n,e.defaultValue)),exact:!0}),l=function(e){const t=Epe(),{control:n=t.control,disabled:r,name:o,exact:a}=e||{},[i,s]=H.useState(n._formState),l=H.useRef(!0),u=H.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=H.useRef(o);return c.current=o,Ape({disabled:r,next:e=>l.current&&_pe(c.current,e.name,a)&&Tpe(e,u.current,n._updateFormState)&&s({...n._formState,...e}),subject:n._subjects.state}),H.useEffect((()=>(l.current=!0,u.current.isValid&&n._updateValid(!0),()=>{l.current=!1})),[n]),kpe(i,n,u.current,!1)}({control:o,name:n}),u=H.useRef(o.register(n,{...e.rules,value:s,...ppe(e.disabled)?{disabled:e.disabled}:{}}));return H.useEffect((()=>{const e=o._options.shouldUnregister||a,t=(e,t)=>{const n=dpe(o._fields,e);n&&(n._f.mount=t)};if(t(n,!0),e){const e=lpe(dpe(o._options.defaultValues,n));Mpe(o._defaultValues,n,e),cpe(dpe(o._formValues,n))&&Mpe(o._formValues,n,e)}return()=>{(i?e&&!o._state.action:e)?o.unregister(n):t(n,!1)}}),[n,o,i,a]),H.useEffect((()=>{dpe(o._fields,n)&&o._updateDisabledField({disabled:r,fields:o._fields,name:n,value:dpe(o._fields,n)._f.value})}),[r,n,o]),{field:{name:n,value:s,...ppe(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:H.useCallback((e=>u.current.onChange({target:{value:ope(e),name:n},type:fpe.CHANGE})),[n]),onBlur:H.useCallback((()=>u.current.onBlur({target:{value:dpe(o._formValues,n),name:n},type:fpe.BLUR})),[n,o]),ref:e=>{const t=dpe(o._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!dpe(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!dpe(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!dpe(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!dpe(l.validatingFields,n)},error:{enumerable:!0,get:()=>dpe(l.errors,n)}})}}const jpe=e=>e.render(Dpe(e));var Fpe=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},$pe=e=>({isOnSubmit:!e||e===mpe.onSubmit,isOnBlur:e===mpe.onBlur,isOnChange:e===mpe.onChange,isOnAll:e===mpe.all,isOnTouch:e===mpe.onTouched}),Bpe=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const zpe=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const n=dpe(e,o);if(n){const{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!r)break;if(e.ref&&t(e.ref,e.name)&&!r)break;zpe(a,t)}else rpe(a)&&zpe(a,t)}}};var Upe=(e,t,n)=>{const r=upe(dpe(e,n));return Mpe(r,"root",t[n]),Mpe(e,n,r),e},Hpe=e=>"file"===e.type,Vpe=e=>"function"==typeof e,Gpe=e=>{if(!spe)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Wpe=e=>Ope(e),qpe=e=>"radio"===e.type,Kpe=e=>e instanceof RegExp;const Ype={value:!1,isValid:!1},Xpe={value:!0,isValid:!0};var Zpe=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!cpe(e[0].attributes.value)?cpe(e[0].value)||""===e[0].value?Xpe:{value:e[0].value,isValid:!0}:Xpe:Ype}return Ype};const Qpe={isValid:!1,value:null};var Jpe=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Qpe):Qpe;function efe(e,t,n="validate"){if(Wpe(e)||Array.isArray(e)&&e.every(Wpe)||ppe(e)&&!e)return{type:n,message:Wpe(e)?e:"",ref:t}}var tfe=e=>rpe(e)&&!Kpe(e)?e:{value:e,message:""},nfe=async(e,t,n,r,o)=>{const{ref:a,refs:i,required:s,maxLength:l,minLength:u,min:c,max:d,pattern:p,validate:f,name:m,valueAsNumber:h,mount:g,disabled:b}=e._f,v=dpe(t,m);if(!g||b)return{};const y=i?i[0]:a,w=e=>{r&&y.reportValidity&&(y.setCustomValidity(ppe(e)?"":e||""),y.reportValidity())},S={},x=qpe(a),E=Jde(a),C=x||E,k=(h||Hpe(a))&&cpe(a.value)&&cpe(v)||Gpe(a)&&""===a.value||""===v||Array.isArray(v)&&!v.length,R=Fpe.bind(null,m,n,S),T=(e,t,n,r=bpe,o=vpe)=>{const i=e?t:n;S[m]={type:e?r:o,message:i,ref:a,...R(e?r:o,i)}};if(o?!Array.isArray(v)||!v.length:s&&(!C&&(k||tpe(v))||ppe(v)&&!v||E&&!Zpe(i).isValid||x&&!Jpe(i).isValid)){const{value:e,message:t}=Wpe(s)?{value:!!s,message:s}:tfe(s);if(e&&(S[m]={type:wpe,message:t,ref:y,...R(wpe,t)},!n))return w(t),S}if(!(k||tpe(c)&&tpe(d))){let e,t;const r=tfe(d),o=tfe(c);if(tpe(v)||isNaN(v)){const n=a.valueAsDate||new Date(v),i=e=>new Date((new Date).toDateString()+" "+e),s="time"==a.type,l="week"==a.type;Ope(r.value)&&v&&(e=s?i(v)>i(r.value):l?v>r.value:n>new Date(r.value)),Ope(o.value)&&v&&(t=s?i(v)r.value),tpe(o.value)||(t=n+e.value,o=!tpe(t.value)&&v.length<+t.value;if((r||o)&&(T(r,e.message,t.message),!n))return w(S[m].message),S}if(p&&!k&&Ope(v)){const{value:e,message:t}=tfe(p);if(Kpe(e)&&!v.match(e)&&(S[m]={type:ype,message:t,ref:a,...R(ype,t)},!n))return w(t),S}if(f)if(Vpe(f)){const e=efe(await f(v,t),y);if(e&&(S[m]={...e,...R(Spe,e.message)},!n))return w(e.message),S}else if(rpe(f)){let e={};for(const r in f){if(!Rpe(e)&&!n)break;const o=efe(await f[r](v,t),y,r);o&&(e={...o,...R(r,o.message)},w(o.message),n&&(S[m]=e))}if(!Rpe(e)&&(S[m]={ref:y,...e},!n))return S}return w(!0),S};function rfe(e,t){const n=Array.isArray(t)?t:Ppe(t)?[t]:Lpe(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},afe=e=>tpe(e)||!npe(e);function ife(e,t){if(afe(e)||afe(t))return e===t;if(epe(e)&&epe(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){const n=e[o];if(!r.includes(o))return!1;if("ref"!==o){const e=t[o];if(epe(n)&&epe(e)||rpe(n)&&rpe(e)||Array.isArray(n)&&Array.isArray(e)?!ife(n,e):n!==e)return!1}}return!0}var sfe=e=>"select-multiple"===e.type,lfe=e=>qpe(e)||Jde(e),ufe=e=>Gpe(e)&&e.isConnected,cfe=e=>{for(const t in e)if(Vpe(e[t]))return!0;return!1};function dfe(e,t={}){const n=Array.isArray(e);if(rpe(e)||n)for(const r in e)Array.isArray(e[r])||rpe(e[r])&&!cfe(e[r])?(t[r]=Array.isArray(e[r])?[]:{},dfe(e[r],t[r])):tpe(e[r])||(t[r]=!0);return t}function pfe(e,t,n){const r=Array.isArray(e);if(rpe(e)||r)for(const o in e)Array.isArray(e[o])||rpe(e[o])&&!cfe(e[o])?cpe(t)||afe(n[o])?n[o]=Array.isArray(e[o])?dfe(e[o],[]):{...dfe(e[o])}:pfe(e[o],tpe(t)?{}:t[o],n[o]):n[o]=!ife(e[o],t[o]);return n}var ffe=(e,t)=>pfe(e,t,dfe(t)),mfe=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>cpe(e)?e:t?""===e?NaN:e?+e:e:n&&Ope(e)?new Date(e):r?r(e):e;function hfe(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return Hpe(t)?t.files:qpe(t)?Jpe(e.refs).value:sfe(t)?[...t.selectedOptions].map((({value:e})=>e)):Jde(t)?Zpe(e.refs).value:mfe(cpe(t.value)?e.ref.value:t.value,e)}var gfe=(e,t,n,r)=>{const o={};for(const a of e){const e=dpe(t,a);e&&Mpe(o,a,e._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},bfe=e=>cpe(e)?e:Kpe(e)?e.source:rpe(e)?Kpe(e.value)?e.value.source:e.value:e,vfe=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function yfe(e,t,n){const r=dpe(e,n);if(r||Ppe(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const r=o.join("."),a=dpe(t,r),i=dpe(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(i&&i.type)return{name:r,error:i};o.pop()}return{name:n}}var wfe=(e,t,n,r,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:!(n?r.isOnChange:o.isOnChange)||e),Sfe=(e,t)=>!upe(dpe(e,t)).length&&rfe(e,t);const xfe={mode:mpe.onSubmit,reValidateMode:mpe.onChange,shouldFocusError:!0};function Efe(e={}){let t,n={...xfe,...e},r={submitCount:0,isDirty:!1,isLoading:Vpe(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},o={},a=(rpe(n.defaultValues)||rpe(n.values))&&lpe(n.defaultValues||n.values)||{},i=n.shouldUnregister?{}:lpe(a),s={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:ofe(),array:ofe(),state:ofe()},p=$pe(n.mode),f=$pe(n.reValidateMode),m=n.criteriaMode===mpe.all,h=async e=>{if(c.isValid||e){const e=n.resolver?Rpe((await w()).errors):await S(o,!0);e!==r.isValid&&d.state.next({isValid:e})}},g=(e,t)=>{(c.isValidating||c.validatingFields)&&((e||Array.from(l.mount)).forEach((e=>{e&&(t?Mpe(r.validatingFields,e,t):rfe(r.validatingFields,e))})),d.state.next({validatingFields:r.validatingFields,isValidating:!Rpe(r.validatingFields)}))},b=(e,t,n,r)=>{const l=dpe(o,e);if(l){const o=dpe(i,e,cpe(n)?dpe(a,e):n);cpe(o)||r&&r.defaultChecked||t?Mpe(i,e,t?o:hfe(l._f)):C(e,o),s.mount&&h()}},v=(e,t,n,i,s)=>{let l=!1,u=!1;const p={name:e},f=!(!dpe(o,e)||!dpe(o,e)._f.disabled);if(!n||i){c.isDirty&&(u=r.isDirty,r.isDirty=p.isDirty=x(),l=u!==p.isDirty);const n=f||ife(dpe(a,e),t);u=!(f||!dpe(r.dirtyFields,e)),n||f?rfe(r.dirtyFields,e):Mpe(r.dirtyFields,e,!0),p.dirtyFields=r.dirtyFields,l=l||c.dirtyFields&&u!==!n}if(n){const t=dpe(r.touchedFields,e);t||(Mpe(r.touchedFields,e,n),p.touchedFields=r.touchedFields,l=l||c.touchedFields&&t!==n)}return l&&s&&d.state.next(p),l?p:{}},y=(n,o,a,i)=>{const s=dpe(r.errors,n),l=c.isValid&&ppe(o)&&r.isValid!==o;var p;if(e.delayError&&a?(p=()=>((e,t)=>{Mpe(r.errors,e,t),d.state.next({errors:r.errors})})(n,a),t=e=>{clearTimeout(u),u=setTimeout(p,e)},t(e.delayError)):(clearTimeout(u),t=null,a?Mpe(r.errors,n,a):rfe(r.errors,n)),(a?!ife(s,a):s)||!Rpe(i)||l){const e={...i,...l&&ppe(o)?{isValid:o}:{},errors:r.errors,name:n};r={...r,...e},d.state.next(e)}},w=async e=>{g(e,!0);const t=await n.resolver(i,n.context,gfe(e||l.mount,o,n.criteriaMode,n.shouldUseNativeValidation));return g(e),t},S=async(e,t,o={valid:!0})=>{for(const a in e){const s=e[a];if(s){const{_f:e,...u}=s;if(e){const u=l.array.has(e.name);g([a],!0);const c=await nfe(s,i,m,n.shouldUseNativeValidation&&!t,u);if(g([a]),c[e.name]&&(o.valid=!1,t))break;!t&&(dpe(c,e.name)?u?Upe(r.errors,c,e.name):Mpe(r.errors,e.name,c[e.name]):rfe(r.errors,e.name))}u&&await S(u,t,o)}}return o.valid},x=(e,t)=>(e&&t&&Mpe(i,e,t),!ife(A(),a)),E=(e,t,n)=>Npe(e,l,{...s.mount?i:cpe(t)?a:Ope(e)?{[e]:t}:t},n,t),C=(e,t,n={})=>{const r=dpe(o,e);let a=t;if(r){const n=r._f;n&&(!n.disabled&&Mpe(i,e,mfe(t,n)),a=Gpe(n.ref)&&tpe(t)?"":t,sfe(n.ref)?[...n.ref.options].forEach((e=>e.selected=a.includes(e.value))):n.refs?Jde(n.ref)?n.refs.length>1?n.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value))):n.refs[0]&&(n.refs[0].checked=!!a):n.refs.forEach((e=>e.checked=e.value===a)):Hpe(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||d.values.next({name:e,values:{...i}})))}(n.shouldDirty||n.shouldTouch)&&v(e,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&_(e)},k=(e,t,n)=>{for(const r in t){const a=t[r],i=`${e}.${r}`,s=dpe(o,i);!l.array.has(e)&&afe(a)&&(!s||s._f)||epe(a)?C(i,a,n):k(i,a,n)}},R=(e,t,n={})=>{const u=dpe(o,e),p=l.array.has(e),f=lpe(t);Mpe(i,e,f),p?(d.array.next({name:e,values:{...i}}),(c.isDirty||c.dirtyFields)&&n.shouldDirty&&d.state.next({name:e,dirtyFields:ffe(a,i),isDirty:x(e,f)})):!u||u._f||tpe(f)?C(e,f,n):k(e,f,n),Bpe(e,l)&&d.state.next({...r}),d.values.next({name:s.mount?e:void 0,values:{...i}})},T=async e=>{const a=e.target;let s=a.name,u=!0;const b=dpe(o,s),x=e=>{u=Number.isNaN(e)||e===dpe(i,s,e)};if(b){let E,C;const k=a.type?hfe(b._f):ope(e),R=e.type===fpe.BLUR||e.type===fpe.FOCUS_OUT,T=!vfe(b._f)&&!n.resolver&&!dpe(r.errors,s)&&!b._f.deps||wfe(R,dpe(r.touchedFields,s),r.isSubmitted,f,p),I=Bpe(s,l,R);Mpe(i,s,k),R?(b._f.onBlur&&b._f.onBlur(e),t&&t(0)):b._f.onChange&&b._f.onChange(e);const A=v(s,k,R,!1),O=!Rpe(A)||I;if(!R&&d.values.next({name:s,type:e.type,values:{...i}}),T)return c.isValid&&h(),O&&d.state.next({name:s,...I?{}:A});if(!R&&I&&d.state.next({...r}),n.resolver){const{errors:e}=await w([s]);if(x(k),u){const t=yfe(r.errors,o,s),n=yfe(e,o,t.name||s);E=n.error,s=n.name,C=Rpe(e)}}else g([s],!0),E=(await nfe(b,i,m,n.shouldUseNativeValidation))[s],g([s]),x(k),u&&(E?C=!1:c.isValid&&(C=await S(o,!0)));u&&(b._f.deps&&_(b._f.deps),y(s,C,E,A))}},I=(e,t)=>{if(dpe(r.errors,t)&&e.focus)return e.focus(),1},_=async(e,t={})=>{let a,i;const s=Ipe(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await w(e);if(e)for(const n of e){const e=dpe(t,n);e?Mpe(r.errors,n,e):rfe(r.errors,n)}else r.errors=t;return t})(cpe(e)?e:s);a=Rpe(t),i=e?!s.some((e=>dpe(t,e))):a}else e?(i=(await Promise.all(s.map((async e=>{const t=dpe(o,e);return await S(t&&t._f?{[e]:t}:t)})))).every(Boolean),(i||r.isValid)&&h()):i=a=await S(o);return d.state.next({...!Ope(e)||c.isValid&&a!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:a}:{},errors:r.errors}),t.shouldFocus&&!i&&zpe(o,I,e?s:l.mount),i},A=e=>{const t={...a,...s.mount?i:{}};return cpe(e)?t:Ope(e)?dpe(t,e):e.map((e=>dpe(t,e)))},O=(e,t)=>({invalid:!!dpe((t||r).errors,e),isDirty:!!dpe((t||r).dirtyFields,e),isTouched:!!dpe((t||r).touchedFields,e),isValidating:!!dpe((t||r).validatingFields,e),error:dpe((t||r).errors,e)}),N=(e,t,n)=>{const a=(dpe(o,e,{_f:{}})._f||{}).ref;Mpe(r.errors,e,{...t,ref:a}),d.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&a&&a.focus&&a.focus()},P=(e,t={})=>{for(const s of e?Ipe(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(rfe(o,s),rfe(i,s)),!t.keepError&&rfe(r.errors,s),!t.keepDirty&&rfe(r.dirtyFields,s),!t.keepTouched&&rfe(r.touchedFields,s),!t.keepIsValidating&&rfe(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&rfe(a,s);d.values.next({values:{...i}}),d.state.next({...r,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&h()},L=({disabled:e,name:t,field:n,fields:r,value:o})=>{if(ppe(e)){const a=e?void 0:cpe(o)?hfe(n?n._f:dpe(r,t)._f):o;Mpe(i,t,a),v(t,a,!1,!1,!0)}},M=(e,t={})=>{let r=dpe(o,e);const i=ppe(t.disabled);return Mpe(o,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),r?L({field:r,disabled:t.disabled,name:e,value:t.value}):b(e,!0,t.value),{...i?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:bfe(t.min),max:bfe(t.max),minLength:bfe(t.minLength),maxLength:bfe(t.maxLength),pattern:bfe(t.pattern)}:{},name:e,onChange:T,onBlur:T,ref:i=>{if(i){M(e,t),r=dpe(o,e);const n=cpe(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=lfe(n),l=r._f.refs||[];if(s?l.find((e=>e===n)):n===r._f.ref)return;Mpe(o,e,{_f:{...r._f,...s?{refs:[...l.filter(ufe),n,...Array.isArray(dpe(a,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),b(e,!1,void 0,n)}else r=dpe(o,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!ape(l.array,e)||!s.action)&&l.unMount.add(e)}}},D=()=>n.shouldFocusError&&zpe(o,I,l.mount),j=(e,t)=>async a=>{let s;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let l=lpe(i);if(d.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await w();r.errors=e,l=t}else await S(o);if(rfe(r.errors,"root"),Rpe(r.errors)){d.state.next({errors:{}});try{await e(l,a)}catch(u){s=u}}else t&&await t({...r.errors},a),D(),setTimeout(D);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Rpe(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},F=(t,n={})=>{const u=t?lpe(t):a,p=lpe(u),f=Rpe(t),m=f?a:p;if(n.keepDefaultValues||(a=u),!n.keepValues){if(n.keepDirtyValues)for(const e of l.mount)dpe(r.dirtyFields,e)?Mpe(m,e,dpe(i,e)):R(e,dpe(m,e));else{if(spe&&cpe(t))for(const e of l.mount){const t=dpe(o,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Gpe(e)){const t=e.closest("form");if(t){t.reset();break}}}}o={}}i=e.shouldUnregister?n.keepDefaultValues?lpe(a):{}:lpe(m),d.array.next({values:{...m}}),d.values.next({values:{...m}})}l={mount:n.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!c.isValid||!!n.keepIsValid||!!n.keepDirtyValues,s.watch=!!e.shouldUnregister,d.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:!f&&(n.keepDirty?r.isDirty:!(!n.keepDefaultValues||ife(t,a))),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:f?[]:n.keepDirtyValues?n.keepDefaultValues&&i?ffe(a,i):r.dirtyFields:n.keepDefaultValues&&t?ffe(a,t):{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},$=(e,t)=>F(Vpe(e)?e(i):e,t);return{control:{register:M,unregister:P,getFieldState:O,handleSubmit:j,setError:N,_executeSchema:w,_getWatch:E,_getDirty:x,_updateValid:h,_removeUnmounted:()=>{for(const e of l.unMount){const t=dpe(o,e);t&&(t._f.refs?t._f.refs.every((e=>!ufe(e))):!ufe(t._f.ref))&&P(e)}l.unMount=new Set},_updateFieldArray:(e,t=[],n,l,u=!0,p=!0)=>{if(l&&n){if(s.action=!0,p&&Array.isArray(dpe(o,e))){const t=n(dpe(o,e),l.argA,l.argB);u&&Mpe(o,e,t)}if(p&&Array.isArray(dpe(r.errors,e))){const t=n(dpe(r.errors,e),l.argA,l.argB);u&&Mpe(r.errors,e,t),Sfe(r.errors,e)}if(c.touchedFields&&p&&Array.isArray(dpe(r.touchedFields,e))){const t=n(dpe(r.touchedFields,e),l.argA,l.argB);u&&Mpe(r.touchedFields,e,t)}c.dirtyFields&&(r.dirtyFields=ffe(a,i)),d.state.next({name:e,isDirty:x(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Mpe(i,e,t)},_updateDisabledField:L,_getFieldArray:t=>upe(dpe(s.mount?i:a,t,e.shouldUnregister?dpe(a,t,[]):[])),_reset:F,_resetDefaultValues:()=>Vpe(n.defaultValues)&&n.defaultValues().then((e=>{$(e,n.resetOptions),d.state.next({isLoading:!1})})),_updateFormState:e=>{r={...r,...e}},_disableForm:e=>{ppe(e)&&(d.state.next({disabled:e}),zpe(o,((t,n)=>{let r=e;const a=dpe(o,n);a&&ppe(a._f.disabled)&&(r||(r=a._f.disabled)),t.disabled=r}),0,!1))},_subjects:d,_proxyFormState:c,_setErrors:e=>{r.errors=e,d.state.next({errors:r.errors,isValid:!1})},get _fields(){return o},get _formValues(){return i},get _state(){return s},set _state(e){s=e},get _defaultValues(){return a},get _names(){return l},set _names(e){l=e},get _formState(){return r},set _formState(e){r=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:_,register:M,handleSubmit:j,watch:(e,t)=>Vpe(e)?d.values.subscribe({next:n=>e(E(void 0,t),n)}):E(e,t,!0),setValue:R,getValues:A,reset:$,resetField:(e,t={})=>{dpe(o,e)&&(cpe(t.defaultValue)?R(e,lpe(dpe(a,e))):(R(e,t.defaultValue),Mpe(a,e,lpe(t.defaultValue))),t.keepTouched||rfe(r.touchedFields,e),t.keepDirty||(rfe(r.dirtyFields,e),r.isDirty=t.defaultValue?x(e,lpe(dpe(a,e))):x()),t.keepError||(rfe(r.errors,e),c.isValid&&h()),d.state.next({...r}))},clearErrors:e=>{e&&Ipe(e).forEach((e=>rfe(r.errors,e))),d.state.next({errors:e?r.errors:{}})},unregister:P,setError:N,setFocus:(e,t={})=>{const n=dpe(o,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:O}}function Cfe(e={}){const t=H.useRef(),n=H.useRef(),[r,o]=H.useState({isDirty:!1,isValidating:!1,isLoading:Vpe(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Vpe(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...Efe(e),formState:r});const a=t.current.control;return a._options=e,Ape({subject:a._subjects.state,next:e=>{Tpe(e,a._proxyFormState,a._updateFormState,!0)&&o({...a._formState})}}),H.useEffect((()=>a._disableForm(e.disabled)),[a,e.disabled]),H.useEffect((()=>{if(a._proxyFormState.isDirty){const e=a._getDirty();e!==r.isDirty&&a._subjects.state.next({isDirty:e})}}),[a,r.isDirty]),H.useEffect((()=>{e.values&&!ife(e.values,n.current)?(a._reset(e.values,a._options.resetOptions),n.current=e.values,o((e=>({...e})))):a._resetDefaultValues()}),[e.values,a]),H.useEffect((()=>{e.errors&&a._setErrors(e.errors)}),[e.errors,a]),H.useEffect((()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()})),H.useEffect((()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})}),[e.shouldUnregister,a]),t.current.formState=kpe(r,a),t.current}function kfe(e){let t="Unknown state";switch(e){case zde.PRESENT_SAME:t="Present same";break;case zde.PRESENT_DIFFERENT:t="Present different";break;case zde.NOT_EXIST:t="Does not exist"}return t}function Rfe({file:e,generator:t}){const n=U.useContext(Zde),r=Epe(),[o,a]=U.useState(r.getValues(e.id)),[i,s]=U.useState(!1),[l,u]=U.useState(!1),[c]=vV(),[d,p]=U.useState("");return te.jsxs(te.Fragment,{children:[te.jsxs(A_,{children:[te.jsx(V_,{primary:e.relativePath,secondary:te.jsx(uS,{component:"span",color:Hde(e.state)+".main",children:kfe(e.state)})}),te.jsxs(k_,{children:[te.jsx(ik,{mr:2,display:"inline-block",children:e.state===zde.NOT_EXIST?te.jsx(Ak,{size:"large",variant:"contained",onClick:()=>{s(!0)},children:"Preview"}):e.state===zde.PRESENT_DIFFERENT?te.jsx(Ak,{size:"large",variant:"contained",onClick:async()=>{const r=await c({generator:t.id,parameters:n.parameters,fileId:e.id});console.log("response",r),p(r.data.diff),u(!0)},children:"Diff"}):null}),te.jsx(LL,{value:o,disabled:e.operation===Bde.SKIP,exclusive:!0,onChange:(t,n)=>{a(n),r.setValue(e.id,n)},children:Object.entries(n.operations).map((([e,t])=>te.jsx(IL,{value:e,children:t},e)))})]})]}),te.jsx(Fde,{file:e,open:i,onClose:()=>{s(!1)}}),te.jsx(jde,{file:e,content:d,open:l,onClose:()=>{u(!1)}})]})}var Tfe=function(e,t,n){if(e&&"reportValidity"in e){var r=dpe(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},Ife=function(e,t){var n=function(n){var r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?Tfe(r.ref,n,e):r.refs&&r.refs.forEach((function(t){return Tfe(t,n,e)}))};for(var r in t.fields)n(r)},_fe=function(e,t){t.shouldUseNativeValidation&&Ife(e,t);var n={};for(var r in e){var o=dpe(t.fields,r),a=Object.assign(e[r]||{},{ref:o&&o.ref});if(Afe(t.names||Object.keys(e),r)){var i=Object.assign({},dpe(n,r));Mpe(i,"root",a),Mpe(n,r,i)}else Mpe(n,r,a)}return n},Afe=function(e,t){return e.some((function(e){return e.startsWith(t+".")}))};function Ofe(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),function(r,o,a){try{return Promise.resolve(function(i,s){try{var l=(t.context,Promise.resolve(e["sync"===n.mode?"validateSync":"validate"](r,Object.assign({abortEarly:!1},t,{context:o}))).then((function(e){return a.shouldUseNativeValidation&&Ife({},a),{values:n.raw?r:e,errors:{}}})))}catch(u){return s(u)}return l&&l.then?l.then(void 0,s):l}(0,(function(e){if(!e.inner)throw e;return{values:{},errors:_fe((t=e,n=!a.shouldUseNativeValidation&&"all"===a.criteriaMode,(t.inner||[]).reduce((function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var r=e[t.path].types,o=r&&r[t.type];e[t.path]=Fpe(t.path,n,e,t.type,o?[].concat(o,t.message):t.message)}return e}),{})),a)};var t,n})))}catch(i){return Promise.reject(i)}}}function Nfe(e){const t=[];for(const n of e)switch(n[0]){case"required":t.push(Ede().required(n.message));break;case"each":t.push(Mde(Nfe(n.rules)));break;case"regex":const e=n.pattern,r=e.lastIndexOf("/"),o=e.slice(r+1),a=e.slice(0,r-e.length).slice(1);t.push(Ede().matches(new RegExp(a,o),{message:n.message.message}))}return pde().sequence(t)}function Pfe(e){const t={};return Object.entries(e).map((([e,n],r)=>{t[e]=Nfe(n.rules)})),Pde(t)}function Lfe({attributeName:e,attribute:t}){const n=Epe(),r=function(e){let t="text";for(const n of e){if("each"===n){t="select";break}if("number"===n){t="number";break}}return t}(t.rules.map((e=>e[0])));return"text"===r?te.jsx(jpe,{name:e,defaultValue:String(t.defaultValue??""),control:n.control,render:({field:n,fieldState:{error:r}})=>te.jsxs(te.Fragment,{children:[te.jsx(vL,{...n,placeholder:String(t.defaultValue??""),label:t.label||e,error:!!r,helperText:r?r.message:null}),!!t.hint&&te.jsx(YT,{children:t.hint})]})}):"select"===r?te.jsx(jpe,{control:n.control,defaultValue:Array.isArray(t.defaultValue)?t.defaultValue:[],name:e,render:({field:{value:n,onChange:r,onBlur:o,ref:a},fieldState:{error:i}})=>te.jsxs(te.Fragment,{children:[te.jsx(PC,{value:n,onChange:(e,t)=>r(t),multiple:!0,filterSelectedOptions:!0,filterOptions:e=>e,freeSolo:!0,options:[],renderInput:n=>te.jsx(vL,{...n,ref:a,onBlur:()=>{o()},name:e,helperText:i?i.message:null,error:!!i,label:t.label})}),te.jsx(YT,{children:t.hint})]})}):null}const Mfe=[{component:function({generator:e,onComplete:t}){const n=e.attributes,r=Pfe(n),o=U.useContext(Zde),a=Cfe({mode:"onBlur",resolver:Ofe(r)});U.useEffect((()=>{a.reset()}),[e]);const[i]=gV();return te.jsx(Cpe,{...a,children:te.jsxs(ik,{component:"form",onReset:a.reset,onSubmit:a.handleSubmit((async function(n){console.log("preview",n);const r=await i({generator:e.id,parameters:n});console.log(r),"error"in r?$de(r,a):(o.setFiles(r.data.files),o.setParameters(n),o.setOperations(r.data.operations),t())})),my:2,children:[Object.entries(n).map((([e,t],n)=>te.jsx(ik,{mb:1,children:te.jsx(Lfe,{attributeName:e,attribute:t})},e))),te.jsx(ik,{my:2,children:te.jsxs(Dk,{children:[te.jsx(Ak,{type:"submit",name:"preview",variant:"contained",children:"Preview"}),te.jsx(Ak,{type:"reset",color:"warning",children:"Reset"})]})})]})})},label:"Preview"},{component:function({generator:e,onComplete:t}){const n=U.useContext(Zde),r=Cfe({defaultValues:U.useMemo((()=>Object.fromEntries(n.files.map((e=>[e.id,String(e.operation)])))),[n.files])}),[o]=bV();return te.jsx(Cpe,{...r,children:te.jsxs(ik,{component:"form",onReset:r.reset,onSubmit:r.handleSubmit((async function(a){console.log("generate",a,n.parameters);const i=await o({generator:e.id,parameters:n.parameters,answers:a});if("error"in i)return console.log(i),void $de(i,r);n.setResults(i.data),t()})),my:2,children:[te.jsx(f_,{subheader:te.jsx(ME,{children:"Operations"}),children:n.files.map(((t,n)=>te.jsx(Rfe,{file:t,generator:e},n)))}),te.jsx(ik,{my:2,children:te.jsxs(Dk,{children:[te.jsx(Ak,{type:"submit",name:"generate",variant:"contained",children:"Generate"}),te.jsx(Ak,{type:"reset",color:"warning",children:"Reset"})]})})]})})},label:"Generate"},{component:function({generator:e,onComplete:t}){const n=U.useContext(Zde),r=n.files;return te.jsxs(ik,{children:[n.results.map(((e,t)=>{const n=r.find((t=>t.id===e.id));return n?te.jsxs(nS,{severity:Ude(e.status),children:["error"===e.status&&te.jsx(mS,{children:e.error}),n.relativePath]},t):te.jsxs(nS,{severity:"error",children:["Unknown file with ID: ",e.id]},t)})),te.jsx(ik,{my:2,children:te.jsx(Dk,{children:te.jsx(Ak,{onClick:()=>{t()},variant:"contained",children:"Start new"})})})]})},label:"Result"}],Dfe=({generator:e})=>{const[t,n]=U.useState(0),r=U.useContext(Zde),o=()=>{n(0)};return U.useEffect((()=>{o(),r.reset()}),[e]),te.jsx(QN,{activeStep:t,orientation:"vertical",children:Object.values(Mfe).map(((t,r)=>te.jsxs(vN,{children:[te.jsx(DN,{children:t.label}),te.jsx(WN,{children:te.jsx(t.component,{generator:e,onComplete:()=>r===Mfe.length-1?o():(async()=>{n((e=>e+1))})()})})]},r)))})},jfe=()=>{const[e,t]=U.useState(null),[n]=b$(),{data:r,isLoading:o}=mV();U.useEffect((()=>{const e=n.get("generator")||"",o=(r||[]).find((t=>t.id===e))||null;t(o)}),[n,o]);const a=U.useMemo((()=>(r||[]).map(((e,t)=>({name:e.id,text:e.name,href:"/gii?generator="+e.id,icon:t%2==0?te.jsx(oie,{}):te.jsx(mie,{})})))),[r]);return o?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/gii",children:"Gii"}),!!e&&te.jsx(uS,{component:"span",color:"text.primary",children:e.name})]}),0===a.length?te.jsx(xie,{title:"Gii generators are empty",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Gii is not configured or it does not have any generators."}),te.jsxs(uS,{children:["Make sure Gii is active and its configuration has at least one active generator. ",te.jsx(l_,{href:"/inspector/config/parameters?filter=yiisoft/yii-gii",children:"Open parameters."})]})]}),severity:"info",icon:te.jsx(Kz,{})}):te.jsx(Iie,{links:a,open:!e,activeLink:e?.id,children:e?te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname],children:te.jsx(Qde,{children:te.jsx(Dfe,{generator:e})})}):te.jsx(xie,{title:"No one generator is chosen",text:"Select a generator from the left side panel to see more options",severity:"info",icon:te.jsx(Kz,{})})})]})};jfe.whyDidYouRender=!0;const Ffe={routes:[{path:"/gii",element:te.jsx(jfe,{})}],reducers:lG,middlewares:uG,standaloneModule:!1},$fe=bD("setItems"),Bfe={items:[],setItems:$fe},zfe=CD(Bfe,(e=>{e.addCase($fe,((e,{payload:t})=>{e.items=t}))})),Ufe=U.createContext(Bfe),Hfe=({children:e})=>{const[t,n]=H.useReducer(zfe,Bfe),r=U.useMemo((()=>({items:t.items,setItems:e=>{n($fe(e))}})),[t.items]);return te.jsx(Ufe.Provider,{value:r,children:e})},Vfe=()=>{const e=U.useContext(Ufe),t=e.items.slice(0,-1),n=e.items.at(-1);return te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/inspector/git",children:"Git"}),t.length>0&&t.map(((e,t)=>te.jsx(l_,{underline:"hover",color:"inherit",href:e.href,children:e.title},t))),n&&te.jsx(uS,{color:"text.primary",children:n.title})]}),te.jsx(KF,{})]})},Gfe=[{field:"file_name",headerName:"File",width:200,renderCell:e=>{let t=e.value+":"+e.row.line_from;return e.row.line_from!==e.row.line_to&&(t+="-"+e.row.line_to),te.jsxs("span",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(t),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a file",children:te.jsx(Uw,{size:"small",href:"/inspector/files?path="+Qle(t),children:te.jsx(Vz,{fontSize:"small"})})}),t]})}},{field:"message",headerName:"Message",flex:1,renderCell:e=>te.jsxs(te.Fragment,{children:[te.jsx("b",{children:te.jsx(l_,{href:e.row.link,children:e.row.type})}),e.row.message]})}];function Wfe(e){return te.jsx(p0,{rows:e,columns:Gfe})}const qfe=()=>{const[e,t]=_V(),[n,r]=U.useState([]),[o,a]=U.useState([]),[i,s]=U.useState(null);const[l,u]=U.useState([]),c=e=>t=>{u((t=>t.includes(e)?t.filter((t=>t!==e)):t.concat(e)))};return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Psalm"}),te.jsxs(ik,{display:"flex",alignItems:"center",children:[te.jsx(Ak,{onClick:async function(){const t=await e("analyse/psalm");if(!("data"in t)||"object"!=typeof t.data)return void console.error(t);const n=[],o=[];let i={id:0,file_name:"",file_path:"",line_from:"",line_to:"",type:"",message:"",link:""},l=0;for(const e of t.data.result)l++,i={id:l,file_name:e.file_name,file_path:e.file_path,line_from:e.line_from,line_to:e.line_to,type:e.type,message:e.message,link:e.link},"info"!==e.severity?"error"===e.severity&&o.push(i):n.push(i);s({isSuccessful:"ok"===t.data.status,errors:t.data.errors}),a(n),r(o)},color:null===i?"primary":i.isSuccessful?"success":"error",disabled:t.isLoading,endIcon:t.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Run Psalm"}),!t.isLoading&&i&&te.jsxs(te.Fragment,{children:[!0===i.isSuccessful&&te.jsx(Lz,{color:"success"}),!1===i.isSuccessful&&te.jsx(Hz,{color:"error"})]})]}),t.isSuccess&&te.jsxs(te.Fragment,{children:[te.jsxs(tw,{expanded:l.includes("panel1"),onChange:c("panel1"),children:[te.jsx(Lw,{expandIcon:te.jsx(Gse,{}),children:te.jsxs(uS,{sx:{width:"33%",flexShrink:0},children:["Info (",o.length,")"]})}),te.jsx(iw,{children:Wfe(o)})]},"panel1"),te.jsxs(tw,{expanded:l.includes("panel2"),onChange:c("panel2"),children:[te.jsx(Lw,{expandIcon:te.jsx(Gse,{}),children:te.jsxs(uS,{sx:{width:"33%",flexShrink:0},children:["Errors (",n.length,")"]})}),te.jsx(iw,{children:Wfe(n)})]},"panel2")]})]})},Kfe=U.memo((e=>{const{onChange:t,value:n=""}=e,r=U.useRef(),o=U.useRef(void 0);return te.jsxs(MT,{sx:{mb:1},variant:"standard",children:[te.jsx(MI,{htmlFor:"filter",children:"Filter"}),te.jsx(CI,{id:"filter",autoFocus:!0,inputRef:r,defaultValue:n,onChange:e=>{clearTimeout(o.current),o.current=setTimeout((()=>{t(e.target.value)}),300)},endAdornment:te.jsx(OI,{position:"end",children:te.jsx(Uw,{onClick:async()=>{t(""),r.current&&(r.current.value="")},edge:"end",children:te.jsx(Dz,{})})})})]})}),((e,t)=>e.onChange===t.onChange)),Yfe=()=>{const[e,t]=b$(),n=e.get("filter")||"",[r,o]=zV(),[a,i]=$V(),s=FV(n,{skip:""===n}),l=U.useCallback((async e=>{t({filter:e})}),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Cache"}),te.jsxs(jT,{direction:"row",justifyContent:"space-between",children:[te.jsx(Kfe,{value:n,onChange:l}),te.jsx(Ak,{color:"error",onClick:async()=>{await r(),await s.refetch()},disabled:o.isLoading,endIcon:o.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Purge cache"})]}),s.isFetching&&te.jsx(e_,{}),""!==n&&!s.isFetching&&void 0!==s.data&&te.jsxs(jT,{direction:"column",children:[te.jsxs(jT,{direction:"row",children:[te.jsx(Ak,{color:"primary",onClick:async()=>{s.refetch()},disabled:i.isLoading,endIcon:i.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"}),te.jsx(Ak,{color:"error",onClick:async()=>{await a(n),await s.refetch()},disabled:i.isLoading,endIcon:i.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Delete"})]}),te.jsx(Hae,{value:s.data})]})]})},Xfe=({open:e,status:t,content:n,onRerun:r,onClose:o,...a})=>te.jsxs(DR,{fullWidth:!0,open:e,onClose:o,...a,children:[te.jsxs(JR,{children:['Result "',t,'"']}),te.jsx(WR,{children:te.jsx(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",m:"auto"},children:te.jsx(Bae,{showLineNumbers:!1,language:"text/plain",code:"string"==typeof n?n:JSON.stringify(n,null,2)})})}),te.jsxs(BR,{children:[te.jsx(Ak,{variant:"outlined",color:"primary",onClick:r,startIcon:te.jsx(oU,{}),children:"Rerun"}),te.jsx(Ak,{variant:"contained",color:"secondary",onClick:o,children:"Close"})]})]}),Zfe=()=>{const[e,t]=U.useState({}),[n,r]=U.useState({}),[o,a]=U.useState(!1),[i]=IV(),[s,l]=_V();U.useEffect((()=>{(async()=>{const e=await i();if(e.data){const n={},o={};e.data.forEach((e=>{e.group in n?n[e.group].push(e):n[e.group]=[e],o[e.name]={isLoading:!1,response:null}})),r(o),t(n)}})()}),[]);const u=Object.entries(e);return 0===u.length?te.jsx(xie,{title:"No commands found",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:'Add a command to the "yiisoft/yii-debug-api" section into "params.php" on the backend to be able to run the command from the Yii Dev Panel.'}),te.jsxs(uS,{children:["You may inspect the section with"," ",te.jsx(l_,{href:"/inspector/config/parameters?filter=yiisoft/yii-debug-api",children:"Inspector"}),"."]}),te.jsxs(uS,{children:["See more information on the link"," ",te.jsx(l_,{href:"https://github.com/yiisoft/yii-debug-api",children:"https://github.com/yiisoft/yii-debug-api"}),"."]})]}),severity:"info",icon:te.jsx(Uz,{})}):(console.log(l.data?.result),te.jsxs(te.Fragment,{children:[u.map((([e,t],o)=>te.jsxs(ik,{children:[te.jsx("h2",{children:e}),t.map(((e,t)=>te.jsxs(Ak,{onClick:()=>(async e=>{r((t=>({...t,[e.name]:{...t[e.name],isLoading:!0}})));const t=await s(e.name);r((t=>({...t,[e.name]:{...t[e.name],isLoading:!1}}))),a(!0),console.log(t)})(e),disabled:n[e.name].isLoading,endIcon:n[e.name].isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:["Run ",e.title]},t)))]},o))),te.jsx(Xfe,{status:l.isLoading?"loading":l.data?l.data.status:"fail",content:l.isLoading?"loading":l.data?l.data.result:"",open:o,onRerun:()=>s(l.originalArgs),onClose:()=>a(!1)})]}))},Qfe=({open:e,isDev:t,packageName:n,installedVersion:r=null,onClose:o,onSwitch:a,...i})=>{const s=HV(n,{skip:null==n}),[l,u]=U.useState(r),[c,d]=U.useState(t),[p,f]=VV();return te.jsxs(DR,{fullWidth:!0,open:e,onClose:o,...i,children:[te.jsxs(JR,{children:['Switch version for "',n,'"']}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Select a version to switch"}),te.jsxs(XR,{children:["Installed version: ",r]}),te.jsxs(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",m:"auto"},children:[te.jsxs(MT,{disabled:f.isLoading,sx:{mt:2,flexGrow:.9},children:[te.jsx(MI,{htmlFor:"max-width",children:"Versions"}),te.jsx(sO,{autoFocus:!0,fullWidth:!0,value:l,onChange:e=>{u(e.target.value)},label:"Version",children:s.data&&s.data.result.versions.map(((e,t)=>te.jsx(xA,{value:e,children:e},t)))})]}),te.jsx(HT,{sx:{mt:1},control:te.jsx(lP,{checked:c,onChange:()=>{d((e=>!e))}}),label:"--dev"})]})]}),te.jsxs(BR,{children:[te.jsx(Ak,{variant:"outlined",color:"error",disabled:f.isLoading,onClick:o,children:"Close"}),te.jsx(Ak,{variant:"contained",color:"primary",disabled:f.isLoading,endIcon:f.isLoading?te.jsx(hR,{size:24,color:"info"}):null,onClick:()=>{(async(e,t)=>{const n=await p({packageName:e,version:t,isDev:c});console.log(n),a()})(n,l)},children:"Switch"})]})]})};function Jfe(e){const{children:t,value:n,index:r,...o}=e;return te.jsx("div",{role:"tabpanel",hidden:n!==r,...o,children:n===r&&te.jsx(ik,{sx:{p:3},children:t})})}const eme=e=>!e.includes("/"),tme=U.memo((({packageName:e,version:t,onClick:n})=>te.jsxs(A_,{disablePadding:!0,sx:{display:"block"},children:[te.jsx(V_,{primary:e,secondary:t}),!eme(e)&&te.jsx(k_,{children:te.jsx(Ak,{onClick:()=>n(e),color:"primary",children:"Switch"})})]}))),nme=()=>{const e=jV(),[t,n]=U.useState(0),[r,o]=U.useState(!1),[a,i]=U.useState(null),[s,l]=U.useState(!1),u=U.useMemo((()=>{const t={};return e.data&&e.data.lock?(e.data.lock.packages.concat(e.data.lock["packages-dev"]).forEach((e=>{t[e.name]=e.version})),t):t}),[e.data]),c=e=>{i(e),o(!0),l(!1)},d=e=>{i(e),o(!0),l(!0)};return te.jsxs(ik,{sx:{width:"100%"},children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(pL,{value:t,onChange:(e,t)=>n(t),children:[te.jsx(mP,{label:"Packages"}),te.jsx(mP,{label:"composer.json"}),te.jsx(mP,{label:"composer.lock"})]})}),te.jsx(Jfe,{value:t,index:0,children:te.jsxs(ik,{display:"flex",children:[te.jsxs(f_,{sx:{width:"100%"},children:[te.jsx(iT,{children:"Require"}),e.data&&Object.entries(e.data.json.require).map((([e,t],n)=>te.jsx(tme,{packageName:e,version:e in u?`Required: ${t}, Installed: ${u[e]}`:`${t}`,onClick:c},n)))]}),te.jsxs(f_,{sx:{width:"100%"},children:[te.jsx(iT,{children:"Require Dev"}),e.data&&Object.entries(e.data.json["require-dev"]).map((([e,t],n)=>te.jsx(tme,{packageName:e,version:e in u?`Required: ${t}, Installed: ${u[e]}`:`${t}`,onClick:d},n)))]})]})}),te.jsx(Jfe,{value:t,index:1,children:e.data&&te.jsx(Hae,{value:e.data.json})}),te.jsx(Jfe,{value:t,index:2,children:e.data&&te.jsx(Hae,{value:e.data.lock})}),r&&te.jsx(Qfe,{packageName:a,installedVersion:a&&a in u?u[a]:null,open:!0,isDev:s,onClose:()=>o(!1),onSwitch:()=>o(!1)})]})},rme=bD("setObjects"),ome=bD("insertObject"),ame={objects:[],insertObject:ome,setObjects:rme},ime=CD(ame,(e=>{e.addCase(rme,((e,{payload:t})=>{e.objects=t})).addCase(ome,((e,{payload:{id:t,object:n}})=>{e.objects=e.objects.map((e=>t===e.id?{id:t,value:n}:e))}))})),sme=U.createContext(ame),lme=({children:e})=>{const[t,n]=H.useReducer(ime,ame),r=U.useMemo((()=>({objects:t.objects,setObjects:e=>{n(rme(e))},insertObject:(e,t)=>{n(ome({id:e,object:t}))}})),[t.objects]);return te.jsx(sme.Provider,{value:r,children:e})};function ume(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const cme=U.createContext({loader:()=>null}),dme=({loader:e,children:t})=>te.jsx(cme.Provider,{value:{loader:e},children:t}),pme=e=>{const{loader:t}=U.useContext(cme);return e.row.value?te.jsx(Hae,{value:e.value},e.id):te.jsx(Ak,{onClick:()=>t(e.row.id),children:"Load"})},fme=[{field:"id",headerName:"Name",width:200,renderCell:e=>{const t=e.value;return te.jsxs("div",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(t),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+t,children:te.jsx(tU,{fontSize:"small"})})}),t]})}},{field:"value",headerName:"Value",flex:1,renderCell:e=>te.jsx(pme,{...e})}],mme=()=>{const{data:e,isLoading:t}=CV(""),[n]=kV(),[r,o]=b$(),a=r.get("filter")||"";console.log("data",e,t);const{objects:i,setObjects:s,insertObject:l}=U.useContext(sme),u=U.useCallback((async e=>{const t=await n(e);t.data&&l(e,t.data.object)}),[]);U.useEffect((()=>{!t&&e&&(console.log("setObjects",e.map((e=>({id:e,value:null})))),s(e.map((e=>({id:e,value:null})))))}),[t]);const c=U.useMemo((()=>{if(!a)return i;const e=new RegExp(ume(a),"i");return i.filter((t=>t.id.match(e)))}),[i,a]);console.log("filteredRows",c,i);const d=U.useCallback((async e=>{o({filter:e})}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx(Kfe,{value:a,onChange:d}),te.jsx(dme,{loader:u,children:te.jsx(p0,{rows:c,getRowId:e=>e.id,columns:fme})})]})},hme=()=>{const{page:e}=DF(),t=LF(),[n,r]=U.useState(e??"parameters");return te.jsx(te.Fragment,{children:te.jsxs(Yse,{value:n,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(ele,{onChange:(e,n)=>{r(n),t(`/inspector/config/${n}`)},children:[te.jsx(mP,{value:"parameters",label:"Parameters"}),te.jsx(mP,{value:"definitions",label:"Definitions"}),te.jsx(mP,{value:"container",label:"Container"})]})}),te.jsx(ale,{value:"container",children:te.jsx(lme,{children:te.jsx(mme,{})})}),te.jsx(ale,{value:"parameters",children:te.jsx(wme,{})}),te.jsx(ale,{value:"definitions",children:te.jsx(lme,{children:te.jsx(vme,{})})})]})})},gme=e=>{const{loader:t}=U.useContext(cme);return"string"==typeof e.value&&e.value.match(/^[\w\\]+$/i)?te.jsxs(te.Fragment,{children:[e.value,te.jsx(Ak,{onClick:()=>t(e.row.id),children:"Load"})]}):te.jsx(Hae,{value:e.value})},bme=[{field:"id",headerName:"Name",width:200,renderCell:e=>{const t=e.value;return te.jsxs("div",{style:{wordBreak:"break-word"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(t),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+t,children:te.jsx(Bz,{fontSize:"small"})})}),t]})}},{field:"value",headerName:"Value",flex:1,renderCell:e=>te.jsx(gme,{...e})}],vme=()=>{const{data:e,isLoading:t}=xV("di"),[n]=kV(),[r,o]=b$(),a=r.get("filter")||"",{objects:i,setObjects:s,insertObject:l}=U.useContext(sme),u=U.useCallback((async e=>{const t=await n(e);t.data&&l(e,t.data.object)}),[]);U.useEffect((()=>{if(!t&&e){const t=Object.entries(e||[]).map((e=>({id:e[0],value:e[1]})));s(t)}}),[t]);const c=U.useMemo((()=>{const e=new RegExp(ume(a||""),"i");return i.filter((t=>t.id.match(e)))}),[i,a]),d=U.useCallback((async e=>{o({filter:e})}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx(Kfe,{value:a,onChange:d}),te.jsx(dme,{loader:u,children:te.jsx(p0,{rows:c,getRowId:e=>e.id,columns:bme})})]})},yme=[{field:"0",headerName:"Name",width:130},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(Hae,{value:e.value},e.id)}],wme=()=>{const{data:e,isLoading:t}=wV(),[n,r]=b$(),o=n.get("filter")||"",a=U.useMemo((()=>{const t=Array.isArray(e);let n=Object.entries(e||[]);return n=n.map((e=>({0:e[0],1:t?Object.assign({},e[1]):e[1]}))),n}),[e]),i=U.useMemo((()=>{const e=new RegExp(ume(o),"i");return a.filter((t=>t[0].match(e)))}),[a,o]),s=U.useCallback((async e=>{r({filter:e})}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx(Kfe,{value:o,onChange:s}),te.jsx("div",{style:{width:"100%"},children:te.jsx(p0,{rows:i,getRowId:e=>e[0],columns:yme})})]})},Sme=()=>{const[e]=b$(),t=e.get("class")||"",{data:n,isLoading:r}=EV(t);return r?te.jsx(AG,{}):te.jsxs("pre",{children:[te.jsxs("h2",{children:[t," ",te.jsx(oN,{title:"Examine as a file",children:te.jsx(Uw,{size:"small",href:"/inspector/files?path="+n?.path,children:te.jsx(Vz,{fontSize:"small"})})})]}),te.jsx(Hae,{value:n?.object})]})},xme=[{field:"name",headerName:"Name",width:200,renderCell:e=>te.jsx(uS,{my:1,sx:{wordBreak:"break-all"},children:e.value})},{field:"columns",headerName:"Columns count",flex:1,renderCell:e=>te.jsx(uS,{my:1,children:e.value})},{field:"records",headerName:"Records count",flex:1,renderCell:e=>te.jsx(uS,{my:1,children:e.value})},{field:"actions",headerName:"Actions",flex:1,renderCell:e=>te.jsx(uS,{my:1,children:te.jsx(Ak,{variant:"contained",href:`/inspector/database/${e.row.name}`,children:"View"})})}],Eme=()=>{const{data:e,isLoading:t}=MV(),[n,r]=U.useState([]);return U.useEffect((()=>{if(e){const t=[];for(const n of e)t.push({name:n.table,columns:n.columns.length,records:n.records});r(t)}}),[t]),t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:te.jsx(yk,{children:te.jsx(uS,{children:"Database"})})}),te.jsx(p0,{rows:n,getRowId:e=>e.name,columns:xme})]})},Cme=e=>{switch(!0){case Array.isArray(e)&&2===e.length:return e.join("::")+"()";case"string"==typeof e:return e;default:return JSON.stringify(e)}},kme=H.memo((({eventListeners:e})=>{const t=Object.entries(e);return te.jsx(te.Fragment,{children:t.map(((e,t)=>te.jsxs(H.Fragment,{children:[te.jsxs(uS,{variant:"subtitle2",component:"h3",children:[e[0],te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?class=${e[0]}`,children:te.jsx(tU,{fontSize:"small"})})})]}),te.jsx(f_,{children:e[1].map(((e,t)=>te.jsxs(H.Fragment,{children:[Array.isArray(e)&&te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Ak,{size:"small",href:`/inspector/files?class=${e[0]}&method=${e[1]}`,endIcon:te.jsx(tU,{fontSize:"small"}),children:"Inspect method"})}),te.jsx(A_,{children:te.jsx(Bae,{language:"php",code:Cme(e),showLineNumbers:!1})})]},t)))})]},t)))})})),Rme=H.memo((()=>te.jsx(uS,{variant:"subtitle2",component:"h3",children:"No event listeners found"}))),Tme=()=>{const{data:e,isLoading:t,isSuccess:n}=WV(),[r,o]=U.useState(null),[a,i]=U.useState("web");return U.useEffect((()=>{n&&(console.log(e),o(e))}),[n,e]),t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Event listeners"}),!r&&te.jsx(Rme,{}),r&&te.jsxs(Yse,{value:a,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(ele,{onChange:(e,t)=>i(t),children:[te.jsx(mP,{value:"common",label:"Common",disabled:!r.common}),te.jsx(mP,{value:"web",label:"Web",disabled:!r.web}),te.jsx(mP,{value:"console",label:"Console",disabled:!r.console})]})}),te.jsx(ale,{value:"common",children:r.common&&!Array.isArray(r.common)?te.jsx(kme,{eventListeners:r.common}):te.jsx(Rme,{})}),te.jsx(ale,{value:"web",children:r.web&&!Array.isArray(r.web)?te.jsx(kme,{eventListeners:r.web}):te.jsx(Rme,{})}),te.jsx(ale,{value:"console",children:r.console&&!Array.isArray(r.console)?te.jsx(kme,{eventListeners:r.console}):te.jsx(Rme,{})})]})]})};function Ime(e,t=2){if(0==e)return"0 B";const n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(t))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}function _me(e=450,t){setTimeout((()=>{const n=t||window.location.hash?.replace("#",""),r=document.getElementById(n);r&&window.scrollTo({top:r.offsetTop-e,behavior:"smooth"})}))}function Ame(e){return Ch("MuiSimpleTreeView",e)}kh("MuiSimpleTreeView",["root"]);class Ome{constructor(){this.maxListeners=20,this.warnOnce=!1,this.events={}}on(e,t,n={}){let r=this.events[e];r||(r={highPriority:new Map,regular:new Map},this.events[e]=r),n.isFirst?r.highPriority.set(t,!0):r.regular.set(t,!0)}removeListener(e,t){this.events[e]&&(this.events[e].regular.delete(t),this.events[e].highPriority.delete(t))}removeAllListeners(){this.events={}}emit(e,...t){const n=this.events[e];if(!n)return;const r=Array.from(n.highPriority.keys()),o=Array.from(n.regular.keys());for(let a=r.length-1;a>=0;a-=1){const e=r[a];n.highPriority.has(e)&&e.apply(this,t)}for(let a=0;a{if(e.isItemExpanded(t)&&e.getNavigableChildrenIds(t).length>0)return e.getNavigableChildrenIds(t)[0];let n=e.getNode(t);for(;null!=n;){const t=e.getNavigableChildrenIds(n.parentId),r=t[t.indexOf(n.id)+1];if(r)return r;n=e.getNode(n.parentId)}return null},Pme=e=>{let t=e.getNavigableChildrenIds(null).pop();for(;e.isItemExpanded(t);)t=e.getNavigableChildrenIds(t).pop();return t},Lme=e=>e.getNavigableChildrenIds(null)[0],Mme=(e,t)=>{Object.assign(e,t)},Dme=(e,t)=>{Object.assign(e,t)},jme=({instance:e})=>{const[t]=U.useState((()=>new Ome)),n=U.useCallback(((...e)=>{const[n,r,o={}]=e;o.defaultMuiPrevented=!1,(e=>void 0!==e.isPropagationStopped)(o)&&o.isPropagationStopped()||t.emit(n,r,o)}),[t]),r=U.useCallback(((e,n)=>(t.on(e,n),()=>{t.removeListener(e,n)})),[t]);Mme(e,{$$publishEvent:n,$$subscribeEvent:r})};jme.params={};const Fme=[jme];const $me=e=>{const t=[...Fme,...e.plugins],n=t.reduce(((e,t)=>t.getDefaultizedParams?t.getDefaultizedParams(e):e),e),r=((e,t)=>{const n=U.useRef({}),[r,o]=U.useState((()=>{const r={};return e.forEach((e=>{e.models&&Object.entries(e.models).forEach((([e,o])=>{n.current[e]={isControlled:void 0!==t[e],getDefaultValue:o.getDefaultValue},r[e]=o.getDefaultValue(t)}))})),r}));return Object.fromEntries(Object.entries(n.current).map((([e,n])=>{const a=t[e]??r[e];return[e,{value:a,setControlledValue:t=>{n.isControlled||o((n=>Id({},n,{[e]:t})))}}]})))})(t,n),o=U.useRef({}).current,a=function(e){const t=U.useRef({});return e?(null==e.current&&(e.current={}),e.current):t.current}(e.apiRef),i=U.useRef(null),s=Lg(i,e.rootRef),[l,u]=U.useState((()=>{const e={};return t.forEach((t=>{t.getInitialState&&Object.assign(e,t.getInitialState(n))})),e})),c=[],d={publicAPI:a,instance:o};t.forEach((e=>{const t=e({instance:o,publicAPI:a,params:n,slots:n.slots,slotProps:n.slotProps,state:l,setState:u,rootRef:i,models:r})||{};t.getRootProps&&c.push(t.getRootProps),t.contextValue&&Object.assign(d,t.contextValue)})),d.runItemPlugins=e=>{let n=null,r=null;return t.forEach((t=>{if(!t.itemPlugin)return;const o=t.itemPlugin({props:e,rootRef:n,contentRef:r});o?.rootRef&&(n=o.rootRef),o?.contentRef&&(r=o.contentRef)})),{contentRef:r,rootRef:n}};const p=t.map((e=>e.wrapItem)).filter((e=>!!e));d.wrapItem=({itemId:e,children:t})=>{let n=t;return p.forEach((t=>{n=t({itemId:e,children:n})})),n};return{getRootProps:(e={})=>{const t=Id({role:"tree"},e,{ref:s});return c.forEach((n=>{Object.assign(t,n(e))})),t},rootRef:s,contextValue:d,instance:o}},Bme=U.createContext(null),zme=["element"];const Ume=U.createContext({});const Hme=()=>{};function Vme(e){const[,t]=U.useState(),{registerDescendant:n=Hme,unregisterDescendant:r=Hme,descendants:o=[],parentId:a=null}=U.useContext(Ume),i=o.findIndex((t=>t.element===e.element)),s=function(e){const t=U.useRef(null);return U.useEffect((()=>{t.current=e}),[e]),t.current}(o),l=o.some(((e,t)=>s&&s[t]&&s[t].element!==e.element));return cg((()=>{if(e.element)return n(Id({},e,{index:i})),()=>{r(e.element)};t({})}),[n,r,i,l,e]),{parentId:a,index:i}}function Gme(e){const{children:t,id:n}=e,[r,o]=U.useState([]),a=U.useCallback((e=>{let{element:t}=e,n=_d(e,zme);o((e=>{if(0===e.length)return[Id({},n,{element:t,index:0})];const r=function(e,t){let n=0,r=e.length-1;for(;n<=r;){const o=Math.floor((n+r)/2);if(e[o].element===t)return o;e[o].element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?r=o-1:n=o+1}return n}(e,t);let o;if(e[r]&&e[r].element===t)o=e;else{const a=Id({},n,{element:t,index:r});o=e.slice(),o.splice(r,0,a)}return o.forEach(((e,t)=>{e.index=t})),o}))}),[]),i=U.useCallback((e=>{o((t=>t.filter((t=>e!==t.element))))}),[]),s=U.useMemo((()=>({descendants:r,registerDescendant:a,unregisterDescendant:i,parentId:n})),[r,a,i,n]);return ee.jsx(Ume.Provider,{value:s,children:t})}function Wme(e){const{value:t,children:n}=e;return ee.jsx(Bme.Provider,{value:t,children:ee.jsx(Gme,{children:n})})}const qme=({instance:e,params:t})=>{const n=Og(t.id),r=U.useCallback(((e,t)=>t??`${n}-${e}`),[n]);return Mme(e,{getTreeItemId:r}),{getRootProps:()=>({id:n})}};qme.params={id:!0};const Kme=(e,t,n)=>{e.$$publishEvent(t,n)},Yme=({items:e,isItemDisabled:t,getItemLabel:n,getItemId:r})=>{const o={},a={},i=(e,s,l)=>{const u=r?r(e):e.id;if(null==u)throw new Error(["MUI X: The Tree View component requires all items to have a unique `id` property.","Alternatively, you can use the `getItemId` prop to specify a custom id for each item.","An item was provided without id in the `items` prop:",JSON.stringify(e)].join("\n"));if(null!=o[u])throw new Error(["MUI X: The Tree View component requires all items to have a unique `id` property.","Alternatively, you can use the `getItemId` prop to specify a custom id for each item.",`Two items were provided with the same id in the \`items\` prop: "${u}"`].join("\n"));const c=n?n(e):e.label;if(null==c)throw new Error(["MUI X: The Tree View component requires all items to have a `label` property.","Alternatively, you can use the `getItemLabel` prop to specify a custom label for each item.","An item was provided without label in the `items` prop:",JSON.stringify(e)].join("\n"));return o[u]={id:u,label:c,index:s,parentId:l,idAttribute:void 0,expandable:!!e.children?.length,disabled:!!t&&t(e)},a[u]=e,{id:u,children:e.children?.map(((e,t)=>i(e,t,u)))}},s=e.map(((e,t)=>i(e,t,null)));return{nodeMap:o,nodeTree:s,itemMap:a}},Xme=({instance:e,publicAPI:t,params:n,state:r,setState:o})=>{const a=U.useCallback((e=>r.items.nodeMap[e]),[r.items.nodeMap]),i=U.useCallback((e=>r.items.itemMap[e]),[r.items.itemMap]),s=U.useCallback((t=>{if(null==t)return!1;let n=e.getNode(t);if(!n)return!1;if(n.disabled)return!0;for(;null!=n.parentId;)if(n=e.getNode(n.parentId),n.disabled)return!0;return!1}),[e]),l=U.useCallback((e=>Object.values(r.items.nodeMap).filter((t=>t.parentId===e)).sort(((e,t)=>e.index-t.index)).map((e=>e.id))),[r.items.nodeMap]),u=U.useRef(!1),c=U.useCallback((()=>{u.current=!0}),[]),d=U.useCallback((()=>u.current),[]);U.useEffect((()=>{e.areItemUpdatesPrevented()||o((t=>{const r=Yme({items:n.items,isItemDisabled:n.isItemDisabled,getItemId:n.getItemId,getItemLabel:n.getItemLabel});return Object.values(t.items.nodeMap).forEach((t=>{r.nodeMap[t.id]||Kme(e,"removeItem",{id:t.id})})),Id({},t,{items:r})}))}),[e,o,n.items,n.isItemDisabled,n.getItemId,n.getItemLabel]);return Mme(e,{getNode:a,getItem:i,getItemsToRender:()=>{const e=({id:t,children:n})=>{const o=r.items.nodeMap[t];return{label:o.label,itemId:o.id,id:o.idAttribute,children:n?.map(e)}};return r.items.nodeTree.map(e)},getChildrenIds:l,getNavigableChildrenIds:t=>{let r=e.getChildrenIds(t);return n.disabledItemsFocusable||(r=r.filter((t=>!e.isItemDisabled(t)))),r},isItemDisabled:s,preventItemUpdates:c,areItemUpdatesPrevented:d}),Dme(t,{getItem:i}),{contextValue:{disabledItemsFocusable:n.disabledItemsFocusable}}};Xme.getInitialState=e=>({items:Yme({items:e.items,isItemDisabled:e.isItemDisabled,getItemId:e.getItemId,getItemLabel:e.getItemLabel})}),Xme.getDefaultizedParams=e=>Id({},e,{disabledItemsFocusable:e.disabledItemsFocusable??!1}),Xme.params={disabledItemsFocusable:!0,items:!0,isItemDisabled:!0,getItemLabel:!0,getItemId:!0};const Zme=({instance:e,publicAPI:t,params:n,models:r})=>{const o=U.useMemo((()=>{const e=new Map;return r.expandedItems.value.forEach((t=>{e.set(t,!0)})),e}),[r.expandedItems.value]),a=(e,t)=>{n.onExpandedItemsChange?.(e,t),r.expandedItems.setControlledValue(t)},i=U.useCallback((e=>o.has(e)),[o]),s=U.useCallback((t=>!!e.getNode(t)?.expandable),[e]),l=Pg(((t,n)=>{const r=e.isItemExpanded(n);e.setItemExpansion(t,n,!r)})),u=Pg(((t,o,i)=>{if(e.isItemExpanded(o)===i)return;let s;s=i?[o].concat(r.expandedItems.value):r.expandedItems.value.filter((e=>e!==o)),n.onItemExpansionToggle&&n.onItemExpansionToggle(t,o,i),a(t,s)}));Mme(e,{isItemExpanded:i,isItemExpandable:s,setItemExpansion:u,toggleItemExpansion:l,expandAllSiblings:(t,o)=>{const i=e.getNode(o),s=e.getChildrenIds(i.parentId).filter((t=>e.isItemExpandable(t)&&!e.isItemExpanded(t))),l=r.expandedItems.value.concat(s);s.length>0&&(n.onItemExpansionToggle&&s.forEach((e=>{n.onItemExpansionToggle(t,e,!0)})),a(t,l))}}),Dme(t,{setItemExpansion:u})};Zme.models={expandedItems:{getDefaultValue:e=>e.defaultExpandedItems}};const Qme=[];Zme.getDefaultizedParams=e=>Id({},e,{defaultExpandedItems:e.defaultExpandedItems??Qme}),Zme.params={expandedItems:!0,defaultExpandedItems:!0,onExpandedItemsChange:!0,onItemExpansionToggle:!0};const Jme=({instance:e,params:t,models:n})=>{const r=U.useRef(null),o=U.useRef(!1),a=U.useRef([]),i=(r,o)=>{if(t.onItemSelectionToggle)if(t.multiSelect){const a=o.filter((t=>!e.isItemSelected(t))),i=n.selectedItems.value.filter((e=>!o.includes(e)));a.forEach((e=>{t.onItemSelectionToggle(r,e,!0)})),i.forEach((e=>{t.onItemSelectionToggle(r,e,!1)}))}else o!==n.selectedItems.value&&(null!=n.selectedItems.value&&t.onItemSelectionToggle(r,n.selectedItems.value,!1),null!=o&&t.onItemSelectionToggle(r,o,!0));t.onSelectedItemsChange&&t.onSelectedItemsChange(r,o),n.selectedItems.setControlledValue(o)},s=(t,r)=>{let s=n.selectedItems.value.slice();const{start:l,end:u}=r;o.current&&(s=s.filter((e=>-1===a.current.indexOf(e))));let c=((t,n)=>{const[r,o]=((e,t,n)=>{if(t===n)return[t,n];const r=e.getNode(t),o=e.getNode(n);if(r.parentId===o.id||o.parentId===r.id)return o.parentId===r.id?[r.id,o.id]:[o.id,r.id];const a=[r.id],i=[o.id];let s=r.parentId,l=o.parentId,u=-1!==i.indexOf(s),c=-1!==a.indexOf(l),d=!0,p=!0;for(;!c&&!u;)d&&(a.push(s),u=-1!==i.indexOf(s),d=null!==s,!u&&d&&(s=e.getNode(s).parentId)),p&&!u&&(i.push(l),c=-1!==a.indexOf(l),p=null!==l,!c&&p&&(l=e.getNode(l).parentId));const f=u?s:l,m=e.getChildrenIds(f),h=a[a.indexOf(f)-1],g=i[i.indexOf(f)-1];return m.indexOf(h)!e.isItemDisabled(t))),a.current=c;let d=s.concat(c);d=d.filter(((e,t)=>d.indexOf(e)===t)),i(t,d)};return Mme(e,{isItemSelected:e=>Array.isArray(n.selectedItems.value)?-1!==n.selectedItems.value.indexOf(e):n.selectedItems.value===e,selectItem:(e,s,l=!1)=>{if(!t.disableSelection){if(l){if(Array.isArray(n.selectedItems.value)){let t;t=-1!==n.selectedItems.value.indexOf(s)?n.selectedItems.value.filter((e=>e!==s)):[s].concat(n.selectedItems.value),i(e,t)}}else{const n=t.multiSelect?[s]:s;i(e,n)}r.current=s,o.current=!1,a.current=[]}},selectRange:(e,l,u=!1)=>{if(t.disableSelection)return;const{start:c=r.current,end:d,current:p}=l;u?((e,t)=>{let r=n.selectedItems.value.slice();const{start:s,next:l,current:u}=t;l&&u&&(-1===a.current.indexOf(u)&&(a.current=[]),o.current?-1!==a.current.indexOf(l)?(r=r.filter((e=>e===s||e!==u)),a.current=a.current.filter((e=>e===s||e!==u))):(r.push(l),a.current.push(l)):(r.push(l),a.current.push(u,l)),i(e,r))})(e,{start:c,next:d,current:p}):null!=c&&null!=d&&s(e,{start:c,end:d}),o.current=!0},rangeSelectToLast:(t,n)=>{r.current||(r.current=n);const a=o.current?r.current:n;e.selectRange(t,{start:a,end:Pme(e)})},rangeSelectToFirst:(t,n)=>{r.current||(r.current=n);const a=o.current?r.current:n;e.selectRange(t,{start:a,end:Lme(e)})}}),{getRootProps:()=>({"aria-multiselectable":t.multiSelect}),contextValue:{selection:{multiSelect:t.multiSelect}}}};Jme.models={selectedItems:{getDefaultValue:e=>e.defaultSelectedItems}};const ehe=[];Jme.getDefaultizedParams=e=>Id({},e,{disableSelection:e.disableSelection??!1,multiSelect:e.multiSelect??!1,defaultSelectedItems:e.defaultSelectedItems??(e.multiSelect?ehe:null)}),Jme.params={disableSelection:!0,multiSelect:!0,defaultSelectedItems:!0,selectedItems:!0,onSelectedItemsChange:!0,onItemSelectionToggle:!0};class the{constructor(e=1e3){this.timeouts=new Map,this.cleanupTimeout=1e3,this.cleanupTimeout=e}register(e,t,n){this.timeouts||(this.timeouts=new Map);const r=setTimeout((()=>{"function"==typeof t&&t(),this.timeouts.delete(n.cleanupToken)}),this.cleanupTimeout);this.timeouts.set(n.cleanupToken,r)}unregister(e){const t=this.timeouts.get(e.cleanupToken);t&&(this.timeouts.delete(e.cleanupToken),clearTimeout(t))}reset(){this.timeouts&&(this.timeouts.forEach(((e,t)=>{this.unregister({cleanupToken:t})})),this.timeouts=void 0)}}class nhe{constructor(){this.registry=new FinalizationRegistry((e=>{"function"==typeof e&&e()}))}register(e,t,n){this.registry.register(e,t,n)}unregister(e){this.registry.unregister(e)}reset(){}}class rhe{}const ohe=function(e){let t=0;return function(n,r,o){null===e.registry&&(e.registry="undefined"!=typeof FinalizationRegistry?new nhe:new the);const[a]=U.useState(new rhe),i=U.useRef(null),s=U.useRef();s.current=o;const l=U.useRef(null);if(!i.current&&s.current){const o=(e,t)=>{t.defaultMuiPrevented||s.current?.(e,t)};i.current=n.$$subscribeEvent(r,o),t+=1,l.current={cleanupToken:t},e.registry.register(a,(()=>{i.current?.(),i.current=null,l.current=null}),l.current)}else!s.current&&i.current&&(i.current(),i.current=null,l.current&&(e.registry.unregister(l.current),l.current=null));U.useEffect((()=>{if(!i.current&&s.current){const e=(e,t)=>{t.defaultMuiPrevented||s.current?.(e,t)};i.current=n.$$subscribeEvent(r,e)}return l.current&&e.registry&&(e.registry.unregister(l.current),l.current=null),()=>{i.current?.(),i.current=null}}),[n,r])}}({registry:null}),ahe=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?ahe(t.shadowRoot):t:null},ihe=({instance:e,publicAPI:t,params:n,state:r,setState:o,models:a,rootRef:i})=>{const s=((e,t)=>{const n=t=>{const n=e.getNode(t);return n&&(null==n.parentId||e.isItemExpanded(n.parentId))};let r;return Array.isArray(t)?r=t.find(n):null!=t&&n(t)&&(r=t),null==r&&(r=e.getNavigableChildrenIds(null)[0]),r})(e,a.selectedItems.value),l=Pg((e=>{const t="function"==typeof e?e(r.focusedItemId):e;r.focusedItemId!==t&&o((e=>Id({},e,{focusedItemId:t})))})),u=U.useCallback((()=>!!i.current&&i.current.contains(ahe(Rg(i.current)))),[i]),c=U.useCallback((e=>r.focusedItemId===e&&u()),[r.focusedItemId,u]),d=t=>{const n=e.getNode(t);return n&&(null==n.parentId||e.isItemExpanded(n.parentId))},p=(t,r)=>{const o=e.getNode(r),a=document.getElementById(e.getTreeItemId(r,o.idAttribute));a&&a.focus(),l(r),n.onItemFocus&&n.onItemFocus(t,r)},f=Pg(((e,t)=>{d(t)&&p(e,t)})),m=Pg((t=>{let n;Array.isArray(a.selectedItems.value)?n=a.selectedItems.value.find(d):null!=a.selectedItems.value&&d(a.selectedItems.value)&&(n=a.selectedItems.value),null==n&&(n=e.getNavigableChildrenIds(null)[0]),p(t,n)})),h=Pg((()=>{if(null==r.focusedItemId)return;const t=e.getNode(r.focusedItemId);if(t){const n=document.getElementById(e.getTreeItemId(r.focusedItemId,t.idAttribute));n&&n.blur()}l(null)}));Mme(e,{isItemFocused:c,canItemBeTabbed:e=>e===s,focusItem:f,focusDefaultItem:m,removeFocusedItem:h}),Dme(t,{focusItem:f}),ohe(e,"removeItem",(({id:t})=>{r.focusedItemId===t&&e.focusDefaultItem(null)}));const g=t=>n=>{t.onFocus?.(n),n.target===n.currentTarget&&e.focusDefaultItem(n)},b=e.getNode(r.focusedItemId),v=b?e.getTreeItemId(b.id,b.idAttribute):null;return{getRootProps:e=>({onFocus:g(e),"aria-activedescendant":v??void 0})}};function she(e,t,n){for(let r=t;r({focusedItemId:null}),ihe.params={onItemFocus:!0};const lhe=({instance:e,params:t,state:n})=>{const r="rtl"===hv().direction,o=U.useRef({}),a=Pg((e=>{o.current=e(o.current)}));U.useEffect((()=>{if(e.areItemUpdatesPrevented())return;const t={};Object.values(n.items.nodeMap).forEach((e=>{t[e.id]=e.label.substring(0,1).toLowerCase()})),o.current=t}),[n.items.nodeMap,t.getItemId,e]);const i=n=>!t.disableSelection&&!e.isItemDisabled(n),s=t=>!e.isItemDisabled(t)&&e.isItemExpandable(t);Mme(e,{updateFirstCharMap:a,handleItemKeyDown:(n,a)=>{if(n.defaultMuiPrevented)return;if(n.altKey||n.currentTarget!==n.target)return;const l=n.ctrlKey||n.metaKey,u=n.key;switch(!0){case" "===u&&i(a):n.preventDefault(),t.multiSelect&&n.shiftKey?e.selectRange(n,{end:a}):t.multiSelect?e.selectItem(n,a,!0):e.selectItem(n,a);break;case"Enter"===u:s(a)?(e.toggleItemExpansion(n,a),n.preventDefault()):i(a)&&(t.multiSelect?(n.preventDefault(),e.selectItem(n,a,!0)):e.isItemSelected(a)||(e.selectItem(n,a),n.preventDefault()));break;case"ArrowDown"===u:{const r=Nme(e,a);r&&(n.preventDefault(),e.focusItem(n,r),t.multiSelect&&n.shiftKey&&i(r)&&e.selectRange(n,{end:r,current:a},!0));break}case"ArrowUp"===u:{const r=((e,t)=>{const n=e.getNode(t),r=e.getNavigableChildrenIds(n.parentId),o=r.indexOf(t);if(0===o)return n.parentId;let a=r[o-1];for(;e.isItemExpanded(a)&&e.getNavigableChildrenIds(a).length>0;)a=e.getNavigableChildrenIds(a).pop();return a})(e,a);r&&(n.preventDefault(),e.focusItem(n,r),t.multiSelect&&n.shiftKey&&i(r)&&e.selectRange(n,{end:r,current:a},!0));break}case"ArrowRight"===u&&!r||"ArrowLeft"===u&&r:if(e.isItemExpanded(a)){const t=Nme(e,a);t&&(e.focusItem(n,t),n.preventDefault())}else s(a)&&(e.toggleItemExpansion(n,a),n.preventDefault());break;case"ArrowLeft"===u&&!r||"ArrowRight"===u&&r:if(s(a)&&e.isItemExpanded(a))e.toggleItemExpansion(n,a),n.preventDefault();else{const t=e.getNode(a).parentId;t&&(e.focusItem(n,t),n.preventDefault())}break;case"Home"===u:e.focusItem(n,Lme(e)),i(a)&&t.multiSelect&&l&&n.shiftKey&&e.rangeSelectToFirst(n,a),n.preventDefault();break;case"End"===u:e.focusItem(n,Pme(e)),i(a)&&t.multiSelect&&l&&n.shiftKey&&e.rangeSelectToLast(n,a),n.preventDefault();break;case"*"===u:e.expandAllSiblings(n,a),n.preventDefault();break;case"a"===u&&l&&t.multiSelect&&!t.disableSelection:e.selectRange(n,{start:Lme(e),end:Pme(e)}),n.preventDefault();break;case!l&&!n.shiftKey&&function(e){return!!e&&1===e.length&&!!e.match(/\S/)}(u):{const r=((n,r)=>{let a,i;const s=r.toLowerCase(),l=[],u=[];return Object.keys(o.current).forEach((n=>{const r=e.getNode(n),a=!r.parentId||e.isItemExpanded(r.parentId),i=!t.disabledItemsFocusable&&e.isItemDisabled(n);a&&!i&&(l.push(n),u.push(o.current[n]))})),a=l.indexOf(n)+1,a>=l.length&&(a=0),i=she(u,a,s),-1===i&&(i=she(u,0,s)),i>-1?l[i]:null})(a,u);null!=r&&(e.focusItem(n,r),n.preventDefault());break}}}})};lhe.params={};const uhe=({slots:e,slotProps:t})=>({contextValue:{icons:{slots:{collapseIcon:e.collapseIcon,expandIcon:e.expandIcon,endIcon:e.endIcon},slotProps:{collapseIcon:t.collapseIcon,expandIcon:t.expandIcon,endIcon:t.endIcon}}}});uhe.params={};const che=[qme,Xme,Zme,Jme,ihe,lhe,uhe],dhe=()=>{const e=U.useContext(Bme);if(null==e)throw new Error(["MUI X: Could not find the Tree View context.","It looks like you rendered your component outside of a SimpleTreeView or RichTreeView parent component.","This can also happen if you are bundling multiple versions of the Tree View."].join("\n"));return e},phe=({instance:e,setState:t})=>{e.preventItemUpdates();const n=Pg((e=>{t((t=>{if(null!=t.items.nodeMap[e.id])throw new Error(["MUI X: The Tree View component requires all items to have a unique `id` property.","Alternatively, you can use the `getItemId` prop to specify a custom id for each item.",`Two items were provided with the same id in the \`items\` prop: "${e.id}"`].join("\n"));return Id({},t,{items:Id({},t.items,{nodeMap:Id({},t.items.nodeMap,{[e.id]:e}),itemMap:Id({},t.items.itemMap,{[e.id]:{id:e.id,label:e.label}})})})}))})),r=Pg((n=>{t((e=>{const t=Id({},e.items.nodeMap),r=Id({},e.items.itemMap);return delete t[n],delete r[n],Id({},e,{items:Id({},e.items,{nodeMap:t,itemMap:r})})})),Kme(e,"removeItem",{id:n})})),o=Pg(((t,n)=>(e.updateFirstCharMap((e=>(e[t]=n,e))),()=>{e.updateFirstCharMap((e=>{const n=Id({},e);return delete n[t],n}))})));Mme(e,{insertJSXItem:n,removeJSXItem:r,mapFirstCharFromJSX:o})};phe.itemPlugin=({props:e,rootRef:t,contentRef:n})=>{const{children:r,disabled:o=!1,label:a,itemId:i,id:s}=e,{instance:l}=dhe(),u=e=>Array.isArray(e)?e.length>0&&e.some(u):Boolean(e),c=u(r),[d,p]=U.useState(null),f=U.useRef(null),m=Lg(p,t),h=Lg(f,n),g=U.useMemo((()=>({element:d,id:i})),[i,d]),{index:b,parentId:v}=Vme(g);return U.useEffect((()=>{if(-1!==b)return l.insertJSXItem({id:i,idAttribute:s,index:b,parentId:v,expandable:c,disabled:o}),()=>l.removeJSXItem(i)}),[l,v,b,i,c,o,s]),U.useEffect((()=>{if(a)return l.mapFirstCharFromJSX(i,(f.current?.textContent??"").substring(0,1).toLowerCase())}),[l,i,a]),{contentRef:h,rootRef:m}},phe.wrapItem=({children:e,itemId:t})=>ee.jsx(Gme,{id:t,children:e}),phe.params={};const fhe=[...che,phe],mhe=["slots","slotProps","apiRef"],hhe=Wv("ul",{name:"MuiSimpleTreeView",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,margin:0,listStyle:"none",outline:0,position:"relative"}),ghe=[];((e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e})(["MUI X: The `SimpleTreeView` component does not support the `items` prop.","If you want to add items, you need to pass them as JSX children.","Check the documentation for more details: https://mui.com/x/react-tree-view/simple-tree-view/items/"]);const bhe=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiSimpleTreeView"}),r=n,{pluginParams:o,slots:a,slotProps:i,otherProps:s}=(e=>{let{props:{slots:t,slotProps:n,apiRef:r},plugins:o,rootRef:a}=e,i=_d(e.props,mhe);const s={};o.forEach((e=>{Object.assign(s,e.params)}));const l={plugins:o,rootRef:a,slots:t??{},slotProps:n??{},apiRef:r},u={};return Object.keys(i).forEach((e=>{const t=i[e];s[e]?l[e]=t:u[e]=t})),{pluginParams:l,slots:t,slotProps:n,otherProps:u}})({props:Id({},n,{items:ghe}),plugins:fhe,rootRef:t}),{getRootProps:l,contextValue:u}=$me(o),c=(e=>{const{classes:t}=e;return eb({root:["root"]},Ame,t)})(n),d=a?.root??hhe,p=Gy({elementType:d,externalSlotProps:i?.root,externalForwardedProps:s,className:c.root,getSlotProps:l,ownerState:r});return ee.jsx(Wme,{value:u,children:ee.jsx(d,Id({},p))})}));const vhe=["classes","className","displayIcon","expansionIcon","icon","label","itemId","onClick","onMouseDown"],yhe=U.forwardRef((function(e,t){const{classes:n,className:r,displayIcon:o,expansionIcon:a,icon:i,label:s,itemId:l,onClick:u,onMouseDown:c}=e,d=_d(e,vhe),{disabled:p,expanded:f,selected:m,focused:h,handleExpansion:g,handleSelection:b,preventSelection:v}=function(e){const{instance:t,selection:{multiSelect:n}}=dhe(),r=t.isItemExpandable(e),o=t.isItemExpanded(e),a=t.isItemFocused(e),i=t.isItemSelected(e),s=t.isItemDisabled(e);return{disabled:s,expanded:o,selected:i,focused:a,handleExpansion:o=>{if(!s){a||t.focusItem(o,e);const i=n&&(o.shiftKey||o.ctrlKey||o.metaKey);!r||i&&t.isItemExpanded(e)||t.toggleItemExpansion(o,e)}},handleSelection:r=>{s||(a||t.focusItem(r,e),n&&(r.shiftKey||r.ctrlKey||r.metaKey)?r.shiftKey?t.selectRange(r,{end:e}):t.selectItem(r,e,!0):t.selectItem(r,e))},preventSelection:e=>{(e.shiftKey||e.ctrlKey||e.metaKey||s)&&e.preventDefault()}}}(l),y=i||a||o;return ee.jsxs("div",Id({},d,{className:wh(r,n.root,f&&n.expanded,m&&n.selected,h&&n.focused,p&&n.disabled),onClick:e=>{g(e),b(e),u&&u(e)},onMouseDown:e=>{v(e),c&&c(e)},ref:t,children:[ee.jsx("div",{className:n.iconContainer,children:y}),ee.jsx("div",{className:n.label,children:s})]}))}));function whe(e){return Ch("MuiTreeItem",e)}const She=kh("MuiTreeItem",["root","groupTransition","content","expanded","selected","focused","disabled","iconContainer","label"]),xhe=ey(ee.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"TreeViewExpandIcon"),Ehe=ey(ee.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"TreeViewCollapseIcon");function Che(e){const{children:t,itemId:n}=e,{wrapItem:r}=dhe();return r({children:t,itemId:n})}Che.propTypes={children:Hf.node,itemId:Hf.string.isRequired};const khe=["children","className","slots","slotProps","ContentComponent","ContentProps","itemId","id","label","onClick","onMouseDown","onFocus","onBlur","onKeyDown"],Rhe=["ownerState"],The=["ownerState"],Ihe=["ownerState"],_he=Wv("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),Ahe=Wv(yhe,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${She.iconContainer}`]:t.iconContainer},t.label&&{[`& .${She.label}`]:t.label}]})((({theme:e})=>({padding:e.spacing(.5,1),borderRadius:e.shape.borderRadius,width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",gap:e.spacing(1),cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${She.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${She.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${She.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wg(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:wg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wg(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${She.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:wg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${She.iconContainer}`]:{width:16,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${She.label}`]:Id({width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)}))),Ohe=Wv(Ay,{name:"MuiTreeItem",slot:"GroupTransition",overridesResolver:(e,t)=>t.groupTransition})({margin:0,padding:0,paddingLeft:12}),Nhe=U.forwardRef((function(e,t){const{icons:n,runItemPlugins:r,selection:{multiSelect:o},disabledItemsFocusable:a,instance:i}=dhe(),s=gv({props:e,name:"MuiTreeItem"}),{children:l,className:u,slots:c,slotProps:d,ContentComponent:p=yhe,ContentProps:f,itemId:m,id:h,label:g,onClick:b,onMouseDown:v,onBlur:y,onKeyDown:w}=s,S=_d(s,khe),{contentRef:x,rootRef:E}=r(s),C=Lg(t,E),k=Lg(f?.ref,x),R={expandIcon:c?.expandIcon??n.slots.expandIcon??xhe,collapseIcon:c?.collapseIcon??n.slots.collapseIcon??Ehe,endIcon:c?.endIcon??n.slots.endIcon,icon:c?.icon,groupTransition:c?.groupTransition},T=e=>Array.isArray(e)?e.length>0&&e.some(T):Boolean(e),I=T(l),_=i.isItemExpanded(m),A=i.isItemFocused(m),O=i.isItemSelected(m),N=i.isItemDisabled(m),P=Id({},s,{expanded:_,focused:A,selected:O,disabled:N}),L=(e=>{const{classes:t}=e;return eb({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],groupTransition:["groupTransition"]},whe,t)})(P),M=R.groupTransition??void 0,D=Gy({elementType:M,ownerState:{},externalSlotProps:d?.groupTransition,additionalProps:{unmountOnExit:!0,in:_,component:"ul",role:"group"},className:L.groupTransition}),j=_?R.collapseIcon:R.expandIcon,F=_d(Gy({elementType:j,ownerState:{},externalSlotProps:e=>_?Id({},zy(n.slotProps.collapseIcon,e),zy(d?.collapseIcon,e)):Id({},zy(n.slotProps.expandIcon,e),zy(d?.expandIcon,e))}),Rhe),$=I&&j?ee.jsx(j,Id({},F)):null,B=I?void 0:R.endIcon,z=_d(Gy({elementType:B,ownerState:{},externalSlotProps:e=>I?{}:Id({},zy(n.slotProps.endIcon,e),zy(d?.endIcon,e))}),The),U=B?ee.jsx(B,Id({},z)):null,H=R.icon,V=_d(Gy({elementType:H,ownerState:{},externalSlotProps:d?.icon}),Ihe),G=H?ee.jsx(H,Id({},V)):null;let W;o?W=O:O&&(W=!0);const q=i.getTreeItemId(m,h),K=i.canItemBeTabbed(m)?0:-1;return ee.jsx(Che,{itemId:m,children:ee.jsxs(_he,Id({className:wh(L.root,u),role:"treeitem","aria-expanded":I?_:void 0,"aria-selected":W,"aria-disabled":N||void 0,id:q,tabIndex:K},S,{ownerState:P,onFocus:function(e){!A&&(!N||a)&&e.currentTarget===e.target&&i.focusItem(e,m)},onBlur:function(e){y?.(e),i.removeFocusedItem()},onKeyDown:e=>{w?.(e),i.handleItemKeyDown(e,m)},ref:C,children:[ee.jsx(Ahe,Id({as:p,classes:{root:L.content,expanded:L.expanded,selected:L.selected,focused:L.focused,disabled:L.disabled,iconContainer:L.iconContainer,label:L.label},label:g,itemId:m,onClick:b,onMouseDown:v,icon:G,expansionIcon:$,displayIcon:U,ownerState:P},f,{ref:k})),l&&ee.jsx(Ohe,Id({as:M},D,{children:l}))]}))})}));function Phe(e){switch(e){case"php":return nU;case"html":return Yz;case"http":return Xz;case"pdf":return rU;case"yaml":case"yml":case"toml":case"ini":case"json":case"xml":return Bz;case"bash":case"sh":case"shell":case"bat":return pU;case"jpg":case"jpeg":case"png":case"webp":case"heic":case"ico":case"icon":case"svg":return Zz;case"js":case"jsx":case"ts":case"tsx":return Jz;case"css":case"scss":case"sass":case"less":return $z;case"txt":case"htaccess":case"md":return fU}return null}function Lhe(e){if("dir"==e.type)return Gz;if("link"==e.type)return eU;const t=Phe(e.extension);if(t)return t;if((e.baseName.match(/\./g)?.length||0)>1){const t=e.baseName.split(".").at(-2);if(t){const e=Phe(t);if(e)return e}}return Vz}const Mhe=Wv(Nhe)((({theme:e})=>({color:e.palette.text.secondary,[`& .${She.iconContainer}`]:{width:"0 !important"},[`& .${She.content}`]:{color:e.palette.text.secondary,padding:e.spacing(0,1,0,0),fontWeight:e.typography.fontWeightMedium,"&.Mui-expanded":{fontWeight:e.typography.fontWeightRegular},"&:hover":{backgroundColor:e.palette.action.hover},"&.Mui-focused, &.Mui-selected, &.Mui-selected.Mui-focused":{backgroundColor:`var(--tree-view-bg-color, ${e.palette.action.selected})`,color:"var(--tree-view-color)"},[`& .${She.label}`]:{fontWeight:"inherit",color:"inherit"}}}))),Dhe=e=>{const{fileIcon:t,fileSize:n,fileName:r,...o}=e;return te.jsx(Mhe,{label:te.jsxs(ik,{sx:{display:"flex",alignItems:"center",py:.5},children:[te.jsx(ik,{component:t,color:"inherit",sx:{mr:1}}),te.jsx(uS,{variant:"body2",sx:{fontWeight:"inherit",flexGrow:1},children:r}),te.jsx(uS,{variant:"caption",color:"inherit",sx:{whiteSpace:"nowrap"},children:n})]}),...o})},jhe=U.memo((({row:e})=>{const t=U.useMemo((()=>Ime(e.size)),[e]);return te.jsx(Dhe,{itemId:e.path,fileName:e.baseName,fileIcon:Lhe(e),fileSize:t})})),Fhe=e=>{const{onSelect:t,tree:n}=e;return te.jsx(bhe,{multiSelect:!1,sx:{py:2},onItemSelectionToggle:(e,n)=>t(n),children:n.map(((e,t)=>te.jsx(jhe,{row:e},t)))})},$he=({path:e,onClick:t})=>{const n=e.split("/").filter((e=>!!e.length)),r=[];return te.jsx("h2",{children:te.jsxs(yk,{children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"#",onClick:e=>(t("/"),!1),children:"@root"}),n.map(((e,o)=>o===n.length-1?te.jsx(uS,{color:"text.primary",children:e},o):(r.push(e),te.jsx(l_,{underline:"hover",color:"inherit",href:"#",onClick:e=>(t("/"+r.join("/")),!1),children:e},o))))]})})};const Bhe=()=>{const[e,t]=b$(),n=e.get("path")||"/",r=e.get("class")||"",o=e.get("method")||"",[a,i]=RV(),[s,l]=TV(),[u,c]=U.useState([]),[d,p]=U.useState(null);U.useEffect((()=>{(async()=>{const e=""!==r?await s({className:r,methodName:o}):await a(Xle(n));if(Array.isArray(e.data)){const t=function(e){return e.slice().sort(((e,t)=>e.path.endsWith("/")&&!t.path.endsWith("/")?t.path.endsWith("/..")?1:-1:t.path.endsWith("/")&&!e.path.endsWith("/")?e.path.endsWith("/..")?-1:1:e.path.localeCompare(t.path)))}(e.data);c(t)}else p(e.data)})()}),[n,r]),U.useLayoutEffect((()=>{if(d){if(d.startLine)return void _me(25,`L${d.startLine}`);const e=Jle(window.location.hash);_me(25,e&&`L${e[0]}`)}}));const f=e=>{t({path:e})};return te.jsxs(te.Fragment,{children:[d&&te.jsxs(te.Fragment,{children:[te.jsxs("h2",{children:[te.jsxs(Ak,{onClick:()=>{p(null),f(d.directory)},children:[te.jsx(mU,{})," Back"]}),d.path]}),te.jsx(Bae,{language:d.extension,code:d.content,highlightLines:Jle(window.location.hash)}),te.jsxs(ik,{children:[te.jsxs(uS,{children:["Directory: @root",d.directory]}),te.jsxs(uS,{children:["Permissions: ",d.permissions]}),te.jsxs(uS,{children:["Owner: ",d.user?.name??d.user.uid,":",d.group?.name??d.group.gid]}),te.jsxs(uS,{children:["Size: ",Ime(d.size)]})]})]}),!d&&te.jsxs(te.Fragment,{children:[te.jsx($he,{path:n,onClick:f}),te.jsx(Fhe,{tree:u,onSelect:f})]}),l.error&&"status"in l.error&&404===l.error.status&&te.jsx(uS,{children:"File not found"})]})},zhe=()=>{const e=pG(),[t,n]=fG(),r=U.useContext(Ufe);U.useEffect((()=>{r.setItems([{title:"Log",href:"/inspector/git/log"}])}),[]);const o=U.useCallback((()=>t({command:"pull"})),[]),a=U.useCallback((()=>t({command:"fetch"})),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Git log"}),e.isSuccess&&te.jsx(te.Fragment,{children:te.jsxs(ik,{children:[te.jsxs(ik,{display:"flex",children:[te.jsx(Ak,{variant:"outlined",onClick:()=>e.refetch(),color:e.isSuccess?"primary":"error",disabled:e.isFetching,startIcon:te.jsx(oU,{}),endIcon:e.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"}),te.jsx(Ak,{variant:"outlined",sx:{marginLeft:"auto"},onClick:o,color:n.isSuccess||n.isUninitialized?"primary":"error",disabled:n.isLoading,startIcon:te.jsx(Wz,{}),endIcon:n.isLoading&&"pull"===n.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Pull"}),te.jsx(Ak,{variant:"outlined",onClick:a,color:n.isSuccess||n.isUninitialized?"primary":"error",disabled:n.isLoading,startIcon:te.jsx(dU,{}),endIcon:n.isLoading&&"fetch"===n.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Fetch"})]}),te.jsxs(f_,{children:[te.jsx(A_,{children:te.jsx(V_,{primary:"Branch",secondary:e.data.currentBranch})}),te.jsx(iT,{children:"History"}),e.data.commits.map(((e,t)=>te.jsx(A_,{children:te.jsx(V_,{primary:te.jsxs(te.Fragment,{children:[te.jsxs(uS,{sx:{display:"inline"},component:"span",variant:"body2",color:"text.primary",children:[e.sha,": "]}),e.message]}),secondary:`by ${e.author.name} (${e.author.email})`})},t)))]})]})})]})},Uhe=({open:e,currentBranch:t,branches:n,onCancel:r,onCheckout:o,...a})=>{const[i,s]=U.useState(t);return te.jsxs(DR,{fullWidth:!0,open:e,onClose:r,...a,children:[te.jsx(JR,{children:"Checkout"}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Select a branch to checkout"}),te.jsx(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",m:"auto"},children:te.jsxs(MT,{sx:{mt:2,flexGrow:.9},children:[te.jsx(MI,{htmlFor:"max-width",children:"Branch"}),te.jsx(sO,{autoFocus:!0,fullWidth:!0,value:i,onChange:e=>{s(e.target.value)},label:"Branch",children:n.map(((e,t)=>te.jsx(xA,{value:e,children:e},t)))})]})})]}),te.jsxs(BR,{children:[te.jsx(Ak,{variant:"outlined",color:"error",onClick:r,children:"Cancel"}),te.jsx(Ak,{variant:"contained",color:"primary",onClick:()=>{o({branch:i})},children:"Checkout"})]})]})},Hhe=()=>{const e=U.useContext(Ufe),t=dG(),[n,r]=mG(),[o,a]=fG();U.useEffect((()=>{e.setItems([])}),[]);const[i,s]=U.useState(!1),l=U.useCallback((async({branch:e})=>{await n({branch:e}),s(!1)}),[]),u=U.useCallback((()=>o({command:"pull"})),[]),c=U.useCallback((()=>o({command:"fetch"})),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Git"}),t.isSuccess&&te.jsxs(te.Fragment,{children:[te.jsxs(ik,{children:[te.jsxs(ik,{display:"flex",children:[te.jsx(Ak,{variant:"outlined",onClick:()=>t.refetch(),color:t.isSuccess?"primary":"error",disabled:t.isFetching,startIcon:te.jsx(oU,{}),endIcon:t.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"}),te.jsx(Ak,{variant:"outlined",sx:{marginLeft:"auto"},onClick:u,color:a.isSuccess||a.isUninitialized?"primary":"error",disabled:a.isLoading,startIcon:te.jsx(Wz,{}),endIcon:a.isLoading&&"pull"===a.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Pull"}),te.jsx(Ak,{variant:"outlined",onClick:c,color:a.isSuccess||a.isUninitialized?"primary":"error",disabled:a.isLoading,startIcon:te.jsx(dU,{}),endIcon:a.isLoading&&"fetch"===a.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Fetch"})]}),te.jsxs(f_,{children:[te.jsxs(A_,{children:[te.jsx(V_,{primary:"Branch",secondary:t.data.currentBranch}),te.jsx(k_,{children:te.jsx(Ak,{onClick:()=>s(!0),color:"primary",children:"Checkout"})})]}),te.jsxs(A_,{children:[te.jsx(V_,{primary:"Last commit: "+t.data.lastCommit.sha,secondary:te.jsxs(te.Fragment,{children:[t.data.lastCommit.message," ",te.jsxs(uS,{sx:{display:"inline"},component:"span",variant:"body2",color:"text.primary",children:["by ",t.data.lastCommit.author.name," (",t.data.lastCommit.author.email,")"]})]})}),te.jsx(k_,{children:te.jsx(Ak,{color:"primary",href:"/inspector/git/log",children:"Show log"})})]}),t.data.remotes.length>0&&t.data.remotes.map(((e,t)=>te.jsx(A_,{children:te.jsx(V_,{primary:"Remote: "+e.name,secondary:e.url})},t)))]}),te.jsx(iT,{children:"Status"}),te.jsx(Bae,{showLineNumbers:!1,language:"plain/text",code:t.data.status.join("\n")})]}),te.jsx(Uhe,{open:i,onCancel:()=>s(!1),onCheckout:l,branches:t.data.branches,currentBranch:t.data.currentBranch})]})]})},Vhe=()=>{const e=DV(),t=U.useRef();return U.useEffect((()=>{if(e.data){const n=t.current?.shadowRoot??t.current?.attachShadow({mode:"open"}),r=document.createElement("div");r.innerHTML=e.data||"",n?.appendChild(r)}}),[e.data]),te.jsx(te.Fragment,{children:!e.isLoading&&e.data&&te.jsx(ik,{ref:t})})},Ghe=[{field:"name",headerName:"Name",width:150,renderCell:e=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:e.value})},{field:"method",headerName:"method",width:80,renderCell:e=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:e.value})},{field:"pattern",headerName:"Pattern",width:300,renderCell:e=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:e.value})},{field:"action",headerName:"Action",flex:1,renderCell:e=>{const t=e.value;if(!Array.isArray(t))return t;const n=t[0],r=t[1];return te.jsxs("div",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(kue(n,r)),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+n,children:te.jsx(tU,{fontSize:"small"})})}),te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:kue(n.split("\\").pop(),r)})]})}},{field:"middlewares",headerName:"Middlewares",flex:1,renderCell:e=>te.jsx(Hae,{depth:0,value:e.value})}];const Whe=()=>{const{data:e,isLoading:t,isSuccess:n}=PV(),[r,o]=LV(),[a,i]=U.useState([]),[s,l]=U.useState("");U.useEffect((()=>{if(!n)return;const t=function(e){const t=[];let n=0;for(const r of e){let e;if(Array.isArray(r.middlewares)){const t=r.middlewares.at(-1);Array.isArray(t)&&(e=[t[0],t[1]])}for(const o of r.methods.filter((e=>!["OPTIONS","HEAD"].includes(e))))t.push({id:String(n++),name:r.name,pattern:r.pattern,method:o,middlewares:r.middlewares,action:e})}return t.sort(((e,t)=>e.pattern.localeCompare(t.pattern)))}(e);i(t)}),[n,e]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Check route"}),te.jsxs(Ly,{component:"form",onSubmit:async e=>{e.preventDefault(),console.log("route",s);const t=await r(s);console.log(t.data)},sx:{p:[.5,1],my:2,display:"flex",alignItems:"center"},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:"/site/index, POST /auth/login, DELETE /user/1",value:s,onChange:e=>l(e.target.value)}),te.jsx(Uw,{type:"submit",sx:{p:2},children:te.jsx(SU,{})})]}),te.jsxs(YT,{variant:"outlined",children:["Add an HTTP verb in the beginning of the path such as GET, POST, PUT, PATCH and etc. to check different methods. ",te.jsx("br",{}),"Default method is GET and it can be omitted."]}),o.data&&te.jsx(nS,{severity:o.data.result?"success":"error",children:o.data.result?te.jsx(mS,{children:Cme(o.data.action)}):te.jsx(mS,{children:"Route is invalid"})}),te.jsx("h2",{children:"Routes"}),te.jsx(p0,{rows:a,getRowId:e=>e.id,columns:Ghe})]})},qhe=()=>{const{table:e}=DF(),{data:t,isLoading:n}=MV(e),[r,o]=U.useState(""),[a,i]=U.useState([]),[s,l]=U.useState([]);U.useEffect((()=>{if(t){const e=[];console.log(t);for(const n of t.columns)console.log("column",n),e.push({field:n.name,headerName:n.name,flex:1,renderCell:e=>te.jsx("span",{style:{wordBreak:"break-all",maxHeight:"100px",overflowY:"hidden"},children:e.value})});o(t.primaryKeys[0]),l(t.records),i(e)}}),[n]);const u=U.useCallback((e=>e[r]),[r]);return n?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:te.jsxs(yk,{children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/inspector/database",children:"Database"}),te.jsx(uS,{children:e})]})}),te.jsx(p0,{rows:s,getRowId:u,columns:a})]})};var Khe={},Yhe=Rb;Object.defineProperty(Khe,"__esModule",{value:!0});var Xhe=Khe.default=void 0,Zhe=Yhe(yU()),Qhe=ee;Xhe=Khe.default=(0,Zhe.default)((0,Qhe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");const Jhe=Wv(ik)({height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center"}),ege=[{field:"name",headerName:"Name",width:200,renderCell:e=>te.jsxs("span",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(e.row.path),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a file in new window",children:te.jsx(Uw,{size:"small",href:"/inspector/files?path="+Qle(e.row.path),children:te.jsx(Vz,{fontSize:"small"})})}),e.value]},e.id)},{field:"status",headerName:"Status",width:80,renderCell:e=>te.jsx(Jhe,{children:"ok"===e.value?te.jsx(SU,{color:"success"}):te.jsx(Xhe,{color:"error"})},e.id)},{field:"time",headerName:"Time (ms)",width:100,renderCell:e=>te.jsx(Jhe,{children:e.value?.toFixed(2)},e.id)},{field:"stacktrace",headerName:"Stacktrace",flex:1,renderCell:e=>te.jsx(Hae,{value:e.value,depth:0},e.id)}],tge=()=>{const[e,t]=_V(),[n,r]=U.useState([]),[o,a]=U.useState(null);const i=U.useCallback((e=>e.id),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Tests"}),te.jsxs(ik,{display:"flex",alignItems:"center",children:[te.jsx(Ak,{onClick:async function(){const t=await e("test/codeception");if(!("data"in t)||"object"!=typeof t.data)return void console.error(t);let n=0;const o=[];for(const e of t.data.result){const t=[e.suite].concat(e.test).filter((e=>!!e)).join("::");n++,o.push({id:n,name:t,status:e.status,stacktrace:e.stacktrace,path:e.file,time:e.time})}a({isSuccessful:"ok"===t.data.status,errors:t.data.errors}),r(o)},color:null===o?"primary":o.isSuccessful?"success":"error",disabled:t.isLoading,endIcon:t.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Run Codeception"}),!t.isLoading&&o&&te.jsxs(te.Fragment,{children:[!0===o.isSuccessful&&te.jsx(Lz,{color:"success"}),!1===o.isSuccessful&&te.jsx(Hz,{color:"error"})]})]}),t.isSuccess&&te.jsx(p0,{rows:n,getRowId:i,columns:ege})]})},nge=U.createContext({updater:()=>null}),rge=({updater:e,children:t})=>te.jsx(nge.Provider,{value:{updater:e},children:t}),oge=e=>{const{updater:t}=U.useContext(nge);return te.jsx(Hae,{editable:!0,onChange:(n,r,o)=>{t(e.row[0],String(n[0]),String(n[1]),String(o))},value:e.value})},age=[{field:"0",headerName:"Name",width:200,renderCell:e=>te.jsx("span",{style:{wordBreak:"break-all"},children:e.value})},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(oge,{...e})}],ige=()=>{const{data:e,isLoading:t}=AV(),[n]=OV();U.useState({});const[r,o]=b$(),a=r.get("filter")||"",i=U.useMemo((()=>{const t=Array.isArray(e);return Object.entries(e||[]).map((e=>({0:e[0],1:t?Object.assign({},e[1]):e[1]})))}),[e]),s=U.useMemo((()=>{const e=new RegExp(ume(a||""),"i");return i.filter((t=>t[0].match(e)))}),[i,a]),l=U.useCallback((async e=>{o({filter:e})}),[]),u=U.useCallback(((e,t,r,o)=>{const a={category:e,locale:t,translation:r,message:o};console.log(a),n(a)}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Translations"}),te.jsx(Kfe,{value:a,onChange:l}),te.jsx(rge,{updater:u,children:te.jsx(p0,{rows:s,getRowId:e=>e[0],columns:age})})]})},sge={routes:[{path:"inspector",children:[{path:"tests",element:te.jsx(tge,{})},{path:"analyse",element:te.jsx(qfe,{})},{path:"routes",element:te.jsx(Whe,{})},{path:"events",element:te.jsx(Tme,{})},{path:"files",element:te.jsx(Bhe,{})},{path:"translations",element:te.jsx(ige,{})},{path:"commands",element:te.jsx(Zfe,{})},{path:"database",children:[{index:!0,element:te.jsx(Eme,{})},{path:":table",element:te.jsx(qhe,{})}]},{path:"phpinfo",element:te.jsx(Vhe,{})},{path:"composer",element:te.jsx(nme,{})},{path:"container",children:[{path:"view",element:te.jsx(Sme,{})}]},{path:"git",element:te.jsx(Hfe,{children:te.jsx(Vfe,{})}),children:[{index:!0,element:te.jsx(Hhe,{})},{path:"log",element:te.jsx(zhe,{})}]},{path:"cache",element:te.jsx(Yfe,{})},{path:"config",element:te.jsx(hme,{})},{path:"config/:page",element:te.jsx(hme,{})}]}],reducers:hG,middlewares:gG,standaloneModule:!1},lge=e=>{const t=IG((e=>e.application.baseUrl)),[n,r]=U.useState(t+"/docs/openapi.json"),o=gd.useDispatch(),a=SG(),i=()=>{e.onClose()},s=()=>{o(vG(n))},l=e=>()=>o(wG(e));return te.jsxs(DR,{fullWidth:!0,open:!0,onClose:i,children:[te.jsx(JR,{children:"Open API entries"}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Create, edit or delete Open API entries."}),te.jsx(f_,{children:Object.entries(a).map((([e,t],n)=>te.jsx(A_,{children:te.jsxs(w_,{onClick:()=>{r(t)},children:[te.jsx(V_,{primary:t,secondary:e}),te.jsx(k_,{children:te.jsx(Uw,{onClick:l(e),sx:{p:2},children:te.jsx(aU,{})})})]})},n)))}),te.jsxs(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",p:[.5,1],alignItems:"center"},onSubmit:e=>{e.preventDefault(),s()},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:"http://localhost/docs/openapi.json",value:n,onChange:e=>r(e.target.value)}),te.jsx(Uw,{onClick:s,sx:{p:2},children:te.jsx(SU,{})})]}),te.jsx(YT,{variant:"outlined",children:"Please make sure you entered the full path to the Open API json schema. For example: http://localhost/docs/openapi.json"})]}),te.jsx(BR,{children:te.jsx(Ak,{onClick:i,color:"primary",children:"Close"})})]})},uge=U.memo((()=>te.jsx(xie,{title:"No Open API entries found",text:te.jsx(te.Fragment,{children:te.jsx(uS,{children:"Click on settings button and add new Open API entry."})}),severity:"info",icon:te.jsx(Uz,{})}))),cge=()=>{const[e,t]=U.useState(""),[n,r]=U.useState(!1);hv();const o=SG();return U.useEffect((()=>{o&&Object.keys(o).length&&t(Object.keys(o)[0])}),[o]),te.jsxs(te.Fragment,{children:[te.jsx(Yse,{value:e,children:te.jsxs(jT,{children:[te.jsxs(jT,{direction:"row",justifyContent:"space-between",children:[te.jsx(pL,{value:e,onChange:(e,n)=>t(n),scrollButtons:"auto",variant:"scrollable",allowScrollButtonsMobile:!0,sx:{maxWidth:"100%"},children:Object.keys(o).map(((e,t)=>te.jsx(mP,{label:e,value:e,wrapped:!0},t)))}),te.jsx(Uw,{onClick:()=>r(!0),children:te.jsx(lU,{})})]}),0===Object.keys(o).length?te.jsx(uge,{}):te.jsx(te.Fragment,{children:"Temporary disabled"})]})}),n&&te.jsx(lge,{onClose:()=>{r(!1)}})]})},dge=[MG,oce,Ffe,sge,{routes:[{path:"/open-api",element:te.jsx(cge,{})}],reducers:EG,middlewares:CG,standaloneModule:!1},cce];var pge={},fge=Rb;Object.defineProperty(pge,"__esModule",{value:!0});var mge=pge.default=void 0,hge=fge(yU()),gge=ee;mge=pge.default=(0,hge.default)((0,gge.jsx)("path",{d:"M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7.68 5 10v1h14v-1c0-2.32-1.14-4.36-2.88-5.63M9 9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"Adb");var bge={},vge=Rb;Object.defineProperty(bge,"__esModule",{value:!0});var yge=bge.default=void 0,wge=vge(yU()),Sge=ee;yge=bge.default=(0,wge.default)((0,Sge.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");const xge=U.memo((e=>{const t=function(e={}){const{getTrigger:t=DL,target:n=jL}=e,r=_d(e,ML),o=U.useRef(),[a,i]=U.useState((()=>t(o,r)));return U.useEffect((()=>{const e=()=>{i(t(o,Id({target:n},r)))};return e(),n.addEventListener("scroll",e,{passive:!0}),()=>{n.removeEventListener("scroll",e,{passive:!0})}}),[n,t,JSON.stringify(r)]),a}({disableHysteresis:!0,threshold:100});return te.jsx(GC,{in:t,children:te.jsx(ik,{onClick:e=>{(e.target.ownerDocument||document).querySelector("body")?.scrollIntoView({block:"start",behavior:"smooth"})},role:"presentation",sx:{position:"fixed",bottom:e.bottomOffset?68:18,right:16,zIndex:100},children:te.jsx(kT,{size:"small",children:te.jsx(yge,{})})})})}));function Ege(e){return te.jsxs(Jv,{width:"128",height:"128",viewBox:"0 0 128 128",fill:"none",...e,children:[te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8408C69.107 54.6204 66.3466 50.6693 66.3448 50.6758C66.3395 50.6937 63.8596 64.1219 59.4008 73.8374C58.6566 75.4599 57.6681 77.4858 56.6706 79.1173C53.5924 84.5783 49.1259 89.8028 46.4639 95.0981C43.8245 100.346 43.3347 105.544 43.5802 111.453C43.8274 117.395 45.1937 123.223 46.5054 129C51.4499 127.928 55.7533 126.094 59.4761 123.749C69.2731 117.577 75.193 107.706 76.8753 97.0716C76.8753 97.0716 76.9572 96.6396 76.9939 96.1129C77.7524 87.8936 77.5015 85.3005 77.2531 82.0012Z",fill:e.monochromeColor??"#40B3D8"}),te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8409C69.107 54.6204 66.3466 50.6693 66.3448 50.6758L66.3442 50.6788C66.3442 50.677 66.3448 50.6753 66.3448 50.6753L65.686 49.6909C51.2382 29.312 23.5302 19.1371 0.119787 28.5678C-1.00751 42.8522 5.5831 67.4296 29.6275 74.2849C39.3479 77.2898 47.1316 76.5104 56.6712 79.1167C56.6706 79.1167 56.6706 79.1173 56.6706 79.1173C56.6706 79.1173 66.3674 82.5131 72.0086 87.6053C74.546 89.8952 77.087 92.909 76.9595 96.4937C77.7631 87.9628 77.5057 85.3529 77.2531 82.0012Z",fill:e.monochromeColor??"#83C933"}),te.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.7534 38.717C63.3372 28.6738 64.7847 21.9442 71.0349 12.5791C74.0159 8.1108 79.1626 2.92804 83.6735 0C101.873 11.4595 108.603 32.8043 101.909 52.6279C97.0385 67.0518 92.4683 73.0997 80.9125 87.9401C82.2592 72.0462 76.6921 61.0271 71.2264 48.7834C69.8353 45.6683 67.9116 42.1223 66.7534 38.717Z",fill:e.monochromeColor??"#F18A2A"}),te.jsx("path",{d:"M76.9596 96.4936C77.0871 92.909 74.546 89.8951 72.0086 87.6053C66.3674 82.5131 56.6712 79.1173 56.6712 79.1173C57.6687 77.4858 58.6572 75.4599 59.4014 73.8374C63.8602 64.1219 66.3401 50.6937 66.3454 50.6758C66.3472 50.6699 69.107 54.6204 70.9027 58.8409C72.6989 63.0625 76.3867 70.5101 77.2537 82.0012C77.5057 85.3529 77.7631 87.9628 76.9596 96.4936Z",fill:e.monochromeColor??"#7FB93C"})]})}const Cge=e=>te.jsx(cT,{...e,direction:"up"}),kge=U.memo((()=>{const e=IG((e=>e.notifications.notifications)),t=gd.useDispatch(),n=e=>(n,r)=>{"clickaway"!==r&&t(A$(e))};return te.jsx(te.Fragment,{children:e.map(((e,t)=>te.jsx(OO,{open:e.shown,onClose:n(t),TransitionComponent:Cge,autoHideDuration:3e3,anchorOrigin:{vertical:"top",horizontal:"right"},sx:{top:{xs:"85px",sm:"70px"}},children:te.jsxs(nS,{onClose:n(t),severity:e.color,sx:{width:"100%"},children:[e.title&&e.title.length>0&&te.jsx(mS,{children:e.title}),e.text]})},e.text+t)))})})),Rge=[{name:"Gii",link:"/gii"},{name:"Debug",link:"/debug"},{name:"Config",items:[{name:"Configuration",link:"/inspector/config"},{name:"Events",link:"/inspector/events"},{name:"Routes",link:"/inspector/routes"}]},{name:"Inspector",link:"#",items:[{name:"Tests",link:"/inspector/tests"},{name:"Analyse",link:"/inspector/analyse"},{name:"File Explorer",link:"/inspector/files"},{name:"Translations",link:"/inspector/translations"},{name:"Commands",link:"/inspector/commands"},{name:"Database",link:"/inspector/database"},{name:"Cache",link:"/inspector/cache"},{name:"Git",link:"/inspector/git"},{name:"PHP Info",link:"/inspector/phpinfo"},{name:"Composer",link:"/inspector/composer"}]},{name:"Open API",link:"/open-api"},{name:"Frames",link:"/frames"}],Tge=Wv(l_)((({theme:e})=>({margin:e.spacing(2,1),color:"white"}))),Ige=e=>{const{href:t,name:n,onClick:r,...o}=e;return t?te.jsx(Tge,{href:t,...o,children:n}):te.jsx(Tge,{onClick:e=>(e.preventDefault(),!!r&&r(e)),...o,children:n})},_ge=U.memo((({children:t})=>{const[n,r]=U.useState({}),o=(e,t)=>{r({...n,[e]:t.currentTarget})},a=e=>{const t={...n};delete t[e],r(t)},[i,s]=U.useState(null),l=e=>{s(e.currentTarget)},u=()=>s(null);return te.jsxs(te.Fragment,{children:[te.jsx(wR,{}),te.jsx(wS,{position:"static",color:"primary",children:te.jsx(bR,{children:te.jsxs(RP,{disableGutters:!0,children:[te.jsx(l_,{href:"/",children:te.jsx(Ege,{sx:{display:"flex",mr:1}})}),te.jsx(uS,{variant:"h6",children:te.jsx(l_,{href:"/",sx:{color:"white",textDecoration:"none"},children:"Yii Dev Panel"})}),te.jsx(ik,{sx:{flexGrow:1,display:"flex"},children:Rge.map((e=>{if(!e.items)return te.jsx(Ige,{name:e.name,href:e.link},e.name);const t=e.name;return te.jsxs(U.Fragment,{children:[te.jsx(Ige,{name:e.name,onMouseOver:o.bind(void 0,t)}),te.jsx(bA,{anchorEl:n[t],keepMounted:!0,open:Boolean(n[t]),onClose:a.bind(void 0,t),MenuListProps:{onMouseLeave:a.bind(void 0,t)},children:e.items.map((e=>te.jsx(xA,{href:e.link,onClick:a.bind(void 0,t),component:l_,children:e.name},e.name)))})]},e.name)}))}),te.jsxs("div",{children:[te.jsx(Uw,{size:"large",onClick:l,onMouseOver:l,color:"inherit",children:te.jsx(mge,{})}),te.jsxs(bA,{keepMounted:!0,open:Boolean(i),anchorEl:i,onClose:u,MenuListProps:{onMouseLeave:u},children:[te.jsxs(xA,{component:l_,href:"https://github.com/yiisoft/yii-dev-panel",target:"_blank",children:[te.jsx($_,{children:te.jsx(qz,{fontSize:"small"})}),te.jsx(V_,{children:"Open Github"})]}),te.jsxs(xA,{component:l_,onClick:()=>{"location"in window&&window.location.reload()},children:[te.jsx($_,{children:te.jsx(oU,{fontSize:"small"})}),te.jsx(V_,{children:"Refresh page"})]}),te.jsxs(xA,{component:"span",disableTouchRipple:!0,disableRipple:!0,children:[te.jsx($_,{children:te.jsx(Fz,{fontSize:"small"})}),te.jsxs(V_,{children:["Build ",te.jsx("b",{children:e.buildVersion})]})]})]})]})]})})}),te.jsx(kge,{}),te.jsx(bR,{children:te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname],children:te.jsx(KF,{})})}),t,te.jsx(xge,{bottomOffset:!!t})]})})),Age=()=>{const e=LF(),t=NF(),n=function(){let{matches:e,loaderData:t}=GF(VF.UseMatches);return U.useMemo((()=>e.map((e=>cj(e,t)))),[e,t])}();return console.log("location",t),console.log("matches",n),te.jsx(xie,{title:"Unknown page",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Looks like the page doesn't exist anymore."}),te.jsxs(uS,{children:["Try to ",te.jsx(l_,{onClick:()=>e(-1),children:"go back"}),"  or open"," ",te.jsx(l_,{href:"/",children:"the main page"}),"."]})]}),icon:te.jsx(Ege,{monochromeColor:"#e65151"}),severity:"error"})};var Oge={},Nge=Rb;Object.defineProperty(Oge,"__esModule",{value:!0});var Pge=Oge.default=void 0,Lge=Nge(yU()),Mge=ee;Pge=Oge.default=(0,Lge.default)((0,Mge.jsx)("path",{d:"M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5zm2.5-.5h1.5V15H10v-4.5h1.5V9H7zm5.5 0H14V15h1.5v-4.5H17V9h-4.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5m0 2.5h-2v-1h2z"}),"Http");var Dge={},jge=Rb;Object.defineProperty(Dge,"__esModule",{value:!0});var Fge=Dge.default=void 0,$ge=jge(yU()),Bge=ee;Fge=Dge.default=(0,$ge.default)((0,Bge.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");var zge={},Uge=Rb;Object.defineProperty(zge,"__esModule",{value:!0});var Hge=zge.default=void 0,Vge=Uge(yU()),Gge=ee;Hge=zge.default=(0,Vge.default)((0,Gge.jsx)("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"}),"SyncAlt");const Wge=H.memo((({entry:e,onClick:t,selected:n,rightText:r})=>te.jsxs(w_,{onClick:()=>t(e),defaultChecked:n,children:[te.jsx($_,{children:te.jsx(ece,{entry:e})}),te.jsx(V_,{primary:e.request?.path??e.command?.input}),r&&te.jsx(oN,{title:"The request was made by the current page",children:te.jsx(Hge,{})})]}))),qge=(e,t)=>n=>{let r=!1;return e.includes("web")&&Die(n)&&(r=!0),e.includes("console")&&Mie(n)&&(r=!0),e.includes("current")&&t.includes(n.id)&&(r=!0),r},Kge=({onClick:e,onClose:t,open:n})=>{const r=lV(),o=XV(),[a,i]=U.useState([]),[s,l]=U.useState((()=>["web","console","current"])),u=gd.useSelector((e=>e[qV.name]?.currentPageRequestIds));return U.useEffect((()=>{!r.isFetching&&r.data&&r.data.length>0&&i(r.data)}),[r.isFetching]),te.jsxs(DR,{fullWidth:!0,onClose:()=>t(),open:n,children:[te.jsx(JR,{children:"Select a debug entry"}),te.jsxs(f_,{sx:{pt:0},children:[te.jsxs(LL,{fullWidth:!0,size:"small",color:"primary",value:s,onChange:(e,t)=>{l(t)},children:[te.jsx(IL,{value:"web",children:te.jsx(Pge,{})}),te.jsx(IL,{value:"console",children:te.jsx(Xue,{})}),te.jsx(IL,{value:"current",children:"Current"}),te.jsx(Ak,{color:"primary",onClick:()=>r.refetch(),disabled:r.isFetching,children:r.isFetching?te.jsx(hR,{size:24,color:"info"}):te.jsx(Fge,{})})]}),a.filter(qge(s,u)).map((t=>te.jsx(Wge,{entry:t,onClick:e,selected:o&&t.id===o.id,rightText:u.includes(t.id)?"Current":null},t.id)))]})]})},Yge=({data:e})=>{if(!e.command)return null;const[t,n]=U.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(oN,{title:"Click to see more options",arrow:!0,children:te.jsx(Ak,{startIcon:te.jsx(pU,{fontSize:"small"}),color:(a=e.command.exitCode,0===a?"success":"error"),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:e.command.name})}),te.jsxs(bA,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(iU,{fontSize:"small"})}),"Repeat"]}),e.command.class&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(Bz,{fontSize:"small"})}),te.jsx(V_,{children:"Class"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:e.command.class})]}),e.command.input&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(Qz,{fontSize:"small"})}),te.jsx(V_,{children:"Input"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:e.command.input})]})]})]});var a},Xge=U.forwardRef(((e,t)=>{const{data:n,...r}=e;return te.jsx(rk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(Ak,{ref:t,color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:Pse(Lse((n.web||n.console).request.startTime),"do MMM HH:mm:ss")})})}));Xge.displayName=Ak.name;const Zge=U.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(rk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(Ak,{ref:t,href:`/debug?collector=${Pie.EventCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${Pie.EventCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Events"})})}));Zge.displayName=Ak.name;const Qge=U.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(rk,{color:"secondary",badgeContent:String(n.logger?.total),children:te.jsx(Ak,{ref:t,href:`/debug?collector=${Pie.LogCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${Pie.LogCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Logs"})})})),Jge=e=>{const{data:t,iframeUrlHandler:n,...r}=e,o=Die(t)?Pie.WebAppInfoCollector:Pie.ConsoleAppInfoCollector;return te.jsx(oN,{title:`${(t.web||t.console).memory.peakUsage.toLocaleString(void 0)} bytes`,arrow:!0,children:te.jsx(Ak,{href:`/debug?collector=${o}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${o}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:Ime((t.web||t.console).memory.peakUsage)})})},ebe=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return te.jsx(oN,{title:`${(1e3*(t.web||t.console).request.processingTime).toFixed(1)} ms`,arrow:!0,children:te.jsxs(Ak,{href:`/debug?collector=${Pie.TimelineCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${Pie.TimelineCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[(t.web||t.console).request.processingTime.toFixed(3)," s"]})})},tbe=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return t.validator&&0!==t.validator.total?te.jsx(rk,{color:"secondary",badgeContent:String(t.validator.total),children:te.jsx(Ak,{href:`/debug?collector=${Pie.ValidatorCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${Pie.ValidatorCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:0===t.validator.invalid?"info":"warning",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Validator"})}):null};function nbe(e,t){return Object.keys(t).forEach((function(n){"default"===n||"__esModule"===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})),e}function rbe(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var obe={},abe={};rbe(abe,"ContextMenu",(()=>gbe));var ibe={};rbe(ibe,"nestedMenuItemsFromObject",(()=>hbe));var sbe={};rbe(sbe,"IconMenuItem",(()=>dbe));const lbe=Wv(xA)({display:"flex",justifyContent:"space-between",paddingLeft:"4px",paddingRight:"4px"}),ube=Wv(uS)({paddingLeft:"8px",paddingRight:"8px",textAlign:"left"}),cbe=Wv(Rh)({display:"flex"}),dbe=U.forwardRef((function({MenuItemProps:e,className:t,label:n,leftIcon:r,renderLabel:o,rightIcon:a,...i},s){return ee.jsxs(lbe,{...e,ref:s,className:t,...i,children:[ee.jsxs(cbe,{children:[r,o?o():ee.jsx(ube,{children:n})]}),a]})}));var pbe={};rbe(pbe,"NestedMenuItem",(()=>mbe));const fbe=e=>ee.jsx(Jv,{...e,children:ee.jsx("path",{d:"M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z"})}),mbe=U.forwardRef((function(e,t){const{parentMenuOpen:n,label:r,renderLabel:o,rightIcon:a=ee.jsx(fbe,{}),leftIcon:i=null,children:s,className:l,tabIndex:u,ContainerProps:c={},MenuProps:d,...p}=e,{ref:f,...m}=c,h=U.useRef(null);U.useImperativeHandle(t,(()=>h.current));const g=U.useRef(null);U.useImperativeHandle(f,(()=>g.current));const b=U.useRef(null),[v,y]=U.useState(!1),w=()=>{const e=g.current?.ownerDocument.activeElement??null;if(null==b.current)return!1;for(const t of b.current.children)if(t===e)return!0;return!1},S=v&&n;let x;return e.disabled||(x=void 0!==u?u:-1),ee.jsxs("div",{...m,ref:g,onFocus:e=>{e.target===g.current&&y(!0),m.onFocus&&m.onFocus(e)},tabIndex:x,onMouseEnter:e=>{y(!0),m.onMouseEnter&&m.onMouseEnter(e)},onMouseLeave:e=>{y(!1),m.onMouseLeave&&m.onMouseLeave(e)},onKeyDown:e=>{if("Escape"===e.key)return;w()&&e.stopPropagation();const t=g.current?.ownerDocument.activeElement;if("ArrowLeft"===e.key&&w()&&g.current?.focus(),"ArrowRight"===e.key&&e.target===g.current&&e.target===t){const e=b.current?.children[0];e?.focus()}},children:[ee.jsx(dbe,{MenuItemProps:p,className:l,ref:h,leftIcon:i,rightIcon:a,label:r,renderLabel:o}),ee.jsx(bA,{style:{pointerEvents:"none"},anchorEl:h.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:S,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,onClose:()=>{y(!1)},...d,children:ee.jsx("div",{ref:b,style:{pointerEvents:"auto"},children:s})})]})}));function hbe({menuItemsData:e,isOpen:t,handleClose:n}){return e.map((e=>{const{leftIcon:r,rightIcon:o,label:a,items:i,callback:s,sx:l,disabled:u}=e;return i&&i.length>0?ee.jsx(mbe,{leftIcon:r,rightIcon:o,label:a,parentMenuOpen:t,sx:l,disabled:u,children:hbe({handleClose:n,isOpen:t,menuItemsData:i})},a):ee.jsx(dbe,{leftIcon:r,rightIcon:o,label:a,onClick:t=>{n(),s&&s(t,e)},sx:l,disabled:u},a)}))}mbe.displayName="NestedMenuItem";const gbe=U.forwardRef((function({children:e,menuItems:t,menuItemsData:n},r){const o=r??U.useRef(null),[a,i]=U.useState(null),[s,l]=U.useState(null),u=t??(n&&hbe({handleClose:()=>i(null),isOpen:!!a,menuItemsData:n}));return ee.jsxs("div",{ref:o,onContextMenu:e=>e.preventDefault(),onMouseDown:e=>{if(null!==a&&i(null),2!==e.button)return;const t=o.current.getBoundingClientRect();e.clientXt.right||e.clientYt.bottom||l({left:e.clientX,top:e.clientY})},onMouseUp:e=>{const t=e.clientY,n=e.clientX;null!==s&&s.top===t&&s.left===n&&i({left:e.clientX,top:e.clientY})},children:[a&&ee.jsx(bA,{onContextMenu:e=>e.preventDefault(),open:!!a,onClose:()=>i(null),anchorReference:"anchorPosition",anchorPosition:a,children:u}),e]})}));var bbe={};rbe(bbe,"NestedDropdown",(()=>ybe));const vbe=e=>ee.jsx(Jv,{...e,children:ee.jsx("path",{d:"M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z"})}),ybe=U.forwardRef((function(e,t){const[n,r]=U.useState(null),o=Boolean(n),{menuItemsData:a,onClick:i,ButtonProps:s,MenuProps:l,...u}=e,c=()=>r(null),d=hbe({handleClose:c,isOpen:o,menuItemsData:a?.items??[]});return ee.jsxs("div",{ref:t,...u,children:[ee.jsx(Ak,{onClick:e=>{r(e.currentTarget),i&&i(e)},endIcon:ee.jsx(vbe,{}),...s,children:a?.label??"Menu"}),ee.jsx(bA,{anchorEl:n,open:o,onClose:c,...l,children:d})]})}));nbe(obe,abe),nbe(obe,sbe),nbe(obe,bbe),nbe(obe,pbe),nbe(obe,ibe);const wbe=({data:e})=>{const[t,n]=U.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(oN,{title:"Click to see more options",arrow:!0,children:te.jsxs(Ak,{color:Nie(e.response.statusCode),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[e.request.method," ",e.request.path," ",String(e.response.statusCode)]})}),te.jsxs(bA,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(iU,{fontSize:"small"})}),"Repeat"]}),e.router?.middlewares&&te.jsx(mbe,{onClick:o,sx:{padding:"6px 16px"},leftIcon:te.jsx(zz,{fontSize:"small",sx:{color:"text.secondary",mr:1}}),label:"Middlewares",parentMenuOpen:r,children:e.router.middlewares.map(((e,t)=>te.jsx(xA,{onClick:o,children:te.jsxs(V_,{color:"text.secondary",children:[t+1,". ",Cme(e)]})},t)))}),e.router?.action&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(Bz,{fontSize:"small"})}),te.jsx(V_,{children:"Action"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:Cme(e.router.action)})]}),e.router?.name&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(sU,{fontSize:"small"})}),te.jsx(V_,{children:"Route"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:e.router.name})]})]})]})},Sbe=({data:e})=>e.router?te.jsx(Ak,{startIcon:te.jsx(sU,{fontSize:"small"}),color:"info",variant:"contained",sx:{whiteSpace:"nowrap",height:"100%",textTransform:"none",borderRadius:0},children:e.router.name}):null;WM({...QV,...Oz});const xbe=gd.useSelector;function Ebe(){return Ebe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.postMessage({event:t,value:n},"*")};class Abe{constructor(e="initialized"){this.state=e}queue=[];next(e){"ready"===this.state?e():this.queue.push(e)}ready(){this.state="ready",this.queue.forEach((e=>e()))}}class Obe{constructor(e){this.frame=e,window.addEventListener("message",(e=>{if("event"in e.data&&"panel.loaded"===e.data.event)this.eventQueue.ready()}))}eventQueue=new Abe;dispatchEvent(e,t){this.eventQueue.next((()=>{_be(this.frame.contentWindow,e,t)}))}}var Nbe={},Pbe=Rb;Object.defineProperty(Nbe,"__esModule",{value:!0});var Lbe=Nbe.default=void 0,Mbe=Pbe(yU()),Dbe=ee;Lbe=Nbe.default=(0,Mbe.default)((0,Dbe.jsx)("path",{d:"M6.83 4H20c1.11 0 2 .9 2 2v12c0 .34-.09.66-.23.94L20 17.17V8h-9.17zm13.66 19.31L17.17 20H4c-1.11 0-2-.9-2-2V6c0-.34.08-.66.23-.94L.69 3.51 2.1 2.1l19.8 19.8zM15.17 18l-10-10H4v10z"}),"WebAssetOff");var jbe={},Fbe=Rb;Object.defineProperty(jbe,"__esModule",{value:!0});var $be=jbe.default=void 0,Bbe=Fbe(yU()),zbe=ee;$be=jbe.default=(0,Bbe.default)((0,zbe.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H5V8h14z"}),"WebAsset");var Ube={},Hbe=Rb;Object.defineProperty(Ube,"__esModule",{value:!0});var Vbe=Ube.default=void 0,Gbe=Hbe(yU()),Wbe=ee;Vbe=Ube.default=(0,Gbe.default)((0,Wbe.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");const qbe=navigator?.serviceWorker,Kbe=U.forwardRef((({baseUrlState:e,iframeEnabled:t},n)=>te.jsx("iframe",{ref:n,src:e+"/debug?toolbar=0",style:{height:"100%",width:"100%"},hidden:!t,loading:"lazy"}))),Ybe=()=>{U.useEffect((()=>{const e=e=>{e.data.payload&&"x-debug-id"in e.data.payload.headers&&(o(sV.util.invalidateTags(["debug/list"])),o(YV(e.data.payload.headers["x-debug-id"])))};return qbe?.addEventListener("message",e),()=>{qbe?.removeEventListener("message",e)}}),[]);const[e,t]=U.useState(!1),n=lV(),r=XV(),o=gd.useDispatch(),[a,i]=U.useState(r);U.useEffect((()=>{!n.isFetching&&n.data&&n.data.length>0&&i(n.data[0])}),[n.isFetching]);const s=xbe((e=>e.application.toolbarOpen)),l=xbe((e=>e.application.iframeHeight)),u=xbe((e=>e.application.baseUrl));U.useEffect((()=>t(s)),[s]);const c=U.useCallback((e=>{i(e),t(!0),o(E$(!0)),o(KV(e))}),[]),[d,p]=U.useState(!1),f=U.useCallback((()=>{window.open(r?u+"/debug?debugEntry="+r.id:u+"/debug")}),[r]),m=U.useCallback((()=>{p(!0)}),[]),h=U.useCallback((()=>{p(!1)}),[]),g=U.useRef(void 0),[b,v]=U.useState(null);U.useEffect((()=>{g.current&&v(new Obe(g.current))}),[g.current]);const y=U.useCallback((e=>{w||S(!0),b?.dispatchEvent("router.navigate",e)}),[b]),[w,S]=U.useState(!1),x=U.useCallback((()=>{S((e=>!e))}),[]),E=hv(),C=U.useRef(void 0),{position:k,separatorProps:R,setPosition:T}=function(e){var t=e.axis,n=e.disabled,r=void 0!==n&&n,o=e.initial,a=void 0===o?0:o,i=e.min,s=void 0===i?0:i,l=e.max,u=void 0===l?1/0:l,c=e.reverse,d=e.step,p=void 0===d?10:d,f=e.shiftStep,m=void 0===f?50:f,h=e.onResizeStart,g=e.onResizeEnd,b=e.containerRef,v=Math.min(Math.max(a,s),u),y=U.useRef(!1),w=U.useState(!1),S=w[0],x=w[1],E=U.useState(v),C=E[0],k=E[1],R=U.useRef(v),T=U.useState(v),I=T[0],_=T[1],A=U.useMemo((function(){return{role:"separator","aria-valuenow":C,"aria-valuemin":s,"aria-valuemax":u,"aria-orientation":"x"===t?"vertical":"horizontal","aria-disabled":r}}),[t,r,u,s,C]),O=U.useCallback((function(e){if(y.current&&!r){e.stopPropagation(),e.preventDefault();var n=function(){if("x"===t){if(null!=b&&b.current){var n=b.current.getBoundingClientRect(),r=n.left;return c?r+n.width-e.clientX:e.clientX-r}return c?document.body.offsetWidth-e.clientX:e.clientX}if(null!=b&&b.current){var o=b.current.getBoundingClientRect(),a=o.top;return c?a+o.height-e.clientY:e.clientY-a}return c?document.body.offsetHeight-e.clientY:e.clientY}();n=Math.min(Math.max(n,s),u),k(n),R.current=n}}),[t,r,u,s,c,b]),N=U.useCallback((function(e){r||(e.stopPropagation(),y.current=!1,x(!1),_(R.current),document.removeEventListener("pointermove",O),document.removeEventListener("pointerup",N),g&&g({position:R.current}))}),[r,O,g]),P=U.useCallback((function(e){r||(e.stopPropagation(),y.current=!0,x(!0),document.addEventListener("pointermove",O),document.addEventListener("pointerup",N),h&&h({position:R.current}))}),[r,O,N,h]),L=U.useCallback((function(e){if(!r){if("Enter"===e.key)return k(a),void(R.current=a);if(("x"!==t||Rbe.includes(e.key))&&("y"!==t||Tbe.includes(e.key))){h&&h({position:R.current});var n=e.shiftKey?m:p,o=c?-1:1,i=Ibe.includes(e.key)?o:-1*o,l=C+n*i;lu?(k(u),R.current=u):(k(l),R.current=l),g&&g({position:R.current})}}}),[r,t,h,m,p,c,C,s,u,g,a]),M=U.useCallback((function(){r||(k(a),R.current=a)}),[r,a]);return{position:C,endPosition:I,isDragging:S,separatorProps:Ebe({},A,{onPointerDown:P,onKeyDown:L,onDoubleClick:M}),setPosition:k,splitterProps:Ebe({},A,{onPointerDown:P,onKeyDown:L,onDoubleClick:M})}}({axis:"y",initial:l,min:100,max:1e3,reverse:!0,disabled:!e,containerRef:C,onResizeEnd:e=>{o(T$(e.position))}});return U.useEffect((()=>{T(l)}),[l]),te.jsxs(_S,{children:[!n.isLoading&&a&&te.jsxs(Ly,{component:ik,elevation:10,sx:{position:e?"sticky":"fixed",bottom:0,right:0,transition:"width 350ms ease-in-out",pt:e?0:1,pb:1,px:.5,backgroundColor:"primary.main",zIndex:1,borderRadius:"0"},children:[te.jsx("hr",{...R,style:{display:e?"block":"none",position:"absolute",top:"-9px",right:0,left:0,height:"10px",width:"100%",background:`linear-gradient(${E.palette.action.hover}, ${E.palette.primary.main})`,border:0,padding:0,margin:0,cursor:w?"row-resize":"initial",borderTopLeftRadius:"5px",borderTopRightRadius:"5px"}}),te.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box"},children:[te.jsx(ik,{sx:{display:e?"inline-block":"none"},children:te.jsxs(Dk,{disableElevation:!0,children:[Die(a)&&te.jsx(wbe,{data:a}),Mie(a)&&te.jsx(Yge,{data:a}),te.jsx(ebe,{data:a,iframeUrlHandler:y}),te.jsx(Jge,{data:a,iframeUrlHandler:y}),Die(a)&&te.jsx(Sbe,{data:a}),te.jsx(Qge,{data:a,iframeUrlHandler:y}),te.jsx(Zge,{data:a,iframeUrlHandler:y}),te.jsx(tbe,{data:a,iframeUrlHandler:y}),te.jsx(Xge,{data:a})]})}),te.jsx(ik,{children:te.jsxs(WO,{ariaLabel:"",sx:{bottom:0,right:0,marginX:1,"& .MuiSpeedDial-actions":{position:"absolute",bottom:32,marginX:1}},FabProps:{onClick:()=>{t((e=>(o(E$(!e)),w&&S(!1),!e)))},size:"small",sx:{background:"white"}},icon:te.jsx(Ege,{sx:{transform:e?"rotate(0deg)":"rotate(360deg)",transition:"transform 400ms ease-in-out"}}),children:[te.jsx(pN,{onClick:f,icon:te.jsx(Vbe,{}),tooltipTitle:"Open debug in a new window"}),te.jsx(pN,{onClick:m,icon:te.jsx(uie,{}),tooltipTitle:"List all debug entries"}),e&&te.jsx(pN,{onClick:x,icon:w?te.jsx(Lbe,{}):te.jsx($be,{}),tooltipTitle:w?"Close iframe":"Open iframe"},"iframe")]})})]})]}),te.jsx(Kge,{open:d,onClick:c,onClose:h}),te.jsx("div",{ref:C,style:{height:k,overflow:"hidden"},hidden:!w,children:te.jsx(Kbe,{ref:g,baseUrlState:u,iframeEnabled:w})})]})};function Xbe(e,t,n){const r=e.filter((e=>e.standaloneModule)),o=e.filter((e=>!e.standaloneModule)),a=[{path:"/",element:te.jsx(_ge,{children:n.toolbar&&te.jsx(Ybe,{})}),children:[].concat(...o.map((e=>e.routes)))},...[].concat(...r.map((e=>e.routes))),{path:"*",element:te.jsx(_ge,{children:te.jsx(Age,{})})}],i={basename:t.basename};return t.useHashRouter?function(e,t){return qj({basename:null==t?void 0:t.basename,future:ZF({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),aj((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=oj(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),nj("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:rj(t))}),(function(e,t){ej("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||e$(),routes:e,mapRouteProperties:XF,window:null==t?void 0:t.window}).initialize();var n}(a):function(e,t){return qj({basename:null==t?void 0:t.basename,future:ZF({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),aj((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return nj("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:rj(t)}),null,n)),hydrationData:(null==t?void 0:t.hydrationData)||e$(),routes:e,mapRouteProperties:XF,window:null==t?void 0:t.window}).initialize();var n}(a,i)}function Zbe(e){return(Zbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qbe(e,t){for(var n=0;n{e.backend.usePreferredUrl&&(console.log("Override backend url",e.backend.baseUrl),n.dispatch(S$(e.backend.baseUrl)))}),[]),U.useEffect((()=>{_be(window.parent,"panel.loaded",!0);const e=e=>{console.log("Post message event",e,e.data);const n=e.data;if("event"in n&&"router.navigate"===n.event)t.navigate(n.value)};return window.addEventListener("message",e),()=>{window?.removeEventListener("message",e)}}),[]),te.jsx(YD,{baseUrl:"",openLinksInNewWindow:!1,children:te.jsx(gd.Provider,{store:n,children:te.jsx(rve,{persistor:r,children:te.jsx(y$,{children:te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname],children:te.jsx(l$,{router:t})})})})})})}nve(rve,"defaultProps",{children:null,loading:null});var ave={},ive=fd;ave.createRoot=ive.createRoot,ave.hydrateRoot=ive.hydrateRoot;let sve={toolbar:"1"};try{sve=Object.fromEntries(new URLSearchParams(location.search))}catch(w0){console.error("Error while parsing query params: ",w0)}var lve;(lve=window.YiiDevPanelWidget??={config:{containerId:"root",options:{modules:{toolbar:"0"!==sve?.toolbar},router:{basename:"",useHashRouter:"github"===e.appEnv},backend:{baseUrl:"http://127.0.0.1:8080",favoriteUrls:[],usePreferredUrl:!1}}}}).init=function(){console.debug("YiiDevPanelWidget initialization",this);const e=document.getElementById(this.config.containerId);console.debug("YiiDevPanelWidget mounting into",e),ave.createRoot(e).render(te.jsx(H.StrictMode,{children:te.jsx(ove,{config:this.config.options})}))},lve.init(); + */e.exports&&(e.exports=t),void 0!==n&&(n.Prism=t)}(M5);var D5=M5.exports,j5=F5;function F5(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},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(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",a)}}),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}F5.displayName="markup",F5.aliases=["html","mathml","svg","xml","ssml","atom","rss"];var $5=B5;function B5(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}B5.displayName="css",B5.aliases=[];var z5=U5;function U5(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:/[{}[\];(),.:]/}}U5.displayName="clike",U5.aliases=[];var H5=V5;function V5(e){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:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside: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}V5.displayName="javascript",V5.aliases=["js"];var G5,W5,q5="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n?n:{},K5=(W5=(G5="Prism"in q5)?q5.Prism:void 0,function(){G5?q5.Prism=W5:delete q5.Prism,G5=void 0,W5=void 0});q5.Prism={manual:!0,disableWorkerMessageHandler:!0};var Y5=U4,X5=r5,Z5=D5,Q5=j5,J5=$5,e3=z5,t3=H5;K5();var n3={}.hasOwnProperty;function r3(){}r3.prototype=Z5;var o3=new r3,a3=o3;function i3(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===o3.languages[e.displayName]&&e(o3)}o3.highlight=function(e,t){var n,r=Z5.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===o3.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!n3.call(o3.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=o3.languages[t]}return r.call(this,e,n,t)},o3.register=i3,o3.alias=function(e,t){var n,r,o,a,i=o3.languages,s=e;t&&((s={})[e]=t);for(n in s)for(o=(r="string"==typeof(r=s[n])?[r]:r).length,a=-1;++a?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return C3=1,E3=e,e.displayName="sql",e.aliases=[],E3}function mae(){if(L3)return P3;function e(e){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}return L3=1,P3=e,e.displayName="c",e.aliases=[],P3}function hae(){if(D3)return M3;D3=1;var e=mae();function t(t){t.register(e),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.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:t,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/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.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:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(t)}return M3=t,t.displayName="cpp",t.aliases=[],M3}function gae(){if(K3)return q3;function e(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",i="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*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(a),c=RegExp(l(o+" "+a+" "+i+" "+s)),d=l(a+" "+i+" "+s),p=l(o+" "+a+" "+s),f=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),m=r(/\((?:[^()]|<>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[h,f]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,g]),v=/\[\s*(?:,\s*)*\]/.source,y=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,v]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,v]),S=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,b,v]),E={keyword:c,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,k=/"(?:\\.|[^\\"\r\n])*"/.source,R=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,x]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,g]),lookbehind:!0,inside:E},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:E},{pattern:n(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:E},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,p,h]),inside:E}],keyword:c,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:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:E},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,b]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,f]),inside:{function:n(/^<<0>>/.source,[h]),generic:{pattern:RegExp(f),alias:"class-name",inside:E}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,g,h,x,c.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,m]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(x),greedy:!0,inside:E},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 T=k+"|"+C,I=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),_=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),A=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,_]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[A,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[A]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[_]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,P=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,N]),M=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[T]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,N]);function j(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:j(L,P)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:j(D,M)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}return K3=1,q3=e,e.displayName="csharp",e.aliases=["dotnet","cs"],q3}function bae(){if(i6)return a6;function e(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return l6=1,s6=e,e.displayName="basic",e.aliases=[],s6}function yae(){if(K6)return q6;function e(e){!function(e){e.languages.ruby=e.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:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.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:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,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:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.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)/}),e.languages.rb=e.languages.ruby}(e)}return K6=1,q6=e,e.displayName="ruby",e.aliases=["rb"],q6}function wae(){if(w9)return y9;function e(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++o;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),v=[];h&&v.push.apply(v,i([h])),v.push(g),b&&v.push.apply(v,i([b])),"string"==typeof u?s.splice.apply(s,[l,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return s}(n.tokens)}}}})}(e)}return w9=1,y9=e,e.displayName="markupTemplating",e.aliases=[],y9}function Sae(){if(W9)return G9;function e(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:/[\[\](){},;]|\.+|:+/}}return W9=1,G9=e,e.displayName="lua",e.aliases=[],G9}function xae(){if(U8)return z8;function e(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}return U8=1,z8=e,e.displayName="haskell",e.aliases=["hs"],z8}function Eae(){if(C7)return E7;function e(e){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.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}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.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":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}return C7=1,E7=e,e.displayName="java",e.aliases=[],E7}function Cae(){if(R7)return k7;function e(e){!function(e){var t=e.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:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",o=e.languages[t];if(o){var a=o[r];if(!a){var i={};i[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},a=(o=e.languages.insertBefore(t,"comment",i))[r]}if(a instanceof RegExp&&(a=o[r]={pattern:a}),Array.isArray(a))for(var s=0,l=a.length;s]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript}(e)}return U7=1,z7=e,e.displayName="typescript",e.aliases=["ts"],z7}function Rae(){if(W7)return G7;function e(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}return W7=1,G7=e,e.displayName="json",e.aliases=["webmanifest"],G7}function Tae(){if(eee)return J7;function e(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:i(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var l=i(o);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=i(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(e)}return eee=1,J7=e,e.displayName="jsx",e.aliases=[],J7}function Iae(){if(gee)return hee;gee=1;var e=wae();function t(t){t.register(e),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\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,o=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:a};var i={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{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:i}},{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:i}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(t)}return hee=t,t.displayName="php",t.aliases=[],hee}function _ae(){if(xee)return See;function e(e){!function(e){e.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(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}return xee=1,See=e,e.displayName="scheme",e.aliases=[],See}function Aae(){if(Nre)return Ore;function e(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}return Nre=1,Ore=e,e.displayName="turtle",e.aliases=[],Ore}function Oae(){if(Xre)return Yre;function e(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],o="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,o),"class-feature":t("\\+",r,o),standard:t("",r,o)}}}}})}(e)}return Xre=1,Yre=e,e.displayName="t4Templating",e.aliases=[],Yre}function Nae(){if(eoe)return Jre;eoe=1;var e=vae();function t(t){t.register(e),t.languages.vbnet=t.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return Jre=t,t.displayName="vbnet",t.aliases=[],Jre}function Pae(){if(ooe)return roe;function e(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\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:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}return ooe=1,roe=e,e.displayName="yaml",e.aliases=["yml"],roe}var Lae=a3,Mae=Lae;Lae.register(function(){if(l3)return s3;function e(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|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return l3=1,s3=e,e.displayName="abap",e.aliases=[],s3}()),Lae.register(function(){if(c3)return u3;function e(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.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-])"+t+"|<"+t+">)(?![\\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)}return c3=1,u3=e,e.displayName="abnf",e.aliases=[],u3}()),Lae.register(function(){if(p3)return d3;function e(e){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}})}return p3=1,d3=e,e.displayName="actionscript",e.aliases=[],d3}()),Lae.register(function(){if(m3)return f3;function e(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}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return m3=1,f3=e,e.displayName="ada",e.aliases=[],f3}()),Lae.register(function(){if(g3)return h3;function e(e){!function(e){e.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)}return g3=1,h3=e,e.displayName="agda",e.aliases=[],h3}()),Lae.register(function(){if(v3)return b3;function e(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:/[()\[\]{}:.;,]/}}return v3=1,b3=e,e.displayName="al",e.aliases=[],b3}()),Lae.register(function(){if(w3)return y3;function e(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}return w3=1,y3=e,e.displayName="antlr4",e.aliases=["g4"],y3}()),Lae.register(function(){if(x3)return S3;function e(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:/\^?.*\$|\^.*\$?/}}return x3=1,S3=e,e.displayName="apacheconf",e.aliases=[],S3}()),Lae.register(function(){if(R3)return k3;R3=1;var e=fae();function t(t){t.register(e),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,(function(){return t.source}));function r(e){return RegExp(e.replace(//g,(function(){return n})),"i")}var o={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:o},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:o},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:o}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,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:/[()\[\]{};,.]/}}(t)}return k3=t,t.displayName="apex",t.aliases=[],k3}()),Lae.register(function(){if(I3)return T3;function e(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"}}}return I3=1,T3=e,e.displayName="apl",e.aliases=[],T3}()),Lae.register(function(){if(A3)return _3;function e(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:/[{}():,¬«»《》]/}}return A3=1,_3=e,e.displayName="applescript",e.aliases=[],_3}()),Lae.register(function(){if(N3)return O3;function e(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:/::|[?.:,;()[\]{}]/}}return N3=1,O3=e,e.displayName="aql",e.aliases=[],O3}()),Lae.register(function(){if(F3)return j3;F3=1;var e=hae();function t(t){t.register(e),t.languages.arduino=t.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/}),t.languages.ino=t.languages.arduino}return j3=t,t.displayName="arduino",t.aliases=["ino"],j3}()),Lae.register(function(){if(B3)return $3;function e(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:/[{},]/}}return B3=1,$3=e,e.displayName="arff",e.aliases=[],$3}()),Lae.register(function(){if(U3)return z3;function e(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.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:t,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 r(e){for(var t={},r=0,o=(e=e.split(" ")).length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return W3=1,G3=e,e.displayName="asmatmel",e.aliases=[],G3}()),Lae.register(function(){if(X3)return Y3;X3=1;var e=gae();function t(t){t.register(e),t.languages.aspnet=t.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:t.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:t.languages.csharp}}}),t.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.insertBefore("inside","punctuation",{directive:t.languages.aspnet.directive},t.languages.aspnet.tag.inside["attr-value"]),t.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),t.languages.insertBefore("aspnet",t.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:t.languages.csharp||{}}})}return Y3=t,t.displayName="aspnet",t.aliases=[],Y3}()),Lae.register(function(){if(Q3)return Z3;function e(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/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return Q3=1,Z3=e,e.displayName="autohotkey",e.aliases=[],Z3}()),Lae.register(function(){if(e6)return J3;function e(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:/[\[\]().,:]/}}return e6=1,J3=e,e.displayName="autoit",e.aliases=[],J3}()),Lae.register(function(){if(n6)return t6;function e(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return t[+n]}))}(e,t),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/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("|"),[/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("|"),[/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("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"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:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"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:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}return n6=1,t6=e,e.displayName="avisynth",e.aliases=["avs"],t6}()),Lae.register(function(){if(o6)return r6;function e(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"]}return o6=1,r6=e,e.displayName="avroIdl",e.aliases=[],r6}()),Lae.register(bae()),Lae.register(vae()),Lae.register(function(){if(c6)return u6;function e(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;e.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:r,parameter:n,variable:t,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}return c6=1,u6=e,e.displayName="batch",e.aliases=[],u6}()),Lae.register(function(){if(p6)return d6;function e(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}return p6=1,d6=e,e.displayName="bbcode",e.aliases=["shortcode"],d6}()),Lae.register(function(){if(m6)return f6;function e(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}return m6=1,f6=e,e.displayName="bicep",e.aliases=[],f6}()),Lae.register(function(){if(g6)return h6;function e(e){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"}})}return g6=1,h6=e,e.displayName="birb",e.aliases=[],h6}()),Lae.register(function(){if(v6)return b6;v6=1;var e=mae();function t(t){t.register(e),t.languages.bison=t.languages.extend("c",{}),t.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:t.languages.c}},comment:t.languages.c.comment,string:t.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return b6=t,t.displayName="bison",t.aliases=[],b6}()),Lae.register(function(){if(w6)return y6;function e(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}return w6=1,y6=e,e.displayName="bnf",e.aliases=["rbnf"],y6}()),Lae.register(function(){if(x6)return S6;function e(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return x6=1,S6=e,e.displayName="brainfuck",e.aliases=[],S6}()),Lae.register(function(){if(C6)return E6;function e(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}return C6=1,E6=e,e.displayName="brightscript",e.aliases=[],E6}()),Lae.register(function(){if(R6)return k6;function e(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:/[{}[\];(),.:]/}}return R6=1,k6=e,e.displayName="bro",e.aliases=[],k6}()),Lae.register(function(){if(I6)return T6;function e(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}return I6=1,T6=e,e.displayName="bsl",e.aliases=[],T6}()),Lae.register(mae()),Lae.register(function(){if(A6)return _6;function e(e){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}return A6=1,_6=e,e.displayName="cfscript",e.aliases=[],_6}()),Lae.register(function(){if(N6)return O6;N6=1;var e=hae();function t(t){t.register(e),t.languages.chaiscript=t.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:[t.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),t.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),t.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:t.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return O6=t,t.displayName="chaiscript",t.aliases=[],O6}()),Lae.register(function(){if(L6)return P6;function e(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]+/}}return L6=1,P6=e,e.displayName="cil",e.aliases=[],P6}()),Lae.register(function(){if(D6)return M6;function e(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:/[{}\[\](),]/}}return D6=1,M6=e,e.displayName="clojure",e.aliases=[],M6}()),Lae.register(function(){if(F6)return j6;function e(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_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return F6=1,j6=e,e.displayName="cmake",e.aliases=[],j6}()),Lae.register(function(){if(B6)return $6;function e(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:/[.:,()]/}}return B6=1,$6=e,e.displayName="cobol",e.aliases=[],$6}()),Lae.register(function(){if(U6)return z6;function e(e){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}return U6=1,z6=e,e.displayName="coffeescript",e.aliases=["coffee"],z6}()),Lae.register(function(){if(V6)return H6;function e(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}return V6=1,H6=e,e.displayName="concurnas",e.aliases=["conc"],H6}()),Lae.register(function(){if(W6)return G6;function e(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,(function(){return t}))),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),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)}return W6=1,G6=e,e.displayName="coq",e.aliases=[],G6}()),Lae.register(hae()),Lae.register(function(){if(X6)return Y6;X6=1;var e=yae();function t(t){t.register(e),function(e){e.languages.crystal=e.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:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.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:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.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}})}(t)}return Y6=t,t.displayName="crystal",t.aliases=[],Y6}()),Lae.register(gae()),Lae.register(function(){if(Q6)return Z6;Q6=1;var e=gae();function t(t){t.register(e),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var o=0;o/g,(function(){return"(?:"+e+")"}));return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var o=r(/\((?:[^()'"@/]|||)*\)/.source,2),a=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),i=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,u=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,c=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(e)}return n9=1,t9=e,e.displayName="cssExtras",e.aliases=[],t9}()),Lae.register(function(){if(o9)return r9;function e(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return o9=1,r9=e,e.displayName="csv",e.aliases=[],r9}()),Lae.register(function(){if(i9)return a9;function e(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:/[()[\]{},;.]/}}return i9=1,a9=e,e.displayName="cypher",e.aliases=[],a9}()),Lae.register(function(){if(l9)return s9;function e(e){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"}})}return l9=1,s9=e,e.displayName="d",e.aliases=[],s9}()),Lae.register(function(){if(c9)return u9;function e(e){!function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.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:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}return c9=1,u9=e,e.displayName="dart",e.aliases=[],u9}()),Lae.register(function(){if(p9)return d9;function e(e){!function(e){e.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)}return p9=1,d9=e,e.displayName="dataweave",e.aliases=[],d9}()),Lae.register(function(){if(m9)return f9;function e(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:/[;\[\](){}`,.]/}}return m9=1,f9=e,e.displayName="dax",e.aliases=[],f9}()),Lae.register(function(){if(g9)return h9;function e(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}return g9=1,h9=e,e.displayName="dhall",e.aliases=[],h9}()),Lae.register(function(){if(v9)return b9;function e(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}return v9=1,b9=e,e.displayName="diff",e.aliases=[],b9}()),Lae.register(function(){if(x9)return S9;x9=1;var e=wae();function t(t){t.register(e),function(e){e.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 t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"django",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"django")})),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"jinja2",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"jinja2")}))}(t)}return S9=t,t.displayName="django",t.aliases=["jinja2"],S9}()),Lae.register(function(){if(C9)return E9;function e(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"]}return C9=1,E9=e,e.displayName="dnsZoneFile",e.aliases=[],E9}()),Lae.register(function(){if(R9)return k9;function e(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,(function(){return t})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,(function(){return r})),a={pattern:RegExp(r),greedy:!0},i={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(//g,(function(){return o})).replace(//g,(function(){return n})),RegExp(e,t)}e.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:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:i,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:i},e.languages.dockerfile=e.languages.docker}(e)}return R9=1,k9=e,e.displayName="docker",e.aliases=["dockerfile"],k9}()),Lae.register(function(){if(I9)return T9;function e(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,(function(){return t})),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}return I9=1,T9=e,e.displayName="dot",e.aliases=["gv"],T9}()),Lae.register(function(){if(A9)return _9;function e(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:/[-=|*/!]/}}return A9=1,_9=e,e.displayName="ebnf",e.aliases=[],_9}()),Lae.register(function(){if(N9)return O9;function e(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:/^=/}}}}return N9=1,O9=e,e.displayName="editorconfig",e.aliases=[],O9}()),Lae.register(function(){if(L9)return P9;function e(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:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return L9=1,P9=e,e.displayName="eiffel",e.aliases=[],P9}()),Lae.register(function(){if(D9)return M9;D9=1;var e=wae();function t(t){t.register(e),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})),e.languages.eta=e.languages.ejs}(t)}return M9=t,t.displayName="ejs",t.aliases=["eta"],M9}()),Lae.register(function(){if(F9)return j9;function e(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}}}}))}return F9=1,j9=e,e.displayName="elixir",e.aliases=[],j9}()),Lae.register(function(){if(B9)return $9;function e(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:/[{}[\]|(),.:]/}}return B9=1,$9=e,e.displayName="elm",e.aliases=[],$9}()),Lae.register(function(){if(U9)return z9;U9=1;var e=yae(),t=wae();function n(n){n.register(e),n.register(t),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")}))}(n)}return z9=n,n.displayName="erb",n.aliases=[],z9}()),Lae.register(function(){if(V9)return H9;function e(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|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return V9=1,H9=e,e.displayName="erlang",e.aliases=[],H9}()),Lae.register(function(){if(K9)return q9;K9=1;var e=Sae(),t=wae();function n(n){n.register(e),n.register(t),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")}))}(n)}return q9=n,n.displayName="etlua",n.aliases=[],q9}()),Lae.register(function(){if(X9)return Y9;function e(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:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}return X9=1,Y9=e,e.displayName="excelFormula",e.aliases=[],Y9}()),Lae.register(function(){if(Q9)return Z9;function e(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},o=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(e){return new RegExp("(^|\\s)(?:"+e.map(o).join("|")+")(?=\\s|$)")},i={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(i).forEach((function(e){r[e].pattern=a(i[e])}));r.combinators.pattern=a(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}(e)}return Q9=1,Z9=e,e.displayName="factor",e.aliases=[],Z9}()),Lae.register(function(){if(e8)return J9;function e(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return n8=1,t8=e,e.displayName="firestoreSecurityRules",e.aliases=[],t8}()),Lae.register(function(){if(o8)return r8;function e(e){!function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.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 e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.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)}return o8=1,r8=e,e.displayName="flow",e.aliases=[],r8}()),Lae.register(function(){if(i8)return a8;function e(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:/\(\/|\/\)|[(),;:&]/}}return i8=1,a8=e,e.displayName="fortran",e.aliases=[],a8}()),Lae.register(function(){if(l8)return s8;function e(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return l8=1,s8=e,e.displayName="fsharp",e.aliases=[],s8}()),Lae.register(function(){if(c8)return u8;c8=1;var e=wae();function t(t){t.register(e),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,(function(){return t}))),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,(function(){return t}))),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:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.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:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",(function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,(function(){return t})),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")}))}(t)}return u8=t,t.displayName="ftl",t.aliases=[],u8}()),Lae.register(function(){if(p8)return d8;function e(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}return p8=1,d8=e,e.displayName="gap",e.aliases=[],d8}()),Lae.register(function(){if(m8)return f8;function e(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:/[:*]/}}return m8=1,f8=e,e.displayName="gcode",e.aliases=[],f8}()),Lae.register(function(){if(g8)return h8;function e(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:/[.:,;()[\]{}]/}}return g8=1,h8=e,e.displayName="gdscript",e.aliases=[],h8}()),Lae.register(function(){if(v8)return b8;function e(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"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return v8=1,b8=e,e.displayName="gedcom",e.aliases=[],b8}()),Lae.register(function(){if(w8)return y8;function e(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.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("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),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)}return w8=1,y8=e,e.displayName="gherkin",e.aliases=[],y8}()),Lae.register(function(){if(x8)return S8;function e(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}}return x8=1,S8=e,e.displayName="git",e.aliases=[],S8}()),Lae.register(function(){if(C8)return E8;C8=1;var e=mae();function t(t){t.register(e),t.languages.glsl=t.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return E8=t,t.displayName="glsl",t.aliases=[],E8}()),Lae.register(function(){if(R8)return k8;function e(e){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/})}return R8=1,k8=e,e.displayName="gml",e.aliases=[],k8}()),Lae.register(function(){if(I8)return T8;function e(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}return I8=1,T8=e,e.displayName="gn",e.aliases=["gni"],T8}()),Lae.register(function(){if(A8)return _8;function e(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:/[()[\],]/}}return A8=1,_8=e,e.displayName="goModule",e.aliases=[],_8}()),Lae.register(function(){if(N8)return O8;function e(e){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"]}return N8=1,O8=e,e.displayName="go",e.aliases=[],O8}()),Lae.register(function(){if(L8)return P8;function e(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(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",(function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}}))}return D8=1,M8=e,e.displayName="groovy",e.aliases=[],M8}()),Lae.register(function(){if(F8)return j8;F8=1;var e=yae();function t(t){t.register(e),function(e){e.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:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.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:e.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:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,o=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(t)}return $8=t,t.displayName="handlebars",t.aliases=["hbs"],$8}()),Lae.register(xae()),Lae.register(function(){if(V8)return H8;function e(e){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"}})}return V8=1,H8=e,e.displayName="haxe",e.aliases=[],H8}()),Lae.register(function(){if(W8)return G8;function e(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:/[=\[\]{}]/}}return W8=1,G8=e,e.displayName="hcl",e.aliases=[],G8}()),Lae.register(function(){if(K8)return q8;K8=1;var e=mae();function t(t){t.register(e),t.languages.hlsl=t.languages.extend("c",{"class-name":[t.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return q8=t,t.displayName="hlsl",t.aliases=[],q8}()),Lae.register(function(){if(X8)return Y8;function e(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:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return X8=1,Y8=e,e.displayName="hoon",e.aliases=[],Y8}()),Lae.register(function(){if(Q8)return Z8;function e(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return Q8=1,Z8=e,e.displayName="hpkp",e.aliases=[],Z8}()),Lae.register(function(){if(e7)return J8;function e(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return e7=1,J8=e,e.displayName="hsts",e.aliases=[],J8}()),Lae.register(function(){if(n7)return t7;function e(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.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:e.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:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.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},a={"application/json":!0,"application/xml":!0};function i(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var s in o)if(o[s]){n=n||{};var l=a[s]?i(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:o[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}return n7=1,t7=e,e.displayName="http",e.aliases=[],t7}()),Lae.register(function(){if(o7)return r7;function e(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:/[\[,;:()\]]/}}return o7=1,r7=e,e.displayName="ichigojam",e.aliases=[],r7}()),Lae.register(function(){if(i7)return a7;function e(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:/[\[\](){},;]/}}return i7=1,a7=e,e.displayName="icon",e.aliases=[],a7}()),Lae.register(function(){if(l7)return s7;function e(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,(function(){return t(e,n-1)}))}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:n,greedy:!0,inside:{escape:r}},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,(function(){return n.source})),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),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":i,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":i,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+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:o},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}return l7=1,s7=e,e.displayName="icuMessageFormat",e.aliases=[],s7}()),Lae.register(function(){if(c7)return u7;c7=1;var e=xae();function t(t){t.register(e),t.languages.idris=t.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}),t.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.idr=t.languages.idris}return u7=t,t.displayName="idris",t.aliases=["idr"],u7}()),Lae.register(function(){if(p7)return d7;function e(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:/[()[\].,;]/}}return p7=1,d7=e,e.displayName="iecst",e.aliases=[],d7}()),Lae.register(function(){if(m7)return f7;function e(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}return m7=1,f7=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"],f7}()),Lae.register(function(){if(g7)return h7;function e(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"}}return g7=1,h7=e,e.displayName="inform7",e.aliases=[],h7}()),Lae.register(function(){if(v7)return b7;function e(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:/=/}}return v7=1,b7=e,e.displayName="ini",e.aliases=[],b7}()),Lae.register(function(){if(w7)return y7;function e(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return x7=1,S7=e,e.displayName="j",e.aliases=[],S7}()),Lae.register(Eae()),Lae.register(function(){if(I7)return T7;I7=1;var e=Eae(),t=Cae();function n(n){n.register(e),n.register(t),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,(function(){return n}));e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),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:e.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:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(n)}return T7=n,n.displayName="javadoc",n.aliases=[],T7}()),Lae.register(Cae()),Lae.register(function(){if(A7)return _7;function e(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return A7=1,_7=e,e.displayName="javastacktrace",e.aliases=[],_7}()),Lae.register(function(){if(N7)return O7;function e(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:/[{}[\](),.]/}}return N7=1,O7=e,e.displayName="jexl",e.aliases=[],O7}()),Lae.register(function(){if(L7)return P7;function e(e){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]*:)/}})}return L7=1,P7=e,e.displayName="jolie",e.aliases=[],P7}()),Lae.register(function(){if(D7)return M7;function e(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,(function(){return t}))),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},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"}};r.interpolation.inside.content.inside=o}(e)}return D7=1,M7=e,e.displayName="jq",e.aliases=[],M7}()),Lae.register(function(){if(F7)return j7;function e(e){!function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.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"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.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"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var o=f[i],a="string"==typeof r?r:r.content,s=a.indexOf(o);if(-1!==s){++i;var l=a.substring(0,s),d=u(c[o]),p=a.substring(s+o.length),m=[];if(l&&m.push(l),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(p),new e.Token(r,p,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,o=n.length;r\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.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:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(n)}return H7=n,n.displayName="jsdoc",n.aliases=[],H7}()),Lae.register(Rae()),Lae.register(function(){if(K7)return q7;K7=1;var e=Rae();function t(t){t.register(e),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(t)}return q7=t,t.displayName="json5",t.aliases=[],q7}()),Lae.register(function(){if(X7)return Y7;X7=1;var e=Rae();function t(t){t.register(e),t.languages.jsonp=t.languages.extend("json",{punctuation:/[{}[\]();,.]/}),t.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return Y7=t,t.displayName="jsonp",t.aliases=[],Y7}()),Lae.register(function(){if(Q7)return Z7;function e(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return Q7=1,Z7=e,e.displayName="jsstacktrace",e.aliases=[],Z7}()),Lae.register(Tae()),Lae.register(function(){if(nee)return tee;function e(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|[πℯ]/}}return nee=1,tee=e,e.displayName="julia",e.aliases=[],tee}()),Lae.register(function(){if(oee)return ree;function e(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,(function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source})),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return oee=1,ree=e,e.displayName="keepalived",e.aliases=[],ree}()),Lae.register(function(){if(iee)return aee;function e(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|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return iee=1,aee=e,e.displayName="keyman",e.aliases=[],aee}()),Lae.register(function(){if(lee)return see;function e(e){!function(e){e.languages.kotlin=e.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 e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}return lee=1,see=e,e.displayName="kotlin",e.aliases=["kt","kts"],see}()),Lae.register(function(){if(cee)return uee;function e(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}return cee=1,uee=e,e.displayName="kumir",e.aliases=["kum"],uee}()),Lae.register(function(){if(pee)return dee;function e(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:/[()\[\]{},;.:]/}}return pee=1,dee=e,e.displayName="kusto",e.aliases=[],dee}()),Lae.register(function(){if(mee)return fee;function e(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}return mee=1,fee=e,e.displayName="latex",e.aliases=["tex","context"],fee}()),Lae.register(function(){if(vee)return bee;vee=1;var e=wae(),t=Iae();function n(n){n.register(e),n.register(t),function(e){e.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:e.languages.php}};var t=e.languages.extend("markup",{});e.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:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",(function(n){if("latte"===n.language){e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")}))}(n)}return bee=n,n.displayName="latte",n.aliases=[],bee}()),Lae.register(function(){if(wee)return yee;function e(e){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"}})}return wee=1,yee=e,e.displayName="less",e.aliases=[],yee}()),Lae.register(function(){if(Cee)return Eee;Cee=1;var e=_ae();function t(t){t.register(e),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,(function(){return t})),"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:e.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/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(t)}return Eee=t,t.displayName="lilypond",t.aliases=[],Eee}()),Lae.register(function(){if(Ree)return kee;Ree=1;var e=wae();function t(t){t.register(e),t.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"}},t.hooks.add("before-tokenize",(function(e){var n=!1;t.languages["markup-templating"].buildPlaceholders(e,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,(function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n}))})),t.hooks.add("after-tokenize",(function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"liquid")}))}return kee=t,t.displayName="liquid",t.aliases=[],kee}()),Lae.register(function(){if(Iee)return Tee;function e(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+r,a="(\\()",i="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+i),lookbehind:!0},{pattern:RegExp(a+"(?:append|by|collect|concat|do|finally|for|in|return)"+i),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(a+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},u={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},c="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(a+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+c),inside:u},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+c),inside:u},keys:{pattern:RegExp("&key\\s+"+c+"(?:\\s+&allow-other-keys)?"),inside:u},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}return Iee=1,Tee=e,e.displayName="lisp",e.aliases=[],Tee}()),Lae.register(function(){if(Aee)return _ee;function e(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}return Aee=1,_ee=e,e.displayName="livescript",e.aliases=[],_ee}()),Lae.register(function(){if(Nee)return Oee;function e(e){!function(e){e.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)}return Nee=1,Oee=e,e.displayName="llvm",e.aliases=[],Oee}()),Lae.register(function(){if(Lee)return Pee;function e(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:/[\[\].,]/}}return Lee=1,Pee=e,e.displayName="log",e.aliases=[],Pee}()),Lae.register(function(){if(Dee)return Mee;function e(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}|…|,|!/}}return Dee=1,Mee=e,e.displayName="lolcode",e.aliases=[],Mee}()),Lae.register(Sae()),Lae.register(function(){if(Fee)return jee;function e(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:/[()[\]{}<>,;.:]/}}return Fee=1,jee=e,e.displayName="magma",e.aliases=[],jee}()),Lae.register(function(){if(Bee)return $ee;function e(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:/[:;(){}]/}}return Bee=1,$ee=e,e.displayName="makefile",e.aliases=[],$ee}()),Lae.register(function(){if(Uee)return zee;function e(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}return Uee=1,zee=e,e.displayName="markdown",e.aliases=["md"],zee}()),Lae.register(wae()),Lae.register(function(){if(Vee)return Hee;function e(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}|[.,;\[\](){}!]/}}return Vee=1,Hee=e,e.displayName="matlab",e.aliases=[],Hee}()),Lae.register(function(){if(Wee)return Gee;function e(e){!function(e){var t=/\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;e.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+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.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:t,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)}return Wee=1,Gee=e,e.displayName="maxscript",e.aliases=[],Gee}()),Lae.register(function(){if(Kee)return qee;function e(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}return Kee=1,qee=e,e.displayName="mel",e.aliases=[],qee}()),Lae.register(function(){if(Xee)return Yee;function e(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return Xee=1,Yee=e,e.displayName="mermaid",e.aliases=[],Yee}()),Lae.register(function(){if(Qee)return Zee;function e(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:/\(#|#\)|[,:;\[\](){}]/}}return Qee=1,Zee=e,e.displayName="mizar",e.aliases=[],Zee}()),Lae.register(function(){if(ete)return Jee;function e(e){!function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map((function(e){return e.replace("$","\\$")}))).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.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("^(['\"])?"+n+"(?:\\1)?$")}}}),e.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}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}return ete=1,Jee=e,e.displayName="mongodb",e.aliases=[],Jee}()),Lae.register(function(){if(nte)return tte;function e(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:/[.,:;()\[\]]/}}return nte=1,tte=e,e.displayName="monkey",e.aliases=[],tte}()),Lae.register(function(){if(ote)return rte;function e(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}return ote=1,rte=e,e.displayName="moonscript",e.aliases=["moon"],rte}()),Lae.register(function(){if(ite)return ate;function e(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:/[;[\](),.{}:]/}}return ite=1,ate=e,e.displayName="n1ql",e.aliases=[],ate}()),Lae.register(function(){if(lte)return ste;function e(e){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}return lte=1,ste=e,e.displayName="n4js",e.aliases=["n4jsd"],ste}()),Lae.register(function(){if(cte)return ute;function e(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:/[{}[\];(),:]/}}return cte=1,ute=e,e.displayName="nand2tetrisHdl",e.aliases=[],ute}()),Lae.register(function(){if(pte)return dte;function e(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.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:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",(function(e){e.tokens.forEach((function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t="[]{}",n=[],r=0;r=&|$!]/}}return mte=1,fte=e,e.displayName="nasm",e.aliases=[],fte}()),Lae.register(function(){if(gte)return hte;function e(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:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return gte=1,hte=e,e.displayName="neon",e.aliases=[],hte}()),Lae.register(function(){if(vte)return bte;function e(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\-.]+/}}return vte=1,bte=e,e.displayName="nevod",e.aliases=[],bte}()),Lae.register(function(){if(wte)return yte;function e(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.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:t}},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:t}},punctuation:/[{};]/}}(e)}return wte=1,yte=e,e.displayName="nginx",e.aliases=[],yte}()),Lae.register(function(){if(xte)return Ste;function e(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:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return xte=1,Ste=e,e.displayName="nim",e.aliases=[],Ste}()),Lae.register(function(){if(Cte)return Ete;function e(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}return Cte=1,Ete=e,e.displayName="nix",e.aliases=[],Ete}()),Lae.register(function(){if(Rte)return kte;function e(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|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return Rte=1,kte=e,e.displayName="nsis",e.aliases=[],kte}()),Lae.register(function(){if(Ite)return Tte;Ite=1;var e=mae();function t(t){t.register(e),t.languages.objectivec=t.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 t.languages.objectivec["class-name"],t.languages.objc=t.languages.objectivec}return Tte=t,t.displayName="objectivec",t.aliases=["objc"],Tte}()),Lae.register(function(){if(Ate)return _te;function e(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return Ate=1,_te=e,e.displayName="ocaml",e.aliases=[],_te}()),Lae.register(function(){if(Nte)return Ote;Nte=1;var e=mae();function t(t){t.register(e),function(e){e.languages.opencl=e.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"}}),e.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 t={"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"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["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"},e.languages.insertBefore("cpp","keyword",t))}(t)}return Ote=t,t.displayName="opencl",t.aliases=[],Ote}()),Lae.register(function(){if(Lte)return Pte;function e(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}return Lte=1,Pte=e,e.displayName="openqasm",e.aliases=["qasm"],Pte}()),Lae.register(function(){if(Dte)return Mte;function e(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:/[\[\](){}.:;?]/}}return Dte=1,Mte=e,e.displayName="oz",e.aliases=[],Mte}()),Lae.register(function(){if(Fte)return jte;function e(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(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"],t=t.map((function(e){return e.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:/[\[\]{}().,:;|]/}}return Fte=1,jte=e,e.displayName="parigp",e.aliases=[],jte}()),Lae.register(function(){if(Bte)return $te;function e(e){!function(e){var t=e.languages.parser=e.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:/[\[\](){};]/});t=e.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:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}return Bte=1,$te=e,e.displayName="parser",e.aliases=[],$te}()),Lae.register(function(){if(Ute)return zte;function e(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}return Ute=1,zte=e,e.displayName="pascal",e.aliases=["objectpascal"],zte}()),Lae.register(function(){if(Vte)return Hte;function e(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,(function(){return t})),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,(function(){return n})),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,(function(){return n})),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce((function(e,t){return e[t]=r[t],e}),{});r["class-name"].forEach((function(e){e.inside=o}))}(e)}return Vte=1,Hte=e,e.displayName="pascaligo",e.aliases=[],Hte}()),Lae.register(function(){if(Wte)return Gte;function e(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}return Wte=1,Gte=e,e.displayName="pcaxis",e.aliases=["px"],Gte}()),Lae.register(function(){if(Kte)return qte;function e(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}return Kte=1,qte=e,e.displayName="peoplecode",e.aliases=["pcode"],qte}()),Lae.register(function(){if(Xte)return Yte;function e(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.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,t].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,t].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,t+/\s*/.source+t].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)}return Xte=1,Yte=e,e.displayName="perl",e.aliases=[],Yte}()),Lae.register(function(){if(Qte)return Zte;Qte=1;var e=Iae();function t(t){t.register(e),t.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return Zte=t,t.displayName="phpExtras",t.aliases=[],Zte}()),Lae.register(Iae()),Lae.register(function(){if(ene)return Jte;ene=1;var e=Iae(),t=Cae();function n(n){n.register(e),n.register(t),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(n)}return Jte=n,n.displayName="phpdoc",n.aliases=[],Jte}()),Lae.register(function(){if(nne)return tne;nne=1;var e=fae();function t(t){t.register(e),t.languages.plsql=t.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:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),t.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return tne=t,t.displayName="plsql",t.aliases=[],tne}()),Lae.register(function(){if(one)return rne;function e(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}return one=1,rne=e,e.displayName="powerquery",e.aliases=[],rne}()),Lae.register(function(){if(ine)return ane;function e(e){!function(e){var t=e.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:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}return ine=1,ane=e,e.displayName="powershell",e.aliases=[],ane}()),Lae.register(function(){if(lne)return sne;function e(e){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"}})}return lne=1,sne=e,e.displayName="processing",e.aliases=[],sne}()),Lae.register(function(){if(cne)return une;function e(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:/[(){}\[\],]/}}return cne=1,une=e,e.displayName="prolog",e.aliases=[],une}()),Lae.register(function(){if(pne)return dne;function e(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.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(?:"+n.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)}return pne=1,dne=e,e.displayName="promql",e.aliases=[],dne}()),Lae.register(function(){if(mne)return fne;function e(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return mne=1,fne=e,e.displayName="properties",e.aliases=[],fne}()),Lae.register(function(){if(gne)return hne;function e(e){!function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.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}),e.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:t}},builtin:t,"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)}return gne=1,hne=e,e.displayName="protobuf",e.aliases=[],hne}()),Lae.register(function(){if(vne)return bne;function e(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:/[(){}\[\];,]/}}return vne=1,bne=e,e.displayName="psl",e.aliases=[],bne}()),Lae.register(function(){if(wne)return yne;function e(e){!function(e){e.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:e.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:e.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:e.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:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},o=0,a=n.length;o",(function(){return i.filter})),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[i.language,"language-"+i.language],inside:e.languages[i.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}return wne=1,yne=e,e.displayName="pug",e.aliases=[],yne}()),Lae.register(function(){if(xne)return Sne;function e(e){!function(e){e.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 t=[{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:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}return xne=1,Sne=e,e.displayName="puppet",e.aliases=[],Sne}()),Lae.register(function(){if(Cne)return Ene;function e(e){!function(e){e.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 t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach((function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var o={};o["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},o["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",o)}})),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}return Cne=1,Ene=e,e.displayName="pure",e.aliases=[],Ene}()),Lae.register(function(){if(Rne)return kne;function e(e){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}return Rne=1,kne=e,e.displayName="purebasic",e.aliases=[],kne}()),Lae.register(function(){if(Ine)return Tne;Ine=1;var e=xae();function t(t){t.register(e),t.languages.purescript=t.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:[t.languages.haskell.operator[0],t.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]/]}),t.languages.purs=t.languages.purescript}return Tne=t,t.displayName="purescript",t.aliases=["purs"],Tne}()),Lae.register(function(){if(Ane)return _ne;function e(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}return Ane=1,_ne=e,e.displayName="python",e.aliases=["py"],_ne}()),Lae.register(function(){if(Nne)return One;function e(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:/[(){}\[\];.]/}}return Nne=1,One=e,e.displayName="q",e.aliases=[],One}()),Lae.register(function(){if(Lne)return Pne;function e(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,(function(){return t})).replace(//g,(function(){return n})),o=0;o<2;o++)r=r.replace(//g,(function(){return r}));r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}return Lne=1,Pne=e,e.displayName="qml",e.aliases=[],Pne}()),Lae.register(function(){if(Dne)return Mne;function e(e){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/})}return Dne=1,Mne=e,e.displayName="qore",e.aliases=[],Mne}()),Lae.register(function(){if(Fne)return jne;function e(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}var r=RegExp(function(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}("Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero"+" "+"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")),o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),a={keyword:r,punctuation:/[<>()?,.:[\]]/},i=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[i]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:a},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:a}],keyword:r,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:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[i]),2);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}return Fne=1,jne=e,e.displayName="qsharp",e.aliases=["qs"],jne}()),Lae.register(function(){if(Bne)return $ne;function e(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:/[(){}\[\],;]/}}return Bne=1,$ne=e,e.displayName="r",e.aliases=[],$ne}()),Lae.register(function(){if(Une)return zne;Une=1;var e=_ae();function t(t){t.register(e),t.languages.racket=t.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),t.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),t.languages.rkt=t.languages.racket}return zne=t,t.displayName="racket",t.aliases=["rkt"],zne}()),Lae.register(function(){if(Vne)return Hne;function e(e){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}return Vne=1,Hne=e,e.displayName="reason",e.aliases=[],Hne}()),Lae.register(function(){if(Wne)return Gne;function e(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",o=RegExp(r+"-"+r),a={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.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:o,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return Kne=1,qne=e,e.displayName="rego",e.aliases=[],qne}()),Lae.register(function(){if(Xne)return Yne;function e(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}return Xne=1,Yne=e,e.displayName="renpy",e.aliases=["rpy"],Yne}()),Lae.register(function(){if(Qne)return Zne;function e(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}}}return Qne=1,Zne=e,e.displayName="rest",e.aliases=[],Zne}()),Lae.register(function(){if(ere)return Jne;function e(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`'",.:;#\/\\()<>\[\]{}]*/}}return ere=1,Jne=e,e.displayName="rip",e.aliases=[],Jne}()),Lae.register(function(){if(nre)return tre;function e(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:/[{},.;:=]/}}return nre=1,tre=e,e.displayName="roboconf",e.aliases=[],tre}()),Lae.register(function(){if(ore)return rre;function e(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var o={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var a in r)o[a]=r[a];return o.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},o.variable=n,o.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,(function(){return e})),"im"),alias:"section",inside:o}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},i={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("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:r("Variables"),"test-cases":r("Test Cases",{"test-name":a,documentation:o,property:i}),keywords:r("Keywords",{"keyword-name":a,documentation:o,property:i}),tasks:r("Tasks",{"task-name":a,documentation:o,property:i}),comment:t},e.languages.robot=e.languages.robotframework}(e)}return ore=1,rre=e,e.displayName="robotframework",e.aliases=[],rre}()),Lae.register(yae()),Lae.register(function(){if(ire)return are;function e(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}return ire=1,are=e,e.displayName="rust",e.aliases=[],are}()),Lae.register(function(){if(lre)return sre;function e(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},a={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"},i={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},u=/[$%@.(){}\[\];,\\]/,c={pattern:/%?\b\w+(?=\()/,alias:"keyword"},d={function:c,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},m={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"},h={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/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,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,(function(){return g})),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,(function(){return g})),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:c,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:u,string:l}},v={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,(function(){return t})),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":m,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:v,"submit-statement":h,"global-statements":m,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:v,"submit-statement":h,"global-statements":m,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:i,keyword:v,function:c,format:p,altformat:f,"global-statements":m,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,inside:d},"macro-keyword":a,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":a,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:u}},"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:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:c,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:i,keyword:v,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:u}}(e)}return lre=1,sre=e,e.displayName="sas",e.aliases=[],sre}()),Lae.register(function(){if(cre)return ure;function e(e){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.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)}return cre=1,ure=e,e.displayName="sass",e.aliases=[],ure}()),Lae.register(function(){if(pre)return dre;pre=1;var e=Eae();function t(t){t.register(e),t.languages.scala=t.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),t.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:t.languages.scala}}},string:/[\s\S]+/}}}),delete t.languages.scala["class-name"],delete t.languages.scala.function}return dre=t,t.displayName="scala",t.aliases=[],dre}()),Lae.register(_ae()),Lae.register(function(){if(mre)return fre;function e(e){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}return mre=1,fre=e,e.displayName="scss",e.aliases=[],fre}()),Lae.register(function(){if(gre)return hre;gre=1;var e=bae();function t(t){t.register(e),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,(function(){return t})),"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:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(t)}return hre=t,t.displayName="shellSession",t.aliases=[],hre}()),Lae.register(function(){if(vre)return bre;function e(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:/[{}(),;:]/}}return vre=1,bre=e,e.displayName="smali",e.aliases=[],bre}()),Lae.register(function(){if(wre)return yre;function e(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:/[.;:?\[\](){}]/}}return wre=1,yre=e,e.displayName="smalltalk",e.aliases=[],yre}()),Lae.register(function(){if(xre)return Sre;xre=1;var e=wae();function t(t){t.register(e),function(e){e.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:e.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/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,(function(){return t.source})),"g");e.hooks.add("before-tokenize",(function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,(function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")}))}(t)}return Sre=t,t.displayName="smarty",t.aliases=[],Sre}()),Lae.register(function(){if(Cre)return Ere;function e(e){!function(e){var t=/\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;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,(function(){return/\s*(?:[*,]|->)/.source})).replace(//g,(function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source})).replace(//g,(function(){return/(?!)[a-z\d_][\w'.]*/.source})).replace(//g,(function(){return t.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:t,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:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}return Cre=1,Ere=e,e.displayName="sml",e.aliases=["smlnj"],Ere}()),Lae.register(function(){if(Rre)return kre;function e(e){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}return Rre=1,kre=e,e.displayName="solidity",e.aliases=["sol"],kre}()),Lae.register(function(){if(Ire)return Tre;function e(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},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:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}return Ire=1,Tre=e,e.displayName="solutionFile",e.aliases=[],Tre}()),Lae.register(function(){if(Are)return _re;Are=1;var e=wae();function t(t){t.register(e),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.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:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,(function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")}))}(t)}return _re=t,t.displayName="soy",t.aliases=[],_re}()),Lae.register(function(){if(Lre)return Pre;Lre=1;var e=Aae();function t(t){t.register(e),t.languages.sparql=t.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),t.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]}),t.languages.rq=t.languages.sparql}return Pre=t,t.displayName="sparql",t.aliases=["rq"],Pre}()),Lae.register(function(){if(Dre)return Mre;function e(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:/[()[\],]/}}return Dre=1,Mre=e,e.displayName="splunkSpl",e.aliases=[],Mre}()),Lae.register(function(){if(Fre)return jre;function e(e){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"]}return Fre=1,jre=e,e.displayName="sqf",e.aliases=[],jre}()),Lae.register(fae()),Lae.register(function(){if(Bre)return $re;function e(e){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"}})}return Bre=1,$re=e,e.displayName="squirrel",e.aliases=[],$re}()),Lae.register(function(){if(Ure)return zre;function e(e){!function(e){var t=/\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/;e.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("("+t.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/,t],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:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}return Ure=1,zre=e,e.displayName="stan",e.aliases=[],zre}()),Lae.register(function(){if(Vre)return Hre;function e(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"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:r.interpolation}},rest:r}},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:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}return Vre=1,Hre=e,e.displayName="stylus",e.aliases=[],Hre}()),Lae.register(function(){if(Wre)return Gre;function e(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]*"+/(?:![ \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}))}return Wre=1,Gre=e,e.displayName="swift",e.aliases=[],Gre}()),Lae.register(function(){if(Kre)return qre;function e(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}return Kre=1,qre=e,e.displayName="systemd",e.aliases=[],qre}()),Lae.register(function(){if(Qre)return Zre;Qre=1;var e=Oae(),t=gae();function n(n){n.register(e),n.register(t),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}return Zre=n,n.displayName="t4Cs",n.aliases=[],Zre}()),Lae.register(Oae()),Lae.register(function(){if(noe)return toe;noe=1;var e=Oae(),t=Nae();function n(n){n.register(e),n.register(t),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}return toe=n,n.displayName="t4Vb",n.aliases=[],toe}()),Lae.register(function(){if(ioe)return aoe;ioe=1;var e=Pae();function t(t){t.register(e),t.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:t.languages.yaml,alias:"language-yaml"}}}return aoe=t,t.displayName="tap",t.aliases=[],aoe}()),Lae.register(function(){if(loe)return soe;function e(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:/[{}()\[\]]/}}return loe=1,soe=e,e.displayName="tcl",e.aliases=[],soe}()),Lae.register(function(){if(coe)return uoe;function e(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,(function(){return"(?:"+t+")"})).replace(//g,(function(){return"(?:"+n+")"})),r||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),i=a.phrase.inside,s={inline:i.inline,link:i.link,image:i.image,footnote:i.footnote,acronym:i.acronym,mark:i.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=i.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var u=i.table.inside;u.inline=s.inline,u.link=s.link,u.image=s.image,u.footnote=s.footnote,u.acronym=s.acronym,u.mark=s.mark}(e)}return coe=1,uoe=e,e.displayName="textile",e.aliases=[],uoe}()),Lae.register(function(){if(poe)return doe;function e(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,(function(){return t}))}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}return poe=1,doe=e,e.displayName="toml",e.aliases=[],doe}()),Lae.register(function(){if(moe)return foe;function e(e){!function(e){e.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 t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}return moe=1,foe=e,e.displayName="tremor",e.aliases=[],foe}()),Lae.register(function(){if(goe)return hoe;goe=1;var e=Tae(),t=kae();function n(n){n.register(e),n.register(t),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(n)}return hoe=n,n.displayName="tsx",n.aliases=[],hoe}()),Lae.register(function(){if(voe)return boe;voe=1;var e=wae();function t(t){t.register(e),function(e){e.languages.tt2=e.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:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.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 e.languages.tt2.string,e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")}))}(t)}return boe=t,t.displayName="tt2",t.aliases=[],boe}()),Lae.register(Aae()),Lae.register(function(){if(woe)return yoe;woe=1;var e=wae();function t(t){t.register(e),t.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:/[()\[\]{}:.,]/},t.hooks.add("before-tokenize",(function(e){if("twig"===e.language){t.languages["markup-templating"].buildPlaceholders(e,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}})),t.hooks.add("after-tokenize",(function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"twig")}))}return yoe=t,t.displayName="twig",t.aliases=[],yoe}()),Lae.register(kae()),Lae.register(function(){if(xoe)return Soe;function e(e){!function(e){var t=/\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/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},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:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}return xoe=1,Soe=e,e.displayName="typoscript",e.aliases=["tsconfig"],Soe}()),Lae.register(function(){if(Coe)return Eoe;function e(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}return Coe=1,Eoe=e,e.displayName="unrealscript",e.aliases=["uc","uscript"],Eoe}()),Lae.register(function(){if(Roe)return koe;function e(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:/[()\[\]{}:.,]/}}return Roe=1,koe=e,e.displayName="uorazor",e.aliases=[],koe}()),Lae.register(function(){if(Ioe)return Toe;function e(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}return Ioe=1,Toe=e,e.displayName="uri",e.aliases=["url"],Toe}()),Lae.register(function(){if(Aoe)return _oe;function e(e){!function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.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":t}}}},"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/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.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+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}return Aoe=1,_oe=e,e.displayName="v",e.aliases=[],_oe}()),Lae.register(function(){if(Noe)return Ooe;function e(e){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]+$/}}})}return Noe=1,Ooe=e,e.displayName="vala",e.aliases=[],Ooe}()),Lae.register(Nae()),Lae.register(function(){if(Loe)return Poe;function e(e){!function(e){e.languages.velocity=e.languages.extend("markup",{});var t={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:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.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:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}return Loe=1,Poe=e,e.displayName="velocity",e.aliases=[],Poe}()),Lae.register(function(){if(Doe)return Moe;function e(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:/[[\];(),.:]/}}return Doe=1,Moe=e,e.displayName="verilog",e.aliases=[],Moe}()),Lae.register(function(){if(Foe)return joe;function e(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]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return Foe=1,joe=e,e.displayName="vhdl",e.aliases=[],joe}()),Lae.register(function(){if(Boe)return $oe;function e(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:/[{}[\](),;:]/}}return Boe=1,$oe=e,e.displayName="vim",e.aliases=[],$oe}()),Lae.register(function(){if(Uoe)return zoe;function e(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"]}return Uoe=1,zoe=e,e.displayName="visualBasic",e.aliases=[],zoe}()),Lae.register(function(){if(Voe)return Hoe;function e(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/}}return Voe=1,Hoe=e,e.displayName="warpscript",e.aliases=[],Hoe}()),Lae.register(function(){if(Woe)return Goe;function e(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:/[()]/}}return Woe=1,Goe=e,e.displayName="wasm",e.aliases=[],Goe}()),Lae.register(function(){if(Koe)return qoe;function e(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var o in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],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:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==o&&(r[o]=e.languages["web-idl"][o]);e.languages.webidl=e.languages["web-idl"]}(e)}return Koe=1,qoe=e,e.displayName="webIdl",e.aliases=[],qoe}()),Lae.register(function(){if(Xoe)return Yoe;function e(e){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}}}})}return Xoe=1,Yoe=e,e.displayName="wiki",e.aliases=[],Yoe}()),Lae.register(function(){if(Qoe)return Zoe;function e(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}return Qoe=1,Zoe=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"],Zoe}()),Lae.register(function(){if(eae)return Joe;function e(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]+/}}}return eae=1,Joe=e,e.displayName="wren",e.aliases=[],Joe}()),Lae.register(function(){if(nae)return tae;function e(e){!function(e){e.languages.xeora=e.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"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}return nae=1,tae=e,e.displayName="xeora",e.aliases=["xeoracube"],tae}()),Lae.register(function(){if(oae)return rae;function e(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",o)}(e)}return oae=1,rae=e,e.displayName="xmlDoc",e.aliases=[],rae}()),Lae.register(function(){if(iae)return aae;function e(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:/[.,;:()]/}}return iae=1,aae=e,e.displayName="xojo",e.aliases=[],aae}()),Lae.register(function(){if(lae)return sae;function e(e){!function(e){e.languages.xquery=e.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:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var o=[],a=0;a0&&o[o.length-1].tagName===t(i.content[0].content[1])&&o.pop():"/>"===i.content[i.content.length-1].content||o.push({tagName:t(i.content[0].content[1]),openedBraces:0}):!(o.length>0&&"punctuation"===i.type&&"{"===i.content)||r[a+1]&&"punctuation"===r[a+1].type&&"{"===r[a+1].content||r[a-1]&&"plain-text"===r[a-1].type&&"{"===r[a-1].content?o.length>0&&o[o.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?o[o.length-1].openedBraces--:"comment"!==i.type&&(s=!0):o[o.length-1].openedBraces++),(s||"string"==typeof i)&&o.length>0&&0===o[o.length-1].openedBraces){var l=t(i);a0&&("string"==typeof r[a-1]||"plain-text"===r[a-1].type)&&(l=t(r[a-1])+l,r.splice(a-1,1),a--),/^\s+$/.test(l)?r[a]=l:r[a]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&n(i.content)}};e.hooks.add("after-tokenize",(function(e){"xquery"===e.language&&n(e.tokens)}))}(e)}return lae=1,sae=e,e.displayName="xquery",e.aliases=[],sae}()),Lae.register(Pae()),Lae.register(function(){if(cae)return uae;function e(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:/[{};:]/}}return cae=1,uae=e,e.displayName="yang",e.aliases=[],uae}()),Lae.register(function(){if(pae)return dae;function e(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(o))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(a)).replace(//g,t(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(a)).replace(//g,t(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach((function(t){null===t.inside&&(t.inside=e.languages.zig)}))}(e)}return pae=1,dae=e,e.displayName="zig",e.aliases=[],dae}());var Dae=function(e,t){return function(n){var r=n.language,o=n.children,a=n.style,i=void 0===a?t:a,s=n.customStyle,l=void 0===s?{}:s,u=n.codeTagProps,c=void 0===u?{className:r?"language-".concat(r):void 0,style:l2(l2({},i['code[class*="language-"]']),i['code[class*="language-'.concat(r,'"]')])}:u,d=n.useInlineStyles,p=void 0===d||d,f=n.showLineNumbers,m=void 0!==f&&f,h=n.showInlineLineNumbers,g=void 0===h||h,b=n.startingLineNumber,v=void 0===b?1:b,y=n.lineNumberContainerStyle,w=n.lineNumberStyle,S=void 0===w?{}:w,x=n.wrapLines,E=n.wrapLongLines,C=void 0!==E&&E,k=n.lineProps,R=void 0===k?{}:k,T=n.renderer,I=n.PreTag,_=void 0===I?"pre":I,A=n.CodeTag,O=void 0===A?"code":A,N=n.code,P=void 0===N?(Array.isArray(o)?o[0]:o)||"":N,L=n.astGenerator,M=function(e,t){if(null==e)return{};var n,r,o=_d(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,i2);L=L||e;var D=m?H.createElement(c2,{containerStyle:y,codeStyle:c.style||{},numberStyle:S,startingLineNumber:v,codeString:P}):null,j=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},F=b2(L)?"hljs":"prismjs",$=p?Object.assign({},M,{style:Object.assign({},j,l)}):Object.assign({},M,{className:M.className?"".concat(F," ").concat(M.className):F,style:Object.assign({},l)});if(c.style=l2(l2({},c.style),{},C?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!L)return H.createElement(_,$,D,H.createElement(O,c,P));(void 0===x&&T||C)&&(x=!0),T=T||g2;var B=[{type:"text",value:P}],z=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(b2(t)){var a=a2(t,n);return"text"===n?{value:o,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(w0){return{value:o}}}({astGenerator:L,language:r,code:P,defaultCodeValue:B});null===z.language&&(z.value=B);var U=h2(z,x,R,m,g,v,z.value.length+v,S,C);return H.createElement(_,$,H.createElement(O,c,!g&&D,T({rows:U,stylesheet:i,useInlineStyles:p})))}}(r(Mae),{'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}});Dae.supportedLanguages=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];const jae=Dae,Fae={'code[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#2b2b2b"},'pre[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:".1em",borderRadius:".3em"},comment:{color:"#808080"},prolog:{color:"#808080"},cdata:{color:"#808080"},delimiter:{color:"#cc7832"},boolean:{color:"#cc7832"},keyword:{color:"#cc7832"},selector:{color:"#cc7832"},important:{color:"#cc7832"},atrule:{color:"#cc7832"},operator:{color:"#a9b7c6"},punctuation:{color:"#a9b7c6"},"attr-name":{color:"#a9b7c6"},tag:{color:"#e8bf6a"},"tag.punctuation":{color:"#e8bf6a"},doctype:{color:"#e8bf6a"},builtin:{color:"#e8bf6a"},entity:{color:"#6897bb"},number:{color:"#6897bb"},symbol:{color:"#6897bb"},property:{color:"#9876aa"},constant:{color:"#9876aa"},variable:{color:"#9876aa"},string:{color:"#6a8759"},char:{color:"#6a8759"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline"},function:{color:"#ffc66d"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#294436"},deleted:{background:"#484a4a"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"}},$ae=(e,t)=>1===t.length?t[0]===e:t[0]<=e&&e<=t[1],Bae=H.memo((e=>{const{language:t,code:n,highlightLines:r,fontSize:o=12,showLineNumbers:a=!0,highlightColor:i="rgba(0,0,0, .1)",wrappedLines:s=[1,0]}=e,l=hv(),u=Math.max(s[0],1),c=Math.max(s[1],0);let d=n;return 0===u&&0===c||(d=n.split("\n").slice(u-1,0===c?void 0:c).join("\n")),te.jsx(jae,{style:"dark"===l.palette.mode?Fae:void 0,startingLineNumber:u,showLineNumbers:a,wrapLines:!0,customStyle:{fontSize:`${o}pt`},useInlineStyles:!0,lineProps:e=>({id:`L${e}`,...r&&$ae(e,r)&&{style:{backgroundColor:i,display:"block"}}}),language:t,children:d})})),zae=e=>"string"==typeof e&&1===e.match(/^[a-z](?:[a-z0-9_]+?\\[a-z0-9_]+)+$/i)?.length,Uae=/(static )?(function |fn )\(.*\).*((\{.*})|(=>.*))/s,Hae=U.memo((({value:e,depth:t=5,editable:n=!1,onChange:r,valueTypes:o=[]})=>{const a=mg("(prefers-color-scheme: dark)")?"dark":"light";return"string"==typeof e&&e.match(Uae)?.length?(e.replaceAll("\n","
").replaceAll(" "," "),te.jsx(Bae,{language:"php",code:e,showLineNumbers:!1,fontSize:10})):te.jsx(X1,{rootName:!1,value:e,editable:n,onChange:r,displayDataTypes:!1,quotesOnKeys:!1,enableClipboard:!0,defaultInspectDepth:t,groupArraysAfterLength:50,theme:a,style:{width:"100%"},collapseStringsAfterLength:50,valueTypes:[{is:e=>"string"==typeof e&&e.startsWith("@"),Component:e=>te.jsxs(te.Fragment,{children:["alias: ",e.value]})},{is:e=>Array.isArray(e)&&0===e.length,Component:e=>te.jsx(te.Fragment,{children:"[]"})},{is:e=>"string"==typeof e&&zae(e),Component:e=>te.jsxs(uS,{sx:{display:"inline",wordBreak:"break-word"},children:[e.value,te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+e.value,children:te.jsx(tU,{fontSize:"small"})})})]})},...o]})})),Vae=e=>Number(e.substring(e.indexOf("#",-1)+1)),Gae=e=>e.replace("object@",""),Wae=(e,t)=>"object@"+e+"#"+t;var qae={},Kae=function(){function e(e){this.data=e}return e.prototype.at=function(t){return new e({type:"at",parent:this,field:t})},e.prototype.set=function(e){return this.modify((function(t){return e}))},e.prototype.delete=function(){return this.modify((function(e){return qae}))},e.prototype.modify=function(e){var t=this.findTarget(),n=this.cloneForUpdate(t);if("aborted"===n.name)return t;var r=n.clonedTarget,o=n.leafHost,a=n.field,i=n.structurallyModified,s=Qae(o),l=s?o.get():o[a],u=e(l);if(""===a)return s?o.Option(u):u;var c=i;if(u===qae)if(Array.isArray(o)&&"number"==typeof a){if(a>=o.length)return t;c=!0,o.splice(a,1)}else s?(a in o.value&&(c=!0),delete o.value[a]):(a in o&&(c=!0),delete o[a]);else if(l!==u&&(c=!0),s)o.value[a]=u;else{var d=Qae(l)?l.Option(u):u;o[a]=d}return c?r:t},e.prototype.withDefault=function(t){return new e({type:"withDefault",parent:this,defaultValue:Yae(t)})},e.prototype.abortIfNot=function(t){return new e({type:"abortIfNot",parent:this,predicate:t})},e.prototype.abortIfUndef=function(){return this.abortIfNot((function(e){return Qae(e)?"some"===e.type:void 0!==e}))},e.prototype.findTarget=function(){for(var e=this;;){if("root"===e.data.type)return e.data.target;e=e.data.parent}},e.prototype.parentUpdaters=function(){for(var e=[this],t=this.data.parent;t&&t.data.parent;)e.unshift(t),t=t.data.parent;return e},e.prototype.getNextValue=function(e,t,n,r){var o=Qae(t),a=Qae(e);if("at"===this.data.type){var i=this.data.field;if(o){if("none"===t.type)return{host:void 0,field:i};t.value=Yae(t.value);var s=Yae(t.value[i]),l=r?t:s;return t.value[this.data.field]=s,{host:l,field:i}}if(!t)return{host:void 0,field:i};s=Yae(t[i]);var u=r?t:s;return void 0!==s&&(t[this.data.field]=s),{host:u,field:i}}if("abortIfNot"===this.data.type&&!1===this.data.predicate(t))return{host:t,field:n,aborted:!0};if("withDefault"===this.data.type&&(void 0===e[n]||Qae(e[n]))){s=Qae(t)?t.Option(this.data.defaultValue):this.data.defaultValue;var c=r?e:s;return a?e.value[n]=s:e[n]=s,{host:c,field:n,structurallyModified:!0}}return{host:r?e:t,field:n}},e.prototype.cloneForUpdate=function(e){for(var t=this.parentUpdaters(),n=Xae(e),r=n,o=n,a="",i=!1,s=0;s{const[t]=dV(),n=XV(),[r,o]=U.useState(e.value),a=async(e,a)=>{const i=await t({debugEntryId:n.id,objectId:Vae(e)});let s=new Kae({type:"root",target:r});for(const t of a)s=s.at(t);const l=s.set(i.data.value);o(l)},i=[{is:e=>"string"==typeof e&&!!e.match(/object@[\w\\]+#\d/),Component:e=>te.jsxs(uS,{sx:{display:"inline",wordBreak:"break-word"},children:[Gae(e.value),te.jsx(oN,{title:"Load object state",children:te.jsx(Uw,{onClick:t=>a(e.value,e.path),children:te.jsx(Bz,{})},e.path.join(","))}),te.jsx(oN,{title:"Examine an object",children:te.jsx(Uw,{size:"small",href:`/debug/object?debugEntry=${n.id}&id=${Vae(e.value)}`,children:te.jsx(Bz,{color:"secondary",fontSize:"small"})})})]})}];return te.jsx(Hae,{value:r,valueTypes:i})})),eie=[{field:"0",headerName:"Name",width:130},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(Jae,{value:e.value},e.id)}],tie=()=>{const e=XV(),t=Array.isArray(e);let n=Object.entries(e||[]);return n=n.map((e=>({0:e[0],1:t?Object.assign({},e[1]):e[1]}))),te.jsx("div",{style:{height:400,width:"100%"},children:te.jsx(p0,{rows:n,getRowId:e=>e[0],columns:eie})})};var nie={},rie=Rb;Object.defineProperty(nie,"__esModule",{value:!0});var oie=nie.default=void 0,aie=rie(yU()),iie=ee;oie=nie.default=(0,aie.default)((0,iie.jsx)("path",{d:"M19 3H4.99c-1.11 0-1.98.89-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2m0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19z"}),"Inbox");var sie={},lie=Rb;Object.defineProperty(sie,"__esModule",{value:!0});var uie=sie.default=void 0,cie=lie(yU()),die=ee;uie=sie.default=(0,cie.default)((0,die.jsx)("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"}),"List");var pie={},fie=Rb;Object.defineProperty(pie,"__esModule",{value:!0});var mie=pie.default=void 0,hie=fie(yU()),gie=ee;mie=pie.default=(0,hie.default)((0,gie.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Mail");var bie={},vie=Rb;Object.defineProperty(bie,"__esModule",{value:!0});var yie=bie.default=void 0,wie=vie(yU()),Sie=ee;yie=bie.default=(0,wie.default)((0,Sie.jsx)("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"}),"Replay");const xie=({text:e,title:t,icon:n,severity:r})=>te.jsx(ik,{sx:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%"},children:te.jsxs(te.Fragment,{children:[U.cloneElement(n,{sx:{my:3,fontSize:150},color:r}),te.jsx(uS,{component:"h5",variant:"h5",my:3,children:t}),e&&te.jsx(nS,{severity:r,children:e})]})}),Eie=e=>({width:240,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}),Cie=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),width:`calc(${e.spacing(7)} + 1px)`,[e.breakpoints.up("sm")]:{width:`calc(${e.spacing(8)} + 1px)`}}),kie=Wv(yT,{shouldForwardProp:e=>"open"!==e})((({theme:e,open:t})=>({width:240,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{classes:"opened"},...t&&{...Eie(e),"& .MuiDrawer-paper":Eie(e)},...!t&&{...Cie(e),"& .MuiDrawer-paper":Cie(e)}}))),Rie={flex:"0 1 auto","&.drawer-opened .MuiListItemButton-root .MuiListItemIcon-root":{mr:1},"& .MuiListItemButton-root .MuiListItemText-root":{display:"none"},"&.drawer-opened .MuiListItemButton-root .MuiListItemText-root":{display:"inline-block"},"& .MuiListItemButton-root .menu-opener":{transition:"transform 0.3s"},"&.drawer-opened .MuiListItemButton-root .menu-opener":{transform:"rotate(180deg)"},zIndex:"auto"},Tie=U.memo((e=>{const{onClick:t,linkProps:n,activeLink:r}=e;return te.jsxs(f_,{children:[te.jsx(A_,{disablePadding:!0,sx:{display:"block"},children:te.jsx(w_,{onClick:t,sx:{minHeight:48,justifyContent:"flex-end",px:2.5},children:te.jsx($_,{sx:{minWidth:0,mr:"auto",transition:"margin-right 1s",justifyContent:"center"},children:te.jsx(Mz,{className:"menu-opener"})})})}),n.map(((e,t)=>te.jsx(A_,{disablePadding:!0,sx:{display:"block"},children:te.jsxs(w_,{component:l_,href:e.href,sx:{minHeight:48,justifyContent:"center",px:2.5,overflowX:"hidden"},children:[te.jsx($_,{sx:{minWidth:0,mr:"auto",justifyContent:"center"},children:te.jsx(rk,{color:"info",badgeContent:e.badge||void 0,children:te.jsx(zC,{variant:"rounded",sx:{bgcolor:r===e.name?"secondary.main":"primary.main",fontSize:14},children:e.text.substring(0,3)})})}),te.jsx(V_,{primary:e.text})]})},t)))]})})),Iie=U.memo((e=>{const{links:t,children:n,activeLink:r}=e,[o,a]=U.useState(!!e.open),i=U.useRef();U.useEffect((()=>{a(!!e.open)}),[e.open]);const s=U.useCallback((()=>{a((e=>!e))}),[]);return te.jsxs(ik,{sx:{display:"flex",position:"relative",flexWrap:"nowrap"},ref:i,children:[te.jsx(kie,{variant:"permanent",className:o?"drawer-opened":"",open:o,container:i.current,PaperProps:{sx:{position:"relative",zIndex:"auto"}},sx:Rie,children:te.jsx(Tie,{onClick:s,linkProps:t,activeLink:r})}),te.jsx(ik,{sx:{flexGrow:1,p:1},children:n})]})}));class _ie{constructor(e){this.url=e}eventSource=null;listeners=[];subscribe(e){null!==this.eventSource&&this.eventSource.readyState!==EventSource.CLOSED||(this.eventSource=new EventSource(this.url)),this.listeners.push(e),this.eventSource.addEventListener("message",this.handle.bind(this))}unsubscribe(e){null!==this.eventSource&&(this.listeners=this.listeners.filter((t=>t!==e)),this.eventSource.readyState===EventSource.OPEN&&0===this.listeners.length&&this.close())}close(){this.eventSource.close(),this.eventSource.removeEventListener("message",this.handle.bind(this))}handle(e){this.listeners&&this.listeners.forEach((t=>t(e)))}}var Aie=(e=>(e.DebugUpdated="debug-updated",e))(Aie||{});const Oie=(e,t,n=!0)=>{const r=U.useRef(t),o=U.useRef((e=>new _ie(e+"/debug/api/event-stream"))(e));U.useEffect((()=>(r.current&&o.current.unsubscribe(r.current),n?(o.current.subscribe(t),r.current=t,()=>{o.current.unsubscribe(t),o.current.close()}):()=>{o.current.unsubscribe(t)})),[t,n])},Nie=e=>{switch(!0){case e>=400:return"error";case e>=300:return"warning";case e>=200:return"success"}return"info"};var Pie=(e=>(e.AssetCollector="Yiisoft\\Assets\\Debug\\AssetCollector",e.LogCollector="Yiisoft\\Yii\\Debug\\Collector\\LogCollector",e.EventCollector="Yiisoft\\Yii\\Debug\\Collector\\EventCollector",e.ExceptionCollector="Yiisoft\\Yii\\Debug\\Collector\\ExceptionCollector",e.ServiceCollector="Yiisoft\\Yii\\Debug\\Collector\\ServiceCollector",e.TimelineCollector="Yiisoft\\Yii\\Debug\\Collector\\TimelineCollector",e.ValidatorCollector="Yiisoft\\Validator\\Debug\\ValidatorCollector",e.DatabaseCollector="Yiisoft\\Db\\Debug\\DatabaseCollector",e.QueueCollector="Yiisoft\\Queue\\Debug\\QueueCollector",e.HttpClientCollector="Yiisoft\\Yii\\Debug\\Collector\\HttpClientCollector",e.FilesystemStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\FilesystemStreamCollector",e.HttpStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\HttpStreamCollector",e.ConsoleAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\ConsoleAppInfoCollector",e.WebAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\WebAppInfoCollector",e.CommandCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\CommandCollector",e.MiddlewareCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\MiddlewareCollector",e.RequestCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\RequestCollector",e.MailerCollector="Yiisoft\\Mailer\\Debug\\MailerCollector",e.VarDumperCollector="Yiisoft\\Yii\\Debug\\Collector\\VarDumperCollector",e))(Pie||{});const Lie=(e,t)=>{switch(e){case Pie.AssetCollector:return Number(t.asset?.bundles?.total);case Pie.DatabaseCollector:return Number(t.db?.queries?.total)+Number(t.db?.transactions?.total);case Pie.ExceptionCollector:return Object.values(t.exception??[]).length>0?1:0;case Pie.EventCollector:return Number(t.event?.total);case Pie.LogCollector:return Number(t.logger?.total);case Pie.ServiceCollector:return Number(t.service?.total);case Pie.VarDumperCollector:return Number(t["var-dumper"]?.total);case Pie.ValidatorCollector:return Number(t.validator?.total);case Pie.MiddlewareCollector:return Number(t.middleware?.total);case Pie.QueueCollector:return Number(t.queue?.countPushes)+Number(t.queue?.countStatuses)+Number(t.queue?.countProcessingMessages);case Pie.HttpClientCollector:return Number(t.http?.count);case Pie.HttpStreamCollector:return Number(t.http_stream?.length);case Pie.MailerCollector:return Number(t.mailer?.total);case Pie.FilesystemStreamCollector:return Object.values(t.fs_stream??[]).reduce(((e,t)=>e+t),0);case Pie.ConsoleAppInfoCollector:default:return 0}};function Mie(e){return e&&"console"in e}function Die(e){return e&&"web"in e}function jie(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Fie(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function $ie(e){Fie(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===pb(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}var Bie={};function zie(){return Bie}function Uie(e){if(Fie(1,arguments),!function(e){return Fie(1,arguments),e instanceof Date||"object"===pb(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=$ie(e);return!isNaN(Number(t))}function Hie(e,t){return Fie(2,arguments),function(e,t){Fie(2,arguments);var n=$ie(e).getTime(),r=jie(t);return new Date(n+r)}(e,-jie(t))}function Vie(e){Fie(1,arguments);var t=$ie(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function Gie(e){Fie(1,arguments);var t=$ie(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=Vie(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var i=Vie(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Wie(e){Fie(1,arguments);var t=$ie(e),n=Vie(t).getTime()-function(e){Fie(1,arguments);var t=Gie(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),Vie(n)}(t).getTime();return Math.round(n/6048e5)+1}function qie(e,t){var n,r,o,a,i,s,l,u;Fie(1,arguments);var c=zie(),d=jie(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(s=i.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=$ie(e),f=p.getUTCDay(),m=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(d+1,0,f),m.setUTCHours(0,0,0,0);var h=qie(m,t),g=new Date(0);g.setUTCFullYear(d,0,f),g.setUTCHours(0,0,0,0);var b=qie(g,t);return c.getTime()>=h.getTime()?d+1:c.getTime()>=b.getTime()?d:d-1}function Yie(e,t){Fie(1,arguments);var n=$ie(e),r=qie(n,t).getTime()-function(e,t){var n,r,o,a,i,s,l,u;Fie(1,arguments);var c=zie(),d=jie(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(s=i.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==n?n:1),p=Kie(e,t),f=new Date(0);return f.setUTCFullYear(p,0,d),f.setUTCHours(0,0,0,0),qie(f,t)}(n,t).getTime();return Math.round(r/6048e5)+1}function Xie(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return Xie("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):Xie(n+1,2)},d:function(e,t){return Xie(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return Xie(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Xie(e.getUTCHours(),t.length)},m:function(e,t){return Xie(e.getUTCMinutes(),t.length)},s:function(e,t){return Xie(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return Xie(Math.floor(r*Math.pow(10,n-3)),t.length)}};const Qie=Zie;var Jie="midnight",ese="noon",tse="morning",nse="afternoon",rse="evening",ose="night",ase={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Qie.y(e,t)},Y:function(e,t,n,r){var o=Kie(e,r),a=o>0?o:1-o;return"YY"===t?Xie(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):Xie(a,t.length)},R:function(e,t){return Xie(Gie(e),t.length)},u:function(e,t){return Xie(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Xie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Xie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Qie.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Xie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=Yie(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):Xie(o,t.length)},I:function(e,t,n){var r=Wie(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Xie(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Qie.d(e,t)},D:function(e,t,n){var r=function(e){Fie(1,arguments);var t=$ie(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Xie(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Xie(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Xie(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Xie(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?ese:0===o?Jie:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?rse:o>=12?nse:o>=4?tse:ose,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Qie.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Qie.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Xie(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Xie(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Qie.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Qie.s(e,t)},S:function(e,t){return Qie.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return sse(o);case"XXXX":case"XX":return lse(o);default:return lse(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return sse(o);case"xxxx":case"xx":return lse(o);default:return lse(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ise(o,":");default:return"GMT"+lse(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ise(o,":");default:return"GMT"+lse(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return Xie(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return Xie((r._originalDate||e).getTime(),t.length)}};function ise(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+Xie(a,2)}function sse(e,t){return e%60==0?(e>0?"-":"+")+Xie(Math.abs(e)/60,2):lse(e,t)}function lse(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+Xie(Math.floor(o/60),2)+n+Xie(o%60,2)}var use=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},cse=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},dse={p:cse,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return use(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",use(o,t)).replace("{{time}}",cse(a,t))}},pse=["D","DD"],fse=["YY","YYYY"];function mse(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var hse={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const gse=function(e,t,n){var r,o=hse[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function bse(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const vse={date:bse({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:bse({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:bse({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var yse={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const wse=function(e,t,n,r){return yse[e]};function Sse(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var xse={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Sse({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Sse({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Sse({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Sse({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Sse({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};const Ese=xse;function Cse(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,s=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(kse.matchPattern);if(!n)return null;var r=n[0],o=e.match(kse.parsePattern);if(!o)return null;var a=kse.valueCallback?kse.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(r.length)}}),era:Cse({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Cse({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Cse({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Cse({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Cse({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const Tse={code:"en-US",formatDistance:gse,formatLong:vse,formatRelative:wse,localize:Ese,match:Rse,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Ise=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_se=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ase=/^'([^]*?)'?$/,Ose=/''/g,Nse=/[a-zA-Z]/;function Pse(e,t,n){var r,o,a,i,s,l,u,c,d,p,f,m,h,g,b,v,y,w;Fie(2,arguments);var S=String(t),x=zie(),E=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:x.locale)&&void 0!==r?r:Tse,C=jie(null!==(a=null!==(i=null!==(s=null!==(l=null==n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null==n||null===(u=n.locale)||void 0===u||null===(c=u.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==s?s:x.firstWeekContainsDate)&&void 0!==i?i:null===(d=x.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==a?a:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=jie(null!==(f=null!==(m=null!==(h=null!==(g=null==n?void 0:n.weekStartsOn)&&void 0!==g?g:null==n||null===(b=n.locale)||void 0===b||null===(v=b.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==h?h:x.weekStartsOn)&&void 0!==m?m:null===(y=x.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==f?f:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var R=$ie(e);if(!Uie(R))throw new RangeError("Invalid time value");var T=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}(R),I=Hie(R,T),_={firstWeekContainsDate:C,weekStartsOn:k,locale:E,_originalDate:R},A=S.match(_se).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,dse[t])(e,E.formatLong):e})).join("").match(Ise).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(Ase);if(!t)return e;return t[1].replace(Ose,"'")}(r);var a=ase[o];if(a)return null!=n&&n.useAdditionalWeekYearTokens||!function(e){return-1!==fse.indexOf(e)}(r)||mse(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!function(e){return-1!==pse.indexOf(e)}(r)||mse(r,t,String(e)),a(I,r,E.localize,_);if(o.match(Nse))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return A}function Lse(e){return Fie(1,arguments),$ie(1e3*jie(e))}function Mse(e){return Pse(Lse(e),"do MMM HH:mm:ss")}function Dse(e){return e?function(e,t){const n=String(e).split(".");return Pse(Lse(+n[0]),t)+(2===n.length?"."+n[1].padEnd(6,"0"):"")}(e,"HH:mm:ss"):"0.000000"}function jse(e){return`${(1e3*e).toFixed(3)} ms`}var Fse={},$se=Rb;Object.defineProperty(Fse,"__esModule",{value:!0});var Bse=Fse.default=void 0,zse=$se(yU()),Use=ee;Bse=Fse.default=(0,zse.default)((0,Use.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIosSharp");var Hse={},Vse=Rb;Object.defineProperty(Hse,"__esModule",{value:!0});var Gse=Hse.default=void 0,Wse=Vse(yU()),qse=ee;Gse=Hse.default=(0,Wse.default)((0,qse.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");const Kse=U.createContext(null);function Yse(e){const{children:t,value:n}=e,r=function(){const[e,t]=U.useState(null);return U.useEffect((()=>{t(`mui-p-${Math.round(1e5*Math.random())}`)}),[]),e}(),o=U.useMemo((()=>({idPrefix:r,value:n})),[r,n]);return ee.jsx(Kse.Provider,{value:o,children:t})}function Xse(){return U.useContext(Kse)}function Zse(e,t){const{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-P-${t}`}function Qse(e,t){const{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-T-${t}`}const Jse=["children"],ele=U.forwardRef((function(e,t){const{children:n}=e,r=_d(e,Jse),o=Xse();if(null===o)throw new TypeError("No TabContext provided");const a=U.Children.map(n,(e=>U.isValidElement(e)?U.cloneElement(e,{"aria-controls":Zse(o,e.props.value),id:Qse(o,e.props.value)}):null));return ee.jsx(pL,Id({},r,{ref:t,value:o.value,children:a}))}));function tle(e){return Ch("MuiTabPanel",e)}kh("MuiTabPanel",["root"]);const nle=["children","className","value"],rle=Wv("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(3)}))),ole=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTabPanel"}),{children:r,className:o,value:a}=n,i=_d(n,nle),s=Id({},n),l=(e=>{const{classes:t}=e;return eb({root:["root"]},tle,t)})(s),u=Xse();if(null===u)throw new TypeError("No TabContext provided");const c=Zse(u,a),d=Qse(u,a);return ee.jsx(rle,Id({"aria-labelledby":d,className:wh(l.root,o),hidden:a!==u.value,id:c,ref:t,role:"tabpanel",ownerState:s},i,{children:a===u.value&&r}))})),ale=ole,ile=U.createContext({});function sle(e){return Ch("MuiTimeline",e)}function lle(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${cm(e)}`}kh("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const ule=["position","className"],cle=Wv("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[lle(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),dle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimeline"}),{position:r="right",className:o}=n,a=_d(n,ule),i=Id({},n,{position:r}),s=(e=>{const{position:t,classes:n}=e;return eb({root:["root",t&&lle(t)]},sle,n)})(i),l=U.useMemo((()=>({position:r})),[r]);return ee.jsx(ile.Provider,{value:l,children:ee.jsx(cle,Id({className:wh(s.root,o),ownerState:i,ref:t},a))})})),ple=dle;function fle(e){return Ch("MuiTimelineConnector",e)}kh("MuiTimelineConnector",["root"]);const mle=["className"],hle=Wv("span",{name:"MuiTimelineConnector",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({width:2,backgroundColor:(e.vars||e).palette.grey[400],flexGrow:1}))),gle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineConnector"}),{className:r}=n,o=_d(n,mle),a=n,i=(e=>{const{classes:t}=e;return eb({root:["root"]},fle,t)})(a);return ee.jsx(hle,Id({className:wh(i.root,r),ownerState:a,ref:t},o))}));function ble(e){return Ch("MuiTimelineContent",e)}const vle=kh("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),yle=["className"],wle=Wv(uS,{name:"MuiTimelineContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[lle(n.position)]]}})((({ownerState:e})=>Id({flex:1,padding:"6px 16px",textAlign:"left"},"left"===e.position&&{textAlign:"right"}))),Sle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineContent"}),{className:r}=n,o=_d(n,yle),{position:a}=U.useContext(ile),i=Id({},n,{position:a||"right"}),s=(e=>{const{position:t,classes:n}=e;return eb({root:["root",lle(t)]},ble,n)})(i);return ee.jsx(wle,Id({component:"div",className:wh(s.root,r),ownerState:i,ref:t},o))})),xle=Sle;function Ele(e){return Ch("MuiTimelineDot",e)}kh("MuiTimelineDot",["root","filled","outlined","filledGrey","outlinedGrey","filledPrimary","outlinedPrimary","filledSecondary","outlinedSecondary"]);const Cle=["className","color","variant"],kle=Wv("span",{name:"MuiTimelineDot",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["inherit"!==n.color&&`${n.variant}${cm(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>Id({display:"flex",alignSelf:"baseline",borderStyle:"solid",borderWidth:2,padding:4,borderRadius:"50%",boxShadow:(t.vars||t).shadows[1],margin:"11.5px 0"},"filled"===e.variant&&Id({borderColor:"transparent"},"inherit"!==e.color&&Id({},"grey"===e.color?{color:(t.vars||t).palette.grey[50],backgroundColor:(t.vars||t).palette.grey[400]}:{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main})),"outlined"===e.variant&&Id({boxShadow:"none",backgroundColor:"transparent"},"inherit"!==e.color&&Id({},"grey"===e.color?{borderColor:(t.vars||t).palette.grey[400]}:{borderColor:(t.vars||t).palette[e.color].main}))))),Rle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineDot"}),{className:r,color:o="grey",variant:a="filled"}=n,i=_d(n,Cle),s=Id({},n,{color:o,variant:a}),l=(e=>{const{color:t,variant:n,classes:r}=e;return eb({root:["root",n,"inherit"!==t&&`${n}${cm(t)}`]},Ele,r)})(s);return ee.jsx(kle,Id({className:wh(l.root,r),ownerState:s,ref:t},i))})),Tle=Rle;function Ile(e){return Ch("MuiTimelineOppositeContent",e)}const _le=kh("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),Ale=["className"],Ole=Wv(uS,{name:"MuiTimelineOppositeContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[lle(n.position)]]}})((({ownerState:e})=>Id({padding:"6px 16px",marginRight:"auto",textAlign:"right",flex:1},"left"===e.position&&{textAlign:"left"}))),Nle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineOppositeContent"}),{className:r}=n,o=_d(n,Ale),{position:a}=U.useContext(ile),i=Id({},n,{position:a||"left"}),s=(e=>{const{position:t,classes:n}=e;return eb({root:["root",lle(t)]},Ile,n)})(i);return ee.jsx(Ole,Id({component:"div",className:wh(s.root,r),ownerState:i,ref:t},o))}));Nle.muiName="TimelineOppositeContent";const Ple=Nle;function Lle(e){return Ch("MuiTimelineItem",e)}kh("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse","missingOppositeContent"]);const Mle=["position","className"],Dle=Wv("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[lle(n.position)]]}})((({ownerState:e})=>Id({listStyle:"none",display:"flex",position:"relative",minHeight:70},"left"===e.position&&{flexDirection:"row-reverse"},("alternate"===e.position||"alternate-reverse"===e.position)&&{[`&:nth-of-type(${"alternate"===e.position?"even":"odd"})`]:{flexDirection:"row-reverse",[`& .${vle.root}`]:{textAlign:"right"},[`& .${_le.root}`]:{textAlign:"left"}}},!e.hasOppositeContent&&{"&::before":{content:'""',flex:1,padding:"6px 16px"}}))),jle=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineItem"}),{position:r,className:o}=n,a=_d(n,Mle),{position:i}=U.useContext(ile);let s=!1;U.Children.forEach(n.children,(e=>{kg(e,["TimelineOppositeContent"])&&(s=!0)}));const l=Id({},n,{position:r||i||"right",hasOppositeContent:s}),u=(e=>{const{position:t,classes:n,hasOppositeContent:r}=e;return eb({root:["root",lle(t),!r&&"missingOppositeContent"]},Lle,n)})(l),c=U.useMemo((()=>({position:l.position})),[l.position]);return ee.jsx(ile.Provider,{value:c,children:ee.jsx(Dle,Id({className:wh(u.root,o),ownerState:l,ref:t},a))})})),Fle=jle;function $le(e){return Ch("MuiTimelineSeparator",e)}kh("MuiTimelineSeparator",["root"]);const Ble=["className"],zle=Wv("div",{name:"MuiTimelineSeparator",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",flex:0,alignItems:"center"}),Ule=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiTimelineSeparator"}),{className:r}=n,o=_d(n,Ble),a=n,i=(e=>{const{classes:t}=e;return eb({root:["root"]},$le,t)})(a);return ee.jsx(zle,Id({className:wh(i.root,r),ownerState:a,ref:t},o))})),Hle=Wv((e=>te.jsx(tw,{disableGutters:!0,elevation:0,square:!0,...e})))((({theme:e})=>({border:`1px solid ${e.palette.divider}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"}}))),Vle=Wv((e=>te.jsx(Lw,{expandIcon:te.jsx(Bse,{sx:{fontSize:"0.9rem"}}),...e})))((({theme:e})=>({backgroundColor:"dark"===e.palette.mode?"rgba(255, 255, 255, .05)":"rgba(0, 0, 0, .03)",flexDirection:"row-reverse","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)"},"& .MuiAccordionSummary-content":{marginLeft:e.spacing(1)}}))),Gle=Wv(iw)((({theme:e})=>({padding:e.spacing(2),borderTop:"1px solid rgba(0, 0, 0, .125)"}))),Wle=({tab:e})=>te.jsx(ale,{value:e,sx:{padding:"0"},children:te.jsx(uS,{children:"Not supported yet"})}),qle=({tab:e,queries:t})=>{const[n,r]=H.useState(-1);return te.jsx(ale,{value:e,sx:{padding:"0"},children:Object.values(t).map(((e,t)=>{return te.jsxs(Hle,{expanded:n===t,onChange:(o=t,(e,t)=>{r(t?o:-1)}),children:[te.jsxs(Vle,{expandIcon:te.jsx(Gse,{}),children:[te.jsx(uS,{sx:{flexGrow:1},children:e.sql}),te.jsx(uS,{sx:{color:"text.secondary"},children:Kle(e.actions)})]}),te.jsxs(Gle,{children:[Object.keys(e.params).length>0&&te.jsxs(te.Fragment,{children:[te.jsx(Jae,{value:e.params}),te.jsx("br",{})]}),te.jsx(Jae,{value:e.rawSql})]})]},t);var o}))})};function Kle(e){const t=e.find((e=>"query.start"===e.action)),n=e.find((e=>"query.end"===e.action));return jse(n.time-t.time)}const Yle=({data:e})=>{const t=Object.keys(e),[n,r]=U.useState(t[0]);return e&&0!==e.length?te.jsxs(Yse,{value:n,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsx(ele,{onChange:(e,t)=>{r(t)},children:t.map((e=>te.jsx(mP,{label:e,value:e},e)))})}),t.map((t=>te.jsx(te.Fragment,{children:"queries"===t?te.jsx(qle,{tab:t,queries:e[t]},t):"transactions"===t?te.jsx(Wle,{tab:t}):null})))]}):te.jsx(te.Fragment,{children:"Nothing here"})},Xle=e=>"string"==typeof e?e.replace(/([#:][0-9a-z_-]+)$/i,""):"";function Zle(e){return e.slice(1).slice(0,2).filter(Boolean).map(Number)}const Qle=e=>{const t=Xle(e),n=e.match(/[#:]([0-9]+)(?:-([0-9]+))?$/i);return n&&n.length?t+"#L"+Zle(n).join("-"):t},Jle=e=>{const t=e.match(/#?L([0-9]+)(?:-([0-9]+))?$/);if(t&&t.length)return Zle(t)},eue=e=>e.split("/").pop()??e,tue=U.memo((e=>{const{name:t,file:n,payload:r,children:o}=e,a=t.split("\\").splice(-1).join(""),i=Vae(r||""),s=XV();return te.jsxs(xle,{sx:{py:"12px",px:2,display:"flex",flexDirection:"column"},children:[te.jsxs(ik,{sx:{wordBreak:"break-word"},children:[te.jsx(oN,{title:t,children:te.jsx(uS,{component:"span",children:a})}),te.jsx(oN,{title:"Examine an object",children:te.jsx(Uw,{size:"small",href:`/debug/object?debugEntry=${s.id}&id=${i}`,children:te.jsx(Bz,{color:"secondary",fontSize:"small"})})}),n&&te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?path=${Xle(n)}`,children:te.jsx(tU,{fontSize:"small"})})})]}),te.jsx(ik,{children:o})]})})),nue=({event:e})=>{const t=eue(e.line);return te.jsxs(uS,{sx:{whiteSpace:"nowrap"},children:[te.jsx(oN,{title:e.line,children:te.jsx(uS,{component:"span",sx:{fontSize:"calc(100% - 2px)"},children:t})}),te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?path=${Qle(e.line)}`,children:te.jsx(tU,{fontSize:"small"})})})]})},rue=e=>{const{events:t}=e;return t&&0===t.length?te.jsx(te.Fragment,{children:"Nothing here"}):te.jsx(ple,{position:"alternate",children:t&&t.map(((e,n)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:e.time,children:te.jsx(uS,{component:"span",children:Dse(e.time)})})}),te.jsxs(Ule,{children:[te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})}),n!==t.length-1&&te.jsx(gle,{})]}),te.jsx(tue,{name:e.name,file:e.file,payload:e.event,children:te.jsx(nue,{event:e})})]},n)))})},oue=e=>{const[t]=RV(),[n,r]=U.useState(null);U.useEffect((()=>{(async()=>{const n=await t(Xle(e.file));r(n.data)})()}),[e.file]);const o=+e.line;return te.jsx(te.Fragment,{children:te.jsxs(tw,{defaultExpanded:!0,children:[te.jsxs(Lw,{expandIcon:te.jsx(Gse,{}),children:[te.jsxs(uS,{sx:{flex:"1 1 50%"},children:[e.class,": ",e.message]}),te.jsxs(uS,{children:[eue(e.file),":",e.line]})]}),te.jsxs(iw,{children:[te.jsxs(jT,{direction:"row",children:[te.jsxs(nS,{severity:"error",sx:{flexGrow:1},children:[te.jsx(mS,{children:e.class}),e.message]}),te.jsxs(jT,{children:[te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Ak,{size:"small",fullWidth:!0,href:`/inspector/files?class=${Xle(e.class)}`,endIcon:te.jsx(tU,{fontSize:"small"}),children:"Exception"})}),te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Ak,{size:"small",fullWidth:!0,href:`/inspector/files?path=${Xle(e.file)}#L${e.line}`,endIcon:te.jsx(tU,{fontSize:"small"}),children:"Place"})})]})]}),n&&te.jsx(Bae,{language:n.extension,code:n.content,highlightLines:[o],highlightColor:"#ffcccc",wrappedLines:[o-5,o+5]}),te.jsxs(tw,{children:[te.jsx(Lw,{expandIcon:te.jsx(Gse,{}),children:"Trace"}),te.jsx(iw,{children:te.jsx(Bae,{fontSize:10,language:"text/plain",code:e.traceAsString||""})})]})]})]})})},aue=e=>te.jsxs(te.Fragment,{children:[te.jsxs(uS,{children:["Found ",te.jsx("b",{children:e.exceptions?.length})," cascade exceptions"]}),(e.exceptions??[]).map(((e,t)=>te.jsx(ik,{children:te.jsx(oue,{...e})},t)))]}),iue=({data:e})=>{const t=Object.keys(e);console.log("tabs",e);const[n,r]=U.useState(t[0]);return e&&0!==e.length?te.jsxs(Yse,{value:n,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsx(ele,{onChange:(e,t)=>{r(t)},children:t.map((e=>te.jsx(mP,{label:e,value:e},e)))})}),t.map((t=>te.jsx(ale,{value:t,children:te.jsx(f_,{dense:!0,children:e[t].map(((e,t)=>te.jsx(A_,{children:te.jsxs(V_,{sx:{wordBreak:"break-all"},secondary:Object.keys(e.args).length?JSON.stringify(e.args):null,children:[te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?path=${Xle(e.path)}`,children:te.jsx(tU,{fontSize:"small"})})}),e.path]})},t)))})},t)))]}):te.jsx(te.Fragment,{children:"Nothing here"})},sue=({data:e})=>te.jsx(te.Fragment,{children:e&&0!==e.length?e.map(((e,t)=>te.jsxs(nS,{variant:"outlined",severity:"success",icon:!1,children:[te.jsx(mS,{children:e.message}),te.jsxs(ik,{children:[te.jsx(Jae,{value:e.context,depth:2}),te.jsxs(l_,{href:`/inspector/files?path=${Qle(e.line)}`,children:[e.line,te.jsx(Vz,{fontSize:"small"})]})]})]},t))):te.jsx(te.Fragment,{children:"Nothing here"})});var lue={},uue=Rb;Object.defineProperty(lue,"__esModule",{value:!0});var cue=lue.default=void 0,due=uue(yU()),pue=ee;cue=lue.default=(0,due.default)((0,pue.jsx)("path",{d:"M3.5 9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2zm14 0H13c-.55 0-1 .45-1 1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5c0-.55-.45-1-1-1M11 9H6v1.5h1.75V15h1.5v-4.5H11zm13 6v-1.5h-2.5V9H20v6z"}),"Html");var fue={},mue=Rb;Object.defineProperty(fue,"__esModule",{value:!0});var hue=fue.default=void 0,gue=mue(yU()),bue=ee;hue=fue.default=(0,gue.default)((0,bue.jsx)("path",{d:"M6.5 9H3v6h1.5v-2h1.1l.9 2H8l-.9-2.1c.5-.3.9-.8.9-1.4v-1C8 9.7 7.3 9 6.5 9m0 2.5h-2v-1h2zM10.25 9l-1.5 6h1.5l.38-1.5h1.75l.37 1.5h1.5l-1.5-6zm.75 3 .25-1h.5l.25 1zm8.98-3-.74 3-.74-3h-1.52l-.74 3-.74-3H14l1.5 6h1.48l.76-3.04.76 3.04h1.48l1.5-6z"}),"RawOn");const vue=e=>e.split("\n").map((function(e,t){return te.jsxs("span",{children:[e,te.jsx("br",{})]},t)})),yue=({message:e,open:t,onClose:n,previewType:r})=>e?(console.log("message",e),te.jsxs(DR,{open:t,onClose:n,fullScreen:!0,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[te.jsx(JR,{children:e.subject}),te.jsx(WR,{children:"html"===r?te.jsx(XR,{dangerouslySetInnerHTML:{__html:e.htmlBody}}):te.jsx(XR,{children:vue(e.raw)})}),te.jsx(BR,{children:te.jsx(Ak,{onClick:n,autoFocus:!0,children:"Close"})})]})):null;function wue(e){return Object.entries(e).map((([e,t])=>`${e} <${t}>`)).join(", ")}const Sue=({data:e})=>{const[t,n]=U.useState(!1),[r,o]=U.useState("html"),[a,i]=U.useState(null),s=U.useCallback((()=>{n(!1),i(null)}),[]),l=e=>{i(e),n(!0)};return te.jsxs(te.Fragment,{children:[e&&0!==e.messages.length?te.jsx(f_,{children:e.messages.map(((e,t)=>te.jsxs(A_,{children:[te.jsx(L_,{children:te.jsx(zC,{children:t+1})}),te.jsx(V_,{primary:e.subject,secondary:`From: ${wue(e.to)}, to: ${wue(e.to)}`}),te.jsxs(k_,{children:[te.jsx(Uw,{edge:"end",onClick:()=>{o("html"),l(e)},children:te.jsx(cue,{})}),te.jsx(Uw,{edge:"end",onClick:()=>{o("raw"),l(e)},children:te.jsx(hue,{})}),te.jsx(uS,{variant:"body2",color:"textSecondary",children:e.date})]})]})))}):te.jsx(te.Fragment,{children:"Nothing here"}),te.jsx(yue,{open:t,onClose:s,message:a,previewType:r})]})},xue=e=>{const{beforeStack:t,afterStack:n,actionHandler:r}=e;return te.jsxs(ple,{position:"alternate",children:[t&&t.length>0&&t.map(((e,t)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:e.time,children:te.jsx(uS,{component:"span",children:Dse(e.time)})})}),te.jsxs(Ule,{children:[te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})}),te.jsx(gle,{})]}),te.jsx(tue,{name:e.name,payload:e.request,file:"1"})]},t))),"object"==typeof r&&!Array.isArray(r)&&[r].map(((e,t)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},align:"right",color:"text.primary",children:te.jsx(oN,{title:e.startTime,children:te.jsx(uS,{children:Dse(e.startTime)})})}),te.jsx(Ule,{children:te.jsx(Tle,{color:"success",children:te.jsx(Pz,{})})}),te.jsx(tue,{name:e.name,payload:e.request,file:"2"})]},t))),n&&n.length>0&&n.map(((e,t)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:e.time||"0",children:te.jsx(uS,{component:"span",children:Dse(e.time)})})}),te.jsxs(Ule,{children:[te.jsx(gle,{}),te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})})]}),te.jsx(tue,{name:e.name,payload:e.response,file:"3"})]},t)))]})},Eue=({data:e})=>{if("string"!=typeof e.responseRaw)return null;const t=e.responseRaw.split("\r\n\r\n"),n=t[0],r=t.splice(1).join("\r\n\r\n"),o=n.match(/Content-Type: \w+\/(\w+);/),a=Array.isArray(o)?o[1]:"plain",i=!!a.match(/json/);return te.jsxs(te.Fragment,{children:[te.jsx(uS,{component:"h2",variant:"h6",children:"Response"}),te.jsx(Jae,{value:e.response}),r&&te.jsxs(tw,{defaultExpanded:r.length<500,children:[te.jsx(Lw,{children:"Content"}),te.jsx(iw,{children:i?te.jsx(Jae,{value:JSON.parse(r)}):te.jsx(Bae,{code:r,language:a,showLineNumbers:!1})})]}),te.jsxs(tw,{defaultExpanded:e.responseRaw.length<500,children:[te.jsx(Lw,{children:"Raw"}),te.jsx(iw,{children:te.jsx(Bae,{code:e.responseRaw,language:a,showLineNumbers:!1})})]})]})},Cue=({data:e})=>e?te.jsxs(te.Fragment,{children:[te.jsx(Bae,{language:"plain",code:e.requestMethod+" "+e.requestUrl,showLineNumbers:!1}),te.jsx(uS,{component:"h2",variant:"h6",children:"Request"}),te.jsx(Jae,{value:e.request}),te.jsxs(tw,{defaultExpanded:e.requestRaw.length<500,children:[te.jsx(Lw,{children:"Raw"}),te.jsx(iw,{children:te.jsx(Bae,{code:e.requestRaw,language:"plain",showLineNumbers:!1})})]}),te.jsx(iT,{}),te.jsx(Eue,{data:e})]}):te.jsx(te.Fragment,{children:"Nothing here"}),kue=(e,t)=>e+"::"+t+"()",Rue=[{field:"class",headerName:"Method",flex:1,renderCell:({row:e})=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:kue(e.class,e.method)})},{field:"calls",headerName:"Calls (Total / Error)",flex:1,renderCell:({row:e})=>{const t=e.count-e.successCount;return te.jsxs(te.Fragment,{children:[e.count," ",t>0&&te.jsxs(te.Fragment,{children:[" / ",t]})]})}},{field:"time",headerName:"Time (Total / Max / Avg)",flex:1,renderCell:({row:e})=>{const t=e.times.reduce(((e,t)=>e+t),0),n=t/e.times.length;return te.jsxs(te.Fragment,{children:[jse(t)," / ",jse(e.maxTime)," /"," ",jse(n)]})}}],Tue=[{field:"class",headerName:"Method",flex:1,renderCell:({row:e})=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:kue(e.class,e.method)})},{field:"time",headerName:"Time",flex:.5,renderCell:({row:e})=>jse(e.time)},{field:"arguments",headerName:"Arguments",flex:3,renderCell:({row:e})=>te.jsx(Jae,{value:1===e.arguments.length?e.arguments[0]:e.arguments})},{field:"result",headerName:"Result",flex:3,renderCell:({row:e})=>te.jsx(Jae,{value:e.error?e.error:e.result})}],Iue=({data:e})=>{const[t,n]=U.useState("summary"),r=U.useMemo((()=>Array.isArray(e)?e.map((e=>({service:e.service,class:e.class,method:e.method,success:Number("success"===e.status),time:e.timeEnd-e.timeStart,arguments:e.arguments,result:e.result,error:e.error}))):[]),[e]),o=U.useMemo((()=>{const e={};for(const t of r){const n=t.class+t.method;n in e?(e[n].count=e[n].count+1,e[n].successCount=e[n].successCount+t.success,e[n].times=[...e[n].times,t.time],t.time>e[n].maxTime&&(e[n].maxTime=t.time)):e[n]={class:t.class,method:t.method,count:1,successCount:t.success,maxTime:t.time,times:[t.time]}}return e}),[r]);return e&&0!==e.length?te.jsxs(Yse,{value:t,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(ele,{onChange:(e,t)=>{n(t)},children:[te.jsx(mP,{label:"Summary",value:"summary"}),te.jsx(mP,{label:"All",value:"all"})]})}),te.jsx(ale,{value:"summary",sx:{padding:"0"},children:te.jsx(p0,{getRowId:()=>1e3*Math.random(),rows:Object.values(o),columns:Rue})}),te.jsx(ale,{value:"all",sx:{padding:"0"},children:te.jsx(p0,{sortModel:[{field:"time",sort:"desc"}],getRowId:()=>1e3*Math.random(),rows:r,columns:Tue})})]}):te.jsx(te.Fragment,{children:"Nothing here"})},_ue=({data:e})=>e&&Array.isArray(e)?te.jsx(ple,{position:"alternate",children:e.map(((t,n)=>te.jsxs(Fle,{children:[te.jsx(Ple,{sx:{m:"auto 0"},color:"text.secondary",children:te.jsx(oN,{title:t[0],children:te.jsx(uS,{component:"span",children:Dse(t[0])})})}),te.jsxs(Ule,{children:[te.jsx(Tle,{color:"info",children:te.jsx(Pz,{})}),n!==e.length-1&&te.jsx(gle,{})]}),te.jsxs(xle,{sx:{py:"12px",px:2},children:[te.jsx(oN,{title:t[2],children:te.jsx(uS,{component:"span",children:t[2].split("\\").pop()})}),!!t[3]&&te.jsx(Jae,{value:zae(t[3])?Wae(t[3],t[1]):t[3]})]})]},n)))}):te.jsx(te.Fragment,{children:"Nothing here"}),Aue=({data:e})=>te.jsx(te.Fragment,{children:e&&0!==e.length?e.map(((e,t)=>te.jsxs(Ly,{sx:{mb:1,p:1},children:[te.jsx(Jae,{value:e.variable,depth:10}),te.jsxs(l_,{href:`/inspector/files?path=${Qle(e.line)}`,children:[e.line,te.jsx(Vz,{fontSize:"small"})]})]}))):te.jsx(te.Fragment,{children:"Nothing here"})}),Oue=[{field:"0",headerName:"Name",width:130},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(Jae,{value:e.value},e.id)}],Nue=({data:e})=>{const t=Array.isArray(e),n=U.useMemo((()=>Object.entries(e||[]).map((e=>({0:e[0],1:Array.isArray(e[1])?Object.assign({},e[1]):e[1]})))),[e]);return te.jsx(p0,{getRowId:()=>1e3*Math.random(),rows:n,columns:t?[[...Oue].pop()]:Oue})};function Pue(){return new DOMException("The request is not allowed","NotAllowedError")}const Lue=r((async function(e){try{await async function(e){if(!navigator.clipboard)throw Pue();return navigator.clipboard.writeText(e)}(e)}catch(t){try{await async function(e){const t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",t.style.webkitUserSelect="auto",t.style.userSelect="all",document.body.appendChild(t);const n=window.getSelection(),r=window.document.createRange();n.removeAllRanges(),r.selectNode(t),n.addRange(r);let o=!1;try{o=window.document.execCommand("copy")}finally{n.removeAllRanges(),window.document.body.removeChild(t)}if(!o)throw Pue()}(e)}catch(n){throw n||t||Pue()}}}));var Mue={error:null},Due=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;oe.application.baseUrl)),r={[Pie.MailerCollector]:e=>te.jsx(Sue,{data:e}),[Pie.ServiceCollector]:e=>te.jsx(Iue,{data:e}),[Pie.TimelineCollector]:e=>te.jsx(_ue,{data:e}),[Pie.LogCollector]:e=>te.jsx(sue,{data:e}),[Pie.DatabaseCollector]:e=>te.jsx(Yle,{data:e}),[Pie.FilesystemStreamCollector]:e=>te.jsx(iue,{data:e}),[Pie.RequestCollector]:e=>te.jsx(Cue,{data:e}),[Pie.MiddlewareCollector]:e=>te.jsx(xue,{...e}),[Pie.EventCollector]:e=>te.jsx(rue,{events:e}),[Pie.ExceptionCollector]:e=>te.jsx(aue,{exceptions:e}),[Pie.VarDumperCollector]:e=>te.jsx(Aue,{data:e}),default:e=>{if("object"==typeof e&&e.__isPanelRemote__)return te.jsx(U.Suspense,{fallback:"Loading",children:te.jsx(OG,{url:n+e.url,module:e.module,scope:e.scope,props:{data:e.data}})});if("string"==typeof e)try{JSON.parse(e)}catch(w0){if(w0 instanceof SyntaxError)return te.jsx(ik,{dangerouslySetInnerHTML:{__html:e}});console.error(w0)}return te.jsx(Nue,{data:e})}};if(""===t)return te.jsx(KF,{});return(t in r?r[t]:r.default)(e)}function Fue({error:e}){return console.error(e),te.jsx(ik,{m:2,children:te.jsxs(nS,{severity:"error",children:[te.jsx(mS,{children:"Something went wrong:"}),te.jsx("pre",{children:e?.toString()||"unknown"})]})})}const $ue=({data:e,onChange:t})=>{const n=XV(),r=U.useCallback((e=>Mie(e)?[0===e.command?.exitCode?"[OK]":"[ERROR]",e.command?.input].filter(Boolean).join(" "):Die(e)?["["+e.response.statusCode+"]",e.request.method,e.request.path].join(" "):e.id),[]),o=U.useCallback(((e,t)=>ae.createElement(jT,{...e,key:t.id,component:"li",direction:"row",spacing:2,sx:{"& > img":{mr:2,flexShrink:0}}},Die(t)&&te.jsxs(te.Fragment,{children:[te.jsxs(uS,{component:"span",sx:{flex:1},children:[te.jsx(VE,{sx:{borderRadius:"5px 5px",margin:"0 2px"},label:`${t.response?.statusCode} ${t.request.method}`,color:Nie(t.response?.statusCode)}),te.jsx("span",{style:{margin:"0 2px"},children:t.request.path})]}),te.jsx(uS,{component:"span",sx:{margin:"0 auto"},children:te.jsx("span",{children:Mse(t.web.request.startTime)})})]}),Mie(t)&&te.jsxs(te.Fragment,{children:[te.jsxs(uS,{component:"span",sx:{flex:1},children:[0===t.command?.exitCode?te.jsx(VE,{label:"OK",color:"success",sx:{borderRadius:"5px 5px",margin:"0 2px"}}):te.jsx(VE,{label:`CODE: ${t.command?.exitCode??"Unknown"}`,color:"error",sx:{borderRadius:"5px 5px",margin:"0 2px"}}),te.jsx("span",{style:{margin:"0 2px"},children:t.command?.input??"Unknown"})]}),te.jsx(uS,{component:"span",sx:{margin:"0 auto"},children:te.jsx("span",{children:Mse(t.console.request.startTime)})})]}))),[]);return te.jsx(PC,{value:n,options:e||[],getOptionLabel:r,renderOption:o,isOptionEqualToValue:(e,t)=>e.id===t.id,renderInput:e=>te.jsx(vL,{...e,label:"Record"}),onChange:(e,n)=>{t("object"==typeof n?n:null)},sx:{my:1}})},Bue=U.memo((()=>te.jsx(xie,{title:"No one collector is chosen",text:"Select a collector from the left side panel to see more options",severity:"info",icon:te.jsx(Kz,{})}))),zue=U.memo((()=>te.jsx(xie,{title:"Collectors are empty",text:"Looks like debugger was inactive or it did not have any active collectors during the request",severity:"info",icon:te.jsx(Kz,{})}))),Uue=()=>{const e=gd.useDispatch(),[t,n]=U.useState(!1),r=XV(),[o,a]=b$(),[i,s]=uV(),[l,u]=U.useState((()=>o.get("collector")||"")),[c,d]=U.useState(void 0),[p,f]=pV(),[m,h]=GV(),g=IG((e=>e.application.autoLatest)),b=IG((e=>e.application.baseUrl)),v=U.useCallback((()=>{i()}),[i]);U.useEffect(v,[v]),U.useEffect((()=>{n(g)}),[g]),U.useEffect((()=>{if(s.isSuccess&&s.data&&s.data.length){if(!o.has("debugEntry"))return void w(s.data[0]);s.data.find((e=>e.id===o.get("debugEntry")))||w(s.data[0])}}),[s.isSuccess,s.data]);const y=()=>{o.delete("collector"),u(""),d(null)};U.useEffect((()=>{const e=o.get("collector")||"";""!==e.trim()?r&&p({id:r.id,collector:e}).then((({data:t,isError:n})=>{if(n)return y(),void w(null);u(e),d(t)})).catch(y):y()}),[o,r]),U.useEffect((()=>{a(r?e=>(e.set("debugEntry",r.id),e):{})}),[r,a]);const w=t=>{e(KV(t||null))},S=U.useMemo((()=>l.split("\\").pop()),[l]),x=U.useMemo((()=>r?r.collectors.map(((e,t)=>{return{name:e,text:(n=e,n.replace("Yiisoft\\Assets\\Debug\\","").replace("Yiisoft\\Db\\Debug\\","").replace("Yiisoft\\Mailer\\Debug\\","").replace("Yiisoft\\Validator\\Debug\\","").replace("Yiisoft\\Yii\\View\\Debug\\","").replace("Yiisoft\\Yii\\Queue\\Debug\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Web\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Console\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Database\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Queue\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\Stream\\","").replace("Yiisoft\\Yii\\Debug\\Collector\\","")),href:`/debug?collector=${e}&debugEntry=${r.id}`,icon:t%2==0?te.jsx(oie,{}):te.jsx(mie,{}),badge:Lie(e,r)};var n})):[]),[r]),[E,C]=NV(),k=U.useCallback((async()=>{if(r){try{await E({id:r.id})}catch(w0){console.error(w0)}i()}}),[r]),R=U.useCallback((async()=>{if(!r)return;const e=await m(r.id);"error"in e?console.error(e.error):(console.log(e.data.command),Lue(e.data.command))}),[r]),T=U.useCallback(w,[w]),I=U.useCallback((async e=>{const t=JSON.parse(e.data);if(t.type&&t.type===Aie.DebugUpdated){const e=await i();"data"in e&&e.data.length>0&&w(e.data[0])}}),[]);Oie(b,I,t);return s.isLoading?te.jsx(AG,{}):s.data&&0===s.data.length?te.jsx(xie,{title:"No debug entries found",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Make sure you have enabled debugger and run your application."}),te.jsxs(uS,{children:['Check the "yiisoft/yii-debug" in the "params.php" on the backend or with'," ",te.jsx(l_,{href:"/inspector/config/parameters?filter=yiisoft/yii-debug",children:"Inspector"}),"."]}),te.jsxs(uS,{children:["See more information on the link"," ",te.jsx(l_,{href:"https://github.com/yiisoft/yii-debug",children:"https://github.com/yiisoft/yii-debug"}),"."]})]}),severity:"info",icon:te.jsx(Uz,{})}):te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/debug",children:"Debug"}),!!S&&te.jsx(uS,{color:"text.primary",children:S})]}),te.jsxs(jT,{direction:"row",spacing:2,children:[te.jsx(oN,{title:"List",children:te.jsx("span",{children:te.jsx(Ak,{href:"/debug/list",startIcon:te.jsx(uie,{}),children:"List"})})}),te.jsx(oN,{title:"Refresh the list",children:te.jsx("span",{children:te.jsx(Ak,{onClick:v,disabled:s.isFetching,startIcon:te.jsx(oU,{}),endIcon:s.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"})})}),te.jsx(oN,{title:"Runs the request again",children:te.jsx("span",{children:te.jsx(Ak,{onClick:k,disabled:!r||C.isLoading||s.isFetching,startIcon:te.jsx(yie,{}),endIcon:C.isLoading?te.jsx(hR,{size:24,color:"info"}):C.isUninitialized?null:C.isSuccess?te.jsx(Lz,{color:"success"}):te.jsx(Hz,{color:"error"}),children:"Repeat Request"})})}),r&&Die(r)&&te.jsx(oN,{title:"Copies the request cURL interpretation",children:te.jsx("span",{children:te.jsx(Ak,{onClick:R,disabled:!r||h.isLoading,endIcon:h.isLoading?te.jsx(hR,{size:24,color:"info"}):h.isUninitialized?null:h.isSuccess?te.jsx(Lz,{color:"success"}):te.jsx(Hz,{color:"error"}),children:"Copy cURL"})})}),te.jsx(oN,{title:"Switches to the latest debug entry automatically (delay 1s). Needs server-sent events suppport.",children:te.jsx("span",{children:te.jsx(HT,{control:te.jsx(lP,{checked:t,value:t,onChange:()=>{n((t=>(e(x$(!t)),!t)))}}),label:"Latest auto"})})})]}),te.jsx($ue,{data:s.data,onChange:T}),0===x.length?te.jsx(zue,{}):te.jsx(Iie,{links:x,open:!l,activeLink:l,children:l?te.jsxs(te.Fragment,{children:[f.isFetching&&te.jsx(e_,{}),f.isError&&te.jsx(Fue,{error:f.error?.error||f.error}),f.isSuccess&&te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname,window.location.search,r],children:te.jsx(jue,{selectedCollector:l,collectorData:c})})]}):te.jsx(Bue,{})})]})};var Hue={},Vue=Rb;Object.defineProperty(Hue,"__esModule",{value:!0});var Gue=Hue.default=void 0,Wue=Vue(yU()),que=ee;Gue=Hue.default=(0,Wue.default)((0,que.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"}),"Login");var Kue={},Yue=Rb;Object.defineProperty(Kue,"__esModule",{value:!0});var Xue=Kue.default=void 0,Zue=Yue(yU()),Que=ee;Xue=Kue.default=(0,Zue.default)((0,Que.jsx)("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal");const Jue=({label:e,icon:t,color:n})=>te.jsx(VE,{sx:{borderRadius:"5px 5px",margin:"0 2px"},icon:t,label:e,color:n}),ece=({entry:e})=>{return Mie(e)?te.jsx(Jue,{icon:te.jsx(Xue,{}),label:e.command?.exitCode,color:(t=Number(e.command?.exitCode),0===t?"success":"error")}):Die(e)?te.jsx(Jue,{label:[e.response?.statusCode,e.request.method].join(" "),color:Nie(e.response?.statusCode)}):null;var t},tce=[{field:"status",headerName:"Status",renderCell:({row:e})=>te.jsx(ece,{entry:e})},{field:"url",flex:1,headerName:"URL / Command",valueGetter:({row:e})=>e.request?.path??e.command?.input},{field:"time",headerName:"Time",renderCell:({row:e})=>te.jsxs(te.Fragment,{children:[(1e3*(e.web||e.console).request.processingTime).toFixed(1)," ms"]})},{field:"timeAt",headerName:"Time at",renderCell:({row:e})=>te.jsx(te.Fragment,{children:Pse(Lse((e.web||e.console).request.startTime),"HH:mm:ss")})},{field:"logs",headerName:"Logs",valueGetter:({row:e})=>e.logger?.total??"–"},{field:"events",headerName:"Events",valueGetter:({row:e})=>e.event?.total??"–"},{field:"services",headerName:"Services",valueGetter:({row:e})=>e.service?.total??"–"},{field:"actions",headerName:"Actions",renderCell:({row:e})=>te.jsx(te.Fragment,{children:te.jsx(jT,{direction:"row",spacing:2,children:te.jsx(oN,{title:"Debug the entry",children:te.jsx("span",{children:te.jsx(Uw,{href:`/debug?debugEntry=${e.id}`,children:te.jsx(Gue,{})})})})})})}],nce=()=>{const e=lV(),[t,n]=U.useState([]);U.useEffect((()=>{e.isFetching||n(e.data||[])}),[e.isFetching]);const r=U.useCallback((()=>{e.refetch()}),[e]);return te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/debug",children:"Debug"}),te.jsx(uS,{color:"text.primary",children:"List"})]}),te.jsxs(jT,{direction:"row",spacing:2,children:[te.jsx(oN,{title:"List",children:te.jsx("span",{children:te.jsx(Ak,{href:"/debug",startIcon:te.jsx(uie,{}),children:"Index"})})}),te.jsx(oN,{title:"Refresh the list",children:te.jsx("span",{children:te.jsx(Ak,{onClick:r,disabled:e.isFetching,startIcon:te.jsx(oU,{}),endIcon:e.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"})})})]}),te.jsx(p0,{rows:t,getRowId:e=>e.id,columns:tce})]})},rce=()=>{const[e,t]=b$(),n=e.get("id"),r=e.get("debugEntry")||"",{data:o,isLoading:a}=cV({debugEntryId:r,objectId:+(n||0)});return a?te.jsx(AG,{}):te.jsxs(ik,{children:[te.jsxs(uS,{variant:"h6",my:1,children:[o.class,"#",n]}),te.jsx(Jae,{value:o.value})]})},oce={routes:[{path:"debug",element:te.jsx(Uue,{}),children:[{element:te.jsx(tie,{}),index:!0}]},{path:"debug/object",element:te.jsx(rce,{})},{path:"debug/list",element:te.jsx(nce,{})}],reducers:QV,middlewares:JV,standaloneModule:!1},ace=e=>{const[t,n]=U.useState(""),r=gd.useDispatch(),o=oG(),a=()=>{e.onClose()},i=()=>{r(tG(t))},s=e=>()=>r(rG(e));return te.jsxs(DR,{fullWidth:!0,open:!0,onClose:a,children:[te.jsx(JR,{children:"Frames"}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Create, edit or delete frames."}),te.jsx(f_,{children:Object.entries(o).map((([e,t],r)=>te.jsx(A_,{children:te.jsxs(w_,{onClick:()=>{n(t)},children:[te.jsx(V_,{primary:t,secondary:e}),te.jsx(k_,{children:te.jsx(Uw,{onClick:s(e),sx:{p:2},children:te.jsx(aU,{})})})]})},r)))}),te.jsxs(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",p:[.5,1],alignItems:"center"},onSubmit:e=>{e.preventDefault(),i()},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:"https://external-resource.com/",value:t,onChange:e=>n(e.target.value)}),te.jsx(Uw,{onClick:i,sx:{p:2},children:te.jsx(SU,{})})]})]}),te.jsx(BR,{children:te.jsx(Ak,{onClick:a,color:"primary",children:"Close"})})]})},ice=()=>te.jsxs("ul",{children:[te.jsx("li",{children:te.jsx(l_,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options",target:"_blank",children:"X-Frame-Options"})}),te.jsx("li",{children:te.jsx(l_,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS",target:"_blank",children:"CORS"})}),te.jsx("li",{children:te.jsx(l_,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources",target:"_blank",children:"Content-Security-Policy"})})]}),sce=({url:e})=>te.jsx(xie,{title:`"${e}" is inaccessible`,text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Having problems with X-Frame-Options or CORS?"}),te.jsx(uS,{children:"Configure response headers to prevent browser blocking the requests to external resources or set up a proxy server."}),te.jsxs(uS,{children:["Read more about blocking external resources:",te.jsx(ice,{})]})]}),severity:"info",icon:te.jsx(Uz,{})}),lce=U.memo((()=>te.jsx(xie,{title:"No frames found",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"You can add any external resources as a embed and manage them there."}),te.jsxs(uS,{children:["Due to multiple privacy policies some of frames cannot be opened. Read more about the policies:",te.jsx(ice,{})]}),te.jsx(uS,{children:"Click on settings button and add a frame."})]}),severity:"info",icon:te.jsx(Uz,{})}))),uce=()=>{const[e,t]=U.useState(""),[n,r]=U.useState(!1),o=hv(),a=oG();return U.useEffect((()=>{a&&Object.keys(a).length&&t(Object.keys(a)[0])}),[a]),te.jsxs(te.Fragment,{children:[te.jsx(Yse,{value:e,children:te.jsxs(jT,{children:[te.jsxs(jT,{direction:"row",justifyContent:"space-between",children:[te.jsx(pL,{value:e,onChange:(e,n)=>t(n),scrollButtons:"auto",variant:"scrollable",allowScrollButtonsMobile:!0,sx:{maxWidth:"100%"},children:Object.keys(a).map(((e,t)=>te.jsx(mP,{label:e,value:e,wrapped:!0},t)))}),te.jsx(Uw,{onClick:()=>r(!0),children:te.jsx(lU,{})})]}),0===Object.keys(a).length?te.jsx(lce,{}):te.jsx(te.Fragment,{children:Object.entries(a).map((([e,t],n)=>te.jsx(ale,{value:e,className:o.palette.mode,children:te.jsx("object",{data:t,width:"100%",height:"1000px",type:"text/html",children:te.jsx(sce,{url:t})})},n)))})]})}),n&&te.jsx(ace,{onClose:()=>{r(!1)}})]})},cce={routes:[{path:"/frames",element:te.jsx(uce,{})}],reducers:iG,middlewares:sG,standaloneModule:!1};function dce(e){this._maxSize=e,this.clear()}dce.prototype.clear=function(){this._size=0,this._values=Object.create(null)},dce.prototype.get=function(e){return this._values[e]},dce.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var pce=/[^.^\]^[]+|(?=\[\]|\.\.)/g,fce=/^\d+$/,mce=/^\d/,hce=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,gce=/^\s*(['"]?)(.*?)(\1)\s*$/,bce=new dce(512),vce=new dce(512),yce=new dce(512),wce={Cache:dce,split:xce,normalizePath:Sce,setter:function(e){var t=Sce(e);return vce.get(e)||vce.set(e,(function(e,n){for(var r=0,o=t.length,a=e;re.match(kce)||[],Tce=(e,t)=>Rce(e).join(t).toLowerCase(),Ice=e=>Rce(e).reduce(((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`),"");var _ce=Ice,Ace=e=>Tce(e,"_"),Oce={exports:{}};function Nce(e,t){var n=e.length,r=new Array(n),o={},a=n,i=function(e){for(var t=new Map,n=0,r=e.length;n"",Fce=/^Symbol\((.*)\)(.*)$/;function $ce(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return jce.call(e).replace(Fce,"Symbol($1)");const r=Lce.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+Mce.call(e)+"]":"RegExp"===r?Dce.call(e):null}function Bce(e,t){let n=$ce(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=$ce(this[e],t);return null!==r?r:n}),2)}function zce(e){return null==e?[]:[].concat(e)}let Uce,Hce,Vce,Gce=/\$\{\s*(\w+)\s*\}/g;Uce=Symbol.toStringTag;class Wce{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[Uce]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],zce(e).forEach((e=>{if(qce.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}Hce=Symbol.hasInstance,Vce=Symbol.toStringTag;class qce extends Error{static formatError(e,t){const n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"==typeof e?e.replace(Gce,((e,n)=>Bce(t[n]))):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,o){const a=new Wce(e,t,n,r);if(o)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[Vce]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,qce)}static[Hce](e){return Wce[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let Kce={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=null!=r&&r!==n?` (cast from the value \`${Bce(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${Bce(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Bce(n,!0)}\``+o}},Yce={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Xce={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Zce={noUnknown:"${path} field has unspecified keys: ${unknown}"},Qce={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},Jce={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.lengtho)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${Bce(n,!0)}\``}return qce.formatError(Kce.notType,e)}};Object.assign(Object.create(null),{mixed:Kce,string:Yce,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:Xce,object:Zce,array:Qce,boolean:{isValue:"${path} field must be ${value}"},tuple:Jce});const ede=e=>e&&e.__isYupSchema__;class tde{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:o}=t,a="function"==typeof n?n:(...e)=>e.every((e=>e===n));return new tde(e,((e,t)=>{var n;let i=a(...e)?r:o;return null!=(n=null==i?void 0:i(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!ede(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const nde="$",rde=".";class ode{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===nde,this.isValue=this.key[0]===rde,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?nde:this.isValue?rde:"";this.path=this.key.slice(n.length),this.getter=this.path&&wce.getter(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}ode.prototype.__isYupRef=!0;const ade=e=>null==e;function ide(e){function t({value:t,path:n="",options:r,originalValue:o,schema:a},i,s){const{name:l,test:u,params:c,message:d,skipAbsent:p}=e;let{parent:f,context:m,abortEarly:h=a.spec.abortEarly,disableStackTrace:g=a.spec.disableStackTrace}=r;function b(e){return ode.isRef(e)?e.getValue(t,f,m):e}function v(e={}){const r=Object.assign({value:t,originalValue:o,label:a.spec.label,path:e.path||n,spec:a.spec,disableStackTrace:e.disableStackTrace||g},c,e.params);for(const t of Object.keys(r))r[t]=b(r[t]);const i=new qce(qce.formatError(e.message||d,r),t,r.path,e.type||l,r.disableStackTrace);return i.params=r,i}const y=h?i:s;let w={path:n,parent:f,type:l,from:r.from,createError:v,resolve:b,options:r,originalValue:o,schema:a};const S=e=>{qce.isError(e)?y(e):e?s(null):y(v())},x=e=>{qce.isError(e)?y(e):i(e)};if(p&&ade(t))return S(!0);let E;try{var C;if(E=u.call(w,t,w),"function"==typeof(null==(C=E)?void 0:C.then)){if(r.sync)throw new Error(`Validation test of type: "${w.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(E).then(S,x)}}catch(k){return void x(k)}S(E)}return t.OPTIONS=e,t}function sde(e,t,n,r=n){let o,a,i;return t?(wce.forEach(t,((s,l,u)=>{let c=l?s.slice(1,s.length-1):s,d="tuple"===(e=e.resolve({context:r,parent:o,value:n})).type,p=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${i}" must contain an index to the tuple element, e.g. "${i}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${i} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}a=c,i=l?"["+s+"]":"."+s})),{schema:e,parent:o,parentPath:a}):{parent:o,parentPath:t,schema:e}}class lde extends Set{describe(){const e=[];for(const t of this.values())e.push(ode.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new lde(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function ude(e,t=new Map){if(ede(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(Kce.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=ude(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,o;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(o=e.disableStackTrace)?o:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,o=n._cast(e,t);if(!1!==t.assert&&!n.isType(o)){if(r&&ade(o))return o;let a=Bce(e),i=Bce(o);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${a} \n`+(i!==a?`result of cast: ${i}`:""))}return o}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:o,originalValue:a=e,strict:i=this.spec.strict}=t,s=e;i||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let u of Object.values(this.internalTests))u&&l.push(u);this.runTests({path:o,value:s,originalValue:a,options:t,tests:l},n,(e=>{if(e.length)return r(e,s);this.runTests({path:o,value:s,originalValue:a,options:t,tests:this.tests},n,r)}))}runTests(e,t,n){let r=!1,{tests:o,value:a,originalValue:i,path:s,options:l}=e,u=e=>{r||(r=!0,t(e,a))},c=e=>{r||(r=!0,n(e,a))},d=o.length,p=[];if(!d)return c([]);let f={value:a,originalValue:i,path:s,options:l,schema:this};for(let m=0;mthis.resolve(u)._validate(l,u,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise(((n,a)=>r._validate(e,t,((e,t)=>{qce.isError(e)&&(e.value=t),a(e)}),((e,t)=>{e.length?a(new qce(e,t,void 0,void 0,o)):n(t)}))))}validateSync(e,t){var n;let r,o=this.resolve(Object.assign({},t,{value:e})),a=null!=(n=null==t?void 0:t.disableStackTrace)?n:o.spec.disableStackTrace;return o._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw qce.isError(e)&&(e.value=t),e}),((t,n)=>{if(t.length)throw new qce(t,e,void 0,void 0,a);r=n})),r}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(qce.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(qce.isError(n))return!1;throw n}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):ude(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=ide({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=ide({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=Kce.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=Kce.notNull){return this.nullability(!1,e)}required(e=Kce.required){return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=Kce.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=ide(t),o=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter((e=>{if(e.OPTIONS.name===t.name){if(o)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=zce(e).map((e=>new ode(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new tde(r,t):tde.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=ide({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=Kce.oneOf){let n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=ide({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=Kce.notOneOf){let n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=ide({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:o,nullable:a}=t.spec,i={meta:r,label:n,optional:o,nullable:a,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))};return i}}cde.prototype.__isYupSchema__=!0;for(const uve of["validate","validateSync"])cde.prototype[`${uve}At`]=function(e,t,n={}){const{parent:r,parentPath:o,schema:a}=sde(this,e,t,n.context);return a[uve](r&&r[o],Object.assign({},n,{parent:r,path:e}))};for(const uve of["equals","is"])cde.prototype[uve]=cde.prototype.oneOf;for(const uve of["not","nope"])cde.prototype[uve]=cde.prototype.notOneOf;const dde=()=>!0;function pde(e){return new fde(e)}class fde extends cde{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:dde},e))}}pde.prototype=fde.prototype;const mde=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function hde(e){var t,n;const r=mde.exec(e);return r?{year:gde(r[1]),month:gde(r[2],1)-1,day:gde(r[3],1),hour:gde(r[4]),minute:gde(r[5]),second:gde(r[6]),millisecond:r[7]?gde(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:gde(r[10]),minuteOffset:gde(r[11])}:null}function gde(e,t=0){return Number(e)||t}let bde=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vde=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,yde=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,wde=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),Sde=e=>ade(e)||e===e.trim(),xde={}.toString();function Ede(){return new Cde}class Cde extends cde{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===xde?e:r}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||Kce.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e,t=Yce.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=Yce.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=Yce.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,o=!1;return t&&("object"==typeof t?({excludeEmptyString:o=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||Yce.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&o||-1!==t.search(e)})}email(e=Yce.email){return this.matches(bde,{name:"email",message:e,excludeEmptyString:!0})}url(e=Yce.url){return this.matches(vde,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=Yce.uuid){return this.matches(yde,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(wde,{name:"datetime",message:r||Yce.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||Yce.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=hde(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||Yce.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||null==n)return!0;const t=hde(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=Yce.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:Sde})}lowercase(e=Yce.lowercase){return this.transform((e=>ade(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>ade(e)||e===e.toLowerCase()})}uppercase(e=Yce.uppercase){return this.transform((e=>ade(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>ade(e)||e===e.toUpperCase()})}}Ede.prototype=Cde.prototype;let kde=new Date("");class Rde extends cde{constructor(){super({type:"date",check:e=>(e=>"[object Date]"===Object.prototype.toString.call(e))(e)&&!isNaN(e.getTime())}),this.withMutation((()=>{this.transform(((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){const t=hde(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?Rde.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(ode.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=Xce.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=Xce.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function Tde(e,t){let n=1/0;return e.some(((e,r)=>{var o;if(null!=(o=t.path)&&o.includes(e))return n=r,!0})),n}function Ide(e){return(t,n)=>Tde(e,t)-Tde(e,n)}Rde.INVALID_DATE=kde,Rde.prototype;const _de=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function Ade(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Ade(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=Ade(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(Ade)}):"optional"in e?e.optional():e}let Ode=e=>"[object Object]"===Object.prototype.toString.call(e);const Nde=Ide([]);function Pde(e){return new Lde(e)}class Lde extends cde{constructor(e){super({type:"object",check:e=>Ode(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=Nde,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let o=this.fields,a=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,i=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),u=!1;for(const c of i){let e=o[c],n=c in r;if(e){let n,o=r[c];l.path=(t.path?`${t.path}.`:"")+c,e=e.resolve({value:o,context:t.context,parent:s});let a=e instanceof cde?e.spec:void 0,i=null==a?void 0:a.strict;if(null!=a&&a.strip){u=u||c in r;continue}n=t.__validating&&i?r[c]:e.cast(r[c],l),void 0!==n&&(s[c]=n)}else n&&!a&&(s[c]=r[c]);n===c in s&&s[c]===r[c]||(u=!0)}return u?s:r}_validate(e,t={},n,r){let{from:o=[],originalValue:a=e,recursive:i=this.spec.recursive}=t;t.from=[{schema:this,value:a},...o],t.__validating=!0,t.originalValue=a,super._validate(e,t,n,((e,o)=>{if(!i||!Ode(o))return void r(e,o);a=a||o;let s=[];for(let n of this._nodes){let e=this.fields[n];e&&!ode.isRef(e)&&s.push(e.asNestedTest({options:t,key:n,parent:o,parentPath:t.path,originalParent:a}))}this.runTests({tests:s,value:o,originalValue:a,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),o)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,o]of Object.entries(this.fields)){const e=n[r];n[r]=void 0===e?o:e}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach((n=>{var r;const o=this.fields[n];let a=e;null!=(r=a)&&r.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[n]})),t[n]=o&&"getDefault"in o?o.getDefault(a):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,o=new Set(t.map((([e,t])=>`${e}-${t}`)));function a(e,t){let a=wce.split(e)[0];r.add(a),o.has(`${t}-${a}`)||n.push([t,a])}for(const i of Object.keys(e)){let t=e[i];r.add(i),ode.isRef(t)&&t.isSibling?a(t.path,i):ede(t)&&"deps"in t&&t.deps.forEach((e=>a(e,i)))}return Pce.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=Ide(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return Ade(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter((([t,n])=>e.includes(t)&&e.includes(n))))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=wce.getter(e,!0);return this.transform((o=>{if(!o)return o;let a=o;return((e,t)=>{const n=[...wce.normalizePath(t)];if(1===n.length)return n[0]in e;let r=n.pop(),o=wce.getter(wce.join(n),!0)(e);return!(!o||!(r in o))})(o,e)&&(a=Object.assign({},o),n||delete a[e],a[t]=r(o)),a}))}json(){return this.transform(_de)}noUnknown(e=!0,t=Zce.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=function(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=Zce.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(_ce)}snakeCase(){return this.transformKeys(Ace)}constantCase(){return this.transformKeys((e=>Ace(e).toUpperCase()))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[o,a]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[o]})),n.fields[o]=a.describe(t)}return n}}function Mde(e){return new Dde(e)}Pde.prototype=Lde.prototype;class Dde extends cde{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const o=n.map(((e,n)=>{const o=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return o!==e&&(r=!0),o}));return r?o:n}_validate(e,t={},n,r){var o;let a=this.innerType,i=null!=(o=t.recursive)?o:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,((o,s)=>{var l;if(!i||!a||!this._typeCheck(s))return void r(o,s);let u=new Array(s.length);for(let n=0;nr(e.concat(o),s)))}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(_de)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!ede(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Bce(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=Qce.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||Qce.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||Qce.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),n.innerType=t.innerType.describe(o)}return n}}function jde(e){const{onClose:t,file:n,content:r,open:o}=e;return te.jsxs(DR,{onClose:()=>{t()},open:o,fullWidth:!0,maxWidth:"md",children:[te.jsx(JR,{children:n.relativePath}),te.jsx(Bae,{language:"diff",code:r})]})}function Fde(e){const{onClose:t,file:n,open:r}=e;return te.jsxs(DR,{onClose:()=>{t()},open:r,fullWidth:!0,maxWidth:"md",children:[te.jsx(JR,{children:n.relativePath}),te.jsx(Bae,{language:n.type,code:n.content})]})}function $de(e,t){if("error"in e){const n=e.error?.data?.errors||{};console.error(n);for(const e in n){const r=n[e];t.setError(e,{message:r.join(" ")})}}}Mde.prototype=Dde.prototype,function(e,t,n){if(!e||!ede(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if("string"!=typeof t)throw new TypeError("A Method name must be provided");if("function"!=typeof n)throw new TypeError("Method function must be provided");e.prototype[t]=n}(fde,"sequence",(function(e){return this.test((async(t,n)=>{try{for(const n of e)await n.validate(t)}catch({message:r}){return n.createError({message:r})}return!0}))}));var Bde=(e=>(e.SAVE="save",e.SKIP="skip",e))(Bde||{}),zde=(e=>(e.PRESENT_SAME="present_same",e.PRESENT_DIFFERENT="present_different",e.NOT_EXIST="not_exist",e))(zde||{});function Ude(e){let t="error";switch(e){case"created":t="success";break;case"overwrote":t="info";break;case"skipped":t="warning"}return t}function Hde(e){let t="error";switch(e){case zde.NOT_EXIST:t="success";break;case zde.PRESENT_SAME:t="info";break;case zde.PRESENT_DIFFERENT:t="warning"}return t}const Vde={files:[],operations:[],parameters:[],results:[]},Gde=bD("setFiles"),Wde=bD("setOperations"),qde=bD("setParameters"),Kde=bD("setResults"),Yde=bD("reset"),Xde=CD(Vde,(e=>{e.addCase(Gde,((e,t)=>{e.files=t.payload})).addCase(Wde,((e,t)=>{e.operations=t.payload})).addCase(qde,((e,t)=>{e.parameters=t.payload})).addCase(Kde,((e,t)=>{e.results=t.payload})).addCase(Yde,((e,t)=>{e.results=Vde.results,e.parameters=Vde.parameters,e.operations=Vde.operations,e.files=Vde.files}))})),Zde=U.createContext(Vde),Qde=({children:e})=>{const[t,n]=H.useReducer(Xde,Vde),r={parameters:t.parameters,setParameters:e=>{n(qde(e))},files:t.files,setFiles:e=>{n(Gde(e))},operations:t.operations,setOperations:e=>{n(Wde(e))},results:t.results,setResults:e=>{n(Kde(e))},reset:()=>{n(Yde())}};return te.jsx(Zde.Provider,{value:r,children:e})};var Jde=e=>"checkbox"===e.type,epe=e=>e instanceof Date,tpe=e=>null==e;const npe=e=>"object"==typeof e;var rpe=e=>!tpe(e)&&!Array.isArray(e)&&npe(e)&&!epe(e),ope=e=>rpe(e)&&e.target?Jde(e.target)?e.target.checked:e.target.value:e,ape=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),ipe=e=>{const t=e.constructor&&e.constructor.prototype;return rpe(t)&&t.hasOwnProperty("isPrototypeOf")},spe="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function lpe(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(spe&&(e instanceof Blob||e instanceof FileList)||!n&&!rpe(e))return e;if(t=n?[]:{},n||ipe(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=lpe(e[n]));else t=e}return t}var upe=e=>Array.isArray(e)?e.filter(Boolean):[],cpe=e=>void 0===e,dpe=(e,t,n)=>{if(!t||!rpe(e))return n;const r=upe(t.split(/[,[\].]+?/)).reduce(((e,t)=>tpe(e)?e:e[t]),e);return cpe(r)||r===e?cpe(e[t])?n:e[t]:r},ppe=e=>"boolean"==typeof e;const fpe={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},mpe={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},hpe="max",gpe="min",bpe="maxLength",vpe="minLength",ype="pattern",wpe="required",Spe="validate",xpe=H.createContext(null),Epe=()=>H.useContext(xpe),Cpe=e=>{const{children:t,...n}=e;return H.createElement(xpe.Provider,{value:n},t)};var kpe=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(o,a,{get:()=>{const o=a;return t._proxyFormState[o]!==mpe.all&&(t._proxyFormState[o]=!r||mpe.all),n&&(n[o]=!0),e[o]}});return o},Rpe=e=>rpe(e)&&!Object.keys(e).length,Tpe=(e,t,n,r)=>{n(e);const{name:o,...a}=e;return Rpe(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find((e=>t[e]===(!r||mpe.all)))},Ipe=e=>Array.isArray(e)?e:[e],_pe=(e,t,n)=>!e||!t||e===t||Ipe(e).some((e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))));function Ape(e){const t=H.useRef(e);t.current=e,H.useEffect((()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}}),[e.disabled])}var Ope=e=>"string"==typeof e,Npe=(e,t,n,r,o)=>Ope(e)?(r&&t.watch.add(e),dpe(n,e,o)):Array.isArray(e)?e.map((e=>(r&&t.watch.add(e),dpe(n,e)))):(r&&(t.watchAll=!0),n);var Ppe=e=>/^\w*$/.test(e),Lpe=e=>upe(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Mpe=(e,t,n)=>{let r=-1;const o=Ppe(t)?[t]:Lpe(t),a=o.length,i=a-1;for(;++r{_pe(s.current,e.name,i)&&u(lpe(Npe(s.current,n._names,e.values||n._formValues,!1,o)))}});const[l,u]=H.useState(n._getWatch(r,o));return H.useEffect((()=>n._removeUnmounted())),l}({control:o,name:n,defaultValue:dpe(o._formValues,n,dpe(o._defaultValues,n,e.defaultValue)),exact:!0}),l=function(e){const t=Epe(),{control:n=t.control,disabled:r,name:o,exact:a}=e||{},[i,s]=H.useState(n._formState),l=H.useRef(!0),u=H.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=H.useRef(o);return c.current=o,Ape({disabled:r,next:e=>l.current&&_pe(c.current,e.name,a)&&Tpe(e,u.current,n._updateFormState)&&s({...n._formState,...e}),subject:n._subjects.state}),H.useEffect((()=>(l.current=!0,u.current.isValid&&n._updateValid(!0),()=>{l.current=!1})),[n]),kpe(i,n,u.current,!1)}({control:o,name:n}),u=H.useRef(o.register(n,{...e.rules,value:s,...ppe(e.disabled)?{disabled:e.disabled}:{}}));return H.useEffect((()=>{const e=o._options.shouldUnregister||a,t=(e,t)=>{const n=dpe(o._fields,e);n&&(n._f.mount=t)};if(t(n,!0),e){const e=lpe(dpe(o._options.defaultValues,n));Mpe(o._defaultValues,n,e),cpe(dpe(o._formValues,n))&&Mpe(o._formValues,n,e)}return()=>{(i?e&&!o._state.action:e)?o.unregister(n):t(n,!1)}}),[n,o,i,a]),H.useEffect((()=>{dpe(o._fields,n)&&o._updateDisabledField({disabled:r,fields:o._fields,name:n,value:dpe(o._fields,n)._f.value})}),[r,n,o]),{field:{name:n,value:s,...ppe(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:H.useCallback((e=>u.current.onChange({target:{value:ope(e),name:n},type:fpe.CHANGE})),[n]),onBlur:H.useCallback((()=>u.current.onBlur({target:{value:dpe(o._formValues,n),name:n},type:fpe.BLUR})),[n,o]),ref:e=>{const t=dpe(o._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!dpe(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!dpe(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!dpe(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!dpe(l.validatingFields,n)},error:{enumerable:!0,get:()=>dpe(l.errors,n)}})}}const jpe=e=>e.render(Dpe(e));var Fpe=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},$pe=e=>({isOnSubmit:!e||e===mpe.onSubmit,isOnBlur:e===mpe.onBlur,isOnChange:e===mpe.onChange,isOnAll:e===mpe.all,isOnTouch:e===mpe.onTouched}),Bpe=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const zpe=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const n=dpe(e,o);if(n){const{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!r)break;if(e.ref&&t(e.ref,e.name)&&!r)break;zpe(a,t)}else rpe(a)&&zpe(a,t)}}};var Upe=(e,t,n)=>{const r=upe(dpe(e,n));return Mpe(r,"root",t[n]),Mpe(e,n,r),e},Hpe=e=>"file"===e.type,Vpe=e=>"function"==typeof e,Gpe=e=>{if(!spe)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Wpe=e=>Ope(e),qpe=e=>"radio"===e.type,Kpe=e=>e instanceof RegExp;const Ype={value:!1,isValid:!1},Xpe={value:!0,isValid:!0};var Zpe=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!cpe(e[0].attributes.value)?cpe(e[0].value)||""===e[0].value?Xpe:{value:e[0].value,isValid:!0}:Xpe:Ype}return Ype};const Qpe={isValid:!1,value:null};var Jpe=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Qpe):Qpe;function efe(e,t,n="validate"){if(Wpe(e)||Array.isArray(e)&&e.every(Wpe)||ppe(e)&&!e)return{type:n,message:Wpe(e)?e:"",ref:t}}var tfe=e=>rpe(e)&&!Kpe(e)?e:{value:e,message:""},nfe=async(e,t,n,r,o)=>{const{ref:a,refs:i,required:s,maxLength:l,minLength:u,min:c,max:d,pattern:p,validate:f,name:m,valueAsNumber:h,mount:g,disabled:b}=e._f,v=dpe(t,m);if(!g||b)return{};const y=i?i[0]:a,w=e=>{r&&y.reportValidity&&(y.setCustomValidity(ppe(e)?"":e||""),y.reportValidity())},S={},x=qpe(a),E=Jde(a),C=x||E,k=(h||Hpe(a))&&cpe(a.value)&&cpe(v)||Gpe(a)&&""===a.value||""===v||Array.isArray(v)&&!v.length,R=Fpe.bind(null,m,n,S),T=(e,t,n,r=bpe,o=vpe)=>{const i=e?t:n;S[m]={type:e?r:o,message:i,ref:a,...R(e?r:o,i)}};if(o?!Array.isArray(v)||!v.length:s&&(!C&&(k||tpe(v))||ppe(v)&&!v||E&&!Zpe(i).isValid||x&&!Jpe(i).isValid)){const{value:e,message:t}=Wpe(s)?{value:!!s,message:s}:tfe(s);if(e&&(S[m]={type:wpe,message:t,ref:y,...R(wpe,t)},!n))return w(t),S}if(!(k||tpe(c)&&tpe(d))){let e,t;const r=tfe(d),o=tfe(c);if(tpe(v)||isNaN(v)){const n=a.valueAsDate||new Date(v),i=e=>new Date((new Date).toDateString()+" "+e),s="time"==a.type,l="week"==a.type;Ope(r.value)&&v&&(e=s?i(v)>i(r.value):l?v>r.value:n>new Date(r.value)),Ope(o.value)&&v&&(t=s?i(v)r.value),tpe(o.value)||(t=n+e.value,o=!tpe(t.value)&&v.length<+t.value;if((r||o)&&(T(r,e.message,t.message),!n))return w(S[m].message),S}if(p&&!k&&Ope(v)){const{value:e,message:t}=tfe(p);if(Kpe(e)&&!v.match(e)&&(S[m]={type:ype,message:t,ref:a,...R(ype,t)},!n))return w(t),S}if(f)if(Vpe(f)){const e=efe(await f(v,t),y);if(e&&(S[m]={...e,...R(Spe,e.message)},!n))return w(e.message),S}else if(rpe(f)){let e={};for(const r in f){if(!Rpe(e)&&!n)break;const o=efe(await f[r](v,t),y,r);o&&(e={...o,...R(r,o.message)},w(o.message),n&&(S[m]=e))}if(!Rpe(e)&&(S[m]={ref:y,...e},!n))return S}return w(!0),S};function rfe(e,t){const n=Array.isArray(t)?t:Ppe(t)?[t]:Lpe(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},afe=e=>tpe(e)||!npe(e);function ife(e,t){if(afe(e)||afe(t))return e===t;if(epe(e)&&epe(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){const n=e[o];if(!r.includes(o))return!1;if("ref"!==o){const e=t[o];if(epe(n)&&epe(e)||rpe(n)&&rpe(e)||Array.isArray(n)&&Array.isArray(e)?!ife(n,e):n!==e)return!1}}return!0}var sfe=e=>"select-multiple"===e.type,lfe=e=>qpe(e)||Jde(e),ufe=e=>Gpe(e)&&e.isConnected,cfe=e=>{for(const t in e)if(Vpe(e[t]))return!0;return!1};function dfe(e,t={}){const n=Array.isArray(e);if(rpe(e)||n)for(const r in e)Array.isArray(e[r])||rpe(e[r])&&!cfe(e[r])?(t[r]=Array.isArray(e[r])?[]:{},dfe(e[r],t[r])):tpe(e[r])||(t[r]=!0);return t}function pfe(e,t,n){const r=Array.isArray(e);if(rpe(e)||r)for(const o in e)Array.isArray(e[o])||rpe(e[o])&&!cfe(e[o])?cpe(t)||afe(n[o])?n[o]=Array.isArray(e[o])?dfe(e[o],[]):{...dfe(e[o])}:pfe(e[o],tpe(t)?{}:t[o],n[o]):n[o]=!ife(e[o],t[o]);return n}var ffe=(e,t)=>pfe(e,t,dfe(t)),mfe=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>cpe(e)?e:t?""===e?NaN:e?+e:e:n&&Ope(e)?new Date(e):r?r(e):e;function hfe(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return Hpe(t)?t.files:qpe(t)?Jpe(e.refs).value:sfe(t)?[...t.selectedOptions].map((({value:e})=>e)):Jde(t)?Zpe(e.refs).value:mfe(cpe(t.value)?e.ref.value:t.value,e)}var gfe=(e,t,n,r)=>{const o={};for(const a of e){const e=dpe(t,a);e&&Mpe(o,a,e._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},bfe=e=>cpe(e)?e:Kpe(e)?e.source:rpe(e)?Kpe(e.value)?e.value.source:e.value:e,vfe=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function yfe(e,t,n){const r=dpe(e,n);if(r||Ppe(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const r=o.join("."),a=dpe(t,r),i=dpe(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(i&&i.type)return{name:r,error:i};o.pop()}return{name:n}}var wfe=(e,t,n,r,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:!(n?r.isOnChange:o.isOnChange)||e),Sfe=(e,t)=>!upe(dpe(e,t)).length&&rfe(e,t);const xfe={mode:mpe.onSubmit,reValidateMode:mpe.onChange,shouldFocusError:!0};function Efe(e={}){let t,n={...xfe,...e},r={submitCount:0,isDirty:!1,isLoading:Vpe(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},o={},a=(rpe(n.defaultValues)||rpe(n.values))&&lpe(n.defaultValues||n.values)||{},i=n.shouldUnregister?{}:lpe(a),s={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:ofe(),array:ofe(),state:ofe()},p=$pe(n.mode),f=$pe(n.reValidateMode),m=n.criteriaMode===mpe.all,h=async e=>{if(c.isValid||e){const e=n.resolver?Rpe((await w()).errors):await S(o,!0);e!==r.isValid&&d.state.next({isValid:e})}},g=(e,t)=>{(c.isValidating||c.validatingFields)&&((e||Array.from(l.mount)).forEach((e=>{e&&(t?Mpe(r.validatingFields,e,t):rfe(r.validatingFields,e))})),d.state.next({validatingFields:r.validatingFields,isValidating:!Rpe(r.validatingFields)}))},b=(e,t,n,r)=>{const l=dpe(o,e);if(l){const o=dpe(i,e,cpe(n)?dpe(a,e):n);cpe(o)||r&&r.defaultChecked||t?Mpe(i,e,t?o:hfe(l._f)):C(e,o),s.mount&&h()}},v=(e,t,n,i,s)=>{let l=!1,u=!1;const p={name:e},f=!(!dpe(o,e)||!dpe(o,e)._f.disabled);if(!n||i){c.isDirty&&(u=r.isDirty,r.isDirty=p.isDirty=x(),l=u!==p.isDirty);const n=f||ife(dpe(a,e),t);u=!(f||!dpe(r.dirtyFields,e)),n||f?rfe(r.dirtyFields,e):Mpe(r.dirtyFields,e,!0),p.dirtyFields=r.dirtyFields,l=l||c.dirtyFields&&u!==!n}if(n){const t=dpe(r.touchedFields,e);t||(Mpe(r.touchedFields,e,n),p.touchedFields=r.touchedFields,l=l||c.touchedFields&&t!==n)}return l&&s&&d.state.next(p),l?p:{}},y=(n,o,a,i)=>{const s=dpe(r.errors,n),l=c.isValid&&ppe(o)&&r.isValid!==o;var p;if(e.delayError&&a?(p=()=>((e,t)=>{Mpe(r.errors,e,t),d.state.next({errors:r.errors})})(n,a),t=e=>{clearTimeout(u),u=setTimeout(p,e)},t(e.delayError)):(clearTimeout(u),t=null,a?Mpe(r.errors,n,a):rfe(r.errors,n)),(a?!ife(s,a):s)||!Rpe(i)||l){const e={...i,...l&&ppe(o)?{isValid:o}:{},errors:r.errors,name:n};r={...r,...e},d.state.next(e)}},w=async e=>{g(e,!0);const t=await n.resolver(i,n.context,gfe(e||l.mount,o,n.criteriaMode,n.shouldUseNativeValidation));return g(e),t},S=async(e,t,o={valid:!0})=>{for(const a in e){const s=e[a];if(s){const{_f:e,...u}=s;if(e){const u=l.array.has(e.name);g([a],!0);const c=await nfe(s,i,m,n.shouldUseNativeValidation&&!t,u);if(g([a]),c[e.name]&&(o.valid=!1,t))break;!t&&(dpe(c,e.name)?u?Upe(r.errors,c,e.name):Mpe(r.errors,e.name,c[e.name]):rfe(r.errors,e.name))}u&&await S(u,t,o)}}return o.valid},x=(e,t)=>(e&&t&&Mpe(i,e,t),!ife(A(),a)),E=(e,t,n)=>Npe(e,l,{...s.mount?i:cpe(t)?a:Ope(e)?{[e]:t}:t},n,t),C=(e,t,n={})=>{const r=dpe(o,e);let a=t;if(r){const n=r._f;n&&(!n.disabled&&Mpe(i,e,mfe(t,n)),a=Gpe(n.ref)&&tpe(t)?"":t,sfe(n.ref)?[...n.ref.options].forEach((e=>e.selected=a.includes(e.value))):n.refs?Jde(n.ref)?n.refs.length>1?n.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value))):n.refs[0]&&(n.refs[0].checked=!!a):n.refs.forEach((e=>e.checked=e.value===a)):Hpe(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||d.values.next({name:e,values:{...i}})))}(n.shouldDirty||n.shouldTouch)&&v(e,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&_(e)},k=(e,t,n)=>{for(const r in t){const a=t[r],i=`${e}.${r}`,s=dpe(o,i);!l.array.has(e)&&afe(a)&&(!s||s._f)||epe(a)?C(i,a,n):k(i,a,n)}},R=(e,t,n={})=>{const u=dpe(o,e),p=l.array.has(e),f=lpe(t);Mpe(i,e,f),p?(d.array.next({name:e,values:{...i}}),(c.isDirty||c.dirtyFields)&&n.shouldDirty&&d.state.next({name:e,dirtyFields:ffe(a,i),isDirty:x(e,f)})):!u||u._f||tpe(f)?C(e,f,n):k(e,f,n),Bpe(e,l)&&d.state.next({...r}),d.values.next({name:s.mount?e:void 0,values:{...i}})},T=async e=>{const a=e.target;let s=a.name,u=!0;const b=dpe(o,s),x=e=>{u=Number.isNaN(e)||e===dpe(i,s,e)};if(b){let E,C;const k=a.type?hfe(b._f):ope(e),R=e.type===fpe.BLUR||e.type===fpe.FOCUS_OUT,T=!vfe(b._f)&&!n.resolver&&!dpe(r.errors,s)&&!b._f.deps||wfe(R,dpe(r.touchedFields,s),r.isSubmitted,f,p),I=Bpe(s,l,R);Mpe(i,s,k),R?(b._f.onBlur&&b._f.onBlur(e),t&&t(0)):b._f.onChange&&b._f.onChange(e);const A=v(s,k,R,!1),O=!Rpe(A)||I;if(!R&&d.values.next({name:s,type:e.type,values:{...i}}),T)return c.isValid&&h(),O&&d.state.next({name:s,...I?{}:A});if(!R&&I&&d.state.next({...r}),n.resolver){const{errors:e}=await w([s]);if(x(k),u){const t=yfe(r.errors,o,s),n=yfe(e,o,t.name||s);E=n.error,s=n.name,C=Rpe(e)}}else g([s],!0),E=(await nfe(b,i,m,n.shouldUseNativeValidation))[s],g([s]),x(k),u&&(E?C=!1:c.isValid&&(C=await S(o,!0)));u&&(b._f.deps&&_(b._f.deps),y(s,C,E,A))}},I=(e,t)=>{if(dpe(r.errors,t)&&e.focus)return e.focus(),1},_=async(e,t={})=>{let a,i;const s=Ipe(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await w(e);if(e)for(const n of e){const e=dpe(t,n);e?Mpe(r.errors,n,e):rfe(r.errors,n)}else r.errors=t;return t})(cpe(e)?e:s);a=Rpe(t),i=e?!s.some((e=>dpe(t,e))):a}else e?(i=(await Promise.all(s.map((async e=>{const t=dpe(o,e);return await S(t&&t._f?{[e]:t}:t)})))).every(Boolean),(i||r.isValid)&&h()):i=a=await S(o);return d.state.next({...!Ope(e)||c.isValid&&a!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:a}:{},errors:r.errors}),t.shouldFocus&&!i&&zpe(o,I,e?s:l.mount),i},A=e=>{const t={...a,...s.mount?i:{}};return cpe(e)?t:Ope(e)?dpe(t,e):e.map((e=>dpe(t,e)))},O=(e,t)=>({invalid:!!dpe((t||r).errors,e),isDirty:!!dpe((t||r).dirtyFields,e),isTouched:!!dpe((t||r).touchedFields,e),isValidating:!!dpe((t||r).validatingFields,e),error:dpe((t||r).errors,e)}),N=(e,t,n)=>{const a=(dpe(o,e,{_f:{}})._f||{}).ref;Mpe(r.errors,e,{...t,ref:a}),d.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&a&&a.focus&&a.focus()},P=(e,t={})=>{for(const s of e?Ipe(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(rfe(o,s),rfe(i,s)),!t.keepError&&rfe(r.errors,s),!t.keepDirty&&rfe(r.dirtyFields,s),!t.keepTouched&&rfe(r.touchedFields,s),!t.keepIsValidating&&rfe(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&rfe(a,s);d.values.next({values:{...i}}),d.state.next({...r,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&h()},L=({disabled:e,name:t,field:n,fields:r,value:o})=>{if(ppe(e)){const a=e?void 0:cpe(o)?hfe(n?n._f:dpe(r,t)._f):o;Mpe(i,t,a),v(t,a,!1,!1,!0)}},M=(e,t={})=>{let r=dpe(o,e);const i=ppe(t.disabled);return Mpe(o,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),r?L({field:r,disabled:t.disabled,name:e,value:t.value}):b(e,!0,t.value),{...i?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:bfe(t.min),max:bfe(t.max),minLength:bfe(t.minLength),maxLength:bfe(t.maxLength),pattern:bfe(t.pattern)}:{},name:e,onChange:T,onBlur:T,ref:i=>{if(i){M(e,t),r=dpe(o,e);const n=cpe(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=lfe(n),l=r._f.refs||[];if(s?l.find((e=>e===n)):n===r._f.ref)return;Mpe(o,e,{_f:{...r._f,...s?{refs:[...l.filter(ufe),n,...Array.isArray(dpe(a,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),b(e,!1,void 0,n)}else r=dpe(o,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!ape(l.array,e)||!s.action)&&l.unMount.add(e)}}},D=()=>n.shouldFocusError&&zpe(o,I,l.mount),j=(e,t)=>async a=>{let s;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let l=lpe(i);if(d.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await w();r.errors=e,l=t}else await S(o);if(rfe(r.errors,"root"),Rpe(r.errors)){d.state.next({errors:{}});try{await e(l,a)}catch(u){s=u}}else t&&await t({...r.errors},a),D(),setTimeout(D);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Rpe(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},F=(t,n={})=>{const u=t?lpe(t):a,p=lpe(u),f=Rpe(t),m=f?a:p;if(n.keepDefaultValues||(a=u),!n.keepValues){if(n.keepDirtyValues)for(const e of l.mount)dpe(r.dirtyFields,e)?Mpe(m,e,dpe(i,e)):R(e,dpe(m,e));else{if(spe&&cpe(t))for(const e of l.mount){const t=dpe(o,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Gpe(e)){const t=e.closest("form");if(t){t.reset();break}}}}o={}}i=e.shouldUnregister?n.keepDefaultValues?lpe(a):{}:lpe(m),d.array.next({values:{...m}}),d.values.next({values:{...m}})}l={mount:n.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!c.isValid||!!n.keepIsValid||!!n.keepDirtyValues,s.watch=!!e.shouldUnregister,d.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:!f&&(n.keepDirty?r.isDirty:!(!n.keepDefaultValues||ife(t,a))),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:f?[]:n.keepDirtyValues?n.keepDefaultValues&&i?ffe(a,i):r.dirtyFields:n.keepDefaultValues&&t?ffe(a,t):{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},$=(e,t)=>F(Vpe(e)?e(i):e,t);return{control:{register:M,unregister:P,getFieldState:O,handleSubmit:j,setError:N,_executeSchema:w,_getWatch:E,_getDirty:x,_updateValid:h,_removeUnmounted:()=>{for(const e of l.unMount){const t=dpe(o,e);t&&(t._f.refs?t._f.refs.every((e=>!ufe(e))):!ufe(t._f.ref))&&P(e)}l.unMount=new Set},_updateFieldArray:(e,t=[],n,l,u=!0,p=!0)=>{if(l&&n){if(s.action=!0,p&&Array.isArray(dpe(o,e))){const t=n(dpe(o,e),l.argA,l.argB);u&&Mpe(o,e,t)}if(p&&Array.isArray(dpe(r.errors,e))){const t=n(dpe(r.errors,e),l.argA,l.argB);u&&Mpe(r.errors,e,t),Sfe(r.errors,e)}if(c.touchedFields&&p&&Array.isArray(dpe(r.touchedFields,e))){const t=n(dpe(r.touchedFields,e),l.argA,l.argB);u&&Mpe(r.touchedFields,e,t)}c.dirtyFields&&(r.dirtyFields=ffe(a,i)),d.state.next({name:e,isDirty:x(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Mpe(i,e,t)},_updateDisabledField:L,_getFieldArray:t=>upe(dpe(s.mount?i:a,t,e.shouldUnregister?dpe(a,t,[]):[])),_reset:F,_resetDefaultValues:()=>Vpe(n.defaultValues)&&n.defaultValues().then((e=>{$(e,n.resetOptions),d.state.next({isLoading:!1})})),_updateFormState:e=>{r={...r,...e}},_disableForm:e=>{ppe(e)&&(d.state.next({disabled:e}),zpe(o,((t,n)=>{let r=e;const a=dpe(o,n);a&&ppe(a._f.disabled)&&(r||(r=a._f.disabled)),t.disabled=r}),0,!1))},_subjects:d,_proxyFormState:c,_setErrors:e=>{r.errors=e,d.state.next({errors:r.errors,isValid:!1})},get _fields(){return o},get _formValues(){return i},get _state(){return s},set _state(e){s=e},get _defaultValues(){return a},get _names(){return l},set _names(e){l=e},get _formState(){return r},set _formState(e){r=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:_,register:M,handleSubmit:j,watch:(e,t)=>Vpe(e)?d.values.subscribe({next:n=>e(E(void 0,t),n)}):E(e,t,!0),setValue:R,getValues:A,reset:$,resetField:(e,t={})=>{dpe(o,e)&&(cpe(t.defaultValue)?R(e,lpe(dpe(a,e))):(R(e,t.defaultValue),Mpe(a,e,lpe(t.defaultValue))),t.keepTouched||rfe(r.touchedFields,e),t.keepDirty||(rfe(r.dirtyFields,e),r.isDirty=t.defaultValue?x(e,lpe(dpe(a,e))):x()),t.keepError||(rfe(r.errors,e),c.isValid&&h()),d.state.next({...r}))},clearErrors:e=>{e&&Ipe(e).forEach((e=>rfe(r.errors,e))),d.state.next({errors:e?r.errors:{}})},unregister:P,setError:N,setFocus:(e,t={})=>{const n=dpe(o,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:O}}function Cfe(e={}){const t=H.useRef(),n=H.useRef(),[r,o]=H.useState({isDirty:!1,isValidating:!1,isLoading:Vpe(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Vpe(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...Efe(e),formState:r});const a=t.current.control;return a._options=e,Ape({subject:a._subjects.state,next:e=>{Tpe(e,a._proxyFormState,a._updateFormState,!0)&&o({...a._formState})}}),H.useEffect((()=>a._disableForm(e.disabled)),[a,e.disabled]),H.useEffect((()=>{if(a._proxyFormState.isDirty){const e=a._getDirty();e!==r.isDirty&&a._subjects.state.next({isDirty:e})}}),[a,r.isDirty]),H.useEffect((()=>{e.values&&!ife(e.values,n.current)?(a._reset(e.values,a._options.resetOptions),n.current=e.values,o((e=>({...e})))):a._resetDefaultValues()}),[e.values,a]),H.useEffect((()=>{e.errors&&a._setErrors(e.errors)}),[e.errors,a]),H.useEffect((()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()})),H.useEffect((()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})}),[e.shouldUnregister,a]),t.current.formState=kpe(r,a),t.current}function kfe(e){let t="Unknown state";switch(e){case zde.PRESENT_SAME:t="Present same";break;case zde.PRESENT_DIFFERENT:t="Present different";break;case zde.NOT_EXIST:t="Does not exist"}return t}function Rfe({file:e,generator:t}){const n=U.useContext(Zde),r=Epe(),[o,a]=U.useState(r.getValues(e.id)),[i,s]=U.useState(!1),[l,u]=U.useState(!1),[c]=vV(),[d,p]=U.useState("");return te.jsxs(te.Fragment,{children:[te.jsxs(A_,{children:[te.jsx(V_,{primary:e.relativePath,secondary:te.jsx(uS,{component:"span",color:Hde(e.state)+".main",children:kfe(e.state)})}),te.jsxs(k_,{children:[te.jsx(ik,{mr:2,display:"inline-block",children:e.state===zde.NOT_EXIST?te.jsx(Ak,{size:"large",variant:"contained",onClick:()=>{s(!0)},children:"Preview"}):e.state===zde.PRESENT_DIFFERENT?te.jsx(Ak,{size:"large",variant:"contained",onClick:async()=>{const r=await c({generator:t.id,parameters:n.parameters,fileId:e.id});console.log("response",r),p(r.data.diff),u(!0)},children:"Diff"}):null}),te.jsx(LL,{value:o,disabled:e.operation===Bde.SKIP,exclusive:!0,onChange:(t,n)=>{a(n),r.setValue(e.id,n)},children:Object.entries(n.operations).map((([e,t])=>te.jsx(IL,{value:e,children:t},e)))})]})]}),te.jsx(Fde,{file:e,open:i,onClose:()=>{s(!1)}}),te.jsx(jde,{file:e,content:d,open:l,onClose:()=>{u(!1)}})]})}var Tfe=function(e,t,n){if(e&&"reportValidity"in e){var r=dpe(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},Ife=function(e,t){var n=function(n){var r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?Tfe(r.ref,n,e):r.refs&&r.refs.forEach((function(t){return Tfe(t,n,e)}))};for(var r in t.fields)n(r)},_fe=function(e,t){t.shouldUseNativeValidation&&Ife(e,t);var n={};for(var r in e){var o=dpe(t.fields,r),a=Object.assign(e[r]||{},{ref:o&&o.ref});if(Afe(t.names||Object.keys(e),r)){var i=Object.assign({},dpe(n,r));Mpe(i,"root",a),Mpe(n,r,i)}else Mpe(n,r,a)}return n},Afe=function(e,t){return e.some((function(e){return e.startsWith(t+".")}))};function Ofe(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),function(r,o,a){try{return Promise.resolve(function(i,s){try{var l=(t.context,Promise.resolve(e["sync"===n.mode?"validateSync":"validate"](r,Object.assign({abortEarly:!1},t,{context:o}))).then((function(e){return a.shouldUseNativeValidation&&Ife({},a),{values:n.raw?r:e,errors:{}}})))}catch(u){return s(u)}return l&&l.then?l.then(void 0,s):l}(0,(function(e){if(!e.inner)throw e;return{values:{},errors:_fe((t=e,n=!a.shouldUseNativeValidation&&"all"===a.criteriaMode,(t.inner||[]).reduce((function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var r=e[t.path].types,o=r&&r[t.type];e[t.path]=Fpe(t.path,n,e,t.type,o?[].concat(o,t.message):t.message)}return e}),{})),a)};var t,n})))}catch(i){return Promise.reject(i)}}}function Nfe(e){const t=[];for(const n of e)switch(n[0]){case"required":t.push(Ede().required(n.message));break;case"each":t.push(Mde(Nfe(n.rules)));break;case"regex":const e=n.pattern,r=e.lastIndexOf("/"),o=e.slice(r+1),a=e.slice(0,r-e.length).slice(1);t.push(Ede().matches(new RegExp(a,o),{message:n.message.message}))}return pde().sequence(t)}function Pfe(e){const t={};return Object.entries(e).map((([e,n],r)=>{t[e]=Nfe(n.rules)})),Pde(t)}function Lfe({attributeName:e,attribute:t}){const n=Epe(),r=function(e){let t="text";for(const n of e){if("each"===n){t="select";break}if("number"===n){t="number";break}}return t}(t.rules.map((e=>e[0])));return"text"===r?te.jsx(jpe,{name:e,defaultValue:String(t.defaultValue??""),control:n.control,render:({field:n,fieldState:{error:r}})=>te.jsxs(te.Fragment,{children:[te.jsx(vL,{...n,placeholder:String(t.defaultValue??""),label:t.label||e,error:!!r,helperText:r?r.message:null}),!!t.hint&&te.jsx(YT,{children:t.hint})]})}):"select"===r?te.jsx(jpe,{control:n.control,defaultValue:Array.isArray(t.defaultValue)?t.defaultValue:[],name:e,render:({field:{value:n,onChange:r,onBlur:o,ref:a},fieldState:{error:i}})=>te.jsxs(te.Fragment,{children:[te.jsx(PC,{value:n,onChange:(e,t)=>r(t),multiple:!0,filterSelectedOptions:!0,filterOptions:e=>e,freeSolo:!0,options:[],renderInput:n=>te.jsx(vL,{...n,ref:a,onBlur:()=>{o()},name:e,helperText:i?i.message:null,error:!!i,label:t.label})}),te.jsx(YT,{children:t.hint})]})}):null}const Mfe=[{component:function({generator:e,onComplete:t}){const n=e.attributes,r=Pfe(n),o=U.useContext(Zde),a=Cfe({mode:"onBlur",resolver:Ofe(r)});U.useEffect((()=>{a.reset()}),[e]);const[i]=gV();return te.jsx(Cpe,{...a,children:te.jsxs(ik,{component:"form",onReset:a.reset,onSubmit:a.handleSubmit((async function(n){console.log("preview",n);const r=await i({generator:e.id,parameters:n});console.log(r),"error"in r?$de(r,a):(o.setFiles(r.data.files),o.setParameters(n),o.setOperations(r.data.operations),t())})),my:2,children:[Object.entries(n).map((([e,t],n)=>te.jsx(ik,{mb:1,children:te.jsx(Lfe,{attributeName:e,attribute:t})},e))),te.jsx(ik,{my:2,children:te.jsxs(Dk,{children:[te.jsx(Ak,{type:"submit",name:"preview",variant:"contained",children:"Preview"}),te.jsx(Ak,{type:"reset",color:"warning",children:"Reset"})]})})]})})},label:"Preview"},{component:function({generator:e,onComplete:t}){const n=U.useContext(Zde),r=Cfe({defaultValues:U.useMemo((()=>Object.fromEntries(n.files.map((e=>[e.id,String(e.operation)])))),[n.files])}),[o]=bV();return te.jsx(Cpe,{...r,children:te.jsxs(ik,{component:"form",onReset:r.reset,onSubmit:r.handleSubmit((async function(a){console.log("generate",a,n.parameters);const i=await o({generator:e.id,parameters:n.parameters,answers:a});if("error"in i)return console.log(i),void $de(i,r);n.setResults(i.data),t()})),my:2,children:[te.jsx(f_,{subheader:te.jsx(ME,{children:"Operations"}),children:n.files.map(((t,n)=>te.jsx(Rfe,{file:t,generator:e},n)))}),te.jsx(ik,{my:2,children:te.jsxs(Dk,{children:[te.jsx(Ak,{type:"submit",name:"generate",variant:"contained",children:"Generate"}),te.jsx(Ak,{type:"reset",color:"warning",children:"Reset"})]})})]})})},label:"Generate"},{component:function({generator:e,onComplete:t}){const n=U.useContext(Zde),r=n.files;return te.jsxs(ik,{children:[n.results.map(((e,t)=>{const n=r.find((t=>t.id===e.id));return n?te.jsxs(nS,{severity:Ude(e.status),children:["error"===e.status&&te.jsx(mS,{children:e.error}),n.relativePath]},t):te.jsxs(nS,{severity:"error",children:["Unknown file with ID: ",e.id]},t)})),te.jsx(ik,{my:2,children:te.jsx(Dk,{children:te.jsx(Ak,{onClick:()=>{t()},variant:"contained",children:"Start new"})})})]})},label:"Result"}],Dfe=({generator:e})=>{const[t,n]=U.useState(0),r=U.useContext(Zde),o=()=>{n(0)};return U.useEffect((()=>{o(),r.reset()}),[e]),te.jsx(QN,{activeStep:t,orientation:"vertical",children:Object.values(Mfe).map(((t,r)=>te.jsxs(vN,{children:[te.jsx(DN,{children:t.label}),te.jsx(WN,{children:te.jsx(t.component,{generator:e,onComplete:()=>r===Mfe.length-1?o():(async()=>{n((e=>e+1))})()})})]},r)))})},jfe=()=>{const[e,t]=U.useState(null),[n]=b$(),{data:r,isLoading:o}=mV();U.useEffect((()=>{const e=n.get("generator")||"",o=(r||[]).find((t=>t.id===e))||null;t(o)}),[n,o]);const a=U.useMemo((()=>(r||[]).map(((e,t)=>({name:e.id,text:e.name,href:"/gii?generator="+e.id,icon:t%2==0?te.jsx(oie,{}):te.jsx(mie,{})})))),[r]);return o?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/gii",children:"Gii"}),!!e&&te.jsx(uS,{component:"span",color:"text.primary",children:e.name})]}),0===a.length?te.jsx(xie,{title:"Gii generators are empty",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Gii is not configured or it does not have any generators."}),te.jsxs(uS,{children:["Make sure Gii is active and its configuration has at least one active generator. ",te.jsx(l_,{href:"/inspector/config/parameters?filter=yiisoft/yii-gii",children:"Open parameters."})]})]}),severity:"info",icon:te.jsx(Kz,{})}):te.jsx(Iie,{links:a,open:!e,activeLink:e?.id,children:e?te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname],children:te.jsx(Qde,{children:te.jsx(Dfe,{generator:e})})}):te.jsx(xie,{title:"No one generator is chosen",text:"Select a generator from the left side panel to see more options",severity:"info",icon:te.jsx(Kz,{})})})]})};jfe.whyDidYouRender=!0;const Ffe={routes:[{path:"/gii",element:te.jsx(jfe,{})}],reducers:lG,middlewares:uG,standaloneModule:!1},$fe=bD("setItems"),Bfe={items:[],setItems:$fe},zfe=CD(Bfe,(e=>{e.addCase($fe,((e,{payload:t})=>{e.items=t}))})),Ufe=U.createContext(Bfe),Hfe=({children:e})=>{const[t,n]=H.useReducer(zfe,Bfe),r=U.useMemo((()=>({items:t.items,setItems:e=>{n($fe(e))}})),[t.items]);return te.jsx(Ufe.Provider,{value:r,children:e})},Vfe=()=>{const e=U.useContext(Ufe),t=e.items.slice(0,-1),n=e.items.at(-1);return te.jsxs(te.Fragment,{children:[te.jsxs(yk,{sx:{my:2},children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/inspector/git",children:"Git"}),t.length>0&&t.map(((e,t)=>te.jsx(l_,{underline:"hover",color:"inherit",href:e.href,children:e.title},t))),n&&te.jsx(uS,{color:"text.primary",children:n.title})]}),te.jsx(KF,{})]})},Gfe=[{field:"file_name",headerName:"File",width:200,renderCell:e=>{let t=e.value+":"+e.row.line_from;return e.row.line_from!==e.row.line_to&&(t+="-"+e.row.line_to),te.jsxs("span",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(t),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a file",children:te.jsx(Uw,{size:"small",href:"/inspector/files?path="+Qle(t),children:te.jsx(Vz,{fontSize:"small"})})}),t]})}},{field:"message",headerName:"Message",flex:1,renderCell:e=>te.jsxs(te.Fragment,{children:[te.jsx("b",{children:te.jsx(l_,{href:e.row.link,children:e.row.type})}),e.row.message]})}];function Wfe(e){return te.jsx(p0,{rows:e,columns:Gfe})}const qfe=()=>{const[e,t]=_V(),[n,r]=U.useState([]),[o,a]=U.useState([]),[i,s]=U.useState(null);const[l,u]=U.useState([]),c=e=>t=>{u((t=>t.includes(e)?t.filter((t=>t!==e)):t.concat(e)))};return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Psalm"}),te.jsxs(ik,{display:"flex",alignItems:"center",children:[te.jsx(Ak,{onClick:async function(){const t=await e("analyse/psalm");if(!("data"in t)||"object"!=typeof t.data)return void console.error(t);const n=[],o=[];let i={id:0,file_name:"",file_path:"",line_from:"",line_to:"",type:"",message:"",link:""},l=0;for(const e of t.data.result)l++,i={id:l,file_name:e.file_name,file_path:e.file_path,line_from:e.line_from,line_to:e.line_to,type:e.type,message:e.message,link:e.link},"info"!==e.severity?"error"===e.severity&&o.push(i):n.push(i);s({isSuccessful:"ok"===t.data.status,errors:t.data.errors}),a(n),r(o)},color:null===i?"primary":i.isSuccessful?"success":"error",disabled:t.isLoading,endIcon:t.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Run Psalm"}),!t.isLoading&&i&&te.jsxs(te.Fragment,{children:[!0===i.isSuccessful&&te.jsx(Lz,{color:"success"}),!1===i.isSuccessful&&te.jsx(Hz,{color:"error"})]})]}),t.isSuccess&&te.jsxs(te.Fragment,{children:[te.jsxs(tw,{expanded:l.includes("panel1"),onChange:c("panel1"),children:[te.jsx(Lw,{expandIcon:te.jsx(Gse,{}),children:te.jsxs(uS,{sx:{width:"33%",flexShrink:0},children:["Info (",o.length,")"]})}),te.jsx(iw,{children:Wfe(o)})]},"panel1"),te.jsxs(tw,{expanded:l.includes("panel2"),onChange:c("panel2"),children:[te.jsx(Lw,{expandIcon:te.jsx(Gse,{}),children:te.jsxs(uS,{sx:{width:"33%",flexShrink:0},children:["Errors (",n.length,")"]})}),te.jsx(iw,{children:Wfe(n)})]},"panel2")]})]})},Kfe=U.memo((e=>{const{onChange:t,value:n=""}=e,r=U.useRef(),o=U.useRef(void 0);return te.jsxs(MT,{sx:{mb:1},variant:"standard",children:[te.jsx(MI,{htmlFor:"filter",children:"Filter"}),te.jsx(CI,{id:"filter",autoFocus:!0,inputRef:r,defaultValue:n,onChange:e=>{clearTimeout(o.current),o.current=setTimeout((()=>{t(e.target.value)}),300)},endAdornment:te.jsx(OI,{position:"end",children:te.jsx(Uw,{onClick:async()=>{t(""),r.current&&(r.current.value="")},edge:"end",children:te.jsx(Dz,{})})})})]})}),((e,t)=>e.onChange===t.onChange)),Yfe=()=>{const[e,t]=b$(),n=e.get("filter")||"",[r,o]=zV(),[a,i]=$V(),s=FV(n,{skip:""===n}),l=U.useCallback((async e=>{t({filter:e})}),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Cache"}),te.jsxs(jT,{direction:"row",justifyContent:"space-between",children:[te.jsx(Kfe,{value:n,onChange:l}),te.jsx(Ak,{color:"error",onClick:async()=>{await r(),await s.refetch()},disabled:o.isLoading,endIcon:o.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Purge cache"})]}),s.isFetching&&te.jsx(e_,{}),""!==n&&!s.isFetching&&void 0!==s.data&&te.jsxs(jT,{direction:"column",children:[te.jsxs(jT,{direction:"row",children:[te.jsx(Ak,{color:"primary",onClick:async()=>{s.refetch()},disabled:i.isLoading,endIcon:i.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"}),te.jsx(Ak,{color:"error",onClick:async()=>{await a(n),await s.refetch()},disabled:i.isLoading,endIcon:i.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Delete"})]}),te.jsx(Hae,{value:s.data})]})]})},Xfe=({open:e,status:t,content:n,onRerun:r,onClose:o,...a})=>te.jsxs(DR,{fullWidth:!0,open:e,onClose:o,...a,children:[te.jsxs(JR,{children:['Result "',t,'"']}),te.jsx(WR,{children:te.jsx(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",m:"auto"},children:te.jsx(Bae,{showLineNumbers:!1,language:"text/plain",code:"string"==typeof n?n:JSON.stringify(n,null,2)})})}),te.jsxs(BR,{children:[te.jsx(Ak,{variant:"outlined",color:"primary",onClick:r,startIcon:te.jsx(oU,{}),children:"Rerun"}),te.jsx(Ak,{variant:"contained",color:"secondary",onClick:o,children:"Close"})]})]}),Zfe=()=>{const[e,t]=U.useState({}),[n,r]=U.useState({}),[o,a]=U.useState(!1),[i]=IV(),[s,l]=_V();U.useEffect((()=>{(async()=>{const e=await i();if(e.data){const n={},o={};e.data.forEach((e=>{e.group in n?n[e.group].push(e):n[e.group]=[e],o[e.name]={isLoading:!1,response:null}})),r(o),t(n)}})()}),[]);const u=Object.entries(e);return 0===u.length?te.jsx(xie,{title:"No commands found",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:'Add a command to the "yiisoft/yii-debug-api" section into "params.php" on the backend to be able to run the command from the Yii Dev Panel.'}),te.jsxs(uS,{children:["You may inspect the section with"," ",te.jsx(l_,{href:"/inspector/config/parameters?filter=yiisoft/yii-debug-api",children:"Inspector"}),"."]}),te.jsxs(uS,{children:["See more information on the link"," ",te.jsx(l_,{href:"https://github.com/yiisoft/yii-debug-api",children:"https://github.com/yiisoft/yii-debug-api"}),"."]})]}),severity:"info",icon:te.jsx(Uz,{})}):(console.log(l.data?.result),te.jsxs(te.Fragment,{children:[u.map((([e,t],o)=>te.jsxs(ik,{children:[te.jsx("h2",{children:e}),t.map(((e,t)=>te.jsxs(Ak,{onClick:()=>(async e=>{r((t=>({...t,[e.name]:{...t[e.name],isLoading:!0}})));const t=await s(e.name);r((t=>({...t,[e.name]:{...t[e.name],isLoading:!1}}))),a(!0),console.log(t)})(e),disabled:n[e.name].isLoading,endIcon:n[e.name].isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:["Run ",e.title]},t)))]},o))),te.jsx(Xfe,{status:l.isLoading?"loading":l.data?l.data.status:"fail",content:l.isLoading?"loading":l.data?l.data.result:"",open:o,onRerun:()=>s(l.originalArgs),onClose:()=>a(!1)})]}))},Qfe=({open:e,isDev:t,packageName:n,installedVersion:r=null,onClose:o,onSwitch:a,...i})=>{const s=HV(n,{skip:null==n}),[l,u]=U.useState(r),[c,d]=U.useState(t),[p,f]=VV();return te.jsxs(DR,{fullWidth:!0,open:e,onClose:o,...i,children:[te.jsxs(JR,{children:['Switch version for "',n,'"']}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Select a version to switch"}),te.jsxs(XR,{children:["Installed version: ",r]}),te.jsxs(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",m:"auto"},children:[te.jsxs(MT,{disabled:f.isLoading,sx:{mt:2,flexGrow:.9},children:[te.jsx(MI,{htmlFor:"max-width",children:"Versions"}),te.jsx(sO,{autoFocus:!0,fullWidth:!0,value:l,onChange:e=>{u(e.target.value)},label:"Version",children:s.data&&s.data.result.versions.map(((e,t)=>te.jsx(xA,{value:e,children:e},t)))})]}),te.jsx(HT,{sx:{mt:1},control:te.jsx(lP,{checked:c,onChange:()=>{d((e=>!e))}}),label:"--dev"})]})]}),te.jsxs(BR,{children:[te.jsx(Ak,{variant:"outlined",color:"error",disabled:f.isLoading,onClick:o,children:"Close"}),te.jsx(Ak,{variant:"contained",color:"primary",disabled:f.isLoading,endIcon:f.isLoading?te.jsx(hR,{size:24,color:"info"}):null,onClick:()=>{(async(e,t)=>{const n=await p({packageName:e,version:t,isDev:c});console.log(n),a()})(n,l)},children:"Switch"})]})]})};function Jfe(e){const{children:t,value:n,index:r,...o}=e;return te.jsx("div",{role:"tabpanel",hidden:n!==r,...o,children:n===r&&te.jsx(ik,{sx:{p:3},children:t})})}const eme=e=>!e.includes("/"),tme=U.memo((({packageName:e,version:t,onClick:n})=>te.jsxs(A_,{disablePadding:!0,sx:{display:"block"},children:[te.jsx(V_,{primary:e,secondary:t}),!eme(e)&&te.jsx(k_,{children:te.jsx(Ak,{onClick:()=>n(e),color:"primary",children:"Switch"})})]}))),nme=()=>{const e=jV(),[t,n]=U.useState(0),[r,o]=U.useState(!1),[a,i]=U.useState(null),[s,l]=U.useState(!1),u=U.useMemo((()=>{const t={};return e.data&&e.data.lock?(e.data.lock.packages.concat(e.data.lock["packages-dev"]).forEach((e=>{t[e.name]=e.version})),t):t}),[e.data]),c=e=>{i(e),o(!0),l(!1)},d=e=>{i(e),o(!0),l(!0)};return te.jsxs(ik,{sx:{width:"100%"},children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(pL,{value:t,onChange:(e,t)=>n(t),children:[te.jsx(mP,{label:"Packages"}),te.jsx(mP,{label:"composer.json"}),te.jsx(mP,{label:"composer.lock"})]})}),te.jsx(Jfe,{value:t,index:0,children:te.jsxs(ik,{display:"flex",children:[te.jsxs(f_,{sx:{width:"100%"},children:[te.jsx(iT,{children:"Require"}),e.data&&Object.entries(e.data.json.require).map((([e,t],n)=>te.jsx(tme,{packageName:e,version:e in u?`Required: ${t}, Installed: ${u[e]}`:`${t}`,onClick:c},n)))]}),te.jsxs(f_,{sx:{width:"100%"},children:[te.jsx(iT,{children:"Require Dev"}),e.data&&Object.entries(e.data.json["require-dev"]).map((([e,t],n)=>te.jsx(tme,{packageName:e,version:e in u?`Required: ${t}, Installed: ${u[e]}`:`${t}`,onClick:d},n)))]})]})}),te.jsx(Jfe,{value:t,index:1,children:e.data&&te.jsx(Hae,{value:e.data.json})}),te.jsx(Jfe,{value:t,index:2,children:e.data&&te.jsx(Hae,{value:e.data.lock})}),r&&te.jsx(Qfe,{packageName:a,installedVersion:a&&a in u?u[a]:null,open:!0,isDev:s,onClose:()=>o(!1),onSwitch:()=>o(!1)})]})},rme=bD("setObjects"),ome=bD("insertObject"),ame={objects:[],insertObject:ome,setObjects:rme},ime=CD(ame,(e=>{e.addCase(rme,((e,{payload:t})=>{e.objects=t})).addCase(ome,((e,{payload:{id:t,object:n}})=>{e.objects=e.objects.map((e=>t===e.id?{id:t,value:n}:e))}))})),sme=U.createContext(ame),lme=({children:e})=>{const[t,n]=H.useReducer(ime,ame),r=U.useMemo((()=>({objects:t.objects,setObjects:e=>{n(rme(e))},insertObject:(e,t)=>{n(ome({id:e,object:t}))}})),[t.objects]);return te.jsx(sme.Provider,{value:r,children:e})};function ume(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const cme=U.createContext({loader:()=>null}),dme=({loader:e,children:t})=>te.jsx(cme.Provider,{value:{loader:e},children:t}),pme=e=>{const{loader:t}=U.useContext(cme);return e.row.value?te.jsx(Hae,{value:e.value},e.id):te.jsx(Ak,{onClick:()=>t(e.row.id),children:"Load"})},fme=[{field:"id",headerName:"Name",width:200,renderCell:e=>{const t=e.value;return te.jsxs("div",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(t),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+t,children:te.jsx(tU,{fontSize:"small"})})}),t]})}},{field:"value",headerName:"Value",flex:1,renderCell:e=>te.jsx(pme,{...e})}],mme=()=>{const{data:e,isLoading:t}=CV(""),[n]=kV(),[r,o]=b$(),a=r.get("filter")||"";console.log("data",e,t);const{objects:i,setObjects:s,insertObject:l}=U.useContext(sme),u=U.useCallback((async e=>{const t=await n(e);t.data&&l(e,t.data.object)}),[]);U.useEffect((()=>{!t&&e&&(console.log("setObjects",e.map((e=>({id:e,value:null})))),s(e.map((e=>({id:e,value:null})))))}),[t]);const c=U.useMemo((()=>{if(!a)return i;const e=new RegExp(ume(a),"i");return i.filter((t=>t.id.match(e)))}),[i,a]);console.log("filteredRows",c,i);const d=U.useCallback((async e=>{o({filter:e})}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx(Kfe,{value:a,onChange:d}),te.jsx(dme,{loader:u,children:te.jsx(p0,{rows:c,getRowId:e=>e.id,columns:fme})})]})},hme=()=>{const{page:e}=DF(),t=LF(),[n,r]=U.useState(e??"parameters");return te.jsx(te.Fragment,{children:te.jsxs(Yse,{value:n,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(ele,{onChange:(e,n)=>{r(n),t(`/inspector/config/${n}`)},children:[te.jsx(mP,{value:"parameters",label:"Parameters"}),te.jsx(mP,{value:"definitions",label:"Definitions"}),te.jsx(mP,{value:"container",label:"Container"})]})}),te.jsx(ale,{value:"container",children:te.jsx(lme,{children:te.jsx(mme,{})})}),te.jsx(ale,{value:"parameters",children:te.jsx(wme,{})}),te.jsx(ale,{value:"definitions",children:te.jsx(lme,{children:te.jsx(vme,{})})})]})})},gme=e=>{const{loader:t}=U.useContext(cme);return"string"==typeof e.value&&e.value.match(/^[\w\\]+$/i)?te.jsxs(te.Fragment,{children:[e.value,te.jsx(Ak,{onClick:()=>t(e.row.id),children:"Load"})]}):te.jsx(Hae,{value:e.value})},bme=[{field:"id",headerName:"Name",width:200,renderCell:e=>{const t=e.value;return te.jsxs("div",{style:{wordBreak:"break-word"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(t),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+t,children:te.jsx(Bz,{fontSize:"small"})})}),t]})}},{field:"value",headerName:"Value",flex:1,renderCell:e=>te.jsx(gme,{...e})}],vme=()=>{const{data:e,isLoading:t}=xV("di"),[n]=kV(),[r,o]=b$(),a=r.get("filter")||"",{objects:i,setObjects:s,insertObject:l}=U.useContext(sme),u=U.useCallback((async e=>{const t=await n(e);t.data&&l(e,t.data.object)}),[]);U.useEffect((()=>{if(!t&&e){const t=Object.entries(e||[]).map((e=>({id:e[0],value:e[1]})));s(t)}}),[t]);const c=U.useMemo((()=>{const e=new RegExp(ume(a||""),"i");return i.filter((t=>t.id.match(e)))}),[i,a]),d=U.useCallback((async e=>{o({filter:e})}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx(Kfe,{value:a,onChange:d}),te.jsx(dme,{loader:u,children:te.jsx(p0,{rows:c,getRowId:e=>e.id,columns:bme})})]})},yme=[{field:"0",headerName:"Name",width:130},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(Hae,{value:e.value},e.id)}],wme=()=>{const{data:e,isLoading:t}=wV(),[n,r]=b$(),o=n.get("filter")||"",a=U.useMemo((()=>{const t=Array.isArray(e);let n=Object.entries(e||[]);return n=n.map((e=>({0:e[0],1:t?Object.assign({},e[1]):e[1]}))),n}),[e]),i=U.useMemo((()=>{const e=new RegExp(ume(o),"i");return a.filter((t=>t[0].match(e)))}),[a,o]),s=U.useCallback((async e=>{r({filter:e})}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx(Kfe,{value:o,onChange:s}),te.jsx("div",{style:{width:"100%"},children:te.jsx(p0,{rows:i,getRowId:e=>e[0],columns:yme})})]})},Sme=()=>{const[e]=b$(),t=e.get("class")||"",{data:n,isLoading:r}=EV(t);return r?te.jsx(AG,{}):te.jsxs("pre",{children:[te.jsxs("h2",{children:[t," ",te.jsx(oN,{title:"Examine as a file",children:te.jsx(Uw,{size:"small",href:"/inspector/files?path="+n?.path,children:te.jsx(Vz,{fontSize:"small"})})})]}),te.jsx(Hae,{value:n?.object})]})},xme=[{field:"name",headerName:"Name",width:200,renderCell:e=>te.jsx(uS,{my:1,sx:{wordBreak:"break-all"},children:e.value})},{field:"columns",headerName:"Columns count",flex:1,renderCell:e=>te.jsx(uS,{my:1,children:e.value})},{field:"records",headerName:"Records count",flex:1,renderCell:e=>te.jsx(uS,{my:1,children:e.value})},{field:"actions",headerName:"Actions",flex:1,renderCell:e=>te.jsx(uS,{my:1,children:te.jsx(Ak,{variant:"contained",href:`/inspector/database/${e.row.name}`,children:"View"})})}],Eme=()=>{const{data:e,isLoading:t}=MV(),[n,r]=U.useState([]);return U.useEffect((()=>{if(e){const t=[];for(const n of e)t.push({name:n.table,columns:n.columns.length,records:n.records});r(t)}}),[t]),t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:te.jsx(yk,{children:te.jsx(uS,{children:"Database"})})}),te.jsx(p0,{rows:n,getRowId:e=>e.name,columns:xme})]})},Cme=e=>{switch(!0){case Array.isArray(e)&&2===e.length:return e.join("::")+"()";case"string"==typeof e:return e;default:return JSON.stringify(e)}},kme=H.memo((({eventListeners:e})=>{const t=Object.entries(e);return te.jsx(te.Fragment,{children:t.map(((e,t)=>te.jsxs(H.Fragment,{children:[te.jsxs(uS,{variant:"subtitle2",component:"h3",children:[e[0],te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Uw,{size:"small",href:`/inspector/files?class=${e[0]}`,children:te.jsx(tU,{fontSize:"small"})})})]}),te.jsx(f_,{children:e[1].map(((e,t)=>te.jsxs(H.Fragment,{children:[Array.isArray(e)&&te.jsx(oN,{title:"Open in File Explorer",children:te.jsx(Ak,{size:"small",href:`/inspector/files?class=${e[0]}&method=${e[1]}`,endIcon:te.jsx(tU,{fontSize:"small"}),children:"Inspect method"})}),te.jsx(A_,{children:te.jsx(Bae,{language:"php",code:Cme(e),showLineNumbers:!1})})]},t)))})]},t)))})})),Rme=H.memo((()=>te.jsx(uS,{variant:"subtitle2",component:"h3",children:"No event listeners found"}))),Tme=()=>{const{data:e,isLoading:t,isSuccess:n}=WV(),[r,o]=U.useState(null),[a,i]=U.useState("web");return U.useEffect((()=>{n&&(console.log(e),o(e))}),[n,e]),t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Event listeners"}),!r&&te.jsx(Rme,{}),r&&te.jsxs(Yse,{value:a,children:[te.jsx(ik,{sx:{borderBottom:1,borderColor:"divider"},children:te.jsxs(ele,{onChange:(e,t)=>i(t),children:[te.jsx(mP,{value:"common",label:"Common",disabled:!r.common}),te.jsx(mP,{value:"web",label:"Web",disabled:!r.web}),te.jsx(mP,{value:"console",label:"Console",disabled:!r.console})]})}),te.jsx(ale,{value:"common",children:r.common&&!Array.isArray(r.common)?te.jsx(kme,{eventListeners:r.common}):te.jsx(Rme,{})}),te.jsx(ale,{value:"web",children:r.web&&!Array.isArray(r.web)?te.jsx(kme,{eventListeners:r.web}):te.jsx(Rme,{})}),te.jsx(ale,{value:"console",children:r.console&&!Array.isArray(r.console)?te.jsx(kme,{eventListeners:r.console}):te.jsx(Rme,{})})]})]})};function Ime(e,t=2){if(0==e)return"0 B";const n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(t))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}function _me(e=450,t){setTimeout((()=>{const n=t||window.location.hash?.replace("#",""),r=document.getElementById(n);r&&window.scrollTo({top:r.offsetTop-e,behavior:"smooth"})}))}function Ame(e){return Ch("MuiSimpleTreeView",e)}kh("MuiSimpleTreeView",["root"]);class Ome{constructor(){this.maxListeners=20,this.warnOnce=!1,this.events={}}on(e,t,n={}){let r=this.events[e];r||(r={highPriority:new Map,regular:new Map},this.events[e]=r),n.isFirst?r.highPriority.set(t,!0):r.regular.set(t,!0)}removeListener(e,t){this.events[e]&&(this.events[e].regular.delete(t),this.events[e].highPriority.delete(t))}removeAllListeners(){this.events={}}emit(e,...t){const n=this.events[e];if(!n)return;const r=Array.from(n.highPriority.keys()),o=Array.from(n.regular.keys());for(let a=r.length-1;a>=0;a-=1){const e=r[a];n.highPriority.has(e)&&e.apply(this,t)}for(let a=0;a{if(e.isItemExpanded(t)&&e.getNavigableChildrenIds(t).length>0)return e.getNavigableChildrenIds(t)[0];let n=e.getNode(t);for(;null!=n;){const t=e.getNavigableChildrenIds(n.parentId),r=t[t.indexOf(n.id)+1];if(r)return r;n=e.getNode(n.parentId)}return null},Pme=e=>{let t=e.getNavigableChildrenIds(null).pop();for(;e.isItemExpanded(t);)t=e.getNavigableChildrenIds(t).pop();return t},Lme=e=>e.getNavigableChildrenIds(null)[0],Mme=(e,t)=>{Object.assign(e,t)},Dme=(e,t)=>{Object.assign(e,t)},jme=({instance:e})=>{const[t]=U.useState((()=>new Ome)),n=U.useCallback(((...e)=>{const[n,r,o={}]=e;o.defaultMuiPrevented=!1,(e=>void 0!==e.isPropagationStopped)(o)&&o.isPropagationStopped()||t.emit(n,r,o)}),[t]),r=U.useCallback(((e,n)=>(t.on(e,n),()=>{t.removeListener(e,n)})),[t]);Mme(e,{$$publishEvent:n,$$subscribeEvent:r})};jme.params={};const Fme=[jme];const $me=e=>{const t=[...Fme,...e.plugins],n=t.reduce(((e,t)=>t.getDefaultizedParams?t.getDefaultizedParams(e):e),e),r=((e,t)=>{const n=U.useRef({}),[r,o]=U.useState((()=>{const r={};return e.forEach((e=>{e.models&&Object.entries(e.models).forEach((([e,o])=>{n.current[e]={isControlled:void 0!==t[e],getDefaultValue:o.getDefaultValue},r[e]=o.getDefaultValue(t)}))})),r}));return Object.fromEntries(Object.entries(n.current).map((([e,n])=>{const a=t[e]??r[e];return[e,{value:a,setControlledValue:t=>{n.isControlled||o((n=>Id({},n,{[e]:t})))}}]})))})(t,n),o=U.useRef({}).current,a=function(e){const t=U.useRef({});return e?(null==e.current&&(e.current={}),e.current):t.current}(e.apiRef),i=U.useRef(null),s=Lg(i,e.rootRef),[l,u]=U.useState((()=>{const e={};return t.forEach((t=>{t.getInitialState&&Object.assign(e,t.getInitialState(n))})),e})),c=[],d={publicAPI:a,instance:o};t.forEach((e=>{const t=e({instance:o,publicAPI:a,params:n,slots:n.slots,slotProps:n.slotProps,state:l,setState:u,rootRef:i,models:r})||{};t.getRootProps&&c.push(t.getRootProps),t.contextValue&&Object.assign(d,t.contextValue)})),d.runItemPlugins=e=>{let n=null,r=null;return t.forEach((t=>{if(!t.itemPlugin)return;const o=t.itemPlugin({props:e,rootRef:n,contentRef:r});o?.rootRef&&(n=o.rootRef),o?.contentRef&&(r=o.contentRef)})),{contentRef:r,rootRef:n}};const p=t.map((e=>e.wrapItem)).filter((e=>!!e));d.wrapItem=({itemId:e,children:t})=>{let n=t;return p.forEach((t=>{n=t({itemId:e,children:n})})),n};return{getRootProps:(e={})=>{const t=Id({role:"tree"},e,{ref:s});return c.forEach((n=>{Object.assign(t,n(e))})),t},rootRef:s,contextValue:d,instance:o}},Bme=U.createContext(null),zme=["element"];const Ume=U.createContext({});const Hme=()=>{};function Vme(e){const[,t]=U.useState(),{registerDescendant:n=Hme,unregisterDescendant:r=Hme,descendants:o=[],parentId:a=null}=U.useContext(Ume),i=o.findIndex((t=>t.element===e.element)),s=function(e){const t=U.useRef(null);return U.useEffect((()=>{t.current=e}),[e]),t.current}(o),l=o.some(((e,t)=>s&&s[t]&&s[t].element!==e.element));return cg((()=>{if(e.element)return n(Id({},e,{index:i})),()=>{r(e.element)};t({})}),[n,r,i,l,e]),{parentId:a,index:i}}function Gme(e){const{children:t,id:n}=e,[r,o]=U.useState([]),a=U.useCallback((e=>{let{element:t}=e,n=_d(e,zme);o((e=>{if(0===e.length)return[Id({},n,{element:t,index:0})];const r=function(e,t){let n=0,r=e.length-1;for(;n<=r;){const o=Math.floor((n+r)/2);if(e[o].element===t)return o;e[o].element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?r=o-1:n=o+1}return n}(e,t);let o;if(e[r]&&e[r].element===t)o=e;else{const a=Id({},n,{element:t,index:r});o=e.slice(),o.splice(r,0,a)}return o.forEach(((e,t)=>{e.index=t})),o}))}),[]),i=U.useCallback((e=>{o((t=>t.filter((t=>e!==t.element))))}),[]),s=U.useMemo((()=>({descendants:r,registerDescendant:a,unregisterDescendant:i,parentId:n})),[r,a,i,n]);return ee.jsx(Ume.Provider,{value:s,children:t})}function Wme(e){const{value:t,children:n}=e;return ee.jsx(Bme.Provider,{value:t,children:ee.jsx(Gme,{children:n})})}const qme=({instance:e,params:t})=>{const n=Og(t.id),r=U.useCallback(((e,t)=>t??`${n}-${e}`),[n]);return Mme(e,{getTreeItemId:r}),{getRootProps:()=>({id:n})}};qme.params={id:!0};const Kme=(e,t,n)=>{e.$$publishEvent(t,n)},Yme=({items:e,isItemDisabled:t,getItemLabel:n,getItemId:r})=>{const o={},a={},i=(e,s,l)=>{const u=r?r(e):e.id;if(null==u)throw new Error(["MUI X: The Tree View component requires all items to have a unique `id` property.","Alternatively, you can use the `getItemId` prop to specify a custom id for each item.","An item was provided without id in the `items` prop:",JSON.stringify(e)].join("\n"));if(null!=o[u])throw new Error(["MUI X: The Tree View component requires all items to have a unique `id` property.","Alternatively, you can use the `getItemId` prop to specify a custom id for each item.",`Two items were provided with the same id in the \`items\` prop: "${u}"`].join("\n"));const c=n?n(e):e.label;if(null==c)throw new Error(["MUI X: The Tree View component requires all items to have a `label` property.","Alternatively, you can use the `getItemLabel` prop to specify a custom label for each item.","An item was provided without label in the `items` prop:",JSON.stringify(e)].join("\n"));return o[u]={id:u,label:c,index:s,parentId:l,idAttribute:void 0,expandable:!!e.children?.length,disabled:!!t&&t(e)},a[u]=e,{id:u,children:e.children?.map(((e,t)=>i(e,t,u)))}},s=e.map(((e,t)=>i(e,t,null)));return{nodeMap:o,nodeTree:s,itemMap:a}},Xme=({instance:e,publicAPI:t,params:n,state:r,setState:o})=>{const a=U.useCallback((e=>r.items.nodeMap[e]),[r.items.nodeMap]),i=U.useCallback((e=>r.items.itemMap[e]),[r.items.itemMap]),s=U.useCallback((t=>{if(null==t)return!1;let n=e.getNode(t);if(!n)return!1;if(n.disabled)return!0;for(;null!=n.parentId;)if(n=e.getNode(n.parentId),n.disabled)return!0;return!1}),[e]),l=U.useCallback((e=>Object.values(r.items.nodeMap).filter((t=>t.parentId===e)).sort(((e,t)=>e.index-t.index)).map((e=>e.id))),[r.items.nodeMap]),u=U.useRef(!1),c=U.useCallback((()=>{u.current=!0}),[]),d=U.useCallback((()=>u.current),[]);U.useEffect((()=>{e.areItemUpdatesPrevented()||o((t=>{const r=Yme({items:n.items,isItemDisabled:n.isItemDisabled,getItemId:n.getItemId,getItemLabel:n.getItemLabel});return Object.values(t.items.nodeMap).forEach((t=>{r.nodeMap[t.id]||Kme(e,"removeItem",{id:t.id})})),Id({},t,{items:r})}))}),[e,o,n.items,n.isItemDisabled,n.getItemId,n.getItemLabel]);return Mme(e,{getNode:a,getItem:i,getItemsToRender:()=>{const e=({id:t,children:n})=>{const o=r.items.nodeMap[t];return{label:o.label,itemId:o.id,id:o.idAttribute,children:n?.map(e)}};return r.items.nodeTree.map(e)},getChildrenIds:l,getNavigableChildrenIds:t=>{let r=e.getChildrenIds(t);return n.disabledItemsFocusable||(r=r.filter((t=>!e.isItemDisabled(t)))),r},isItemDisabled:s,preventItemUpdates:c,areItemUpdatesPrevented:d}),Dme(t,{getItem:i}),{contextValue:{disabledItemsFocusable:n.disabledItemsFocusable}}};Xme.getInitialState=e=>({items:Yme({items:e.items,isItemDisabled:e.isItemDisabled,getItemId:e.getItemId,getItemLabel:e.getItemLabel})}),Xme.getDefaultizedParams=e=>Id({},e,{disabledItemsFocusable:e.disabledItemsFocusable??!1}),Xme.params={disabledItemsFocusable:!0,items:!0,isItemDisabled:!0,getItemLabel:!0,getItemId:!0};const Zme=({instance:e,publicAPI:t,params:n,models:r})=>{const o=U.useMemo((()=>{const e=new Map;return r.expandedItems.value.forEach((t=>{e.set(t,!0)})),e}),[r.expandedItems.value]),a=(e,t)=>{n.onExpandedItemsChange?.(e,t),r.expandedItems.setControlledValue(t)},i=U.useCallback((e=>o.has(e)),[o]),s=U.useCallback((t=>!!e.getNode(t)?.expandable),[e]),l=Pg(((t,n)=>{const r=e.isItemExpanded(n);e.setItemExpansion(t,n,!r)})),u=Pg(((t,o,i)=>{if(e.isItemExpanded(o)===i)return;let s;s=i?[o].concat(r.expandedItems.value):r.expandedItems.value.filter((e=>e!==o)),n.onItemExpansionToggle&&n.onItemExpansionToggle(t,o,i),a(t,s)}));Mme(e,{isItemExpanded:i,isItemExpandable:s,setItemExpansion:u,toggleItemExpansion:l,expandAllSiblings:(t,o)=>{const i=e.getNode(o),s=e.getChildrenIds(i.parentId).filter((t=>e.isItemExpandable(t)&&!e.isItemExpanded(t))),l=r.expandedItems.value.concat(s);s.length>0&&(n.onItemExpansionToggle&&s.forEach((e=>{n.onItemExpansionToggle(t,e,!0)})),a(t,l))}}),Dme(t,{setItemExpansion:u})};Zme.models={expandedItems:{getDefaultValue:e=>e.defaultExpandedItems}};const Qme=[];Zme.getDefaultizedParams=e=>Id({},e,{defaultExpandedItems:e.defaultExpandedItems??Qme}),Zme.params={expandedItems:!0,defaultExpandedItems:!0,onExpandedItemsChange:!0,onItemExpansionToggle:!0};const Jme=({instance:e,params:t,models:n})=>{const r=U.useRef(null),o=U.useRef(!1),a=U.useRef([]),i=(r,o)=>{if(t.onItemSelectionToggle)if(t.multiSelect){const a=o.filter((t=>!e.isItemSelected(t))),i=n.selectedItems.value.filter((e=>!o.includes(e)));a.forEach((e=>{t.onItemSelectionToggle(r,e,!0)})),i.forEach((e=>{t.onItemSelectionToggle(r,e,!1)}))}else o!==n.selectedItems.value&&(null!=n.selectedItems.value&&t.onItemSelectionToggle(r,n.selectedItems.value,!1),null!=o&&t.onItemSelectionToggle(r,o,!0));t.onSelectedItemsChange&&t.onSelectedItemsChange(r,o),n.selectedItems.setControlledValue(o)},s=(t,r)=>{let s=n.selectedItems.value.slice();const{start:l,end:u}=r;o.current&&(s=s.filter((e=>-1===a.current.indexOf(e))));let c=((t,n)=>{const[r,o]=((e,t,n)=>{if(t===n)return[t,n];const r=e.getNode(t),o=e.getNode(n);if(r.parentId===o.id||o.parentId===r.id)return o.parentId===r.id?[r.id,o.id]:[o.id,r.id];const a=[r.id],i=[o.id];let s=r.parentId,l=o.parentId,u=-1!==i.indexOf(s),c=-1!==a.indexOf(l),d=!0,p=!0;for(;!c&&!u;)d&&(a.push(s),u=-1!==i.indexOf(s),d=null!==s,!u&&d&&(s=e.getNode(s).parentId)),p&&!u&&(i.push(l),c=-1!==a.indexOf(l),p=null!==l,!c&&p&&(l=e.getNode(l).parentId));const f=u?s:l,m=e.getChildrenIds(f),h=a[a.indexOf(f)-1],g=i[i.indexOf(f)-1];return m.indexOf(h)!e.isItemDisabled(t))),a.current=c;let d=s.concat(c);d=d.filter(((e,t)=>d.indexOf(e)===t)),i(t,d)};return Mme(e,{isItemSelected:e=>Array.isArray(n.selectedItems.value)?-1!==n.selectedItems.value.indexOf(e):n.selectedItems.value===e,selectItem:(e,s,l=!1)=>{if(!t.disableSelection){if(l){if(Array.isArray(n.selectedItems.value)){let t;t=-1!==n.selectedItems.value.indexOf(s)?n.selectedItems.value.filter((e=>e!==s)):[s].concat(n.selectedItems.value),i(e,t)}}else{const n=t.multiSelect?[s]:s;i(e,n)}r.current=s,o.current=!1,a.current=[]}},selectRange:(e,l,u=!1)=>{if(t.disableSelection)return;const{start:c=r.current,end:d,current:p}=l;u?((e,t)=>{let r=n.selectedItems.value.slice();const{start:s,next:l,current:u}=t;l&&u&&(-1===a.current.indexOf(u)&&(a.current=[]),o.current?-1!==a.current.indexOf(l)?(r=r.filter((e=>e===s||e!==u)),a.current=a.current.filter((e=>e===s||e!==u))):(r.push(l),a.current.push(l)):(r.push(l),a.current.push(u,l)),i(e,r))})(e,{start:c,next:d,current:p}):null!=c&&null!=d&&s(e,{start:c,end:d}),o.current=!0},rangeSelectToLast:(t,n)=>{r.current||(r.current=n);const a=o.current?r.current:n;e.selectRange(t,{start:a,end:Pme(e)})},rangeSelectToFirst:(t,n)=>{r.current||(r.current=n);const a=o.current?r.current:n;e.selectRange(t,{start:a,end:Lme(e)})}}),{getRootProps:()=>({"aria-multiselectable":t.multiSelect}),contextValue:{selection:{multiSelect:t.multiSelect}}}};Jme.models={selectedItems:{getDefaultValue:e=>e.defaultSelectedItems}};const ehe=[];Jme.getDefaultizedParams=e=>Id({},e,{disableSelection:e.disableSelection??!1,multiSelect:e.multiSelect??!1,defaultSelectedItems:e.defaultSelectedItems??(e.multiSelect?ehe:null)}),Jme.params={disableSelection:!0,multiSelect:!0,defaultSelectedItems:!0,selectedItems:!0,onSelectedItemsChange:!0,onItemSelectionToggle:!0};class the{constructor(e=1e3){this.timeouts=new Map,this.cleanupTimeout=1e3,this.cleanupTimeout=e}register(e,t,n){this.timeouts||(this.timeouts=new Map);const r=setTimeout((()=>{"function"==typeof t&&t(),this.timeouts.delete(n.cleanupToken)}),this.cleanupTimeout);this.timeouts.set(n.cleanupToken,r)}unregister(e){const t=this.timeouts.get(e.cleanupToken);t&&(this.timeouts.delete(e.cleanupToken),clearTimeout(t))}reset(){this.timeouts&&(this.timeouts.forEach(((e,t)=>{this.unregister({cleanupToken:t})})),this.timeouts=void 0)}}class nhe{constructor(){this.registry=new FinalizationRegistry((e=>{"function"==typeof e&&e()}))}register(e,t,n){this.registry.register(e,t,n)}unregister(e){this.registry.unregister(e)}reset(){}}class rhe{}const ohe=function(e){let t=0;return function(n,r,o){null===e.registry&&(e.registry="undefined"!=typeof FinalizationRegistry?new nhe:new the);const[a]=U.useState(new rhe),i=U.useRef(null),s=U.useRef();s.current=o;const l=U.useRef(null);if(!i.current&&s.current){const o=(e,t)=>{t.defaultMuiPrevented||s.current?.(e,t)};i.current=n.$$subscribeEvent(r,o),t+=1,l.current={cleanupToken:t},e.registry.register(a,(()=>{i.current?.(),i.current=null,l.current=null}),l.current)}else!s.current&&i.current&&(i.current(),i.current=null,l.current&&(e.registry.unregister(l.current),l.current=null));U.useEffect((()=>{if(!i.current&&s.current){const e=(e,t)=>{t.defaultMuiPrevented||s.current?.(e,t)};i.current=n.$$subscribeEvent(r,e)}return l.current&&e.registry&&(e.registry.unregister(l.current),l.current=null),()=>{i.current?.(),i.current=null}}),[n,r])}}({registry:null}),ahe=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?ahe(t.shadowRoot):t:null},ihe=({instance:e,publicAPI:t,params:n,state:r,setState:o,models:a,rootRef:i})=>{const s=((e,t)=>{const n=t=>{const n=e.getNode(t);return n&&(null==n.parentId||e.isItemExpanded(n.parentId))};let r;return Array.isArray(t)?r=t.find(n):null!=t&&n(t)&&(r=t),null==r&&(r=e.getNavigableChildrenIds(null)[0]),r})(e,a.selectedItems.value),l=Pg((e=>{const t="function"==typeof e?e(r.focusedItemId):e;r.focusedItemId!==t&&o((e=>Id({},e,{focusedItemId:t})))})),u=U.useCallback((()=>!!i.current&&i.current.contains(ahe(Rg(i.current)))),[i]),c=U.useCallback((e=>r.focusedItemId===e&&u()),[r.focusedItemId,u]),d=t=>{const n=e.getNode(t);return n&&(null==n.parentId||e.isItemExpanded(n.parentId))},p=(t,r)=>{const o=e.getNode(r),a=document.getElementById(e.getTreeItemId(r,o.idAttribute));a&&a.focus(),l(r),n.onItemFocus&&n.onItemFocus(t,r)},f=Pg(((e,t)=>{d(t)&&p(e,t)})),m=Pg((t=>{let n;Array.isArray(a.selectedItems.value)?n=a.selectedItems.value.find(d):null!=a.selectedItems.value&&d(a.selectedItems.value)&&(n=a.selectedItems.value),null==n&&(n=e.getNavigableChildrenIds(null)[0]),p(t,n)})),h=Pg((()=>{if(null==r.focusedItemId)return;const t=e.getNode(r.focusedItemId);if(t){const n=document.getElementById(e.getTreeItemId(r.focusedItemId,t.idAttribute));n&&n.blur()}l(null)}));Mme(e,{isItemFocused:c,canItemBeTabbed:e=>e===s,focusItem:f,focusDefaultItem:m,removeFocusedItem:h}),Dme(t,{focusItem:f}),ohe(e,"removeItem",(({id:t})=>{r.focusedItemId===t&&e.focusDefaultItem(null)}));const g=t=>n=>{t.onFocus?.(n),n.target===n.currentTarget&&e.focusDefaultItem(n)},b=e.getNode(r.focusedItemId),v=b?e.getTreeItemId(b.id,b.idAttribute):null;return{getRootProps:e=>({onFocus:g(e),"aria-activedescendant":v??void 0})}};function she(e,t,n){for(let r=t;r({focusedItemId:null}),ihe.params={onItemFocus:!0};const lhe=({instance:e,params:t,state:n})=>{const r="rtl"===hv().direction,o=U.useRef({}),a=Pg((e=>{o.current=e(o.current)}));U.useEffect((()=>{if(e.areItemUpdatesPrevented())return;const t={};Object.values(n.items.nodeMap).forEach((e=>{t[e.id]=e.label.substring(0,1).toLowerCase()})),o.current=t}),[n.items.nodeMap,t.getItemId,e]);const i=n=>!t.disableSelection&&!e.isItemDisabled(n),s=t=>!e.isItemDisabled(t)&&e.isItemExpandable(t);Mme(e,{updateFirstCharMap:a,handleItemKeyDown:(n,a)=>{if(n.defaultMuiPrevented)return;if(n.altKey||n.currentTarget!==n.target)return;const l=n.ctrlKey||n.metaKey,u=n.key;switch(!0){case" "===u&&i(a):n.preventDefault(),t.multiSelect&&n.shiftKey?e.selectRange(n,{end:a}):t.multiSelect?e.selectItem(n,a,!0):e.selectItem(n,a);break;case"Enter"===u:s(a)?(e.toggleItemExpansion(n,a),n.preventDefault()):i(a)&&(t.multiSelect?(n.preventDefault(),e.selectItem(n,a,!0)):e.isItemSelected(a)||(e.selectItem(n,a),n.preventDefault()));break;case"ArrowDown"===u:{const r=Nme(e,a);r&&(n.preventDefault(),e.focusItem(n,r),t.multiSelect&&n.shiftKey&&i(r)&&e.selectRange(n,{end:r,current:a},!0));break}case"ArrowUp"===u:{const r=((e,t)=>{const n=e.getNode(t),r=e.getNavigableChildrenIds(n.parentId),o=r.indexOf(t);if(0===o)return n.parentId;let a=r[o-1];for(;e.isItemExpanded(a)&&e.getNavigableChildrenIds(a).length>0;)a=e.getNavigableChildrenIds(a).pop();return a})(e,a);r&&(n.preventDefault(),e.focusItem(n,r),t.multiSelect&&n.shiftKey&&i(r)&&e.selectRange(n,{end:r,current:a},!0));break}case"ArrowRight"===u&&!r||"ArrowLeft"===u&&r:if(e.isItemExpanded(a)){const t=Nme(e,a);t&&(e.focusItem(n,t),n.preventDefault())}else s(a)&&(e.toggleItemExpansion(n,a),n.preventDefault());break;case"ArrowLeft"===u&&!r||"ArrowRight"===u&&r:if(s(a)&&e.isItemExpanded(a))e.toggleItemExpansion(n,a),n.preventDefault();else{const t=e.getNode(a).parentId;t&&(e.focusItem(n,t),n.preventDefault())}break;case"Home"===u:e.focusItem(n,Lme(e)),i(a)&&t.multiSelect&&l&&n.shiftKey&&e.rangeSelectToFirst(n,a),n.preventDefault();break;case"End"===u:e.focusItem(n,Pme(e)),i(a)&&t.multiSelect&&l&&n.shiftKey&&e.rangeSelectToLast(n,a),n.preventDefault();break;case"*"===u:e.expandAllSiblings(n,a),n.preventDefault();break;case"a"===u&&l&&t.multiSelect&&!t.disableSelection:e.selectRange(n,{start:Lme(e),end:Pme(e)}),n.preventDefault();break;case!l&&!n.shiftKey&&function(e){return!!e&&1===e.length&&!!e.match(/\S/)}(u):{const r=((n,r)=>{let a,i;const s=r.toLowerCase(),l=[],u=[];return Object.keys(o.current).forEach((n=>{const r=e.getNode(n),a=!r.parentId||e.isItemExpanded(r.parentId),i=!t.disabledItemsFocusable&&e.isItemDisabled(n);a&&!i&&(l.push(n),u.push(o.current[n]))})),a=l.indexOf(n)+1,a>=l.length&&(a=0),i=she(u,a,s),-1===i&&(i=she(u,0,s)),i>-1?l[i]:null})(a,u);null!=r&&(e.focusItem(n,r),n.preventDefault());break}}}})};lhe.params={};const uhe=({slots:e,slotProps:t})=>({contextValue:{icons:{slots:{collapseIcon:e.collapseIcon,expandIcon:e.expandIcon,endIcon:e.endIcon},slotProps:{collapseIcon:t.collapseIcon,expandIcon:t.expandIcon,endIcon:t.endIcon}}}});uhe.params={};const che=[qme,Xme,Zme,Jme,ihe,lhe,uhe],dhe=()=>{const e=U.useContext(Bme);if(null==e)throw new Error(["MUI X: Could not find the Tree View context.","It looks like you rendered your component outside of a SimpleTreeView or RichTreeView parent component.","This can also happen if you are bundling multiple versions of the Tree View."].join("\n"));return e},phe=({instance:e,setState:t})=>{e.preventItemUpdates();const n=Pg((e=>{t((t=>{if(null!=t.items.nodeMap[e.id])throw new Error(["MUI X: The Tree View component requires all items to have a unique `id` property.","Alternatively, you can use the `getItemId` prop to specify a custom id for each item.",`Two items were provided with the same id in the \`items\` prop: "${e.id}"`].join("\n"));return Id({},t,{items:Id({},t.items,{nodeMap:Id({},t.items.nodeMap,{[e.id]:e}),itemMap:Id({},t.items.itemMap,{[e.id]:{id:e.id,label:e.label}})})})}))})),r=Pg((n=>{t((e=>{const t=Id({},e.items.nodeMap),r=Id({},e.items.itemMap);return delete t[n],delete r[n],Id({},e,{items:Id({},e.items,{nodeMap:t,itemMap:r})})})),Kme(e,"removeItem",{id:n})})),o=Pg(((t,n)=>(e.updateFirstCharMap((e=>(e[t]=n,e))),()=>{e.updateFirstCharMap((e=>{const n=Id({},e);return delete n[t],n}))})));Mme(e,{insertJSXItem:n,removeJSXItem:r,mapFirstCharFromJSX:o})};phe.itemPlugin=({props:e,rootRef:t,contentRef:n})=>{const{children:r,disabled:o=!1,label:a,itemId:i,id:s}=e,{instance:l}=dhe(),u=e=>Array.isArray(e)?e.length>0&&e.some(u):Boolean(e),c=u(r),[d,p]=U.useState(null),f=U.useRef(null),m=Lg(p,t),h=Lg(f,n),g=U.useMemo((()=>({element:d,id:i})),[i,d]),{index:b,parentId:v}=Vme(g);return U.useEffect((()=>{if(-1!==b)return l.insertJSXItem({id:i,idAttribute:s,index:b,parentId:v,expandable:c,disabled:o}),()=>l.removeJSXItem(i)}),[l,v,b,i,c,o,s]),U.useEffect((()=>{if(a)return l.mapFirstCharFromJSX(i,(f.current?.textContent??"").substring(0,1).toLowerCase())}),[l,i,a]),{contentRef:h,rootRef:m}},phe.wrapItem=({children:e,itemId:t})=>ee.jsx(Gme,{id:t,children:e}),phe.params={};const fhe=[...che,phe],mhe=["slots","slotProps","apiRef"],hhe=Wv("ul",{name:"MuiSimpleTreeView",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,margin:0,listStyle:"none",outline:0,position:"relative"}),ghe=[];((e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e})(["MUI X: The `SimpleTreeView` component does not support the `items` prop.","If you want to add items, you need to pass them as JSX children.","Check the documentation for more details: https://mui.com/x/react-tree-view/simple-tree-view/items/"]);const bhe=U.forwardRef((function(e,t){const n=gv({props:e,name:"MuiSimpleTreeView"}),r=n,{pluginParams:o,slots:a,slotProps:i,otherProps:s}=(e=>{let{props:{slots:t,slotProps:n,apiRef:r},plugins:o,rootRef:a}=e,i=_d(e.props,mhe);const s={};o.forEach((e=>{Object.assign(s,e.params)}));const l={plugins:o,rootRef:a,slots:t??{},slotProps:n??{},apiRef:r},u={};return Object.keys(i).forEach((e=>{const t=i[e];s[e]?l[e]=t:u[e]=t})),{pluginParams:l,slots:t,slotProps:n,otherProps:u}})({props:Id({},n,{items:ghe}),plugins:fhe,rootRef:t}),{getRootProps:l,contextValue:u}=$me(o),c=(e=>{const{classes:t}=e;return eb({root:["root"]},Ame,t)})(n),d=a?.root??hhe,p=Gy({elementType:d,externalSlotProps:i?.root,externalForwardedProps:s,className:c.root,getSlotProps:l,ownerState:r});return ee.jsx(Wme,{value:u,children:ee.jsx(d,Id({},p))})}));const vhe=["classes","className","displayIcon","expansionIcon","icon","label","itemId","onClick","onMouseDown"],yhe=U.forwardRef((function(e,t){const{classes:n,className:r,displayIcon:o,expansionIcon:a,icon:i,label:s,itemId:l,onClick:u,onMouseDown:c}=e,d=_d(e,vhe),{disabled:p,expanded:f,selected:m,focused:h,handleExpansion:g,handleSelection:b,preventSelection:v}=function(e){const{instance:t,selection:{multiSelect:n}}=dhe(),r=t.isItemExpandable(e),o=t.isItemExpanded(e),a=t.isItemFocused(e),i=t.isItemSelected(e),s=t.isItemDisabled(e);return{disabled:s,expanded:o,selected:i,focused:a,handleExpansion:o=>{if(!s){a||t.focusItem(o,e);const i=n&&(o.shiftKey||o.ctrlKey||o.metaKey);!r||i&&t.isItemExpanded(e)||t.toggleItemExpansion(o,e)}},handleSelection:r=>{s||(a||t.focusItem(r,e),n&&(r.shiftKey||r.ctrlKey||r.metaKey)?r.shiftKey?t.selectRange(r,{end:e}):t.selectItem(r,e,!0):t.selectItem(r,e))},preventSelection:e=>{(e.shiftKey||e.ctrlKey||e.metaKey||s)&&e.preventDefault()}}}(l),y=i||a||o;return ee.jsxs("div",Id({},d,{className:wh(r,n.root,f&&n.expanded,m&&n.selected,h&&n.focused,p&&n.disabled),onClick:e=>{g(e),b(e),u&&u(e)},onMouseDown:e=>{v(e),c&&c(e)},ref:t,children:[ee.jsx("div",{className:n.iconContainer,children:y}),ee.jsx("div",{className:n.label,children:s})]}))}));function whe(e){return Ch("MuiTreeItem",e)}const She=kh("MuiTreeItem",["root","groupTransition","content","expanded","selected","focused","disabled","iconContainer","label"]),xhe=ey(ee.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"TreeViewExpandIcon"),Ehe=ey(ee.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"TreeViewCollapseIcon");function Che(e){const{children:t,itemId:n}=e,{wrapItem:r}=dhe();return r({children:t,itemId:n})}Che.propTypes={children:Hf.node,itemId:Hf.string.isRequired};const khe=["children","className","slots","slotProps","ContentComponent","ContentProps","itemId","id","label","onClick","onMouseDown","onFocus","onBlur","onKeyDown"],Rhe=["ownerState"],The=["ownerState"],Ihe=["ownerState"],_he=Wv("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),Ahe=Wv(yhe,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${She.iconContainer}`]:t.iconContainer},t.label&&{[`& .${She.label}`]:t.label}]})((({theme:e})=>({padding:e.spacing(.5,1),borderRadius:e.shape.borderRadius,width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",gap:e.spacing(1),cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${She.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${She.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${She.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wg(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:wg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:wg(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${She.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:wg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${She.iconContainer}`]:{width:16,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${She.label}`]:Id({width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)}))),Ohe=Wv(Ay,{name:"MuiTreeItem",slot:"GroupTransition",overridesResolver:(e,t)=>t.groupTransition})({margin:0,padding:0,paddingLeft:12}),Nhe=U.forwardRef((function(e,t){const{icons:n,runItemPlugins:r,selection:{multiSelect:o},disabledItemsFocusable:a,instance:i}=dhe(),s=gv({props:e,name:"MuiTreeItem"}),{children:l,className:u,slots:c,slotProps:d,ContentComponent:p=yhe,ContentProps:f,itemId:m,id:h,label:g,onClick:b,onMouseDown:v,onBlur:y,onKeyDown:w}=s,S=_d(s,khe),{contentRef:x,rootRef:E}=r(s),C=Lg(t,E),k=Lg(f?.ref,x),R={expandIcon:c?.expandIcon??n.slots.expandIcon??xhe,collapseIcon:c?.collapseIcon??n.slots.collapseIcon??Ehe,endIcon:c?.endIcon??n.slots.endIcon,icon:c?.icon,groupTransition:c?.groupTransition},T=e=>Array.isArray(e)?e.length>0&&e.some(T):Boolean(e),I=T(l),_=i.isItemExpanded(m),A=i.isItemFocused(m),O=i.isItemSelected(m),N=i.isItemDisabled(m),P=Id({},s,{expanded:_,focused:A,selected:O,disabled:N}),L=(e=>{const{classes:t}=e;return eb({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],groupTransition:["groupTransition"]},whe,t)})(P),M=R.groupTransition??void 0,D=Gy({elementType:M,ownerState:{},externalSlotProps:d?.groupTransition,additionalProps:{unmountOnExit:!0,in:_,component:"ul",role:"group"},className:L.groupTransition}),j=_?R.collapseIcon:R.expandIcon,F=_d(Gy({elementType:j,ownerState:{},externalSlotProps:e=>_?Id({},zy(n.slotProps.collapseIcon,e),zy(d?.collapseIcon,e)):Id({},zy(n.slotProps.expandIcon,e),zy(d?.expandIcon,e))}),Rhe),$=I&&j?ee.jsx(j,Id({},F)):null,B=I?void 0:R.endIcon,z=_d(Gy({elementType:B,ownerState:{},externalSlotProps:e=>I?{}:Id({},zy(n.slotProps.endIcon,e),zy(d?.endIcon,e))}),The),U=B?ee.jsx(B,Id({},z)):null,H=R.icon,V=_d(Gy({elementType:H,ownerState:{},externalSlotProps:d?.icon}),Ihe),G=H?ee.jsx(H,Id({},V)):null;let W;o?W=O:O&&(W=!0);const q=i.getTreeItemId(m,h),K=i.canItemBeTabbed(m)?0:-1;return ee.jsx(Che,{itemId:m,children:ee.jsxs(_he,Id({className:wh(L.root,u),role:"treeitem","aria-expanded":I?_:void 0,"aria-selected":W,"aria-disabled":N||void 0,id:q,tabIndex:K},S,{ownerState:P,onFocus:function(e){!A&&(!N||a)&&e.currentTarget===e.target&&i.focusItem(e,m)},onBlur:function(e){y?.(e),i.removeFocusedItem()},onKeyDown:e=>{w?.(e),i.handleItemKeyDown(e,m)},ref:C,children:[ee.jsx(Ahe,Id({as:p,classes:{root:L.content,expanded:L.expanded,selected:L.selected,focused:L.focused,disabled:L.disabled,iconContainer:L.iconContainer,label:L.label},label:g,itemId:m,onClick:b,onMouseDown:v,icon:G,expansionIcon:$,displayIcon:U,ownerState:P},f,{ref:k})),l&&ee.jsx(Ohe,Id({as:M},D,{children:l}))]}))})}));function Phe(e){switch(e){case"php":return nU;case"html":return Yz;case"http":return Xz;case"pdf":return rU;case"yaml":case"yml":case"toml":case"ini":case"json":case"xml":return Bz;case"bash":case"sh":case"shell":case"bat":return pU;case"jpg":case"jpeg":case"png":case"webp":case"heic":case"ico":case"icon":case"svg":return Zz;case"js":case"jsx":case"ts":case"tsx":return Jz;case"css":case"scss":case"sass":case"less":return $z;case"txt":case"htaccess":case"md":return fU}return null}function Lhe(e){if("dir"==e.type)return Gz;if("link"==e.type)return eU;const t=Phe(e.extension);if(t)return t;if((e.baseName.match(/\./g)?.length||0)>1){const t=e.baseName.split(".").at(-2);if(t){const e=Phe(t);if(e)return e}}return Vz}const Mhe=Wv(Nhe)((({theme:e})=>({color:e.palette.text.secondary,[`& .${She.iconContainer}`]:{width:"0 !important"},[`& .${She.content}`]:{color:e.palette.text.secondary,padding:e.spacing(0,1,0,0),fontWeight:e.typography.fontWeightMedium,"&.Mui-expanded":{fontWeight:e.typography.fontWeightRegular},"&:hover":{backgroundColor:e.palette.action.hover},"&.Mui-focused, &.Mui-selected, &.Mui-selected.Mui-focused":{backgroundColor:`var(--tree-view-bg-color, ${e.palette.action.selected})`,color:"var(--tree-view-color)"},[`& .${She.label}`]:{fontWeight:"inherit",color:"inherit"}}}))),Dhe=e=>{const{fileIcon:t,fileSize:n,fileName:r,...o}=e;return te.jsx(Mhe,{label:te.jsxs(ik,{sx:{display:"flex",alignItems:"center",py:.5},children:[te.jsx(ik,{component:t,color:"inherit",sx:{mr:1}}),te.jsx(uS,{variant:"body2",sx:{fontWeight:"inherit",flexGrow:1},children:r}),te.jsx(uS,{variant:"caption",color:"inherit",sx:{whiteSpace:"nowrap"},children:n})]}),...o})},jhe=U.memo((({row:e})=>{const t=U.useMemo((()=>Ime(e.size)),[e]);return te.jsx(Dhe,{itemId:e.path,fileName:e.baseName,fileIcon:Lhe(e),fileSize:t})})),Fhe=e=>{const{onSelect:t,tree:n}=e;return te.jsx(bhe,{multiSelect:!1,sx:{py:2},onItemSelectionToggle:(e,n)=>t(n),children:n.map(((e,t)=>te.jsx(jhe,{row:e},t)))})},$he=({path:e,onClick:t})=>{const n=e.split("/").filter((e=>!!e.length)),r=[];return te.jsx("h2",{children:te.jsxs(yk,{children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"#",onClick:e=>(t("/"),!1),children:"@root"}),n.map(((e,o)=>o===n.length-1?te.jsx(uS,{color:"text.primary",children:e},o):(r.push(e),te.jsx(l_,{underline:"hover",color:"inherit",href:"#",onClick:e=>(t("/"+r.join("/")),!1),children:e},o))))]})})};const Bhe=()=>{const[e,t]=b$(),n=e.get("path")||"/",r=e.get("class")||"",o=e.get("method")||"",[a,i]=RV(),[s,l]=TV(),[u,c]=U.useState([]),[d,p]=U.useState(null);U.useEffect((()=>{(async()=>{const e=""!==r?await s({className:r,methodName:o}):await a(Xle(n));if(Array.isArray(e.data)){const t=function(e){return e.slice().sort(((e,t)=>e.path.endsWith("/")&&!t.path.endsWith("/")?t.path.endsWith("/..")?1:-1:t.path.endsWith("/")&&!e.path.endsWith("/")?e.path.endsWith("/..")?-1:1:e.path.localeCompare(t.path)))}(e.data);c(t)}else p(e.data)})()}),[n,r]),U.useLayoutEffect((()=>{if(d){if(d.startLine)return void _me(25,`L${d.startLine}`);const e=Jle(window.location.hash);_me(25,e&&`L${e[0]}`)}}));const f=e=>{t({path:e})};return te.jsxs(te.Fragment,{children:[d&&te.jsxs(te.Fragment,{children:[te.jsxs("h2",{children:[te.jsxs(Ak,{onClick:()=>{p(null),f(d.directory)},children:[te.jsx(mU,{})," Back"]}),d.path]}),te.jsx(Bae,{language:d.extension,code:d.content,highlightLines:Jle(window.location.hash)}),te.jsxs(ik,{children:[te.jsxs(uS,{children:["Directory: @root",d.directory]}),te.jsxs(uS,{children:["Permissions: ",d.permissions]}),te.jsxs(uS,{children:["Owner: ",d.user?.name??d.user.uid,":",d.group?.name??d.group.gid]}),te.jsxs(uS,{children:["Size: ",Ime(d.size)]})]})]}),!d&&te.jsxs(te.Fragment,{children:[te.jsx($he,{path:n,onClick:f}),te.jsx(Fhe,{tree:u,onSelect:f})]}),l.error&&"status"in l.error&&404===l.error.status&&te.jsx(uS,{children:"File not found"})]})},zhe=()=>{const e=pG(),[t,n]=fG(),r=U.useContext(Ufe);U.useEffect((()=>{r.setItems([{title:"Log",href:"/inspector/git/log"}])}),[]);const o=U.useCallback((()=>t({command:"pull"})),[]),a=U.useCallback((()=>t({command:"fetch"})),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Git log"}),e.isSuccess&&te.jsx(te.Fragment,{children:te.jsxs(ik,{children:[te.jsxs(ik,{display:"flex",children:[te.jsx(Ak,{variant:"outlined",onClick:()=>e.refetch(),color:e.isSuccess?"primary":"error",disabled:e.isFetching,startIcon:te.jsx(oU,{}),endIcon:e.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"}),te.jsx(Ak,{variant:"outlined",sx:{marginLeft:"auto"},onClick:o,color:n.isSuccess||n.isUninitialized?"primary":"error",disabled:n.isLoading,startIcon:te.jsx(Wz,{}),endIcon:n.isLoading&&"pull"===n.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Pull"}),te.jsx(Ak,{variant:"outlined",onClick:a,color:n.isSuccess||n.isUninitialized?"primary":"error",disabled:n.isLoading,startIcon:te.jsx(dU,{}),endIcon:n.isLoading&&"fetch"===n.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Fetch"})]}),te.jsxs(f_,{children:[te.jsx(A_,{children:te.jsx(V_,{primary:"Branch",secondary:e.data.currentBranch})}),te.jsx(iT,{children:"History"}),e.data.commits.map(((e,t)=>te.jsx(A_,{children:te.jsx(V_,{primary:te.jsxs(te.Fragment,{children:[te.jsxs(uS,{sx:{display:"inline"},component:"span",variant:"body2",color:"text.primary",children:[e.sha,": "]}),e.message]}),secondary:`by ${e.author.name} (${e.author.email})`})},t)))]})]})})]})},Uhe=({open:e,currentBranch:t,branches:n,onCancel:r,onCheckout:o,...a})=>{const[i,s]=U.useState(t);return te.jsxs(DR,{fullWidth:!0,open:e,onClose:r,...a,children:[te.jsx(JR,{children:"Checkout"}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Select a branch to checkout"}),te.jsx(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",m:"auto"},children:te.jsxs(MT,{sx:{mt:2,flexGrow:.9},children:[te.jsx(MI,{htmlFor:"max-width",children:"Branch"}),te.jsx(sO,{autoFocus:!0,fullWidth:!0,value:i,onChange:e=>{s(e.target.value)},label:"Branch",children:n.map(((e,t)=>te.jsx(xA,{value:e,children:e},t)))})]})})]}),te.jsxs(BR,{children:[te.jsx(Ak,{variant:"outlined",color:"error",onClick:r,children:"Cancel"}),te.jsx(Ak,{variant:"contained",color:"primary",onClick:()=>{o({branch:i})},children:"Checkout"})]})]})},Hhe=()=>{const e=U.useContext(Ufe),t=dG(),[n,r]=mG(),[o,a]=fG();U.useEffect((()=>{e.setItems([])}),[]);const[i,s]=U.useState(!1),l=U.useCallback((async({branch:e})=>{await n({branch:e}),s(!1)}),[]),u=U.useCallback((()=>o({command:"pull"})),[]),c=U.useCallback((()=>o({command:"fetch"})),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Git"}),t.isSuccess&&te.jsxs(te.Fragment,{children:[te.jsxs(ik,{children:[te.jsxs(ik,{display:"flex",children:[te.jsx(Ak,{variant:"outlined",onClick:()=>t.refetch(),color:t.isSuccess?"primary":"error",disabled:t.isFetching,startIcon:te.jsx(oU,{}),endIcon:t.isFetching?te.jsx(hR,{size:24,color:"info"}):null,children:"Refresh"}),te.jsx(Ak,{variant:"outlined",sx:{marginLeft:"auto"},onClick:u,color:a.isSuccess||a.isUninitialized?"primary":"error",disabled:a.isLoading,startIcon:te.jsx(Wz,{}),endIcon:a.isLoading&&"pull"===a.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Pull"}),te.jsx(Ak,{variant:"outlined",onClick:c,color:a.isSuccess||a.isUninitialized?"primary":"error",disabled:a.isLoading,startIcon:te.jsx(dU,{}),endIcon:a.isLoading&&"fetch"===a.originalArgs?.command?te.jsx(hR,{size:24,color:"info"}):null,children:"Fetch"})]}),te.jsxs(f_,{children:[te.jsxs(A_,{children:[te.jsx(V_,{primary:"Branch",secondary:t.data.currentBranch}),te.jsx(k_,{children:te.jsx(Ak,{onClick:()=>s(!0),color:"primary",children:"Checkout"})})]}),te.jsxs(A_,{children:[te.jsx(V_,{primary:"Last commit: "+t.data.lastCommit.sha,secondary:te.jsxs(te.Fragment,{children:[t.data.lastCommit.message," ",te.jsxs(uS,{sx:{display:"inline"},component:"span",variant:"body2",color:"text.primary",children:["by ",t.data.lastCommit.author.name," (",t.data.lastCommit.author.email,")"]})]})}),te.jsx(k_,{children:te.jsx(Ak,{color:"primary",href:"/inspector/git/log",children:"Show log"})})]}),t.data.remotes.length>0&&t.data.remotes.map(((e,t)=>te.jsx(A_,{children:te.jsx(V_,{primary:"Remote: "+e.name,secondary:e.url})},t)))]}),te.jsx(iT,{children:"Status"}),te.jsx(Bae,{showLineNumbers:!1,language:"plain/text",code:t.data.status.join("\n")})]}),te.jsx(Uhe,{open:i,onCancel:()=>s(!1),onCheckout:l,branches:t.data.branches,currentBranch:t.data.currentBranch})]})]})},Vhe=()=>{const e=DV(),t=U.useRef();return U.useEffect((()=>{if(e.data){const n=t.current?.shadowRoot??t.current?.attachShadow({mode:"open"}),r=document.createElement("div");r.innerHTML=e.data||"",n?.appendChild(r)}}),[e.data]),te.jsx(te.Fragment,{children:!e.isLoading&&e.data&&te.jsx(ik,{ref:t})})},Ghe=[{field:"name",headerName:"Name",width:150,renderCell:e=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:e.value})},{field:"method",headerName:"method",width:80,renderCell:e=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:e.value})},{field:"pattern",headerName:"Pattern",width:300,renderCell:e=>te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:e.value})},{field:"action",headerName:"Action",flex:1,renderCell:e=>{const t=e.value;if(!Array.isArray(t))return t;const n=t[0],r=t[1];return te.jsxs("div",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(kue(n,r)),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a container entry",children:te.jsx(Uw,{size:"small",href:"/inspector/container/view?class="+n,children:te.jsx(tU,{fontSize:"small"})})}),te.jsx(uS,{component:"span",sx:{wordBreak:"break-word"},children:kue(n.split("\\").pop(),r)})]})}},{field:"middlewares",headerName:"Middlewares",flex:1,renderCell:e=>te.jsx(Hae,{depth:0,value:e.value})}];const Whe=()=>{const{data:e,isLoading:t,isSuccess:n}=PV(),[r,o]=LV(),[a,i]=U.useState([]),[s,l]=U.useState("");U.useEffect((()=>{if(!n)return;const t=function(e){const t=[];let n=0;for(const r of e){let e;if(Array.isArray(r.middlewares)){const t=r.middlewares.at(-1);Array.isArray(t)&&(e=[t[0],t[1]])}for(const o of r.methods.filter((e=>!["OPTIONS","HEAD"].includes(e))))t.push({id:String(n++),name:r.name,pattern:r.pattern,method:o,middlewares:r.middlewares,action:e})}return t.sort(((e,t)=>e.pattern.localeCompare(t.pattern)))}(e);i(t)}),[n,e]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Check route"}),te.jsxs(Ly,{component:"form",onSubmit:async e=>{e.preventDefault(),console.log("route",s);const t=await r(s);console.log(t.data)},sx:{p:[.5,1],my:2,display:"flex",alignItems:"center"},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:"/site/index, POST /auth/login, DELETE /user/1",value:s,onChange:e=>l(e.target.value)}),te.jsx(Uw,{type:"submit",sx:{p:2},children:te.jsx(SU,{})})]}),te.jsxs(YT,{variant:"outlined",children:["Add an HTTP verb in the beginning of the path such as GET, POST, PUT, PATCH and etc. to check different methods. ",te.jsx("br",{}),"Default method is GET and it can be omitted."]}),o.data&&te.jsx(nS,{severity:o.data.result?"success":"error",children:o.data.result?te.jsx(mS,{children:Cme(o.data.action)}):te.jsx(mS,{children:"Route is invalid"})}),te.jsx("h2",{children:"Routes"}),te.jsx(p0,{rows:a,getRowId:e=>e.id,columns:Ghe})]})},qhe=()=>{const{table:e}=DF(),{data:t,isLoading:n}=MV(e),[r,o]=U.useState(""),[a,i]=U.useState([]),[s,l]=U.useState([]);U.useEffect((()=>{if(t){const e=[];console.log(t);for(const n of t.columns)console.log("column",n),e.push({field:n.name,headerName:n.name,flex:1,renderCell:e=>te.jsx("span",{style:{wordBreak:"break-all",maxHeight:"100px",overflowY:"hidden"},children:e.value})});o(t.primaryKeys[0]),l(t.records),i(e)}}),[n]);const u=U.useCallback((e=>e[r]),[r]);return n?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:te.jsxs(yk,{children:[te.jsx(l_,{underline:"hover",color:"inherit",href:"/inspector/database",children:"Database"}),te.jsx(uS,{children:e})]})}),te.jsx(p0,{rows:s,getRowId:u,columns:a})]})};var Khe={},Yhe=Rb;Object.defineProperty(Khe,"__esModule",{value:!0});var Xhe=Khe.default=void 0,Zhe=Yhe(yU()),Qhe=ee;Xhe=Khe.default=(0,Zhe.default)((0,Qhe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");const Jhe=Wv(ik)({height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center"}),ege=[{field:"name",headerName:"Name",width:200,renderCell:e=>te.jsxs("span",{style:{wordBreak:"break-all"},children:[te.jsx(oN,{title:"Copy",children:te.jsx(Uw,{size:"small",onClick:()=>Lue(e.row.path),children:te.jsx(jz,{fontSize:"small"})})}),te.jsx(oN,{title:"Examine as a file in new window",children:te.jsx(Uw,{size:"small",href:"/inspector/files?path="+Qle(e.row.path),children:te.jsx(Vz,{fontSize:"small"})})}),e.value]},e.id)},{field:"status",headerName:"Status",width:80,renderCell:e=>te.jsx(Jhe,{children:"ok"===e.value?te.jsx(SU,{color:"success"}):te.jsx(Xhe,{color:"error"})},e.id)},{field:"time",headerName:"Time (ms)",width:100,renderCell:e=>te.jsx(Jhe,{children:e.value?.toFixed(2)},e.id)},{field:"stacktrace",headerName:"Stacktrace",flex:1,renderCell:e=>te.jsx(Hae,{value:e.value,depth:0},e.id)}],tge=()=>{const[e,t]=_V(),[n,r]=U.useState([]),[o,a]=U.useState(null);const i=U.useCallback((e=>e.id),[]);return te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Tests"}),te.jsxs(ik,{display:"flex",alignItems:"center",children:[te.jsx(Ak,{onClick:async function(){const t=await e("test/codeception");if(!("data"in t)||"object"!=typeof t.data)return void console.error(t);let n=0;const o=[];for(const e of t.data.result){const t=[e.suite].concat(e.test).filter((e=>!!e)).join("::");n++,o.push({id:n,name:t,status:e.status,stacktrace:e.stacktrace,path:e.file,time:e.time})}a({isSuccessful:"ok"===t.data.status,errors:t.data.errors}),r(o)},color:null===o?"primary":o.isSuccessful?"success":"error",disabled:t.isLoading,endIcon:t.isLoading?te.jsx(hR,{size:24,color:"info"}):null,children:"Run Codeception"}),!t.isLoading&&o&&te.jsxs(te.Fragment,{children:[!0===o.isSuccessful&&te.jsx(Lz,{color:"success"}),!1===o.isSuccessful&&te.jsx(Hz,{color:"error"})]})]}),t.isSuccess&&te.jsx(p0,{rows:n,getRowId:i,columns:ege})]})},nge=U.createContext({updater:()=>null}),rge=({updater:e,children:t})=>te.jsx(nge.Provider,{value:{updater:e},children:t}),oge=e=>{const{updater:t}=U.useContext(nge);return te.jsx(Hae,{editable:!0,onChange:(n,r,o)=>{t(e.row[0],String(n[0]),String(n[1]),String(o))},value:e.value})},age=[{field:"0",headerName:"Name",width:200,renderCell:e=>te.jsx("span",{style:{wordBreak:"break-all"},children:e.value})},{field:"1",headerName:"Value",flex:1,renderCell:e=>te.jsx(oge,{...e})}],ige=()=>{const{data:e,isLoading:t}=AV(),[n]=OV();U.useState({});const[r,o]=b$(),a=r.get("filter")||"",i=U.useMemo((()=>{const t=Array.isArray(e);return Object.entries(e||[]).map((e=>({0:e[0],1:t?Object.assign({},e[1]):e[1]})))}),[e]),s=U.useMemo((()=>{const e=new RegExp(ume(a||""),"i");return i.filter((t=>t[0].match(e)))}),[i,a]),l=U.useCallback((async e=>{o({filter:e})}),[]),u=U.useCallback(((e,t,r,o)=>{const a={category:e,locale:t,translation:r,message:o};console.log(a),n(a)}),[]);return t?te.jsx(AG,{}):te.jsxs(te.Fragment,{children:[te.jsx("h2",{children:"Translations"}),te.jsx(Kfe,{value:a,onChange:l}),te.jsx(rge,{updater:u,children:te.jsx(p0,{rows:s,getRowId:e=>e[0],columns:age})})]})},sge={routes:[{path:"inspector",children:[{path:"tests",element:te.jsx(tge,{})},{path:"analyse",element:te.jsx(qfe,{})},{path:"routes",element:te.jsx(Whe,{})},{path:"events",element:te.jsx(Tme,{})},{path:"files",element:te.jsx(Bhe,{})},{path:"translations",element:te.jsx(ige,{})},{path:"commands",element:te.jsx(Zfe,{})},{path:"database",children:[{index:!0,element:te.jsx(Eme,{})},{path:":table",element:te.jsx(qhe,{})}]},{path:"phpinfo",element:te.jsx(Vhe,{})},{path:"composer",element:te.jsx(nme,{})},{path:"container",children:[{path:"view",element:te.jsx(Sme,{})}]},{path:"git",element:te.jsx(Hfe,{children:te.jsx(Vfe,{})}),children:[{index:!0,element:te.jsx(Hhe,{})},{path:"log",element:te.jsx(zhe,{})}]},{path:"cache",element:te.jsx(Yfe,{})},{path:"config",element:te.jsx(hme,{})},{path:"config/:page",element:te.jsx(hme,{})}]}],reducers:hG,middlewares:gG,standaloneModule:!1},lge=e=>{const t=IG((e=>e.application.baseUrl)),[n,r]=U.useState(t+"/docs/openapi.json"),o=gd.useDispatch(),a=SG(),i=()=>{e.onClose()},s=()=>{o(vG(n))},l=e=>()=>o(wG(e));return te.jsxs(DR,{fullWidth:!0,open:!0,onClose:i,children:[te.jsx(JR,{children:"Open API entries"}),te.jsxs(WR,{children:[te.jsx(XR,{children:"Create, edit or delete Open API entries."}),te.jsx(f_,{children:Object.entries(a).map((([e,t],n)=>te.jsx(A_,{children:te.jsxs(w_,{onClick:()=>{r(t)},children:[te.jsx(V_,{primary:t,secondary:e}),te.jsx(k_,{children:te.jsx(Uw,{onClick:l(e),sx:{p:2},children:te.jsx(aU,{})})})]})},n)))}),te.jsxs(ik,{noValidate:!0,component:"form",sx:{display:"flex",flexDirection:"row",p:[.5,1],alignItems:"center"},onSubmit:e=>{e.preventDefault(),s()},children:[te.jsx(iC,{sx:{ml:1,flex:1},placeholder:"http://localhost/docs/openapi.json",value:n,onChange:e=>r(e.target.value)}),te.jsx(Uw,{onClick:s,sx:{p:2},children:te.jsx(SU,{})})]}),te.jsx(YT,{variant:"outlined",children:"Please make sure you entered the full path to the Open API json schema. For example: http://localhost/docs/openapi.json"})]}),te.jsx(BR,{children:te.jsx(Ak,{onClick:i,color:"primary",children:"Close"})})]})},uge=U.memo((()=>te.jsx(xie,{title:"No Open API entries found",text:te.jsx(te.Fragment,{children:te.jsx(uS,{children:"Click on settings button and add new Open API entry."})}),severity:"info",icon:te.jsx(Uz,{})}))),cge=()=>{const[e,t]=U.useState(""),[n,r]=U.useState(!1);hv();const o=SG();return U.useEffect((()=>{o&&Object.keys(o).length&&t(Object.keys(o)[0])}),[o]),te.jsxs(te.Fragment,{children:[te.jsx(Yse,{value:e,children:te.jsxs(jT,{children:[te.jsxs(jT,{direction:"row",justifyContent:"space-between",children:[te.jsx(pL,{value:e,onChange:(e,n)=>t(n),scrollButtons:"auto",variant:"scrollable",allowScrollButtonsMobile:!0,sx:{maxWidth:"100%"},children:Object.keys(o).map(((e,t)=>te.jsx(mP,{label:e,value:e,wrapped:!0},t)))}),te.jsx(Uw,{onClick:()=>r(!0),children:te.jsx(lU,{})})]}),0===Object.keys(o).length?te.jsx(uge,{}):te.jsx(te.Fragment,{children:"Temporary disabled"})]})}),n&&te.jsx(lge,{onClose:()=>{r(!1)}})]})},dge=[MG,oce,Ffe,sge,{routes:[{path:"/open-api",element:te.jsx(cge,{})}],reducers:EG,middlewares:CG,standaloneModule:!1},cce];var pge={},fge=Rb;Object.defineProperty(pge,"__esModule",{value:!0});var mge=pge.default=void 0,hge=fge(yU()),gge=ee;mge=pge.default=(0,hge.default)((0,gge.jsx)("path",{d:"M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7.68 5 10v1h14v-1c0-2.32-1.14-4.36-2.88-5.63M9 9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"Adb");var bge={},vge=Rb;Object.defineProperty(bge,"__esModule",{value:!0});var yge=bge.default=void 0,wge=vge(yU()),Sge=ee;yge=bge.default=(0,wge.default)((0,Sge.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");const xge=U.memo((e=>{const t=function(e={}){const{getTrigger:t=DL,target:n=jL}=e,r=_d(e,ML),o=U.useRef(),[a,i]=U.useState((()=>t(o,r)));return U.useEffect((()=>{const e=()=>{i(t(o,Id({target:n},r)))};return e(),n.addEventListener("scroll",e,{passive:!0}),()=>{n.removeEventListener("scroll",e,{passive:!0})}}),[n,t,JSON.stringify(r)]),a}({disableHysteresis:!0,threshold:100});return te.jsx(GC,{in:t,children:te.jsx(ik,{onClick:e=>{(e.target.ownerDocument||document).querySelector("body")?.scrollIntoView({block:"start",behavior:"smooth"})},role:"presentation",sx:{position:"fixed",bottom:e.bottomOffset?68:18,right:16,zIndex:100},children:te.jsx(kT,{size:"small",children:te.jsx(yge,{})})})})}));function Ege(e){return te.jsxs(Jv,{width:"128",height:"128",viewBox:"0 0 128 128",fill:"none",...e,children:[te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8408C69.107 54.6204 66.3466 50.6693 66.3448 50.6758C66.3395 50.6937 63.8596 64.1219 59.4008 73.8374C58.6566 75.4599 57.6681 77.4858 56.6706 79.1173C53.5924 84.5783 49.1259 89.8028 46.4639 95.0981C43.8245 100.346 43.3347 105.544 43.5802 111.453C43.8274 117.395 45.1937 123.223 46.5054 129C51.4499 127.928 55.7533 126.094 59.4761 123.749C69.2731 117.577 75.193 107.706 76.8753 97.0716C76.8753 97.0716 76.9572 96.6396 76.9939 96.1129C77.7524 87.8936 77.5015 85.3005 77.2531 82.0012Z",fill:e.monochromeColor??"#40B3D8"}),te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8409C69.107 54.6204 66.3466 50.6693 66.3448 50.6758L66.3442 50.6788C66.3442 50.677 66.3448 50.6753 66.3448 50.6753L65.686 49.6909C51.2382 29.312 23.5302 19.1371 0.119787 28.5678C-1.00751 42.8522 5.5831 67.4296 29.6275 74.2849C39.3479 77.2898 47.1316 76.5104 56.6712 79.1167C56.6706 79.1167 56.6706 79.1173 56.6706 79.1173C56.6706 79.1173 66.3674 82.5131 72.0086 87.6053C74.546 89.8952 77.087 92.909 76.9595 96.4937C77.7631 87.9628 77.5057 85.3529 77.2531 82.0012Z",fill:e.monochromeColor??"#83C933"}),te.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.7534 38.717C63.3372 28.6738 64.7847 21.9442 71.0349 12.5791C74.0159 8.1108 79.1626 2.92804 83.6735 0C101.873 11.4595 108.603 32.8043 101.909 52.6279C97.0385 67.0518 92.4683 73.0997 80.9125 87.9401C82.2592 72.0462 76.6921 61.0271 71.2264 48.7834C69.8353 45.6683 67.9116 42.1223 66.7534 38.717Z",fill:e.monochromeColor??"#F18A2A"}),te.jsx("path",{d:"M76.9596 96.4936C77.0871 92.909 74.546 89.8951 72.0086 87.6053C66.3674 82.5131 56.6712 79.1173 56.6712 79.1173C57.6687 77.4858 58.6572 75.4599 59.4014 73.8374C63.8602 64.1219 66.3401 50.6937 66.3454 50.6758C66.3472 50.6699 69.107 54.6204 70.9027 58.8409C72.6989 63.0625 76.3867 70.5101 77.2537 82.0012C77.5057 85.3529 77.7631 87.9628 76.9596 96.4936Z",fill:e.monochromeColor??"#7FB93C"})]})}const Cge=e=>te.jsx(cT,{...e,direction:"up"}),kge=U.memo((()=>{const e=IG((e=>e.notifications.notifications)),t=gd.useDispatch(),n=e=>(n,r)=>{"clickaway"!==r&&t(A$(e))};return te.jsx(te.Fragment,{children:e.map(((e,t)=>te.jsx(OO,{open:e.shown,onClose:n(t),TransitionComponent:Cge,autoHideDuration:3e3,anchorOrigin:{vertical:"top",horizontal:"right"},sx:{top:{xs:"85px",sm:"70px"}},children:te.jsxs(nS,{onClose:n(t),severity:e.color,sx:{width:"100%"},children:[e.title&&e.title.length>0&&te.jsx(mS,{children:e.title}),e.text]})},e.text+t)))})})),Rge=[{name:"Gii",link:"/gii"},{name:"Debug",link:"/debug"},{name:"Config",items:[{name:"Configuration",link:"/inspector/config"},{name:"Events",link:"/inspector/events"},{name:"Routes",link:"/inspector/routes"}]},{name:"Inspector",link:"#",items:[{name:"Tests",link:"/inspector/tests"},{name:"Analyse",link:"/inspector/analyse"},{name:"File Explorer",link:"/inspector/files"},{name:"Translations",link:"/inspector/translations"},{name:"Commands",link:"/inspector/commands"},{name:"Database",link:"/inspector/database"},{name:"Cache",link:"/inspector/cache"},{name:"Git",link:"/inspector/git"},{name:"PHP Info",link:"/inspector/phpinfo"},{name:"Composer",link:"/inspector/composer"}]},{name:"Open API",link:"/open-api"},{name:"Frames",link:"/frames"}],Tge=Wv(l_)((({theme:e})=>({margin:e.spacing(2,1),color:"white"}))),Ige=e=>{const{href:t,name:n,onClick:r,...o}=e;return t?te.jsx(Tge,{href:t,...o,children:n}):te.jsx(Tge,{onClick:e=>(e.preventDefault(),!!r&&r(e)),...o,children:n})},_ge=U.memo((({children:t})=>{const[n,r]=U.useState({}),o=(e,t)=>{r({...n,[e]:t.currentTarget})},a=e=>{const t={...n};delete t[e],r(t)},[i,s]=U.useState(null),l=e=>{s(e.currentTarget)},u=()=>s(null);return te.jsxs(te.Fragment,{children:[te.jsx(wR,{}),te.jsx(wS,{position:"static",color:"primary",children:te.jsx(bR,{children:te.jsxs(RP,{disableGutters:!0,children:[te.jsx(l_,{href:"/",children:te.jsx(Ege,{sx:{display:"flex",mr:1}})}),te.jsx(uS,{variant:"h6",children:te.jsx(l_,{href:"/",sx:{color:"white",textDecoration:"none"},children:"Yii Dev Panel"})}),te.jsx(ik,{sx:{flexGrow:1,display:"flex"},children:Rge.map((e=>{if(!e.items)return te.jsx(Ige,{name:e.name,href:e.link},e.name);const t=e.name;return te.jsxs(U.Fragment,{children:[te.jsx(Ige,{name:e.name,onMouseOver:o.bind(void 0,t)}),te.jsx(bA,{anchorEl:n[t],keepMounted:!0,open:Boolean(n[t]),onClose:a.bind(void 0,t),MenuListProps:{onMouseLeave:a.bind(void 0,t)},children:e.items.map((e=>te.jsx(xA,{href:e.link,onClick:a.bind(void 0,t),component:l_,children:e.name},e.name)))})]},e.name)}))}),te.jsxs("div",{children:[te.jsx(Uw,{size:"large",onClick:l,onMouseOver:l,color:"inherit",children:te.jsx(mge,{})}),te.jsxs(bA,{keepMounted:!0,open:Boolean(i),anchorEl:i,onClose:u,MenuListProps:{onMouseLeave:u},children:[te.jsxs(xA,{component:l_,href:"https://github.com/yiisoft/yii-dev-panel",target:"_blank",children:[te.jsx($_,{children:te.jsx(qz,{fontSize:"small"})}),te.jsx(V_,{children:"Open Github"})]}),te.jsxs(xA,{component:l_,onClick:()=>{"location"in window&&window.location.reload()},children:[te.jsx($_,{children:te.jsx(oU,{fontSize:"small"})}),te.jsx(V_,{children:"Refresh page"})]}),te.jsxs(xA,{component:"span",disableTouchRipple:!0,disableRipple:!0,children:[te.jsx($_,{children:te.jsx(Fz,{fontSize:"small"})}),te.jsxs(V_,{children:["Build ",te.jsx("b",{children:e.buildVersion})]})]})]})]})]})})}),te.jsx(kge,{}),te.jsx(bR,{children:te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname],children:te.jsx(KF,{})})}),t,te.jsx(xge,{bottomOffset:!!t})]})})),Age=()=>{const e=LF(),t=NF(),n=function(){let{matches:e,loaderData:t}=GF(VF.UseMatches);return U.useMemo((()=>e.map((e=>cj(e,t)))),[e,t])}();return console.log("location",t),console.log("matches",n),te.jsx(xie,{title:"Unknown page",text:te.jsxs(te.Fragment,{children:[te.jsx(uS,{children:"Looks like the page doesn't exist anymore."}),te.jsxs(uS,{children:["Try to ",te.jsx(l_,{onClick:()=>e(-1),children:"go back"}),"  or open"," ",te.jsx(l_,{href:"/",children:"the main page"}),"."]})]}),icon:te.jsx(Ege,{monochromeColor:"#e65151"}),severity:"error"})};var Oge={},Nge=Rb;Object.defineProperty(Oge,"__esModule",{value:!0});var Pge=Oge.default=void 0,Lge=Nge(yU()),Mge=ee;Pge=Oge.default=(0,Lge.default)((0,Mge.jsx)("path",{d:"M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5zm2.5-.5h1.5V15H10v-4.5h1.5V9H7zm5.5 0H14V15h1.5v-4.5H17V9h-4.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5m0 2.5h-2v-1h2z"}),"Http");var Dge={},jge=Rb;Object.defineProperty(Dge,"__esModule",{value:!0});var Fge=Dge.default=void 0,$ge=jge(yU()),Bge=ee;Fge=Dge.default=(0,$ge.default)((0,Bge.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");var zge={},Uge=Rb;Object.defineProperty(zge,"__esModule",{value:!0});var Hge=zge.default=void 0,Vge=Uge(yU()),Gge=ee;Hge=zge.default=(0,Vge.default)((0,Gge.jsx)("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"}),"SyncAlt");const Wge=H.memo((({entry:e,onClick:t,selected:n,rightText:r})=>te.jsxs(w_,{onClick:()=>t(e),defaultChecked:n,children:[te.jsx($_,{children:te.jsx(ece,{entry:e})}),te.jsx(V_,{primary:e.request?.path??e.command?.input}),r&&te.jsx(oN,{title:"The request was made by the current page",children:te.jsx(Hge,{})})]}))),qge=(e,t)=>n=>{let r=!1;return e.includes("web")&&Die(n)&&(r=!0),e.includes("console")&&Mie(n)&&(r=!0),e.includes("current")&&t.includes(n.id)&&(r=!0),r},Kge=({onClick:e,onClose:t,open:n})=>{const r=lV(),o=XV(),[a,i]=U.useState([]),[s,l]=U.useState((()=>["web","console","current"])),u=gd.useSelector((e=>e[qV.name]?.currentPageRequestIds));return U.useEffect((()=>{!r.isFetching&&r.data&&r.data.length>0&&i(r.data)}),[r.isFetching]),te.jsxs(DR,{fullWidth:!0,onClose:()=>t(),open:n,children:[te.jsx(JR,{children:"Select a debug entry"}),te.jsxs(f_,{sx:{pt:0},children:[te.jsxs(LL,{fullWidth:!0,size:"small",color:"primary",value:s,onChange:(e,t)=>{l(t)},children:[te.jsx(IL,{value:"web",children:te.jsx(Pge,{})}),te.jsx(IL,{value:"console",children:te.jsx(Xue,{})}),te.jsx(IL,{value:"current",children:"Current"}),te.jsx(Ak,{color:"primary",onClick:()=>r.refetch(),disabled:r.isFetching,children:r.isFetching?te.jsx(hR,{size:24,color:"info"}):te.jsx(Fge,{})})]}),a.filter(qge(s,u)).map((t=>te.jsx(Wge,{entry:t,onClick:e,selected:o&&t.id===o.id,rightText:u.includes(t.id)?"Current":null},t.id)))]})]})},Yge=({data:e})=>{if(!e.command)return null;const[t,n]=U.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(oN,{title:"Click to see more options",arrow:!0,children:te.jsx(Ak,{startIcon:te.jsx(pU,{fontSize:"small"}),color:(a=e.command.exitCode,0===a?"success":"error"),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:e.command.name})}),te.jsxs(bA,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(iU,{fontSize:"small"})}),"Repeat"]}),e.command.class&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(Bz,{fontSize:"small"})}),te.jsx(V_,{children:"Class"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:e.command.class})]}),e.command.input&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(Qz,{fontSize:"small"})}),te.jsx(V_,{children:"Input"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:e.command.input})]})]})]});var a},Xge=U.forwardRef(((e,t)=>{const{data:n,...r}=e;return te.jsx(rk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(Ak,{ref:t,color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:Pse(Lse((n.web||n.console).request.startTime),"do MMM HH:mm:ss")})})}));Xge.displayName=Ak.name;const Zge=U.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(rk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(Ak,{ref:t,href:`/debug?collector=${Pie.EventCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${Pie.EventCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Events"})})}));Zge.displayName=Ak.name;const Qge=U.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(rk,{color:"secondary",badgeContent:String(n.logger?.total),children:te.jsx(Ak,{ref:t,href:`/debug?collector=${Pie.LogCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${Pie.LogCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Logs"})})})),Jge=e=>{const{data:t,iframeUrlHandler:n,...r}=e,o=Die(t)?Pie.WebAppInfoCollector:Pie.ConsoleAppInfoCollector;return te.jsx(oN,{title:`${(t.web||t.console).memory.peakUsage.toLocaleString(void 0)} bytes`,arrow:!0,children:te.jsx(Ak,{href:`/debug?collector=${o}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${o}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:Ime((t.web||t.console).memory.peakUsage)})})},ebe=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return te.jsx(oN,{title:`${(1e3*(t.web||t.console).request.processingTime).toFixed(1)} ms`,arrow:!0,children:te.jsxs(Ak,{href:`/debug?collector=${Pie.TimelineCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${Pie.TimelineCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[(t.web||t.console).request.processingTime.toFixed(3)," s"]})})},tbe=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return t.validator&&0!==t.validator.total?te.jsx(rk,{color:"secondary",badgeContent:String(t.validator.total),children:te.jsx(Ak,{href:`/debug?collector=${Pie.ValidatorCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${Pie.ValidatorCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:0===t.validator.invalid?"info":"warning",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Validator"})}):null};function nbe(e,t){return Object.keys(t).forEach((function(n){"default"===n||"__esModule"===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})),e}function rbe(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var obe={},abe={};rbe(abe,"ContextMenu",(()=>gbe));var ibe={};rbe(ibe,"nestedMenuItemsFromObject",(()=>hbe));var sbe={};rbe(sbe,"IconMenuItem",(()=>dbe));const lbe=Wv(xA)({display:"flex",justifyContent:"space-between",paddingLeft:"4px",paddingRight:"4px"}),ube=Wv(uS)({paddingLeft:"8px",paddingRight:"8px",textAlign:"left"}),cbe=Wv(Rh)({display:"flex"}),dbe=U.forwardRef((function({MenuItemProps:e,className:t,label:n,leftIcon:r,renderLabel:o,rightIcon:a,...i},s){return ee.jsxs(lbe,{...e,ref:s,className:t,...i,children:[ee.jsxs(cbe,{children:[r,o?o():ee.jsx(ube,{children:n})]}),a]})}));var pbe={};rbe(pbe,"NestedMenuItem",(()=>mbe));const fbe=e=>ee.jsx(Jv,{...e,children:ee.jsx("path",{d:"M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z"})}),mbe=U.forwardRef((function(e,t){const{parentMenuOpen:n,label:r,renderLabel:o,rightIcon:a=ee.jsx(fbe,{}),leftIcon:i=null,children:s,className:l,tabIndex:u,ContainerProps:c={},MenuProps:d,...p}=e,{ref:f,...m}=c,h=U.useRef(null);U.useImperativeHandle(t,(()=>h.current));const g=U.useRef(null);U.useImperativeHandle(f,(()=>g.current));const b=U.useRef(null),[v,y]=U.useState(!1),w=()=>{const e=g.current?.ownerDocument.activeElement??null;if(null==b.current)return!1;for(const t of b.current.children)if(t===e)return!0;return!1},S=v&&n;let x;return e.disabled||(x=void 0!==u?u:-1),ee.jsxs("div",{...m,ref:g,onFocus:e=>{e.target===g.current&&y(!0),m.onFocus&&m.onFocus(e)},tabIndex:x,onMouseEnter:e=>{y(!0),m.onMouseEnter&&m.onMouseEnter(e)},onMouseLeave:e=>{y(!1),m.onMouseLeave&&m.onMouseLeave(e)},onKeyDown:e=>{if("Escape"===e.key)return;w()&&e.stopPropagation();const t=g.current?.ownerDocument.activeElement;if("ArrowLeft"===e.key&&w()&&g.current?.focus(),"ArrowRight"===e.key&&e.target===g.current&&e.target===t){const e=b.current?.children[0];e?.focus()}},children:[ee.jsx(dbe,{MenuItemProps:p,className:l,ref:h,leftIcon:i,rightIcon:a,label:r,renderLabel:o}),ee.jsx(bA,{style:{pointerEvents:"none"},anchorEl:h.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:S,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,onClose:()=>{y(!1)},...d,children:ee.jsx("div",{ref:b,style:{pointerEvents:"auto"},children:s})})]})}));function hbe({menuItemsData:e,isOpen:t,handleClose:n}){return e.map((e=>{const{leftIcon:r,rightIcon:o,label:a,items:i,callback:s,sx:l,disabled:u}=e;return i&&i.length>0?ee.jsx(mbe,{leftIcon:r,rightIcon:o,label:a,parentMenuOpen:t,sx:l,disabled:u,children:hbe({handleClose:n,isOpen:t,menuItemsData:i})},a):ee.jsx(dbe,{leftIcon:r,rightIcon:o,label:a,onClick:t=>{n(),s&&s(t,e)},sx:l,disabled:u},a)}))}mbe.displayName="NestedMenuItem";const gbe=U.forwardRef((function({children:e,menuItems:t,menuItemsData:n},r){const o=r??U.useRef(null),[a,i]=U.useState(null),[s,l]=U.useState(null),u=t??(n&&hbe({handleClose:()=>i(null),isOpen:!!a,menuItemsData:n}));return ee.jsxs("div",{ref:o,onContextMenu:e=>e.preventDefault(),onMouseDown:e=>{if(null!==a&&i(null),2!==e.button)return;const t=o.current.getBoundingClientRect();e.clientXt.right||e.clientYt.bottom||l({left:e.clientX,top:e.clientY})},onMouseUp:e=>{const t=e.clientY,n=e.clientX;null!==s&&s.top===t&&s.left===n&&i({left:e.clientX,top:e.clientY})},children:[a&&ee.jsx(bA,{onContextMenu:e=>e.preventDefault(),open:!!a,onClose:()=>i(null),anchorReference:"anchorPosition",anchorPosition:a,children:u}),e]})}));var bbe={};rbe(bbe,"NestedDropdown",(()=>ybe));const vbe=e=>ee.jsx(Jv,{...e,children:ee.jsx("path",{d:"M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z"})}),ybe=U.forwardRef((function(e,t){const[n,r]=U.useState(null),o=Boolean(n),{menuItemsData:a,onClick:i,ButtonProps:s,MenuProps:l,...u}=e,c=()=>r(null),d=hbe({handleClose:c,isOpen:o,menuItemsData:a?.items??[]});return ee.jsxs("div",{ref:t,...u,children:[ee.jsx(Ak,{onClick:e=>{r(e.currentTarget),i&&i(e)},endIcon:ee.jsx(vbe,{}),...s,children:a?.label??"Menu"}),ee.jsx(bA,{anchorEl:n,open:o,onClose:c,...l,children:d})]})}));nbe(obe,abe),nbe(obe,sbe),nbe(obe,bbe),nbe(obe,pbe),nbe(obe,ibe);const wbe=({data:e})=>{const[t,n]=U.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(oN,{title:"Click to see more options",arrow:!0,children:te.jsxs(Ak,{color:Nie(e.response.statusCode),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[e.request.method," ",e.request.path," ",String(e.response.statusCode)]})}),te.jsxs(bA,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(iU,{fontSize:"small"})}),"Repeat"]}),e.router?.middlewares&&te.jsx(mbe,{onClick:o,sx:{padding:"6px 16px"},leftIcon:te.jsx(zz,{fontSize:"small",sx:{color:"text.secondary",mr:1}}),label:"Middlewares",parentMenuOpen:r,children:e.router.middlewares.map(((e,t)=>te.jsx(xA,{onClick:o,children:te.jsxs(V_,{color:"text.secondary",children:[t+1,". ",Cme(e)]})},t)))}),e.router?.action&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(Bz,{fontSize:"small"})}),te.jsx(V_,{children:"Action"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:Cme(e.router.action)})]}),e.router?.name&&te.jsxs(xA,{onClick:o,children:[te.jsx($_,{children:te.jsx(sU,{fontSize:"small"})}),te.jsx(V_,{children:"Route"}),te.jsx(uS,{variant:"body2",color:"text.secondary",ml:2,children:e.router.name})]})]})]})},Sbe=({data:e})=>e.router?te.jsx(Ak,{startIcon:te.jsx(sU,{fontSize:"small"}),color:"info",variant:"contained",sx:{whiteSpace:"nowrap",height:"100%",textTransform:"none",borderRadius:0},children:e.router.name}):null;WM({...QV,...Oz});const xbe=gd.useSelector;function Ebe(){return Ebe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.postMessage({event:t,value:n},"*")};class Abe{constructor(e="initialized"){this.state=e}queue=[];next(e){"ready"===this.state?e():this.queue.push(e)}ready(){this.state="ready",this.queue.forEach((e=>e()))}}class Obe{constructor(e){this.frame=e,window.addEventListener("message",(e=>{if("event"in e.data&&"panel.loaded"===e.data.event)this.eventQueue.ready()}))}eventQueue=new Abe;dispatchEvent(e,t){this.eventQueue.next((()=>{_be(this.frame.contentWindow,e,t)}))}}var Nbe={},Pbe=Rb;Object.defineProperty(Nbe,"__esModule",{value:!0});var Lbe=Nbe.default=void 0,Mbe=Pbe(yU()),Dbe=ee;Lbe=Nbe.default=(0,Mbe.default)((0,Dbe.jsx)("path",{d:"M6.83 4H20c1.11 0 2 .9 2 2v12c0 .34-.09.66-.23.94L20 17.17V8h-9.17zm13.66 19.31L17.17 20H4c-1.11 0-2-.9-2-2V6c0-.34.08-.66.23-.94L.69 3.51 2.1 2.1l19.8 19.8zM15.17 18l-10-10H4v10z"}),"WebAssetOff");var jbe={},Fbe=Rb;Object.defineProperty(jbe,"__esModule",{value:!0});var $be=jbe.default=void 0,Bbe=Fbe(yU()),zbe=ee;$be=jbe.default=(0,Bbe.default)((0,zbe.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H5V8h14z"}),"WebAsset");var Ube={},Hbe=Rb;Object.defineProperty(Ube,"__esModule",{value:!0});var Vbe=Ube.default=void 0,Gbe=Hbe(yU()),Wbe=ee;Vbe=Ube.default=(0,Gbe.default)((0,Wbe.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");const qbe=navigator?.serviceWorker,Kbe=U.forwardRef((({baseUrlState:e,iframeEnabled:t},n)=>te.jsx("iframe",{ref:n,src:e+"/debug?toolbar=0",style:{height:"100%",width:"100%"},hidden:!t,loading:"lazy"}))),Ybe=({activeComponents:e})=>{U.useEffect((()=>{const e=e=>{e.data.payload&&"x-debug-id"in e.data.payload.headers&&(a(sV.util.invalidateTags(["debug/list"])),a(YV(e.data.payload.headers["x-debug-id"])))};return qbe?.addEventListener("message",e),()=>{qbe?.removeEventListener("message",e)}}),[]);const[t,n]=U.useState(!1),r=lV(),o=XV(),a=gd.useDispatch(),[i,s]=U.useState(o);U.useEffect((()=>{!r.isFetching&&r.data&&r.data.length>0&&s(r.data[0])}),[r.isFetching]);const l=xbe((e=>e.application.toolbarOpen)),u=xbe((e=>e.application.iframeHeight)),c=xbe((e=>e.application.baseUrl));U.useEffect((()=>n(l)),[l]);const d=U.useCallback((e=>{s(e),n(!0),a(E$(!0)),a(KV(e))}),[]),[p,f]=U.useState(!1),m=U.useCallback((()=>{window.open(o?c+"/debug?debugEntry="+o.id:c+"/debug")}),[o]),h=U.useCallback((()=>{f(!0)}),[]),g=U.useCallback((()=>{f(!1)}),[]),b=U.useRef(void 0),[v,y]=U.useState(null);U.useEffect((()=>{b.current&&y(new Obe(b.current))}),[b.current]);const w=U.useCallback((t=>{e.iframe&&(S||x(!0),v?.dispatchEvent("router.navigate",t))}),[v,e]),[S,x]=U.useState(!1),E=U.useCallback((()=>{e.iframe&&x((e=>!e))}),[e]),C=hv(),k=U.useRef(void 0),{position:R,separatorProps:T,setPosition:I}=function(e){var t=e.axis,n=e.disabled,r=void 0!==n&&n,o=e.initial,a=void 0===o?0:o,i=e.min,s=void 0===i?0:i,l=e.max,u=void 0===l?1/0:l,c=e.reverse,d=e.step,p=void 0===d?10:d,f=e.shiftStep,m=void 0===f?50:f,h=e.onResizeStart,g=e.onResizeEnd,b=e.containerRef,v=Math.min(Math.max(a,s),u),y=U.useRef(!1),w=U.useState(!1),S=w[0],x=w[1],E=U.useState(v),C=E[0],k=E[1],R=U.useRef(v),T=U.useState(v),I=T[0],_=T[1],A=U.useMemo((function(){return{role:"separator","aria-valuenow":C,"aria-valuemin":s,"aria-valuemax":u,"aria-orientation":"x"===t?"vertical":"horizontal","aria-disabled":r}}),[t,r,u,s,C]),O=U.useCallback((function(e){if(y.current&&!r){e.stopPropagation(),e.preventDefault();var n=function(){if("x"===t){if(null!=b&&b.current){var n=b.current.getBoundingClientRect(),r=n.left;return c?r+n.width-e.clientX:e.clientX-r}return c?document.body.offsetWidth-e.clientX:e.clientX}if(null!=b&&b.current){var o=b.current.getBoundingClientRect(),a=o.top;return c?a+o.height-e.clientY:e.clientY-a}return c?document.body.offsetHeight-e.clientY:e.clientY}();n=Math.min(Math.max(n,s),u),k(n),R.current=n}}),[t,r,u,s,c,b]),N=U.useCallback((function(e){r||(e.stopPropagation(),y.current=!1,x(!1),_(R.current),document.removeEventListener("pointermove",O),document.removeEventListener("pointerup",N),g&&g({position:R.current}))}),[r,O,g]),P=U.useCallback((function(e){r||(e.stopPropagation(),y.current=!0,x(!0),document.addEventListener("pointermove",O),document.addEventListener("pointerup",N),h&&h({position:R.current}))}),[r,O,N,h]),L=U.useCallback((function(e){if(!r){if("Enter"===e.key)return k(a),void(R.current=a);if(("x"!==t||Rbe.includes(e.key))&&("y"!==t||Tbe.includes(e.key))){h&&h({position:R.current});var n=e.shiftKey?m:p,o=c?-1:1,i=Ibe.includes(e.key)?o:-1*o,l=C+n*i;lu?(k(u),R.current=u):(k(l),R.current=l),g&&g({position:R.current})}}}),[r,t,h,m,p,c,C,s,u,g,a]),M=U.useCallback((function(){r||(k(a),R.current=a)}),[r,a]);return{position:C,endPosition:I,isDragging:S,separatorProps:Ebe({},A,{onPointerDown:P,onKeyDown:L,onDoubleClick:M}),setPosition:k,splitterProps:Ebe({},A,{onPointerDown:P,onKeyDown:L,onDoubleClick:M})}}({axis:"y",initial:u,min:100,max:1e3,reverse:!0,disabled:!t,containerRef:k,onResizeEnd:e=>{a(T$(e.position))}});return U.useEffect((()=>{I(u)}),[u]),te.jsxs(_S,{children:[!r.isLoading&&i&&te.jsxs(Ly,{component:ik,elevation:10,sx:{position:t?"sticky":"fixed",bottom:0,right:0,transition:"width 350ms ease-in-out",pt:t?0:1,pb:1,px:.5,backgroundColor:"primary.main",zIndex:1,borderRadius:"0"},children:[te.jsx("hr",{...T,style:{display:t?"block":"none",position:"absolute",top:"-9px",right:0,left:0,height:"10px",width:"100%",background:`linear-gradient(${C.palette.action.hover}, ${C.palette.primary.main})`,border:0,padding:0,margin:0,cursor:S?"row-resize":"initial",borderTopLeftRadius:"5px",borderTopRightRadius:"5px"}}),te.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box"},children:[te.jsx(ik,{sx:{display:t?"inline-block":"none"},children:te.jsxs(Dk,{disableElevation:!0,children:[Die(i)&&te.jsx(wbe,{data:i}),Mie(i)&&te.jsx(Yge,{data:i}),te.jsx(ebe,{data:i,iframeUrlHandler:w}),te.jsx(Jge,{data:i,iframeUrlHandler:w}),Die(i)&&te.jsx(Sbe,{data:i}),te.jsx(Qge,{data:i,iframeUrlHandler:w}),te.jsx(Zge,{data:i,iframeUrlHandler:w}),te.jsx(tbe,{data:i,iframeUrlHandler:w}),te.jsx(Xge,{data:i})]})}),te.jsx(ik,{children:te.jsxs(WO,{ariaLabel:"",sx:{bottom:0,right:0,marginX:1,"& .MuiSpeedDial-actions":{position:"absolute",bottom:32,marginX:1}},FabProps:{onClick:()=>{n((e=>(a(E$(!e)),S&&x(!1),!e)))},size:"small",sx:{background:"white"}},icon:te.jsx(Ege,{sx:{transform:t?"rotate(0deg)":"rotate(360deg)",transition:"transform 400ms ease-in-out"}}),children:[te.jsx(pN,{onClick:m,icon:te.jsx(Vbe,{}),tooltipTitle:"Open debug in a new window"}),te.jsx(pN,{onClick:h,icon:te.jsx(uie,{}),tooltipTitle:"List all debug entries"}),e.iframe&&t&&te.jsx(pN,{onClick:E,icon:S?te.jsx(Lbe,{}):te.jsx($be,{}),tooltipTitle:S?"Close iframe":"Open iframe"},"iframe")]})})]})]}),te.jsx(Kge,{open:p,onClick:d,onClose:g}),te.jsx("div",{ref:k,style:{height:R,overflow:"hidden"},hidden:!S,children:te.jsx(Kbe,{ref:b,baseUrlState:c,iframeEnabled:S})})]})};function Xbe(e,t,n){const r=e.filter((e=>e.standaloneModule)),o=e.filter((e=>!e.standaloneModule)),a=[{path:"/",element:te.jsx(_ge,{children:n.toolbar&&te.jsx(Ybe,{activeComponents:{iframe:!1}})}),children:[].concat(...o.map((e=>e.routes)))},...[].concat(...r.map((e=>e.routes))),{path:"*",element:te.jsx(_ge,{children:te.jsx(Age,{})})}],i={basename:t.basename};return t.useHashRouter?function(e,t){return qj({basename:null==t?void 0:t.basename,future:ZF({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),aj((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=oj(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),nj("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:rj(t))}),(function(e,t){ej("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||e$(),routes:e,mapRouteProperties:XF,window:null==t?void 0:t.window}).initialize();var n}(a):function(e,t){return qj({basename:null==t?void 0:t.basename,future:ZF({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),aj((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return nj("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:rj(t)}),null,n)),hydrationData:(null==t?void 0:t.hydrationData)||e$(),routes:e,mapRouteProperties:XF,window:null==t?void 0:t.window}).initialize();var n}(a,i)}function Zbe(e){return(Zbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qbe(e,t){for(var n=0;n{e.backend.usePreferredUrl&&(console.log("Override backend url",e.backend.baseUrl),n.dispatch(S$(e.backend.baseUrl)))}),[]),U.useEffect((()=>{_be(window.parent,"panel.loaded",!0);const e=e=>{console.log("Post message event",e,e.data);const n=e.data;if("event"in n&&"router.navigate"===n.event)t.navigate(n.value)};return window.addEventListener("message",e),()=>{window?.removeEventListener("message",e)}}),[]),te.jsx(YD,{baseUrl:"",openLinksInNewWindow:!1,children:te.jsx(gd.Provider,{store:n,children:te.jsx(rve,{persistor:r,children:te.jsx(y$,{children:te.jsx(Due,{FallbackComponent:FL,resetKeys:[window.location.pathname],children:te.jsx(l$,{router:t})})})})})})}nve(rve,"defaultProps",{children:null,loading:null});var ave={},ive=fd;ave.createRoot=ive.createRoot,ave.hydrateRoot=ive.hydrateRoot;let sve={toolbar:"1"};try{sve=Object.fromEntries(new URLSearchParams(location.search))}catch(w0){console.error("Error while parsing query params: ",w0)}var lve;(lve=window.YiiDevPanelWidget??={config:{containerId:"root",options:{modules:{toolbar:"0"!==sve?.toolbar},router:{basename:"",useHashRouter:"github"===e.appEnv},backend:{baseUrl:"http://127.0.0.1:8080",favoriteUrls:[],usePreferredUrl:!1}}}}).init=function(){console.debug("YiiDevPanelWidget initialization",this);const e=document.getElementById(this.config.containerId);console.debug("YiiDevPanelWidget mounting into",e),ave.createRoot(e).render(te.jsx(H.StrictMode,{children:te.jsx(ove,{config:this.config.options})}))},lve.init(); diff --git a/bundle.js b/bundle.js index 35ee08f..49b1503 100644 --- a/bundle.js +++ b/bundle.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/bootstrap-DaH2mGgW.js","bundle.css"] + __vite__mapDeps.viteFileDeps = ["assets/bootstrap-T6MQIkj_.js","bundle.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const r of e)if("childList"===r.type)for(const e of r.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=i?.nonce||i?.getAttribute("nonce");o=Promise.all(r.map((r=>{if((r=function(e){return"https://yiisoft.github.io/yii-dev-panel/"+e}(r))in e)return;e[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(!!n)for(let e=t.length-1;e>=0;e--){const n=t[e];if(n.href===r&&(!o||"stylesheet"===n.rel))return}else if(document.querySelector(`link[href="${r}"]${i}`))return;const l=document.createElement("link");return l.rel=o?"stylesheet":"modulepreload",o||(l.as="script",l.crossOrigin=""),l.href=r,s&&l.setAttribute("nonce",s),document.head.appendChild(l),o?new Promise(((e,t)=>{l.addEventListener("load",e),l.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${r}`))))})):void 0})))}return o.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},r={buildVersion:"#3bb099e",appEnv:"github"};var n;r.appEnv="github",t((()=>import("./assets/bootstrap-DaH2mGgW.js")),__vite__mapDeps([0,1])),n&&n instanceof Function&&t((()=>import("./assets/web-vitals-BDnzJRlM.js")),[]).then((({getCLS:e,getFID:t,getFCP:r,getLCP:o,getTTFB:i})=>{e(n),t(n),r(n),o(n),i(n)}));export{r as C}; +!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const r of e)if("childList"===r.type)for(const e of r.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=i?.nonce||i?.getAttribute("nonce");o=Promise.all(r.map((r=>{if((r=function(e){return"https://yiisoft.github.io/yii-dev-panel/"+e}(r))in e)return;e[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(!!n)for(let e=t.length-1;e>=0;e--){const n=t[e];if(n.href===r&&(!o||"stylesheet"===n.rel))return}else if(document.querySelector(`link[href="${r}"]${i}`))return;const l=document.createElement("link");return l.rel=o?"stylesheet":"modulepreload",o||(l.as="script",l.crossOrigin=""),l.href=r,s&&l.setAttribute("nonce",s),document.head.appendChild(l),o?new Promise(((e,t)=>{l.addEventListener("load",e),l.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${r}`))))})):void 0})))}return o.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},r={buildVersion:"#05e2bda",appEnv:"github"};var n;r.appEnv="github",t((()=>import("./assets/bootstrap-T6MQIkj_.js")),__vite__mapDeps([0,1])),n&&n instanceof Function&&t((()=>import("./assets/web-vitals-BDnzJRlM.js")),[]).then((({getCLS:e,getFID:t,getFCP:r,getLCP:o,getTTFB:i})=>{e(n),t(n),r(n),o(n),i(n)}));export{r as C}; diff --git a/service-worker.js b/service-worker.js index e124c59..55bc6f6 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1 +1 @@ -try{self["workbox:core:7.0.0"]&&_()}catch(oe){}const e=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:cacheable-response:7.0.0"]&&_()}catch(oe){}class s{constructor(e={}){this._statuses=e.statuses,this._headers=e.headers}isResponseCacheable(e){let t=!0;return this._statuses&&(t=this._statuses.includes(e.status)),this._headers&&t&&(t=Object.keys(this._headers).some((t=>e.headers.get(t)===this._headers[t]))),t}}class n{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new s(e)}}const a=new Set;const r={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},i=e=>[r.prefix,e,r.suffix].filter((e=>e&&e.length>0)).join("-"),c=e=>e||i(r.precache),o=e=>e||i(r.runtime);function h(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let l;function u(e){e.then((()=>{}))}class d{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}function p(e,t){const s=t();return e.waitUntil(s),s}async function f(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,c=function(){if(void 0===l){const t=new Response("");if("body"in t)try{new Response(t.body),l=!0}catch(e){l=!1}l=!1}return l}()?a.body:await a.blob();return new Response(c,i)}const g=(e,t)=>t.some((t=>e instanceof t));let m,w;const y=new WeakMap,b=new WeakMap,v=new WeakMap,R=new WeakMap,C=new WeakMap;let x={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return b.get(e);if("objectStoreNames"===t)return e.objectStoreNames||v.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return q(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function E(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(w||(w=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(U(this),t),q(y.get(this))}:function(...t){return q(e.apply(U(this),t))}:function(t,...s){const n=e.call(U(this),t,...s);return v.set(n,t.sort?t.sort():[t]),q(n)}}function L(e){return"function"==typeof e?E(e):(e instanceof IDBTransaction&&function(e){if(b.has(e))return;const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));b.set(e,t)}(e),g(e,m||(m=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,x):e)}function q(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(q(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&y.set(t,e)})).catch((()=>{})),C.set(t,e),t}(e);if(R.has(e))return R.get(e);const t=L(e);return t!==e&&(R.set(e,t),C.set(t,e)),t}const U=e=>C.get(e);const D=["get","getKey","getAll","getAllKeys","count"],k=["put","add","delete","clear"],T=new Map;function N(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(T.get(t))return T.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=k.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!D.includes(s))return;const r=async function(e,...t){const r=this.transaction(e,a?"readwrite":"readonly");let i=r.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[s](...t),a&&r.done]))[0]};return T.set(t,r),r}x=(e=>({...e,get:(t,s,n)=>N(t,s)||e.get(t,s,n),has:(t,s)=>!!N(t,s)||e.has(t,s)}))(x);try{self["workbox:expiration:7.0.0"]&&_()}catch(oe){}const I="cache-entries",K=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class M{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(I,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),q(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=K(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(I,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(I,this._getId(e));return null==s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(I).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const c of a)await s.delete(I,c.id),i.push(c.url);return i}_getId(e){return this._cacheName+"|"+K(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:s,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(e,t),c=q(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(q(i.result),e.oldVersion,e.newVersion,q(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),c.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),c}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class O{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new M(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,u(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{if(!n)return null;const a=this._isResponseDateFresh(n),r=this._getCacheExpiration(s);u(r.expireEntries());const i=r.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(c){}return a?n:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){a.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new O(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:7.0.0"]&&_()}catch(oe){}function W(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:s,url:n}=e;if(!n)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!s){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const a=new URL(n,location.href),r=new URL(n,location.href);return a.searchParams.set("__WB_REVISION__",s),{cacheKey:a.href,url:r.href}}class S{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class A{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null==t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this._precacheController=e}}try{self["workbox:strategies:7.0.0"]&&_()}catch(oe){}function B(e){return"string"==typeof e?new Request(e):e}class j{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new d,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=B(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(c){throw a&&await this.runCallbacks("fetchDidFail",{error:c,event:s,originalRequest:a.clone(),request:r.clone()}),c}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=B(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const c of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await c({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const n=B(e);var r;await(r=0,new Promise((e=>setTimeout(e,r))));const i=await this.getCacheKey(n,"write");if(!s)throw new t("cache-put-with-no-response",{url:(c=i.url,new URL(String(c),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var c;const o=await this._ensureResponseSafeToCache(s);if(!o)return!1;const{cacheName:l,matchOptions:u}=this._strategy,d=await self.caches.open(l),p=this.hasCallback("cacheDidUpdate"),f=p?await async function(e,t,s,n){const a=h(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const c of i)if(a===h(c.url,s))return e.match(c,n)}(d,i.clone(),["__WB_REVISION__"],u):null;try{await d.put(i,p?o.clone():o)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of a)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:l,oldResponse:f,newResponse:o.clone(),request:i,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=B(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"==typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class F{constructor(e={}){this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"==typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new j(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(i){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(c){c instanceof Error&&(r=c)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}class H extends F{constructor(e={}){e.cacheName=c(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(H.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{const t=a.integrity,r=e.integrity,i=!r||r===t;n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode&&(this._useDefaultCacheabilityPluginIfNeeded(),await s.cachePut(e,n.clone()))}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!(await s.cachePut(e,n.clone())))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==H.copyRedirectedCacheableResponsesPlugin&&(n===H.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(H.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}H.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},H.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await f(e):e};class V{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new H({cacheName:c(e),plugins:[...t,new A({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"==typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=W(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!=typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e=`Workbox is precaching URLs without revision info: ${s.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return p(e,(async()=>{const t=new S;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let $;const Q=()=>($||($=new V),$);try{self["workbox:routing:7.0.0"]&&_()}catch(oe){}const G=e=>e&&"object"==typeof e?e:{handle:e};class J{constructor(e,t,s="GET"){this.handler=G(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=G(e)}}class z extends J{constructor(e,t,s){super((({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)}),t,s)}}class X{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data,s=Promise.all(t.urlsToCache.map((t=>{"string"==typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:a,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=r&&r.handler;const c=e.method;if(!i&&this._defaultHandlerMap.has(c)&&(i=this._defaultHandlerMap.get(c)),!i)return;let o;try{o=i.handle({url:s,request:e,event:t,params:a})}catch(l){o=Promise.reject(l)}const h=r&&r.catchHandler;return o instanceof Promise&&(this._catchHandler||h)&&(o=o.catch((async n=>{if(h)try{return await h.handle({url:s,request:e,event:t,params:a})}catch(r){r instanceof Error&&(n=r)}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw n}))),o}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const a=this._routes.get(s.method)||[];for(const r of a){let a;const i=r.match({url:e,sameOrigin:t,request:s,event:n});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(a=void 0),{route:r,params:a}}return{}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,G(e))}setCatchHandler(e){this._catchHandler=G(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let Y;const Z=()=>(Y||(Y=new X,Y.addFetchListener(),Y.addCacheListener()),Y);function ee(e,s,n){let a;if("string"==typeof e){const t=new URL(e,location.href);a=new J((({url:e})=>e.href===t.href),s,n)}else if(e instanceof RegExp)a=new z(e,s,n);else if("function"==typeof e)a=new J(e,s,n);else{if(!(e instanceof J))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return Z().registerRoute(a),a}class te extends J{constructor(e,t){super((({request:s})=>{const n=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}const se={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class ne extends F{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(se)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r);else try{r=await n}catch(i){i instanceof Error&&(a=i)}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}var ae;self.addEventListener("activate",(()=>self.clients.claim())),self.skipWaiting(),function(e){Q().precache(e)}([{"revision":null,"url":"assets/bootstrap-DaH2mGgW.js"},{"revision":null,"url":"assets/web-vitals-BDnzJRlM.js"},{"revision":"a10007f8fcd066d57bf6bdb2037a3427","url":"bundle.css"},{"revision":"637dd3df2c4f0e195afe72d868268955","url":"bundle.js"},{"revision":"66662e88d75fa97b4d3fa728e7328eb2","url":"index.html"},{"revision":"4cffef09f5722d1acd184ca1405c0ce0","url":"registerSW.js"},{"revision":"824be84401dd6220188834003edcfe29","url":"manifest.webmanifest"}]),function(e){const t=Q();ee(new te(t,e))}(ae),ee((({url:e})=>"https://fonts.googleapis.com"===e.origin),new ne({cacheName:"google-fonts-stylesheets",plugins:[new n({statuses:[0,200]})]})),ee((({request:{destination:e}})=>"script"===e),new ne({cacheName:"javascript-files",plugins:[new n({statuses:[0,200]}),new P({purgeOnQuotaError:!0,maxEntries:1e3,maxAgeSeconds:2592e3})]})),ee((({url:e})=>"https://fonts.gstatic.com"===e.origin),new ne({cacheName:"google-fonts-webfonts",plugins:[new n({statuses:[0,200]})]}));const re=new RegExp("/[^/?]+\\.[^/]+$");var ie;ee((({request:e,url:t})=>"navigate"===e.mode&&(!t.pathname.startsWith("/_")&&!t.pathname.match(re))),(ie="https://yiisoft.github.io/yii-dev-panel/index.html",Q().createHandlerBoundToURL(ie))),ee((({url:e})=>e.pathname.endsWith(".ico")||e.pathname.endsWith(".svg")||e.pathname.endsWith(".png")||e.pathname.endsWith(".jpeg")||e.pathname.endsWith(".jpg")||e.pathname.endsWith(".webp")),new ne({cacheName:"images",plugins:[new P({purgeOnQuotaError:!0,maxEntries:1e3})]}));const ce=/\/debug|gii|inspect\//i;self.addEventListener("fetch",(e=>{const t=e.request;"navigate"!==t.mode&&(t.url.match(re)||t.url.match(ce)||e.respondWith(fetch(e.request).then((s=>(function(e,t,s){const n=[{type:"FETCH",payload:{headers:Object.fromEntries(s.headers),url:t.url,method:t.method,status:t.status}}];n.map((t=>{self.clients.get(e).then((e=>{e.postMessage(t)}))}))}(e.clientId,t,s),s))).catch((e=>{throw console.log("sw fetch error",e),e}))))})); +try{self["workbox:core:7.0.0"]&&_()}catch(oe){}const e=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:cacheable-response:7.0.0"]&&_()}catch(oe){}class s{constructor(e={}){this._statuses=e.statuses,this._headers=e.headers}isResponseCacheable(e){let t=!0;return this._statuses&&(t=this._statuses.includes(e.status)),this._headers&&t&&(t=Object.keys(this._headers).some((t=>e.headers.get(t)===this._headers[t]))),t}}class n{constructor(e){this.cacheWillUpdate=async({response:e})=>this._cacheableResponse.isResponseCacheable(e)?e:null,this._cacheableResponse=new s(e)}}const a=new Set;const r={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},i=e=>[r.prefix,e,r.suffix].filter((e=>e&&e.length>0)).join("-"),c=e=>e||i(r.precache),o=e=>e||i(r.runtime);function h(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let l;function u(e){e.then((()=>{}))}class d{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}function p(e,t){const s=t();return e.waitUntil(s),s}async function f(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,c=function(){if(void 0===l){const t=new Response("");if("body"in t)try{new Response(t.body),l=!0}catch(e){l=!1}l=!1}return l}()?a.body:await a.blob();return new Response(c,i)}const g=(e,t)=>t.some((t=>e instanceof t));let m,w;const y=new WeakMap,b=new WeakMap,v=new WeakMap,R=new WeakMap,C=new WeakMap;let x={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return b.get(e);if("objectStoreNames"===t)return e.objectStoreNames||v.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return q(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function E(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(w||(w=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(U(this),t),q(y.get(this))}:function(...t){return q(e.apply(U(this),t))}:function(t,...s){const n=e.call(U(this),t,...s);return v.set(n,t.sort?t.sort():[t]),q(n)}}function L(e){return"function"==typeof e?E(e):(e instanceof IDBTransaction&&function(e){if(b.has(e))return;const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));b.set(e,t)}(e),g(e,m||(m=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,x):e)}function q(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(q(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&y.set(t,e)})).catch((()=>{})),C.set(t,e),t}(e);if(R.has(e))return R.get(e);const t=L(e);return t!==e&&(R.set(e,t),C.set(t,e)),t}const U=e=>C.get(e);const D=["get","getKey","getAll","getAllKeys","count"],k=["put","add","delete","clear"],T=new Map;function N(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(T.get(t))return T.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=k.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!D.includes(s))return;const r=async function(e,...t){const r=this.transaction(e,a?"readwrite":"readonly");let i=r.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[s](...t),a&&r.done]))[0]};return T.set(t,r),r}x=(e=>({...e,get:(t,s,n)=>N(t,s)||e.get(t,s,n),has:(t,s)=>!!N(t,s)||e.has(t,s)}))(x);try{self["workbox:expiration:7.0.0"]&&_()}catch(oe){}const I="cache-entries",K=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class M{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(I,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),q(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=K(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(I,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(I,this._getId(e));return null==s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(I).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const c of a)await s.delete(I,c.id),i.push(c.url);return i}_getId(e){return this._cacheName+"|"+K(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:s,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(e,t),c=q(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(q(i.result),e.oldVersion,e.newVersion,q(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),c.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),c}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class O{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new M(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,u(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{if(!n)return null;const a=this._isResponseDateFresh(n),r=this._getCacheExpiration(s);u(r.expireEntries());const i=r.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(c){}return a?n:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){a.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new O(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:7.0.0"]&&_()}catch(oe){}function W(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:s,url:n}=e;if(!n)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!s){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const a=new URL(n,location.href),r=new URL(n,location.href);return a.searchParams.set("__WB_REVISION__",s),{cacheKey:a.href,url:r.href}}class S{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class A{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null==t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this._precacheController=e}}try{self["workbox:strategies:7.0.0"]&&_()}catch(oe){}function B(e){return"string"==typeof e?new Request(e):e}class j{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new d,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=B(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(c){throw a&&await this.runCallbacks("fetchDidFail",{error:c,event:s,originalRequest:a.clone(),request:r.clone()}),c}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=B(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const c of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await c({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const n=B(e);var r;await(r=0,new Promise((e=>setTimeout(e,r))));const i=await this.getCacheKey(n,"write");if(!s)throw new t("cache-put-with-no-response",{url:(c=i.url,new URL(String(c),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var c;const o=await this._ensureResponseSafeToCache(s);if(!o)return!1;const{cacheName:l,matchOptions:u}=this._strategy,d=await self.caches.open(l),p=this.hasCallback("cacheDidUpdate"),f=p?await async function(e,t,s,n){const a=h(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const c of i)if(a===h(c.url,s))return e.match(c,n)}(d,i.clone(),["__WB_REVISION__"],u):null;try{await d.put(i,p?o.clone():o)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of a)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:l,oldResponse:f,newResponse:o.clone(),request:i,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=B(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"==typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class F{constructor(e={}){this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"==typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new j(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(i){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(c){c instanceof Error&&(r=c)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}class H extends F{constructor(e={}){e.cacheName=c(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(H.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{const t=a.integrity,r=e.integrity,i=!r||r===t;n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode&&(this._useDefaultCacheabilityPluginIfNeeded(),await s.cachePut(e,n.clone()))}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!(await s.cachePut(e,n.clone())))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==H.copyRedirectedCacheableResponsesPlugin&&(n===H.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(H.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}H.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},H.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await f(e):e};class V{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new H({cacheName:c(e),plugins:[...t,new A({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"==typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=W(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!=typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e=`Workbox is precaching URLs without revision info: ${s.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return p(e,(async()=>{const t=new S;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let $;const Q=()=>($||($=new V),$);try{self["workbox:routing:7.0.0"]&&_()}catch(oe){}const G=e=>e&&"object"==typeof e?e:{handle:e};class J{constructor(e,t,s="GET"){this.handler=G(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=G(e)}}class z extends J{constructor(e,t,s){super((({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)}),t,s)}}class X{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data,s=Promise.all(t.urlsToCache.map((t=>{"string"==typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:a,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=r&&r.handler;const c=e.method;if(!i&&this._defaultHandlerMap.has(c)&&(i=this._defaultHandlerMap.get(c)),!i)return;let o;try{o=i.handle({url:s,request:e,event:t,params:a})}catch(l){o=Promise.reject(l)}const h=r&&r.catchHandler;return o instanceof Promise&&(this._catchHandler||h)&&(o=o.catch((async n=>{if(h)try{return await h.handle({url:s,request:e,event:t,params:a})}catch(r){r instanceof Error&&(n=r)}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw n}))),o}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const a=this._routes.get(s.method)||[];for(const r of a){let a;const i=r.match({url:e,sameOrigin:t,request:s,event:n});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"==typeof i)&&(a=void 0),{route:r,params:a}}return{}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,G(e))}setCatchHandler(e){this._catchHandler=G(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let Y;const Z=()=>(Y||(Y=new X,Y.addFetchListener(),Y.addCacheListener()),Y);function ee(e,s,n){let a;if("string"==typeof e){const t=new URL(e,location.href);a=new J((({url:e})=>e.href===t.href),s,n)}else if(e instanceof RegExp)a=new z(e,s,n);else if("function"==typeof e)a=new J(e,s,n);else{if(!(e instanceof J))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return Z().registerRoute(a),a}class te extends J{constructor(e,t){super((({request:s})=>{const n=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}const se={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class ne extends F{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(se)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r);else try{r=await n}catch(i){i instanceof Error&&(a=i)}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}var ae;self.addEventListener("activate",(()=>self.clients.claim())),self.skipWaiting(),function(e){Q().precache(e)}([{"revision":null,"url":"assets/bootstrap-T6MQIkj_.js"},{"revision":null,"url":"assets/web-vitals-BDnzJRlM.js"},{"revision":"a10007f8fcd066d57bf6bdb2037a3427","url":"bundle.css"},{"revision":"9f49ee1dd73c4945843108c78685e175","url":"bundle.js"},{"revision":"66662e88d75fa97b4d3fa728e7328eb2","url":"index.html"},{"revision":"4cffef09f5722d1acd184ca1405c0ce0","url":"registerSW.js"},{"revision":"824be84401dd6220188834003edcfe29","url":"manifest.webmanifest"}]),function(e){const t=Q();ee(new te(t,e))}(ae),ee((({url:e})=>"https://fonts.googleapis.com"===e.origin),new ne({cacheName:"google-fonts-stylesheets",plugins:[new n({statuses:[0,200]})]})),ee((({request:{destination:e}})=>"script"===e),new ne({cacheName:"javascript-files",plugins:[new n({statuses:[0,200]}),new P({purgeOnQuotaError:!0,maxEntries:1e3,maxAgeSeconds:2592e3})]})),ee((({url:e})=>"https://fonts.gstatic.com"===e.origin),new ne({cacheName:"google-fonts-webfonts",plugins:[new n({statuses:[0,200]})]}));const re=new RegExp("/[^/?]+\\.[^/]+$");var ie;ee((({request:e,url:t})=>"navigate"===e.mode&&(!t.pathname.startsWith("/_")&&!t.pathname.match(re))),(ie="https://yiisoft.github.io/yii-dev-panel/index.html",Q().createHandlerBoundToURL(ie))),ee((({url:e})=>e.pathname.endsWith(".ico")||e.pathname.endsWith(".svg")||e.pathname.endsWith(".png")||e.pathname.endsWith(".jpeg")||e.pathname.endsWith(".jpg")||e.pathname.endsWith(".webp")),new ne({cacheName:"images",plugins:[new P({purgeOnQuotaError:!0,maxEntries:1e3})]}));const ce=/\/debug|gii|inspect\//i;self.addEventListener("fetch",(e=>{const t=e.request;"navigate"!==t.mode&&(t.url.match(re)||t.url.match(ce)||e.respondWith(fetch(e.request).then((s=>(function(e,t,s){const n=[{type:"FETCH",payload:{headers:Object.fromEntries(s.headers),url:t.url,method:t.method,status:t.status}}];n.map((t=>{self.clients.get(e).then((e=>{e.postMessage(t)}))}))}(e.clientId,t,s),s))).catch((e=>{throw console.log("sw fetch error",e),e}))))})); diff --git a/toolbar/assets/bootstrap-Vl10pLMB.js b/toolbar/assets/bootstrap-_9_jIAvv.js similarity index 98% rename from toolbar/assets/bootstrap-Vl10pLMB.js rename to toolbar/assets/bootstrap-_9_jIAvv.js index 2bf0958..e0926af 100644 --- a/toolbar/assets/bootstrap-Vl10pLMB.js +++ b/toolbar/assets/bootstrap-_9_jIAvv.js @@ -158,4 +158,4 @@ function oO(){return oO=Object.assign?Object.assign.bind():function(e){for(var t * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function eR(){return eR=Object.assign?Object.assign.bind():function(e){for(var t=1;t{}));const tR=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(Mg){}function nR(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=eR({},t,{errors:rR(t.errors)})),t}function rR(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&"RouteErrorResponse"===o.__type)n[r]=new FO(o.status,o.statusText,o.data,!0===o.internal);else if(o&&"Error"===o.__type){if(o.__subType){let e=window[o.__subType];if("function"==typeof e)try{let t=new e(o.message);t.stack="",n[r]=t}catch(Mg){}}if(null==n[r]){let e=new Error(o.message);e.stack="",n[r]=e}}else n[r]=o;return n}const oR=W.createContext({isTransitioning:!1}),aR=W.createContext(new Map),iR=q.startTransition,lR=hf.flushSync;function uR(e){lR?lR(e):e()}class sR{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function cR(e){let{fallbackElement:t,router:n,future:r}=e,[o,a]=W.useState(n.state),[i,l]=W.useState(),[u,s]=W.useState({isTransitioning:!1}),[c,f]=W.useState(),[d,p]=W.useState(),[h,m]=W.useState(),v=W.useRef(new Map),{v7_startTransition:g}=r||{},y=W.useCallback((e=>{g?function(e){iR?iR(e):e()}(e):e()}),[g]),b=W.useCallback(((e,t)=>{let{deletedFetchers:r,unstable_flushSync:o,unstable_viewTransitionOpts:i}=t;r.forEach((e=>v.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&v.current.set(t,e.data)}));let u=null==n.window||"function"!=typeof n.window.document.startViewTransition;if(i&&!u){if(o){uR((()=>{d&&(c&&c.resolve(),d.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})}));let t=n.window.document.startViewTransition((()=>{uR((()=>a(e)))}));return t.finished.finally((()=>{uR((()=>{f(void 0),p(void 0),l(void 0),s({isTransitioning:!1})}))})),void uR((()=>p(t)))}d?(c&&c.resolve(),d.skipTransition(),m({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(l(e),s({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))}else o?uR((()=>a(e))):y((()=>a(e)))}),[n.window,d,c,v,y]);W.useLayoutEffect((()=>n.subscribe(b)),[n,b]),W.useEffect((()=>{u.isTransitioning&&!u.flushSync&&f(new sR)}),[u]),W.useEffect((()=>{if(c&&i&&n.window){let e=i,t=c.promise,r=n.window.document.startViewTransition((async()=>{y((()=>a(e))),await t}));r.finished.finally((()=>{f(void 0),p(void 0),l(void 0),s({isTransitioning:!1})})),p(r)}}),[y,i,c,n.window]),W.useEffect((()=>{c&&i&&o.location.key===i.location.key&&c.resolve()}),[c,d,o.location,i]),W.useEffect((()=>{!u.isTransitioning&&h&&(l(h.state),s({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),m(void 0))}),[u.isTransitioning,h]),W.useEffect((()=>{}),[]);let w=W.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),x=n.basename||"/",S=W.useMemo((()=>({router:n,navigator:w,static:!1,basename:x})),[n,w,x]);return W.createElement(W.Fragment,null,W.createElement(jP.Provider,{value:S},W.createElement(MP.Provider,{value:o},W.createElement(aR.Provider,{value:v.current},W.createElement(oR.Provider,{value:u},W.createElement(JP,{basename:x,location:o.location,navigationType:o.historyAction,navigator:w,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?W.createElement(fR,{routes:n.routes,future:n.future,state:o}):t))))),null)}function fR(e){let{routes:t,future:n,state:r}=e;return UP(t,void 0,r,n)}const dR="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,pR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hR=W.forwardRef((function(e,t){let n,{onClick:r,relative:o,reloadDocument:a,replace:i,state:l,target:u,to:s,preventScrollReset:c,unstable_viewTransition:f}=e,d=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,tR),{basename:p}=W.useContext(DP),h=!1;if("string"==typeof s&&pR.test(s)&&(n=s,dR))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),n=jO(t.pathname,p);t.origin===e.origin&&null!=n?s=n+t.search+t.hash:h=!0}catch(Mg){}let m=AP(s,{relative:o}),v=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l}=void 0===t?{}:t,u=BP(),s=zP(),c=WP(e,{relative:i});return W.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:fO(s)===fO(c);u(e,{replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l})}}),[s,u,c,r,o,n,e,a,i,l])}(s,{replace:i,state:l,target:u,preventScrollReset:c,relative:o,unstable_viewTransition:f});return W.createElement("a",eR({},d,{href:n||m,onClick:h||a?r:function(e){r&&r(e),e.defaultPrevented||v(e)},ref:t,target:u}))}));var mR,vR,gR,yR;(vR=mR||(mR={})).UseScrollRestoration="useScrollRestoration",vR.UseSubmit="useSubmit",vR.UseSubmitFetcher="useSubmitFetcher",vR.UseFetcher="useFetcher",vR.useViewTransitionState="useViewTransitionState",(yR=gR||(gR={})).UseFetcher="useFetcher",yR.UseFetchers="useFetchers",yR.UseScrollRestoration="useScrollRestoration";const bR=e=>U.forwardRef(((t,n)=>{let{href:r,...o}=t;const a=AP(r);return"string"!=typeof r&&(r="#"),"#"===r||r.startsWith("http://")||r.startsWith("https://")?te.jsx("a",{href:r,ref:n,...o}):(e.openLinksInNewWindow&&(o={...o,target:"_blank"}),e.baseUrl?te.jsx("a",{href:e.baseUrl+a,ref:n,...o}):te.jsx(hR,{ref:n,to:r,...o}))})),wR=({children:e})=>{const t=function(e,t={}){const n=sg(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:a=(r?window.matchMedia:null),ssrMatchMedia:i=null,noSsr:l=!1}=Xg({name:"MuiUseMediaQuery",props:t,theme:n});let u="function"==typeof e?e(n):e;return u=u.replace(/^@media( ?)/m,""),(void 0!==ey?ty:Zg)(u,o,a,i,l)}("(prefers-color-scheme: dark)"),n=t?"dark":"light",r=W.useContext(_p),o=Ib({palette:{mode:n,primary:{main:"#00617B"},secondary:{main:"#873C00"}},components:{MuiLink:{defaultProps:{component:bR(r)}},MuiButtonBase:{defaultProps:{LinkComponent:bR(r)}}}});return te.jsx(mw,{theme:o,children:e})},xR={},SR=[];var kR={},ER={};const CR=o(kw);var _R;function OR(){return _R||(_R=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=CR}(ER)),ER}var PR=Yy;Object.defineProperty(kR,"__esModule",{value:!0});var RR=kR.default=void 0,TR=PR(OR()),jR=ee;RR=kR.default=(0,TR.default)((0,jR.jsx)("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"}),"List");const MR=rp({name:"application",initialState:{baseUrl:"",preferredPageSize:20,toolbarOpen:!0,favoriteUrls:[],autoLatest:!1,iframeHeight:400},reducers:{changeBaseUrl(e,t){e.baseUrl=t.payload},setToolbarOpen(e,t){e.toolbarOpen=t.payload},setPreferredPageSize(e,t){e.preferredPageSize=t.payload},addFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);e.favoriteUrls=Array.from(n.add(t.payload).values())},removeFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);n.delete(t.payload),e.favoriteUrls=Array.from(n.values())},changeAutoLatest:(e,t)=>{e.autoLatest=t.payload},setIFrameHeight:(e,t)=>{e.iframeHeight=t.payload}}}),{changeBaseUrl:DR,changeAutoLatest:NR,setToolbarOpen:IR,setPreferredPageSize:LR,addFavoriteUrl:AR,removeFavoriteUrl:$R,setIFrameHeight:zR}=MR.actions,FR=rp({name:"store.debug",initialState:{entry:null,currentPageRequestIds:[]},reducers:{changeEntryAction:(e,t)=>{e.entry=t.payload},addCurrentPageRequestId:(e,t)=>{e.currentPageRequestIds=[...e.currentPageRequestIds,t.payload].slice(0,100)}}}),{changeEntryAction:BR,addCurrentPageRequestId:WR}=FR.actions,UR=()=>mf.useSelector((e=>e[FR.name]?.entry));var qR,HR,VR=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=200&&e.status<=299},pT=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function hT(e){if(!Yd(e))return e;for(var t=tT({},e),n=0,r=Object.entries(t);n=c)}var c=sp(n+"/executeQuery",u,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[Sp]=!0,e},condition:function(e,t){var r,a,i,l=(0,t.getState)(),u=null==(a=null==(r=l[n])?void 0:r.queries)?void 0:a[e.queryCacheKey],c=null==u?void 0:u.fulfilledTimeStamp,f=e.originalArgs,d=null==u?void 0:u.originalArgs,p=o[e.endpointName];return!(!RT(e)&&("pending"===(null==u?void 0:u.status)||!s(e,l)&&(!ET(p)||!(null==(i=null==p?void 0:p.forceRefetch)?void 0:i.call(p,{currentArg:f,previousArg:d,endpointState:u,state:l})))&&c))},dispatchConditionRejection:!0}),f=sp(n+"/executeMutation",u,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[Sp]=!0,e}});function d(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:c,mutationThunk:f,prefetch:function(e,t,n){return function(r,o){var a=function(e){return"force"in e}(n)&&n.force,l=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,u=function(n){return void 0===n&&(n=!0),i.endpoints[e].initiate(t,{forceRefetch:n})},s=i.endpoints[e].select(t)(o());if(a)r(u());else if(l){var c=null==s?void 0:s.fulfilledTimeStamp;if(!c)return void r(u());(Number(new Date)-Number(new Date(c)))/1e3>=l&&r(u())}else r(u(!1))}},updateQueryData:function(e,t,n,r){return void 0===r&&(r=!0),function(o,a){var l,u,s,c=i.endpoints[e].select(t)(a()),f={patches:[],inversePatches:[],undo:function(){return o(i.util.patchQueryData(e,t,f.inversePatches,r))}};if(c.status===qR.uninitialized)return f;if("data"in c)if(yf(c.data)){var d=pd(c.data,n),p=d[0],h=d[1],m=d[2];(l=f.patches).push.apply(l,h),(u=f.inversePatches).push.apply(u,m),s=p}else s=n(c.data),f.patches.push({op:"replace",path:[],value:s}),f.inversePatches.push({op:"replace",path:[],value:c.data});return o(i.util.patchQueryData(e,t,f.patches,r)),f}},upsertQueryData:function(e,t,n){return function(r){var o;return r(i.endpoints[e].initiate(t,((o={subscribe:!1,forceRefetch:!0})[PT]=function(){return{data:n}},o)))}},patchQueryData:function(e,t,n,r){return function(u,s){var c=o[e],f=a({queryArgs:t,endpointDefinition:c,endpointName:e});if(u(i.internalActions.queryResultPatched({queryCacheKey:f,patches:n})),r){var d=i.endpoints[e].select(t)(s()),p=CT(c.providesTags,d.data,void 0,t,{},l);u(i.internalActions.updateProvidedBy({queryCacheKey:f,providedTags:p}))}}},buildMatchThunkActions:function(e,t){return{matchPending:pp(vp(e),d(t)),matchFulfilled:pp(bp(e),d(t)),matchRejected:pp(gp(e),d(t))}}}}({baseQuery:r,reducerPath:o,context:n,api:e,serializeQueryArgs:a,assertTagType:c}),d=f.queryThunk,p=f.mutationThunk,h=f.patchQueryData,m=f.updateQueryData,v=f.upsertQueryData,g=f.prefetch,y=f.buildMatchThunkActions,b=LT({context:n,queryThunk:d,mutationThunk:p,reducerPath:o,assertTagType:c,config:{refetchOnFocus:u,refetchOnReconnect:s,refetchOnMountOrArgChange:l,keepUnusedDataFor:i,reducerPath:o}}),w=b.reducer,x=b.actions;nj(e.util,{patchQueryData:h,updateQueryData:m,upsertQueryData:v,prefetch:g,resetApiState:x.resetApiState}),nj(e.internalActions,x);var S=tj({reducerPath:o,context:n,queryThunk:d,mutationThunk:p,api:e,assertTagType:c}),k=S.middleware,E=S.actions;nj(e.util,E),nj(e,{reducer:w,middleware:k});var C=BT({serializeQueryArgs:a,reducerPath:o}),_=C.buildQuerySelector,O=C.buildMutationSelector,P=C.selectInvalidatedBy;nj(e.util,{selectInvalidatedBy:P});var R=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,o=e.api,a=e.context,i=new Map,l=new Map,u=o.internalActions,s=u.unsubscribeQueryResult,c=u.removeMutationResult,f=u.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var a=function(l,u){var c=void 0===u?{}:u,d=c.subscribe,p=void 0===d||d,h=c.forceRefetch,m=c.subscriptionOptions,v=c[PT];return function(u,c){var d,g,y=t({queryArgs:l,endpointDefinition:r,endpointName:e}),b=n(((d={type:"query",subscribe:p,forceRefetch:h,subscriptionOptions:m,endpointName:e,originalArgs:l,queryCacheKey:y})[PT]=v,d)),w=o.endpoints[e].select(l),x=u(b),S=w(c()),k=x.requestId,E=x.abort,C=S.requestId!==k,_=null==(g=i.get(u))?void 0:g[y],O=function(){return w(c())},P=Object.assign(v?x.then(O):C&&!_?Promise.resolve(S):Promise.all([_,x]).then(O),{arg:l,requestId:k,subscriptionOptions:m,queryCacheKey:y,abort:E,unwrap:function(){return oT(this,null,(function(){var e;return VR(this,(function(t){switch(t.label){case 0:return[4,P];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}}))}))},refetch:function(){return u(a(l,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){p&&u(s({queryCacheKey:y,requestId:k}))},updateSubscriptionOptions:function(t){P.subscriptionOptions=t,u(f({endpointName:e,requestId:k,queryCacheKey:y,options:t}))}});if(!_&&!C&&!v){var R=i.get(u)||{};R[y]=P,i.set(u,R),P.then((function(){delete R[y],Object.keys(R).length||i.delete(u)}))}return P}};return a},buildInitiateMutation:function(e){return function(t,n){var o=void 0===n?{}:n,a=o.track,i=void 0===a||a,u=o.fixedCacheKey;return function(n,o){var a=r({type:"mutation",endpointName:e,originalArgs:t,track:i,fixedCacheKey:u}),s=n(a),f=s.requestId,d=s.abort,p=s.unwrap,h=s.unwrap().then((function(e){return{data:e}})).catch((function(e){return{error:e}})),m=function(){n(c({requestId:f,fixedCacheKey:u}))},v=Object.assign(h,{arg:s.arg,requestId:f,abort:d,unwrap:p,unsubscribe:m,reset:m}),g=l.get(n)||{};return l.set(n,g),g[f]=v,v.then((function(){delete g[f],Object.keys(g).length||l.delete(n)})),u&&(g[u]=v,v.then((function(){g[u]===v&&(delete g[u],Object.keys(g).length||l.delete(n))}))),v}}},getRunningQueryThunk:function(e,n){return function(r){var o,l=a.endpointDefinitions[e],u=t({queryArgs:n,endpointDefinition:l,endpointName:e});return null==(o=i.get(r))?void 0:o[u]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=l.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(i.get(e)||{}).filter(OT)}},getRunningMutationsThunk:function(){return function(e){return Object.values(l.get(e)||{}).filter(OT)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap((function(e){return e?Object.values(e):[]}))};return KR(KR([],e(i)),e(l)).filter(OT)},removalWarning:d};function d(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}}({queryThunk:d,mutationThunk:p,api:e,serializeQueryArgs:a,context:n}),T=R.buildInitiateQuery,j=R.buildInitiateMutation,M=R.getRunningMutationThunk,D=R.getRunningMutationsThunk,N=R.getRunningQueriesThunk,I=R.getRunningQueryThunk,L=R.getRunningOperationPromises,A=R.removalWarning;return nj(e.util,{getRunningOperationPromises:L,getRunningOperationPromise:A,getRunningMutationThunk:M,getRunningMutationsThunk:D,getRunningQueryThunk:I,getRunningQueriesThunk:N}),{name:rj,injectEndpoint:function(t,n){var r,o=e;null!=(r=o.endpoints)[t]||(r[t]={}),ET(n)?nj(o.endpoints[t],{name:t,select:_(t,n),initiate:T(t,n)},y(d,t)):function(e){return e.type===mT.mutation}(n)&&nj(o.endpoints[t],{name:t,select:O(),initiate:j(t)},y(p,t))}}}},(_j=(Cj=void 0===Ej?{}:Ej).batch,Oj=void 0===_j?mf.batch:_j,Pj=Cj.useDispatch,Rj=void 0===Pj?mf.useDispatch:Pj,Tj=Cj.useSelector,jj=void 0===Tj?mf.useSelector:Tj,Mj=Cj.useStore,Dj=void 0===Mj?mf.useStore:Mj,Nj=Cj.unstable__sideEffectsInRender,Ij=void 0!==Nj&&Nj,{name:Lj,init:function(e,t,n){var r=t.serializeQueryArgs,o=e,a=function(e){var t=e.api,n=e.moduleOptions,r=n.batch,o=n.useDispatch,a=n.useSelector,i=n.useStore,l=n.unstable__sideEffectsInRender,u=e.serializeQueryArgs,s=e.context,c=l?function(e){return e()}:W.useEffect;return{buildQueryHooks:function(e){var n=function(n,r){var a=void 0===r?{}:r,i=a.refetchOnReconnect,l=a.refetchOnFocus,u=a.refetchOnMountOrArgChange,f=a.skip,d=void 0!==f&&f,p=a.pollingInterval,h=void 0===p?0:p,m=t.endpoints[e].initiate,v=o(),g=pj(d?AT:n,yj,s.endpointDefinitions[e],e),y=mj({refetchOnReconnect:i,refetchOnFocus:l,pollingInterval:h}),b=W.useRef(!1),w=W.useRef(),x=w.current||{},S=x.queryCacheKey,k=x.requestId,E=!1;if(S&&k){var C=v(t.internalActions.internal_probeSubscription({queryCacheKey:S,requestId:k}));E=!!C}var _=!E&&b.current;return c((function(){b.current=E})),c((function(){_&&(w.current=void 0)}),[_]),c((function(){var e,t=w.current;if(g===AT)return null==t||t.unsubscribe(),void(w.current=void 0);var n=null==(e=w.current)?void 0:e.subscriptionOptions;if(t&&t.arg===g)y!==n&&t.updateSubscriptionOptions(y);else{null==t||t.unsubscribe();var r=v(m(g,{subscriptionOptions:y,forceRefetch:u}));w.current=r}}),[v,m,u,g,y,_]),W.useEffect((function(){return function(){var e;null==(e=w.current)||e.unsubscribe(),w.current=void 0}}),[]),W.useMemo((function(){return{refetch:function(){var e;if(!w.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=w.current)?void 0:e.refetch()}}}),[])},l=function(n){var a=void 0===n?{}:n,i=a.refetchOnReconnect,l=a.refetchOnFocus,u=a.pollingInterval,s=void 0===u?0:u,f=t.endpoints[e].initiate,d=o(),p=W.useState(hj),h=p[0],m=p[1],v=W.useRef(),g=mj({refetchOnReconnect:i,refetchOnFocus:l,pollingInterval:s});c((function(){var e,t,n=null==(e=v.current)?void 0:e.subscriptionOptions;g!==n&&(null==(t=v.current)||t.updateSubscriptionOptions(g))}),[g]);var y=W.useRef(g);c((function(){y.current=g}),[g]);var b=W.useCallback((function(e,t){var n;return void 0===t&&(t=!1),r((function(){var r;null==(r=v.current)||r.unsubscribe(),v.current=n=d(f(e,{subscriptionOptions:y.current,forceRefetch:!t})),m(e)})),n}),[d,f]);return W.useEffect((function(){return function(){var e;null==(e=null==v?void 0:v.current)||e.unsubscribe()}}),[]),W.useEffect((function(){h===hj||v.current||b(h,!0)}),[h,b]),W.useMemo((function(){return[b,h]}),[b,h])},d=function(n,r){var o=void 0===r?{}:r,l=o.skip,c=void 0!==l&&l,d=o.selectFromResult,p=t.endpoints[e].select,h=pj(c?AT:n,u,s.endpointDefinitions[e],e),m=W.useRef(),v=W.useMemo((function(){return jd([p(h),function(e,t){return t},function(e){return h}],f)}),[p,h]),g=W.useMemo((function(){return d?jd([v],d):v}),[v,d]),y=a((function(e){return g(e,m.current)}),mf.shallowEqual),b=i(),w=v(b.getState(),m.current);return bj((function(){m.current=w}),[w]),y};return{useQueryState:d,useQuerySubscription:n,useLazyQuerySubscription:l,useLazyQuery:function(e){var t=l(e),n=t[0],r=t[1],o=d(r,dj(fj({},e),{skip:r===hj})),a=W.useMemo((function(){return{lastArg:r}}),[r]);return W.useMemo((function(){return[n,o,a]}),[n,o,a])},useQuery:function(e,t){var r=n(e,t),o=d(e,fj({selectFromResult:e===AT||(null==t?void 0:t.skip)?void 0:xj},t)),a=o.data,i=o.status,l=o.isLoading,u=o.isSuccess,s=o.isError,c=o.error;return W.useDebugValue({data:a,status:i,isLoading:l,isSuccess:u,isError:s,error:c}),W.useMemo((function(){return fj(fj({},o),r)}),[o,r])}}},buildMutationHook:function(e){return function(n){var i=void 0===n?{}:n,l=i.selectFromResult,u=void 0===l?wj:l,s=i.fixedCacheKey,c=t.endpoints[e],f=c.select,d=c.initiate,p=o(),h=W.useState(),m=h[0],v=h[1];W.useEffect((function(){return function(){(null==m?void 0:m.arg.fixedCacheKey)||null==m||m.reset()}}),[m]);var g=W.useCallback((function(e){var t=p(d(e,{fixedCacheKey:s}));return v(t),t}),[p,d,s]),y=(m||{}).requestId,b=W.useMemo((function(){return jd([f({fixedCacheKey:s,requestId:null==m?void 0:m.requestId})],u)}),[f,m,u,s]),w=a(b,mf.shallowEqual),x=null==s?null==m?void 0:m.arg.originalArgs:void 0,S=W.useCallback((function(){r((function(){m&&v(void 0),s&&p(t.internalActions.removeMutationResult({requestId:y,fixedCacheKey:s}))}))}),[p,s,m,y]),k=w.endpointName,E=w.data,C=w.status,_=w.isLoading,O=w.isSuccess,P=w.isError,R=w.error;W.useDebugValue({endpointName:k,data:E,status:C,isLoading:_,isSuccess:O,isError:P,error:R});var T=W.useMemo((function(){return dj(fj({},w),{originalArgs:x,reset:S})}),[w,x,S]);return W.useMemo((function(){return[g,T]}),[g,T])}},usePrefetch:function(e,n){var r=o(),a=mj(n);return W.useCallback((function(n,o){return r(t.util.prefetch(e,n,fj(fj({},a),o)))}),[e,r,a])}};function f(e,t,n){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var r=t.endpointName,o=s.endpointDefinitions[r];u({queryArgs:t.originalArgs,endpointDefinition:o,endpointName:r})===u({queryArgs:n,endpointDefinition:o,endpointName:r})&&(t=void 0)}var a=e.isSuccess?e.data:null==t?void 0:t.data;void 0===a&&(a=e.data);var i=void 0!==a,l=e.isLoading,c=!i&&l,f=e.isSuccess||l&&i;return dj(fj({},e),{data:a,currentData:e.data,isFetching:l,isLoading:c,isSuccess:f})}}({api:e,moduleOptions:{batch:Oj,useDispatch:Rj,useSelector:jj,useStore:Dj,unstable__sideEffectsInRender:Ij},serializeQueryArgs:r,context:n}),i=a.buildQueryHooks,l=a.buildMutationHook,u=a.usePrefetch;return kj(o,{usePrefetch:u}),kj(n,{batch:Oj}),{injectEndpoint:function(t,n){if(function(e){return e.type===vj.query}(n)){var r=i(t),a=r.useQuery,u=r.useLazyQuery,s=r.useLazyQuerySubscription,c=r.useQueryState,f=r.useQuerySubscription;kj(o.endpoints[t],{useQuery:a,useLazyQuery:u,useLazyQuerySubscription:s,useQueryState:c,useQuerySubscription:f}),e["use"+Sj(t)+"Query"]=a,e["useLazy"+Sj(t)+"Query"]=u}else if(function(e){return e.type===vj.mutation}(n)){var d=l(t);kj(o.endpoints[t],{useMutation:d}),e["use"+Sj(t)+"Mutation"]=d}}}}}));const $j=Aj({reducerPath:"api.debug",tagTypes:["debug/list"],baseQuery:(zj="/debug/api/",async(e,t,n)=>{const r=function(e){var t=this;void 0===e&&(e={});var n=e,r=n.baseUrl,o=n.prepareHeaders,a=void 0===o?function(e){return e}:o,i=n.fetchFn,l=void 0===i?fT:i,u=n.paramsSerializer,s=n.isJsonContentType,c=void 0===s?pT:s,f=n.jsonContentType,d=void 0===f?"application/json":f,p=n.jsonReplacer,h=n.timeout,m=n.responseHandler,v=n.validateStatus,g=rT(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return"undefined"==typeof fetch&&l===fT&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(e,n){return oT(t,null,(function(){var t,o,i,s,f,b,w,x,S,k,E,C,_,O,P,R,T,j,M,D,N,I,L,A,$,z,F,B,W,U,q,H,V,K,Y,Q;return VR(this,(function(G){switch(G.label){case 0:return t=n.signal,o=n.getState,i=n.extra,s=n.endpoint,f=n.forced,b=n.type,S=(x="string"==typeof e?{url:e}:e).url,k=x.headers,E=void 0===k?new Headers(g.headers):k,C=x.params,_=void 0===C?void 0:C,O=x.responseHandler,P=void 0===O?null!=m?m:"json":O,R=x.validateStatus,T=void 0===R?null!=v?v:dT:R,j=x.timeout,M=void 0===j?h:j,D=rT(x,["url","headers","params","responseHandler","validateStatus","timeout"]),N=tT(nT(tT({},g),{signal:t}),D),E=new Headers(hT(E)),I=N,[4,a(E,{getState:o,extra:i,endpoint:s,forced:f,type:b})];case 1:I.headers=G.sent()||E,L=function(e){return"object"==typeof e&&(Yd(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!N.headers.has("content-type")&&L(N.body)&&N.headers.set("content-type",d),L(N.body)&&c(N.headers)&&(N.body=JSON.stringify(N.body,p)),_&&(A=~S.indexOf("?")?"&":"?",$=u?u(_):new URLSearchParams(hT(_)),S+=A+$),S=lT(r,S),z=new Request(S,N),F=new Request(S,N),w={request:F},W=!1,U=M&&setTimeout((function(){W=!0,n.abort()}),M),G.label=2;case 2:return G.trys.push([2,4,5,6]),[4,l(z)];case 3:return B=G.sent(),[3,6];case 4:return q=G.sent(),[2,{error:{status:W?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(q)},meta:w}];case 5:return U&&clearTimeout(U),[7];case 6:H=B.clone(),w.response=H,K="",G.label=7;case 7:return G.trys.push([7,9,,10]),[4,Promise.all([y(B,P).then((function(e){return V=e}),(function(e){return Y=e})),H.text().then((function(e){return K=e}),(function(){}))])];case 8:if(G.sent(),Y)throw Y;return[3,10];case 9:return Q=G.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:B.status,data:K,error:String(Q)},meta:w}];case 10:return[2,T(B,V)?{data:V,meta:w}:{error:{status:B.status,data:V},meta:w}]}}))}))};function y(e,t){return oT(this,null,(function(){var n;return VR(this,(function(r){switch(r.label){case 0:return"function"==typeof t?[2,t(e)]:("content-type"===t&&(t=c(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}}))}))}}({baseUrl:(t.getState().application?.baseUrl||"").replace(/\/$/,"")+zj,referrerPolicy:"no-referrer",headers:{Accept:"application/json","Content-Type":"application/json"}});return r(e,t,n)}),endpoints:e=>({getDebug:e.query({query:()=>"",transformResponse:e=>e.data||[],providesTags:["debug/list"]}),getObject:e.query({query:e=>`object/${e.debugEntryId}/${e.objectId}`,transformResponse:e=>e.data}),getCollectorInfo:e.query({query:e=>`view/${e.id}?collector=${e.collector}`,transformResponse:e=>e.data||[],transformErrorResponse:e=>e.data})})});var zj;const{useGetDebugQuery:Fj,useLazyGetDebugQuery:Bj,useGetObjectQuery:Wj,useLazyGetObjectQuery:Uj,useLazyGetCollectorInfoQuery:qj}=$j;function Hj(e){return te.jsxs(ww,{width:"128",height:"128",viewBox:"0 0 128 128",fill:"none",...e,children:[te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8408C69.107 54.6204 66.3466 50.6693 66.3448 50.6758C66.3395 50.6937 63.8596 64.1219 59.4008 73.8374C58.6566 75.4599 57.6681 77.4858 56.6706 79.1173C53.5924 84.5783 49.1259 89.8028 46.4639 95.0981C43.8245 100.346 43.3347 105.544 43.5802 111.453C43.8274 117.395 45.1937 123.223 46.5054 129C51.4499 127.928 55.7533 126.094 59.4761 123.749C69.2731 117.577 75.193 107.706 76.8753 97.0716C76.8753 97.0716 76.9572 96.6396 76.9939 96.1129C77.7524 87.8936 77.5015 85.3005 77.2531 82.0012Z",fill:e.monochromeColor??"#40B3D8"}),te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8409C69.107 54.6204 66.3466 50.6693 66.3448 50.6758L66.3442 50.6788C66.3442 50.677 66.3448 50.6753 66.3448 50.6753L65.686 49.6909C51.2382 29.312 23.5302 19.1371 0.119787 28.5678C-1.00751 42.8522 5.5831 67.4296 29.6275 74.2849C39.3479 77.2898 47.1316 76.5104 56.6712 79.1167C56.6706 79.1167 56.6706 79.1173 56.6706 79.1173C56.6706 79.1173 66.3674 82.5131 72.0086 87.6053C74.546 89.8952 77.087 92.909 76.9595 96.4937C77.7631 87.9628 77.5057 85.3529 77.2531 82.0012Z",fill:e.monochromeColor??"#83C933"}),te.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.7534 38.717C63.3372 28.6738 64.7847 21.9442 71.0349 12.5791C74.0159 8.1108 79.1626 2.92804 83.6735 0C101.873 11.4595 108.603 32.8043 101.909 52.6279C97.0385 67.0518 92.4683 73.0997 80.9125 87.9401C82.2592 72.0462 76.6921 61.0271 71.2264 48.7834C69.8353 45.6683 67.9116 42.1223 66.7534 38.717Z",fill:e.monochromeColor??"#F18A2A"}),te.jsx("path",{d:"M76.9596 96.4936C77.0871 92.909 74.546 89.8951 72.0086 87.6053C66.3674 82.5131 56.6712 79.1173 56.6712 79.1173C57.6687 77.4858 58.6572 75.4599 59.4014 73.8374C63.8602 64.1219 66.3401 50.6937 66.3454 50.6758C66.3472 50.6699 69.107 54.6204 70.9027 58.8409C72.6989 63.0625 76.3867 70.5101 77.2537 82.0012C77.5057 85.3529 77.7631 87.9628 76.9596 96.4936Z",fill:e.monochromeColor??"#7FB93C"})]})}function Vj(e){return e&&"console"in e}function Kj(e){return e&&"web"in e}var Yj={},Qj=Yy;Object.defineProperty(Yj,"__esModule",{value:!0});var Gj=Yj.default=void 0,Xj=Qj(OR()),Jj=ee;Gj=Yj.default=(0,Xj.default)((0,Jj.jsx)("path",{d:"M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5zm2.5-.5h1.5V15H10v-4.5h1.5V9H7zm5.5 0H14V15h1.5v-4.5H17V9h-4.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5m0 2.5h-2v-1h2z"}),"Http");var Zj={},eM=Yy;Object.defineProperty(Zj,"__esModule",{value:!0});var tM=Zj.default=void 0,nM=eM(OR()),rM=ee;tM=Zj.default=(0,nM.default)((0,rM.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");var oM={},aM=Yy;Object.defineProperty(oM,"__esModule",{value:!0});var iM=oM.default=void 0,lM=aM(OR()),uM=ee;iM=oM.default=(0,lM.default)((0,uM.jsx)("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"}),"SyncAlt");var sM={},cM=Yy;Object.defineProperty(sM,"__esModule",{value:!0});var fM=sM.default=void 0,dM=cM(OR()),pM=ee;fM=sM.default=(0,dM.default)((0,pM.jsx)("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal");const hM=({label:e,icon:t,color:n})=>te.jsx(Mk,{sx:{borderRadius:"5px 5px",margin:"0 2px"},icon:t,label:e,color:n}),mM=e=>{switch(!0){case e>=400:return"error";case e>=300:return"warning";case e>=200:return"success"}return"info"},vM=({entry:e})=>{return Vj(e)?te.jsx(hM,{icon:te.jsx(fM,{}),label:e.command?.exitCode,color:(t=Number(e.command?.exitCode),0===t?"success":"error")}):Kj(e)?te.jsx(hM,{label:[e.response?.statusCode,e.request.method].join(" "),color:mM(e.response?.statusCode)}):null;var t},gM=U.memo((({entry:e,onClick:t,selected:n,rightText:r})=>te.jsxs(yC,{onClick:()=>t(e),defaultChecked:n,children:[te.jsx(kC,{children:te.jsx(vM,{entry:e})}),te.jsx(PC,{primary:e.request?.path??e.command?.input}),r&&te.jsx(D_,{title:"The request was made by the current page",children:te.jsx(iM,{})})]}))),yM=(e,t)=>n=>{let r=!1;return e.includes("web")&&Kj(n)&&(r=!0),e.includes("console")&&Vj(n)&&(r=!0),e.includes("current")&&t.includes(n.id)&&(r=!0),r},bM=({onClick:e,onClose:t,open:n})=>{const r=Fj(),o=UR(),[a,i]=W.useState([]),[l,u]=W.useState((()=>["web","console","current"])),s=mf.useSelector((e=>e[FR.name]?.currentPageRequestIds));return W.useEffect((()=>{!r.isFetching&&r.data&&r.data.length>0&&i(r.data)}),[r.isFetching]),te.jsxs(HE,{fullWidth:!0,onClose:()=>t(),open:n,children:[te.jsx(QE,{children:"Select a debug entry"}),te.jsxs(pC,{sx:{pt:0},children:[te.jsxs(rO,{fullWidth:!0,size:"small",color:"primary",value:l,onChange:(e,t)=>{u(t)},children:[te.jsx(X_,{value:"web",children:te.jsx(Gj,{})}),te.jsx(X_,{value:"console",children:te.jsx(fM,{})}),te.jsx(X_,{value:"current",children:"Current"}),te.jsx(uE,{color:"primary",onClick:()=>r.refetch(),disabled:r.isFetching,children:r.isFetching?te.jsx(RE,{size:24,color:"info"}):te.jsx(tM,{})})]}),a.filter(yM(l,s)).map((t=>te.jsx(gM,{entry:t,onClick:e,selected:o&&t.id===o.id,rightText:s.includes(t.id)?"Current":null},t.id)))]})]})},wM=xw(ee.jsx("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject"),xM=xw([ee.jsx("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),ee.jsx("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 8h-8V7h8zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4z"},"1")],"DynamicFeed"),SM=xw(ee.jsx("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"Input"),kM=xw(ee.jsx("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2z"}),"Repeat"),EM=xw(ee.jsx("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82"}),"Route"),CM=xw(ee.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal"),_M=({data:e})=>{if(!e.command)return null;const[t,n]=W.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(D_,{title:"Click to see more options",arrow:!0,children:te.jsx(uE,{startIcon:te.jsx(CM,{fontSize:"small"}),color:(a=e.command.exitCode,0===a?"success":"error"),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:e.command.name})}),te.jsxs(t_,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(kM,{fontSize:"small"})}),"Repeat"]}),e.command.class&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(wM,{fontSize:"small"})}),te.jsx(PC,{children:"Class"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:e.command.class})]}),e.command.input&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(SM,{fontSize:"small"})}),te.jsx(PC,{children:"Input"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:e.command.input})]})]})]});var a};function OM(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function PM(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function RM(e){PM(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===md(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}var TM={};function jM(){return TM}function MM(e){if(PM(1,arguments),!function(e){return PM(1,arguments),e instanceof Date||"object"===md(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=RM(e);return!isNaN(Number(t))}function DM(e,t){return PM(2,arguments),function(e,t){PM(2,arguments);var n=RM(e).getTime(),r=OM(t);return new Date(n+r)}(e,-OM(t))}function NM(e){PM(1,arguments);var t=RM(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function IM(e){PM(1,arguments);var t=RM(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=NM(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var i=NM(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function LM(e){PM(1,arguments);var t=RM(e),n=NM(t).getTime()-function(e){PM(1,arguments);var t=IM(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),NM(n)}(t).getTime();return Math.round(n/6048e5)+1}function AM(e,t){var n,r,o,a,i,l,u,s;PM(1,arguments);var c=jM(),f=OM(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(l=i.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==r?r:null===(u=c.locale)||void 0===u||null===(s=u.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=RM(e),p=d.getUTCDay(),h=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(f+1,0,p),h.setUTCHours(0,0,0,0);var m=AM(h,t),v=new Date(0);v.setUTCFullYear(f,0,p),v.setUTCHours(0,0,0,0);var g=AM(v,t);return c.getTime()>=m.getTime()?f+1:c.getTime()>=g.getTime()?f:f-1}function zM(e,t){PM(1,arguments);var n=RM(e),r=AM(n,t).getTime()-function(e,t){var n,r,o,a,i,l,u,s;PM(1,arguments);var c=jM(),f=OM(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(l=i.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==r?r:null===(u=c.locale)||void 0===u||null===(s=u.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==n?n:1),d=$M(e,t),p=new Date(0);return p.setUTCFullYear(d,0,f),p.setUTCHours(0,0,0,0),AM(p,t)}(n,t).getTime();return Math.round(r/6048e5)+1}function FM(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return FM("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):FM(n+1,2)},d:function(e,t){return FM(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return FM(e.getUTCHours()%12||12,t.length)},H:function(e,t){return FM(e.getUTCHours(),t.length)},m:function(e,t){return FM(e.getUTCMinutes(),t.length)},s:function(e,t){return FM(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return FM(Math.floor(r*Math.pow(10,n-3)),t.length)}};const WM=BM;var UM="midnight",qM="noon",HM="morning",VM="afternoon",KM="evening",YM="night",QM={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return WM.y(e,t)},Y:function(e,t,n,r){var o=$M(e,r),a=o>0?o:1-o;return"YY"===t?FM(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):FM(a,t.length)},R:function(e,t){return FM(IM(e),t.length)},u:function(e,t){return FM(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return FM(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return FM(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return WM.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return FM(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=zM(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):FM(o,t.length)},I:function(e,t,n){var r=LM(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):FM(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):WM.d(e,t)},D:function(e,t,n){var r=function(e){PM(1,arguments);var t=RM(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):FM(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return FM(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return FM(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return FM(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?qM:0===o?UM:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?KM:o>=12?VM:o>=4?HM:YM,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return WM.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):WM.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):FM(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):FM(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):WM.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):WM.s(e,t)},S:function(e,t){return WM.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return XM(o);case"XXXX":case"XX":return JM(o);default:return JM(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return XM(o);case"xxxx":case"xx":return JM(o);default:return JM(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+GM(o,":");default:return"GMT"+JM(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+GM(o,":");default:return"GMT"+JM(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return FM(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return FM((r._originalDate||e).getTime(),t.length)}};function GM(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+FM(a,2)}function XM(e,t){return e%60==0?(e>0?"-":"+")+FM(Math.abs(e)/60,2):JM(e,t)}function JM(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+FM(Math.floor(o/60),2)+n+FM(o%60,2)}var ZM=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},eD=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},tD={p:eD,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return ZM(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",ZM(o,t)).replace("{{time}}",eD(a,t))}},nD=["D","DD"],rD=["YY","YYYY"];function oD(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var aD={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const iD=function(e,t,n){var r,o=aD[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function lD(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var uD={date:lD({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:lD({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:lD({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var sD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const cD=function(e,t,n,r){return sD[e]};function fD(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,l=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function dD(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,l=a[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?function(e,t){for(var n=0;n20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:fD({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:fD({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:fD({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:fD({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:fD({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(pD={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(pD.matchPattern);if(!n)return null;var r=n[0],o=e.match(pD.parsePattern);if(!o)return null;var a=pD.valueCallback?pD.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(r.length)}}),era:dD({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:dD({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:dD({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:dD({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:dD({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var mD=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gD=/^'([^]*?)'?$/,yD=/''/g,bD=/[a-zA-Z]/;function wD(e,t,n){var r,o,a,i,l,u,s,c,f,d,p,h,m,v,g,y,b,w;PM(2,arguments);var x=String(t),S=jM(),k=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:S.locale)&&void 0!==r?r:hD,E=OM(null!==(a=null!==(i=null!==(l=null!==(u=null==n?void 0:n.firstWeekContainsDate)&&void 0!==u?u:null==n||null===(s=n.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==l?l:S.firstWeekContainsDate)&&void 0!==i?i:null===(f=S.locale)||void 0===f||null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==a?a:1);if(!(E>=1&&E<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=OM(null!==(p=null!==(h=null!==(m=null!==(v=null==n?void 0:n.weekStartsOn)&&void 0!==v?v:null==n||null===(g=n.locale)||void 0===g||null===(y=g.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==m?m:S.weekStartsOn)&&void 0!==h?h:null===(b=S.locale)||void 0===b||null===(w=b.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var _=RM(e);if(!MM(_))throw new RangeError("Invalid time value");var O=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}(_),P=DM(_,O),R={firstWeekContainsDate:E,weekStartsOn:C,locale:k,_originalDate:_},T=x.match(vD).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,tD[t])(e,k.formatLong):e})).join("").match(mD).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(gD);if(!t)return e;return t[1].replace(yD,"'")}(r);var a=QM[o];if(a)return null!=n&&n.useAdditionalWeekYearTokens||!function(e){return-1!==rD.indexOf(e)}(r)||oD(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!function(e){return-1!==nD.indexOf(e)}(r)||oD(r,t,String(e)),a(P,r,k.localize,R);if(o.match(bD))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return T}function xD(e){return PM(1,arguments),RM(1e3*OM(e))}const SD=W.forwardRef(((e,t)=>{const{data:n,...r}=e;return te.jsx(Yk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(uE,{ref:t,color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:wD(xD((n.web||n.console).request.startTime),"do MMM HH:mm:ss")})})}));SD.displayName=uE.name;var kD=(e=>(e.AssetCollector="Yiisoft\\Assets\\Debug\\AssetCollector",e.LogCollector="Yiisoft\\Yii\\Debug\\Collector\\LogCollector",e.EventCollector="Yiisoft\\Yii\\Debug\\Collector\\EventCollector",e.ExceptionCollector="Yiisoft\\Yii\\Debug\\Collector\\ExceptionCollector",e.ServiceCollector="Yiisoft\\Yii\\Debug\\Collector\\ServiceCollector",e.TimelineCollector="Yiisoft\\Yii\\Debug\\Collector\\TimelineCollector",e.ValidatorCollector="Yiisoft\\Validator\\Debug\\ValidatorCollector",e.DatabaseCollector="Yiisoft\\Db\\Debug\\DatabaseCollector",e.QueueCollector="Yiisoft\\Queue\\Debug\\QueueCollector",e.HttpClientCollector="Yiisoft\\Yii\\Debug\\Collector\\HttpClientCollector",e.FilesystemStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\FilesystemStreamCollector",e.HttpStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\HttpStreamCollector",e.ConsoleAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\ConsoleAppInfoCollector",e.WebAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\WebAppInfoCollector",e.CommandCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\CommandCollector",e.MiddlewareCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\MiddlewareCollector",e.RequestCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\RequestCollector",e.MailerCollector="Yiisoft\\Mailer\\Debug\\MailerCollector",e.VarDumperCollector="Yiisoft\\Yii\\Debug\\Collector\\VarDumperCollector",e))(kD||{});const ED=W.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(Yk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(uE,{ref:t,href:`/debug?collector=${kD.EventCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${kD.EventCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Events"})})}));ED.displayName=uE.name;const CD=W.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(Yk,{color:"secondary",badgeContent:String(n.logger?.total),children:te.jsx(uE,{ref:t,href:`/debug?collector=${kD.LogCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${kD.LogCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Logs"})})}));function _D(e,t=2){if(0==e)return"0 B";const n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(t))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}const OD=e=>{const{data:t,iframeUrlHandler:n,...r}=e,o=Kj(t)?kD.WebAppInfoCollector:kD.ConsoleAppInfoCollector;return te.jsx(D_,{title:`${(t.web||t.console).memory.peakUsage.toLocaleString(void 0)} bytes`,arrow:!0,children:te.jsx(uE,{href:`/debug?collector=${o}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${o}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:_D((t.web||t.console).memory.peakUsage)})})},PD=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return te.jsx(D_,{title:`${(1e3*(t.web||t.console).request.processingTime).toFixed(1)} ms`,arrow:!0,children:te.jsxs(uE,{href:`/debug?collector=${kD.TimelineCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${kD.TimelineCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[(t.web||t.console).request.processingTime.toFixed(3)," s"]})})},RD=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return t.validator&&0!==t.validator.total?te.jsx(Yk,{color:"secondary",badgeContent:String(t.validator.total),children:te.jsx(uE,{href:`/debug?collector=${kD.ValidatorCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${kD.ValidatorCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:0===t.validator.invalid?"info":"warning",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Validator"})}):null},TD=e=>{switch(!0){case Array.isArray(e)&&2===e.length:return e.join("::")+"()";case"string"==typeof e:return e;default:return JSON.stringify(e)}};function jD(e,t){return Object.keys(t).forEach((function(n){"default"===n||"__esModule"===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})),e}function MD(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var DD={},ND={};MD(ND,"ContextMenu",(()=>HD));var ID={};MD(ID,"nestedMenuItemsFromObject",(()=>qD));var LD={};MD(LD,"IconMenuItem",(()=>FD));const AD=pw(i_)({display:"flex",justifyContent:"space-between",paddingLeft:"4px",paddingRight:"4px"}),$D=pw(Px)({paddingLeft:"8px",paddingRight:"8px",textAlign:"left"}),zD=pw(Cg)({display:"flex"}),FD=W.forwardRef((function({MenuItemProps:e,className:t,label:n,leftIcon:r,renderLabel:o,rightIcon:a,...i},l){return ee.jsxs(AD,{...e,ref:l,className:t,...i,children:[ee.jsxs(zD,{children:[r,o?o():ee.jsx($D,{children:n})]}),a]})}));var BD={};MD(BD,"NestedMenuItem",(()=>UD));const WD=e=>ee.jsx(ww,{...e,children:ee.jsx("path",{d:"M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z"})}),UD=W.forwardRef((function(e,t){const{parentMenuOpen:n,label:r,renderLabel:o,rightIcon:a=ee.jsx(WD,{}),leftIcon:i=null,children:l,className:u,tabIndex:s,ContainerProps:c={},MenuProps:f,...d}=e,{ref:p,...h}=c,m=W.useRef(null);W.useImperativeHandle(t,(()=>m.current));const v=W.useRef(null);W.useImperativeHandle(p,(()=>v.current));const g=W.useRef(null),[y,b]=W.useState(!1),w=()=>{const e=v.current?.ownerDocument.activeElement??null;if(null==g.current)return!1;for(const t of g.current.children)if(t===e)return!0;return!1},x=y&&n;let S;return e.disabled||(S=void 0!==s?s:-1),ee.jsxs("div",{...h,ref:v,onFocus:e=>{e.target===v.current&&b(!0),h.onFocus&&h.onFocus(e)},tabIndex:S,onMouseEnter:e=>{b(!0),h.onMouseEnter&&h.onMouseEnter(e)},onMouseLeave:e=>{b(!1),h.onMouseLeave&&h.onMouseLeave(e)},onKeyDown:e=>{if("Escape"===e.key)return;w()&&e.stopPropagation();const t=v.current?.ownerDocument.activeElement;if("ArrowLeft"===e.key&&w()&&v.current?.focus(),"ArrowRight"===e.key&&e.target===v.current&&e.target===t){const e=g.current?.children[0];e?.focus()}},children:[ee.jsx(FD,{MenuItemProps:d,className:u,ref:m,leftIcon:i,rightIcon:a,label:r,renderLabel:o}),ee.jsx(t_,{style:{pointerEvents:"none"},anchorEl:m.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:x,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,onClose:()=>{b(!1)},...f,children:ee.jsx("div",{ref:g,style:{pointerEvents:"auto"},children:l})})]})}));function qD({menuItemsData:e,isOpen:t,handleClose:n}){return e.map((e=>{const{leftIcon:r,rightIcon:o,label:a,items:i,callback:l,sx:u,disabled:s}=e;return i&&i.length>0?ee.jsx(UD,{leftIcon:r,rightIcon:o,label:a,parentMenuOpen:t,sx:u,disabled:s,children:qD({handleClose:n,isOpen:t,menuItemsData:i})},a):ee.jsx(FD,{leftIcon:r,rightIcon:o,label:a,onClick:t=>{n(),l&&l(t,e)},sx:u,disabled:s},a)}))}UD.displayName="NestedMenuItem";const HD=W.forwardRef((function({children:e,menuItems:t,menuItemsData:n},r){const o=r??W.useRef(null),[a,i]=W.useState(null),[l,u]=W.useState(null),s=t??(n&&qD({handleClose:()=>i(null),isOpen:!!a,menuItemsData:n}));return ee.jsxs("div",{ref:o,onContextMenu:e=>e.preventDefault(),onMouseDown:e=>{if(null!==a&&i(null),2!==e.button)return;const t=o.current.getBoundingClientRect();e.clientXt.right||e.clientYt.bottom||u({left:e.clientX,top:e.clientY})},onMouseUp:e=>{const t=e.clientY,n=e.clientX;null!==l&&l.top===t&&l.left===n&&i({left:e.clientX,top:e.clientY})},children:[a&&ee.jsx(t_,{onContextMenu:e=>e.preventDefault(),open:!!a,onClose:()=>i(null),anchorReference:"anchorPosition",anchorPosition:a,children:s}),e]})}));var VD={};MD(VD,"NestedDropdown",(()=>YD));const KD=e=>ee.jsx(ww,{...e,children:ee.jsx("path",{d:"M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z"})}),YD=W.forwardRef((function(e,t){const[n,r]=W.useState(null),o=Boolean(n),{menuItemsData:a,onClick:i,ButtonProps:l,MenuProps:u,...s}=e,c=()=>r(null),f=qD({handleClose:c,isOpen:o,menuItemsData:a?.items??[]});return ee.jsxs("div",{ref:t,...s,children:[ee.jsx(uE,{onClick:e=>{r(e.currentTarget),i&&i(e)},endIcon:ee.jsx(KD,{}),...l,children:a?.label??"Menu"}),ee.jsx(t_,{anchorEl:n,open:o,onClose:c,...u,children:f})]})}));jD(DD,ND),jD(DD,LD),jD(DD,VD),jD(DD,BD),jD(DD,ID);const QD=({data:e})=>{const[t,n]=W.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(D_,{title:"Click to see more options",arrow:!0,children:te.jsxs(uE,{color:mM(e.response.statusCode),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[e.request.method," ",e.request.path," ",String(e.response.statusCode)]})}),te.jsxs(t_,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(kM,{fontSize:"small"})}),"Repeat"]}),e.router?.middlewares&&te.jsx(UD,{onClick:o,sx:{padding:"6px 16px"},leftIcon:te.jsx(xM,{fontSize:"small",sx:{color:"text.secondary",mr:1}}),label:"Middlewares",parentMenuOpen:r,children:e.router.middlewares.map(((e,t)=>te.jsx(i_,{onClick:o,children:te.jsxs(PC,{color:"text.secondary",children:[t+1,". ",TD(e)]})},t)))}),e.router?.action&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(wM,{fontSize:"small"})}),te.jsx(PC,{children:"Action"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:TD(e.router.action)})]}),e.router?.name&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(EM,{fontSize:"small"})}),te.jsx(PC,{children:"Route"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:e.router.name})]})]})]})},GD=({data:e})=>e.router?te.jsx(uE,{startIcon:te.jsx(EM,{fontSize:"small"}),color:"info",variant:"contained",sx:{whiteSpace:"nowrap",height:"100%",textTransform:"none",borderRadius:0},children:e.router.name}):null,XD=rp({name:"notifications",initialState:{notifications:[]},reducers:{removeNotification(e,t){e.notifications[t.payload].shown=!1},addNotification:(e,t)=>{e.notifications=[...e.notifications,{...t.payload,shown:!0}]}}});var JD="persist:",ZD="persist/FLUSH",eN="persist/REHYDRATE",tN="persist/PAUSE",nN="persist/PERSIST",rN="persist/PURGE",oN="persist/REGISTER";function aN(e){return(aN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uN(e,t,n,r){r.debug;var o=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function yN(e,t){var n=void 0!==e.version?e.version:-1;e.debug;var r=void 0===e.stateReconciler?uN:e.stateReconciler,o=e.getStoredState||fN,a=void 0!==e.timeout?e.timeout:5e3,i=null,l=!1,u=!0,s=function(e){return e._persist.rehydrated&&i&&!u&&i.update(e),e};return function(c,f){var d=c||{},p=d._persist,h=gN(d,["_persist"]);if(f.type===nN){var m=!1,v=function(t,n){m||(f.rehydrate(e.key,t,n),m=!0)};if(a&&setTimeout((function(){!m&&v(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))}),a),u=!1,i||(i=sN(e)),p)return mN({},t(h,f),{_persist:p});if("function"!=typeof f.rehydrate||"function"!=typeof f.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),o(e).then((function(t){var r=e.migrate||function(e,t){return Promise.resolve(e)};r(t,n).then((function(e){v(e)}),(function(e){v(void 0,e)}))}),(function(e){v(void 0,e)})),mN({},t(h,f),{_persist:{version:n,rehydrated:!1}})}if(f.type===rN)return l=!0,f.result(function(e){var t=e.storage,n="".concat(void 0!==e.keyPrefix?e.keyPrefix:JD).concat(e.key);return t.removeItem(n,pN)}(e)),mN({},t(h,f),{_persist:p});if(f.type===ZD)return f.result(i&&i.flush()),mN({},t(h,f),{_persist:p});if(f.type===tN)u=!0;else if(f.type===eN){if(l)return mN({},h,{_persist:mN({},p,{rehydrated:!0})});if(f.key===e.key){var g=t(h,f),y=f.payload,b=mN({},!1!==r&&void 0!==y?r(y,c,g,e):g,{_persist:mN({},p,{rehydrated:!0})});return s(b)}}if(!p)return t(c,f);var w=t(h,f);return w===h?c:s(mN({},w,{_persist:p}))}}function bN(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var wN=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),xN=()=>Math.random().toString(36).substring(7).split("").join("."),SN={INIT:`@@redux/INIT${xN()}`,REPLACE:`@@redux/REPLACE${xN()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${xN()}`};function kN(e,t,n){if("function"!=typeof e)throw new Error(bN(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(bN(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(bN(1));return n(kN)(e,t)}let r=e,o=t,a=new Map,i=a,l=0,u=!1;function s(){i===a&&(i=new Map,a.forEach(((e,t)=>{i.set(t,e)})))}function c(){if(u)throw new Error(bN(3));return o}function f(e){if("function"!=typeof e)throw new Error(bN(4));if(u)throw new Error(bN(5));let t=!0;s();const n=l++;return i.set(n,e),function(){if(t){if(u)throw new Error(bN(6));t=!1,s(),i.delete(n),a=null}}}function d(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(bN(7));if(void 0===e.type)throw new Error(bN(8));if("string"!=typeof e.type)throw new Error(bN(17));if(u)throw new Error(bN(9));try{u=!0,o=r(o,e)}finally{u=!1}return(a=i).forEach((e=>{e()})),e}d({type:SN.INIT});return{dispatch:d,subscribe:f,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(bN(10));r=e,d({type:SN.REPLACE})},[wN]:function(){const e=f;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(bN(11));function n(){const e=t;e.next&&e.next(c())}n();return{unsubscribe:e(n)}},[wN](){return this}}}}}function EN(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:PN,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case oN:return _N({},e,{registry:[].concat(EN(e.registry),[t.key])});case eN:var n=e.registry.indexOf(t.key),r=EN(e.registry);return r.splice(n,1),_N({},e,{registry:r,bootstrapped:0===r.length});default:return e}};var TN={},jN={};function MN(e){return(MN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DN(){}jN.__esModule=!0,jN.default=function(e){var t="".concat(e,"Storage");return function(e){if("object"!==("undefined"==typeof self?"undefined":MN(self))||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch(Mg){return!1}return!0}(t)?self[t]:NN};var NN={getItem:DN,setItem:DN,removeItem:DN};TN.__esModule=!0,TN.default=function(e){var t=(0,LN.default)(e);return{getItem:function(e){return new Promise((function(n,r){n(t.getItem(e))}))},setItem:function(e,n){return new Promise((function(r,o){r(t.setItem(e,n))}))},removeItem:function(e){return new Promise((function(n,r){n(t.removeItem(e))}))}}};var IN,LN=(IN=jN)&&IN.__esModule?IN:{default:IN};var AN,$N=function(e){return e&&e.__esModule?e:{default:e}}(TN);AN=(0,$N.default)("local");var zN={};function FN(e){return e||(e=0),new Promise((function(t){return setTimeout(t,e)}))}function BN(){return Math.random().toString(36).substring(2)}var WN=0,UN=0;function qN(){var e=(new Date).getTime();return e===WN?1e3*e+ ++UN:(WN=e,UN=0,1e3*e)}var HN="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);const VN={create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),Promise.resolve()}catch(n){return Promise.reject(n)}},canBeUsed:function(){if(HN&&"undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:qN};var KN=function(){function e(e){this.ttl=e,this.set=new Set,this.timeMap=new Map}return e.prototype.has=function(e){return this.set.has(e)},e.prototype.add=function(e){var t=this;this.timeMap.set(e,YN()),this.set.add(e),setTimeout((function(){!function(e){var t=YN()-e.ttl,n=e.set[Symbol.iterator]();for(;;){var r=n.next().value;if(!r)return;if(!(e.timeMap.get(r)0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var GN="pubkey.broadcast-channel-0-",XN="messages";function JN(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function ZN(e,t){var n=e.transaction(XN).objectStore(XN),r=[];return new Promise((function(e){(function(){try{var e=IDBKeyRange.bound(t+1,1/0);return n.openCursor(e)}catch(Mg){return n.openCursor()}}()).onsuccess=function(n){var o=n.target.result;o?o.value.ide.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time0||e._addEL.internal.length>0}function bI(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&yI(e)){var t=function(t){e._addEL[t.type].forEach((function(e){t.time>=e.time&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function wI(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!yI(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}vI._pubkey=!0,vI.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return gI(this,"message",e)},postInternal:function(e){return gI(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};wI(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,bI(this,"message",t)):this._onML=null},addEventListener:function(e,t){bI(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){wI(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){this.closed=!0;var t=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};const xI={add:function(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",(function(){e()}),!0),window.addEventListener("unload",(function(){e()}),!0)}}};var SI="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?{}:xI,kI=new Set,EI=!1;function CI(){var e=[];return kI.forEach((function(t){e.push(t()),kI.delete(t)})),Promise.all(e)}const _I={add:function(e){if(EI||(EI=!0,SI.add(CI)),"function"!=typeof e)throw new Error("Listener is no function");return kI.add(e),{remove:function(){return kI.delete(e)},run:function(){return kI.delete(e),e()}}},runAll:CI,removeAll:function(){kI.clear()},getSize:function(){return kI.size}};var OI=function(e,t){this._channel=e,this._options=t,this.isLeader=!1,this.isDead=!1,this.token=BN(),this._isApl=!1,this._reApply=!1,this._unl=[],this._lstns=[],this._invs=[],this._dpL=function(){},this._dpLC=!1};function PI(e,t){var n={context:"leader",action:t,token:e.token};return e._channel.postInternal(n)}function RI(e){e.isLeader=!0;var t=_I.add((function(){return e.die()}));e._unl.push(t);var n=function(t){"leader"===t.context&&"apply"===t.action&&PI(e,"tell"),"leader"!==t.context||"tell"!==t.action||e._dpLC||(e._dpLC=!0,e._dpL(),PI(e,"tell"))};return e._channel.addEventListener("internal",n),e._lstns.push(n),PI(e,"tell")}OI.prototype={applyOnce:function(){var e=this;if(this.isLeader)return Promise.resolve(!1);if(this.isDead)return Promise.resolve(!1);if(this._isApl)return this._reApply=!0,Promise.resolve(!1);this._isApl=!0;var t=!1,n=function(n){"leader"===n.context&&n.token!=e.token&&("apply"===n.action&&n.token>e.token&&(t=!0),"tell"===n.action&&(t=!0))};return this._channel.addEventListener("internal",n),PI(this,"apply").then((function(){return FN(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):PI(e,"apply")})).then((function(){return FN(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):PI(e)})).then((function(){return RI(e)})).then((function(){return!0})).catch((function(){return!1})).then((function(t){return e._channel.removeEventListener("internal",n),e._isApl=!1,!t&&e._reApply?(e._reApply=!1,e.applyOnce()):t}))},awaitLeadership:function(){var e;return this._aLP||(this._aLP=(e=this).isLeader?Promise.resolve():new Promise((function(t){var n=!1;function r(){n||(n=!0,clearInterval(o),e._channel.removeEventListener("internal",a),t(!0))}e.applyOnce().then((function(){e.isLeader&&r()}));var o=setInterval((function(){e.applyOnce().then((function(){e.isLeader&&r()}))}),e._options.fallbackInterval);e._invs.push(o);var a=function(t){"leader"===t.context&&"death"===t.action&&e.applyOnce().then((function(){e.isLeader&&r()}))};e._channel.addEventListener("internal",a),e._lstns.push(a)}))),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var e=this;if(!this.isDead)return this.isDead=!0,this._lstns.forEach((function(t){return e._channel.removeEventListener("internal",t)})),this._invs.forEach((function(e){return clearInterval(e)})),this._unl.forEach((function(e){e.remove()})),PI(this,"death")}};const TI=o(Object.freeze(Object.defineProperty({__proto__:null,BroadcastChannel:vI,beLeader:RI,clearNodeFolder:function(e){var t=hI(e=QN(e));return"node"===t.type?t.clearNodeFolder().then((function(){return!0})):Promise.resolve(!1)},createLeaderElection:function(e,t){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");t=function(e,t){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=t.method.averageResponseTime(t.options)),e}(t,e);var n=new OI(e,t);return e._befC.push((function(){return n.die()})),e._leaderElector=n,n},enforceOptions:function(e){mI=e}},Symbol.toStringTag,{value:"Module"})));var jI,MI;Object.defineProperty(zN,"__esModule",{value:!0});var DI=zN.initMessageListener=zN.initStateWithPrevTab=MI=zN.withReduxStateSync=zN.createReduxStateSync=jI=zN.createStateSyncMiddleware=zN.WINDOW_STATE_SYNC_ID=zN.INIT_MESSAGE_LISTENER=zN.RECEIVE_INIT_STATE=zN.SEND_INIT_STATE=zN.GET_INIT_STATE=void 0;zN.generateUuidForAction=VI,zN.isActionAllowed=KI,zN.isActionSynced=function(e){return!!e.$isSync},zN.MessageListener=YI;var NI=TI,II=0,LI=zN.GET_INIT_STATE="&_GET_INIT_STATE",AI=zN.SEND_INIT_STATE="&_SEND_INIT_STATE",$I=zN.RECEIVE_INIT_STATE="&_RECEIVE_INIT_STATE",zI=zN.INIT_MESSAGE_LISTENER="&_INIT_MESSAGE_LISTENER",FI={channel:"redux_state_sync",predicate:null,blacklist:[],whitelist:[],broadcastChannelOption:void 0,prepareState:function(e){return e},receiveState:function(e,t){return t}},BI=function(){return{type:AI}},WI=function(e){return{type:$I,payload:e}};function UI(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function qI(){return""+UI()+UI()+"-"+UI()+"-"+UI()+"-"+UI()+"-"+UI()+UI()+UI()}var HI=zN.WINDOW_STATE_SYNC_ID=qI();function VI(e){var t=e;return t.$uuid=qI(),t.$wuid=HI,t}function KI(e){var t=e.predicate,n=e.blacklist,r=e.whitelist,o=function(){return!0};return t&&"function"==typeof t?o=t:Array.isArray(n)?o=function(e){return n.indexOf(e.type)<0}:Array.isArray(r)&&(o=function(e){return r.indexOf(e.type)>=0}),o}function YI(e){var t=e.channel,n=e.dispatch,r=e.allowed,o=!1,a={};this.handleOnMessage=function(e){e.$wuid!==HI&&e.type!==$I&&e.$uuid&&e.$uuid!==II&&(e.type!==LI||a[e.$wuid]?e.type!==AI||a[e.$wuid]?r(e)&&(II=e.$uuid,n(Object.assign(e,{$isSync:!0}))):o||(o=!0,n(WI(e.payload))):(a[e.$wuid]=!0,n(BI())))},this.messageChannel=t,this.messageChannel.onmessage=this.handleOnMessage}jI=zN.createStateSyncMiddleware=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FI,t=KI(e),n=new NI.BroadcastChannel(e.channel,e.broadcastChannelOption),r=e.prepareState||FI.prepareState,o=null;return function(e){var a=e.getState,i=e.dispatch;return function(e){return function(l){if(o||(o=new YI({channel:n,dispatch:i,allowed:t})),l&&!l.$uuid){var u=VI(l);II=u.$uuid;try{if(l.type===AI)return a()&&(u.payload=r(a()),n.postMessage(u)),e(l);(t(u)||l.type===LI)&&n.postMessage(u)}catch(Mg){console.error("Your browser doesn't support cross tab communication")}}return e(Object.assign(l,{$isSync:void 0!==l.$isSync&&l.$isSync}))}}}};var QI=zN.createReduxStateSync=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FI.receiveState;return function(n,r){var o=n;return r.type===$I&&(o=t(n,r.payload)),e(o,r)}};MI=zN.withReduxStateSync=QI,zN.initStateWithPrevTab=function(e){(0,e.dispatch)({type:LI})},DI=zN.initMessageListener=function(e){(0,e.dispatch)({type:zI})};const GI={key:MR.name,version:1,storage:AN},XI={key:XD.name,version:1,storage:AN},JI={[MR.name]:yN(GI,MI(MR.reducer)),[XD.name]:yN(XI,XD.reducer)},ZI=[jI({whitelist:[MR.actions.setToolbarOpen.type,MR.actions.changeBaseUrl.type]})],eL={key:FR.name,version:1,whitelist:["entry"],storage:AN},tL={[FR.name]:yN(eL,FR.reducer),[$j.reducerPath]:$j.reducer},nL=[$j.middleware],rL=Ed({...xR,...tL,...JI}),oL=e=>{const t=ep({reducer:rL,middleware:e=>e({serializableCheck:{ignoredActions:[ZD,eN,tN,nN,rN,oN]}}).concat([...ZI,...SR,...nL]),devTools:!1,preloadedState:e});kT(t.dispatch),DI(t);const n=function(e,t,n){var r=n||!1,o=kN(RN,PN,t&&t.enhancer?t.enhancer:void 0),a=function(e){o.dispatch({type:oN,key:e})},i=function(t,n,a){var i={type:eN,payload:n,err:a,key:t};e.dispatch(i),o.dispatch(i),r&&l.getState().bootstrapped&&(r(),r=!1)},l=_N({},o,{purge:function(){var t=[];return e.dispatch({type:rN,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:ZD,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:tN})},persist:function(){e.dispatch({type:nN,register:a,rehydrate:i})}});return t&&t.manualPersist||l.persist(),l}(t);return{store:t,persistor:n}},aL=mf.useSelector;function iL(){return iL=Object.assign?Object.assign.bind():function(e){for(var t=1;te()))}}class pL{constructor(e){this.frame=e,window.addEventListener("message",(e=>{if("event"in e.data&&"panel.loaded"===e.data.event)this.eventQueue.ready()}))}eventQueue=new dL;dispatchEvent(e,t){this.eventQueue.next((()=>{((e,t,n)=>{e.postMessage({event:t,value:n},"*")})(this.frame.contentWindow,e,t)}))}}var hL={},mL=Yy;Object.defineProperty(hL,"__esModule",{value:!0});var vL=hL.default=void 0,gL=mL(OR()),yL=ee;vL=hL.default=(0,gL.default)((0,yL.jsx)("path",{d:"M6.83 4H20c1.11 0 2 .9 2 2v12c0 .34-.09.66-.23.94L20 17.17V8h-9.17zm13.66 19.31L17.17 20H4c-1.11 0-2-.9-2-2V6c0-.34.08-.66.23-.94L.69 3.51 2.1 2.1l19.8 19.8zM15.17 18l-10-10H4v10z"}),"WebAssetOff");var bL={},wL=Yy;Object.defineProperty(bL,"__esModule",{value:!0});var xL=bL.default=void 0,SL=wL(OR()),kL=ee;xL=bL.default=(0,SL.default)((0,kL.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H5V8h14z"}),"WebAsset");var EL={},CL=Yy;Object.defineProperty(EL,"__esModule",{value:!0});var _L=EL.default=void 0,OL=CL(OR()),PL=ee;_L=EL.default=(0,OL.default)((0,PL.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");const RL=navigator?.serviceWorker,TL=W.forwardRef((({baseUrlState:e,iframeEnabled:t},n)=>te.jsx("iframe",{ref:n,src:e+"/debug?toolbar=0",style:{height:"100%",width:"100%"},hidden:!t,loading:"lazy"}))),jL=()=>{W.useEffect((()=>{const e=e=>{e.data.payload&&"x-debug-id"in e.data.payload.headers&&(o($j.util.invalidateTags(["debug/list"])),o(WR(e.data.payload.headers["x-debug-id"])))};return RL?.addEventListener("message",e),()=>{RL?.removeEventListener("message",e)}}),[]);const[e,t]=W.useState(!1),n=Fj(),r=UR(),o=mf.useDispatch(),[a,i]=W.useState(r);W.useEffect((()=>{!n.isFetching&&n.data&&n.data.length>0&&i(n.data[0])}),[n.isFetching]);const l=aL((e=>e.application.toolbarOpen)),u=aL((e=>e.application.iframeHeight)),s=aL((e=>e.application.baseUrl));W.useEffect((()=>t(l)),[l]);const c=W.useCallback((e=>{i(e),t(!0),o(IR(!0)),o(BR(e))}),[]),[f,d]=W.useState(!1),p=W.useCallback((()=>{window.open(r?s+"/debug?debugEntry="+r.id:s+"/debug")}),[r]),h=W.useCallback((()=>{d(!0)}),[]),m=W.useCallback((()=>{d(!1)}),[]),v=W.useRef(void 0),[g,y]=W.useState(null);W.useEffect((()=>{v.current&&y(new pL(v.current))}),[v.current]);const b=W.useCallback((e=>{w||x(!0),g?.dispatchEvent("router.navigate",e)}),[g]),[w,x]=W.useState(!1),S=W.useCallback((()=>{x((e=>!e))}),[]),k=Ab(),E=W.useRef(void 0),{position:C,separatorProps:_,setPosition:O}=function(e){var t=e.axis,n=e.disabled,r=void 0!==n&&n,o=e.initial,a=void 0===o?0:o,i=e.min,l=void 0===i?0:i,u=e.max,s=void 0===u?1/0:u,c=e.reverse,f=e.step,d=void 0===f?10:f,p=e.shiftStep,h=void 0===p?50:p,m=e.onResizeStart,v=e.onResizeEnd,g=e.containerRef,y=Math.min(Math.max(a,l),s),b=W.useRef(!1),w=W.useState(!1),x=w[0],S=w[1],k=W.useState(y),E=k[0],C=k[1],_=W.useRef(y),O=W.useState(y),P=O[0],R=O[1],T=W.useMemo((function(){return{role:"separator","aria-valuenow":E,"aria-valuemin":l,"aria-valuemax":s,"aria-orientation":"x"===t?"vertical":"horizontal","aria-disabled":r}}),[t,r,s,l,E]),j=W.useCallback((function(e){if(b.current&&!r){e.stopPropagation(),e.preventDefault();var n=function(){if("x"===t){if(null!=g&&g.current){var n=g.current.getBoundingClientRect(),r=n.left;return c?r+n.width-e.clientX:e.clientX-r}return c?document.body.offsetWidth-e.clientX:e.clientX}if(null!=g&&g.current){var o=g.current.getBoundingClientRect(),a=o.top;return c?a+o.height-e.clientY:e.clientY-a}return c?document.body.offsetHeight-e.clientY:e.clientY}();n=Math.min(Math.max(n,l),s),C(n),_.current=n}}),[t,r,s,l,c,g]),M=W.useCallback((function(e){r||(e.stopPropagation(),b.current=!1,S(!1),R(_.current),document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",M),v&&v({position:_.current}))}),[r,j,v]),D=W.useCallback((function(e){r||(e.stopPropagation(),b.current=!0,S(!0),document.addEventListener("pointermove",j),document.addEventListener("pointerup",M),m&&m({position:_.current}))}),[r,j,M,m]),N=W.useCallback((function(e){if(!r){if("Enter"===e.key)return C(a),void(_.current=a);if(("x"!==t||sL.includes(e.key))&&("y"!==t||cL.includes(e.key))){m&&m({position:_.current});var n=e.shiftKey?h:d,o=c?-1:1,i=fL.includes(e.key)?o:-1*o,u=E+n*i;us?(C(s),_.current=s):(C(u),_.current=u),v&&v({position:_.current})}}}),[r,t,m,h,d,c,E,l,s,v,a]),I=W.useCallback((function(){r||(C(a),_.current=a)}),[r,a]);return{position:E,endPosition:P,isDragging:x,separatorProps:iL({},T,{onPointerDown:D,onKeyDown:N,onDoubleClick:I}),setPosition:C,splitterProps:iL({},T,{onPointerDown:D,onKeyDown:N,onDoubleClick:I})}}({axis:"y",initial:u,min:100,max:1e3,reverse:!0,disabled:!e,containerRef:E,onResizeEnd:e=>{o(zR(e.position))}});return W.useEffect((()=>{O(u)}),[u]),te.jsxs(Ix,{children:[!n.isLoading&&a&&te.jsxs(Kw,{component:Xk,elevation:10,sx:{position:e?"sticky":"fixed",bottom:0,right:0,transition:"width 350ms ease-in-out",pt:e?0:1,pb:1,px:.5,backgroundColor:"primary.main",zIndex:1,borderRadius:"0"},children:[te.jsx("hr",{..._,style:{display:e?"block":"none",position:"absolute",top:"-9px",right:0,left:0,height:"10px",width:"100%",background:`linear-gradient(${k.palette.action.hover}, ${k.palette.primary.main})`,border:0,padding:0,margin:0,cursor:w?"row-resize":"initial",borderTopLeftRadius:"5px",borderTopRightRadius:"5px"}}),te.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box"},children:[te.jsx(Xk,{sx:{display:e?"inline-block":"none"},children:te.jsxs(hE,{disableElevation:!0,children:[Kj(a)&&te.jsx(QD,{data:a}),Vj(a)&&te.jsx(_M,{data:a}),te.jsx(PD,{data:a,iframeUrlHandler:b}),te.jsx(OD,{data:a,iframeUrlHandler:b}),Kj(a)&&te.jsx(GD,{data:a}),te.jsx(CD,{data:a,iframeUrlHandler:b}),te.jsx(ED,{data:a,iframeUrlHandler:b}),te.jsx(RD,{data:a,iframeUrlHandler:b}),te.jsx(SD,{data:a})]})}),te.jsx(Xk,{children:te.jsxs(x_,{ariaLabel:"",sx:{bottom:0,right:0,marginX:1,"& .MuiSpeedDial-actions":{position:"absolute",bottom:32,marginX:1}},FabProps:{onClick:()=>{t((e=>(o(IR(!e)),w&&x(!1),!e)))},size:"small",sx:{background:"white"}},icon:te.jsx(Hj,{sx:{transform:e?"rotate(0deg)":"rotate(360deg)",transition:"transform 400ms ease-in-out"}}),children:[te.jsx(B_,{onClick:p,icon:te.jsx(_L,{}),tooltipTitle:"Open debug in a new window"}),te.jsx(B_,{onClick:h,icon:te.jsx(RR,{}),tooltipTitle:"List all debug entries"}),e&&te.jsx(B_,{onClick:S,icon:w?te.jsx(vL,{}):te.jsx(xL,{}),tooltipTitle:w?"Close iframe":"Open iframe"},"iframe")]})})]})]}),te.jsx(bM,{open:f,onClick:c,onClose:m}),te.jsx("div",{ref:E,style:{height:C,overflow:"hidden"},hidden:!w,children:te.jsx(TL,{ref:v,baseUrlState:s,iframeEnabled:w})})]})},ML=()=>te.jsx(jL,{}),DL=[{routes:[{path:"*",element:te.jsx(ML,{})}],reducers:xR,middlewares:SR,standaloneModule:!0}];function NL(e,t){const n=e.filter((e=>e.standaloneModule)),r=[...[].concat(...n.map((e=>e.routes)))],o={basename:t.basename};return t.useHashRouter?function(e,t){return eP({basename:null==t?void 0:t.basename,future:eR({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),pO((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=dO(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),cO("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:fO(t))}),(function(e,t){uO("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||nR(),routes:e,mapRouteProperties:ZP,window:null==t?void 0:t.window}).initialize();var n}(r):function(e,t){return eP({basename:null==t?void 0:t.basename,future:eR({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),pO((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return cO("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:fO(t)}),null,n)),hydrationData:(null==t?void 0:t.hydrationData)||nR(),routes:e,mapRouteProperties:ZP,window:null==t?void 0:t.window}).initialize();var n}(r,o)}function IL({config:e}){const t=NL(DL,e.router),{store:n}=oL({application:{baseUrl:e.backend.baseUrl,favoriteUrls:e.backend.favoriteUrls??[]}});return W.useEffect((()=>{e.backend.usePreferredUrl&&(console.log("Override backend url",e.backend.baseUrl),n.dispatch(DR(e.backend.baseUrl)))}),[]),te.jsx(Op,{baseUrl:"",openLinksInNewWindow:!0,children:te.jsx(mf.Provider,{store:n,children:te.jsx(wR,{children:te.jsx(cR,{router:t})})})})}var LL,AL={},$L=df;AL.createRoot=$L.createRoot,AL.hydrateRoot=$L.hydrateRoot,(LL=window.YiiDevPanelToolbarWidget??={config:{containerId:"yii-dev-toolbar",options:{router:{basename:"",useHashRouter:"github"===e.appEnv},backend:{baseUrl:"http://127.0.0.1:8080",usePreferredUrl:!1}}}}).init=function(){console.debug("YiiDevPanelToolbarWidget initialization",this);const e=document.getElementById(this.config.containerId);console.debug("YiiDevPanelToolbarWidget mounting into",e),AL.createRoot(e).render(te.jsx(U.StrictMode,{children:te.jsx(IL,{config:this.config.options})}))},LL.init(); + */function eR(){return eR=Object.assign?Object.assign.bind():function(e){for(var t=1;t{}));const tR=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(Mg){}function nR(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=eR({},t,{errors:rR(t.errors)})),t}function rR(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&"RouteErrorResponse"===o.__type)n[r]=new FO(o.status,o.statusText,o.data,!0===o.internal);else if(o&&"Error"===o.__type){if(o.__subType){let e=window[o.__subType];if("function"==typeof e)try{let t=new e(o.message);t.stack="",n[r]=t}catch(Mg){}}if(null==n[r]){let e=new Error(o.message);e.stack="",n[r]=e}}else n[r]=o;return n}const oR=W.createContext({isTransitioning:!1}),aR=W.createContext(new Map),iR=q.startTransition,lR=hf.flushSync;function uR(e){lR?lR(e):e()}class sR{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function cR(e){let{fallbackElement:t,router:n,future:r}=e,[o,a]=W.useState(n.state),[i,l]=W.useState(),[u,s]=W.useState({isTransitioning:!1}),[c,f]=W.useState(),[d,p]=W.useState(),[h,m]=W.useState(),v=W.useRef(new Map),{v7_startTransition:g}=r||{},y=W.useCallback((e=>{g?function(e){iR?iR(e):e()}(e):e()}),[g]),b=W.useCallback(((e,t)=>{let{deletedFetchers:r,unstable_flushSync:o,unstable_viewTransitionOpts:i}=t;r.forEach((e=>v.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&v.current.set(t,e.data)}));let u=null==n.window||"function"!=typeof n.window.document.startViewTransition;if(i&&!u){if(o){uR((()=>{d&&(c&&c.resolve(),d.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})}));let t=n.window.document.startViewTransition((()=>{uR((()=>a(e)))}));return t.finished.finally((()=>{uR((()=>{f(void 0),p(void 0),l(void 0),s({isTransitioning:!1})}))})),void uR((()=>p(t)))}d?(c&&c.resolve(),d.skipTransition(),m({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(l(e),s({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))}else o?uR((()=>a(e))):y((()=>a(e)))}),[n.window,d,c,v,y]);W.useLayoutEffect((()=>n.subscribe(b)),[n,b]),W.useEffect((()=>{u.isTransitioning&&!u.flushSync&&f(new sR)}),[u]),W.useEffect((()=>{if(c&&i&&n.window){let e=i,t=c.promise,r=n.window.document.startViewTransition((async()=>{y((()=>a(e))),await t}));r.finished.finally((()=>{f(void 0),p(void 0),l(void 0),s({isTransitioning:!1})})),p(r)}}),[y,i,c,n.window]),W.useEffect((()=>{c&&i&&o.location.key===i.location.key&&c.resolve()}),[c,d,o.location,i]),W.useEffect((()=>{!u.isTransitioning&&h&&(l(h.state),s({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),m(void 0))}),[u.isTransitioning,h]),W.useEffect((()=>{}),[]);let w=W.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),x=n.basename||"/",S=W.useMemo((()=>({router:n,navigator:w,static:!1,basename:x})),[n,w,x]);return W.createElement(W.Fragment,null,W.createElement(jP.Provider,{value:S},W.createElement(MP.Provider,{value:o},W.createElement(aR.Provider,{value:v.current},W.createElement(oR.Provider,{value:u},W.createElement(JP,{basename:x,location:o.location,navigationType:o.historyAction,navigator:w,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?W.createElement(fR,{routes:n.routes,future:n.future,state:o}):t))))),null)}function fR(e){let{routes:t,future:n,state:r}=e;return UP(t,void 0,r,n)}const dR="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,pR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hR=W.forwardRef((function(e,t){let n,{onClick:r,relative:o,reloadDocument:a,replace:i,state:l,target:u,to:s,preventScrollReset:c,unstable_viewTransition:f}=e,d=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,tR),{basename:p}=W.useContext(DP),h=!1;if("string"==typeof s&&pR.test(s)&&(n=s,dR))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),n=jO(t.pathname,p);t.origin===e.origin&&null!=n?s=n+t.search+t.hash:h=!0}catch(Mg){}let m=AP(s,{relative:o}),v=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l}=void 0===t?{}:t,u=BP(),s=zP(),c=WP(e,{relative:i});return W.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:fO(s)===fO(c);u(e,{replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:l})}}),[s,u,c,r,o,n,e,a,i,l])}(s,{replace:i,state:l,target:u,preventScrollReset:c,relative:o,unstable_viewTransition:f});return W.createElement("a",eR({},d,{href:n||m,onClick:h||a?r:function(e){r&&r(e),e.defaultPrevented||v(e)},ref:t,target:u}))}));var mR,vR,gR,yR;(vR=mR||(mR={})).UseScrollRestoration="useScrollRestoration",vR.UseSubmit="useSubmit",vR.UseSubmitFetcher="useSubmitFetcher",vR.UseFetcher="useFetcher",vR.useViewTransitionState="useViewTransitionState",(yR=gR||(gR={})).UseFetcher="useFetcher",yR.UseFetchers="useFetchers",yR.UseScrollRestoration="useScrollRestoration";const bR=e=>U.forwardRef(((t,n)=>{let{href:r,...o}=t;const a=AP(r);return"string"!=typeof r&&(r="#"),"#"===r||r.startsWith("http://")||r.startsWith("https://")?te.jsx("a",{href:r,ref:n,...o}):(e.openLinksInNewWindow&&(o={...o,target:"_blank"}),e.baseUrl?te.jsx("a",{href:e.baseUrl+a,ref:n,...o}):te.jsx(hR,{ref:n,to:r,...o}))})),wR=({children:e})=>{const t=function(e,t={}){const n=sg(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:a=(r?window.matchMedia:null),ssrMatchMedia:i=null,noSsr:l=!1}=Xg({name:"MuiUseMediaQuery",props:t,theme:n});let u="function"==typeof e?e(n):e;return u=u.replace(/^@media( ?)/m,""),(void 0!==ey?ty:Zg)(u,o,a,i,l)}("(prefers-color-scheme: dark)"),n=t?"dark":"light",r=W.useContext(_p),o=Ib({palette:{mode:n,primary:{main:"#00617B"},secondary:{main:"#873C00"}},components:{MuiLink:{defaultProps:{component:bR(r)}},MuiButtonBase:{defaultProps:{LinkComponent:bR(r)}}}});return te.jsx(mw,{theme:o,children:e})},xR={},SR=[];var kR={},ER={};const CR=o(kw);var _R;function OR(){return _R||(_R=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=CR}(ER)),ER}var PR=Yy;Object.defineProperty(kR,"__esModule",{value:!0});var RR=kR.default=void 0,TR=PR(OR()),jR=ee;RR=kR.default=(0,TR.default)((0,jR.jsx)("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"}),"List");const MR=rp({name:"application",initialState:{baseUrl:"",preferredPageSize:20,toolbarOpen:!0,favoriteUrls:[],autoLatest:!1,iframeHeight:400},reducers:{changeBaseUrl(e,t){e.baseUrl=t.payload},setToolbarOpen(e,t){e.toolbarOpen=t.payload},setPreferredPageSize(e,t){e.preferredPageSize=t.payload},addFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);e.favoriteUrls=Array.from(n.add(t.payload).values())},removeFavoriteUrl(e,t){const n=new Set(e.favoriteUrls);n.delete(t.payload),e.favoriteUrls=Array.from(n.values())},changeAutoLatest:(e,t)=>{e.autoLatest=t.payload},setIFrameHeight:(e,t)=>{e.iframeHeight=t.payload}}}),{changeBaseUrl:DR,changeAutoLatest:NR,setToolbarOpen:IR,setPreferredPageSize:LR,addFavoriteUrl:AR,removeFavoriteUrl:$R,setIFrameHeight:zR}=MR.actions,FR=rp({name:"store.debug",initialState:{entry:null,currentPageRequestIds:[]},reducers:{changeEntryAction:(e,t)=>{e.entry=t.payload},addCurrentPageRequestId:(e,t)=>{e.currentPageRequestIds=[...e.currentPageRequestIds,t.payload].slice(0,100)}}}),{changeEntryAction:BR,addCurrentPageRequestId:WR}=FR.actions,UR=()=>mf.useSelector((e=>e[FR.name]?.entry));var qR,HR,VR=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=200&&e.status<=299},pT=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function hT(e){if(!Yd(e))return e;for(var t=tT({},e),n=0,r=Object.entries(t);n=c)}var c=sp(n+"/executeQuery",u,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[Sp]=!0,e},condition:function(e,t){var r,a,i,l=(0,t.getState)(),u=null==(a=null==(r=l[n])?void 0:r.queries)?void 0:a[e.queryCacheKey],c=null==u?void 0:u.fulfilledTimeStamp,f=e.originalArgs,d=null==u?void 0:u.originalArgs,p=o[e.endpointName];return!(!RT(e)&&("pending"===(null==u?void 0:u.status)||!s(e,l)&&(!ET(p)||!(null==(i=null==p?void 0:p.forceRefetch)?void 0:i.call(p,{currentArg:f,previousArg:d,endpointState:u,state:l})))&&c))},dispatchConditionRejection:!0}),f=sp(n+"/executeMutation",u,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[Sp]=!0,e}});function d(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:c,mutationThunk:f,prefetch:function(e,t,n){return function(r,o){var a=function(e){return"force"in e}(n)&&n.force,l=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,u=function(n){return void 0===n&&(n=!0),i.endpoints[e].initiate(t,{forceRefetch:n})},s=i.endpoints[e].select(t)(o());if(a)r(u());else if(l){var c=null==s?void 0:s.fulfilledTimeStamp;if(!c)return void r(u());(Number(new Date)-Number(new Date(c)))/1e3>=l&&r(u())}else r(u(!1))}},updateQueryData:function(e,t,n,r){return void 0===r&&(r=!0),function(o,a){var l,u,s,c=i.endpoints[e].select(t)(a()),f={patches:[],inversePatches:[],undo:function(){return o(i.util.patchQueryData(e,t,f.inversePatches,r))}};if(c.status===qR.uninitialized)return f;if("data"in c)if(yf(c.data)){var d=pd(c.data,n),p=d[0],h=d[1],m=d[2];(l=f.patches).push.apply(l,h),(u=f.inversePatches).push.apply(u,m),s=p}else s=n(c.data),f.patches.push({op:"replace",path:[],value:s}),f.inversePatches.push({op:"replace",path:[],value:c.data});return o(i.util.patchQueryData(e,t,f.patches,r)),f}},upsertQueryData:function(e,t,n){return function(r){var o;return r(i.endpoints[e].initiate(t,((o={subscribe:!1,forceRefetch:!0})[PT]=function(){return{data:n}},o)))}},patchQueryData:function(e,t,n,r){return function(u,s){var c=o[e],f=a({queryArgs:t,endpointDefinition:c,endpointName:e});if(u(i.internalActions.queryResultPatched({queryCacheKey:f,patches:n})),r){var d=i.endpoints[e].select(t)(s()),p=CT(c.providesTags,d.data,void 0,t,{},l);u(i.internalActions.updateProvidedBy({queryCacheKey:f,providedTags:p}))}}},buildMatchThunkActions:function(e,t){return{matchPending:pp(vp(e),d(t)),matchFulfilled:pp(bp(e),d(t)),matchRejected:pp(gp(e),d(t))}}}}({baseQuery:r,reducerPath:o,context:n,api:e,serializeQueryArgs:a,assertTagType:c}),d=f.queryThunk,p=f.mutationThunk,h=f.patchQueryData,m=f.updateQueryData,v=f.upsertQueryData,g=f.prefetch,y=f.buildMatchThunkActions,b=LT({context:n,queryThunk:d,mutationThunk:p,reducerPath:o,assertTagType:c,config:{refetchOnFocus:u,refetchOnReconnect:s,refetchOnMountOrArgChange:l,keepUnusedDataFor:i,reducerPath:o}}),w=b.reducer,x=b.actions;nj(e.util,{patchQueryData:h,updateQueryData:m,upsertQueryData:v,prefetch:g,resetApiState:x.resetApiState}),nj(e.internalActions,x);var S=tj({reducerPath:o,context:n,queryThunk:d,mutationThunk:p,api:e,assertTagType:c}),k=S.middleware,E=S.actions;nj(e.util,E),nj(e,{reducer:w,middleware:k});var C=BT({serializeQueryArgs:a,reducerPath:o}),_=C.buildQuerySelector,O=C.buildMutationSelector,P=C.selectInvalidatedBy;nj(e.util,{selectInvalidatedBy:P});var R=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,o=e.api,a=e.context,i=new Map,l=new Map,u=o.internalActions,s=u.unsubscribeQueryResult,c=u.removeMutationResult,f=u.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var a=function(l,u){var c=void 0===u?{}:u,d=c.subscribe,p=void 0===d||d,h=c.forceRefetch,m=c.subscriptionOptions,v=c[PT];return function(u,c){var d,g,y=t({queryArgs:l,endpointDefinition:r,endpointName:e}),b=n(((d={type:"query",subscribe:p,forceRefetch:h,subscriptionOptions:m,endpointName:e,originalArgs:l,queryCacheKey:y})[PT]=v,d)),w=o.endpoints[e].select(l),x=u(b),S=w(c()),k=x.requestId,E=x.abort,C=S.requestId!==k,_=null==(g=i.get(u))?void 0:g[y],O=function(){return w(c())},P=Object.assign(v?x.then(O):C&&!_?Promise.resolve(S):Promise.all([_,x]).then(O),{arg:l,requestId:k,subscriptionOptions:m,queryCacheKey:y,abort:E,unwrap:function(){return oT(this,null,(function(){var e;return VR(this,(function(t){switch(t.label){case 0:return[4,P];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}}))}))},refetch:function(){return u(a(l,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){p&&u(s({queryCacheKey:y,requestId:k}))},updateSubscriptionOptions:function(t){P.subscriptionOptions=t,u(f({endpointName:e,requestId:k,queryCacheKey:y,options:t}))}});if(!_&&!C&&!v){var R=i.get(u)||{};R[y]=P,i.set(u,R),P.then((function(){delete R[y],Object.keys(R).length||i.delete(u)}))}return P}};return a},buildInitiateMutation:function(e){return function(t,n){var o=void 0===n?{}:n,a=o.track,i=void 0===a||a,u=o.fixedCacheKey;return function(n,o){var a=r({type:"mutation",endpointName:e,originalArgs:t,track:i,fixedCacheKey:u}),s=n(a),f=s.requestId,d=s.abort,p=s.unwrap,h=s.unwrap().then((function(e){return{data:e}})).catch((function(e){return{error:e}})),m=function(){n(c({requestId:f,fixedCacheKey:u}))},v=Object.assign(h,{arg:s.arg,requestId:f,abort:d,unwrap:p,unsubscribe:m,reset:m}),g=l.get(n)||{};return l.set(n,g),g[f]=v,v.then((function(){delete g[f],Object.keys(g).length||l.delete(n)})),u&&(g[u]=v,v.then((function(){g[u]===v&&(delete g[u],Object.keys(g).length||l.delete(n))}))),v}}},getRunningQueryThunk:function(e,n){return function(r){var o,l=a.endpointDefinitions[e],u=t({queryArgs:n,endpointDefinition:l,endpointName:e});return null==(o=i.get(r))?void 0:o[u]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=l.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(i.get(e)||{}).filter(OT)}},getRunningMutationsThunk:function(){return function(e){return Object.values(l.get(e)||{}).filter(OT)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap((function(e){return e?Object.values(e):[]}))};return KR(KR([],e(i)),e(l)).filter(OT)},removalWarning:d};function d(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}}({queryThunk:d,mutationThunk:p,api:e,serializeQueryArgs:a,context:n}),T=R.buildInitiateQuery,j=R.buildInitiateMutation,M=R.getRunningMutationThunk,D=R.getRunningMutationsThunk,N=R.getRunningQueriesThunk,I=R.getRunningQueryThunk,L=R.getRunningOperationPromises,A=R.removalWarning;return nj(e.util,{getRunningOperationPromises:L,getRunningOperationPromise:A,getRunningMutationThunk:M,getRunningMutationsThunk:D,getRunningQueryThunk:I,getRunningQueriesThunk:N}),{name:rj,injectEndpoint:function(t,n){var r,o=e;null!=(r=o.endpoints)[t]||(r[t]={}),ET(n)?nj(o.endpoints[t],{name:t,select:_(t,n),initiate:T(t,n)},y(d,t)):function(e){return e.type===mT.mutation}(n)&&nj(o.endpoints[t],{name:t,select:O(),initiate:j(t)},y(p,t))}}}},(_j=(Cj=void 0===Ej?{}:Ej).batch,Oj=void 0===_j?mf.batch:_j,Pj=Cj.useDispatch,Rj=void 0===Pj?mf.useDispatch:Pj,Tj=Cj.useSelector,jj=void 0===Tj?mf.useSelector:Tj,Mj=Cj.useStore,Dj=void 0===Mj?mf.useStore:Mj,Nj=Cj.unstable__sideEffectsInRender,Ij=void 0!==Nj&&Nj,{name:Lj,init:function(e,t,n){var r=t.serializeQueryArgs,o=e,a=function(e){var t=e.api,n=e.moduleOptions,r=n.batch,o=n.useDispatch,a=n.useSelector,i=n.useStore,l=n.unstable__sideEffectsInRender,u=e.serializeQueryArgs,s=e.context,c=l?function(e){return e()}:W.useEffect;return{buildQueryHooks:function(e){var n=function(n,r){var a=void 0===r?{}:r,i=a.refetchOnReconnect,l=a.refetchOnFocus,u=a.refetchOnMountOrArgChange,f=a.skip,d=void 0!==f&&f,p=a.pollingInterval,h=void 0===p?0:p,m=t.endpoints[e].initiate,v=o(),g=pj(d?AT:n,yj,s.endpointDefinitions[e],e),y=mj({refetchOnReconnect:i,refetchOnFocus:l,pollingInterval:h}),b=W.useRef(!1),w=W.useRef(),x=w.current||{},S=x.queryCacheKey,k=x.requestId,E=!1;if(S&&k){var C=v(t.internalActions.internal_probeSubscription({queryCacheKey:S,requestId:k}));E=!!C}var _=!E&&b.current;return c((function(){b.current=E})),c((function(){_&&(w.current=void 0)}),[_]),c((function(){var e,t=w.current;if(g===AT)return null==t||t.unsubscribe(),void(w.current=void 0);var n=null==(e=w.current)?void 0:e.subscriptionOptions;if(t&&t.arg===g)y!==n&&t.updateSubscriptionOptions(y);else{null==t||t.unsubscribe();var r=v(m(g,{subscriptionOptions:y,forceRefetch:u}));w.current=r}}),[v,m,u,g,y,_]),W.useEffect((function(){return function(){var e;null==(e=w.current)||e.unsubscribe(),w.current=void 0}}),[]),W.useMemo((function(){return{refetch:function(){var e;if(!w.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=w.current)?void 0:e.refetch()}}}),[])},l=function(n){var a=void 0===n?{}:n,i=a.refetchOnReconnect,l=a.refetchOnFocus,u=a.pollingInterval,s=void 0===u?0:u,f=t.endpoints[e].initiate,d=o(),p=W.useState(hj),h=p[0],m=p[1],v=W.useRef(),g=mj({refetchOnReconnect:i,refetchOnFocus:l,pollingInterval:s});c((function(){var e,t,n=null==(e=v.current)?void 0:e.subscriptionOptions;g!==n&&(null==(t=v.current)||t.updateSubscriptionOptions(g))}),[g]);var y=W.useRef(g);c((function(){y.current=g}),[g]);var b=W.useCallback((function(e,t){var n;return void 0===t&&(t=!1),r((function(){var r;null==(r=v.current)||r.unsubscribe(),v.current=n=d(f(e,{subscriptionOptions:y.current,forceRefetch:!t})),m(e)})),n}),[d,f]);return W.useEffect((function(){return function(){var e;null==(e=null==v?void 0:v.current)||e.unsubscribe()}}),[]),W.useEffect((function(){h===hj||v.current||b(h,!0)}),[h,b]),W.useMemo((function(){return[b,h]}),[b,h])},d=function(n,r){var o=void 0===r?{}:r,l=o.skip,c=void 0!==l&&l,d=o.selectFromResult,p=t.endpoints[e].select,h=pj(c?AT:n,u,s.endpointDefinitions[e],e),m=W.useRef(),v=W.useMemo((function(){return jd([p(h),function(e,t){return t},function(e){return h}],f)}),[p,h]),g=W.useMemo((function(){return d?jd([v],d):v}),[v,d]),y=a((function(e){return g(e,m.current)}),mf.shallowEqual),b=i(),w=v(b.getState(),m.current);return bj((function(){m.current=w}),[w]),y};return{useQueryState:d,useQuerySubscription:n,useLazyQuerySubscription:l,useLazyQuery:function(e){var t=l(e),n=t[0],r=t[1],o=d(r,dj(fj({},e),{skip:r===hj})),a=W.useMemo((function(){return{lastArg:r}}),[r]);return W.useMemo((function(){return[n,o,a]}),[n,o,a])},useQuery:function(e,t){var r=n(e,t),o=d(e,fj({selectFromResult:e===AT||(null==t?void 0:t.skip)?void 0:xj},t)),a=o.data,i=o.status,l=o.isLoading,u=o.isSuccess,s=o.isError,c=o.error;return W.useDebugValue({data:a,status:i,isLoading:l,isSuccess:u,isError:s,error:c}),W.useMemo((function(){return fj(fj({},o),r)}),[o,r])}}},buildMutationHook:function(e){return function(n){var i=void 0===n?{}:n,l=i.selectFromResult,u=void 0===l?wj:l,s=i.fixedCacheKey,c=t.endpoints[e],f=c.select,d=c.initiate,p=o(),h=W.useState(),m=h[0],v=h[1];W.useEffect((function(){return function(){(null==m?void 0:m.arg.fixedCacheKey)||null==m||m.reset()}}),[m]);var g=W.useCallback((function(e){var t=p(d(e,{fixedCacheKey:s}));return v(t),t}),[p,d,s]),y=(m||{}).requestId,b=W.useMemo((function(){return jd([f({fixedCacheKey:s,requestId:null==m?void 0:m.requestId})],u)}),[f,m,u,s]),w=a(b,mf.shallowEqual),x=null==s?null==m?void 0:m.arg.originalArgs:void 0,S=W.useCallback((function(){r((function(){m&&v(void 0),s&&p(t.internalActions.removeMutationResult({requestId:y,fixedCacheKey:s}))}))}),[p,s,m,y]),k=w.endpointName,E=w.data,C=w.status,_=w.isLoading,O=w.isSuccess,P=w.isError,R=w.error;W.useDebugValue({endpointName:k,data:E,status:C,isLoading:_,isSuccess:O,isError:P,error:R});var T=W.useMemo((function(){return dj(fj({},w),{originalArgs:x,reset:S})}),[w,x,S]);return W.useMemo((function(){return[g,T]}),[g,T])}},usePrefetch:function(e,n){var r=o(),a=mj(n);return W.useCallback((function(n,o){return r(t.util.prefetch(e,n,fj(fj({},a),o)))}),[e,r,a])}};function f(e,t,n){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var r=t.endpointName,o=s.endpointDefinitions[r];u({queryArgs:t.originalArgs,endpointDefinition:o,endpointName:r})===u({queryArgs:n,endpointDefinition:o,endpointName:r})&&(t=void 0)}var a=e.isSuccess?e.data:null==t?void 0:t.data;void 0===a&&(a=e.data);var i=void 0!==a,l=e.isLoading,c=!i&&l,f=e.isSuccess||l&&i;return dj(fj({},e),{data:a,currentData:e.data,isFetching:l,isLoading:c,isSuccess:f})}}({api:e,moduleOptions:{batch:Oj,useDispatch:Rj,useSelector:jj,useStore:Dj,unstable__sideEffectsInRender:Ij},serializeQueryArgs:r,context:n}),i=a.buildQueryHooks,l=a.buildMutationHook,u=a.usePrefetch;return kj(o,{usePrefetch:u}),kj(n,{batch:Oj}),{injectEndpoint:function(t,n){if(function(e){return e.type===vj.query}(n)){var r=i(t),a=r.useQuery,u=r.useLazyQuery,s=r.useLazyQuerySubscription,c=r.useQueryState,f=r.useQuerySubscription;kj(o.endpoints[t],{useQuery:a,useLazyQuery:u,useLazyQuerySubscription:s,useQueryState:c,useQuerySubscription:f}),e["use"+Sj(t)+"Query"]=a,e["useLazy"+Sj(t)+"Query"]=u}else if(function(e){return e.type===vj.mutation}(n)){var d=l(t);kj(o.endpoints[t],{useMutation:d}),e["use"+Sj(t)+"Mutation"]=d}}}}}));const $j=Aj({reducerPath:"api.debug",tagTypes:["debug/list"],baseQuery:(zj="/debug/api/",async(e,t,n)=>{const r=function(e){var t=this;void 0===e&&(e={});var n=e,r=n.baseUrl,o=n.prepareHeaders,a=void 0===o?function(e){return e}:o,i=n.fetchFn,l=void 0===i?fT:i,u=n.paramsSerializer,s=n.isJsonContentType,c=void 0===s?pT:s,f=n.jsonContentType,d=void 0===f?"application/json":f,p=n.jsonReplacer,h=n.timeout,m=n.responseHandler,v=n.validateStatus,g=rT(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return"undefined"==typeof fetch&&l===fT&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(e,n){return oT(t,null,(function(){var t,o,i,s,f,b,w,x,S,k,E,C,_,O,P,R,T,j,M,D,N,I,L,A,$,z,F,B,W,U,q,H,V,K,Y,Q;return VR(this,(function(G){switch(G.label){case 0:return t=n.signal,o=n.getState,i=n.extra,s=n.endpoint,f=n.forced,b=n.type,S=(x="string"==typeof e?{url:e}:e).url,k=x.headers,E=void 0===k?new Headers(g.headers):k,C=x.params,_=void 0===C?void 0:C,O=x.responseHandler,P=void 0===O?null!=m?m:"json":O,R=x.validateStatus,T=void 0===R?null!=v?v:dT:R,j=x.timeout,M=void 0===j?h:j,D=rT(x,["url","headers","params","responseHandler","validateStatus","timeout"]),N=tT(nT(tT({},g),{signal:t}),D),E=new Headers(hT(E)),I=N,[4,a(E,{getState:o,extra:i,endpoint:s,forced:f,type:b})];case 1:I.headers=G.sent()||E,L=function(e){return"object"==typeof e&&(Yd(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!N.headers.has("content-type")&&L(N.body)&&N.headers.set("content-type",d),L(N.body)&&c(N.headers)&&(N.body=JSON.stringify(N.body,p)),_&&(A=~S.indexOf("?")?"&":"?",$=u?u(_):new URLSearchParams(hT(_)),S+=A+$),S=lT(r,S),z=new Request(S,N),F=new Request(S,N),w={request:F},W=!1,U=M&&setTimeout((function(){W=!0,n.abort()}),M),G.label=2;case 2:return G.trys.push([2,4,5,6]),[4,l(z)];case 3:return B=G.sent(),[3,6];case 4:return q=G.sent(),[2,{error:{status:W?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(q)},meta:w}];case 5:return U&&clearTimeout(U),[7];case 6:H=B.clone(),w.response=H,K="",G.label=7;case 7:return G.trys.push([7,9,,10]),[4,Promise.all([y(B,P).then((function(e){return V=e}),(function(e){return Y=e})),H.text().then((function(e){return K=e}),(function(){}))])];case 8:if(G.sent(),Y)throw Y;return[3,10];case 9:return Q=G.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:B.status,data:K,error:String(Q)},meta:w}];case 10:return[2,T(B,V)?{data:V,meta:w}:{error:{status:B.status,data:V},meta:w}]}}))}))};function y(e,t){return oT(this,null,(function(){var n;return VR(this,(function(r){switch(r.label){case 0:return"function"==typeof t?[2,t(e)]:("content-type"===t&&(t=c(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}}))}))}}({baseUrl:(t.getState().application?.baseUrl||"").replace(/\/$/,"")+zj,referrerPolicy:"no-referrer",headers:{Accept:"application/json","Content-Type":"application/json"}});return r(e,t,n)}),endpoints:e=>({getDebug:e.query({query:()=>"",transformResponse:e=>e.data||[],providesTags:["debug/list"]}),getObject:e.query({query:e=>`object/${e.debugEntryId}/${e.objectId}`,transformResponse:e=>e.data}),getCollectorInfo:e.query({query:e=>`view/${e.id}?collector=${e.collector}`,transformResponse:e=>e.data||[],transformErrorResponse:e=>e.data})})});var zj;const{useGetDebugQuery:Fj,useLazyGetDebugQuery:Bj,useGetObjectQuery:Wj,useLazyGetObjectQuery:Uj,useLazyGetCollectorInfoQuery:qj}=$j;function Hj(e){return te.jsxs(ww,{width:"128",height:"128",viewBox:"0 0 128 128",fill:"none",...e,children:[te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8408C69.107 54.6204 66.3466 50.6693 66.3448 50.6758C66.3395 50.6937 63.8596 64.1219 59.4008 73.8374C58.6566 75.4599 57.6681 77.4858 56.6706 79.1173C53.5924 84.5783 49.1259 89.8028 46.4639 95.0981C43.8245 100.346 43.3347 105.544 43.5802 111.453C43.8274 117.395 45.1937 123.223 46.5054 129C51.4499 127.928 55.7533 126.094 59.4761 123.749C69.2731 117.577 75.193 107.706 76.8753 97.0716C76.8753 97.0716 76.9572 96.6396 76.9939 96.1129C77.7524 87.8936 77.5015 85.3005 77.2531 82.0012Z",fill:e.monochromeColor??"#40B3D8"}),te.jsx("path",{d:"M77.2531 82.0012C76.3867 70.5107 72.6982 63.0625 70.902 58.8409C69.107 54.6204 66.3466 50.6693 66.3448 50.6758L66.3442 50.6788C66.3442 50.677 66.3448 50.6753 66.3448 50.6753L65.686 49.6909C51.2382 29.312 23.5302 19.1371 0.119787 28.5678C-1.00751 42.8522 5.5831 67.4296 29.6275 74.2849C39.3479 77.2898 47.1316 76.5104 56.6712 79.1167C56.6706 79.1167 56.6706 79.1173 56.6706 79.1173C56.6706 79.1173 66.3674 82.5131 72.0086 87.6053C74.546 89.8952 77.087 92.909 76.9595 96.4937C77.7631 87.9628 77.5057 85.3529 77.2531 82.0012Z",fill:e.monochromeColor??"#83C933"}),te.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M66.7534 38.717C63.3372 28.6738 64.7847 21.9442 71.0349 12.5791C74.0159 8.1108 79.1626 2.92804 83.6735 0C101.873 11.4595 108.603 32.8043 101.909 52.6279C97.0385 67.0518 92.4683 73.0997 80.9125 87.9401C82.2592 72.0462 76.6921 61.0271 71.2264 48.7834C69.8353 45.6683 67.9116 42.1223 66.7534 38.717Z",fill:e.monochromeColor??"#F18A2A"}),te.jsx("path",{d:"M76.9596 96.4936C77.0871 92.909 74.546 89.8951 72.0086 87.6053C66.3674 82.5131 56.6712 79.1173 56.6712 79.1173C57.6687 77.4858 58.6572 75.4599 59.4014 73.8374C63.8602 64.1219 66.3401 50.6937 66.3454 50.6758C66.3472 50.6699 69.107 54.6204 70.9027 58.8409C72.6989 63.0625 76.3867 70.5101 77.2537 82.0012C77.5057 85.3529 77.7631 87.9628 76.9596 96.4936Z",fill:e.monochromeColor??"#7FB93C"})]})}function Vj(e){return e&&"console"in e}function Kj(e){return e&&"web"in e}var Yj={},Qj=Yy;Object.defineProperty(Yj,"__esModule",{value:!0});var Gj=Yj.default=void 0,Xj=Qj(OR()),Jj=ee;Gj=Yj.default=(0,Xj.default)((0,Jj.jsx)("path",{d:"M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5zm2.5-.5h1.5V15H10v-4.5h1.5V9H7zm5.5 0H14V15h1.5v-4.5H17V9h-4.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5m0 2.5h-2v-1h2z"}),"Http");var Zj={},eM=Yy;Object.defineProperty(Zj,"__esModule",{value:!0});var tM=Zj.default=void 0,nM=eM(OR()),rM=ee;tM=Zj.default=(0,nM.default)((0,rM.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");var oM={},aM=Yy;Object.defineProperty(oM,"__esModule",{value:!0});var iM=oM.default=void 0,lM=aM(OR()),uM=ee;iM=oM.default=(0,lM.default)((0,uM.jsx)("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"}),"SyncAlt");var sM={},cM=Yy;Object.defineProperty(sM,"__esModule",{value:!0});var fM=sM.default=void 0,dM=cM(OR()),pM=ee;fM=sM.default=(0,dM.default)((0,pM.jsx)("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal");const hM=({label:e,icon:t,color:n})=>te.jsx(Mk,{sx:{borderRadius:"5px 5px",margin:"0 2px"},icon:t,label:e,color:n}),mM=e=>{switch(!0){case e>=400:return"error";case e>=300:return"warning";case e>=200:return"success"}return"info"},vM=({entry:e})=>{return Vj(e)?te.jsx(hM,{icon:te.jsx(fM,{}),label:e.command?.exitCode,color:(t=Number(e.command?.exitCode),0===t?"success":"error")}):Kj(e)?te.jsx(hM,{label:[e.response?.statusCode,e.request.method].join(" "),color:mM(e.response?.statusCode)}):null;var t},gM=U.memo((({entry:e,onClick:t,selected:n,rightText:r})=>te.jsxs(yC,{onClick:()=>t(e),defaultChecked:n,children:[te.jsx(kC,{children:te.jsx(vM,{entry:e})}),te.jsx(PC,{primary:e.request?.path??e.command?.input}),r&&te.jsx(D_,{title:"The request was made by the current page",children:te.jsx(iM,{})})]}))),yM=(e,t)=>n=>{let r=!1;return e.includes("web")&&Kj(n)&&(r=!0),e.includes("console")&&Vj(n)&&(r=!0),e.includes("current")&&t.includes(n.id)&&(r=!0),r},bM=({onClick:e,onClose:t,open:n})=>{const r=Fj(),o=UR(),[a,i]=W.useState([]),[l,u]=W.useState((()=>["web","console","current"])),s=mf.useSelector((e=>e[FR.name]?.currentPageRequestIds));return W.useEffect((()=>{!r.isFetching&&r.data&&r.data.length>0&&i(r.data)}),[r.isFetching]),te.jsxs(HE,{fullWidth:!0,onClose:()=>t(),open:n,children:[te.jsx(QE,{children:"Select a debug entry"}),te.jsxs(pC,{sx:{pt:0},children:[te.jsxs(rO,{fullWidth:!0,size:"small",color:"primary",value:l,onChange:(e,t)=>{u(t)},children:[te.jsx(X_,{value:"web",children:te.jsx(Gj,{})}),te.jsx(X_,{value:"console",children:te.jsx(fM,{})}),te.jsx(X_,{value:"current",children:"Current"}),te.jsx(uE,{color:"primary",onClick:()=>r.refetch(),disabled:r.isFetching,children:r.isFetching?te.jsx(RE,{size:24,color:"info"}):te.jsx(tM,{})})]}),a.filter(yM(l,s)).map((t=>te.jsx(gM,{entry:t,onClick:e,selected:o&&t.id===o.id,rightText:s.includes(t.id)?"Current":null},t.id)))]})]})},wM=xw(ee.jsx("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject"),xM=xw([ee.jsx("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),ee.jsx("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 8h-8V7h8zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4z"},"1")],"DynamicFeed"),SM=xw(ee.jsx("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"Input"),kM=xw(ee.jsx("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2z"}),"Repeat"),EM=xw(ee.jsx("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82"}),"Route"),CM=xw(ee.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal"),_M=({data:e})=>{if(!e.command)return null;const[t,n]=W.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(D_,{title:"Click to see more options",arrow:!0,children:te.jsx(uE,{startIcon:te.jsx(CM,{fontSize:"small"}),color:(a=e.command.exitCode,0===a?"success":"error"),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:e.command.name})}),te.jsxs(t_,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(kM,{fontSize:"small"})}),"Repeat"]}),e.command.class&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(wM,{fontSize:"small"})}),te.jsx(PC,{children:"Class"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:e.command.class})]}),e.command.input&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(SM,{fontSize:"small"})}),te.jsx(PC,{children:"Input"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:e.command.input})]})]})]});var a};function OM(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function PM(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function RM(e){PM(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===md(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}var TM={};function jM(){return TM}function MM(e){if(PM(1,arguments),!function(e){return PM(1,arguments),e instanceof Date||"object"===md(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=RM(e);return!isNaN(Number(t))}function DM(e,t){return PM(2,arguments),function(e,t){PM(2,arguments);var n=RM(e).getTime(),r=OM(t);return new Date(n+r)}(e,-OM(t))}function NM(e){PM(1,arguments);var t=RM(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function IM(e){PM(1,arguments);var t=RM(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=NM(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var i=NM(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function LM(e){PM(1,arguments);var t=RM(e),n=NM(t).getTime()-function(e){PM(1,arguments);var t=IM(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),NM(n)}(t).getTime();return Math.round(n/6048e5)+1}function AM(e,t){var n,r,o,a,i,l,u,s;PM(1,arguments);var c=jM(),f=OM(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(l=i.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==r?r:null===(u=c.locale)||void 0===u||null===(s=u.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=RM(e),p=d.getUTCDay(),h=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(f+1,0,p),h.setUTCHours(0,0,0,0);var m=AM(h,t),v=new Date(0);v.setUTCFullYear(f,0,p),v.setUTCHours(0,0,0,0);var g=AM(v,t);return c.getTime()>=m.getTime()?f+1:c.getTime()>=g.getTime()?f:f-1}function zM(e,t){PM(1,arguments);var n=RM(e),r=AM(n,t).getTime()-function(e,t){var n,r,o,a,i,l,u,s;PM(1,arguments);var c=jM(),f=OM(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(i=t.locale)||void 0===i||null===(l=i.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==r?r:null===(u=c.locale)||void 0===u||null===(s=u.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==n?n:1),d=$M(e,t),p=new Date(0);return p.setUTCFullYear(d,0,f),p.setUTCHours(0,0,0,0),AM(p,t)}(n,t).getTime();return Math.round(r/6048e5)+1}function FM(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return FM("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):FM(n+1,2)},d:function(e,t){return FM(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return FM(e.getUTCHours()%12||12,t.length)},H:function(e,t){return FM(e.getUTCHours(),t.length)},m:function(e,t){return FM(e.getUTCMinutes(),t.length)},s:function(e,t){return FM(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return FM(Math.floor(r*Math.pow(10,n-3)),t.length)}};const WM=BM;var UM="midnight",qM="noon",HM="morning",VM="afternoon",KM="evening",YM="night",QM={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return WM.y(e,t)},Y:function(e,t,n,r){var o=$M(e,r),a=o>0?o:1-o;return"YY"===t?FM(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):FM(a,t.length)},R:function(e,t){return FM(IM(e),t.length)},u:function(e,t){return FM(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return FM(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return FM(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return WM.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return FM(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=zM(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):FM(o,t.length)},I:function(e,t,n){var r=LM(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):FM(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):WM.d(e,t)},D:function(e,t,n){var r=function(e){PM(1,arguments);var t=RM(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):FM(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return FM(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return FM(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return FM(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?qM:0===o?UM:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?KM:o>=12?VM:o>=4?HM:YM,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return WM.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):WM.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):FM(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):FM(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):WM.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):WM.s(e,t)},S:function(e,t){return WM.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return XM(o);case"XXXX":case"XX":return JM(o);default:return JM(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return XM(o);case"xxxx":case"xx":return JM(o);default:return JM(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+GM(o,":");default:return"GMT"+JM(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+GM(o,":");default:return"GMT"+JM(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return FM(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return FM((r._originalDate||e).getTime(),t.length)}};function GM(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+FM(a,2)}function XM(e,t){return e%60==0?(e>0?"-":"+")+FM(Math.abs(e)/60,2):JM(e,t)}function JM(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+FM(Math.floor(o/60),2)+n+FM(o%60,2)}var ZM=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},eD=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},tD={p:eD,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return ZM(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",ZM(o,t)).replace("{{time}}",eD(a,t))}},nD=["D","DD"],rD=["YY","YYYY"];function oD(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var aD={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const iD=function(e,t,n){var r,o=aD[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function lD(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var uD={date:lD({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:lD({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:lD({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var sD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const cD=function(e,t,n,r){return sD[e]};function fD(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,l=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function dD(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var i,l=a[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?function(e,t){for(var n=0;n20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:fD({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:fD({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:fD({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:fD({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:fD({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(pD={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(pD.matchPattern);if(!n)return null;var r=n[0],o=e.match(pD.parsePattern);if(!o)return null;var a=pD.valueCallback?pD.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(r.length)}}),era:dD({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:dD({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:dD({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:dD({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:dD({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var mD=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gD=/^'([^]*?)'?$/,yD=/''/g,bD=/[a-zA-Z]/;function wD(e,t,n){var r,o,a,i,l,u,s,c,f,d,p,h,m,v,g,y,b,w;PM(2,arguments);var x=String(t),S=jM(),k=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:S.locale)&&void 0!==r?r:hD,E=OM(null!==(a=null!==(i=null!==(l=null!==(u=null==n?void 0:n.firstWeekContainsDate)&&void 0!==u?u:null==n||null===(s=n.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==l?l:S.firstWeekContainsDate)&&void 0!==i?i:null===(f=S.locale)||void 0===f||null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==a?a:1);if(!(E>=1&&E<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=OM(null!==(p=null!==(h=null!==(m=null!==(v=null==n?void 0:n.weekStartsOn)&&void 0!==v?v:null==n||null===(g=n.locale)||void 0===g||null===(y=g.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==m?m:S.weekStartsOn)&&void 0!==h?h:null===(b=S.locale)||void 0===b||null===(w=b.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var _=RM(e);if(!MM(_))throw new RangeError("Invalid time value");var O=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}(_),P=DM(_,O),R={firstWeekContainsDate:E,weekStartsOn:C,locale:k,_originalDate:_},T=x.match(vD).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,tD[t])(e,k.formatLong):e})).join("").match(mD).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(gD);if(!t)return e;return t[1].replace(yD,"'")}(r);var a=QM[o];if(a)return null!=n&&n.useAdditionalWeekYearTokens||!function(e){return-1!==rD.indexOf(e)}(r)||oD(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!function(e){return-1!==nD.indexOf(e)}(r)||oD(r,t,String(e)),a(P,r,k.localize,R);if(o.match(bD))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return T}function xD(e){return PM(1,arguments),RM(1e3*OM(e))}const SD=W.forwardRef(((e,t)=>{const{data:n,...r}=e;return te.jsx(Yk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(uE,{ref:t,color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:wD(xD((n.web||n.console).request.startTime),"do MMM HH:mm:ss")})})}));SD.displayName=uE.name;var kD=(e=>(e.AssetCollector="Yiisoft\\Assets\\Debug\\AssetCollector",e.LogCollector="Yiisoft\\Yii\\Debug\\Collector\\LogCollector",e.EventCollector="Yiisoft\\Yii\\Debug\\Collector\\EventCollector",e.ExceptionCollector="Yiisoft\\Yii\\Debug\\Collector\\ExceptionCollector",e.ServiceCollector="Yiisoft\\Yii\\Debug\\Collector\\ServiceCollector",e.TimelineCollector="Yiisoft\\Yii\\Debug\\Collector\\TimelineCollector",e.ValidatorCollector="Yiisoft\\Validator\\Debug\\ValidatorCollector",e.DatabaseCollector="Yiisoft\\Db\\Debug\\DatabaseCollector",e.QueueCollector="Yiisoft\\Queue\\Debug\\QueueCollector",e.HttpClientCollector="Yiisoft\\Yii\\Debug\\Collector\\HttpClientCollector",e.FilesystemStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\FilesystemStreamCollector",e.HttpStreamCollector="Yiisoft\\Yii\\Debug\\Collector\\Stream\\HttpStreamCollector",e.ConsoleAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\ConsoleAppInfoCollector",e.WebAppInfoCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\WebAppInfoCollector",e.CommandCollector="Yiisoft\\Yii\\Debug\\Collector\\Console\\CommandCollector",e.MiddlewareCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\MiddlewareCollector",e.RequestCollector="Yiisoft\\Yii\\Debug\\Collector\\Web\\RequestCollector",e.MailerCollector="Yiisoft\\Mailer\\Debug\\MailerCollector",e.VarDumperCollector="Yiisoft\\Yii\\Debug\\Collector\\VarDumperCollector",e))(kD||{});const ED=W.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(Yk,{color:"secondary",badgeContent:String(n.event?.total),children:te.jsx(uE,{ref:t,href:`/debug?collector=${kD.EventCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${kD.EventCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Events"})})}));ED.displayName=uE.name;const CD=W.forwardRef(((e,t)=>{const{data:n,iframeUrlHandler:r,...o}=e;return te.jsx(Yk,{color:"secondary",badgeContent:String(n.logger?.total),children:te.jsx(uE,{ref:t,href:`/debug?collector=${kD.LogCollector}&debugEntry=${n.id}`,onClick:e=>{r(`/debug?collector=${kD.LogCollector}&debugEntry=${n.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Logs"})})}));function _D(e,t=2){if(0==e)return"0 B";const n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(t))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}const OD=e=>{const{data:t,iframeUrlHandler:n,...r}=e,o=Kj(t)?kD.WebAppInfoCollector:kD.ConsoleAppInfoCollector;return te.jsx(D_,{title:`${(t.web||t.console).memory.peakUsage.toLocaleString(void 0)} bytes`,arrow:!0,children:te.jsx(uE,{href:`/debug?collector=${o}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${o}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:_D((t.web||t.console).memory.peakUsage)})})},PD=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return te.jsx(D_,{title:`${(1e3*(t.web||t.console).request.processingTime).toFixed(1)} ms`,arrow:!0,children:te.jsxs(uE,{href:`/debug?collector=${kD.TimelineCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${kD.TimelineCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:"info",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[(t.web||t.console).request.processingTime.toFixed(3)," s"]})})},RD=e=>{const{data:t,iframeUrlHandler:n,...r}=e;return t.validator&&0!==t.validator.total?te.jsx(Yk,{color:"secondary",badgeContent:String(t.validator.total),children:te.jsx(uE,{href:`/debug?collector=${kD.ValidatorCollector}&debugEntry=${t.id}`,onClick:e=>{n(`/debug?collector=${kD.ValidatorCollector}&debugEntry=${t.id}`),e.stopPropagation(),e.preventDefault()},color:0===t.validator.invalid?"info":"warning",variant:"contained",sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:"Validator"})}):null},TD=e=>{switch(!0){case Array.isArray(e)&&2===e.length:return e.join("::")+"()";case"string"==typeof e:return e;default:return JSON.stringify(e)}};function jD(e,t){return Object.keys(t).forEach((function(n){"default"===n||"__esModule"===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})),e}function MD(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var DD={},ND={};MD(ND,"ContextMenu",(()=>HD));var ID={};MD(ID,"nestedMenuItemsFromObject",(()=>qD));var LD={};MD(LD,"IconMenuItem",(()=>FD));const AD=pw(i_)({display:"flex",justifyContent:"space-between",paddingLeft:"4px",paddingRight:"4px"}),$D=pw(Px)({paddingLeft:"8px",paddingRight:"8px",textAlign:"left"}),zD=pw(Cg)({display:"flex"}),FD=W.forwardRef((function({MenuItemProps:e,className:t,label:n,leftIcon:r,renderLabel:o,rightIcon:a,...i},l){return ee.jsxs(AD,{...e,ref:l,className:t,...i,children:[ee.jsxs(zD,{children:[r,o?o():ee.jsx($D,{children:n})]}),a]})}));var BD={};MD(BD,"NestedMenuItem",(()=>UD));const WD=e=>ee.jsx(ww,{...e,children:ee.jsx("path",{d:"M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z"})}),UD=W.forwardRef((function(e,t){const{parentMenuOpen:n,label:r,renderLabel:o,rightIcon:a=ee.jsx(WD,{}),leftIcon:i=null,children:l,className:u,tabIndex:s,ContainerProps:c={},MenuProps:f,...d}=e,{ref:p,...h}=c,m=W.useRef(null);W.useImperativeHandle(t,(()=>m.current));const v=W.useRef(null);W.useImperativeHandle(p,(()=>v.current));const g=W.useRef(null),[y,b]=W.useState(!1),w=()=>{const e=v.current?.ownerDocument.activeElement??null;if(null==g.current)return!1;for(const t of g.current.children)if(t===e)return!0;return!1},x=y&&n;let S;return e.disabled||(S=void 0!==s?s:-1),ee.jsxs("div",{...h,ref:v,onFocus:e=>{e.target===v.current&&b(!0),h.onFocus&&h.onFocus(e)},tabIndex:S,onMouseEnter:e=>{b(!0),h.onMouseEnter&&h.onMouseEnter(e)},onMouseLeave:e=>{b(!1),h.onMouseLeave&&h.onMouseLeave(e)},onKeyDown:e=>{if("Escape"===e.key)return;w()&&e.stopPropagation();const t=v.current?.ownerDocument.activeElement;if("ArrowLeft"===e.key&&w()&&v.current?.focus(),"ArrowRight"===e.key&&e.target===v.current&&e.target===t){const e=g.current?.children[0];e?.focus()}},children:[ee.jsx(FD,{MenuItemProps:d,className:u,ref:m,leftIcon:i,rightIcon:a,label:r,renderLabel:o}),ee.jsx(t_,{style:{pointerEvents:"none"},anchorEl:m.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:x,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,onClose:()=>{b(!1)},...f,children:ee.jsx("div",{ref:g,style:{pointerEvents:"auto"},children:l})})]})}));function qD({menuItemsData:e,isOpen:t,handleClose:n}){return e.map((e=>{const{leftIcon:r,rightIcon:o,label:a,items:i,callback:l,sx:u,disabled:s}=e;return i&&i.length>0?ee.jsx(UD,{leftIcon:r,rightIcon:o,label:a,parentMenuOpen:t,sx:u,disabled:s,children:qD({handleClose:n,isOpen:t,menuItemsData:i})},a):ee.jsx(FD,{leftIcon:r,rightIcon:o,label:a,onClick:t=>{n(),l&&l(t,e)},sx:u,disabled:s},a)}))}UD.displayName="NestedMenuItem";const HD=W.forwardRef((function({children:e,menuItems:t,menuItemsData:n},r){const o=r??W.useRef(null),[a,i]=W.useState(null),[l,u]=W.useState(null),s=t??(n&&qD({handleClose:()=>i(null),isOpen:!!a,menuItemsData:n}));return ee.jsxs("div",{ref:o,onContextMenu:e=>e.preventDefault(),onMouseDown:e=>{if(null!==a&&i(null),2!==e.button)return;const t=o.current.getBoundingClientRect();e.clientXt.right||e.clientYt.bottom||u({left:e.clientX,top:e.clientY})},onMouseUp:e=>{const t=e.clientY,n=e.clientX;null!==l&&l.top===t&&l.left===n&&i({left:e.clientX,top:e.clientY})},children:[a&&ee.jsx(t_,{onContextMenu:e=>e.preventDefault(),open:!!a,onClose:()=>i(null),anchorReference:"anchorPosition",anchorPosition:a,children:s}),e]})}));var VD={};MD(VD,"NestedDropdown",(()=>YD));const KD=e=>ee.jsx(ww,{...e,children:ee.jsx("path",{d:"M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z"})}),YD=W.forwardRef((function(e,t){const[n,r]=W.useState(null),o=Boolean(n),{menuItemsData:a,onClick:i,ButtonProps:l,MenuProps:u,...s}=e,c=()=>r(null),f=qD({handleClose:c,isOpen:o,menuItemsData:a?.items??[]});return ee.jsxs("div",{ref:t,...s,children:[ee.jsx(uE,{onClick:e=>{r(e.currentTarget),i&&i(e)},endIcon:ee.jsx(KD,{}),...l,children:a?.label??"Menu"}),ee.jsx(t_,{anchorEl:n,open:o,onClose:c,...u,children:f})]})}));jD(DD,ND),jD(DD,LD),jD(DD,VD),jD(DD,BD),jD(DD,ID);const QD=({data:e})=>{const[t,n]=W.useState(null),r=Boolean(t),o=()=>n(null);return te.jsxs(te.Fragment,{children:[te.jsx(D_,{title:"Click to see more options",arrow:!0,children:te.jsxs(uE,{color:mM(e.response.statusCode),variant:"contained",onClick:e=>n(e.currentTarget),sx:{whiteSpace:"nowrap",textTransform:"none",borderRadius:0},children:[e.request.method," ",e.request.path," ",String(e.response.statusCode)]})}),te.jsxs(t_,{anchorEl:t,open:r,onClose:o,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:[te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(kM,{fontSize:"small"})}),"Repeat"]}),e.router?.middlewares&&te.jsx(UD,{onClick:o,sx:{padding:"6px 16px"},leftIcon:te.jsx(xM,{fontSize:"small",sx:{color:"text.secondary",mr:1}}),label:"Middlewares",parentMenuOpen:r,children:e.router.middlewares.map(((e,t)=>te.jsx(i_,{onClick:o,children:te.jsxs(PC,{color:"text.secondary",children:[t+1,". ",TD(e)]})},t)))}),e.router?.action&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(wM,{fontSize:"small"})}),te.jsx(PC,{children:"Action"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:TD(e.router.action)})]}),e.router?.name&&te.jsxs(i_,{onClick:o,children:[te.jsx(kC,{children:te.jsx(EM,{fontSize:"small"})}),te.jsx(PC,{children:"Route"}),te.jsx(Px,{variant:"body2",color:"text.secondary",ml:2,children:e.router.name})]})]})]})},GD=({data:e})=>e.router?te.jsx(uE,{startIcon:te.jsx(EM,{fontSize:"small"}),color:"info",variant:"contained",sx:{whiteSpace:"nowrap",height:"100%",textTransform:"none",borderRadius:0},children:e.router.name}):null,XD=rp({name:"notifications",initialState:{notifications:[]},reducers:{removeNotification(e,t){e.notifications[t.payload].shown=!1},addNotification:(e,t)=>{e.notifications=[...e.notifications,{...t.payload,shown:!0}]}}});var JD="persist:",ZD="persist/FLUSH",eN="persist/REHYDRATE",tN="persist/PAUSE",nN="persist/PERSIST",rN="persist/PURGE",oN="persist/REGISTER";function aN(e){return(aN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uN(e,t,n,r){r.debug;var o=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function yN(e,t){var n=void 0!==e.version?e.version:-1;e.debug;var r=void 0===e.stateReconciler?uN:e.stateReconciler,o=e.getStoredState||fN,a=void 0!==e.timeout?e.timeout:5e3,i=null,l=!1,u=!0,s=function(e){return e._persist.rehydrated&&i&&!u&&i.update(e),e};return function(c,f){var d=c||{},p=d._persist,h=gN(d,["_persist"]);if(f.type===nN){var m=!1,v=function(t,n){m||(f.rehydrate(e.key,t,n),m=!0)};if(a&&setTimeout((function(){!m&&v(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))}),a),u=!1,i||(i=sN(e)),p)return mN({},t(h,f),{_persist:p});if("function"!=typeof f.rehydrate||"function"!=typeof f.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),o(e).then((function(t){var r=e.migrate||function(e,t){return Promise.resolve(e)};r(t,n).then((function(e){v(e)}),(function(e){v(void 0,e)}))}),(function(e){v(void 0,e)})),mN({},t(h,f),{_persist:{version:n,rehydrated:!1}})}if(f.type===rN)return l=!0,f.result(function(e){var t=e.storage,n="".concat(void 0!==e.keyPrefix?e.keyPrefix:JD).concat(e.key);return t.removeItem(n,pN)}(e)),mN({},t(h,f),{_persist:p});if(f.type===ZD)return f.result(i&&i.flush()),mN({},t(h,f),{_persist:p});if(f.type===tN)u=!0;else if(f.type===eN){if(l)return mN({},h,{_persist:mN({},p,{rehydrated:!0})});if(f.key===e.key){var g=t(h,f),y=f.payload,b=mN({},!1!==r&&void 0!==y?r(y,c,g,e):g,{_persist:mN({},p,{rehydrated:!0})});return s(b)}}if(!p)return t(c,f);var w=t(h,f);return w===h?c:s(mN({},w,{_persist:p}))}}function bN(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var wN=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),xN=()=>Math.random().toString(36).substring(7).split("").join("."),SN={INIT:`@@redux/INIT${xN()}`,REPLACE:`@@redux/REPLACE${xN()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${xN()}`};function kN(e,t,n){if("function"!=typeof e)throw new Error(bN(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(bN(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(bN(1));return n(kN)(e,t)}let r=e,o=t,a=new Map,i=a,l=0,u=!1;function s(){i===a&&(i=new Map,a.forEach(((e,t)=>{i.set(t,e)})))}function c(){if(u)throw new Error(bN(3));return o}function f(e){if("function"!=typeof e)throw new Error(bN(4));if(u)throw new Error(bN(5));let t=!0;s();const n=l++;return i.set(n,e),function(){if(t){if(u)throw new Error(bN(6));t=!1,s(),i.delete(n),a=null}}}function d(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(bN(7));if(void 0===e.type)throw new Error(bN(8));if("string"!=typeof e.type)throw new Error(bN(17));if(u)throw new Error(bN(9));try{u=!0,o=r(o,e)}finally{u=!1}return(a=i).forEach((e=>{e()})),e}d({type:SN.INIT});return{dispatch:d,subscribe:f,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(bN(10));r=e,d({type:SN.REPLACE})},[wN]:function(){const e=f;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(bN(11));function n(){const e=t;e.next&&e.next(c())}n();return{unsubscribe:e(n)}},[wN](){return this}}}}}function EN(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:PN,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case oN:return _N({},e,{registry:[].concat(EN(e.registry),[t.key])});case eN:var n=e.registry.indexOf(t.key),r=EN(e.registry);return r.splice(n,1),_N({},e,{registry:r,bootstrapped:0===r.length});default:return e}};var TN={},jN={};function MN(e){return(MN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DN(){}jN.__esModule=!0,jN.default=function(e){var t="".concat(e,"Storage");return function(e){if("object"!==("undefined"==typeof self?"undefined":MN(self))||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch(Mg){return!1}return!0}(t)?self[t]:NN};var NN={getItem:DN,setItem:DN,removeItem:DN};TN.__esModule=!0,TN.default=function(e){var t=(0,LN.default)(e);return{getItem:function(e){return new Promise((function(n,r){n(t.getItem(e))}))},setItem:function(e,n){return new Promise((function(r,o){r(t.setItem(e,n))}))},removeItem:function(e){return new Promise((function(n,r){n(t.removeItem(e))}))}}};var IN,LN=(IN=jN)&&IN.__esModule?IN:{default:IN};var AN,$N=function(e){return e&&e.__esModule?e:{default:e}}(TN);AN=(0,$N.default)("local");var zN={};function FN(e){return e||(e=0),new Promise((function(t){return setTimeout(t,e)}))}function BN(){return Math.random().toString(36).substring(2)}var WN=0,UN=0;function qN(){var e=(new Date).getTime();return e===WN?1e3*e+ ++UN:(WN=e,UN=0,1e3*e)}var HN="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);const VN={create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),Promise.resolve()}catch(n){return Promise.reject(n)}},canBeUsed:function(){if(HN&&"undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:qN};var KN=function(){function e(e){this.ttl=e,this.set=new Set,this.timeMap=new Map}return e.prototype.has=function(e){return this.set.has(e)},e.prototype.add=function(e){var t=this;this.timeMap.set(e,YN()),this.set.add(e),setTimeout((function(){!function(e){var t=YN()-e.ttl,n=e.set[Symbol.iterator]();for(;;){var r=n.next().value;if(!r)return;if(!(e.timeMap.get(r)0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var GN="pubkey.broadcast-channel-0-",XN="messages";function JN(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function ZN(e,t){var n=e.transaction(XN).objectStore(XN),r=[];return new Promise((function(e){(function(){try{var e=IDBKeyRange.bound(t+1,1/0);return n.openCursor(e)}catch(Mg){return n.openCursor()}}()).onsuccess=function(n){var o=n.target.result;o?o.value.ide.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time0||e._addEL.internal.length>0}function bI(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&yI(e)){var t=function(t){e._addEL[t.type].forEach((function(e){t.time>=e.time&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function wI(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!yI(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}vI._pubkey=!0,vI.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return gI(this,"message",e)},postInternal:function(e){return gI(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};wI(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,bI(this,"message",t)):this._onML=null},addEventListener:function(e,t){bI(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){wI(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){this.closed=!0;var t=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};const xI={add:function(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",(function(){e()}),!0),window.addEventListener("unload",(function(){e()}),!0)}}};var SI="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?{}:xI,kI=new Set,EI=!1;function CI(){var e=[];return kI.forEach((function(t){e.push(t()),kI.delete(t)})),Promise.all(e)}const _I={add:function(e){if(EI||(EI=!0,SI.add(CI)),"function"!=typeof e)throw new Error("Listener is no function");return kI.add(e),{remove:function(){return kI.delete(e)},run:function(){return kI.delete(e),e()}}},runAll:CI,removeAll:function(){kI.clear()},getSize:function(){return kI.size}};var OI=function(e,t){this._channel=e,this._options=t,this.isLeader=!1,this.isDead=!1,this.token=BN(),this._isApl=!1,this._reApply=!1,this._unl=[],this._lstns=[],this._invs=[],this._dpL=function(){},this._dpLC=!1};function PI(e,t){var n={context:"leader",action:t,token:e.token};return e._channel.postInternal(n)}function RI(e){e.isLeader=!0;var t=_I.add((function(){return e.die()}));e._unl.push(t);var n=function(t){"leader"===t.context&&"apply"===t.action&&PI(e,"tell"),"leader"!==t.context||"tell"!==t.action||e._dpLC||(e._dpLC=!0,e._dpL(),PI(e,"tell"))};return e._channel.addEventListener("internal",n),e._lstns.push(n),PI(e,"tell")}OI.prototype={applyOnce:function(){var e=this;if(this.isLeader)return Promise.resolve(!1);if(this.isDead)return Promise.resolve(!1);if(this._isApl)return this._reApply=!0,Promise.resolve(!1);this._isApl=!0;var t=!1,n=function(n){"leader"===n.context&&n.token!=e.token&&("apply"===n.action&&n.token>e.token&&(t=!0),"tell"===n.action&&(t=!0))};return this._channel.addEventListener("internal",n),PI(this,"apply").then((function(){return FN(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):PI(e,"apply")})).then((function(){return FN(e._options.responseTime)})).then((function(){return t?Promise.reject(new Error):PI(e)})).then((function(){return RI(e)})).then((function(){return!0})).catch((function(){return!1})).then((function(t){return e._channel.removeEventListener("internal",n),e._isApl=!1,!t&&e._reApply?(e._reApply=!1,e.applyOnce()):t}))},awaitLeadership:function(){var e;return this._aLP||(this._aLP=(e=this).isLeader?Promise.resolve():new Promise((function(t){var n=!1;function r(){n||(n=!0,clearInterval(o),e._channel.removeEventListener("internal",a),t(!0))}e.applyOnce().then((function(){e.isLeader&&r()}));var o=setInterval((function(){e.applyOnce().then((function(){e.isLeader&&r()}))}),e._options.fallbackInterval);e._invs.push(o);var a=function(t){"leader"===t.context&&"death"===t.action&&e.applyOnce().then((function(){e.isLeader&&r()}))};e._channel.addEventListener("internal",a),e._lstns.push(a)}))),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var e=this;if(!this.isDead)return this.isDead=!0,this._lstns.forEach((function(t){return e._channel.removeEventListener("internal",t)})),this._invs.forEach((function(e){return clearInterval(e)})),this._unl.forEach((function(e){e.remove()})),PI(this,"death")}};const TI=o(Object.freeze(Object.defineProperty({__proto__:null,BroadcastChannel:vI,beLeader:RI,clearNodeFolder:function(e){var t=hI(e=QN(e));return"node"===t.type?t.clearNodeFolder().then((function(){return!0})):Promise.resolve(!1)},createLeaderElection:function(e,t){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");t=function(e,t){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=t.method.averageResponseTime(t.options)),e}(t,e);var n=new OI(e,t);return e._befC.push((function(){return n.die()})),e._leaderElector=n,n},enforceOptions:function(e){mI=e}},Symbol.toStringTag,{value:"Module"})));var jI,MI;Object.defineProperty(zN,"__esModule",{value:!0});var DI=zN.initMessageListener=zN.initStateWithPrevTab=MI=zN.withReduxStateSync=zN.createReduxStateSync=jI=zN.createStateSyncMiddleware=zN.WINDOW_STATE_SYNC_ID=zN.INIT_MESSAGE_LISTENER=zN.RECEIVE_INIT_STATE=zN.SEND_INIT_STATE=zN.GET_INIT_STATE=void 0;zN.generateUuidForAction=VI,zN.isActionAllowed=KI,zN.isActionSynced=function(e){return!!e.$isSync},zN.MessageListener=YI;var NI=TI,II=0,LI=zN.GET_INIT_STATE="&_GET_INIT_STATE",AI=zN.SEND_INIT_STATE="&_SEND_INIT_STATE",$I=zN.RECEIVE_INIT_STATE="&_RECEIVE_INIT_STATE",zI=zN.INIT_MESSAGE_LISTENER="&_INIT_MESSAGE_LISTENER",FI={channel:"redux_state_sync",predicate:null,blacklist:[],whitelist:[],broadcastChannelOption:void 0,prepareState:function(e){return e},receiveState:function(e,t){return t}},BI=function(){return{type:AI}},WI=function(e){return{type:$I,payload:e}};function UI(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function qI(){return""+UI()+UI()+"-"+UI()+"-"+UI()+"-"+UI()+"-"+UI()+UI()+UI()}var HI=zN.WINDOW_STATE_SYNC_ID=qI();function VI(e){var t=e;return t.$uuid=qI(),t.$wuid=HI,t}function KI(e){var t=e.predicate,n=e.blacklist,r=e.whitelist,o=function(){return!0};return t&&"function"==typeof t?o=t:Array.isArray(n)?o=function(e){return n.indexOf(e.type)<0}:Array.isArray(r)&&(o=function(e){return r.indexOf(e.type)>=0}),o}function YI(e){var t=e.channel,n=e.dispatch,r=e.allowed,o=!1,a={};this.handleOnMessage=function(e){e.$wuid!==HI&&e.type!==$I&&e.$uuid&&e.$uuid!==II&&(e.type!==LI||a[e.$wuid]?e.type!==AI||a[e.$wuid]?r(e)&&(II=e.$uuid,n(Object.assign(e,{$isSync:!0}))):o||(o=!0,n(WI(e.payload))):(a[e.$wuid]=!0,n(BI())))},this.messageChannel=t,this.messageChannel.onmessage=this.handleOnMessage}jI=zN.createStateSyncMiddleware=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FI,t=KI(e),n=new NI.BroadcastChannel(e.channel,e.broadcastChannelOption),r=e.prepareState||FI.prepareState,o=null;return function(e){var a=e.getState,i=e.dispatch;return function(e){return function(l){if(o||(o=new YI({channel:n,dispatch:i,allowed:t})),l&&!l.$uuid){var u=VI(l);II=u.$uuid;try{if(l.type===AI)return a()&&(u.payload=r(a()),n.postMessage(u)),e(l);(t(u)||l.type===LI)&&n.postMessage(u)}catch(Mg){console.error("Your browser doesn't support cross tab communication")}}return e(Object.assign(l,{$isSync:void 0!==l.$isSync&&l.$isSync}))}}}};var QI=zN.createReduxStateSync=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FI.receiveState;return function(n,r){var o=n;return r.type===$I&&(o=t(n,r.payload)),e(o,r)}};MI=zN.withReduxStateSync=QI,zN.initStateWithPrevTab=function(e){(0,e.dispatch)({type:LI})},DI=zN.initMessageListener=function(e){(0,e.dispatch)({type:zI})};const GI={key:MR.name,version:1,storage:AN},XI={key:XD.name,version:1,storage:AN},JI={[MR.name]:yN(GI,MI(MR.reducer)),[XD.name]:yN(XI,XD.reducer)},ZI=[jI({whitelist:[MR.actions.setToolbarOpen.type,MR.actions.changeBaseUrl.type]})],eL={key:FR.name,version:1,whitelist:["entry"],storage:AN},tL={[FR.name]:yN(eL,FR.reducer),[$j.reducerPath]:$j.reducer},nL=[$j.middleware],rL=Ed({...xR,...tL,...JI}),oL=e=>{const t=ep({reducer:rL,middleware:e=>e({serializableCheck:{ignoredActions:[ZD,eN,tN,nN,rN,oN]}}).concat([...ZI,...SR,...nL]),devTools:!1,preloadedState:e});kT(t.dispatch),DI(t);const n=function(e,t,n){var r=n||!1,o=kN(RN,PN,t&&t.enhancer?t.enhancer:void 0),a=function(e){o.dispatch({type:oN,key:e})},i=function(t,n,a){var i={type:eN,payload:n,err:a,key:t};e.dispatch(i),o.dispatch(i),r&&l.getState().bootstrapped&&(r(),r=!1)},l=_N({},o,{purge:function(){var t=[];return e.dispatch({type:rN,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:ZD,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:tN})},persist:function(){e.dispatch({type:nN,register:a,rehydrate:i})}});return t&&t.manualPersist||l.persist(),l}(t);return{store:t,persistor:n}},aL=mf.useSelector;function iL(){return iL=Object.assign?Object.assign.bind():function(e){for(var t=1;te()))}}class pL{constructor(e){this.frame=e,window.addEventListener("message",(e=>{if("event"in e.data&&"panel.loaded"===e.data.event)this.eventQueue.ready()}))}eventQueue=new dL;dispatchEvent(e,t){this.eventQueue.next((()=>{((e,t,n)=>{e.postMessage({event:t,value:n},"*")})(this.frame.contentWindow,e,t)}))}}var hL={},mL=Yy;Object.defineProperty(hL,"__esModule",{value:!0});var vL=hL.default=void 0,gL=mL(OR()),yL=ee;vL=hL.default=(0,gL.default)((0,yL.jsx)("path",{d:"M6.83 4H20c1.11 0 2 .9 2 2v12c0 .34-.09.66-.23.94L20 17.17V8h-9.17zm13.66 19.31L17.17 20H4c-1.11 0-2-.9-2-2V6c0-.34.08-.66.23-.94L.69 3.51 2.1 2.1l19.8 19.8zM15.17 18l-10-10H4v10z"}),"WebAssetOff");var bL={},wL=Yy;Object.defineProperty(bL,"__esModule",{value:!0});var xL=bL.default=void 0,SL=wL(OR()),kL=ee;xL=bL.default=(0,SL.default)((0,kL.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H5V8h14z"}),"WebAsset");var EL={},CL=Yy;Object.defineProperty(EL,"__esModule",{value:!0});var _L=EL.default=void 0,OL=CL(OR()),PL=ee;_L=EL.default=(0,OL.default)((0,PL.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew");const RL=navigator?.serviceWorker,TL=W.forwardRef((({baseUrlState:e,iframeEnabled:t},n)=>te.jsx("iframe",{ref:n,src:e+"/debug?toolbar=0",style:{height:"100%",width:"100%"},hidden:!t,loading:"lazy"}))),jL=({activeComponents:e})=>{W.useEffect((()=>{const e=e=>{e.data.payload&&"x-debug-id"in e.data.payload.headers&&(a($j.util.invalidateTags(["debug/list"])),a(WR(e.data.payload.headers["x-debug-id"])))};return RL?.addEventListener("message",e),()=>{RL?.removeEventListener("message",e)}}),[]);const[t,n]=W.useState(!1),r=Fj(),o=UR(),a=mf.useDispatch(),[i,l]=W.useState(o);W.useEffect((()=>{!r.isFetching&&r.data&&r.data.length>0&&l(r.data[0])}),[r.isFetching]);const u=aL((e=>e.application.toolbarOpen)),s=aL((e=>e.application.iframeHeight)),c=aL((e=>e.application.baseUrl));W.useEffect((()=>n(u)),[u]);const f=W.useCallback((e=>{l(e),n(!0),a(IR(!0)),a(BR(e))}),[]),[d,p]=W.useState(!1),h=W.useCallback((()=>{window.open(o?c+"/debug?debugEntry="+o.id:c+"/debug")}),[o]),m=W.useCallback((()=>{p(!0)}),[]),v=W.useCallback((()=>{p(!1)}),[]),g=W.useRef(void 0),[y,b]=W.useState(null);W.useEffect((()=>{g.current&&b(new pL(g.current))}),[g.current]);const w=W.useCallback((t=>{e.iframe&&(x||S(!0),y?.dispatchEvent("router.navigate",t))}),[y,e]),[x,S]=W.useState(!1),k=W.useCallback((()=>{e.iframe&&S((e=>!e))}),[e]),E=Ab(),C=W.useRef(void 0),{position:_,separatorProps:O,setPosition:P}=function(e){var t=e.axis,n=e.disabled,r=void 0!==n&&n,o=e.initial,a=void 0===o?0:o,i=e.min,l=void 0===i?0:i,u=e.max,s=void 0===u?1/0:u,c=e.reverse,f=e.step,d=void 0===f?10:f,p=e.shiftStep,h=void 0===p?50:p,m=e.onResizeStart,v=e.onResizeEnd,g=e.containerRef,y=Math.min(Math.max(a,l),s),b=W.useRef(!1),w=W.useState(!1),x=w[0],S=w[1],k=W.useState(y),E=k[0],C=k[1],_=W.useRef(y),O=W.useState(y),P=O[0],R=O[1],T=W.useMemo((function(){return{role:"separator","aria-valuenow":E,"aria-valuemin":l,"aria-valuemax":s,"aria-orientation":"x"===t?"vertical":"horizontal","aria-disabled":r}}),[t,r,s,l,E]),j=W.useCallback((function(e){if(b.current&&!r){e.stopPropagation(),e.preventDefault();var n=function(){if("x"===t){if(null!=g&&g.current){var n=g.current.getBoundingClientRect(),r=n.left;return c?r+n.width-e.clientX:e.clientX-r}return c?document.body.offsetWidth-e.clientX:e.clientX}if(null!=g&&g.current){var o=g.current.getBoundingClientRect(),a=o.top;return c?a+o.height-e.clientY:e.clientY-a}return c?document.body.offsetHeight-e.clientY:e.clientY}();n=Math.min(Math.max(n,l),s),C(n),_.current=n}}),[t,r,s,l,c,g]),M=W.useCallback((function(e){r||(e.stopPropagation(),b.current=!1,S(!1),R(_.current),document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",M),v&&v({position:_.current}))}),[r,j,v]),D=W.useCallback((function(e){r||(e.stopPropagation(),b.current=!0,S(!0),document.addEventListener("pointermove",j),document.addEventListener("pointerup",M),m&&m({position:_.current}))}),[r,j,M,m]),N=W.useCallback((function(e){if(!r){if("Enter"===e.key)return C(a),void(_.current=a);if(("x"!==t||sL.includes(e.key))&&("y"!==t||cL.includes(e.key))){m&&m({position:_.current});var n=e.shiftKey?h:d,o=c?-1:1,i=fL.includes(e.key)?o:-1*o,u=E+n*i;us?(C(s),_.current=s):(C(u),_.current=u),v&&v({position:_.current})}}}),[r,t,m,h,d,c,E,l,s,v,a]),I=W.useCallback((function(){r||(C(a),_.current=a)}),[r,a]);return{position:E,endPosition:P,isDragging:x,separatorProps:iL({},T,{onPointerDown:D,onKeyDown:N,onDoubleClick:I}),setPosition:C,splitterProps:iL({},T,{onPointerDown:D,onKeyDown:N,onDoubleClick:I})}}({axis:"y",initial:s,min:100,max:1e3,reverse:!0,disabled:!t,containerRef:C,onResizeEnd:e=>{a(zR(e.position))}});return W.useEffect((()=>{P(s)}),[s]),te.jsxs(Ix,{children:[!r.isLoading&&i&&te.jsxs(Kw,{component:Xk,elevation:10,sx:{position:t?"sticky":"fixed",bottom:0,right:0,transition:"width 350ms ease-in-out",pt:t?0:1,pb:1,px:.5,backgroundColor:"primary.main",zIndex:1,borderRadius:"0"},children:[te.jsx("hr",{...O,style:{display:t?"block":"none",position:"absolute",top:"-9px",right:0,left:0,height:"10px",width:"100%",background:`linear-gradient(${E.palette.action.hover}, ${E.palette.primary.main})`,border:0,padding:0,margin:0,cursor:x?"row-resize":"initial",borderTopLeftRadius:"5px",borderTopRightRadius:"5px"}}),te.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box"},children:[te.jsx(Xk,{sx:{display:t?"inline-block":"none"},children:te.jsxs(hE,{disableElevation:!0,children:[Kj(i)&&te.jsx(QD,{data:i}),Vj(i)&&te.jsx(_M,{data:i}),te.jsx(PD,{data:i,iframeUrlHandler:w}),te.jsx(OD,{data:i,iframeUrlHandler:w}),Kj(i)&&te.jsx(GD,{data:i}),te.jsx(CD,{data:i,iframeUrlHandler:w}),te.jsx(ED,{data:i,iframeUrlHandler:w}),te.jsx(RD,{data:i,iframeUrlHandler:w}),te.jsx(SD,{data:i})]})}),te.jsx(Xk,{children:te.jsxs(x_,{ariaLabel:"",sx:{bottom:0,right:0,marginX:1,"& .MuiSpeedDial-actions":{position:"absolute",bottom:32,marginX:1}},FabProps:{onClick:()=>{n((e=>(a(IR(!e)),x&&S(!1),!e)))},size:"small",sx:{background:"white"}},icon:te.jsx(Hj,{sx:{transform:t?"rotate(0deg)":"rotate(360deg)",transition:"transform 400ms ease-in-out"}}),children:[te.jsx(B_,{onClick:h,icon:te.jsx(_L,{}),tooltipTitle:"Open debug in a new window"}),te.jsx(B_,{onClick:m,icon:te.jsx(RR,{}),tooltipTitle:"List all debug entries"}),e.iframe&&t&&te.jsx(B_,{onClick:k,icon:x?te.jsx(vL,{}):te.jsx(xL,{}),tooltipTitle:x?"Close iframe":"Open iframe"},"iframe")]})})]})]}),te.jsx(bM,{open:d,onClick:f,onClose:v}),te.jsx("div",{ref:C,style:{height:_,overflow:"hidden"},hidden:!x,children:te.jsx(TL,{ref:g,baseUrlState:c,iframeEnabled:x})})]})},ML=()=>te.jsx(jL,{activeComponents:{iframe:!0}}),DL=[{routes:[{path:"*",element:te.jsx(ML,{})}],reducers:xR,middlewares:SR,standaloneModule:!0}];function NL(e,t){const n=e.filter((e=>e.standaloneModule)),r=[...[].concat(...n.map((e=>e.routes)))],o={basename:t.basename};return t.useHashRouter?function(e,t){return eP({basename:null==t?void 0:t.basename,future:eR({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),pO((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=dO(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),cO("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:fO(t))}),(function(e,t){uO("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),n)),hydrationData:(null==t?void 0:t.hydrationData)||nR(),routes:e,mapRouteProperties:ZP,window:null==t?void 0:t.window}).initialize();var n}(r):function(e,t){return eP({basename:null==t?void 0:t.basename,future:eR({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(n={window:null==t?void 0:t.window},void 0===n&&(n={}),pO((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return cO("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:fO(t)}),null,n)),hydrationData:(null==t?void 0:t.hydrationData)||nR(),routes:e,mapRouteProperties:ZP,window:null==t?void 0:t.window}).initialize();var n}(r,o)}function IL({config:e}){const t=NL(DL,e.router),{store:n}=oL({application:{baseUrl:e.backend.baseUrl,favoriteUrls:e.backend.favoriteUrls??[]}});return W.useEffect((()=>{e.backend.usePreferredUrl&&(console.log("Override backend url",e.backend.baseUrl),n.dispatch(DR(e.backend.baseUrl)))}),[]),te.jsx(Op,{baseUrl:"",openLinksInNewWindow:!0,children:te.jsx(mf.Provider,{store:n,children:te.jsx(wR,{children:te.jsx(cR,{router:t})})})})}var LL,AL={},$L=df;AL.createRoot=$L.createRoot,AL.hydrateRoot=$L.hydrateRoot,(LL=window.YiiDevPanelToolbarWidget??={config:{containerId:"yii-dev-toolbar",options:{router:{basename:"",useHashRouter:"github"===e.appEnv},backend:{baseUrl:"http://127.0.0.1:8080",usePreferredUrl:!1}}}}).init=function(){console.debug("YiiDevPanelToolbarWidget initialization",this);const e=document.getElementById(this.config.containerId);console.debug("YiiDevPanelToolbarWidget mounting into",e),AL.createRoot(e).render(te.jsx(U.StrictMode,{children:te.jsx(IL,{config:this.config.options})}))},LL.init(); diff --git a/toolbar/bundle.js b/toolbar/bundle.js index 807eca7..d446e26 100644 --- a/toolbar/bundle.js +++ b/toolbar/bundle.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./assets/bootstrap-Vl10pLMB.js","./bundle.css"] + __vite__mapDeps.viteFileDeps = ["./assets/bootstrap-_9_jIAvv.js","./bundle.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const r of e)if("childList"===r.type)for(const e of r.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=i?.nonce||i?.getAttribute("nonce");o=Promise.all(r.map((r=>{if(r=function(e,t){return new URL(e,t).href}(r,n),r in e)return;e[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(!!n)for(let e=t.length-1;e>=0;e--){const n=t[e];if(n.href===r&&(!o||"stylesheet"===n.rel))return}else if(document.querySelector(`link[href="${r}"]${i}`))return;const l=document.createElement("link");return l.rel=o?"stylesheet":"modulepreload",o||(l.as="script",l.crossOrigin=""),l.href=r,s&&l.setAttribute("nonce",s),document.head.appendChild(l),o?new Promise(((e,t)=>{l.addEventListener("load",e),l.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${r}`))))})):void 0})))}return o.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};var r={VITE_ENV:"dev",VITE_BACKEND_URL:"http://127.0.0.1:8080",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const n={buildVersion:r.VITE_BUILD_ID?"#"+r.VITE_BUILD_ID:"development",appEnv:"dev"};var o;n.appEnv="dev",t((()=>import("./assets/bootstrap-Vl10pLMB.js")),__vite__mapDeps([0,1]),import.meta.url),o&&o instanceof Function&&t((()=>import("./assets/web-vitals-BDnzJRlM.js")),[],import.meta.url).then((({getCLS:e,getFID:t,getFCP:r,getLCP:n,getTTFB:i})=>{e(o),t(o),r(o),n(o),i(o)}));export{n as C}; +!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const r of e)if("childList"===r.type)for(const e of r.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=i?.nonce||i?.getAttribute("nonce");o=Promise.all(r.map((r=>{if(r=function(e,t){return new URL(e,t).href}(r,n),r in e)return;e[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(!!n)for(let e=t.length-1;e>=0;e--){const n=t[e];if(n.href===r&&(!o||"stylesheet"===n.rel))return}else if(document.querySelector(`link[href="${r}"]${i}`))return;const l=document.createElement("link");return l.rel=o?"stylesheet":"modulepreload",o||(l.as="script",l.crossOrigin=""),l.href=r,s&&l.setAttribute("nonce",s),document.head.appendChild(l),o?new Promise(((e,t)=>{l.addEventListener("load",e),l.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${r}`))))})):void 0})))}return o.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};var r={VITE_ENV:"dev",VITE_BACKEND_URL:"http://127.0.0.1:8080",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const n={buildVersion:r.VITE_BUILD_ID?"#"+r.VITE_BUILD_ID:"development",appEnv:"dev"};var o;n.appEnv="dev",t((()=>import("./assets/bootstrap-_9_jIAvv.js")),__vite__mapDeps([0,1]),import.meta.url),o&&o instanceof Function&&t((()=>import("./assets/web-vitals-BDnzJRlM.js")),[],import.meta.url).then((({getCLS:e,getFID:t,getFCP:r,getLCP:n,getTTFB:i})=>{e(o),t(o),r(o),n(o),i(o)}));export{n as C};